Skip to main content

Artifact

Description: Represents an artifact with file and model information. Inherits from Base and FileReaderMixin.

Attributes

NameTypeDescription
idStrictStr
createddatetime.datetime
fileFile
commentsList[Comment]
archive_status_historyList[ResourceArchiveStatus]
created_by_idStrictStr
model_idOptional[StrictStr]
control_tagsOptional[List[ControlTag]]

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 Artifact from a JSON string
to_dictReturn the dictionary representation of the model using alias.
from_dictCreate an instance of Artifact from a dict
update_properties
update_description
update_display_name
update_external_identifier
update_version_name
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.