# 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.SendEmailOptions do
@moduledoc """
Options for the email to be sent
"""
@derive [Poison.Encoder]
defstruct [
:"toContacts",
:"toGroup",
:"to",
:"from",
:"cc",
:"bcc",
:"subject",
:"replyTo",
:"body",
:"html",
:"isHTML",
:"charset",
:"attachments",
:"templateVariables",
:"template",
:"sendStrategy",
:"useInboxName",
:"addTrackingPixel",
:"filterBouncedRecipients",
:"validateEmailAddresses"
]
@type t :: %__MODULE__{
:"toContacts" => [String.t] | nil,
:"toGroup" => String.t | nil,
:"to" => [String.t] | nil,
:"from" => String.t | nil,
:"cc" => [String.t] | nil,
:"bcc" => [String.t] | nil,
:"subject" => String.t | nil,
:"replyTo" => String.t | nil,
:"body" => String.t | nil,
:"html" => boolean() | nil,
:"isHTML" => boolean() | nil,
:"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,
:"addTrackingPixel" => boolean() | nil,
:"filterBouncedRecipients" => boolean() | nil,
:"validateEmailAddresses" => String.t | nil
}
end
defimpl Poison.Decoder, for: MailSlurpAPI.Model.SendEmailOptions do
def decode(value, _options) do
value
end
end