models_v2.object_archival_snapshot_information module

class models_v2.object_archival_snapshot_information.ObjectArchivalSnapshotInformation(snapshot_id=None, logical_size_bytes=None, target_id=None, archival_task_id=None, target_name=None, target_type=None)[source]

Bases: object

Implementation of the ‘Object Archival Snapshot Information’ model.

Specifies the Archival snapshot information for the object.

Attributes:
snapshot_id (string): Specifies the id of the archival snapshot for

the object.

logical_size_bytes (long|int): Specifies the logical size of this

snapshot in bytes.

target_id (long|int): Specifies the archival target ID. archival_task_id (string): Specifies the archival task id. This is a

protection group UID which only applies when archival type is ‘Tape’.

target_name (string): Specifies the archival target name. target_type (TargetType1Enum): Specifies the archival target type.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.