Inttegro.Keys.SecretKey (inttegro v0.1.1)

Copy Markdown View Source

Typed Inttegro domain value.

Summary

Types

t()

@type t() :: %Inttegro.Keys.SecretKey{
  active: boolean(),
  expires_at: String.t() | nil,
  id: String.t(),
  issued_at: String.t(),
  label: String.t() | nil,
  last_used_at: String.t() | nil,
  revoked_at: String.t() | nil,
  status: Inttegro.Keys.SecretKeyStatus.t(),
  token_type: Inttegro.Keys.SecretKeyTokenType.t(),
  updated_at: String.t() | nil,
  usage_count: integer() | nil
}

Functions

from_map(map)

@spec from_map(map()) :: t()

new!(attrs \\ %{})

@spec new!(map() | keyword()) :: t()

to_map(value)

@spec to_map(t()) :: map()