public class CasesApi extends Object
| Constructor and Description |
|---|
CasesApi() |
CasesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
IdResponse |
createCase(String code,
TestCaseCreate testCaseCreate)
Create a new test case.
|
okhttp3.Call |
createCaseAsync(String code,
TestCaseCreate testCaseCreate,
ApiCallback<IdResponse> _callback)
Create a new test case.
|
okhttp3.Call |
createCaseCall(String code,
TestCaseCreate testCaseCreate,
ApiCallback _callback)
Build call for createCase
|
ApiResponse<IdResponse> |
createCaseWithHttpInfo(String code,
TestCaseCreate testCaseCreate)
Create a new test case.
|
IdResponse |
deleteCase(String code,
Integer id)
Delete test case.
|
okhttp3.Call |
deleteCaseAsync(String code,
Integer id,
ApiCallback<IdResponse> _callback)
Delete test case.
|
okhttp3.Call |
deleteCaseCall(String code,
Integer id,
ApiCallback _callback)
Build call for deleteCase
|
ApiResponse<IdResponse> |
deleteCaseWithHttpInfo(String code,
Integer id)
Delete test case.
|
ApiClient |
getApiClient() |
TestCaseResponse |
getCase(String code,
Integer id)
Get a specific test case.
|
okhttp3.Call |
getCaseAsync(String code,
Integer id,
ApiCallback<TestCaseResponse> _callback)
Get a specific test case.
|
okhttp3.Call |
getCaseCall(String code,
Integer id,
ApiCallback _callback)
Build call for getCase
|
TestCaseListResponse |
getCases(String code,
GetCasesFiltersParameter filters,
Integer limit,
Integer offset)
Get all test cases.
|
okhttp3.Call |
getCasesAsync(String code,
GetCasesFiltersParameter filters,
Integer limit,
Integer offset,
ApiCallback<TestCaseListResponse> _callback)
Get all test cases.
|
okhttp3.Call |
getCasesCall(String code,
GetCasesFiltersParameter filters,
Integer limit,
Integer offset,
ApiCallback _callback)
Build call for getCases
|
ApiResponse<TestCaseListResponse> |
getCasesWithHttpInfo(String code,
GetCasesFiltersParameter filters,
Integer limit,
Integer offset)
Get all test cases.
|
ApiResponse<TestCaseResponse> |
getCaseWithHttpInfo(String code,
Integer id)
Get a specific test case.
|
String |
getCustomBaseUrl() |
int |
getHostIndex() |
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
IdResponse |
updateCase(String code,
Integer id,
TestCaseUpdate testCaseUpdate)
Update test case.
|
okhttp3.Call |
updateCaseAsync(String code,
Integer id,
TestCaseUpdate testCaseUpdate,
ApiCallback<IdResponse> _callback)
Update test case.
|
okhttp3.Call |
updateCaseCall(String code,
Integer id,
TestCaseUpdate testCaseUpdate,
ApiCallback _callback)
Build call for updateCase
|
ApiResponse<IdResponse> |
updateCaseWithHttpInfo(String code,
Integer id,
TestCaseUpdate testCaseUpdate)
Update test case.
|
public CasesApi()
public CasesApi(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 createCaseCall(String code, TestCaseCreate testCaseCreate, ApiCallback _callback) throws QaseException
code - Code of project, where to search entities. (required)testCaseCreate - (required)_callback - Callback for upload/download progressQaseException - If fail to serialize the request body objectpublic IdResponse createCase(String code, TestCaseCreate testCaseCreate) throws QaseException
code - Code of project, where to search entities. (required)testCaseCreate - (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<IdResponse> createCaseWithHttpInfo(String code, TestCaseCreate testCaseCreate) throws QaseException
code - Code of project, where to search entities. (required)testCaseCreate - (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call createCaseAsync(String code, TestCaseCreate testCaseCreate, ApiCallback<IdResponse> _callback) throws QaseException
code - Code of project, where to search entities. (required)testCaseCreate - (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 deleteCaseCall(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 deleteCase(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> deleteCaseWithHttpInfo(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 deleteCaseAsync(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 getCaseCall(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 TestCaseResponse getCase(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<TestCaseResponse> getCaseWithHttpInfo(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 getCaseAsync(String code, Integer id, ApiCallback<TestCaseResponse> _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 getCasesCall(String code, GetCasesFiltersParameter filters, Integer limit, Integer offset, 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)_callback - Callback for upload/download progressQaseException - If fail to serialize the request body objectpublic TestCaseListResponse getCases(String code, GetCasesFiltersParameter filters, Integer limit, Integer offset) 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)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<TestCaseListResponse> getCasesWithHttpInfo(String code, GetCasesFiltersParameter filters, Integer limit, Integer offset) 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)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getCasesAsync(String code, GetCasesFiltersParameter filters, Integer limit, Integer offset, ApiCallback<TestCaseListResponse> _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)_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 updateCaseCall(String code, Integer id, TestCaseUpdate testCaseUpdate, ApiCallback _callback) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)testCaseUpdate - (required)_callback - Callback for upload/download progressQaseException - If fail to serialize the request body objectpublic IdResponse updateCase(String code, Integer id, TestCaseUpdate testCaseUpdate) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)testCaseUpdate - (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<IdResponse> updateCaseWithHttpInfo(String code, Integer id, TestCaseUpdate testCaseUpdate) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)testCaseUpdate - (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call updateCaseAsync(String code, Integer id, TestCaseUpdate testCaseUpdate, ApiCallback<IdResponse> _callback) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)testCaseUpdate - (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.