lib/mail_slurp_api/model/reply_to_alias_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.ReplyToAliasEmailOptions do
  @moduledoc """
  Options for replying to an alias email using the alias inbox
  """

  @derive [Poison.Encoder]
  defstruct [
    :"body",
    :"isHTML",
    :"charset",
    :"attachments",
    :"templateVariables",
    :"template",
    :"sendStrategy",
    :"useInboxName",
    :"html"
  ]

  @type t :: %__MODULE__{
    :"body" => String.t,
    :"isHTML" => boolean(),
    :"charset" => String.t | nil,
    :"attachments" => [String.t] | nil,
    :"templateVariables" => %{optional(String.t) => Map} | nil,
    :"template" => String.t | nil,
    :"sendStrategy" => String.t | nil,
    :"useInboxName" => boolean() | nil,
    :"html" => boolean() | nil
  }
end

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