Package com.microsoft.graph.models
Class BucketAggregationDefinition
java.lang.Object
com.microsoft.graph.models.BucketAggregationDefinition
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class BucketAggregationDefinition
extends Object
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Bucket Aggregation Definition.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Is Descending.The Minimum Count.the OData type of the object as returned by the serviceThe Prefix Filter.The Ranges.The Sort By. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal com.microsoft.graph.serializer.AdditionalDataManagervoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON object
-
Field Details
-
oDataType
the OData type of the object as returned by the service -
isDescending
@SerializedName(value="isDescending", alternate="IsDescending") @Expose @Nullable public Boolean isDescendingThe Is Descending. True to specify the sort order as descending. The default is false, with the sort order as ascending. Optional. -
minimumCount
@SerializedName(value="minimumCount", alternate="MinimumCount") @Expose @Nullable public Integer minimumCountThe Minimum Count. The minimum number of items that should be present in the aggregation to be returned in a bucket. Optional. -
prefixFilter
@SerializedName(value="prefixFilter", alternate="PrefixFilter") @Expose @Nullable public String prefixFilterThe Prefix Filter. A filter to define a matching criteria. The key should start with the specified prefix to be returned in the response. Optional. -
ranges
@SerializedName(value="ranges", alternate="Ranges") @Expose @Nullable public List<BucketAggregationRange> rangesThe Ranges. Specifies the manual ranges to compute the aggregations. This is only valid for non-string refiners of date or numeric type. Optional. -
sortBy
@SerializedName(value="sortBy", alternate="SortBy") @Expose @Nullable public BucketAggregationSortProperty sortByThe Sort By. The possible values are count to sort by the number of matches in the aggregation, keyAsStringto sort alphabeticaly based on the key in the aggregation, keyAsNumber for numerical sorting based on the key in the aggregation. Required.
-
-
Constructor Details
-
BucketAggregationDefinition
public BucketAggregationDefinition()
-
-
Method Details
-
additionalDataManager
@Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()- Specified by:
additionalDataManagerin interfacecom.microsoft.graph.serializer.IJsonBackedObject
-
setRawObject
public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json) Sets the raw JSON object- Specified by:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-