Module Values.ChoiceSource

A choice available to answer question.

Sourcetype nonrec t = {
  1. choiceId : ChoiceId.t option;
  2. title : ChoiceTitle.t option;
  3. description : ChoiceDescription.t option;
  4. helpfulResource : ChoiceContent.t option;
    (*

    The helpful resource (both text and URL) for a particular choice. This field only applies to custom lenses. Each choice can have only one helpful resource.

    *)
  5. improvementPlan : ChoiceContent.t option;
    (*

    The improvement plan (both text and URL) for a particular choice. This field only applies to custom lenses. Each choice can have only one improvement plan.

    *)
  6. additionalResources : AdditionalResourcesList.t option;
    (*

    The additional resources for a choice in a custom lens. A choice can have up to two additional resources: one of type HELPFUL_RESOURCE, one of type IMPROVEMENT_PLAN, or both.

    *)
}
Sourceval make : ?choiceId:??? -> ?title:??? -> ?description:??? -> ?helpfulResource:??? -> ?improvementPlan:??? -> ?additionalResources:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of ChoiceContentDisplayText.t ]) list ] list ]) list ] list | `String of ChoiceId.t | `Structure of (string * [> `String of ChoiceContentDisplayText.t ]) 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