models_v2.service_patch_level module

class models_v2.service_patch_level.ServicePatchLevel(service=None, patch_level=None)[source]

Bases: object

Implementation of the ‘ServicePatchLevel’ model.

Patch level of a service. It is the number of patches applied for the service on the cluster. If a service is never patched the patch level is 0. If two patches were applied, patch level is 2.

Attributes:

service (string): Specifies the name of the service. patch_level (long|int): Specifies patch level of the service.

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.