Interface BusinessUnitSearchRequest
public interface BusinessUnitSearchRequest
BusinessUnitSearchRequest
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
BusinessUnitSearchRequest businessUnitSearchRequest = BusinessUnitSearchRequest.builder()
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for BusinessUnitSearchRequestbuilder(BusinessUnitSearchRequest template) create builder for BusinessUnitSearchRequest instancecopyDeep()static BusinessUnitSearchRequestdeepCopy(BusinessUnitSearchRequest template) factory method to create a deep copy of BusinessUnitSearchRequestgetLimit()The maximum number of search results to be returned.The number of search results to be skipped in the response for pagination.@Valid SearchQuerygetQuery()The Business Unit Search query.@Valid List<SearchSorting>getSort()Controls how results to your query are sorted.static BusinessUnitSearchRequestof()factory methodstatic BusinessUnitSearchRequestof(BusinessUnitSearchRequest template) factory method to create a shallow copy BusinessUnitSearchRequestvoidThe maximum number of search results to be returned.voidThe number of search results to be skipped in the response for pagination.voidsetQuery(SearchQuery query) The Business Unit Search query.voidsetSort(SearchSorting... sort) Controls how results to your query are sorted.voidsetSort(List<SearchSorting> sort) Controls how results to your query are sorted.static com.fasterxml.jackson.core.type.TypeReference<BusinessUnitSearchRequest>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map function
-
Method Details
-
getQuery
The Business Unit Search query.
- Returns:
- query
-
getSort
Controls how results to your query are sorted. If not provided, the results are sorted by relevance in descending order.
- Returns:
- sort
-
getLimit
Integer getLimit()The maximum number of search results to be returned.
- Returns:
- limit
-
getOffset
Integer getOffset()The number of search results to be skipped in the response for pagination.
- Returns:
- offset
-
setQuery
The Business Unit Search query.
- Parameters:
query- value to be set
-
setSort
Controls how results to your query are sorted. If not provided, the results are sorted by relevance in descending order.
- Parameters:
sort- values to be set
-
setSort
Controls how results to your query are sorted. If not provided, the results are sorted by relevance in descending order.
- Parameters:
sort- values to be set
-
setLimit
The maximum number of search results to be returned.
- Parameters:
limit- value to be set
-
setOffset
The number of search results to be skipped in the response for pagination.
- Parameters:
offset- value to be set
-
of
factory method- Returns:
- instance of BusinessUnitSearchRequest
-
of
factory method to create a shallow copy BusinessUnitSearchRequest- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
BusinessUnitSearchRequest copyDeep() -
deepCopy
factory method to create a deep copy of BusinessUnitSearchRequest- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for BusinessUnitSearchRequest- Returns:
- builder
-
builder
create builder for BusinessUnitSearchRequest instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withBusinessUnitSearchRequest
accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-