-
- All Implemented Interfaces:
-
notion.api.v1.model.common.Pagination
,notion.api.v1.model.common.WithObjectType
public final class SearchResults implements WithObjectType, Pagination
-
-
Field Summary
Fields Modifier and Type Field Description private final ObjectType
objectType
private final List<SearchResult>
results
private final String
nextCursor
private final Boolean
hasMore
private final String
type
private final Object
block
private Object
pageOrDatabase
-
Constructor Summary
Constructors Constructor Description SearchResults(ObjectType objectType, List<SearchResult> results, String nextCursor, Boolean hasMore, String type, Object block, Object pageOrDatabase)
SearchResults(ObjectType objectType, List<SearchResult> results, String nextCursor, Boolean hasMore, String type, Object block)
SearchResults(ObjectType objectType, List<SearchResult> results, String nextCursor, Boolean hasMore, String type)
SearchResults(ObjectType objectType, List<SearchResult> results, String nextCursor, String type)
SearchResults(ObjectType objectType, List<SearchResult> results, String type)
SearchResults(List<SearchResult> results, String type)
-
Method Summary
Modifier and Type Method Description ObjectType
getObjectType()
final List<SearchResult>
getResults()
String
getNextCursor()
Boolean
getHasMore()
final String
getType()
final Object
getBlock()
final Object
getPageOrDatabase()
final Unit
setPageOrDatabase(Object pageOrDatabase)
-
-
Constructor Detail
-
SearchResults
SearchResults(ObjectType objectType, List<SearchResult> results, String nextCursor, Boolean hasMore, String type, Object block, Object pageOrDatabase)
-
SearchResults
SearchResults(ObjectType objectType, List<SearchResult> results, String nextCursor, Boolean hasMore, String type, Object block)
-
SearchResults
SearchResults(ObjectType objectType, List<SearchResult> results, String nextCursor, Boolean hasMore, String type)
-
SearchResults
SearchResults(ObjectType objectType, List<SearchResult> results, String nextCursor, String type)
-
SearchResults
SearchResults(ObjectType objectType, List<SearchResult> results, String type)
-
SearchResults
SearchResults(List<SearchResult> results, String type)
-
-
Method Detail
-
getObjectType
ObjectType getObjectType()
-
getResults
final List<SearchResult> getResults()
-
getNextCursor
String getNextCursor()
-
getHasMore
Boolean getHasMore()
-
getPageOrDatabase
final Object getPageOrDatabase()
-
setPageOrDatabase
final Unit setPageOrDatabase(Object pageOrDatabase)
-
-
-
-