Module Values.PredictedActionSource

An object that identifies an action. The API returns a list of PredictedActions.

Sourcetype nonrec t = {
  1. actionId : ActionID.t option;
    (*

    The ID of the recommended action.

    *)
  2. score : Score.t option;
    (*

    The score of the recommended action. For information about action scores, see How action recommendation scoring works.

    *)
}
Sourceval make : ?actionId:??? -> ?score:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of Score.t | `String of ActionID.t ]) 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