Class AiServiceProviderApi

java.lang.Object
org.wso2.am.integration.clients.publisher.api.v1.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)
    • getAIServiceProviderCall

      public okhttp3.Call getAIServiceProviderCall(String aiServiceProviderId, ApiCallback _callback) throws ApiException
      Build call for getAIServiceProvider
      Parameters:
      aiServiceProviderId - AI Service Provider ID (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 ID (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 ID (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 ID (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
    • getAIServiceProviderApiDefinitionCall

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

      public String getAIServiceProviderApiDefinition(String aiServiceProviderId) throws ApiException
      Get AI Service Provider's API Definition Get AI Service Provider's API Definition
      Parameters:
      aiServiceProviderId - (required)
      Returns:
      String
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAIServiceProviderApiDefinitionWithHttpInfo

      public ApiResponse<String> getAIServiceProviderApiDefinitionWithHttpInfo(String aiServiceProviderId) throws ApiException
      Get AI Service Provider's API Definition Get AI Service Provider's API Definition
      Parameters:
      aiServiceProviderId - (required)
      Returns:
      ApiResponse<String>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAIServiceProviderApiDefinitionAsync

      public okhttp3.Call getAIServiceProviderApiDefinitionAsync(String aiServiceProviderId, ApiCallback<String> _callback) throws ApiException
      Get AI Service Provider's API Definition (asynchronously) Get AI Service Provider's API Definition
      Parameters:
      aiServiceProviderId - (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
    • getAIServiceProviderEndpointConfigurationCall

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

      public AIServiceProviderEndpointConfigurationDTO getAIServiceProviderEndpointConfiguration(String aiServiceProviderId) throws ApiException
      Get AI Service Provider's security configurations Get AI Service Provider's endpoint security configurations
      Parameters:
      aiServiceProviderId - (required)
      Returns:
      AIServiceProviderEndpointConfigurationDTO
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAIServiceProviderEndpointConfigurationWithHttpInfo

      public ApiResponse<AIServiceProviderEndpointConfigurationDTO> getAIServiceProviderEndpointConfigurationWithHttpInfo(String aiServiceProviderId) throws ApiException
      Get AI Service Provider's security configurations Get AI Service Provider's endpoint security configurations
      Parameters:
      aiServiceProviderId - (required)
      Returns:
      ApiResponse<AIServiceProviderEndpointConfigurationDTO>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAIServiceProviderEndpointConfigurationAsync

      public okhttp3.Call getAIServiceProviderEndpointConfigurationAsync(String aiServiceProviderId, ApiCallback<AIServiceProviderEndpointConfigurationDTO> _callback) throws ApiException
      Get AI Service Provider's security configurations (asynchronously) Get AI Service Provider's endpoint security configurations
      Parameters:
      aiServiceProviderId - (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
    • getAIServiceProviderModelsCall

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

      public List<ModelProviderDTO> getAIServiceProviderModels(String aiServiceProviderId) throws ApiException
      Get AI Service Provider's model list Get AI Service Provider's model list
      Parameters:
      aiServiceProviderId - (required)
      Returns:
      List<ModelProviderDTO>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAIServiceProviderModelsWithHttpInfo

      public ApiResponse<List<ModelProviderDTO>> getAIServiceProviderModelsWithHttpInfo(String aiServiceProviderId) throws ApiException
      Get AI Service Provider's model list Get AI Service Provider's model list
      Parameters:
      aiServiceProviderId - (required)
      Returns:
      ApiResponse<List<ModelProviderDTO>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAIServiceProviderModelsAsync

      public okhttp3.Call getAIServiceProviderModelsAsync(String aiServiceProviderId, ApiCallback<List<ModelProviderDTO>> _callback) throws ApiException
      Get AI Service Provider's model list (asynchronously) Get AI Service Provider's model list
      Parameters:
      aiServiceProviderId - (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