Package io.constructor.client
Class SearchabilitiesV2GetRequest
java.lang.Object
io.constructor.client.SearchabilitiesV2GetRequest
Constructor.io Searchabilities V2 GET Request.
This request class is used for listing v2 searchability configurations (GET /v2/searchabilities).
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a searchabilities v2 GET request with default section "Products"SearchabilitiesV2GetRequest(String section) Creates a searchabilities v2 GET request -
Method Summary
Modifier and TypeMethodDescriptiongetName()getPage()voidsetDisplayable(Boolean displayable) voidsetExactSearchable(Boolean exactSearchable) voidsetFuzzySearchable(Boolean fuzzySearchable) voidsetMatchType(String matchType) voidvoidsetNumResultsPerPage(Integer numResultsPerPage) voidvoidvoidsetSection(String section) voidvoidsetSortOrder(String sortOrder)
-
Constructor Details
-
SearchabilitiesV2GetRequest
Creates a searchabilities v2 GET request- Parameters:
section- the section to which the searchabilities belong
-
SearchabilitiesV2GetRequest
public SearchabilitiesV2GetRequest()Creates a searchabilities v2 GET request with default section "Products"
-
-
Method Details
-
getSection
- Returns:
- the section
-
setSection
- Parameters:
section- the section to set
-
getPage
- Returns:
- the page number
-
setPage
- Parameters:
page- the page number to set
-
getNumResultsPerPage
- Returns:
- the number of results per page
-
setNumResultsPerPage
- Parameters:
numResultsPerPage- the number of results per page to set
-
getOffset
- Returns:
- the offset
-
setOffset
- Parameters:
offset- the offset to set
-
getName
- Returns:
- the name filter
-
setName
- Parameters:
name- the name filter to set
-
getFuzzySearchable
- Returns:
- the fuzzy searchable filter
-
setFuzzySearchable
- Parameters:
fuzzySearchable- the fuzzy searchable filter to set
-
getExactSearchable
- Returns:
- the exact searchable filter
-
setExactSearchable
- Parameters:
exactSearchable- the exact searchable filter to set
-
getDisplayable
- Returns:
- the displayable filter
-
setDisplayable
- Parameters:
displayable- the displayable filter to set
-
getMatchType
- Returns:
- the match type filter
-
setMatchType
- Parameters:
matchType- the match type filter to set
-
getSortBy
- Returns:
- the sort by field
-
setSortBy
- Parameters:
sortBy- the sort by field to set
-
getSortOrder
- Returns:
- the sort order
-
setSortOrder
- Parameters:
sortOrder- the sort order to set
-