Module Values.RequiredCaseRuleSource

Required rule type, used to indicate whether a field is required. In the Amazon Connect admin website, case rules are known as case field conditions. For more information about case field conditions, see Add case field conditions to a case template.

Sourcetype nonrec t = {
  1. defaultValue : Boolean.t;
    (*

    The value of the rule (that is, whether the field is required) should none of the conditions evaluate to true.

    *)
  2. conditions : BooleanConditionList.t;
    (*

    List of conditions for the required rule; the first condition to evaluate to true dictates the value of the rule.

    *)
}
Sourceval context_ : string
Sourceval make : defaultValue:Boolean.t -> conditions:BooleanConditionList.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * Awso.Botodata.value) 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