Package odata.msgraph.client.complex
Class SearchHitsContainer
- java.lang.Object
-
- odata.msgraph.client.complex.SearchHitsContainer
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class SearchHitsContainer extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSearchHitsContainer.Builder
-
Field Summary
Fields Modifier and Type Field Description protected List<SearchAggregation>aggregationsprotected StringaggregationsNextLinkprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected List<SearchHit>hitsprotected StringhitsNextLinkprotected BooleanmoreResultsAvailableprotected StringodataTypeprotected Integertotalprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedSearchHitsContainer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SearchHitsContainer.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.CollectionPage<SearchAggregation>getAggregations()com.github.davidmoten.odata.client.CollectionPage<SearchAggregation>getAggregations(com.github.davidmoten.odata.client.HttpRequestOptions options)com.github.davidmoten.odata.client.CollectionPage<SearchHit>getHits()com.github.davidmoten.odata.client.CollectionPage<SearchHit>getHits(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<Boolean>getMoreResultsAvailable()Optional<Integer>getTotal()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()SearchHitsContainerwithMoreResultsAvailable(Boolean moreResultsAvailable)SearchHitsContainerwithTotal(Integer total)SearchHitsContainerwithUnmappedField(String name, Object value)
-
-
-
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
-
aggregations
protected List<SearchAggregation> aggregations
-
aggregationsNextLink
protected String aggregationsNextLink
-
hitsNextLink
protected String hitsNextLink
-
moreResultsAvailable
protected Boolean moreResultsAvailable
-
total
protected Integer total
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getAggregations
public com.github.davidmoten.odata.client.CollectionPage<SearchAggregation> getAggregations()
-
getAggregations
public com.github.davidmoten.odata.client.CollectionPage<SearchAggregation> getAggregations(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getHits
public com.github.davidmoten.odata.client.CollectionPage<SearchHit> getHits()
-
getHits
public com.github.davidmoten.odata.client.CollectionPage<SearchHit> getHits(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withMoreResultsAvailable
public SearchHitsContainer withMoreResultsAvailable(Boolean moreResultsAvailable)
-
withTotal
public SearchHitsContainer withTotal(Integer total)
-
withUnmappedField
public SearchHitsContainer withUnmappedField(String name, Object 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 SearchHitsContainer.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
-
-