Class ResultsApi

java.lang.Object
io.qase.client.v2.api.ResultsApi

public class ResultsApi extends Object
  • Constructor Details

    • ResultsApi

      public ResultsApi()
    • ResultsApi

      public ResultsApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getHostIndex

      public int getHostIndex()
    • setHostIndex

      public void setHostIndex(int hostIndex)
    • getCustomBaseUrl

      public String getCustomBaseUrl()
    • setCustomBaseUrl

      public void setCustomBaseUrl(String customBaseUrl)
    • 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