models_v2.patch_detail module

class models_v2.patch_detail.PatchDetail(service=None, component=None, version=None, import_version=None, status=None)[source]

Bases: object

Implementation of the ‘PatchDetail’ model.

Detail of a patch. It gives the service and version information of the the patch.

Attributes:

service (string): Specifies the name of the service. component (string): Specifies the user friendly name of the service. version (string): Specifies the existing version of the service. This

is the available service patch version if exists. If there is no patch available, then it is the applied patch version if applied. If both don’t exist, it is the base version of the service.

import_version (string): Specifies the version of the imported service

patch.

status (string): Specifies the status of the patch whether it is

accepted or rejected. A patch is rejected if it is older than the version available or applied on the cluster.

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.