Class AiServiceProviderApi

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

public class AiServiceProviderApi extends Object
  • Constructor Details

    • AiServiceProviderApi

      public AiServiceProviderApi()
    • AiServiceProviderApi

      public AiServiceProviderApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • deleteAIServiceProviderCall

      public okhttp3.Call deleteAIServiceProviderCall(String aiServiceProviderId, ApiCallback _callback) throws ApiException
      Build call for deleteAIServiceProvider
      Parameters:
      aiServiceProviderId - AI Service Provider UUID (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • deleteAIServiceProvider

      public void deleteAIServiceProvider(String aiServiceProviderId) throws ApiException
      Delete a AI Service Provider Delete a AI Service Provider by aiServiceProviderId
      Parameters:
      aiServiceProviderId - AI Service Provider UUID (required)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • deleteAIServiceProviderWithHttpInfo

      public ApiResponse<Void> deleteAIServiceProviderWithHttpInfo(String aiServiceProviderId) throws ApiException
      Delete a AI Service Provider Delete a AI Service Provider by aiServiceProviderId
      Parameters:
      aiServiceProviderId - AI Service Provider UUID (required)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • deleteAIServiceProviderAsync

      public okhttp3.Call deleteAIServiceProviderAsync(String aiServiceProviderId, ApiCallback<Void> _callback) throws ApiException
      Delete a AI Service Provider (asynchronously) Delete a AI Service Provider by aiServiceProviderId
      Parameters:
      aiServiceProviderId - AI Service Provider UUID (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
    • getAIServiceProviderCall

      public okhttp3.Call getAIServiceProviderCall(String aiServiceProviderId, ApiCallback _callback) throws ApiException
      Build call for getAIServiceProvider
      Parameters:
      aiServiceProviderId - AI Service Provider UUID (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • getAIServiceProvider

      public AIServiceProviderResponseDTO getAIServiceProvider(String aiServiceProviderId) throws ApiException
      Get AI Service Provider Get a AI Service Provider
      Parameters:
      aiServiceProviderId - AI Service Provider UUID (required)
      Returns:
      AIServiceProviderResponseDTO
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAIServiceProviderWithHttpInfo

      public ApiResponse<AIServiceProviderResponseDTO> getAIServiceProviderWithHttpInfo(String aiServiceProviderId) throws ApiException
      Get AI Service Provider Get a AI Service Provider
      Parameters:
      aiServiceProviderId - AI Service Provider UUID (required)
      Returns:
      ApiResponse<AIServiceProviderResponseDTO>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAIServiceProviderAsync

      public okhttp3.Call getAIServiceProviderAsync(String aiServiceProviderId, ApiCallback<AIServiceProviderResponseDTO> _callback) throws ApiException
      Get AI Service Provider (asynchronously) Get a AI Service Provider
      Parameters:
      aiServiceProviderId - AI Service Provider UUID (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
    • updateAIServiceProviderCall

      public okhttp3.Call updateAIServiceProviderCall(String aiServiceProviderId, String name, String apiVersion, String configurations, File apiDefinition, String description, String multipleModelProviderSupport, String modelProviders, ApiCallback _callback) throws ApiException
      Build call for updateAIServiceProvider
      Parameters:
      aiServiceProviderId - AI Service Provider UUID (required)
      name - (required)
      apiVersion - (required)
      configurations - LLM Provider configurations (required)
      apiDefinition - OpenAPI specification (required)
      description - (optional)
      multipleModelProviderSupport - Indicates whether the AI Service Provider supports multiple model providers. If true, the AI Service Provider can support multiple model providers. If false, the AI Service Provider supports only one model provider. (optional, default to "false")
      modelProviders - (optional)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • updateAIServiceProvider

      public AIServiceProviderResponseDTO updateAIServiceProvider(String aiServiceProviderId, String name, String apiVersion, String configurations, File apiDefinition, String description, String multipleModelProviderSupport, String modelProviders) throws ApiException
      Update an AI Service provider Update a AI Service provider by AIServiceProviderId
      Parameters:
      aiServiceProviderId - AI Service Provider UUID (required)
      name - (required)
      apiVersion - (required)
      configurations - LLM Provider configurations (required)
      apiDefinition - OpenAPI specification (required)
      description - (optional)
      multipleModelProviderSupport - Indicates whether the AI Service Provider supports multiple model providers. If true, the AI Service Provider can support multiple model providers. If false, the AI Service Provider supports only one model provider. (optional, default to "false")
      modelProviders - (optional)
      Returns:
      AIServiceProviderResponseDTO
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • updateAIServiceProviderWithHttpInfo

      public ApiResponse<AIServiceProviderResponseDTO> updateAIServiceProviderWithHttpInfo(String aiServiceProviderId, String name, String apiVersion, String configurations, File apiDefinition, String description, String multipleModelProviderSupport, String modelProviders) throws ApiException
      Update an AI Service provider Update a AI Service provider by AIServiceProviderId
      Parameters:
      aiServiceProviderId - AI Service Provider UUID (required)
      name - (required)
      apiVersion - (required)
      configurations - LLM Provider configurations (required)
      apiDefinition - OpenAPI specification (required)
      description - (optional)
      multipleModelProviderSupport - Indicates whether the AI Service Provider supports multiple model providers. If true, the AI Service Provider can support multiple model providers. If false, the AI Service Provider supports only one model provider. (optional, default to "false")
      modelProviders - (optional)
      Returns:
      ApiResponse<AIServiceProviderResponseDTO>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • updateAIServiceProviderAsync

      public okhttp3.Call updateAIServiceProviderAsync(String aiServiceProviderId, String name, String apiVersion, String configurations, File apiDefinition, String description, String multipleModelProviderSupport, String modelProviders, ApiCallback<AIServiceProviderResponseDTO> _callback) throws ApiException
      Update an AI Service provider (asynchronously) Update a AI Service provider by AIServiceProviderId
      Parameters:
      aiServiceProviderId - AI Service Provider UUID (required)
      name - (required)
      apiVersion - (required)
      configurations - LLM Provider configurations (required)
      apiDefinition - OpenAPI specification (required)
      description - (optional)
      multipleModelProviderSupport - Indicates whether the AI Service Provider supports multiple model providers. If true, the AI Service Provider can support multiple model providers. If false, the AI Service Provider supports only one model provider. (optional, default to "false")
      modelProviders - (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