lib/mail_slurp_api/model/attachment_meta_data.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.AttachmentMetaData do
  @moduledoc """
  Meta data associated with an attachment. Attachments are stored as byte blobs so the meta data is stored separately.
  """

  @derive [Poison.Encoder]
  defstruct [
    :"name",
    :"contentType",
    :"contentLength",
    :"id"
  ]

  @type t :: %__MODULE__{
    :"name" => String.t,
    :"contentType" => String.t,
    :"contentLength" => integer(),
    :"id" => String.t
  }
end

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