Class AiServiceProviderApi
- java.lang.Object
-
- org.wso2.am.integration.clients.admin.api.AiServiceProviderApi
-
public class AiServiceProviderApi extends Object
-
-
Constructor Summary
Constructors Constructor Description AiServiceProviderApi()AiServiceProviderApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteAIServiceProvider(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 deleteAIServiceProviderApiResponse<Void>deleteAIServiceProviderWithHttpInfo(String aiServiceProviderId)Delete a AI Service Provider Delete a AI Service Provider by aiServiceProviderIdAIServiceProviderResponseDTOgetAIServiceProvider(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 getAIServiceProviderApiResponse<AIServiceProviderResponseDTO>getAIServiceProviderWithHttpInfo(String aiServiceProviderId)Get AI Service Provider Get a AI Service ProviderApiClientgetApiClient()voidsetApiClient(ApiClient apiClient)AIServiceProviderResponseDTOupdateAIServiceProvider(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 updateAIServiceProviderApiResponse<AIServiceProviderResponseDTO>updateAIServiceProviderWithHttpInfo(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 Detail
-
AiServiceProviderApi
public AiServiceProviderApi()
-
AiServiceProviderApi
public AiServiceProviderApi(ApiClient apiClient)
-
-
Method Detail
-
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
-
-