Class McpServerBackendsApi

java.lang.Object
org.wso2.am.integration.clients.publisher.api.v1.McpServerBackendsApi

public class McpServerBackendsApi extends Object
  • Constructor Details

    • McpServerBackendsApi

      public McpServerBackendsApi()
    • McpServerBackendsApi

      public McpServerBackendsApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getMCPServerBackendCall

      public okhttp3.Call getMCPServerBackendCall(String mcpServerId, String backendId, ApiCallback _callback) throws ApiException
      Build call for getMCPServerBackend
      Parameters:
      mcpServerId - **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)
      backendId - **Backend ID** consisting of the **UUID** of the Backend**. (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • getMCPServerBackend

      public BackendDTO getMCPServerBackend(String mcpServerId, String backendId) throws ApiException
      Get backends of a MCP Server This operation can be used to get a backend of a MCP Server
      Parameters:
      mcpServerId - **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)
      backendId - **Backend ID** consisting of the **UUID** of the Backend**. (required)
      Returns:
      BackendDTO
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getMCPServerBackendWithHttpInfo

      public ApiResponse<BackendDTO> getMCPServerBackendWithHttpInfo(String mcpServerId, String backendId) throws ApiException
      Get backends of a MCP Server This operation can be used to get a backend of a MCP Server
      Parameters:
      mcpServerId - **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)
      backendId - **Backend ID** consisting of the **UUID** of the Backend**. (required)
      Returns:
      ApiResponse<BackendDTO>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getMCPServerBackendAsync

      public okhttp3.Call getMCPServerBackendAsync(String mcpServerId, String backendId, ApiCallback<BackendDTO> _callback) throws ApiException
      Get backends of a MCP Server (asynchronously) This operation can be used to get a backend of a MCP Server
      Parameters:
      mcpServerId - **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)
      backendId - **Backend ID** consisting of the **UUID** of the Backend**. (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
    • getMCPServerBackendsCall

      public okhttp3.Call getMCPServerBackendsCall(String mcpServerId, ApiCallback _callback) throws ApiException
      Build call for getMCPServerBackends
      Parameters:
      mcpServerId - **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • getMCPServerBackends

      public BackendListDTO getMCPServerBackends(String mcpServerId) throws ApiException
      Get a list of backends of a MCP Server This operation can be used to get a list of backends of a MCP server by the MCP Server UUID.
      Parameters:
      mcpServerId - **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)
      Returns:
      BackendListDTO
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getMCPServerBackendsWithHttpInfo

      public ApiResponse<BackendListDTO> getMCPServerBackendsWithHttpInfo(String mcpServerId) throws ApiException
      Get a list of backends of a MCP Server This operation can be used to get a list of backends of a MCP server by the MCP Server UUID.
      Parameters:
      mcpServerId - **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)
      Returns:
      ApiResponse<BackendListDTO>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getMCPServerBackendsAsync

      public okhttp3.Call getMCPServerBackendsAsync(String mcpServerId, ApiCallback<BackendListDTO> _callback) throws ApiException
      Get a list of backends of a MCP Server (asynchronously) This operation can be used to get a list of backends of a MCP server by the MCP Server UUID.
      Parameters:
      mcpServerId - **MCP Server ID** consisting of the **UUID** of the MCP Server. (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
    • updateMCPServerBackendCall

      public okhttp3.Call updateMCPServerBackendCall(String mcpServerId, String backendId, BackendDTO backendDTO, ApiCallback _callback) throws ApiException
      Build call for updateMCPServerBackend
      Parameters:
      mcpServerId - **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)
      backendId - **Backend ID** consisting of the **UUID** of the Backend**. (required)
      backendDTO - Backend object with updated details (optional)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • updateMCPServerBackend

      public BackendDTO updateMCPServerBackend(String mcpServerId, String backendId, BackendDTO backendDTO) throws ApiException
      Update a backend of a MCP Server This operation can be used to update a backend of a MCP Server
      Parameters:
      mcpServerId - **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)
      backendId - **Backend ID** consisting of the **UUID** of the Backend**. (required)
      backendDTO - Backend object with updated details (optional)
      Returns:
      BackendDTO
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • updateMCPServerBackendWithHttpInfo

      public ApiResponse<BackendDTO> updateMCPServerBackendWithHttpInfo(String mcpServerId, String backendId, BackendDTO backendDTO) throws ApiException
      Update a backend of a MCP Server This operation can be used to update a backend of a MCP Server
      Parameters:
      mcpServerId - **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)
      backendId - **Backend ID** consisting of the **UUID** of the Backend**. (required)
      backendDTO - Backend object with updated details (optional)
      Returns:
      ApiResponse<BackendDTO>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • updateMCPServerBackendAsync

      public okhttp3.Call updateMCPServerBackendAsync(String mcpServerId, String backendId, BackendDTO backendDTO, ApiCallback<BackendDTO> _callback) throws ApiException
      Update a backend of a MCP Server (asynchronously) This operation can be used to update a backend of a MCP Server
      Parameters:
      mcpServerId - **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)
      backendId - **Backend ID** consisting of the **UUID** of the Backend**. (required)
      backendDTO - Backend object with updated details (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