models.throttling_configuration module

class models.throttling_configuration.ThrottlingConfiguration(fixed_threshold=None, pattern_type=None)[source]

Bases: object

Implementation of the ‘ThrottlingConfiguration’ model.

Specifies the throttling configuration parameters.

Attributes:
fixed_threshold (long|int): Fixed baseline threshold for throttling. This is

mandatory for any other throttling type than kNoThrottling.

pattern_type (int): Type of the throttling pattern.

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.