Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 1.46 KB

Device.md

File metadata and controls

44 lines (35 loc) · 1.46 KB

Device

Properties

Name Type Description Notes
uid str
serial_number str [optional]
provisioned datetime
last_activity datetime [optional]
contact Contact [optional]
product_uid str
fleet_uids List[str]
tower_info DeviceTowerInfo [optional]
tower_location Location [optional]
gps_location Location [optional]
triangulated_location Location [optional]
voltage float
temperature float
dfu DFUEnv [optional]
sku str [optional]
disabled bool [optional]

Example

from notehub_py.models.device import Device

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

# convert the object into a dict
device_dict = device_instance.to_dict()
# create an instance of Device from a dict
device_from_dict = Device.from_dict(device_dict)

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