ArchAstro.SDK.Types.Operations.PostApiV1UsersUserTokens.Input (archastro v0.3.5)

Copy Markdown

Create a personal access token

Summary

Types

t()

@type t() :: %ArchAstro.SDK.Types.Operations.PostApiV1UsersUserTokens.Input{
  expires_in_days: integer() | ArchAstro.SDK.Unset.t(),
  name: String.t() | ArchAstro.SDK.Unset.t(),
  scopes: [String.t()] | ArchAstro.SDK.Unset.t()
}

Functions

from_map(data)

@spec from_map(ArchAstro.SDK.JSON.object()) :: t()

matches?(value)

@spec matches?(ArchAstro.SDK.JSON.t()) :: boolean()

to_map(value)

@spec to_map(t()) :: ArchAstro.SDK.JSON.object()