public class LabelCollectionApi extends Object
| Constructor and Description |
|---|
LabelCollectionApi() |
LabelCollectionApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
LabelListDTO |
getLabels()
Get all Registered Labels
Get all registered Labels
|
okhttp3.Call |
getLabelsAsync(ApiCallback<LabelListDTO> _callback)
Get all Registered Labels (asynchronously)
Get all registered Labels
|
okhttp3.Call |
getLabelsCall(ApiCallback _callback)
Build call for getLabels
|
ApiResponse<LabelListDTO> |
getLabelsWithHttpInfo()
Get all Registered Labels
Get all registered Labels
|
void |
setApiClient(ApiClient apiClient) |
public LabelCollectionApi()
public LabelCollectionApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call getLabelsCall(ApiCallback _callback) throws ApiException
_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic LabelListDTO getLabels() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<LabelListDTO> getLabelsWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getLabelsAsync(ApiCallback<LabelListDTO> _callback) throws ApiException
_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.