models.protection_policy_summary module¶
-
class
models.protection_policy_summary.
ProtectionPolicySummary
(last_protection_run_summary=None, pagination_cookie=None, protected_sources_summary=None, protection_jobs_summary=None, protection_policy=None, protection_runs_summary=None)[source]¶ Bases:
object
Implementation of the ‘ProtectionPolicySummary’ model.
ProtectionPolicySummary specifies protection summary of a given Protection Policy.
- Attributes:
- last_protection_run_summary (LastProtectionRunSummary):
LastProtectionRunsSummary is the summary of the last Protection Run for the Protection Jobs using the Specified Protection Policy.
- pagination_cookie (string): If there are more results to display, use
this value to get the next set of results, by using this value in paginationCookie param for the next request to GetProtectionPolicySummary.
- protected_sources_summary (list of ProtectedSourceSummary): Specifies
the list of Protection Sources which are protected under the given policy. This is only populated if the policy is of type kRPO.
- protection_jobs_summary (list of ProtectionJobSummaryForPolicies):
Specifies the list of Protection Jobs associated with the given Protection Policy. This is only populated if the type of the Protection Policy is kRegular.
protection_policy (ProtectionPolicy): TODO: type description here. protection_runs_summary (ProtectionRunsSummary): ProtectionRunsSummary
is the summary of the all the Protection Runs for the Protection Jobs using the Specified Protection Policy.
-
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.