Current section
Files
Jump to
Current section
Files
lib/open_xchange_client/model/snippet_attachment.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 OpenXchangeClient.Model.SnippetAttachment do
@moduledoc """
"""
@derive [Poison.Encoder]
defstruct [
:id,
:filename,
:mimetype,
:contentid,
:size
]
@type t :: %__MODULE__{
:id => String.t() | nil,
:filename => String.t() | nil,
:mimetype => String.t() | nil,
:contentid => String.t() | nil,
:size => integer() | nil
}
end
defimpl Poison.Decoder, for: OpenXchangeClient.Model.SnippetAttachment do
def decode(value, _options) do
value
end
end