models_v2.protected_object_info module

class models_v2.protected_object_info.ProtectedObjectInfo(id=None, name=None, source_id=None, source_name=None, environment=None, object_hash=None, object_type=None, logical_size_bytes=None, uuid=None, protection_type=None, os_type=None, v_center_summary=None, permissions=None, object_backup_configuration=None, protection_group_configurations=None, last_run=None)[source]

Bases: object

Implementation of the ‘ProtectedObjectInfo’ model.

Specifies the details of a protected object.

Attributes:

id (long|int): Specifies object id. name (string): Specifies the name of the object. source_id (long|int): Specifies registered source id to which object

belongs.

source_name (string): Specifies registered source name to which object

belongs.

environment (EnvironmentEnum): Specifies the environment of the

object.

object_hash (string): Specifies the hash identifier of the object. object_type (ObjectType5Enum): Specifies the type of the object. logical_size_bytes (long|int): Specifies the logical size of object in

bytes.

uuid (string): Specifies the uuid which is a unique identifier of the

object.

protection_type (ProtectionType4Enum): Specifies the protection type

of the object if any.

os_type (OsTypeEnum): Specifies the operating system type of the

object.

v_center_summary (ObjectTypeVCenterParams): TODO: type description

here.

permissions (list of Tenant): Specifies the list of tenants that have

permissions for this accessing given protected object.

object_backup_configuration (ProtectedObjectBackupConfig): Specifies

the backup configuration for protected object.

protection_group_configurations (list of

ProtectedObjectGroupBackupConfig): Specifies the protection info associated with every object. There can be multiple instances of protection info since the same object can be protected in multiple protection groups.

last_run (ObjectProtectionRunSummary): Specifies the response body of

the get object runs request.

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.