ArchAstro.SDK.Types.AgentUpgradeResponse (archastro v0.3.1)

Copy Markdown

Response returned by the agent upgrade endpoint, combining the updated agent, its source Solution and template, and the full upgrade diff.

Summary

Types

t()

@type t() :: %ArchAstro.SDK.Types.AgentUpgradeResponse{
  agent: ArchAstro.SDK.Types.Agent.t() | ArchAstro.SDK.Unset.t(),
  solution: ArchAstro.SDK.Types.SolutionSummary.t(),
  template: ArchAstro.SDK.Types.UpgradeTemplateSummary.t(),
  upgrade_result: ArchAstro.SDK.Types.AgentUpgradeResult.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()