Module Values_0.Expression

A tagged union to specify expression for a routing step.

Sourcetype nonrec t = {
  1. attributeCondition : AttributeCondition.t option;
    (*

    An object to specify the predefined attribute condition.

    *)
  2. andExpression : Expressions.t option;
    (*

    List of routing expressions which will be AND-ed together.

    *)
  3. orExpression : Expressions.t option;
    (*

    List of routing expressions which will be OR-ed together.

    *)
  4. notAttributeCondition : AttributeCondition.t option;
}
Sourceval make : ?attributeCondition:AttributeCondition.t -> ?andExpression:Expressions.t -> ?orExpression:Expressions.t -> ?notAttributeCondition:AttributeCondition.t -> unit -> t
Sourceval to_value : t -> Awso.Botodata.value
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t