Skip to content

RuleStringExpression

Source code in docs_src/capo_mailmanager/types/rule_string_expression.py
class RuleStringExpression(TypedDict, closed=True):
    evaluate: "capo_mailmanager.types.rule_string_to_evaluate.RuleStringToEvaluate"
    """<p>The string to evaluate in a string condition expression.</p>"""
    operator: "capo_mailmanager.types.rule_string_operator.RuleStringOperator"
    """<p>The matching operator for a string condition expression.</p>"""
    values: "capo_mailmanager.types.rule_string_list.RuleStringList"
    """<p>The string(s) to be evaluated in a string condition expression. For all operators, except for NOT_EQUALS, if multiple values are given, the values are processed as an OR. That is, if any of the values match the email's string using the given operator, the condition is deemed to match. However, for NOT_EQUALS, the condition is only deemed to match if none of the given strings match the email's string.</p>"""

evaluate instance-attribute

The string to evaluate in a string condition expression.

operator instance-attribute

The matching operator for a string condition expression.

values instance-attribute

The string(s) to be evaluated in a string condition expression. For all operators, except for NOT_EQUALS, if multiple values are given, the values are processed as an OR. That is, if any of the values match the email's string using the given operator, the condition is deemed to match. However, for NOT_EQUALS, the condition is only deemed to match if none of the given strings match the email's string.