models.license_account_usage_rsp module

class models.license_account_usage_rsp.LicenseAccountUsageRsp(feature_over_usage=None, free_setup_mode=None, is_trail=None, last12_months_avg_entitlement=None, last12_months_avg_usage=None, last30_days_entitlement=None, last30_days_usage=None, last_update_time=None, licensed_usage=None, trial_expiration=None, usage=None)[source]

Bases: object

Implementation of the ‘LicenseAccountUsageRsp’ model.

Structure to hold account usage response

Attributes:
feature_over_usage (list of Overusage): Holds information about

consumption usage of overused features.

free_setup_mode (bool): Free setup mode. is_trail (bool): Check if trial license. last12_months_avg_entitlement (dict<object, list of

MonthlyEntitlement>): Holds monthly avg usage values of feature

last12_months_avg_usage (dict<object, list of MonthlyUsage>): Holds

monthly avg usage values of feature

last30_days_entitlement (dict<object, list of DailyEntitlement>):

Holds daily entitled capacity values of feature

last30_days_usage (dict<object, list of DailyUsage>): Holds daily

usage values of feature

last_update_time (int): Last time, this report was updated. licensed_usage (list of LicensedUsage): LicenseFeatureUsages holds information

about each feature from license orders.

trial_expiration (int): Trial expiration period. usage (dict<object, list of FeatureUsage>): Creating a map of cluster

id and feature usage to make it consistent display usage UI for the helios server license page UI.

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.