ItemExport

class pydelfini.delfini_core.models.item_export.ItemExport(collection_id, created_on, format_, id, item_id, status, version_id, checksum=Unset, completed_on=Unset, download_name=Unset, errors=Unset, expires_after=Unset, size=Unset)[source]

Bases: object

ItemExport model

Parameters:
collection_id
Type:

str

created_on
Type:

datetime.datetime

format_
Type:

ItemExportFormat

id
Type:

str

item_id
Type:

str

status
Type:

ItemExportStatus

version_id
Type:

str

checksum
Type:

Union[Unset, ItemExportChecksum]

completed_on
Type:

Union[Unset, datetime.datetime]

download_name
Type:

Union[Unset, str]

errors
Type:

Union[Unset, List[‘Error’]]

expires_after
Type:

Union[Unset, datetime.datetime]

size
Type:

Union[Unset, int]

Attributes

collection_id

created_on

format_

id

item_id

status

version_id

checksum

completed_on

download_name

errors

expires_after

size

classmethod from_dict(src_dict)[source]

Create an instance of ItemExport from a dict

Parameters:

src_dict (Dict[str, Any])

Return type:

T

to_dict()[source]

Convert to a dict

Return type:

Dict[str, Any]