ArchAstro.Types.SandboxKey (archastro v0.2.0)

Copy Markdown

An API key scoped to a developer sandbox, used to authenticate requests against sandbox resources.

Summary

Types

t()

@type t() :: %ArchAstro.Types.SandboxKey{
  created_at: DateTime.t() | ArchAstro.Unset.t(),
  expires_at: DateTime.t() | ArchAstro.Unset.t(),
  full_key: String.t() | ArchAstro.Unset.t(),
  id: String.t(),
  key_hint: String.t() | ArchAstro.Unset.t(),
  key_value: String.t() | ArchAstro.Unset.t(),
  last_used_at: DateTime.t() | ArchAstro.Unset.t(),
  status: String.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()