lib/mail_slurp_api/model/create_domain_options.ex

# 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.CreateDomainOptions do
  @moduledoc """
  Options for creating a domain to use with MailSlurp. You must have ownership access to this domain in order to verify it. Domains will not function correctly until the domain has been verified. See https://www.mailslurp.com/guides/custom-domains for help. Domains can be either `HTTP` or `SMTP` type. The type of domain determines which inboxes can be used with it. `SMTP` inboxes use a mail server running `mx.mailslurp.com` while `HTTP` inboxes are handled by AWS SES.
  """

  @derive [Poison.Encoder]
  defstruct [
    :"domain",
    :"description",
    :"createdCatchAllInbox",
    :"domainType"
  ]

  @type t :: %__MODULE__{
    :"domain" => String.t,
    :"description" => String.t | nil,
    :"createdCatchAllInbox" => boolean() | nil,
    :"domainType" => String.t | nil
  }
end

defimpl Poison.Decoder, for: MailSlurpAPI.Model.CreateDomainOptions do
  def decode(value, _options) do
    value
  end
end