models.protection_info module

class models.protection_info.ProtectionInfo(end_time_usecs=None, location=None, policy_id=None, protection_job_id=None, protection_job_name=None, retention_period=None, start_time_usecs=None, storage_domain=None, total_snapshots=None)[source]

Bases: object

Implementation of the ‘ProtectionInfo’ model.

dataLocation defines data location related information.

Attributes:
end_time_usecs (long|int): Specifies the end time for object

retention.

location (string): Specifies the location of the object. policy_id (string): Specifies the id of the policy. protection_job_id (long|int): Specifies the id of the protection job. protection_job_name (string): Specifies the protection job name which

protects this object.

retention_period (long|int): Specifies the retention period. start_time_usecs (long|int): Specifies the start time for object

retention.

storage_domain (string): Specifies the storage domain name. total_snapshots (long|int): Specifies the total number of snapshots.

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.