Package io.constructor.client
Class AllRedirectsRequest
java.lang.Object
io.constructor.client.AllRedirectsRequest
Constructor.io Get All Redirects Request
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
AllRedirectsRequest
public AllRedirectsRequest()Creates a All Redirects request
-
-
Method Details
-
setPage
public void setPage(int page) - Parameters:
page
- the page of results to return
-
getPage
public int getPage()- Returns:
- the page of results to return
-
setResultsPerPage
public void setResultsPerPage(int resultsPerPage) - Parameters:
resultsPerPage
- the number of redirects to return - maximum value 100
-
getResultsPerPage
public int getResultsPerPage()- Returns:
- the results per page
-
setOffset
public void setOffset(int offset) - Parameters:
offset
- the offset of results to return (can't be used with page)
-
getOffset
public int getOffset()- Returns:
- the offset of results to return
-
setStatus
- Parameters:
status
- The status of redirects to return - 'current', 'pending', 'expired'
-
getStatus
- Returns:
- the status
-
getQuery
- Returns:
- the query
-
setQuery
- Parameters:
query
- The query to use to filter against match pattern of redirects
-