lib/mail_slurp_api/model/dns_lookup_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.DnsLookupOptions do
  @moduledoc """
  Options for DNS query. 
  """

  @derive [Poison.Encoder]
  defstruct [
    :"hostname",
    :"recordTypes",
    :"omitFinalDNSDot"
  ]

  @type t :: %__MODULE__{
    :"hostname" => String.t,
    :"recordTypes" => [String.t],
    :"omitFinalDNSDot" => boolean()
  }
end

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