lib/mail_slurp_api/model/forward_email_options.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.ForwardEmailOptions do
  @moduledoc """
  Options for forwarding an email
  """

  @derive [Poison.Encoder]
  defstruct [
    :"to",
    :"subject",
    :"cc",
    :"bcc",
    :"from",
    :"useInboxName"
  ]

  @type t :: %__MODULE__{
    :"to" => [String.t],
    :"subject" => String.t | nil,
    :"cc" => [String.t] | nil,
    :"bcc" => [String.t] | nil,
    :"from" => String.t | nil,
    :"useInboxName" => boolean() | nil
  }
end

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