Module Values_0.TotalAggregationOptionSource

The total aggregation settings map of a field id.

Sourcetype nonrec t = {
  1. fieldId : FieldId.t;
    (*

    The field id that's associated with the total aggregation option.

    *)
  2. totalAggregationFunction : TotalAggregationFunction.t;
    (*

    The total aggregation function that you want to set for a specified field id.

    *)
}
Sourceval context_ : string
Sourceval make : fieldId:FieldId.t -> totalAggregationFunction:TotalAggregationFunction.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of FieldId.t | `Structure of (string * [> `Enum of string ]) 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