TimeIntValuePair#

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

Bases: object

A time value pair representing a stat associated with a given entity at a given point of date and time represented in extended ISO-8601 format.”

Parameters:
  • value – (value) Value of the stat at the recorded date and time in extended ISO-8601 format.”

  • timestamp – (timestamp) The date and time at which the stat was recorded.The value should be in extended ISO-8601 format. For example, start time of 2022-04-23T01:23:45.678+09:00 would consider all stats starting at 1:23:45.678 on the 23rd of April 2022. Details around ISO-8601 format can be found at https://www.iso.org/standard/70907.html

property timestamp#

The date and time at which the stat was recorded.The value should be in extended ISO-8601 format. For example, start time of 2022-04-23T01:23:45.678+09:00 would consider all stats starting at 1:23:45.678 on the 23rd of April 2022. Details around ISO-8601 format can be found at https://www.iso.org/standard/70907.html

Type:

datetime

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model

property value#

Value of the stat at the recorded date and time in extended ISO-8601 format.”

Type:

int