lib/spatio/model/attachment_meta.ex
# NOTE: This file is auto generated by OpenAPI Generator 7.22.0 (https://openapi-generator.tech).
# Do not edit this file manually.
defmodule Spatio.Model.AttachmentMeta do
@moduledoc """
Attachment metadata; binary fetched via the attachment endpoint.
"""
@derive JSON.Encoder
defstruct [
:id,
:filename,
:contentType,
:size
]
@type t :: %__MODULE__{
:id => String.t,
:filename => String.t,
:contentType => String.t,
:size => integer()
}
def decode(value) do
value
end
end