ArchAstro.Types.KnowledgeSourceKind (archastro v0.2.0)

Copy Markdown

Describes a single knowledge source kind that can be created through the public API. Use the type value when creating a new knowledge source.

Summary

Types

t()

@type t() :: %ArchAstro.Types.KnowledgeSourceKind{
  description: String.t() | ArchAstro.Unset.t(),
  label: String.t() | ArchAstro.Unset.t(),
  type: String.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()