models_v2.unprotect_action_object_level_params module¶
-
class
models_v2.unprotect_action_object_level_params.
UnprotectActionObjectLevelParams
(id=None, name=None, delete_all_snapshots=None, force_unprotect=None)[source]¶ Bases:
object
Implementation of the ‘UnprotectActionObjectLevelParams’ model.
Specifies the request parameters for Unprotect action on a Protected object.
- Attributes:
id (long|int): Specifies the ID of the object. name (string): Specifies the name of the object. delete_all_snapshots (bool): Specifies whether to delete all snapshots
along with unprotecting object protection. If set to true, all snapshots will be deleted and no more recoverable.
- force_unprotect (bool): If specified as true then it will cancel the
ongoing runs and immediatly unprotect.
-
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.