ArchAstro.Types.SolutionDependentsResponse (archastro v0.2.0)

Copy Markdown

A preview of the agents and configs that would be affected by deleting a Solution, returned before any deletion occurs so the caller can display a confirmation warning.

Summary

Types

t()

@type t() :: %ArchAstro.Types.SolutionDependentsResponse{
  dependent_agent_count: integer(),
  dependent_agents: [ArchAstro.Types.SolutionDependentAgent.t()],
  preserved_config_count: integer()
}

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()