public static class SearchResults.Builder extends NullableFieldTracker
| Modifier and Type | Field and Description |
|---|---|
protected List<SearchResultItem> |
entries |
protected Long |
limit |
protected Long |
offset |
protected Long |
totalCount |
protected EnumWrapper<SearchResultsTypeField> |
type |
explicitlySetNullableFields| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
SearchResults |
build() |
SearchResults.Builder |
entries(List<SearchResultItem> entries) |
SearchResults.Builder |
limit(Long limit) |
SearchResults.Builder |
offset(Long offset) |
SearchResults.Builder |
totalCount(Long totalCount) |
SearchResults.Builder |
type(EnumWrapper<SearchResultsTypeField> type) |
SearchResults.Builder |
type(SearchResultsTypeField type) |
getExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected Long totalCount
protected EnumWrapper<SearchResultsTypeField> type
protected List<SearchResultItem> entries
public Builder()
public SearchResults.Builder totalCount(Long totalCount)
public SearchResults.Builder limit(Long limit)
public SearchResults.Builder offset(Long offset)
public SearchResults.Builder type(SearchResultsTypeField type)
public SearchResults.Builder type(EnumWrapper<SearchResultsTypeField> type)
public SearchResults.Builder entries(List<SearchResultItem> entries)
public SearchResults build()