BaseCollectionPage<T,T2> Class
- java.
lang. Object - com.
microsoft. graph. http. BaseCollectionPage<T,T2>
- com.
Type Parameters
- T
the type of the item contained within the collection
- T2
Implements
public class BaseCollectionPage<T,T2>
implements IJsonBackedObject
A page of results from a collection
Constructor Summary
| Constructor | Description |
|---|---|
| BaseCollectionPage(ICollectionResponse<T> response, T2 builder) |
A collection page for Workforce |
| BaseCollectionPage(List<T> pageContents, T2 nextRequestBuilder) |
Creates the collection page |
| BaseCollectionPage(List<T> pageContents, T2 nextRequestBuilder, AdditionalDataManager responseAdditionalData) |
Creates the collection page |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
final
Additional |
additionalDataManager()
Provides access to objects not anticipated in the model, as well as request and response data from the HTTP call |
| final java.lang.Long |
getCount()
Returns the odata count value if it has been requested, null otherwise |
| java.util.List<T> |
getCurrentPage()
Gets the current page |
| T2 |
getNextPage()
Gets the next page request builder |
| void |
setRawObject(ISerializer serializer, JsonObject json)
Sets the raw JSON object |
Methods inherited from java.lang.Object
Constructor Details
BaseCollectionPage
public BaseCollectionPage(ICollectionResponse
A collection page for WorkforceIntegration
Parameters:
BaseCollectionPage
public BaseCollectionPage(List
Creates the collection page
Parameters:
BaseCollectionPage
public BaseCollectionPage(List
Creates the collection page
Parameters:
Method Details
additionalDataManager
public final AdditionalDataManager additionalDataManager()
Provides access to objects not anticipated in the model, as well as request and response data from the HTTP call
getCount
public final Long getCount()
Returns the odata count value if it has been requested, null otherwise
Returns:
getCurrentPage
public List
Gets the current page
Returns:
getNextPage
public T2 getNextPage()
Gets the next page request builder
Returns:
setRawObject
public void setRawObject(ISerializer serializer, JsonObject json)
Sets the raw JSON object
Parameters: