# 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.DomainPreview do
@moduledoc """
Preview object for domain entity
"""
@derive [Poison.Encoder]
defstruct [
:"id",
:"domain",
:"catchAllInboxId",
:"createdAt",
:"domainType",
:"isVerified"
]
@type t :: %__MODULE__{
:"id" => String.t,
:"domain" => String.t,
:"catchAllInboxId" => String.t | nil,
:"createdAt" => DateTime.t,
:"domainType" => String.t,
:"isVerified" => boolean()
}
end
defimpl Poison.Decoder, for: MailSlurpAPI.Model.DomainPreview do
def decode(value, _options) do
value
end
end