Skip to main content

PersonalAccessToken

Description: Class representing a personal access token object. This class is used to store information about personal access tokens, such as the token ID and the token name. Attributes ———- machine_user_id (str): The machine user ID. token (str): The token. token_id (str): The token ID. name (str): The token name. created_by_id (UUID): The user mapping ID.

Attributes

NameTypeDescription
idStrictStr
createddatetime.datetime
machine_user_idStrictStr
tokenStrictStr
token_idStrictStr
nameStrictStr
created_by_idStrictStr

Methods

NameDescription
to_strReturns the string representation of the model using alias
to_jsonReturns the JSON representation of the model using alias
from_jsonCreate an instance of PersonalAccessToken from a JSON string
to_dictReturn the dictionary representation of the model using alias.
from_dictCreate an instance of PersonalAccessToken from a dict