public class RunsApi extends Object
| Modifier and Type | Method and Description |
|---|---|
Response |
completeRun(String code,
Integer id)
Complete a specific run.
|
okhttp3.Call |
completeRunAsync(String code,
Integer id,
ApiCallback<Response> _callback)
Complete a specific run.
|
okhttp3.Call |
completeRunCall(String code,
Integer id,
ApiCallback _callback)
Build call for completeRun
|
ApiResponse<Response> |
completeRunWithHttpInfo(String code,
Integer id)
Complete a specific run.
|
IdResponse |
createRun(String code,
RunCreate runCreate)
Create a new run.
|
okhttp3.Call |
createRunAsync(String code,
RunCreate runCreate,
ApiCallback<IdResponse> _callback)
Create a new run.
|
okhttp3.Call |
createRunCall(String code,
RunCreate runCreate,
ApiCallback _callback)
Build call for createRun
|
ApiResponse<IdResponse> |
createRunWithHttpInfo(String code,
RunCreate runCreate)
Create a new run.
|
IdResponse |
deleteRun(String code,
Integer id)
Delete run.
|
okhttp3.Call |
deleteRunAsync(String code,
Integer id,
ApiCallback<IdResponse> _callback)
Delete run.
|
okhttp3.Call |
deleteRunCall(String code,
Integer id,
ApiCallback _callback)
Build call for deleteRun
|
ApiResponse<IdResponse> |
deleteRunWithHttpInfo(String code,
Integer id)
Delete run.
|
ApiClient |
getApiClient() |
String |
getCustomBaseUrl() |
int |
getHostIndex() |
RunResponse |
getRun(String code,
Integer id,
String include)
Get a specific run.
|
okhttp3.Call |
getRunAsync(String code,
Integer id,
String include,
ApiCallback<RunResponse> _callback)
Get a specific run.
|
okhttp3.Call |
getRunCall(String code,
Integer id,
String include,
ApiCallback _callback)
Build call for getRun
|
RunListResponse |
getRuns(String code,
GetRunsFiltersParameter filters,
Integer limit,
Integer offset,
String include)
Get all runs.
|
okhttp3.Call |
getRunsAsync(String code,
GetRunsFiltersParameter filters,
Integer limit,
Integer offset,
String include,
ApiCallback<RunListResponse> _callback)
Get all runs.
|
okhttp3.Call |
getRunsCall(String code,
GetRunsFiltersParameter filters,
Integer limit,
Integer offset,
String include,
ApiCallback _callback)
Build call for getRuns
|
ApiResponse<RunListResponse> |
getRunsWithHttpInfo(String code,
GetRunsFiltersParameter filters,
Integer limit,
Integer offset,
String include)
Get all runs.
|
ApiResponse<RunResponse> |
getRunWithHttpInfo(String code,
Integer id,
String include)
Get a specific run.
|
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
RunPublicResponse |
updateRunPublicity(String code,
Integer id,
RunPublic runPublic)
Update publicity of a specific run.
|
okhttp3.Call |
updateRunPublicityAsync(String code,
Integer id,
RunPublic runPublic,
ApiCallback<RunPublicResponse> _callback)
Update publicity of a specific run.
|
okhttp3.Call |
updateRunPublicityCall(String code,
Integer id,
RunPublic runPublic,
ApiCallback _callback)
Build call for updateRunPublicity
|
ApiResponse<RunPublicResponse> |
updateRunPublicityWithHttpInfo(String code,
Integer id,
RunPublic runPublic)
Update publicity of a specific run.
|
public RunsApi()
public RunsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public int getHostIndex()
public void setHostIndex(int hostIndex)
public String getCustomBaseUrl()
public void setCustomBaseUrl(String customBaseUrl)
public okhttp3.Call completeRunCall(String code, Integer id, ApiCallback _callback) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)_callback - Callback for upload/download progressQaseException - If fail to serialize the request body objectpublic Response completeRun(String code, Integer id) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Response> completeRunWithHttpInfo(String code, Integer id) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call completeRunAsync(String code, Integer id, ApiCallback<Response> _callback) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)_callback - The callback to be executed when the API call finishesQaseException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call createRunCall(String code, RunCreate runCreate, ApiCallback _callback) throws QaseException
code - Code of project, where to search entities. (required)runCreate - (required)_callback - Callback for upload/download progressQaseException - If fail to serialize the request body objectpublic IdResponse createRun(String code, RunCreate runCreate) throws QaseException
code - Code of project, where to search entities. (required)runCreate - (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<IdResponse> createRunWithHttpInfo(String code, RunCreate runCreate) throws QaseException
code - Code of project, where to search entities. (required)runCreate - (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call createRunAsync(String code, RunCreate runCreate, ApiCallback<IdResponse> _callback) throws QaseException
code - Code of project, where to search entities. (required)runCreate - (required)_callback - The callback to be executed when the API call finishesQaseException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call deleteRunCall(String code, Integer id, ApiCallback _callback) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)_callback - Callback for upload/download progressQaseException - If fail to serialize the request body objectpublic IdResponse deleteRun(String code, Integer id) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<IdResponse> deleteRunWithHttpInfo(String code, Integer id) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call deleteRunAsync(String code, Integer id, ApiCallback<IdResponse> _callback) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)_callback - The callback to be executed when the API call finishesQaseException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call getRunCall(String code, Integer id, String include, ApiCallback _callback) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)include - Include a list of related entities IDs into response. Should be separated by comma. Possible values: cases, defects (optional)_callback - Callback for upload/download progressQaseException - If fail to serialize the request body objectpublic RunResponse getRun(String code, Integer id, String include) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)include - Include a list of related entities IDs into response. Should be separated by comma. Possible values: cases, defects (optional)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<RunResponse> getRunWithHttpInfo(String code, Integer id, String include) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)include - Include a list of related entities IDs into response. Should be separated by comma. Possible values: cases, defects (optional)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getRunAsync(String code, Integer id, String include, ApiCallback<RunResponse> _callback) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)include - Include a list of related entities IDs into response. Should be separated by comma. Possible values: cases, defects (optional)_callback - The callback to be executed when the API call finishesQaseException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call getRunsCall(String code, GetRunsFiltersParameter filters, Integer limit, Integer offset, String include, ApiCallback _callback) throws QaseException
code - Code of project, where to search entities. (required)filters - (optional)limit - A number of entities in result set. (optional, default to 10)offset - How many entities should be skipped. (optional, default to 0)include - Include a list of related entities IDs into response. Should be separated by comma. Possible values: cases, defects (optional)_callback - Callback for upload/download progressQaseException - If fail to serialize the request body objectpublic RunListResponse getRuns(String code, GetRunsFiltersParameter filters, Integer limit, Integer offset, String include) throws QaseException
code - Code of project, where to search entities. (required)filters - (optional)limit - A number of entities in result set. (optional, default to 10)offset - How many entities should be skipped. (optional, default to 0)include - Include a list of related entities IDs into response. Should be separated by comma. Possible values: cases, defects (optional)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<RunListResponse> getRunsWithHttpInfo(String code, GetRunsFiltersParameter filters, Integer limit, Integer offset, String include) throws QaseException
code - Code of project, where to search entities. (required)filters - (optional)limit - A number of entities in result set. (optional, default to 10)offset - How many entities should be skipped. (optional, default to 0)include - Include a list of related entities IDs into response. Should be separated by comma. Possible values: cases, defects (optional)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getRunsAsync(String code, GetRunsFiltersParameter filters, Integer limit, Integer offset, String include, ApiCallback<RunListResponse> _callback) throws QaseException
code - Code of project, where to search entities. (required)filters - (optional)limit - A number of entities in result set. (optional, default to 10)offset - How many entities should be skipped. (optional, default to 0)include - Include a list of related entities IDs into response. Should be separated by comma. Possible values: cases, defects (optional)_callback - The callback to be executed when the API call finishesQaseException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call updateRunPublicityCall(String code, Integer id, RunPublic runPublic, ApiCallback _callback) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)runPublic - (required)_callback - Callback for upload/download progressQaseException - If fail to serialize the request body objectpublic RunPublicResponse updateRunPublicity(String code, Integer id, RunPublic runPublic) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)runPublic - (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<RunPublicResponse> updateRunPublicityWithHttpInfo(String code, Integer id, RunPublic runPublic) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)runPublic - (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call updateRunPublicityAsync(String code, Integer id, RunPublic runPublic, ApiCallback<RunPublicResponse> _callback) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)runPublic - (required)_callback - The callback to be executed when the API call finishesQaseException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2023. All rights reserved.