Aggregation Model

The base class for aggregations where if set, a query is expected to return this aggregation in the result set

Include : bool

If true, return this aggregation in the result set.

NullAsZero : bool

If true, if this aggregation ends up having a null result then it will be returned as a 0 value instead

OrderBy : bool

If set, the resulting aggregates will be ordered by this dimension/aggregation according to OrderByDirection. Setting multiple instances to true in a single query will have an undefined sort ordering

Nullable
OrderByDirection : OrderableDirection

The direction in which to sort if OrderBy is set to true

Example
{
  "Include": true,
  "NullAsZero": true,
  "OrderBy": true,
  "OrderByDirection": 1
}