models_v2.protected_object_action_response module

class models_v2.protected_object_action_response.ProtectedObjectActionResponse(action=None, objects=None)[source]

Bases: object

Implementation of the ‘ProtectedObjectActionResponse’ model.

Specifies the response upon performing an action 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.

objects (list of ActionObjectLevelResponse): Specifies the list of

objects on which the provided action was performed.

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.