TimeValuePair#

class TimeValuePair(timestamp=None, value=None, *args, **kwargs)[source]#

Bases: object

Time - Value pair for time-series stat attributes

Parameters:
  • timestamp – (timestamp) Timestamp for given stat attribute(in ISO-8601 format)

  • value – (value) Value of stat at given timestamp

property timestamp#

Timestamp for given stat attribute(in ISO-8601 format)

Type:

datetime

to_dict()[source]#

Returns the model properties as a dictionary

to_str()[source]#

Returns the string representation of the model

property value#

Value of stat at given timestamp

Type:

int