Description: Resource class for search results.
Attributes
Name | Type | Description |
---|
id | StrictStr | |
file_id | StrictStr | |
file_revision_id | StrictStr | |
type_name | ResourceType | |
created_by_id | StrictStr | |
archive_status | ArchiveStatusName | |
created | datetime.datetime | |
updated | datetime.datetime | |
name | Optional[StrictStr] | |
extension | Optional[StrictStr] | |
size | Optional[StrictInt] | |
mime | Optional[StrictStr] | |
description | 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 ResourceSearchItem from a JSON string |
to_dict | Return the dictionary representation of the model using alias. |
from_dict | Create an instance of ResourceSearchItem from a dict |