public class LabelCollectionApi extends Object
| Constructor and Description |
|---|
LabelCollectionApi() |
LabelCollectionApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
LabelListDTO |
labelsGet()
Get all registered Labels
Get all registered Labels
|
com.squareup.okhttp.Call |
labelsGetAsync(ApiCallback<LabelListDTO> callback)
Get all registered Labels (asynchronously)
Get all registered Labels
|
com.squareup.okhttp.Call |
labelsGetCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for labelsGet
|
ApiResponse<LabelListDTO> |
labelsGetWithHttpInfo()
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 com.squareup.okhttp.Call labelsGetCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic LabelListDTO labelsGet() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<LabelListDTO> labelsGetWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call labelsGetAsync(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 © 2020 WSO2 Inc. All rights reserved.