Class BrowseItemsRequest

java.lang.Object
io.constructor.client.BrowseItemsRequest

public class BrowseItemsRequest extends Object
Constructor.io Browse Items Request
  • Constructor Details

  • Method Details

    • setIds

      public void setIds(List<String> ids)
      Parameters:
      ids - the item ID's to set
    • getIds

      public List<String> getIds()
      Returns:
      the item ID's
    • getSection

      public String getSection()
      Returns:
      the section
    • setSection

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

      public int getPage()
      Returns:
      the page
    • setPage

      public void setPage(int page)
      Parameters:
      page - the page to set
    • getResultsPerPage

      public int getResultsPerPage()
      Returns:
      the resultsPerPage
    • setResultsPerPage

      public void setResultsPerPage(int resultsPerPage)
      Parameters:
      resultsPerPage - the resultsPerPage to set
    • getGroupId

      public String getGroupId()
      Returns:
      the groupId
    • setGroupId

      public void setGroupId(String groupId)
      Parameters:
      groupId - the groupId to set
    • setFacets

      public void setFacets(Map<String,List<String>> facets)
      Parameters:
      facets - the facets to set
    • getFacets

      public Map<String,List<String>> getFacets()
      Returns:
      the facets
    • setSortBy

      public void setSortBy(String sortBy)
      Parameters:
      sortBy - the sortBy to set
    • getSortBy

      public String getSortBy()
      Returns:
      the sortBy
    • setSortAscending

      public void setSortAscending(boolean sortAscending)
      Parameters:
      sortAscending - the sortAscending to set
    • getSortAscending

      public boolean getSortAscending()
      Returns:
      the sortAscending
    • setFormatOptions

      public void setFormatOptions(Map<String,String> formatOptions)
      Parameters:
      formatOptions - the formatOptions to set
    • getFormatOptions

      public Map<String,String> getFormatOptions()
      Returns:
      the format options
    • setHiddenFields

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

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

      public void setHiddenFacets(List<String> hiddenFacets)
      Parameters:
      hiddenFacets - the hiddenFacets to set
    • getHiddenFacets

      public List<String> getHiddenFacets()
      Returns:
      the hidden facets
    • setFilterMatchTypes

      public void setFilterMatchTypes(Map<String,String> filterMatchTypes)
      Parameters:
      filterMatchTypes - the filterMatchTypes to set. Please refer to https://docs.constructor.com/reference/v1-browse-get-browse-items-results for details Possible values 'all', 'any' or 'none'
    • getFilterMatchTypes

      public Map<String,String> getFilterMatchTypes()
      Returns:
      the filterMatchTypes