lib/mail_slurp_api/model/send_with_queue_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.SendWithQueueResult do
  @moduledoc """
  Collection of items
  """

  @derive [Poison.Encoder]
  defstruct [
    :"id",
    :"userId",
    :"subject",
    :"inboxId",
    :"headerId",
    :"delivered",
    :"exceptionName",
    :"message",
    :"createdAt",
    :"updatedAt"
  ]

  @type t :: %__MODULE__{
    :"id" => String.t,
    :"userId" => String.t,
    :"subject" => String.t | nil,
    :"inboxId" => String.t | nil,
    :"headerId" => String.t,
    :"delivered" => boolean(),
    :"exceptionName" => String.t | nil,
    :"message" => String.t | nil,
    :"createdAt" => DateTime.t,
    :"updatedAt" => DateTime.t
  }
end

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