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