public class SearchApi extends Object
| Constructor and Description |
|---|
SearchApi() |
SearchApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
String |
getCustomBaseUrl() |
int |
getHostIndex() |
SearchResponse |
search(String query,
Integer limit,
Integer offset)
Search entities by Qase Query Language (QQL).
|
okhttp3.Call |
searchAsync(String query,
Integer limit,
Integer offset,
ApiCallback<SearchResponse> _callback)
Search entities by Qase Query Language (QQL).
|
okhttp3.Call |
searchCall(String query,
Integer limit,
Integer offset,
ApiCallback _callback)
Build call for search
|
ApiResponse<SearchResponse> |
searchWithHttpInfo(String query,
Integer limit,
Integer offset)
Search entities by Qase Query Language (QQL).
|
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
public SearchApi()
public SearchApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public int getHostIndex()
public void setHostIndex(int hostIndex)
public String getCustomBaseUrl()
public void setCustomBaseUrl(String customBaseUrl)
public okhttp3.Call searchCall(String query, Integer limit, Integer offset, ApiCallback _callback) throws QaseException
query - Expression in Qase Query Language. (required)limit - A number of entities in result set. (optional, default to 10)offset - How many entities should be skipped. (optional, default to 0)_callback - Callback for upload/download progressQaseException - If fail to serialize the request body objectpublic SearchResponse search(String query, Integer limit, Integer offset) throws QaseException
query - Expression in Qase Query Language. (required)limit - A number of entities in result set. (optional, default to 10)offset - How many entities should be skipped. (optional, default to 0)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<SearchResponse> searchWithHttpInfo(String query, Integer limit, Integer offset) throws QaseException
query - Expression in Qase Query Language. (required)limit - A number of entities in result set. (optional, default to 10)offset - How many entities should be skipped. (optional, default to 0)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call searchAsync(String query, Integer limit, Integer offset, ApiCallback<SearchResponse> _callback) throws QaseException
query - Expression in Qase Query Language. (required)limit - A number of entities in result set. (optional, default to 10)offset - How many entities should be skipped. (optional, default to 0)_callback - The callback to be executed when the API call finishesQaseException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2023. All rights reserved.