Class AiServiceProviderApi
java.lang.Object
org.wso2.am.integration.clients.admin.api.AiServiceProviderApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteAIServiceProvider(String aiServiceProviderId) Delete a AI Service Provider Delete a AI Service Provider by aiServiceProviderIdokhttp3.CalldeleteAIServiceProviderAsync(String aiServiceProviderId, ApiCallback<Void> _callback) Delete a AI Service Provider (asynchronously) Delete a AI Service Provider by aiServiceProviderIdokhttp3.CalldeleteAIServiceProviderCall(String aiServiceProviderId, ApiCallback _callback) Build call for deleteAIServiceProviderdeleteAIServiceProviderWithHttpInfo(String aiServiceProviderId) Delete a AI Service Provider Delete a AI Service Provider by aiServiceProviderIdgetAIServiceProvider(String aiServiceProviderId) Get AI Service Provider Get a AI Service Providerokhttp3.CallgetAIServiceProviderAsync(String aiServiceProviderId, ApiCallback<AIServiceProviderResponseDTO> _callback) Get AI Service Provider (asynchronously) Get a AI Service Providerokhttp3.CallgetAIServiceProviderCall(String aiServiceProviderId, ApiCallback _callback) Build call for getAIServiceProvidergetAIServiceProviderWithHttpInfo(String aiServiceProviderId) Get AI Service Provider Get a AI Service ProvidervoidsetApiClient(ApiClient apiClient) updateAIServiceProvider(String aiServiceProviderId, String name, String apiVersion, String configurations, File apiDefinition, String description, String multipleModelProviderSupport, String modelProviders) Update an AI Service provider Update a AI Service provider by AIServiceProviderIdokhttp3.CallupdateAIServiceProviderAsync(String aiServiceProviderId, String name, String apiVersion, String configurations, File apiDefinition, String description, String multipleModelProviderSupport, String modelProviders, ApiCallback<AIServiceProviderResponseDTO> _callback) Update an AI Service provider (asynchronously) Update a AI Service provider by AIServiceProviderIdokhttp3.CallupdateAIServiceProviderCall(String aiServiceProviderId, String name, String apiVersion, String configurations, File apiDefinition, String description, String multipleModelProviderSupport, String modelProviders, ApiCallback _callback) Build call for updateAIServiceProviderupdateAIServiceProviderWithHttpInfo(String aiServiceProviderId, String name, String apiVersion, String configurations, File apiDefinition, String description, String multipleModelProviderSupport, String modelProviders) Update an AI Service provider Update a AI Service provider by AIServiceProviderId
-
Constructor Details
-
AiServiceProviderApi
public AiServiceProviderApi() -
AiServiceProviderApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
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
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
-