Module Values.RuleVerdictExpressionSource

A verdict expression is evaluated against verdicts of the email.

Sourcetype nonrec t = {
  1. evaluate : RuleVerdictToEvaluate.t;
    (*

    The verdict to evaluate in a verdict condition expression.

    *)
  2. operator : RuleVerdictOperator.t;
    (*

    The matching operator for a verdict condition expression.

    *)
  3. values : RuleVerdictValueList.t;
    (*

    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.

    *)
}
Sourceval context_ : string
Sourceval make : evaluate:RuleVerdictToEvaluate.t -> operator:RuleVerdictOperator.t -> values:RuleVerdictValueList.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Enum of string ] list | `Structure of (string * [> `Enum of string | `Structure of (string * [> `String of AnalyzerArn.t ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t