Skip to content

RuleVerdictExpression

Source code in docs_src/capo_mailmanager/types/rule_verdict_expression.py
class RuleVerdictExpression(TypedDict, closed=True):
    evaluate: "capo_mailmanager.types.rule_verdict_to_evaluate.RuleVerdictToEvaluate"
    """<p>The verdict to evaluate in a verdict condition expression.</p>"""
    operator: "capo_mailmanager.types.rule_verdict_operator.RuleVerdictOperator"
    """<p>The matching operator for a verdict condition expression.</p>"""
    values: "capo_mailmanager.types.rule_verdict_value_list.RuleVerdictValueList"
    """<p>The values to match with the email's verdict using the given operator. For the EQUALS operator, if multiple values are given, the condition is deemed to match if any of the given verdicts match that of the email. For the NOT_EQUALS operator, if multiple values are given, the condition is deemed to match of none of the given verdicts match the verdict of the email.</p>"""

evaluate instance-attribute

The verdict to evaluate in a verdict condition expression.

operator instance-attribute

The matching operator for a verdict condition expression.

values instance-attribute

The values to match with the email's verdict using the given operator. For the EQUALS operator, if multiple values are given, the condition is deemed to match if any of the given verdicts match that of the email. For the NOT_EQUALS operator, if multiple values are given, the condition is deemed to match of none of the given verdicts match the verdict of the email.