ArchAstro.Types.AgentCreateResponse (archastro v0.2.0)

Copy Markdown

The response returned by POST /api/v1/agents. Contains all agent fields plus an optional installed_configs array when a template_bundle was supplied in the request.

Summary

Types

t()

@type t() :: %ArchAstro.Types.AgentCreateResponse{
  acl: ArchAstro.Types.Acl.t() | ArchAstro.Unset.t(),
  app: String.t() | ArchAstro.Unset.t(),
  created_at: DateTime.t() | ArchAstro.Unset.t(),
  default_model: String.t() | ArchAstro.Unset.t(),
  email: String.t() | ArchAstro.Unset.t(),
  id: String.t(),
  identity: String.t() | ArchAstro.Unset.t(),
  installed_configs:
    [ArchAstro.Types.InstalledConfigEntry.t()] | ArchAstro.Unset.t(),
  lookup_key: String.t() | ArchAstro.Unset.t(),
  metadata: %{optional(String.t()) => ArchAstro.JSON.t()} | ArchAstro.Unset.t(),
  name: String.t() | ArchAstro.Unset.t(),
  org: String.t() | ArchAstro.Unset.t(),
  originator: String.t() | ArchAstro.Unset.t(),
  phone_number: String.t() | ArchAstro.Unset.t(),
  sandbox: String.t() | ArchAstro.Unset.t(),
  team: String.t() | ArchAstro.Unset.t(),
  updated_at: DateTime.t() | ArchAstro.Unset.t(),
  user: String.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()