ArchAstro.Types.Operations.PostApiV1AgentsAgentUpgrade.Input (archastro v0.2.0)

Copy Markdown

Upgrade an agent from an AgentTemplate

Summary

Types

t()

@type t() :: %ArchAstro.Types.Operations.PostApiV1AgentsAgentUpgrade.Input{
  description: String.t() | ArchAstro.Unset.t(),
  dry_run: boolean() | ArchAstro.Unset.t(),
  email: String.t() | ArchAstro.Unset.t(),
  expected_review_fingerprint: String.t() | ArchAstro.Unset.t(),
  identity: String.t() | ArchAstro.Unset.t(),
  metadata: %{optional(String.t()) => ArchAstro.JSON.t()} | ArchAstro.Unset.t(),
  mode: String.t() | ArchAstro.Unset.t(),
  model: String.t() | ArchAstro.Unset.t(),
  name: String.t() | ArchAstro.Unset.t(),
  originator: String.t() | ArchAstro.Unset.t(),
  phone_number: String.t() | ArchAstro.Unset.t(),
  template: 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()