public class SearchResults extends SerializableObject
| Modifier and Type | Class and Description |
|---|---|
static class |
SearchResults.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected List<SearchResultItem> |
entries
The search results for the query provided.
|
protected Long |
limit
The limit that was used for this search.
|
protected Long |
offset
The 0-based offset of the first entry in this set.
|
protected Long |
totalCount
One greater than the offset of the last entry in the search results.
|
protected EnumWrapper<SearchResultsTypeField> |
type
Specifies the response as search result items without shared links.
|
explicitlySetNullableFields| Modifier | Constructor and Description |
|---|---|
|
SearchResults() |
protected |
SearchResults(SearchResults.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
List<SearchResultItem> |
getEntries() |
Long |
getLimit() |
Long |
getOffset() |
Long |
getTotalCount() |
EnumWrapper<SearchResultsTypeField> |
getType() |
int |
hashCode() |
String |
toString() |
getRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected Long totalCount
protected Long limit
protected Long offset
protected EnumWrapper<SearchResultsTypeField> type
protected List<SearchResultItem> entries
public SearchResults()
protected SearchResults(SearchResults.Builder builder)
public Long getTotalCount()
public EnumWrapper<SearchResultsTypeField> getType()
public List<SearchResultItem> getEntries()