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 Details

    • oDataType

      @SerializedName("@odata.type") @Expose @Nullable public String oDataType
      the OData type of the object as returned by the service
    • isDescending

      @SerializedName(value="isDescending", alternate="IsDescending") @Expose @Nullable public Boolean isDescending
      The 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 minimumCount
      The 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 prefixFilter
      The 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> ranges
      The 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 sortBy
      The 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:
      additionalDataManager in interface com.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:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to