Class SearchBucket

java.lang.Object
com.microsoft.graph.models.SearchBucket
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class SearchBucket extends Object implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Search Bucket.
  • Field Details

    • oDataType

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

      @SerializedName(value="aggregationFilterToken", alternate="AggregationFilterToken") @Expose @Nullable public String aggregationFilterToken
      The Aggregation Filter Token. A token containing the encoded filter to aggregate search matches by the specific key value. To use the filter, pass the token as part of the aggregationFilter property in a searchRequest object, in the format '{field}:/'{aggregationFilterToken}/''. See an example.
    • count

      @SerializedName(value="count", alternate="Count") @Expose @Nullable public Integer count
      The Count. The approximate number of search matches that share the same value specified in the key property. Note that this number is not the exact number of matches.
    • key

      @SerializedName(value="key", alternate="Key") @Expose @Nullable public String key
      The Key. The discrete value of the field that an aggregation was computed on.
  • Constructor Details

    • SearchBucket

      public SearchBucket()
  • 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