models_v2.protection_summary module

class models_v2.protection_summary.ProtectionSummary(policy_name=None, policy_id=None, last_backup_run_status=None, last_archival_run_status=None, last_replication_run_status=None, last_run_sla_violated=None)[source]

Bases: object

Implementation of the ‘ProtectionSummary’ model.

Specifies a summary of an object protection.

Attributes:

policy_name (string): Specifies the policy name for this group. policy_id (string): Specifies the policy id for this protection. last_backup_run_status (LastBackupRunStatusEnum): Specifies the status

of last local back up run.

last_archival_run_status (LastArchivalRunStatusEnum): Specifies the

status of last archival run.

last_replication_run_status (LastReplicationRunStatusEnum): Specifies

the status of last replication run.

last_run_sla_violated (bool): Specifies if the sla is violated in last

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.