Skip to content

Latest commit

 

History

History
46 lines (39 loc) · 2.72 KB

File metadata and controls

46 lines (39 loc) · 2.72 KB

Device

Properties

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

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]