Skip to main content

Comment

Description: Class representing a comment. This class is used to store information about comments, such as the file and parent file associated with the comment.

Attributes

NameTypeDescription
idStrictStr
createddatetime.datetime
fileFile
commentsList[Comment]
archive_status_historyList[ResourceArchiveStatus]
created_by_idStrictStr
resource_idOptional[StrictStr]
resource_typeOptional[StrictStr]

Methods

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