Package com.microsoft.graph.http
Class BaseCollectionResponse<T>
java.lang.Object
com.microsoft.graph.http.BaseCollectionResponse<T>
- Type Parameters:
T- the entity or complex type
- All Implemented Interfaces:
ICollectionResponse<T>,IJsonBackedObject
The basic collection response implementation
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal AdditionalDataManagerProvides access to objects not anticipated in the model, as well as request and response data from the HTTP callnextLink()Gets the link to the next page of this collectionvoidsetRawObject(ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectvalues()The list of items within this collection page
-
Field Details
-
value
The list of items within this collection page -
nextLink
The link to the next page returned by the initial request if any.
-
-
Constructor Details
-
BaseCollectionResponse
public BaseCollectionResponse()
-
-
Method Details
-
values
The list of items within this collection page- Specified by:
valuesin interfaceICollectionResponse<T>- Returns:
- the deserialized values for the response
-
nextLink
Description copied from interface:ICollectionResponseGets the link to the next page of this collection- Specified by:
nextLinkin interfaceICollectionResponse<T>- Returns:
- The URL to the next page of this collection, or null
-
additionalDataManager
Description copied from interface:IJsonBackedObjectProvides access to objects not anticipated in the model, as well as request and response data from the HTTP call- Specified by:
additionalDataManagerin interfaceIJsonBackedObject- Returns:
- the AddtionalDataManager
-
setRawObject
Sets the raw JSON object- Specified by:
setRawObjectin interfaceIJsonBackedObject- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-