public class MilestonesApi extends Object
| Constructor and Description |
|---|
MilestonesApi() |
MilestonesApi(ApiClient apiClient) |
public MilestonesApi()
public MilestonesApi(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 createMilestoneCall(String code, MilestoneCreate milestoneCreate, ApiCallback _callback) throws QaseException
code - Code of project, where to search entities. (required)milestoneCreate - (required)_callback - Callback for upload/download progressQaseException - If fail to serialize the request body objectpublic IdResponse createMilestone(String code, MilestoneCreate milestoneCreate) throws QaseException
code - Code of project, where to search entities. (required)milestoneCreate - (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<IdResponse> createMilestoneWithHttpInfo(String code, MilestoneCreate milestoneCreate) throws QaseException
code - Code of project, where to search entities. (required)milestoneCreate - (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call createMilestoneAsync(String code, MilestoneCreate milestoneCreate, ApiCallback<IdResponse> _callback) throws QaseException
code - Code of project, where to search entities. (required)milestoneCreate - (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 deleteMilestoneCall(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 deleteMilestone(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> deleteMilestoneWithHttpInfo(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 deleteMilestoneAsync(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 getMilestoneCall(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 MilestoneResponse getMilestone(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<MilestoneResponse> getMilestoneWithHttpInfo(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 getMilestoneAsync(String code, Integer id, ApiCallback<MilestoneResponse> _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 getMilestonesCall(String code, GetMilestonesFiltersParameter 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 MilestoneListResponse getMilestones(String code, GetMilestonesFiltersParameter 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<MilestoneListResponse> getMilestonesWithHttpInfo(String code, GetMilestonesFiltersParameter 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 getMilestonesAsync(String code, GetMilestonesFiltersParameter filters, Integer limit, Integer offset, ApiCallback<MilestoneListResponse> _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 updateMilestoneCall(String code, Integer id, MilestoneUpdate milestoneUpdate, ApiCallback _callback) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)milestoneUpdate - (required)_callback - Callback for upload/download progressQaseException - If fail to serialize the request body objectpublic IdResponse updateMilestone(String code, Integer id, MilestoneUpdate milestoneUpdate) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)milestoneUpdate - (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<IdResponse> updateMilestoneWithHttpInfo(String code, Integer id, MilestoneUpdate milestoneUpdate) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)milestoneUpdate - (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call updateMilestoneAsync(String code, Integer id, MilestoneUpdate milestoneUpdate, ApiCallback<IdResponse> _callback) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)milestoneUpdate - (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.