TimeValuePair#

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

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()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model

property value#

Value of stat at given timestamp.

Type:

int