models.package_details module

class models.package_details.PackageDetails(downtime_required=None, installed_on_nodes=None, package_name=None, release_date=None)[source]

Bases: object

Implementation of the ‘PackageDetails’ model.

Specifies all of the details of a package that is currently installed on the cluster.

Attributes:
downtime_required (bool): Specifies whether or not downtime is

required to update to this package.

installed_on_nodes (list of long|int): Specifies the list of IDs of

nodes on the cluster where this package is currently installed.

package_name (string): Specifies the name of the current package. release_date (string): Specifies the release date of this package.

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.