Class AggregationOption

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

public class AggregationOption extends Object implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Aggregation Option.
  • Field Details

    • oDataType

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

      @SerializedName(value="bucketDefinition", alternate="BucketDefinition") @Expose @Nullable public BucketAggregationDefinition bucketDefinition
      The Bucket Definition. Specifies the criteria to compute an aggregation. Optional.
    • field

      @SerializedName(value="field", alternate="Field") @Expose @Nullable public String field
      The Field. Computes aggregation on the field while the field exists in current entity type. Required.
    • size

      @SerializedName(value="size", alternate="Size") @Expose @Nullable public Integer size
      The Size. The number of searchBucket resources to be returned. This is not required when the range is provided manually in the search request. Optional.
  • Constructor Details

    • AggregationOption

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