EntitlementDetail#

class EntitlementDetail(name=None, type=None, category=None, sub_category=None, meter=None, quantity=None, earliest_expiry_date=None, scope=None, *args, **kwargs)#

Bases: object

Model capturing entitlement details.

Parameters:
  • name (max=64 chars) – (name) Indicates the name of the license. Possible values could be NCI Pro, NCM Ultimate.

  • type – (type)

  • category – (category)

  • sub_category – (sub_category)

  • meter – (meter)

  • quantity – (quantity) Attribute for capturing quantity for entitlement.

  • earliest_expiry_date – (earliest_expiry_date) Attribute for capturing earliest expiry date across entitlements.

  • scope – (scope)

property category#
Type:

LicenseCategory

property earliest_expiry_date#

Attribute for capturing earliest expiry date across entitlements.

Type:

date

property meter#
Type:

Meter

property name#

Indicates the name of the license. Possible values could be NCI Pro, NCM Ultimate.

Type:

str

property quantity#

Attribute for capturing quantity for entitlement.

Type:

float

property scope#
Type:

Scope

property sub_category#
Type:

SubCategory

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model

property type#
Type:

LicenseType