-
- 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 ObjectTypeobjectTypeprivate final List<SearchResult>resultsprivate final StringnextCursorprivate final BooleanhasMoreprivate final Stringtypeprivate final Objectblockprivate ObjectpageOrDatabase
-
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 ObjectTypegetObjectType()final List<SearchResult>getResults()StringgetNextCursor()BooleangetHasMore()final StringgetType()final ObjectgetBlock()final ObjectgetPageOrDatabase()final UnitsetPageOrDatabase(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)
-
-
-
-