Class ApiProviderChangeApi

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

public class ApiProviderChangeApi extends Object
  • Constructor Details

    • ApiProviderChangeApi

      public ApiProviderChangeApi()
    • ApiProviderChangeApi

      public ApiProviderChangeApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • providerNamePostCall

      public okhttp3.Call providerNamePostCall(String provider, String apiId, ApiCallback _callback) throws ApiException
      Build call for providerNamePost
      Parameters:
      provider - (required)
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • providerNamePost

      public void providerNamePost(String provider, String apiId) throws ApiException
      Update the api provider Update the api provider
      Parameters:
      provider - (required)
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • providerNamePostWithHttpInfo

      public ApiResponse<Void> providerNamePostWithHttpInfo(String provider, String apiId) throws ApiException
      Update the api provider Update the api provider
      Parameters:
      provider - (required)
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • providerNamePostAsync

      public okhttp3.Call providerNamePostAsync(String provider, String apiId, ApiCallback<Void> _callback) throws ApiException
      Update the api provider (asynchronously) Update the api provider
      Parameters:
      provider - (required)
      apiId - **API ID** consisting of the **UUID** of the API. (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