ArchAstro.Types.Operations.PostApiV1AgentsAgentSearch.Response.Nested.DataItemVariant2 (archastro v0.2.0)

Copy Markdown

DataItemVariant2 API model.

Summary

Types

t()

@type t() ::
  %ArchAstro.Types.Operations.PostApiV1AgentsAgentSearch.Response.Nested.DataItemVariant2{
    id: String.t(),
    kind: String.t(),
    metadata:
      %{optional(String.t()) => ArchAstro.JSON.t()} | ArchAstro.Unset.t(),
    snippet: String.t() | ArchAstro.Unset.t(),
    title: String.t() | ArchAstro.Unset.t(),
    total_lines: integer() | ArchAstro.Unset.t(),
    total_size: integer() | 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()