public static class InfoRequest.Search extends java.lang.Object implements InfoRequest.Value
Parameter.Key.REMOTE_SEARCH.
aids in making a search requestInfoResponse.Search| Modifier and Type | Field and Description |
|---|---|
InfoRequest.SearchCriteria |
criteria
This encapsulates information such as category, query.
|
int |
offsetIndex
Offset of result.
|
int |
requestSearchCount
A field to limit length of result.
|
Parameter.SearchType |
searchType
This fields describes type of search that need to be performed.
|
InfoRequest.SortOrder |
sortOrder
Field that describes how the result should be sorted.
|
InfoRequest.SortType |
sortType
Fields that describe the value that should be used while sorting.
|
Identifier.SourceIdentifier |
source
Source identifier.
|
| Constructor and Description |
|---|
Search(int requestSearchCount,
int offsetIndex,
Parameter.SearchType searchType,
Identifier.SourceIdentifier source,
InfoRequest.SortType sortType,
InfoRequest.SortOrder sortOrder,
InfoRequest.SearchCriteria criteria)
A Constructor for this value.
|
@SerializedName(value="reqSearchCount") public final int requestSearchCount
@SerializedName(value="offsetIndex") public final int offsetIndex
@SerializedName(value="sortByType") public final InfoRequest.SortType sortType
@SerializedName(value="sortByOrder") public final InfoRequest.SortOrder sortOrder
@SerializedName(value="searchCriteria") public final InfoRequest.SearchCriteria criteria
@SerializedName(value="searchType") public final Parameter.SearchType searchType
@SerializedName(value="sourceUri") public final Identifier.SourceIdentifier source
public Search(int requestSearchCount,
int offsetIndex,
Parameter.SearchType searchType,
Identifier.SourceIdentifier source,
InfoRequest.SortType sortType,
InfoRequest.SortOrder sortOrder,
InfoRequest.SearchCriteria criteria)
requestSearchCount - search count to be included in InfoResponse.SearchoffsetIndex - index for requestsearchType - an enum constant denoting type of search to be made, ex: brand
Parameter.SearchTypesource - An Identifier object comprising complete identification of sourcesortType - sort the results in provided type InfoRequest.SortTypesortOrder - define ascending or descending ordercriteria - additional search query for search request