ArchAstro.Types.Operations.GetApiV1ThreadsThreadMessages.Params.Nested.Metadata (archastro v0.2.0)

Copy Markdown

Metadata API model.

Summary

Types

t()

@type t() ::
  %ArchAstro.Types.Operations.GetApiV1ThreadsThreadMessages.Params.Nested.Metadata{
    clause: %{optional(String.t()) => ArchAstro.JSON.t()} | ArchAstro.Unset.t(),
    clauses:
      [%{optional(String.t()) => ArchAstro.JSON.t()}] | ArchAstro.Unset.t(),
    key: String.t() | ArchAstro.Unset.t(),
    operator: String.t() | ArchAstro.Unset.t(),
    path: [String.t()] | ArchAstro.Unset.t(),
    type: String.t() | ArchAstro.Unset.t(),
    value: ArchAstro.JSON.t() | ArchAstro.Unset.t()
  }

Functions

from_map(data)

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

matches?(value)

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

to_map(value)

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