Values.RecommendationTriggerSourceA recommendation trigger provides context on the event that produced the referenced recommendations. Recommendations are only referenced in recommendationIds by a single RecommendationTrigger.
type nonrec t = {data : RecommendationTriggerData.t option;A union type containing information related to the trigger.
*)id : Uuid.t option;The identifier of the recommendation trigger.
*)recommendationIds : RecommendationIdList.t option;The identifiers of the recommendations.
*)source : RecommendationSourceType.t option;The source of the recommendation trigger. ISSUE_DETECTION: The corresponding recommendations were triggered by a Contact Lens issue. RULE_EVALUATION: The corresponding recommendations were triggered by a Contact Lens rule.
*)type_ : RecommendationTriggerType.t option;The type of recommendation trigger.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of [> `String of String_.t ] list
| `String of Uuid.t
| `Structure of
(string
* [> `Structure of (string * [> `String of QueryText.t ]) list ])
list ])
list ]