models.license_state module

class models.license_state.LicenseState(failed_attempts=None, state=None)[source]

Bases: object

Implementation of the ‘LicenseState’ model.

Specifies the state of licensing workflow.

Attributes:
failed_attempts (long|int): Specifies no of failed attempts at

claiming the license server

state (StateLicenseStateEnum): Specifies the current state of

licensing workflow. LicenseStateType specifies the licenseState type. ‘kInProgressNewCluster’ indicates licensing server claim is in progress for ‘New’ Cluster. ‘kInProgressOldCluster’ indicates licensing server claim is in progress for ‘Old’ Cluster. ‘kClaimed’ indicates licensing server is claimed. ‘kSkipped’ indicates licensing workflow has been skipped. ‘kStarted’ indicates licensing UI workflow has started.

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.