models.objects_protected_by_policy module¶
-
class
models.objects_protected_by_policy.
ObjectsProtectedByPolicy
(objects_protected=None, policy_id=None, policy_name=None)[source]¶ Bases:
object
Implementation of the ‘ObjectsProtectedByPolicy’ model.
Objects (e.g. VMs) protected by Policy.
- Attributes:
objects_protected (list of ObjectsByEnv): Protected Objects. policy_id (string): Id of the policy. policy_name (string): Name of the 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.