Package io.constructor.client
Class AllTasksRequest
java.lang.Object
io.constructor.client.AllTasksRequest
Constructor.io Get All Tasks Request
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getPage()
int
getType()
void
setEndDate
(String endDate) void
setPage
(int page) void
setResultsPerPage
(int resultsPerPage) void
setStartDate
(String startDate) void
void
-
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
- Parameters:
startDate
- The start date of results to return - YYYY-MM-DD
-
getStartDate
- Returns:
- startDate The start date of results to return - YYYY-MM-DD
-
setEndDate
- Parameters:
endDate
- The end date of results to return - YYYY-MM-DD
-
getEndDate
- Returns:
- endDate The end date of results to return - YYYY-MM-DD
-
setStatus
- Parameters:
status
- The status of tasks to return - 'QUEUED', 'IN_PROGRESS', 'DONE', 'FAILED', 'CANCELED'
-
getStatus
- Returns:
- status The status of tasks to return - 'QUEUED', 'IN_PROGRESS', 'DONE', 'FAILED', 'CANCELED'
-
getType
- Returns:
- type The type of results to return - 'ingestion', 'user_data_request'
-
setType
- Parameters:
type
- The type of results to return - 'ingestion', 'user_data_request'
-