Class UnifiedSearchApi


  • public class UnifiedSearchApi
    extends Object
    • Constructor Detail

      • UnifiedSearchApi

        public UnifiedSearchApi()
      • UnifiedSearchApi

        public UnifiedSearchApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • searchCall

        public okhttp3.Call searchCall​(Integer limit,
                                       Integer offset,
                                       String query,
                                       String ifNoneMatch,
                                       ApiCallback _callback)
                                throws ApiException
        Build call for search
        Parameters:
        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)
        query - **Search**. You can search by proving a keyword. (optional)
        ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • search

        public SearchResultListDTO search​(Integer limit,
                                          Integer offset,
                                          String query,
                                          String ifNoneMatch)
                                   throws ApiException
        Retrieve/Search APIs and API Documents by Content This operation provides you a list of available APIs and API Documents qualifying the given keyword match.
        Parameters:
        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)
        query - **Search**. You can search by proving a keyword. (optional)
        ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)
        Returns:
        SearchResultListDTO
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • searchWithHttpInfo

        public ApiResponse<SearchResultListDTO> searchWithHttpInfo​(Integer limit,
                                                                   Integer offset,
                                                                   String query,
                                                                   String ifNoneMatch)
                                                            throws ApiException
        Retrieve/Search APIs and API Documents by Content This operation provides you a list of available APIs and API Documents qualifying the given keyword match.
        Parameters:
        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)
        query - **Search**. You can search by proving a keyword. (optional)
        ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)
        Returns:
        ApiResponse<SearchResultListDTO>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • searchAsync

        public okhttp3.Call searchAsync​(Integer limit,
                                        Integer offset,
                                        String query,
                                        String ifNoneMatch,
                                        ApiCallback<SearchResultListDTO> _callback)
                                 throws ApiException
        Retrieve/Search APIs and API Documents by Content (asynchronously) This operation provides you a list of available APIs and API Documents qualifying the given keyword match.
        Parameters:
        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)
        query - **Search**. You can search by proving a keyword. (optional)
        ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (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