public class DirectoryObjectCollectionPage extends com.microsoft.graph.http.BaseCollectionPage<DirectoryObject,DirectoryObjectCollectionRequestBuilder>
Constructor and Description |
---|
DirectoryObjectCollectionPage(DirectoryObjectCollectionResponse response,
DirectoryObjectCollectionRequestBuilder builder)
A collection page for DirectoryObject
|
DirectoryObjectCollectionPage(java.util.List<DirectoryObject> pageContents,
DirectoryObjectCollectionRequestBuilder nextRequestBuilder)
Creates the collection page for DirectoryObject
|
public DirectoryObjectCollectionPage(@Nonnull DirectoryObjectCollectionResponse response, @Nonnull DirectoryObjectCollectionRequestBuilder builder)
response
- the serialized DirectoryObjectCollectionResponse from the servicebuilder
- the request builder for the next collection pagepublic DirectoryObjectCollectionPage(@Nonnull java.util.List<DirectoryObject> pageContents, @Nullable DirectoryObjectCollectionRequestBuilder nextRequestBuilder)
pageContents
- the contents of this pagenextRequestBuilder
- the request builder for the next page