Class SearchabilitiesV2DeleteRequest

java.lang.Object
io.constructor.client.SearchabilitiesV2DeleteRequest

public class SearchabilitiesV2DeleteRequest extends Object
Constructor.io Searchabilities V2 DELETE Request.

This request class is used for bulk deletion of v2 searchability configurations (DELETE /v2/searchabilities).

  • Constructor Details

    • SearchabilitiesV2DeleteRequest

      public SearchabilitiesV2DeleteRequest(List<String> searchabilityNames, String section)
      Creates a searchabilities v2 DELETE request
      Parameters:
      searchabilityNames - the list of searchability names to delete
      section - the section to which the searchabilities belong
    • SearchabilitiesV2DeleteRequest

      public SearchabilitiesV2DeleteRequest(List<String> searchabilityNames)
      Creates a searchabilities v2 DELETE request with default section "Products"
      Parameters:
      searchabilityNames - the list of searchability names to delete
  • Method Details

    • getSearchabilityNames

      public List<String> getSearchabilityNames()
      Returns:
      the list of searchability names to delete
    • setSearchabilityNames

      public void setSearchabilityNames(List<String> searchabilityNames)
      Parameters:
      searchabilityNames - the searchability names to set
    • getSection

      public String getSection()
      Returns:
      the section
    • setSection

      public void setSection(String section)
      Parameters:
      section - the section to set
    • getSkipRebuild

      public Boolean getSkipRebuild()
      Returns:
      whether to skip index rebuild
    • setSkipRebuild

      public void setSkipRebuild(Boolean skipRebuild)
      Parameters:
      skipRebuild - whether to skip index rebuild