Class LabelApi
java.lang.Object
org.wso2.am.integration.clients.admin.api.LabelApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidlabelsLabelIdDelete(String labelId, String ifMatch, String ifUnmodifiedSince) Delete a Label Delete a Label by label Idokhttp3.CalllabelsLabelIdDeleteAsync(String labelId, String ifMatch, String ifUnmodifiedSince, ApiCallback<Void> _callback) Delete a Label (asynchronously) Delete a Label by label Idokhttp3.CalllabelsLabelIdDeleteCall(String labelId, String ifMatch, String ifUnmodifiedSince, ApiCallback _callback) Build call for labelsLabelIdDeletelabelsLabelIdDeleteWithHttpInfo(String labelId, String ifMatch, String ifUnmodifiedSince) Delete a Label Delete a Label by label IdlabelsLabelIdPut(String labelId, LabelDTO labelDTO) Update a Label Update a Label by label Idokhttp3.CalllabelsLabelIdPutAsync(String labelId, LabelDTO labelDTO, ApiCallback<LabelDTO> _callback) Update a Label (asynchronously) Update a Label by label Idokhttp3.CalllabelsLabelIdPutCall(String labelId, LabelDTO labelDTO, ApiCallback _callback) Build call for labelsLabelIdPutlabelsLabelIdPutWithHttpInfo(String labelId, LabelDTO labelDTO) Update a Label Update a Label by label IdlabelsPost(LabelDTO labelDTO) Add a Label Add a new gateway labelokhttp3.CalllabelsPostAsync(LabelDTO labelDTO, ApiCallback<LabelDTO> _callback) Add a Label (asynchronously) Add a new gateway labelokhttp3.CalllabelsPostCall(LabelDTO labelDTO, ApiCallback _callback) Build call for labelsPostlabelsPostWithHttpInfo(LabelDTO labelDTO) Add a Label Add a new gateway labelvoidsetApiClient(ApiClient apiClient)
-
Constructor Details
-
LabelApi
public LabelApi() -
LabelApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
labelsLabelIdDeleteCall
public okhttp3.Call labelsLabelIdDeleteCall(String labelId, String ifMatch, String ifUnmodifiedSince, ApiCallback _callback) throws ApiException Build call for labelsLabelIdDelete- Parameters:
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 progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
labelsLabelIdDelete
public void labelsLabelIdDelete(String labelId, String ifMatch, String ifUnmodifiedSince) throws ApiException Delete a Label Delete a Label by label Id- Parameters:
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)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
labelsLabelIdDeleteWithHttpInfo
public ApiResponse<Void> labelsLabelIdDeleteWithHttpInfo(String labelId, String ifMatch, String ifUnmodifiedSince) throws ApiException Delete a Label Delete a Label by label Id- Parameters:
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)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
labelsLabelIdDeleteAsync
public okhttp3.Call labelsLabelIdDeleteAsync(String labelId, String ifMatch, String ifUnmodifiedSince, ApiCallback<Void> _callback) throws ApiException Delete a Label (asynchronously) Delete a Label by label Id- Parameters:
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 finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
labelsLabelIdPutCall
public okhttp3.Call labelsLabelIdPutCall(String labelId, LabelDTO labelDTO, ApiCallback _callback) throws ApiException Build call for labelsLabelIdPut- Parameters:
labelId- Label UUID (required)labelDTO- Label object with updated information (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
labelsLabelIdPut
Update a Label Update a Label by label Id- Parameters:
labelId- Label UUID (required)labelDTO- Label object with updated information (required)- Returns:
- LabelDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
labelsLabelIdPutWithHttpInfo
public ApiResponse<LabelDTO> labelsLabelIdPutWithHttpInfo(String labelId, LabelDTO labelDTO) throws ApiException Update a Label Update a Label by label Id- Parameters:
labelId- Label UUID (required)labelDTO- Label object with updated information (required)- Returns:
- ApiResponse<LabelDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
labelsLabelIdPutAsync
public okhttp3.Call labelsLabelIdPutAsync(String labelId, LabelDTO labelDTO, ApiCallback<LabelDTO> _callback) throws ApiException Update a Label (asynchronously) Update a Label by label Id- Parameters:
labelId- Label UUID (required)labelDTO- Label object with updated information (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
labelsPostCall
Build call for labelsPost- Parameters:
labelDTO- Label object that should to be added (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
labelsPost
Add a Label Add a new gateway label- Parameters:
labelDTO- Label object that should to be added (required)- Returns:
- LabelDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
labelsPostWithHttpInfo
Add a Label Add a new gateway label- Parameters:
labelDTO- Label object that should to be added (required)- Returns:
- ApiResponse<LabelDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
labelsPostAsync
public okhttp3.Call labelsPostAsync(LabelDTO labelDTO, ApiCallback<LabelDTO> _callback) throws ApiException Add a Label (asynchronously) Add a new gateway label- Parameters:
labelDTO- Label object that should to be added (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-