lib/mail_slurp_api/model/ip_address_result.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.IpAddressResult do
  @moduledoc """
  IP Address look up result for a given domain / hostname
  """

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

  @type t :: %__MODULE__{
    :"address" => String.t,
    :"hostname" => String.t
  }
end

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