| Name | Type | Description | Notes |
|---|---|---|---|
| id | int | ||
| code | str | ||
| state | int | ||
| description | str | ||
| tenant_id | int | ||
| properties | object | ||
| altitude | float | [optional] | |
| latitude | float | [optional] | |
| longitude | float | [optional] | |
| location_description | str | [optional] | |
| sensors | List[Sensor] | ||
| created_at | datetime |
from sensorbucket.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)