models.overusage module

class models.overusage.Overusage(feature_name=None, overused_gib=None, overused_vm=None)[source]

Bases: object

Implementation of the ‘Overusage’ model.

Structure to hold feature usage on cluster side.

Attributes:

feature_name (string): Name of feature. overused_gib (int|long): Feature overusage by the cluster. overused_vm (int|long): Number of overused VM spinned.

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.