Package notion.api.v1.model.databases
Class QueryResults
-
- 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 ObjectType
objectType
private final List<Page>
results
private final String
type
private final String
nextCursor
private final Boolean
hasMore
private Object
page
private Object
database
private Object
pageOrDatabase
private final String
requestId
-
Constructor Summary
Constructors Constructor Description QueryResults(ObjectType objectType, List<Page> results, String type, String nextCursor, Boolean hasMore, Object page, Object database, Object pageOrDatabase, String requestId)
QueryResults(ObjectType objectType, List<Page> results, String type, String nextCursor, Boolean hasMore, Object page, Object database, Object pageOrDatabase)
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 ObjectType
getObjectType()
final List<Page>
getResults()
final String
getType()
String
getNextCursor()
Boolean
getHasMore()
final Object
getPage()
final Unit
setPage(Object page)
final Object
getDatabase()
final Unit
setDatabase(Object database)
final Object
getPageOrDatabase()
final Unit
setPageOrDatabase(Object pageOrDatabase)
final String
getRequestId()
-
-
Constructor Detail
-
QueryResults
QueryResults(ObjectType objectType, List<Page> results, String type, String nextCursor, Boolean hasMore, Object page, Object database, Object pageOrDatabase, String requestId)
-
QueryResults
QueryResults(ObjectType objectType, List<Page> results, String type, String nextCursor, Boolean hasMore, Object page, Object database, Object pageOrDatabase)
-
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)
-
getPageOrDatabase
final Object getPageOrDatabase()
-
setPageOrDatabase
final Unit setPageOrDatabase(Object pageOrDatabase)
-
getRequestId
final String getRequestId()
-
-
-
-