Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 1.88 KB

Rule.md

File metadata and controls

41 lines (32 loc) · 1.88 KB

Rule

Properties

Name Type Description Notes
actions List[RuleAction]
active bool Whether or not the rule is even active. Default is true. [optional] [default to True]
created_at datetime [optional] [readonly]
description str [optional]
order int [optional] [readonly]
rule_group_id str ID of the rule group under which the rule must be stored. Either this field or rule_group_title is mandatory.
rule_group_title str Title of the rule group under which the rule must be stored. Either this field or rule_group_id is mandatory. [optional]
stop_processing bool If this value is true and the rule is triggered, other rules after this one in the group will be skipped. Default value is false. [optional] [default to False]
strict bool If the rule is set to be strict, ALL triggers must hit in order for the rule to fire. Otherwise, just one is enough. Default value is true. [optional]
title str
trigger RuleTriggerType
triggers List[RuleTrigger]
updated_at datetime [optional] [readonly]

Example

from firefly_iii_client.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_form_dict = rule.from_dict(rule_dict)

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