Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 2.37 KB

TemplateDetails.md

File metadata and controls

44 lines (35 loc) · 2.37 KB

TemplateDetails

Properties

Name Type Description Notes
name str Unique template identifier
discovery_template bool flag to indicate if the template is the discovery template
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]
user str Creation user mail address
create_time int Timestamp expressed as milliseconds since 00:00:00 UTC on 1 January 1970, not counting leap seconds.
last_update_time int Timestamp expressed as milliseconds since 00:00:00 UTC on 1 January 1970, not counting leap seconds.
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]
nodes List[object] [optional]
posterior List[object] [optional]

Example

from waylay.services.rules.models.template_details import TemplateDetails

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

# convert the object into a dict
template_details_dict = template_details_instance.to_dict()
# create an instance of TemplateDetails from a dict
template_details_form_dict = template_details.from_dict(template_details_dict)

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