Class LlmProviderApi
java.lang.Object
org.wso2.am.integration.clients.admin.api.LlmProviderApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidllmProvidersLlmProviderIdDelete(String llmProviderId) Delete a LLM Provider Delete a LLM Provider by llmProviderIdokhttp3.CallllmProvidersLlmProviderIdDeleteAsync(String llmProviderId, ApiCallback<Void> _callback) Delete a LLM Provider (asynchronously) Delete a LLM Provider by llmProviderIdokhttp3.CallllmProvidersLlmProviderIdDeleteCall(String llmProviderId, ApiCallback _callback) Build call for llmProvidersLlmProviderIdDeletellmProvidersLlmProviderIdDeleteWithHttpInfo(String llmProviderId) Delete a LLM Provider Delete a LLM Provider by llmProviderIdllmProvidersLlmProviderIdGet(String llmProviderId) Get LLM Provider Get a LLM Providerokhttp3.CallllmProvidersLlmProviderIdGetAsync(String llmProviderId, ApiCallback<LLMProviderResponseDTO> _callback) Get LLM Provider (asynchronously) Get a LLM Providerokhttp3.CallllmProvidersLlmProviderIdGetCall(String llmProviderId, ApiCallback _callback) Build call for llmProvidersLlmProviderIdGetllmProvidersLlmProviderIdGetWithHttpInfo(String llmProviderId) Get LLM Provider Get a LLM ProviderllmProvidersLlmProviderIdPut(String llmProviderId, String name, String apiVersion, String description, String configurations, File apiDefinition, String modelList) Update an LLM provider Update a LLM provider by LLMProviderIdokhttp3.CallllmProvidersLlmProviderIdPutAsync(String llmProviderId, String name, String apiVersion, String description, String configurations, File apiDefinition, String modelList, ApiCallback<LLMProviderResponseDTO> _callback) Update an LLM provider (asynchronously) Update a LLM provider by LLMProviderIdokhttp3.CallllmProvidersLlmProviderIdPutCall(String llmProviderId, String name, String apiVersion, String description, String configurations, File apiDefinition, String modelList, ApiCallback _callback) Build call for llmProvidersLlmProviderIdPutllmProvidersLlmProviderIdPutWithHttpInfo(String llmProviderId, String name, String apiVersion, String description, String configurations, File apiDefinition, String modelList) Update an LLM provider Update a LLM provider by LLMProviderIdvoidsetApiClient(ApiClient apiClient)
-
Constructor Details
-
LlmProviderApi
public LlmProviderApi() -
LlmProviderApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
llmProvidersLlmProviderIdDeleteCall
public okhttp3.Call llmProvidersLlmProviderIdDeleteCall(String llmProviderId, ApiCallback _callback) throws ApiException Build call for llmProvidersLlmProviderIdDelete- Parameters:
llmProviderId- LLM Provider UUID (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
llmProvidersLlmProviderIdDelete
Delete a LLM Provider Delete a LLM Provider by llmProviderId- Parameters:
llmProviderId- LLM Provider UUID (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
llmProvidersLlmProviderIdDeleteWithHttpInfo
public ApiResponse<Void> llmProvidersLlmProviderIdDeleteWithHttpInfo(String llmProviderId) throws ApiException Delete a LLM Provider Delete a LLM Provider by llmProviderId- Parameters:
llmProviderId- LLM Provider UUID (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
llmProvidersLlmProviderIdDeleteAsync
public okhttp3.Call llmProvidersLlmProviderIdDeleteAsync(String llmProviderId, ApiCallback<Void> _callback) throws ApiException Delete a LLM Provider (asynchronously) Delete a LLM Provider by llmProviderId- Parameters:
llmProviderId- LLM 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
-
llmProvidersLlmProviderIdGetCall
public okhttp3.Call llmProvidersLlmProviderIdGetCall(String llmProviderId, ApiCallback _callback) throws ApiException Build call for llmProvidersLlmProviderIdGet- Parameters:
llmProviderId- LLM Provider UUID (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
llmProvidersLlmProviderIdGet
public LLMProviderResponseDTO llmProvidersLlmProviderIdGet(String llmProviderId) throws ApiException Get LLM Provider Get a LLM Provider- Parameters:
llmProviderId- LLM Provider UUID (required)- Returns:
- LLMProviderResponseDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
llmProvidersLlmProviderIdGetWithHttpInfo
public ApiResponse<LLMProviderResponseDTO> llmProvidersLlmProviderIdGetWithHttpInfo(String llmProviderId) throws ApiException Get LLM Provider Get a LLM Provider- Parameters:
llmProviderId- LLM Provider UUID (required)- Returns:
- ApiResponse<LLMProviderResponseDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
llmProvidersLlmProviderIdGetAsync
public okhttp3.Call llmProvidersLlmProviderIdGetAsync(String llmProviderId, ApiCallback<LLMProviderResponseDTO> _callback) throws ApiException Get LLM Provider (asynchronously) Get a LLM Provider- Parameters:
llmProviderId- LLM 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
-
llmProvidersLlmProviderIdPutCall
public okhttp3.Call llmProvidersLlmProviderIdPutCall(String llmProviderId, String name, String apiVersion, String description, String configurations, File apiDefinition, String modelList, ApiCallback _callback) throws ApiException Build call for llmProvidersLlmProviderIdPut- Parameters:
llmProviderId- LLM Provider UUID (required)name- (optional)apiVersion- (optional)description- (optional)configurations- LLM Provider configurations (optional)apiDefinition- OpenAPI specification (optional)modelList- List of models supported by the LLM Provider as a stringified JSON array (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
llmProvidersLlmProviderIdPut
public LLMProviderResponseDTO llmProvidersLlmProviderIdPut(String llmProviderId, String name, String apiVersion, String description, String configurations, File apiDefinition, String modelList) throws ApiException Update an LLM provider Update a LLM provider by LLMProviderId- Parameters:
llmProviderId- LLM Provider UUID (required)name- (optional)apiVersion- (optional)description- (optional)configurations- LLM Provider configurations (optional)apiDefinition- OpenAPI specification (optional)modelList- List of models supported by the LLM Provider as a stringified JSON array (optional)- Returns:
- LLMProviderResponseDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
llmProvidersLlmProviderIdPutWithHttpInfo
public ApiResponse<LLMProviderResponseDTO> llmProvidersLlmProviderIdPutWithHttpInfo(String llmProviderId, String name, String apiVersion, String description, String configurations, File apiDefinition, String modelList) throws ApiException Update an LLM provider Update a LLM provider by LLMProviderId- Parameters:
llmProviderId- LLM Provider UUID (required)name- (optional)apiVersion- (optional)description- (optional)configurations- LLM Provider configurations (optional)apiDefinition- OpenAPI specification (optional)modelList- List of models supported by the LLM Provider as a stringified JSON array (optional)- Returns:
- ApiResponse<LLMProviderResponseDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
llmProvidersLlmProviderIdPutAsync
public okhttp3.Call llmProvidersLlmProviderIdPutAsync(String llmProviderId, String name, String apiVersion, String description, String configurations, File apiDefinition, String modelList, ApiCallback<LLMProviderResponseDTO> _callback) throws ApiException Update an LLM provider (asynchronously) Update a LLM provider by LLMProviderId- Parameters:
llmProviderId- LLM Provider UUID (required)name- (optional)apiVersion- (optional)description- (optional)configurations- LLM Provider configurations (optional)apiDefinition- OpenAPI specification (optional)modelList- List of models supported by the LLM Provider as a stringified JSON array (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
-