models_v2.action_object_level_response module

class models_v2.action_object_level_response.ActionObjectLevelResponse(id=None, name=None, resume_status=None, pause_status=None, run_now_status=None, un_protect_status=None)[source]

Bases: object

Implementation of the ‘ActionObjectLevelResponse’ model.

Specifies the object level response params after performing an action on a protected object.

Attributes:

id (long|int): Specifies the ID of the object. name (string): Specifies the name of the object. resume_status (ResumeActionObjectLevelResponse): Specifies the

infomration about status of resume action.

pause_status (PauseActionObjectLevelResponse): Specifies the

infomration about status of pause action.

run_now_status (RunNowActionObjectLevelResponse): Specifies the

infomration about status of run now action.

un_protect_status (UnprotectActionObjectLevelResponse): Specifies the

infomration about status of Unprotect action.

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.