Class BucketAggregationDefinition
- java.lang.Object
-
- odata.msgraph.client.beta.complex.BucketAggregationDefinition
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class BucketAggregationDefinition extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBucketAggregationDefinition.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected BooleanisDescendingprotected IntegerminimumCountprotected StringodataTypeprotected StringprefixFilterprotected List<BucketAggregationRange>rangesprotected StringrangesNextLinkprotected BucketAggregationSortPropertysortByprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedBucketAggregationDefinition()
-
Method Summary
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
isDescending
protected Boolean isDescending
-
minimumCount
protected Integer minimumCount
-
prefixFilter
protected String prefixFilter
-
ranges
protected List<BucketAggregationRange> ranges
-
rangesNextLink
protected String rangesNextLink
-
sortBy
protected BucketAggregationSortProperty sortBy
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
withIsDescending
public BucketAggregationDefinition withIsDescending(Boolean isDescending)
-
withMinimumCount
public BucketAggregationDefinition withMinimumCount(Integer minimumCount)
-
withPrefixFilter
public BucketAggregationDefinition withPrefixFilter(String prefixFilter)
-
getRanges
public com.github.davidmoten.odata.client.CollectionPage<BucketAggregationRange> getRanges()
-
getRanges
public com.github.davidmoten.odata.client.CollectionPage<BucketAggregationRange> getRanges(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getSortBy
public Optional<BucketAggregationSortProperty> getSortBy()
-
withSortBy
public BucketAggregationDefinition withSortBy(BucketAggregationSortProperty sortBy)
-
withUnmappedField
public BucketAggregationDefinition withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static BucketAggregationDefinition.Builder builder()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
-