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

public class CommentsApi extends Object
  • Constructor Details

    • CommentsApi

      public CommentsApi()
    • CommentsApi

      public CommentsApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • addCommentToAPICall

      public okhttp3.Call addCommentToAPICall(String apiId, PostRequestBodyDTO postRequestBodyDTO, String replyTo, ApiCallback _callback) throws ApiException
      Build call for addCommentToAPI
      Parameters:
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      postRequestBodyDTO - (required)
      replyTo - ID of the perent comment. (optional)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • addCommentToAPI

      public CommentDTO addCommentToAPI(String apiId, PostRequestBodyDTO postRequestBodyDTO, String replyTo) throws ApiException
      Add an API Comment
      Parameters:
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      postRequestBodyDTO - (required)
      replyTo - ID of the perent comment. (optional)
      Returns:
      CommentDTO
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • addCommentToAPIWithHttpInfo

      public ApiResponse<CommentDTO> addCommentToAPIWithHttpInfo(String apiId, PostRequestBodyDTO postRequestBodyDTO, String replyTo) throws ApiException
      Add an API Comment
      Parameters:
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      postRequestBodyDTO - (required)
      replyTo - ID of the perent comment. (optional)
      Returns:
      ApiResponse<CommentDTO>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • addCommentToAPIAsync

      public okhttp3.Call addCommentToAPIAsync(String apiId, PostRequestBodyDTO postRequestBodyDTO, String replyTo, ApiCallback<CommentDTO> _callback) throws ApiException
      Add an API Comment (asynchronously)
      Parameters:
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      postRequestBodyDTO - (required)
      replyTo - ID of the perent comment. (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
    • addCommentToMCPServerCall

      public okhttp3.Call addCommentToMCPServerCall(String mcpServerId, CommentRequestDTO commentRequestDTO, String replyTo, ApiCallback _callback) throws ApiException
      Build call for addCommentToMCPServer
      Parameters:
      mcpServerId - **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)
      commentRequestDTO - Comment object that should to be added (required)
      replyTo - ID of the perent comment. (optional)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • addCommentToMCPServer

      public CommentDTO addCommentToMCPServer(String mcpServerId, CommentRequestDTO commentRequestDTO, String replyTo) throws ApiException
      Add an MCP Server Comment
      Parameters:
      mcpServerId - **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)
      commentRequestDTO - Comment object that should to be added (required)
      replyTo - ID of the perent comment. (optional)
      Returns:
      CommentDTO
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • addCommentToMCPServerWithHttpInfo

      public ApiResponse<CommentDTO> addCommentToMCPServerWithHttpInfo(String mcpServerId, CommentRequestDTO commentRequestDTO, String replyTo) throws ApiException
      Add an MCP Server Comment
      Parameters:
      mcpServerId - **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)
      commentRequestDTO - Comment object that should to be added (required)
      replyTo - ID of the perent comment. (optional)
      Returns:
      ApiResponse<CommentDTO>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • addCommentToMCPServerAsync

      public okhttp3.Call addCommentToMCPServerAsync(String mcpServerId, CommentRequestDTO commentRequestDTO, String replyTo, ApiCallback<CommentDTO> _callback) throws ApiException
      Add an MCP Server Comment (asynchronously)
      Parameters:
      mcpServerId - **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)
      commentRequestDTO - Comment object that should to be added (required)
      replyTo - ID of the perent comment. (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
    • deleteCommentCall

      public okhttp3.Call deleteCommentCall(String commentId, String apiId, String ifMatch, ApiCallback _callback) throws ApiException
      Build call for deleteComment
      Parameters:
      commentId - Comment Id (required)
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      ifMatch - Validator for conditional requests; based on ETag. (optional)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • deleteComment

      public void deleteComment(String commentId, String apiId, String ifMatch) throws ApiException
      Delete an API Comment Remove a Comment
      Parameters:
      commentId - Comment Id (required)
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      ifMatch - Validator for conditional requests; based on ETag. (optional)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • deleteCommentWithHttpInfo

      public ApiResponse<Void> deleteCommentWithHttpInfo(String commentId, String apiId, String ifMatch) throws ApiException
      Delete an API Comment Remove a Comment
      Parameters:
      commentId - Comment Id (required)
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      ifMatch - Validator for conditional requests; based on ETag. (optional)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • deleteCommentAsync

      public okhttp3.Call deleteCommentAsync(String commentId, String apiId, String ifMatch, ApiCallback<Void> _callback) throws ApiException
      Delete an API Comment (asynchronously) Remove a Comment
      Parameters:
      commentId - Comment Id (required)
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      ifMatch - Validator for conditional requests; based on ETag. (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
    • deleteCommentOfMCPServerCall

      public okhttp3.Call deleteCommentOfMCPServerCall(String commentId, String mcpServerId, String ifMatch, ApiCallback _callback) throws ApiException
      Build call for deleteCommentOfMCPServer
      Parameters:
      commentId - Comment Id (required)
      mcpServerId - **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)
      ifMatch - Validator for conditional requests; based on ETag. (optional)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • deleteCommentOfMCPServer

      public void deleteCommentOfMCPServer(String commentId, String mcpServerId, String ifMatch) throws ApiException
      Delete a MCP Server Comment Remove a Comment
      Parameters:
      commentId - Comment Id (required)
      mcpServerId - **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)
      ifMatch - Validator for conditional requests; based on ETag. (optional)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • deleteCommentOfMCPServerWithHttpInfo

      public ApiResponse<Void> deleteCommentOfMCPServerWithHttpInfo(String commentId, String mcpServerId, String ifMatch) throws ApiException
      Delete a MCP Server Comment Remove a Comment
      Parameters:
      commentId - Comment Id (required)
      mcpServerId - **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)
      ifMatch - Validator for conditional requests; based on ETag. (optional)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • deleteCommentOfMCPServerAsync

      public okhttp3.Call deleteCommentOfMCPServerAsync(String commentId, String mcpServerId, String ifMatch, ApiCallback<Void> _callback) throws ApiException
      Delete a MCP Server Comment (asynchronously) Remove a Comment
      Parameters:
      commentId - Comment Id (required)
      mcpServerId - **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)
      ifMatch - Validator for conditional requests; based on ETag. (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
    • editCommentOfAPICall

      public okhttp3.Call editCommentOfAPICall(String commentId, String apiId, PatchRequestBodyDTO patchRequestBodyDTO, ApiCallback _callback) throws ApiException
      Build call for editCommentOfAPI
      Parameters:
      commentId - Comment Id (required)
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      patchRequestBodyDTO - (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • editCommentOfAPI

      public CommentDTO editCommentOfAPI(String commentId, String apiId, PatchRequestBodyDTO patchRequestBodyDTO) throws ApiException
      Edit a comment Edit the individual comment
      Parameters:
      commentId - Comment Id (required)
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      patchRequestBodyDTO - (required)
      Returns:
      CommentDTO
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • editCommentOfAPIWithHttpInfo

      public ApiResponse<CommentDTO> editCommentOfAPIWithHttpInfo(String commentId, String apiId, PatchRequestBodyDTO patchRequestBodyDTO) throws ApiException
      Edit a comment Edit the individual comment
      Parameters:
      commentId - Comment Id (required)
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      patchRequestBodyDTO - (required)
      Returns:
      ApiResponse<CommentDTO>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • editCommentOfAPIAsync

      public okhttp3.Call editCommentOfAPIAsync(String commentId, String apiId, PatchRequestBodyDTO patchRequestBodyDTO, ApiCallback<CommentDTO> _callback) throws ApiException
      Edit a comment (asynchronously) Edit the individual comment
      Parameters:
      commentId - Comment Id (required)
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      patchRequestBodyDTO - (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
    • editCommentOfMCPServerCall

      public okhttp3.Call editCommentOfMCPServerCall(String commentId, String mcpServerId, CommentRequestDTO commentRequestDTO, ApiCallback _callback) throws ApiException
      Build call for editCommentOfMCPServer
      Parameters:
      commentId - Comment Id (required)
      mcpServerId - **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)
      commentRequestDTO - Comment object that should to be updated (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • editCommentOfMCPServer

      public CommentDTO editCommentOfMCPServer(String commentId, String mcpServerId, CommentRequestDTO commentRequestDTO) throws ApiException
      Edit a comment Edit the individual comment
      Parameters:
      commentId - Comment Id (required)
      mcpServerId - **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)
      commentRequestDTO - Comment object that should to be updated (required)
      Returns:
      CommentDTO
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • editCommentOfMCPServerWithHttpInfo

      public ApiResponse<CommentDTO> editCommentOfMCPServerWithHttpInfo(String commentId, String mcpServerId, CommentRequestDTO commentRequestDTO) throws ApiException
      Edit a comment Edit the individual comment
      Parameters:
      commentId - Comment Id (required)
      mcpServerId - **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)
      commentRequestDTO - Comment object that should to be updated (required)
      Returns:
      ApiResponse<CommentDTO>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • editCommentOfMCPServerAsync

      public okhttp3.Call editCommentOfMCPServerAsync(String commentId, String mcpServerId, CommentRequestDTO commentRequestDTO, ApiCallback<CommentDTO> _callback) throws ApiException
      Edit a comment (asynchronously) Edit the individual comment
      Parameters:
      commentId - Comment Id (required)
      mcpServerId - **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)
      commentRequestDTO - Comment object that should to be updated (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
    • getAllCommentsOfAPICall

      public okhttp3.Call getAllCommentsOfAPICall(String apiId, String xWSO2Tenant, Integer limit, Integer offset, Boolean includeCommenterInfo, ApiCallback _callback) throws ApiException
      Build call for getAllCommentsOfAPI
      Parameters:
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)
      limit - Maximum size of resource array to return. (optional, default to 25)
      offset - Starting point within the complete list of items qualified. (optional, default to 0)
      includeCommenterInfo - Whether we need to display commentor details. (optional, default to false)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • getAllCommentsOfAPI

      public CommentListDTO getAllCommentsOfAPI(String apiId, String xWSO2Tenant, Integer limit, Integer offset, Boolean includeCommenterInfo) throws ApiException
      Retrieve API Comments Get a list of Comments that are already added to APIs
      Parameters:
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)
      limit - Maximum size of resource array to return. (optional, default to 25)
      offset - Starting point within the complete list of items qualified. (optional, default to 0)
      includeCommenterInfo - Whether we need to display commentor details. (optional, default to false)
      Returns:
      CommentListDTO
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAllCommentsOfAPIWithHttpInfo

      public ApiResponse<CommentListDTO> getAllCommentsOfAPIWithHttpInfo(String apiId, String xWSO2Tenant, Integer limit, Integer offset, Boolean includeCommenterInfo) throws ApiException
      Retrieve API Comments Get a list of Comments that are already added to APIs
      Parameters:
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)
      limit - Maximum size of resource array to return. (optional, default to 25)
      offset - Starting point within the complete list of items qualified. (optional, default to 0)
      includeCommenterInfo - Whether we need to display commentor details. (optional, default to false)
      Returns:
      ApiResponse<CommentListDTO>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAllCommentsOfAPIAsync

      public okhttp3.Call getAllCommentsOfAPIAsync(String apiId, String xWSO2Tenant, Integer limit, Integer offset, Boolean includeCommenterInfo, ApiCallback<CommentListDTO> _callback) throws ApiException
      Retrieve API Comments (asynchronously) Get a list of Comments that are already added to APIs
      Parameters:
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)
      limit - Maximum size of resource array to return. (optional, default to 25)
      offset - Starting point within the complete list of items qualified. (optional, default to 0)
      includeCommenterInfo - Whether we need to display commentor details. (optional, default to false)
      _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
    • getAllCommentsOfMCPServerCall

      public okhttp3.Call getAllCommentsOfMCPServerCall(String mcpServerId, String xWSO2Tenant, Integer limit, Integer offset, Boolean includeCommenterInfo, ApiCallback _callback) throws ApiException
      Build call for getAllCommentsOfMCPServer
      Parameters:
      mcpServerId - **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)
      xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)
      limit - Maximum size of resource array to return. (optional, default to 25)
      offset - Starting point within the complete list of items qualified. (optional, default to 0)
      includeCommenterInfo - Whether we need to display commentor details. (optional, default to false)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • getAllCommentsOfMCPServer

      public CommentListDTO getAllCommentsOfMCPServer(String mcpServerId, String xWSO2Tenant, Integer limit, Integer offset, Boolean includeCommenterInfo) throws ApiException
      Retrieve MCP Server Comments Get a list of Comments that are already added to MCP Server
      Parameters:
      mcpServerId - **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)
      xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)
      limit - Maximum size of resource array to return. (optional, default to 25)
      offset - Starting point within the complete list of items qualified. (optional, default to 0)
      includeCommenterInfo - Whether we need to display commentor details. (optional, default to false)
      Returns:
      CommentListDTO
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAllCommentsOfMCPServerWithHttpInfo

      public ApiResponse<CommentListDTO> getAllCommentsOfMCPServerWithHttpInfo(String mcpServerId, String xWSO2Tenant, Integer limit, Integer offset, Boolean includeCommenterInfo) throws ApiException
      Retrieve MCP Server Comments Get a list of Comments that are already added to MCP Server
      Parameters:
      mcpServerId - **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)
      xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)
      limit - Maximum size of resource array to return. (optional, default to 25)
      offset - Starting point within the complete list of items qualified. (optional, default to 0)
      includeCommenterInfo - Whether we need to display commentor details. (optional, default to false)
      Returns:
      ApiResponse<CommentListDTO>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAllCommentsOfMCPServerAsync

      public okhttp3.Call getAllCommentsOfMCPServerAsync(String mcpServerId, String xWSO2Tenant, Integer limit, Integer offset, Boolean includeCommenterInfo, ApiCallback<CommentListDTO> _callback) throws ApiException
      Retrieve MCP Server Comments (asynchronously) Get a list of Comments that are already added to MCP Server
      Parameters:
      mcpServerId - **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)
      xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)
      limit - Maximum size of resource array to return. (optional, default to 25)
      offset - Starting point within the complete list of items qualified. (optional, default to 0)
      includeCommenterInfo - Whether we need to display commentor details. (optional, default to false)
      _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
    • getCommentOfAPICall

      public okhttp3.Call getCommentOfAPICall(String commentId, String apiId, String xWSO2Tenant, String ifNoneMatch, Boolean includeCommenterInfo, Integer replyLimit, Integer replyOffset, ApiCallback _callback) throws ApiException
      Build call for getCommentOfAPI
      Parameters:
      commentId - Comment Id (required)
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)
      ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)
      includeCommenterInfo - Whether we need to display commentor details. (optional, default to false)
      replyLimit - Maximum size of replies array to return. (optional, default to 25)
      replyOffset - Starting point within the complete list of replies. (optional, default to 0)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • getCommentOfAPI

      public CommentDTO getCommentOfAPI(String commentId, String apiId, String xWSO2Tenant, String ifNoneMatch, Boolean includeCommenterInfo, Integer replyLimit, Integer replyOffset) throws ApiException
      Get Details of an API Comment Get the individual comment given by a username for a certain API.
      Parameters:
      commentId - Comment Id (required)
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)
      ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)
      includeCommenterInfo - Whether we need to display commentor details. (optional, default to false)
      replyLimit - Maximum size of replies array to return. (optional, default to 25)
      replyOffset - Starting point within the complete list of replies. (optional, default to 0)
      Returns:
      CommentDTO
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getCommentOfAPIWithHttpInfo

      public ApiResponse<CommentDTO> getCommentOfAPIWithHttpInfo(String commentId, String apiId, String xWSO2Tenant, String ifNoneMatch, Boolean includeCommenterInfo, Integer replyLimit, Integer replyOffset) throws ApiException
      Get Details of an API Comment Get the individual comment given by a username for a certain API.
      Parameters:
      commentId - Comment Id (required)
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)
      ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)
      includeCommenterInfo - Whether we need to display commentor details. (optional, default to false)
      replyLimit - Maximum size of replies array to return. (optional, default to 25)
      replyOffset - Starting point within the complete list of replies. (optional, default to 0)
      Returns:
      ApiResponse<CommentDTO>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getCommentOfAPIAsync

      public okhttp3.Call getCommentOfAPIAsync(String commentId, String apiId, String xWSO2Tenant, String ifNoneMatch, Boolean includeCommenterInfo, Integer replyLimit, Integer replyOffset, ApiCallback<CommentDTO> _callback) throws ApiException
      Get Details of an API Comment (asynchronously) Get the individual comment given by a username for a certain API.
      Parameters:
      commentId - Comment Id (required)
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)
      ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)
      includeCommenterInfo - Whether we need to display commentor details. (optional, default to false)
      replyLimit - Maximum size of replies array to return. (optional, default to 25)
      replyOffset - Starting point within the complete list of replies. (optional, default to 0)
      _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
    • getCommentOfMCPServerCall

      public okhttp3.Call getCommentOfMCPServerCall(String commentId, String mcpServerId, String xWSO2Tenant, String ifNoneMatch, Boolean includeCommenterInfo, Integer replyLimit, Integer replyOffset, ApiCallback _callback) throws ApiException
      Build call for getCommentOfMCPServer
      Parameters:
      commentId - Comment Id (required)
      mcpServerId - **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)
      xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)
      ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)
      includeCommenterInfo - Whether we need to display commentor details. (optional, default to false)
      replyLimit - Maximum size of replies array to return. (optional, default to 25)
      replyOffset - Starting point within the complete list of replies. (optional, default to 0)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • getCommentOfMCPServer

      public CommentDTO getCommentOfMCPServer(String commentId, String mcpServerId, String xWSO2Tenant, String ifNoneMatch, Boolean includeCommenterInfo, Integer replyLimit, Integer replyOffset) throws ApiException
      Get Details of an API Comment Get the individual comment given by a username for a certain MCP Server.
      Parameters:
      commentId - Comment Id (required)
      mcpServerId - **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)
      xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)
      ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)
      includeCommenterInfo - Whether we need to display commentor details. (optional, default to false)
      replyLimit - Maximum size of replies array to return. (optional, default to 25)
      replyOffset - Starting point within the complete list of replies. (optional, default to 0)
      Returns:
      CommentDTO
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getCommentOfMCPServerWithHttpInfo

      public ApiResponse<CommentDTO> getCommentOfMCPServerWithHttpInfo(String commentId, String mcpServerId, String xWSO2Tenant, String ifNoneMatch, Boolean includeCommenterInfo, Integer replyLimit, Integer replyOffset) throws ApiException
      Get Details of an API Comment Get the individual comment given by a username for a certain MCP Server.
      Parameters:
      commentId - Comment Id (required)
      mcpServerId - **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)
      xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)
      ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)
      includeCommenterInfo - Whether we need to display commentor details. (optional, default to false)
      replyLimit - Maximum size of replies array to return. (optional, default to 25)
      replyOffset - Starting point within the complete list of replies. (optional, default to 0)
      Returns:
      ApiResponse<CommentDTO>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getCommentOfMCPServerAsync

      public okhttp3.Call getCommentOfMCPServerAsync(String commentId, String mcpServerId, String xWSO2Tenant, String ifNoneMatch, Boolean includeCommenterInfo, Integer replyLimit, Integer replyOffset, ApiCallback<CommentDTO> _callback) throws ApiException
      Get Details of an API Comment (asynchronously) Get the individual comment given by a username for a certain MCP Server.
      Parameters:
      commentId - Comment Id (required)
      mcpServerId - **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)
      xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)
      ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)
      includeCommenterInfo - Whether we need to display commentor details. (optional, default to false)
      replyLimit - Maximum size of replies array to return. (optional, default to 25)
      replyOffset - Starting point within the complete list of replies. (optional, default to 0)
      _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
    • getRepliesOfCommentCall

      public okhttp3.Call getRepliesOfCommentCall(String commentId, String apiId, String xWSO2Tenant, Integer limit, Integer offset, String ifNoneMatch, Boolean includeCommenterInfo, ApiCallback _callback) throws ApiException
      Build call for getRepliesOfComment
      Parameters:
      commentId - Comment Id (required)
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)
      limit - Maximum size of resource array to return. (optional, default to 25)
      offset - Starting point within the complete list of items qualified. (optional, default to 0)
      ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)
      includeCommenterInfo - Whether we need to display commentor details. (optional, default to false)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • getRepliesOfComment

      public CommentListDTO getRepliesOfComment(String commentId, String apiId, String xWSO2Tenant, Integer limit, Integer offset, String ifNoneMatch, Boolean includeCommenterInfo) throws ApiException
      Get replies of a comment Get replies of a comment
      Parameters:
      commentId - Comment Id (required)
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)
      limit - Maximum size of resource array to return. (optional, default to 25)
      offset - Starting point within the complete list of items qualified. (optional, default to 0)
      ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)
      includeCommenterInfo - Whether we need to display commentor details. (optional, default to false)
      Returns:
      CommentListDTO
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getRepliesOfCommentWithHttpInfo

      public ApiResponse<CommentListDTO> getRepliesOfCommentWithHttpInfo(String commentId, String apiId, String xWSO2Tenant, Integer limit, Integer offset, String ifNoneMatch, Boolean includeCommenterInfo) throws ApiException
      Get replies of a comment Get replies of a comment
      Parameters:
      commentId - Comment Id (required)
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)
      limit - Maximum size of resource array to return. (optional, default to 25)
      offset - Starting point within the complete list of items qualified. (optional, default to 0)
      ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)
      includeCommenterInfo - Whether we need to display commentor details. (optional, default to false)
      Returns:
      ApiResponse<CommentListDTO>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getRepliesOfCommentAsync

      public okhttp3.Call getRepliesOfCommentAsync(String commentId, String apiId, String xWSO2Tenant, Integer limit, Integer offset, String ifNoneMatch, Boolean includeCommenterInfo, ApiCallback<CommentListDTO> _callback) throws ApiException
      Get replies of a comment (asynchronously) Get replies of a comment
      Parameters:
      commentId - Comment Id (required)
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)
      limit - Maximum size of resource array to return. (optional, default to 25)
      offset - Starting point within the complete list of items qualified. (optional, default to 0)
      ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)
      includeCommenterInfo - Whether we need to display commentor details. (optional, default to false)
      _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
    • getRepliesOfCommentOfMCPServerCall

      public okhttp3.Call getRepliesOfCommentOfMCPServerCall(String commentId, String mcpServerId, String xWSO2Tenant, Integer limit, Integer offset, String ifNoneMatch, Boolean includeCommenterInfo, ApiCallback _callback) throws ApiException
      Build call for getRepliesOfCommentOfMCPServer
      Parameters:
      commentId - Comment Id (required)
      mcpServerId - **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)
      xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)
      limit - Maximum size of resource array to return. (optional, default to 25)
      offset - Starting point within the complete list of items qualified. (optional, default to 0)
      ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)
      includeCommenterInfo - Whether we need to display commentor details. (optional, default to false)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • getRepliesOfCommentOfMCPServer

      public CommentListDTO getRepliesOfCommentOfMCPServer(String commentId, String mcpServerId, String xWSO2Tenant, Integer limit, Integer offset, String ifNoneMatch, Boolean includeCommenterInfo) throws ApiException
      Get replies of a comment Get replies of a comment
      Parameters:
      commentId - Comment Id (required)
      mcpServerId - **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)
      xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)
      limit - Maximum size of resource array to return. (optional, default to 25)
      offset - Starting point within the complete list of items qualified. (optional, default to 0)
      ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)
      includeCommenterInfo - Whether we need to display commentor details. (optional, default to false)
      Returns:
      CommentListDTO
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getRepliesOfCommentOfMCPServerWithHttpInfo

      public ApiResponse<CommentListDTO> getRepliesOfCommentOfMCPServerWithHttpInfo(String commentId, String mcpServerId, String xWSO2Tenant, Integer limit, Integer offset, String ifNoneMatch, Boolean includeCommenterInfo) throws ApiException
      Get replies of a comment Get replies of a comment
      Parameters:
      commentId - Comment Id (required)
      mcpServerId - **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)
      xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)
      limit - Maximum size of resource array to return. (optional, default to 25)
      offset - Starting point within the complete list of items qualified. (optional, default to 0)
      ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)
      includeCommenterInfo - Whether we need to display commentor details. (optional, default to false)
      Returns:
      ApiResponse<CommentListDTO>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getRepliesOfCommentOfMCPServerAsync

      public okhttp3.Call getRepliesOfCommentOfMCPServerAsync(String commentId, String mcpServerId, String xWSO2Tenant, Integer limit, Integer offset, String ifNoneMatch, Boolean includeCommenterInfo, ApiCallback<CommentListDTO> _callback) throws ApiException
      Get replies of a comment (asynchronously) Get replies of a comment
      Parameters:
      commentId - Comment Id (required)
      mcpServerId - **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)
      xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)
      limit - Maximum size of resource array to return. (optional, default to 25)
      offset - Starting point within the complete list of items qualified. (optional, default to 0)
      ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)
      includeCommenterInfo - Whether we need to display commentor details. (optional, default to false)
      _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