429 | Rate Limiting | * X-Rate-Limit-Limit - * X-Rate-Limit-Remaining - * X-Rate-Limit-Reset - |
*/
- public okhttp3.Call customMetadataPropertiesListCall(String accountId, String xPhraseAppOTP, CustomMetadataDataType dataType, String projectId, Integer page, Integer perPage, String sort, String order, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call customMetadataPropertiesListCall(String accountId, String xPhraseAppOTP, CustomMetadataDataType dataType, String projectId, Integer page, Integer perPage, String q, String sort, String order, final ApiCallback _callback) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@@ -241,6 +242,10 @@ public okhttp3.Call customMetadataPropertiesListCall(String accountId, String xP
localVarQueryParams.addAll(localVarApiClient.parameterToPair("per_page", perPage));
}
+ if (q != null) {
+ localVarQueryParams.addAll(localVarApiClient.parameterToPair("q", q));
+ }
+
if (sort != null) {
localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort));
}
@@ -275,7 +280,7 @@ public okhttp3.Call customMetadataPropertiesListCall(String accountId, String xP
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call customMetadataPropertiesListValidateBeforeCall(String accountId, String xPhraseAppOTP, CustomMetadataDataType dataType, String projectId, Integer page, Integer perPage, String sort, String order, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call customMetadataPropertiesListValidateBeforeCall(String accountId, String xPhraseAppOTP, CustomMetadataDataType dataType, String projectId, Integer page, Integer perPage, String q, String sort, String order, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'accountId' is set
if (accountId == null) {
@@ -283,7 +288,7 @@ private okhttp3.Call customMetadataPropertiesListValidateBeforeCall(String accou
}
- okhttp3.Call localVarCall = customMetadataPropertiesListCall(accountId, xPhraseAppOTP, dataType, projectId, page, perPage, sort, order, _callback);
+ okhttp3.Call localVarCall = customMetadataPropertiesListCall(accountId, xPhraseAppOTP, dataType, projectId, page, perPage, q, sort, order, _callback);
return localVarCall;
}
@@ -297,6 +302,7 @@ private okhttp3.Call customMetadataPropertiesListValidateBeforeCall(String accou
* @param projectId id of project that the properties belong to (optional)
* @param page Page number (optional)
* @param perPage Limit on the number of objects to be returned, between 1 and 100. 25 by default (optional)
+ * @param q query to find a property by name (optional)
* @param sort Sort criteria. Can be one of: name, data_type, created_at. (optional)
* @param order Order direction. Can be one of: asc, desc. (optional)
* @return List<CustomMetadataProperty>
@@ -310,8 +316,8 @@ private okhttp3.Call customMetadataPropertiesListValidateBeforeCall(String accou