StatsQueryParams#

class StatsQueryParams(attributes=None, stats_type=None, sampling_interval=None, start_time=None, end_time=None, *args, **kwargs)[source]#

Bases: object

Parameters of statistics query.

Parameters:
  • attributes – (attributes) List of queried attributes. All attributes are returned if this parameter is absent.

  • stats_type – (stats_type)

  • sampling_interval – (sampling_interval) Stats query sampling interval in seconds.

  • start_time – (start_time) Start time in milliseconds of queried statistics data.

  • end_time – (end_time) End time in milliseconds of queried statistics data.

property attributes#

List of queried attributes. All attributes are returned if this parameter is absent.

Type:

list[ str ]

property end_time#

End time in milliseconds of queried statistics data.

Type:

int

property sampling_interval#

Stats query sampling interval in seconds.

Type:

int

property start_time#

Start time in milliseconds of queried statistics data.

Type:

int

property stats_type#
Type:

StatsType

to_dict()[source]#

Returns the model properties as a dictionary

to_str()[source]#

Returns the string representation of the model