# 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. `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 [
:"emailAddress",
:"name",
:"description",
:"useDomainPool",
:"tags",
:"expiresAt",
:"favourite",
:"expiresIn",
:"allowTeamAccess",
:"inboxType",
:"virtualInbox"
]
@type t :: %__MODULE__{
:"emailAddress" => String.t | nil,
:"name" => String.t | nil,
:"description" => String.t | nil,
:"useDomainPool" => boolean() | nil,
:"tags" => [String.t] | nil,
:"expiresAt" => DateTime.t | nil,
:"favourite" => boolean() | nil,
:"expiresIn" => integer() | nil,
:"allowTeamAccess" => boolean() | nil,
:"inboxType" => String.t | nil,
:"virtualInbox" => boolean() | nil
}
end
defimpl Poison.Decoder, for: MailSlurpAPI.Model.CreateInboxDto do
def decode(value, _options) do
value
end
end