models_v2.revert_patch module

class models_v2.revert_patch.RevertPatch(service=None, patch_level=None)[source]

Bases: object

Implementation of the ‘Revert patch.’ model.

Specifies the request to revert a patch. An optional patch level can be specified. When a patch level is specified, system keeps reverting patches until the given patch level is reverted. If no patch level is specified, just the last applied patch is reverted. Patch level should be 1 or above.

service (string): Specifies the name of the service whose patch should

be reverted.

patch_level (long|int): Specifies optional patch level upto which the

patches should be reverted. Patch level should be 1 or above.

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.