models_v2.protectd_objects_action_request module

class models_v2.protectd_objects_action_request.ProtectdObjectsActionRequest(action=None, pause_params=None, resume_params=None, run_now_params=None, un_protect_params=None)[source]

Bases: object

Implementation of the ‘ProtectdObjectsActionRequest’ model.

Specifies the request for performing various actions on protected objects.

Attributes:
action (Action5Enum): Specifies the action type to be performed on

object getting protected. Based on selected action, provide the action params.

pause_params (ProtectedObjectPauseActionParams): Specifies the request

parameters for Pause action on Protected objects.

resume_params (ProtectedObjectResumeActionParams): Specifies the

request parameters for Resume action on Protected objects.

run_now_params (ProtectedObjectRunNowActionParams): Specifies the

request parameters for RunNow action on Protected objects.

un_protect_params (ProtectedObjectUnProtectActionParams): Specifies

the request parameters for Unprotect action on Protected objects.

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.