ArchAstro.Types.SolutionUpgradeResponse (archastro v0.2.0)

Copy Markdown

Response returned by the solution upgrade endpoint, containing the solution record, the full upgrade diff, and the resulting installed configs.

Summary

Types

t()

@type t() :: %ArchAstro.Types.SolutionUpgradeResponse{
  created_at: DateTime.t() | ArchAstro.Unset.t(),
  id: String.t(),
  installed_configs:
    [ArchAstro.Types.InstalledConfigEntry.t()] | ArchAstro.Unset.t(),
  kind: String.t(),
  lookup_key: String.t() | ArchAstro.Unset.t(),
  solution: ArchAstro.Types.SolutionSummary.t(),
  updated_at: DateTime.t() | ArchAstro.Unset.t(),
  upgrade_result: ArchAstro.Types.SolutionUpgradeResult.t(),
  virtual_path: 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()