Class TopicsApi


  • public class TopicsApi
    extends Object
    • Constructor Detail

      • TopicsApi

        public TopicsApi()
      • TopicsApi

        public TopicsApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • apisApiIdTopicsGetCall

        public okhttp3.Call apisApiIdTopicsGetCall​(String apiId,
                                                   String xWSO2Tenant,
                                                   ApiCallback _callback)
                                            throws ApiException
        Build call for apisApiIdTopicsGet
        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 retrieved from. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • apisApiIdTopicsGet

        public TopicListDTO apisApiIdTopicsGet​(String apiId,
                                               String xWSO2Tenant)
                                        throws ApiException
        Get a list of available topics for a given async API This operation will provide a list of topics available for a given Async API, based on the provided API ID.
        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 retrieved from. (optional)
        Returns:
        TopicListDTO
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • apisApiIdTopicsGetWithHttpInfo

        public ApiResponse<TopicListDTO> apisApiIdTopicsGetWithHttpInfo​(String apiId,
                                                                        String xWSO2Tenant)
                                                                 throws ApiException
        Get a list of available topics for a given async API This operation will provide a list of topics available for a given Async API, based on the provided API ID.
        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 retrieved from. (optional)
        Returns:
        ApiResponse<TopicListDTO>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • apisApiIdTopicsGetAsync

        public okhttp3.Call apisApiIdTopicsGetAsync​(String apiId,
                                                    String xWSO2Tenant,
                                                    ApiCallback<TopicListDTO> _callback)
                                             throws ApiException
        Get a list of available topics for a given async API (asynchronously) This operation will provide a list of topics available for a given Async API, based on the provided API ID.
        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 retrieved from. (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