Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.17 KB

StateChangeTrigger.md

File metadata and controls

33 lines (24 loc) · 1.17 KB

StateChangeTrigger

A trigger that executes on state change.

Properties

Name Type Description Notes
source_label str Unique node label
destination_label str Unique node label
invocation_policy int [optional]
state_change_trigger TriggerStateChange

Example

from waylay.services.rules.models.state_change_trigger import StateChangeTrigger

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

# convert the object into a dict
state_change_trigger_dict = state_change_trigger_instance.to_dict()
# create an instance of StateChangeTrigger from a dict
state_change_trigger_form_dict = state_change_trigger.from_dict(state_change_trigger_dict)

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