models.view_stats_snapshot module

class models.view_stats_snapshot.ViewStatsSnapshot(timestamp=None, view_stats_list=None)[source]

Bases: object

Implementation of the ‘ViewStatsSnapshot’ model.

Specifies the list statistics for each View for a given timestamp.

timestamp (long|int): Specifies the unix time in milliseconds when

these values were generated

view_stats_list (list of ViewStatInfo): Specifies the list of Views

and their statistics at the given timestamp.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary


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.


object: An instance of this structure class.