Class LlmProviderApi

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

public class LlmProviderApi extends Object
  • Constructor Details

    • LlmProviderApi

      public LlmProviderApi()
    • LlmProviderApi

      public LlmProviderApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • 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

      public void llmProvidersLlmProviderIdDelete(String llmProviderId) throws ApiException
      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