Class McpServerBackendsApi
- java.lang.Object
-
- org.wso2.am.integration.clients.publisher.api.v1.McpServerBackendsApi
-
public class McpServerBackendsApi extends Object
-
-
Constructor Summary
Constructors Constructor Description McpServerBackendsApi()McpServerBackendsApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()BackendDTOgetMCPServerBackend(String mcpServerId, String backendId)Get backends of a MCP Server This operation can be used to get a backend of a MCP Serverokhttp3.CallgetMCPServerBackendAsync(String mcpServerId, String backendId, ApiCallback<BackendDTO> _callback)Get backends of a MCP Server (asynchronously) This operation can be used to get a backend of a MCP Serverokhttp3.CallgetMCPServerBackendCall(String mcpServerId, String backendId, ApiCallback _callback)Build call for getMCPServerBackendBackendListDTOgetMCPServerBackends(String mcpServerId)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.okhttp3.CallgetMCPServerBackendsAsync(String mcpServerId, ApiCallback<BackendListDTO> _callback)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.okhttp3.CallgetMCPServerBackendsCall(String mcpServerId, ApiCallback _callback)Build call for getMCPServerBackendsApiResponse<BackendListDTO>getMCPServerBackendsWithHttpInfo(String mcpServerId)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.ApiResponse<BackendDTO>getMCPServerBackendWithHttpInfo(String mcpServerId, String backendId)Get backends of a MCP Server This operation can be used to get a backend of a MCP ServervoidsetApiClient(ApiClient apiClient)BackendDTOupdateMCPServerBackend(String mcpServerId, String backendId, BackendDTO backendDTO)Update a backend of a MCP Server This operation can be used to update a backend of a MCP Serverokhttp3.CallupdateMCPServerBackendAsync(String mcpServerId, String backendId, BackendDTO backendDTO, ApiCallback<BackendDTO> _callback)Update a backend of a MCP Server (asynchronously) This operation can be used to update a backend of a MCP Serverokhttp3.CallupdateMCPServerBackendCall(String mcpServerId, String backendId, BackendDTO backendDTO, ApiCallback _callback)Build call for updateMCPServerBackendApiResponse<BackendDTO>updateMCPServerBackendWithHttpInfo(String mcpServerId, String backendId, BackendDTO backendDTO)Update a backend of a MCP Server This operation can be used to update a backend of a MCP Server
-
-
-
Constructor Detail
-
McpServerBackendsApi
public McpServerBackendsApi()
-
McpServerBackendsApi
public McpServerBackendsApi(ApiClient apiClient)
-
-
Method Detail
-
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
-
-