models_v2.object_protection_info module

class models_v2.object_protection_info.ObjectProtectionInfo(object_id=None, source_id=None, region_id=None, cluster_id=None, cluster_incarnation_id=None, protection_groups=None, object_backup_configuration=None, last_run_status=None)[source]

Bases: object

Implementation of the ‘ObjectProtectionInfo’ model.

Specifies the object info on clsuter.

Attributes:

object_id (long|int): Specifies the object id. source_id (long|int): Specifies the source id. region_id (string): Specifies the region id where this object belongs

to.

cluster_id (long|int): Specifies the cluster id where this object

belongs to.

cluster_incarnation_id (long|int): Specifies the cluster incarnation

id where this object belongs to.

protection_groups (list of ObjectProtectionGroupSummary): Specifies a

list of protection groups protecting this object.

object_backup_configuration (list of ProtectionSummary): Specifies a

list of object protections.

last_run_status (LastRunStatusEnum): Specifies the status of the

object’s last protection run.

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.