Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1023 Bytes

File metadata and controls

37 lines (28 loc) · 1023 Bytes

Sensor

Properties

Name Type Description Notes
id int
device_id int
code str
description str
external_id str
brand str
archive_time int [optional]
properties object
created_at datetime

Example

from sensorbucket.models.sensor import Sensor

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

# convert the object into a dict
sensor_dict = sensor_instance.to_dict()
# create an instance of Sensor from a dict
sensor_from_dict = Sensor.from_dict(sensor_dict)

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