java.lang.Object
org.wso2.am.integration.clients.admin.api.LabelApi

public class LabelApi extends Object
  • Constructor Details

    • LabelApi

      public LabelApi()
    • LabelApi

      public LabelApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • 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

      public LabelDTO labelsLabelIdPut(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:
      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

      public okhttp3.Call labelsPostCall(LabelDTO labelDTO, ApiCallback _callback) throws ApiException
      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

      public LabelDTO labelsPost(LabelDTO labelDTO) throws ApiException
      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

      public ApiResponse<LabelDTO> labelsPostWithHttpInfo(LabelDTO labelDTO) throws ApiException
      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