ArchAstro.SDK.Types.Operations.GetApiV1UsersUserThreads.Response.Nested.DataItemParentMessageAttachmentsItem (archastro v0.3.5)

Copy Markdown

DataItemParentMessageAttachmentsItem API model.

Summary

Types

t()

@type t() ::
  %ArchAstro.SDK.Types.Operations.GetApiV1UsersUserThreads.Response.Nested.DataItemParentMessageAttachmentsItem{
    content_type: String.t() | nil | ArchAstro.SDK.Unset.t(),
    description: String.t() | nil | ArchAstro.SDK.Unset.t(),
    filename: String.t() | nil | ArchAstro.SDK.Unset.t(),
    height: integer() | nil | ArchAstro.SDK.Unset.t(),
    id: String.t(),
    image_height: integer() | nil | ArchAstro.SDK.Unset.t(),
    image_source:
      ArchAstro.SDK.Types.Operations.GetApiV1UsersUserThreads.Response.Nested.DataItemParentMessageAttachmentsItemImageSource.t()
      | nil
      | ArchAstro.SDK.Unset.t(),
    image_url: String.t() | nil | ArchAstro.SDK.Unset.t(),
    image_width: integer() | nil | ArchAstro.SDK.Unset.t(),
    media_type: String.t() | ArchAstro.SDK.Unset.t(),
    name: String.t() | nil | ArchAstro.SDK.Unset.t(),
    object:
      %{optional(String.t()) => ArchAstro.SDK.JSON.t()}
      | ArchAstro.SDK.Unset.t(),
    title: String.t() | nil | ArchAstro.SDK.Unset.t(),
    type: String.t(),
    url: String.t() | nil | ArchAstro.SDK.Unset.t(),
    variants:
      [
        ArchAstro.SDK.Types.Operations.GetApiV1UsersUserThreads.Response.Nested.DataItemParentMessageAttachmentsItemVariantsItem.t()
      ]
      | ArchAstro.SDK.Unset.t(),
    version: integer() | nil | ArchAstro.SDK.Unset.t(),
    width: integer() | nil | ArchAstro.SDK.Unset.t()
  }

Functions

from_map(data)

@spec from_map(ArchAstro.SDK.JSON.object()) :: t()

matches?(value)

@spec matches?(ArchAstro.SDK.JSON.t()) :: boolean()

to_map(value)

@spec to_map(t()) :: ArchAstro.SDK.JSON.object()