models.change_protection_job_state_param module

class models.change_protection_job_state_param.ChangeProtectionJobStateParam(pause=None, pause_reason=None)[source]

Bases: object

Implementation of the ‘ChangeProtectionJobStateParam’ model.

Specifies if the Run state of a Protection Job should change.

pause (bool): If true, the specified Protection Job is paused and no

new Runs of the Job are started. Any Runs that were executing continue to run. If false and the Protection Job was in a paused state, the Protection Job resumes and new Runs are started according to the schedule defined in the associated Policy.

pause_reason (int): Specifies the reason of pausing the job so that

depending on the pause reason, only specific jobs can be resumed. All the jobs paused manually by the user will be identified by nil PauseReason.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary


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.


object: An instance of this structure class.