Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 904 Bytes

File metadata and controls

30 lines (21 loc) · 904 Bytes

DataPoint

Properties

Name Type Description Notes
datetime str Metric timestamp. [readonly]
value float Value of the data point. [readonly]

Example

from saturn_api.models.data_point import DataPoint

# TODO update the JSON string below
json = "{}"
# create an instance of DataPoint from a JSON string
data_point_instance = DataPoint.from_json(json)
# print the JSON string representation of the object
print(DataPoint.to_json())

# convert the object into a dict
data_point_dict = data_point_instance.to_dict()
# create an instance of DataPoint from a dict
data_point_from_dict = DataPoint.from_dict(data_point_dict)

[Back to Model list] [Back to API list] [Back to README]