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
| Name | Type | Description |
|---|
| id | StrictStr | |
| created | datetime.datetime | |
| machine_user_id | StrictStr | |
| token | StrictStr | |
| token_id | StrictStr | |
| name | StrictStr | |
| created_by_id | StrictStr | |
Methods
| Name | Description |
|---|
| to_str | Returns the string representation of the model using alias |
| to_json | Returns the JSON representation of the model using alias |
| from_json | Create an instance of PersonalAccessToken from a JSON string |
| to_dict | Return the dictionary representation of the model using alias. |
| from_dict | Create an instance of PersonalAccessToken from a dict |