# 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.UploadAttachmentOptions do @moduledoc """ Options for uploading files for attachments. When sending emails with the API that require attachments first upload each attachment. Then use the returned attachment ID in your `SendEmailOptions` when sending an email. This way you can use attachments multiple times once they have been uploaded. """ @derive [Poison.Encoder] defstruct [ :"base64Contents", :"contentType", :"filename" ] @type t :: %__MODULE__{ :"base64Contents" => String.t | nil, :"contentType" => String.t | nil, :"filename" => String.t | nil } end defimpl Poison.Decoder, for: MailSlurpAPI.Model.UploadAttachmentOptions do def decode(value, _options) do value end end