Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.46 KB

TaskWithRule.md

File metadata and controls

34 lines (25 loc) · 1.46 KB

TaskWithRule

Properties

Name Type Description Notes
sensors List[SensorNode] List of sensors with required properties [optional]
actuators List[ActuatorNode] List of actuators with required properties [optional]
relations List[RelationNode] List of relations (gates) between sensors [optional]
triggers List[SimplifiedGraphTriggersInner] List of conditions under which actuators/sensors get executed. [optional]
notes List[NoteElement] [optional]
task TaskWithRuleAllOfTask

Example

from waylay.services.rules.models.task_with_rule import TaskWithRule

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

# convert the object into a dict
task_with_rule_dict = task_with_rule_instance.to_dict()
# create an instance of TaskWithRule from a dict
task_with_rule_form_dict = task_with_rule.from_dict(task_with_rule_dict)

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