public class LabelApi extends Object
| Constructor and Description |
|---|
LabelApi() |
LabelApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
labelsLabelIdDelete(String labelId,
String ifMatch,
String ifUnmodifiedSince)
Delete a Label
Delete a Label by label Id
|
okhttp3.Call |
labelsLabelIdDeleteAsync(String labelId,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Void> _callback)
Delete a Label (asynchronously)
Delete a Label by label Id
|
okhttp3.Call |
labelsLabelIdDeleteCall(String labelId,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback _callback)
Build call for labelsLabelIdDelete
|
ApiResponse<Void> |
labelsLabelIdDeleteWithHttpInfo(String labelId,
String ifMatch,
String ifUnmodifiedSince)
Delete a Label
Delete a Label by label Id
|
LabelDTO |
labelsLabelIdPut(String labelId,
LabelDTO labelDTO)
Update a Label
Update a Label by label Id
|
okhttp3.Call |
labelsLabelIdPutAsync(String labelId,
LabelDTO labelDTO,
ApiCallback<LabelDTO> _callback)
Update a Label (asynchronously)
Update a Label by label Id
|
okhttp3.Call |
labelsLabelIdPutCall(String labelId,
LabelDTO labelDTO,
ApiCallback _callback)
Build call for labelsLabelIdPut
|
ApiResponse<LabelDTO> |
labelsLabelIdPutWithHttpInfo(String labelId,
LabelDTO labelDTO)
Update a Label
Update a Label by label Id
|
LabelDTO |
labelsPost(LabelDTO labelDTO)
Add a Label
Add a new gateway label
|
okhttp3.Call |
labelsPostAsync(LabelDTO labelDTO,
ApiCallback<LabelDTO> _callback)
Add a Label (asynchronously)
Add a new gateway label
|
okhttp3.Call |
labelsPostCall(LabelDTO labelDTO,
ApiCallback _callback)
Build call for labelsPost
|
ApiResponse<LabelDTO> |
labelsPostWithHttpInfo(LabelDTO labelDTO)
Add a Label
Add a new gateway label
|
void |
setApiClient(ApiClient apiClient) |
public LabelApi()
public LabelApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call labelsLabelIdDeleteCall(String labelId, String ifMatch, String ifUnmodifiedSince, ApiCallback _callback) throws ApiException
labelId - Label UUID (required)ifMatch - Validator for conditional requests; based on ETag (Will be supported in future). (optional)ifUnmodifiedSince - Validator for conditional requests; based on Last Modified header (Will be supported in future). (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic void labelsLabelIdDelete(String labelId, String ifMatch, String ifUnmodifiedSince) throws ApiException
labelId - Label UUID (required)ifMatch - Validator for conditional requests; based on ETag (Will be supported in future). (optional)ifUnmodifiedSince - Validator for conditional requests; based on Last Modified header (Will be supported in future). (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> labelsLabelIdDeleteWithHttpInfo(String labelId, String ifMatch, String ifUnmodifiedSince) throws ApiException
labelId - Label UUID (required)ifMatch - Validator for conditional requests; based on ETag (Will be supported in future). (optional)ifUnmodifiedSince - Validator for conditional requests; based on Last Modified header (Will be supported in future). (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call labelsLabelIdDeleteAsync(String labelId, String ifMatch, String ifUnmodifiedSince, ApiCallback<Void> _callback) throws ApiException
labelId - Label UUID (required)ifMatch - Validator for conditional requests; based on ETag (Will be supported in future). (optional)ifUnmodifiedSince - Validator for conditional requests; based on Last Modified header (Will be supported in future). (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call labelsLabelIdPutCall(String labelId, LabelDTO labelDTO, ApiCallback _callback) throws ApiException
labelId - Label UUID (required)labelDTO - Label object with updated information (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic LabelDTO labelsLabelIdPut(String labelId, LabelDTO labelDTO) throws ApiException
labelId - Label UUID (required)labelDTO - Label object with updated information (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<LabelDTO> labelsLabelIdPutWithHttpInfo(String labelId, LabelDTO labelDTO) throws ApiException
labelId - Label UUID (required)labelDTO - Label object with updated information (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call labelsLabelIdPutAsync(String labelId, LabelDTO labelDTO, ApiCallback<LabelDTO> _callback) throws ApiException
labelId - Label UUID (required)labelDTO - Label object with updated information (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call labelsPostCall(LabelDTO labelDTO, ApiCallback _callback) throws ApiException
labelDTO - Label object that should to be added (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic LabelDTO labelsPost(LabelDTO labelDTO) throws ApiException
labelDTO - Label object that should to be added (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<LabelDTO> labelsPostWithHttpInfo(LabelDTO labelDTO) throws ApiException
labelDTO - Label object that should to be added (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call labelsPostAsync(LabelDTO labelDTO, ApiCallback<LabelDTO> _callback) throws ApiException
labelDTO - Label object that should to be added (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2021 WSO2 Inc. All rights reserved.