lib/mail_slurp_api/model/domain_name_record.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.DomainNameRecord do
  @moduledoc """
  DNS Record required for verification of a domain. Record vary depending on domain type.
  """

  @derive [Poison.Encoder]
  defstruct [
    :"recordType",
    :"name",
    :"recordEntries",
    :"ttl"
  ]

  @type t :: %__MODULE__{
    :"recordType" => String.t,
    :"name" => String.t,
    :"recordEntries" => [String.t],
    :"ttl" => integer()
  }
end

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