Class AllTasksRequest

java.lang.Object
io.constructor.client.AllTasksRequest

public class AllTasksRequest extends Object
Constructor.io Get All Tasks Request
  • Constructor Details

    • AllTasksRequest

      public AllTasksRequest()
      Creates a All Tasks 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 tasks to return - maximum value 100
    • getResultsPerPage

      public int getResultsPerPage()
      Returns:
      the results per page
    • setStartDate

      public void setStartDate(String startDate)
      Parameters:
      startDate - The start date of results to return - YYYY-MM-DD
    • getStartDate

      public String getStartDate()
      Returns:
      startDate The start date of results to return - YYYY-MM-DD
    • setEndDate

      public void setEndDate(String endDate)
      Parameters:
      endDate - The end date of results to return - YYYY-MM-DD
    • getEndDate

      public String getEndDate()
      Returns:
      endDate The end date of results to return - YYYY-MM-DD
    • setStatus

      public void setStatus(String status)
      Parameters:
      status - The status of tasks to return - 'QUEUED', 'IN_PROGRESS', 'DONE', 'FAILED', 'CANCELED'
    • getStatus

      public String getStatus()
      Returns:
      status The status of tasks to return - 'QUEUED', 'IN_PROGRESS', 'DONE', 'FAILED', 'CANCELED'
    • getType

      public String getType()
      Returns:
      type The type of results to return - 'ingestion', 'user_data_request'
    • setType

      public void setType(String type)
      Parameters:
      type - The type of results to return - 'ingestion', 'user_data_request'