lib/mail_slurp_api/model/sent_email_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.SentEmailDto do
  @moduledoc """
  Sent email details
  """

  @derive [Poison.Encoder]
  defstruct [
    :"id",
    :"userId",
    :"inboxId",
    :"to",
    :"from",
    :"replyTo",
    :"cc",
    :"bcc",
    :"attachments",
    :"subject",
    :"bodyMD5Hash",
    :"body",
    :"charset",
    :"isHTML",
    :"sentAt",
    :"pixelIds"
  ]

  @type t :: %__MODULE__{
    :"id" => String.t,
    :"userId" => String.t,
    :"inboxId" => String.t,
    :"to" => [String.t] | nil,
    :"from" => String.t | nil,
    :"replyTo" => String.t | nil,
    :"cc" => [String.t] | nil,
    :"bcc" => [String.t] | nil,
    :"attachments" => [String.t] | nil,
    :"subject" => String.t | nil,
    :"bodyMD5Hash" => String.t | nil,
    :"body" => String.t | nil,
    :"charset" => String.t | nil,
    :"isHTML" => boolean() | nil,
    :"sentAt" => DateTime.t,
    :"pixelIds" => [String.t] | nil
  }
end

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