models.get_consumer_stats_result module¶
-
class
models.get_consumer_stats_result.
GetConsumerStatsResult
(cookie=None, stats_list=None)[source]¶ Bases:
object
Implementation of the ‘GetConsumerStatsResult’ model.
GetConsumerStatsResult is the result of get consumerStats api.
- Attributes:
- cookie (string): Specifies an opaque string to pass to get the next
set of active opens. If null is returned, this response is the last set of active opens.
- stats_list (list of ConsumerStats): Specifies a list of consumer
stats.
-
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.