models.unprotect_object_params module¶
-
class
models.unprotect_object_params.
UnprotectObjectParams
(protection_source_id=None, rpo_policy_id=None, delete_snapshots=None)[source]¶ Bases:
object
Implementation of the ‘UnprotectObjectParams’ model.
Specifies the parameters to unprotect an object.
- Attributes:
- delete_snapshots (bool): Specifies whether to delete the snapshots of
the Protection Object.
- protection_source_id (long|int): Specifies the id of the Protection
Source to be unprotected.
- rpo_policy_id (string): Specifies the id of the Rpo Policy from which
to unprotect the object.
-
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.