LicenseKey#

class LicenseKey(key=None, validation_detail=None, type=None, category=None, expiry_date=None, meter=None, quantity=None, addons=None, assignment_details=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)#

Bases: ExternalizableAbstractModel

Model for capturing license key detail attributes.

Parameters:
  • key (max=100 chars) – (key) Attribute for capturing license key.

  • validation_detail (max=100 chars) – (validation_detail) Attribute for capturing validation data.

  • type – (type)

  • category – (category)

  • expiry_date – (expiry_date) Attribute for capturing license key expiration date.

  • meter – (meter)

  • quantity – (quantity) Attribute for capturing license key quantity.

  • addons – (addons) Attribute for capturing add-on categories associated with this license key.

  • assignment_details – (assignment_details) Expansion attribute used for fetching the license key assignment details.

property addons#

Attribute for capturing add-on categories associated with this license key.

Type:

list[ LicenseCategory ]

property assignment_details#

Expansion attribute used for fetching the license key assignment details.

Type:

list[ ClusterLicenseKeyMapping ]

property category#
Type:

LicenseCategory

property expiry_date#

Attribute for capturing license key expiration date.

Type:

date

property key#

Attribute for capturing license key.

Type:

str

property meter#
Type:

Meter

property quantity#

Attribute for capturing license key quantity.

Type:

float

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model

property type#
Type:

LicenseType

property validation_detail#

Attribute for capturing validation data.

Type:

str