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
|
com.squareup.okhttp.Call |
labelsLabelIdDeleteAsync(String labelId,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Void> callback)
Delete a Label (asynchronously)
Delete a Label by label Id
|
com.squareup.okhttp.Call |
labelsLabelIdDeleteCall(String labelId,
String ifMatch,
String ifUnmodifiedSince,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
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 body)
Update a Label
Update a Label by label Id
|
com.squareup.okhttp.Call |
labelsLabelIdPutAsync(String labelId,
LabelDTO body,
ApiCallback<LabelDTO> callback)
Update a Label (asynchronously)
Update a Label by label Id
|
com.squareup.okhttp.Call |
labelsLabelIdPutCall(String labelId,
LabelDTO body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for labelsLabelIdPut
|
ApiResponse<LabelDTO> |
labelsLabelIdPutWithHttpInfo(String labelId,
LabelDTO body)
Update a Label
Update a Label by label Id
|
LabelDTO |
labelsPost(LabelDTO body)
Add a Label
Add a new gateway Label
|
com.squareup.okhttp.Call |
labelsPostAsync(LabelDTO body,
ApiCallback<LabelDTO> callback)
Add a Label (asynchronously)
Add a new gateway Label
|
com.squareup.okhttp.Call |
labelsPostCall(LabelDTO body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for labelsPost
|
ApiResponse<LabelDTO> |
labelsPostWithHttpInfo(LabelDTO body)
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 com.squareup.okhttp.Call labelsLabelIdDeleteCall(String labelId, String ifMatch, String ifUnmodifiedSince, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) 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)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - 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 com.squareup.okhttp.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 com.squareup.okhttp.Call labelsLabelIdPutCall(String labelId, LabelDTO body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
labelId - Label UUID (required)body - Label object with updated information (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic LabelDTO labelsLabelIdPut(String labelId, LabelDTO body) throws ApiException
labelId - Label UUID (required)body - 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 body) throws ApiException
labelId - Label UUID (required)body - Label object with updated information (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call labelsLabelIdPutAsync(String labelId, LabelDTO body, ApiCallback<LabelDTO> callback) throws ApiException
labelId - Label UUID (required)body - 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 com.squareup.okhttp.Call labelsPostCall(LabelDTO body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - Label object that should to be added (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic LabelDTO labelsPost(LabelDTO body) throws ApiException
body - 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 body) throws ApiException
body - 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 com.squareup.okhttp.Call labelsPostAsync(LabelDTO body, ApiCallback<LabelDTO> callback) throws ApiException
body - 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 © 2020 WSO2 Inc. All rights reserved.