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