Package io.constructor.client
Class SearchabilitiesV2DeleteRequest
java.lang.Object
io.constructor.client.SearchabilitiesV2DeleteRequest
Constructor.io Searchabilities V2 DELETE Request.
This request class is used for bulk deletion of v2 searchability configurations (DELETE /v2/searchabilities).
-
Constructor Summary
ConstructorsConstructorDescriptionSearchabilitiesV2DeleteRequest(List<String> searchabilityNames) Creates a searchabilities v2 DELETE request with default section "Products"SearchabilitiesV2DeleteRequest(List<String> searchabilityNames, String section) Creates a searchabilities v2 DELETE request -
Method Summary
Modifier and TypeMethodDescriptionvoidsetSearchabilityNames(List<String> searchabilityNames) voidsetSection(String section) voidsetSkipRebuild(Boolean skipRebuild)
-
Constructor Details
-
SearchabilitiesV2DeleteRequest
Creates a searchabilities v2 DELETE request- Parameters:
searchabilityNames- the list of searchability names to deletesection- the section to which the searchabilities belong
-
SearchabilitiesV2DeleteRequest
Creates a searchabilities v2 DELETE request with default section "Products"- Parameters:
searchabilityNames- the list of searchability names to delete
-
-
Method Details
-
getSearchabilityNames
- Returns:
- the list of searchability names to delete
-
setSearchabilityNames
- Parameters:
searchabilityNames- the searchability names to set
-
getSection
- Returns:
- the section
-
setSection
- Parameters:
section- the section to set
-
getSkipRebuild
- Returns:
- whether to skip index rebuild
-
setSkipRebuild
- Parameters:
skipRebuild- whether to skip index rebuild
-