Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.03 KB

ResourceSensor.md

File metadata and controls

31 lines (22 loc) · 1.03 KB

ResourceSensor

Sensor associated with a Resource

Properties

Name Type Description Notes
name str An alias name for the sensor in the context of this Resource.
sensor ResourceSensorSensor

Example

from waylay.services.resources.models.resource_sensor import ResourceSensor

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

# convert the object into a dict
resource_sensor_dict = resource_sensor_instance.to_dict()
# create an instance of ResourceSensor from a dict
resource_sensor_form_dict = resource_sensor.from_dict(resource_sensor_dict)

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