lib/mail_slurp_api/model/expired_inbox_record_projection.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.ExpiredInboxRecordProjection do
  @moduledoc """
  Record of inbox expiration
  """

  @derive [Poison.Encoder]
  defstruct [
    :"id",
    :"userId",
    :"emailAddress",
    :"createdAt"
  ]

  @type t :: %__MODULE__{
    :"id" => String.t,
    :"userId" => String.t,
    :"emailAddress" => String.t,
    :"createdAt" => DateTime.t
  }
end

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