public class LabelCollectionApi extends Object
| Constructor and Description |
|---|
LabelCollectionApi() |
LabelCollectionApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
LabelList |
labelsGet(String ifNoneMatch,
String ifModifiedSince)
Get all labels
This operation can be used to retrieve the list of labels available.
|
com.squareup.okhttp.Call |
labelsGetAsync(String ifNoneMatch,
String ifModifiedSince,
ApiCallback<LabelList> callback)
Get all labels (asynchronously)
This operation can be used to retrieve the list of labels available.
|
com.squareup.okhttp.Call |
labelsGetCall(String ifNoneMatch,
String ifModifiedSince,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for labelsGet
|
ApiResponse<LabelList> |
labelsGetWithHttpInfo(String ifNoneMatch,
String ifModifiedSince)
Get all labels
This operation can be used to retrieve the list of labels available.
|
void |
setApiClient(ApiClient apiClient) |
public LabelCollectionApi()
public LabelCollectionApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call labelsGetCall(String ifNoneMatch, String ifModifiedSince, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resourec. (optional)ifModifiedSince - Validator for conditional requests; based on Last Modified header of the formerly retrieved variant of the resource. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic LabelList labelsGet(String ifNoneMatch, String ifModifiedSince) throws ApiException
ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resourec. (optional)ifModifiedSince - Validator for conditional requests; based on Last Modified header of the formerly retrieved variant of the resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<LabelList> labelsGetWithHttpInfo(String ifNoneMatch, String ifModifiedSince) throws ApiException
ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resourec. (optional)ifModifiedSince - Validator for conditional requests; based on Last Modified header of the formerly retrieved variant of the resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call labelsGetAsync(String ifNoneMatch, String ifModifiedSince, ApiCallback<LabelList> callback) throws ApiException
ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resourec. (optional)ifModifiedSince - Validator for conditional requests; based on Last Modified header of the formerly retrieved variant of the resource. (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 objectCopyright © 2018 WSO2. All rights reserved.