Class UnifiedSearchApi
- java.lang.Object
-
- org.wso2.am.integration.clients.publisher.api.v1.UnifiedSearchApi
-
public class UnifiedSearchApi extends Object
-
-
Constructor Summary
Constructors Constructor Description UnifiedSearchApi()UnifiedSearchApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()SearchResultListDTOsearch(Integer limit, Integer offset, String query, String ifNoneMatch)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.okhttp3.CallsearchAsync(Integer limit, Integer offset, String query, String ifNoneMatch, ApiCallback<SearchResultListDTO> _callback)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.okhttp3.CallsearchCall(Integer limit, Integer offset, String query, String ifNoneMatch, ApiCallback _callback)Build call for searchApiResponse<SearchResultListDTO>searchWithHttpInfo(Integer limit, Integer offset, String query, String ifNoneMatch)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.voidsetApiClient(ApiClient apiClient)
-
-
-
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
-
-