ConditionClause Class
Represents a single clause to be evaluated by a NormalizedCondition.
Constructor
ConditionClause(*args: Any, **kwargs: Any)
Variables
| Name | Description |
|---|---|
|
clause_connective
|
str or
Connective
The connective used to join all values in this ConditionClause. Known values are: "And" and "Or". |
|
field
|
The name of the field that is evaluated. Required. |
|
operator
|
Represents an operator in a ConditionClause. Required. Known values are: "Equals", "NotEquals", "LessThan", "LessThanEqual", "GreaterThan", "GreaterThanEqual", "StringContains", "StringNotContains", "StringStartsWith", "StringNotStartsWith", "StringEndsWith", "StringNotEndsWith", "StringIsEmpty", "IsNull", "IsTrue", "IsFalse", "ArrayContains", "ArrayNotContains", "OnOrAfterRelative", "AfterRelative", "OnOrBeforeRelative", "BeforeRelative", "OnOrAfterAbsolute", "AfterAbsolute", "OnOrBeforeAbsolute", and "BeforeAbsolute". |
|
values_property
|
The top level connective operator for this condition. Required. |
Attributes
clause_connective
"And" and "Or".
clause_connective: str | _models.Connective | None
field
The name of the field that is evaluated. Required.
field: str
operator
"Equals", "NotEquals", "LessThan", "LessThanEqual", "GreaterThan", "GreaterThanEqual", "StringContains", "StringNotContains", "StringStartsWith", "StringNotStartsWith", "StringEndsWith", "StringNotEndsWith", "StringIsEmpty", "IsNull", "IsTrue", "IsFalse", "ArrayContains", "ArrayNotContains", "OnOrAfterRelative", "AfterRelative", "OnOrBeforeRelative", "BeforeRelative", "OnOrAfterAbsolute", "AfterAbsolute", "OnOrBeforeAbsolute", and "BeforeAbsolute".
operator: str | _models.Operator
values_property
The top level connective operator for this condition. Required.
values_property: list[str]