lib/mail_slurp_api/model/alias_dto.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.AliasDto do
  @moduledoc """
  Email alias representation
  """

  @derive [Poison.Encoder]
  defstruct [
    :"id",
    :"emailAddress",
    :"maskedEmailAddress",
    :"userId",
    :"inboxId",
    :"name",
    :"useThreads",
    :"isVerified",
    :"createdAt",
    :"updatedAt"
  ]

  @type t :: %__MODULE__{
    :"id" => String.t,
    :"emailAddress" => String.t,
    :"maskedEmailAddress" => String.t | nil,
    :"userId" => String.t,
    :"inboxId" => String.t,
    :"name" => String.t | nil,
    :"useThreads" => boolean() | nil,
    :"isVerified" => boolean(),
    :"createdAt" => DateTime.t | nil,
    :"updatedAt" => DateTime.t | nil
  }
end

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