package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Experiment.VariationsSource

Sourcetype t = {
  1. name : string;
    (*

    The name of the variation. This field is required when creating an experiment. This field may not be changed for an experiment whose status is ENDED.

    *)
  2. status : string;
    (*

    Status of the variation. Possible values: "ACTIVE", "INACTIVE". INACTIVE variations are not served. This field may not be changed for an experiment whose status is ENDED.

    *)
  3. url : string;
    (*

    The URL of the variation. This field may not be changed for an experiment whose status is RUNNING or ENDED.

    *)
  4. weight : float;
    (*

    Weight that this variation should receive. Only present if the experiment is running. This field is read-only.

    *)
  5. won : bool;
    (*

    True if the experiment has ended and this variation performed (statistically) significantly better than the original. This field is read-only.

    *)
}
Sourceval name : (t, string) GapiLens.t
Sourceval status : (t, string) GapiLens.t
Sourceval url : (t, string) GapiLens.t
Sourceval weight : (t, float) GapiLens.t
Sourceval won : (t, bool) GapiLens.t
Sourceval empty : t
Sourceval render : t -> GapiJson.json_data_model list
OCaml

Innovation. Community. Security.