| 422 | Invalid request parameters | - |
*/
- public okhttp3.Call getAnalysisStringsCall(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nullable Integer page, @javax.annotation.Nullable Integer pageSize, @javax.annotation.Nullable String search, @javax.annotation.Nullable String functionSearch, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call getAnalysisStringsCall(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nullable Integer page, @javax.annotation.Nullable Integer pageSize, @javax.annotation.Nullable String search, @javax.annotation.Nullable String functionSearch, @javax.annotation.Nullable String orderBy, @javax.annotation.Nullable String sortOrder, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { };
@@ -960,6 +962,14 @@ public okhttp3.Call getAnalysisStringsCall(@javax.annotation.Nonnull Integer ana
localVarQueryParams.addAll(localVarApiClient.parameterToPair("function_search", functionSearch));
}
+ if (orderBy != null) {
+ localVarQueryParams.addAll(localVarApiClient.parameterToPair("order_by", orderBy));
+ }
+
+ if (sortOrder != null) {
+ localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort_order", sortOrder));
+ }
+
final String[] localVarAccepts = {
"application/json"
};
@@ -980,13 +990,13 @@ public okhttp3.Call getAnalysisStringsCall(@javax.annotation.Nonnull Integer ana
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call getAnalysisStringsValidateBeforeCall(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nullable Integer page, @javax.annotation.Nullable Integer pageSize, @javax.annotation.Nullable String search, @javax.annotation.Nullable String functionSearch, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call getAnalysisStringsValidateBeforeCall(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nullable Integer page, @javax.annotation.Nullable Integer pageSize, @javax.annotation.Nullable String search, @javax.annotation.Nullable String functionSearch, @javax.annotation.Nullable String orderBy, @javax.annotation.Nullable String sortOrder, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'analysisId' is set
if (analysisId == null) {
throw new ApiException("Missing the required parameter 'analysisId' when calling getAnalysisStrings(Async)");
}
- return getAnalysisStringsCall(analysisId, page, pageSize, search, functionSearch, _callback);
+ return getAnalysisStringsCall(analysisId, page, pageSize, search, functionSearch, orderBy, sortOrder, _callback);
}
@@ -998,6 +1008,8 @@ private okhttp3.Call getAnalysisStringsValidateBeforeCall(@javax.annotation.Nonn
* @param pageSize Number of items per page. (optional, default to 100)
* @param search Search is applied to string value (optional)
* @param functionSearch Search is applied to function names (optional)
+ * @param orderBy Order by field (optional, default to value)
+ * @param sortOrder Sort order for the results (optional, default to ASC)
* @return BaseResponseAnalysisStringsResponse
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -1008,8 +1020,8 @@ private okhttp3.Call getAnalysisStringsValidateBeforeCall(@javax.annotation.Nonn