ArchAstro.SDK.Types.AgentSourceSolution (archastro v0.3.5)

Copy Markdown

Summary of the Solution and AgentTemplate that an agent was last provisioned from. Returned on single-agent responses; null for hand-built agents and agents whose tracked template or parent Solution has been deleted.

Summary

Types

t()

@type t() :: %ArchAstro.SDK.Types.AgentSourceSolution{
  current_solution:
    ArchAstro.SDK.Types.SolutionSummary.t() | ArchAstro.SDK.Unset.t(),
  solution: ArchAstro.SDK.Types.SolutionSummary.t(),
  template: ArchAstro.SDK.Types.UpgradeTemplateSummary.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()