Module Experiment.Variations

type t = {
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.

*)
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.

*)
url : string;(*

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

*)
weight : float;(*

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

*)
won : bool;(*

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

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