FileRevision
Description: Represents a file revision object. This class inherits from the Base classes.
Attributes
| Name | Type | Description |
|---|---|---|
| id | StrictStr | |
| created | datetime.datetime | |
| file_id | Optional[StrictStr] | |
| content_token | Token | |
| properties_token | Token | |
| archive_status_history | List[FileRevisionArchiveStatus] | |
| name | Optional[StrictStr] | |
| stem | Optional[StrictStr] | |
| suffix | Optional[StrictStr] | |
| extension | Optional[StrictStr] | |
| description | Optional[StrictStr] | |
| size | Optional[StrictInt] | |
| mime | Optional[StrictStr] | |
| version_name | Optional[StrictStr] | |
| external_identifier | Optional[StrictStr] | |
| display_name | Optional[StrictStr] | |
| sources | Optional[List[Source]] | |
| products | Optional[List[Product]] | |
| created_by_id | Optional[StrictStr] |
Methods
| Name | Description |
|---|---|
| source_revision_ids | |
| source_product_ids | |
| read_bytes | |
| 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 FileRevision from a JSON string |
| to_dict | Return the dictionary representation of the model using alias. |
| from_dict | Create an instance of FileRevision from a dict |
| from_storage_revision | |
| read_text | |
| copy_to | |
| read_json | |
| archive | Archive the item using the appropriate client method based on its type. |
| restore | Restore the item using the appropriate client method based on its type. |