ArchAstro.Types.SolutionInstance (archastro v0.2.0)

Copy Markdown

A customer-keyed instance stamped from an installed solution template.

Summary

Types

t()

@type t() :: %ArchAstro.Types.SolutionInstance{
  agent: String.t() | ArchAstro.Unset.t(),
  agent_name: String.t() | ArchAstro.Unset.t(),
  attachment_ref:
    %{optional(String.t()) => ArchAstro.JSON.t()} | ArchAstro.Unset.t(),
  created_at: DateTime.t(),
  customer_key: String.t(),
  customer_label: String.t() | ArchAstro.Unset.t(),
  id: String.t(),
  local_edit_count: integer() | ArchAstro.Unset.t(),
  pinned_template_version: String.t() | ArchAstro.Unset.t(),
  pinned_version_number: integer() | ArchAstro.Unset.t(),
  solution_template_config: String.t(),
  status: String.t(),
  updated_at: DateTime.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()