lib/mail_slurp_api/model/attachment_projection.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.AttachmentProjection do
  @moduledoc """
  
  """

  @derive [Poison.Encoder]
  defstruct [
    :"name",
    :"contentLength",
    :"contentType",
    :"userId",
    :"attachmentId",
    :"createdAt",
    :"updatedAt"
  ]

  @type t :: %__MODULE__{
    :"name" => String.t | nil,
    :"contentLength" => integer() | nil,
    :"contentType" => String.t | nil,
    :"userId" => String.t,
    :"attachmentId" => String.t,
    :"createdAt" => DateTime.t,
    :"updatedAt" => DateTime.t
  }
end

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