Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.25 KB

RuleCondition.md

File metadata and controls

32 lines (23 loc) · 1.25 KB

RuleCondition

A single condition within a rule. Conditions within a rule are AND-ed together.

Properties

Name Type Description Notes
var_field str The input context field this condition tests. Allowed values depend on the rule set type (trigger vs. outcome) and the step's connector/operation.
operator RuleConditionOperatorEnum
value str The value `field` is compared against, using `operator`.

Example

from fireblocks.models.rule_condition import RuleCondition

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

# convert the object into a dict
rule_condition_dict = rule_condition_instance.to_dict()
# create an instance of RuleCondition from a dict
rule_condition_from_dict = RuleCondition.from_dict(rule_condition_dict)

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