Class AllRedirectsRequest

java.lang.Object
io.constructor.client.AllRedirectsRequest

public class AllRedirectsRequest extends Object
Constructor.io Get All Redirects Request
  • 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

      public void setStatus(String status)
      Parameters:
      status - The status of redirects to return - 'current', 'pending', 'expired'
    • getStatus

      public String getStatus()
      Returns:
      the status
    • getQuery

      public String getQuery()
      Returns:
      the query
    • setQuery

      public void setQuery(String query)
      Parameters:
      query - The query to use to filter against match pattern of redirects