models.protection_job_summary module

class models.protection_job_summary.ProtectionJobSummary(cluster_id=None, cluster_incarnation_id=None, is_rpo_job=None, job_id=None, job_name=None, last_protection_job_run_status=None, policy_id=None, policy_name=None)[source]

Bases: object

Implementation of the ‘ProtectionJobSummary’ model.

TODO: type model description here.

Attributes:
cluster_id (long|int): Specifies the id of the cluster on which object

is protected.

cluster_incarnation_id (long|int): Specifies the incarnation id of the

cluster on which object is protected.

is_rpo_job (bool): Specifies if the Protection Job is created by an

RPO policy.

job_id (long|int): Specifies the id of the Protection Job. job_name (string): Specifies the name of the Protection Job. last_protection_job_run_status (int): Specifies the last job run

status.

policy_id (string): Specifies the id of the policy that is used by a

Protection Job. Format of policy id will be like following: clusterid:clusterincarnationid:policyid.

policy_name (string): Specifies the name of the policy that is used by

a Protection Job.

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.