public class PlansApi extends Object
| Constructor and Description |
|---|
PlansApi() |
PlansApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
IdResponse |
createPlan(String code,
PlanCreate planCreate)
Create a new plan.
|
okhttp3.Call |
createPlanAsync(String code,
PlanCreate planCreate,
ApiCallback<IdResponse> _callback)
Create a new plan.
|
okhttp3.Call |
createPlanCall(String code,
PlanCreate planCreate,
ApiCallback _callback)
Build call for createPlan
|
ApiResponse<IdResponse> |
createPlanWithHttpInfo(String code,
PlanCreate planCreate)
Create a new plan.
|
IdResponse |
deletePlan(String code,
Integer id)
Delete plan.
|
okhttp3.Call |
deletePlanAsync(String code,
Integer id,
ApiCallback<IdResponse> _callback)
Delete plan.
|
okhttp3.Call |
deletePlanCall(String code,
Integer id,
ApiCallback _callback)
Build call for deletePlan
|
ApiResponse<IdResponse> |
deletePlanWithHttpInfo(String code,
Integer id)
Delete plan.
|
ApiClient |
getApiClient() |
String |
getCustomBaseUrl() |
int |
getHostIndex() |
PlanResponse |
getPlan(String code,
Integer id)
Get a specific plan.
|
okhttp3.Call |
getPlanAsync(String code,
Integer id,
ApiCallback<PlanResponse> _callback)
Get a specific plan.
|
okhttp3.Call |
getPlanCall(String code,
Integer id,
ApiCallback _callback)
Build call for getPlan
|
PlanListResponse |
getPlans(String code,
Integer limit,
Integer offset)
Get all plans.
|
okhttp3.Call |
getPlansAsync(String code,
Integer limit,
Integer offset,
ApiCallback<PlanListResponse> _callback)
Get all plans.
|
okhttp3.Call |
getPlansCall(String code,
Integer limit,
Integer offset,
ApiCallback _callback)
Build call for getPlans
|
ApiResponse<PlanListResponse> |
getPlansWithHttpInfo(String code,
Integer limit,
Integer offset)
Get all plans.
|
ApiResponse<PlanResponse> |
getPlanWithHttpInfo(String code,
Integer id)
Get a specific plan.
|
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
IdResponse |
updatePlan(String code,
Integer id,
PlanUpdate planUpdate)
Update plan.
|
okhttp3.Call |
updatePlanAsync(String code,
Integer id,
PlanUpdate planUpdate,
ApiCallback<IdResponse> _callback)
Update plan.
|
okhttp3.Call |
updatePlanCall(String code,
Integer id,
PlanUpdate planUpdate,
ApiCallback _callback)
Build call for updatePlan
|
ApiResponse<IdResponse> |
updatePlanWithHttpInfo(String code,
Integer id,
PlanUpdate planUpdate)
Update plan.
|
public PlansApi()
public PlansApi(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 createPlanCall(String code, PlanCreate planCreate, ApiCallback _callback) throws QaseException
code - Code of project, where to search entities. (required)planCreate - (required)_callback - Callback for upload/download progressQaseException - If fail to serialize the request body objectpublic IdResponse createPlan(String code, PlanCreate planCreate) throws QaseException
code - Code of project, where to search entities. (required)planCreate - (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<IdResponse> createPlanWithHttpInfo(String code, PlanCreate planCreate) throws QaseException
code - Code of project, where to search entities. (required)planCreate - (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call createPlanAsync(String code, PlanCreate planCreate, ApiCallback<IdResponse> _callback) throws QaseException
code - Code of project, where to search entities. (required)planCreate - (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 deletePlanCall(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 deletePlan(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> deletePlanWithHttpInfo(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 deletePlanAsync(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 getPlanCall(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 PlanResponse getPlan(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<PlanResponse> getPlanWithHttpInfo(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 getPlanAsync(String code, Integer id, ApiCallback<PlanResponse> _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 getPlansCall(String code, Integer limit, Integer offset, ApiCallback _callback) throws QaseException
code - Code of project, where to search entities. (required)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 PlanListResponse getPlans(String code, Integer limit, Integer offset) throws QaseException
code - Code of project, where to search entities. (required)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<PlanListResponse> getPlansWithHttpInfo(String code, Integer limit, Integer offset) throws QaseException
code - Code of project, where to search entities. (required)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 getPlansAsync(String code, Integer limit, Integer offset, ApiCallback<PlanListResponse> _callback) throws QaseException
code - Code of project, where to search entities. (required)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 updatePlanCall(String code, Integer id, PlanUpdate planUpdate, ApiCallback _callback) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)planUpdate - (required)_callback - Callback for upload/download progressQaseException - If fail to serialize the request body objectpublic IdResponse updatePlan(String code, Integer id, PlanUpdate planUpdate) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)planUpdate - (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<IdResponse> updatePlanWithHttpInfo(String code, Integer id, PlanUpdate planUpdate) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)planUpdate - (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call updatePlanAsync(String code, Integer id, PlanUpdate planUpdate, ApiCallback<IdResponse> _callback) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)planUpdate - (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.