Description: Token is a subclass of Base and represents a token used to store file information.
Attributes
| Name | Type | Description |
|---|
| id | StrictStr | |
| created | datetime.datetime | |
| sha | StrictStr | |
| salt | StrictStr | |
| name | StrictStr | |
| extension | StrictStr | |
| size | StrictInt | |
| description | Optional[StrictStr] | |
| mime | Optional[StrictStr] | |
| version_name | Optional[StrictStr] | |
| external_identifier | Optional[StrictStr] | |
| display_name | Optional[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 TokenWithProperties from a JSON string |
| to_dict | Return the dictionary representation of the model using alias. |
| from_dict | Create an instance of TokenWithProperties from a dict |