Skip to main content

File

Description: A class representing a file.

Attributes

NameTypeDescription
idStrictStr
createddatetime.datetime
revisionsList[FileRevision]
archive_status_historyList[FileArchiveStatus]
resource_idOptional[StrictStr]
resource_typeOptional[StrictStr]
created_by_idOptional[StrictStr]
control_tagsOptional[List[ControlTag]]

Methods

NameDescription
update_properties
update_description
update_display_name
update_external_identifier
update_version_name
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 File from a JSON string
to_dictReturn the dictionary representation of the model using alias.
from_dictCreate an instance of File from a dict
read_bytes
read_text
copy_to
read_json
create_access
create_access_by_email
update_access
remove_access
list_access
archiveArchive the item using the appropriate client method based on its type.
restoreRestore the item using the appropriate client method based on its type.