Package com.microsoft.graph.models
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 Summary
FieldsModifier and TypeFieldDescriptionThe Bucket Definition.The Field.the OData type of the object as returned by the serviceThe Size. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal com.microsoft.graph.serializer.AdditionalDataManager
void
setRawObject
(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 -
bucketDefinition
@SerializedName(value="bucketDefinition", alternate="BucketDefinition") @Expose @Nullable public BucketAggregationDefinition bucketDefinitionThe Bucket Definition. Specifies the criteria to compute an aggregation. Optional. -
field
The Field. Computes aggregation on the field while the field exists in current entity type. Required. -
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 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:
setRawObject
in interfacecom.microsoft.graph.serializer.IJsonBackedObject
- Parameters:
serializer
- the serializerjson
- the JSON object to set this object to
-