# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule MailSlurpAPI.Model.CreateInboxDto do @moduledoc """ Options for creating an inbox. An inbox has a real email address that can send and receive emails. Inboxes can be permanent or expire at a given time. Inboxes are either `SMTP` or `HTTP` mailboxes. Use `SMTP` for public facing mailboxes and `HTTP` for test email accounts. `SMTP` inboxes are processed by a mail server running at `mx.mailslurp.com` while `HTTP` inboxes are processed by AWS SES. Inboxes can use a custom email address (by verifying your own domain) or a randomly assigned email ending in either `mailslurp.com` or (if `useDomainPool` is enabled) ending in a similar domain such as `mailslurp.xyz` (selected at random). """ @derive [Poison.Encoder] defstruct [ :"allowTeamAccess", :"description", :"emailAddress", :"expiresAt", :"expiresIn", :"favourite", :"inboxType", :"name", :"tags", :"useDomainPool" ] @type t :: %__MODULE__{ :"allowTeamAccess" => boolean() | nil, :"description" => String.t | nil, :"emailAddress" => String.t | nil, :"expiresAt" => DateTime.t | nil, :"expiresIn" => integer() | nil, :"favourite" => boolean() | nil, :"inboxType" => String.t | nil, :"name" => String.t | nil, :"tags" => [String.t] | nil, :"useDomainPool" => boolean() | nil } end defimpl Poison.Decoder, for: MailSlurpAPI.Model.CreateInboxDto do def decode(value, _options) do value end end