models.update_protection_jobs_state_request_body module

class models.update_protection_jobs_state_request_body.UpdateProtectionJobsStateRequestBody(action=None, job_ids=None)[source]

Bases: object

Implementation of the ‘UpdateProtectionJobsStateRequestBody’ model.

Specifies the parameters to perform an action of list of Protection Jobs.

Attributes:
action (ActionUpdateProtectionJobsStateRequestBodyEnum): Specifies the

action to be performed on all the specfied Protection Jobs. Specifies the type of action to be performed on Protection Job. ‘kActivate’ specifies that Protection Job should be activated. ‘kDeactivate’ sepcifies that Protection Job should be deactivated. ‘kPause’ specifies that Protection Job should be paused. ‘kResume’ specifies that Protection Job should be resumed.

job_ids (list of long|int): Specifies a list of Protection Job ids for

which the state should change.

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.