-
- All Implemented Interfaces:
-
notion.api.v1.model.common.Pagination,notion.api.v1.model.common.WithObjectType
public final class QueryResults implements WithObjectType, Pagination
-
-
Field Summary
Fields Modifier and Type Field Description private final ObjectTypeobjectTypeprivate final List<Page>resultsprivate final StringnextCursorprivate final BooleanhasMore
-
Constructor Summary
Constructors Constructor Description QueryResults(ObjectType objectType, List<Page> results, String nextCursor, Boolean hasMore)QueryResults(ObjectType objectType, List<Page> results, String nextCursor)QueryResults(ObjectType objectType, List<Page> results)QueryResults(List<Page> results)
-
Method Summary
Modifier and Type Method Description ObjectTypegetObjectType()final List<Page>getResults()StringgetNextCursor()BooleangetHasMore()-
-
Constructor Detail
-
QueryResults
QueryResults(ObjectType objectType, List<Page> results, String nextCursor, Boolean hasMore)
-
QueryResults
QueryResults(ObjectType objectType, List<Page> results, String nextCursor)
-
QueryResults
QueryResults(ObjectType objectType, List<Page> results)
-
-
Method Detail
-
getObjectType
ObjectType getObjectType()
-
getResults
final List<Page> getResults()
-
getNextCursor
String getNextCursor()
-
getHasMore
Boolean getHasMore()
-
-
-
-