| Name |
Type |
Description |
Notes |
| id |
UUID |
A unique identifier for the rule. |
[optional] |
| parent_id |
UUID |
The ID of the rule that was copied to create this rule. |
[optional] |
| title |
str |
A short description of the rule. |
|
| description |
str |
A longer, more detailed description of the rule. |
[optional] |
| bindings |
List[Binding] |
An array that provides objects with variable names (name) and talang expressions to whose result they are bound (expression) during rule evaluation. The order of the evaluation is decided by the position in the array. |
[optional] |
| condition |
List[object] |
A Talang expression that will be evaluated in the context of the given event. |
|
| effects |
List[object] |
An array of effectful Talang expressions in arrays that will be evaluated when a rule matches. |
|
from talon_one.models.rule import Rule
# TODO update the JSON string below
json = "{}"
# create an instance of Rule from a JSON string
rule_instance = Rule.from_json(json)
# print the JSON string representation of the object
print(Rule.to_json())
# convert the object into a dict
rule_dict = rule_instance.to_dict()
# create an instance of Rule from a dict
rule_from_dict = Rule.from_dict(rule_dict)
[Back to Model list] [Back to API list] [Back to README]