-
- 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 Stringtypeprivate final StringnextCursorprivate final BooleanhasMoreprivate Objectpageprivate Objectdatabase
-
Constructor Summary
Constructors Constructor Description QueryResults(ObjectType objectType, List<Page> results, String type, String nextCursor, Boolean hasMore, Object page, Object database)QueryResults(ObjectType objectType, List<Page> results, String type, String nextCursor, Boolean hasMore, Object page)QueryResults(ObjectType objectType, List<Page> results, String type, String nextCursor, Boolean hasMore)QueryResults(ObjectType objectType, List<Page> results, String type, String nextCursor)QueryResults(ObjectType objectType, List<Page> results, String type)QueryResults(List<Page> results, String type)
-
Method Summary
Modifier and Type Method Description ObjectTypegetObjectType()final List<Page>getResults()final StringgetType()StringgetNextCursor()BooleangetHasMore()final ObjectgetPage()final UnitsetPage(Object page)final ObjectgetDatabase()final UnitsetDatabase(Object database)-
-
Constructor Detail
-
QueryResults
QueryResults(ObjectType objectType, List<Page> results, String type, String nextCursor, Boolean hasMore, Object page, Object database)
-
QueryResults
QueryResults(ObjectType objectType, List<Page> results, String type, String nextCursor, Boolean hasMore, Object page)
-
QueryResults
QueryResults(ObjectType objectType, List<Page> results, String type, String nextCursor, Boolean hasMore)
-
QueryResults
QueryResults(ObjectType objectType, List<Page> results, String type, String nextCursor)
-
QueryResults
QueryResults(ObjectType objectType, List<Page> results, String type)
-
-
Method Detail
-
getObjectType
ObjectType getObjectType()
-
getResults
final List<Page> getResults()
-
getNextCursor
String getNextCursor()
-
getHasMore
Boolean getHasMore()
-
getDatabase
final Object getDatabase()
-
setDatabase
final Unit setDatabase(Object database)
-
-
-
-