Package io.qase.client.v2.api
Class ResultsApi
java.lang.Object
io.qase.client.v2.api.ResultsApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateResultsV2(String projectCode, Long runId, CreateResultsRequestV2 createResultsRequestV2) Bulk create test run result This method allows to create several test run results at once.okhttp3.CallcreateResultsV2Async(String projectCode, Long runId, CreateResultsRequestV2 createResultsRequestV2, ApiCallback<Void> _callback) Bulk create test run result (asynchronously) This method allows to create several test run results at once.okhttp3.CallcreateResultsV2Call(String projectCode, Long runId, CreateResultsRequestV2 createResultsRequestV2, ApiCallback _callback) Build call for createResultsV2createResultsV2WithHttpInfo(String projectCode, Long runId, CreateResultsRequestV2 createResultsRequestV2) Bulk create test run result This method allows to create several test run results at once.voidcreateResultV2(String projectCode, Long runId, ResultCreate resultCreate) Create test run result This method allows to create single test run result.okhttp3.CallcreateResultV2Async(String projectCode, Long runId, ResultCreate resultCreate, ApiCallback<Void> _callback) Create test run result (asynchronously) This method allows to create single test run result.okhttp3.CallcreateResultV2Call(String projectCode, Long runId, ResultCreate resultCreate, ApiCallback _callback) Build call for createResultV2createResultV2WithHttpInfo(String projectCode, Long runId, ResultCreate resultCreate) Create test run result This method allows to create single test run result.intvoidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex)
-
Constructor Details
-
ResultsApi
public ResultsApi() -
ResultsApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
createResultV2Call
public okhttp3.Call createResultV2Call(String projectCode, Long runId, ResultCreate resultCreate, ApiCallback _callback) throws ApiException Build call for createResultV2- Parameters:
projectCode- (required)runId- (required)resultCreate- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
createResultV2
public void createResultV2(String projectCode, Long runId, ResultCreate resultCreate) throws ApiException Create test run result This method allows to create single test run result. If there is no free space left in your team account, when attempting to upload an attachment, e.g., through reporters, you will receive an error with code 507 - Insufficient Storage.- Parameters:
projectCode- (required)runId- (required)resultCreate- (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createResultV2WithHttpInfo
public ApiResponse<Void> createResultV2WithHttpInfo(String projectCode, Long runId, ResultCreate resultCreate) throws ApiException Create test run result This method allows to create single test run result. If there is no free space left in your team account, when attempting to upload an attachment, e.g., through reporters, you will receive an error with code 507 - Insufficient Storage.- Parameters:
projectCode- (required)runId- (required)resultCreate- (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createResultV2Async
public okhttp3.Call createResultV2Async(String projectCode, Long runId, ResultCreate resultCreate, ApiCallback<Void> _callback) throws ApiException Create test run result (asynchronously) This method allows to create single test run result. If there is no free space left in your team account, when attempting to upload an attachment, e.g., through reporters, you will receive an error with code 507 - Insufficient Storage.- Parameters:
projectCode- (required)runId- (required)resultCreate- (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
createResultsV2Call
public okhttp3.Call createResultsV2Call(String projectCode, Long runId, CreateResultsRequestV2 createResultsRequestV2, ApiCallback _callback) throws ApiException Build call for createResultsV2- Parameters:
projectCode- (required)runId- (required)createResultsRequestV2- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
createResultsV2
public void createResultsV2(String projectCode, Long runId, CreateResultsRequestV2 createResultsRequestV2) throws ApiException Bulk create test run result This method allows to create several test run results at once. If there is no free space left in your team account, when attempting to upload an attachment, e.g., through reporters, you will receive an error with code 507 - Insufficient Storage.- Parameters:
projectCode- (required)runId- (required)createResultsRequestV2- (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createResultsV2WithHttpInfo
public ApiResponse<Void> createResultsV2WithHttpInfo(String projectCode, Long runId, CreateResultsRequestV2 createResultsRequestV2) throws ApiException Bulk create test run result This method allows to create several test run results at once. If there is no free space left in your team account, when attempting to upload an attachment, e.g., through reporters, you will receive an error with code 507 - Insufficient Storage.- Parameters:
projectCode- (required)runId- (required)createResultsRequestV2- (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createResultsV2Async
public okhttp3.Call createResultsV2Async(String projectCode, Long runId, CreateResultsRequestV2 createResultsRequestV2, ApiCallback<Void> _callback) throws ApiException Bulk create test run result (asynchronously) This method allows to create several test run results at once. If there is no free space left in your team account, when attempting to upload an attachment, e.g., through reporters, you will receive an error with code 507 - Insufficient Storage.- Parameters:
projectCode- (required)runId- (required)createResultsRequestV2- (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-