Class AutocompleteRequest

java.lang.Object
io.constructor.client.AutocompleteRequest

public class AutocompleteRequest extends Object
Constructor.io Autocomplete Request
  • Constructor Details

  • Method Details

    • setQuery

      public void setQuery(String query)
      Parameters:
      query - the query to set
    • getQuery

      public String getQuery()
      Returns:
      the query
    • setResultsPerSection

      public void setResultsPerSection(Map<String,Integer> resultsPerSection)
      Parameters:
      resultsPerSection - the resultsPerSection to set
    • getResultsPerSection

      public Map<String,Integer> getResultsPerSection()
      Returns:
      the resultsPerSection
    • setHiddenFields

      public void setHiddenFields(List<String> hiddenFields)
      Parameters:
      hiddenFields - the hiddenFields to set
    • getHiddenFields

      public List<String> getHiddenFields()
      Returns:
      the hidden fields
    • setFilters

      public void setFilters(Map<String,List<String>> filters)
      Parameters:
      filters - the filters to set
    • setFiltersPerSection

      public void setFiltersPerSection(Map<String,Map<String,List<String>>> filtersPerSection)
      Parameters:
      filtersPerSection - the filters to set
    • getFilters

      public Map<String,List<String>> getFilters()
      Returns:
      the filters
    • getFiltersPerSection

      public Map<String,Map<String,List<String>>> getFiltersPerSection()
      Returns:
      the filtersPerSection
    • setVariationsMap

      public void setVariationsMap(VariationsMap variationsMap)
      Parameters:
      variationsMap - the variationsMap to set
    • getVariationsMap

      public VariationsMap getVariationsMap()
      Returns:
      the variations map