lib/mail_slurp_api/model/download_attachment_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.DownloadAttachmentDto do
  @moduledoc """
  Content of attachment
  """

  @derive [Poison.Encoder]
  defstruct [
    :"base64FileContents",
    :"contentType",
    :"sizeBytes"
  ]

  @type t :: %__MODULE__{
    :"base64FileContents" => String.t,
    :"contentType" => String.t,
    :"sizeBytes" => integer()
  }
end

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