models.protection_job_summary_for_policies module¶
-
class
models.protection_job_summary_for_policies.
ProtectionJobSummaryForPolicies
(backup_run=None, copy_runs=None, protection_job=None)[source]¶ Bases:
object
Implementation of the ‘ProtectionJobSummaryForPolicies’ model.
ProtectionJobSummaryForPolicies is the summary of a Protection Jobs associated with the Specified Protection Policy. This is only populated for a policy of type kRegular.
- Attributes:
- backup_run (BackupRun): Specifies details about the Backup task for a
Job Run. A Backup task captures the original backup snapshots for each Protection Source in the Job.
- copy_runs (list of CopyRun): Specifies details about the Copy tasks of
the Job Run. A Copy task copies the captured snapshots to an external target or a Remote Cohesity Cluster.
- protection_job (ProtectionJob): Specifies the Protection job
information.
-
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.