Package io.constructor.client
Class SortOptionGetRequest
java.lang.Object
io.constructor.client.SortOptionGetRequest
Constructor.io Sort Option Get Request
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPage()voidsetOffset(int offset) voidsetPage(int page) voidsetResultsPerPage(int resultsPerPage) voidsetSection(String section) void
-
Constructor Details
-
SortOptionGetRequest
public SortOptionGetRequest()
-
-
Method Details
-
setSortBy
- Parameters:
sortBy- the optional filter by sortBy field (can be null)
-
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
- Returns:
- the page of results to return
-
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
- Returns:
- the offset of results to return
-
getSection
- Returns:
- the section
-
setSection
- Parameters:
section- the section to set
-