Name | Type | Description | Notes |
---|---|---|---|
name | str | Unique template identifier | |
discovery_template | bool | flag to indicate if the template is the discovery template | [optional] |
tags | object | Key-value pairs on which you can filter to finding templates back | [optional] |
variables | List[VariableDeclaration] | Variable declarations | [optional] |
task_defaults | TaskDefaultsElement | [optional] | |
description | str | Description of the template | [optional] |
notes | List[NoteElement] | List of notes as explanation for users | [optional] |
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] |
from waylay.services.rules.models.template_entity import TemplateEntity
# TODO update the JSON string below
json = "{}"
# create an instance of TemplateEntity from a JSON string
template_entity_instance = TemplateEntity.from_json(json)
# print the JSON string representation of the object
print TemplateEntity.to_json()
# convert the object into a dict
template_entity_dict = template_entity_instance.to_dict()
# create an instance of TemplateEntity from a dict
template_entity_form_dict = template_entity.from_dict(template_entity_dict)