public class DefectsApi extends Object
| Constructor and Description |
|---|
DefectsApi() |
DefectsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
IdResponse |
createDefect(String code,
DefectCreate defectCreate)
Create a new defect.
|
okhttp3.Call |
createDefectAsync(String code,
DefectCreate defectCreate,
ApiCallback<IdResponse> _callback)
Create a new defect.
|
okhttp3.Call |
createDefectCall(String code,
DefectCreate defectCreate,
ApiCallback _callback)
Build call for createDefect
|
ApiResponse<IdResponse> |
createDefectWithHttpInfo(String code,
DefectCreate defectCreate)
Create a new defect.
|
IdResponse |
deleteDefect(String code,
Integer id)
Delete defect.
|
okhttp3.Call |
deleteDefectAsync(String code,
Integer id,
ApiCallback<IdResponse> _callback)
Delete defect.
|
okhttp3.Call |
deleteDefectCall(String code,
Integer id,
ApiCallback _callback)
Build call for deleteDefect
|
ApiResponse<IdResponse> |
deleteDefectWithHttpInfo(String code,
Integer id)
Delete defect.
|
ApiClient |
getApiClient() |
String |
getCustomBaseUrl() |
DefectResponse |
getDefect(String code,
Integer id)
Get a specific defect.
|
okhttp3.Call |
getDefectAsync(String code,
Integer id,
ApiCallback<DefectResponse> _callback)
Get a specific defect.
|
okhttp3.Call |
getDefectCall(String code,
Integer id,
ApiCallback _callback)
Build call for getDefect
|
DefectListResponse |
getDefects(String code,
GetDefectsFiltersParameter filters,
Integer limit,
Integer offset)
Get all defects.
|
okhttp3.Call |
getDefectsAsync(String code,
GetDefectsFiltersParameter filters,
Integer limit,
Integer offset,
ApiCallback<DefectListResponse> _callback)
Get all defects.
|
okhttp3.Call |
getDefectsCall(String code,
GetDefectsFiltersParameter filters,
Integer limit,
Integer offset,
ApiCallback _callback)
Build call for getDefects
|
ApiResponse<DefectListResponse> |
getDefectsWithHttpInfo(String code,
GetDefectsFiltersParameter filters,
Integer limit,
Integer offset)
Get all defects.
|
ApiResponse<DefectResponse> |
getDefectWithHttpInfo(String code,
Integer id)
Get a specific defect.
|
int |
getHostIndex() |
IdResponse |
resolveDefect(String code,
Integer id)
Resolve a specific defect.
|
okhttp3.Call |
resolveDefectAsync(String code,
Integer id,
ApiCallback<IdResponse> _callback)
Resolve a specific defect.
|
okhttp3.Call |
resolveDefectCall(String code,
Integer id,
ApiCallback _callback)
Build call for resolveDefect
|
ApiResponse<IdResponse> |
resolveDefectWithHttpInfo(String code,
Integer id)
Resolve a specific defect.
|
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
IdResponse |
updateDefect(String code,
Integer id,
DefectUpdate defectUpdate)
Update defect.
|
okhttp3.Call |
updateDefectAsync(String code,
Integer id,
DefectUpdate defectUpdate,
ApiCallback<IdResponse> _callback)
Update defect.
|
okhttp3.Call |
updateDefectCall(String code,
Integer id,
DefectUpdate defectUpdate,
ApiCallback _callback)
Build call for updateDefect
|
Response |
updateDefectStatus(String code,
Integer id,
DefectStatus defectStatus)
Update a specific defect status.
|
okhttp3.Call |
updateDefectStatusAsync(String code,
Integer id,
DefectStatus defectStatus,
ApiCallback<Response> _callback)
Update a specific defect status.
|
okhttp3.Call |
updateDefectStatusCall(String code,
Integer id,
DefectStatus defectStatus,
ApiCallback _callback)
Build call for updateDefectStatus
|
ApiResponse<Response> |
updateDefectStatusWithHttpInfo(String code,
Integer id,
DefectStatus defectStatus)
Update a specific defect status.
|
ApiResponse<IdResponse> |
updateDefectWithHttpInfo(String code,
Integer id,
DefectUpdate defectUpdate)
Update defect.
|
public DefectsApi()
public DefectsApi(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 createDefectCall(String code, DefectCreate defectCreate, ApiCallback _callback) throws QaseException
code - Code of project, where to search entities. (required)defectCreate - (required)_callback - Callback for upload/download progressQaseException - If fail to serialize the request body objectpublic IdResponse createDefect(String code, DefectCreate defectCreate) throws QaseException
code - Code of project, where to search entities. (required)defectCreate - (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<IdResponse> createDefectWithHttpInfo(String code, DefectCreate defectCreate) throws QaseException
code - Code of project, where to search entities. (required)defectCreate - (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call createDefectAsync(String code, DefectCreate defectCreate, ApiCallback<IdResponse> _callback) throws QaseException
code - Code of project, where to search entities. (required)defectCreate - (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 deleteDefectCall(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 deleteDefect(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> deleteDefectWithHttpInfo(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 deleteDefectAsync(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 getDefectCall(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 DefectResponse getDefect(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<DefectResponse> getDefectWithHttpInfo(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 getDefectAsync(String code, Integer id, ApiCallback<DefectResponse> _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 getDefectsCall(String code, GetDefectsFiltersParameter 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 DefectListResponse getDefects(String code, GetDefectsFiltersParameter 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<DefectListResponse> getDefectsWithHttpInfo(String code, GetDefectsFiltersParameter 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 getDefectsAsync(String code, GetDefectsFiltersParameter filters, Integer limit, Integer offset, ApiCallback<DefectListResponse> _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 resolveDefectCall(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 resolveDefect(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> resolveDefectWithHttpInfo(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 resolveDefectAsync(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 updateDefectCall(String code, Integer id, DefectUpdate defectUpdate, ApiCallback _callback) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)defectUpdate - (required)_callback - Callback for upload/download progressQaseException - If fail to serialize the request body objectpublic IdResponse updateDefect(String code, Integer id, DefectUpdate defectUpdate) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)defectUpdate - (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<IdResponse> updateDefectWithHttpInfo(String code, Integer id, DefectUpdate defectUpdate) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)defectUpdate - (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call updateDefectAsync(String code, Integer id, DefectUpdate defectUpdate, ApiCallback<IdResponse> _callback) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)defectUpdate - (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 updateDefectStatusCall(String code, Integer id, DefectStatus defectStatus, ApiCallback _callback) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)defectStatus - (required)_callback - Callback for upload/download progressQaseException - If fail to serialize the request body objectpublic Response updateDefectStatus(String code, Integer id, DefectStatus defectStatus) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)defectStatus - (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Response> updateDefectStatusWithHttpInfo(String code, Integer id, DefectStatus defectStatus) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)defectStatus - (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call updateDefectStatusAsync(String code, Integer id, DefectStatus defectStatus, ApiCallback<Response> _callback) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)defectStatus - (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.