Class SortOptionGetRequest

java.lang.Object
io.constructor.client.SortOptionGetRequest

public class SortOptionGetRequest extends Object
Constructor.io Sort Option Get Request
  • Constructor Details

    • SortOptionGetRequest

      public SortOptionGetRequest()
  • Method Details

    • setSortBy

      public void setSortBy(String sortBy)
      Parameters:
      sortBy - the optional filter by sortBy field (can be null)
    • getSortBy

      public String getSortBy()
      Returns:
      the optional filter by sortBy field (can be null)
    • setPage

      public void setPage(int page)
      Parameters:
      page - the page of results to return
    • getPage

      public Integer getPage()
      Returns:
      the page of results to return
    • getResultsPerPage

      public Integer getResultsPerPage()
      Returns:
      the resultsPerPage
    • setResultsPerPage

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

      public void setOffset(int offset)
      Parameters:
      offset - the offset of results to return (can't be used with page)
    • getOffset

      public Integer getOffset()
      Returns:
      the offset of results to return
    • getSection

      public String getSection()
      Returns:
      the section
    • setSection

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