@@ -231,7 +231,9 @@ public okhttp3.Call getResourcesDiscoverCategoriesAsync(String categoryId, Strin
231231 * @param resourceIds A comma-separated list of resource IDs to filter on. (optional)
232232 * @param page The page number to return. (optional, default to 1)
233233 * @param perPage The number of resources to return per page. (optional, default to 25)
234- * @param noDependencies (optional)
234+ * @param noDependencies Whether or not to exclude resources with dependencies listed. (optional)
235+ * @param excludedResourceIds A comma-separated list of resource IDs to exclude. No filter will be applied if empty. (optional)
236+ * @param excludedCreatorIds A comma-separated list of creator IDs to exclude. No filter will be applied if empty. (optional)
235237 * @param _callback Callback for upload/download progress
236238 * @return Call to execute
237239 * @throws ApiException If fail to serialize the request body object
@@ -243,7 +245,7 @@ public okhttp3.Call getResourcesDiscoverCategoriesAsync(String categoryId, Strin
243245 <tr><td> 5XX </td><td> </td><td> - </td></tr>
244246 </table>
245247 */
246- public okhttp3 .Call getResourcesDiscoverResourcesCall (String categoryId , String with , Object filters , String resourceIds , Integer page , BigDecimal perPage , Boolean noDependencies , final ApiCallback _callback ) throws ApiException {
248+ public okhttp3 .Call getResourcesDiscoverResourcesCall (String categoryId , String with , Object filters , String resourceIds , Integer page , BigDecimal perPage , Boolean noDependencies , String excludedResourceIds , String excludedCreatorIds , final ApiCallback _callback ) throws ApiException {
247249 String basePath = null ;
248250 // Operation Servers
249251 String [] localBasePaths = new String [] { };
@@ -296,6 +298,14 @@ public okhttp3.Call getResourcesDiscoverResourcesCall(String categoryId, String
296298 localVarQueryParams .addAll (localVarApiClient .parameterToPair ("no_dependencies" , noDependencies ));
297299 }
298300
301+ if (excludedResourceIds != null ) {
302+ localVarQueryParams .addAll (localVarApiClient .parameterToPair ("excluded_resource_ids" , excludedResourceIds ));
303+ }
304+
305+ if (excludedCreatorIds != null ) {
306+ localVarQueryParams .addAll (localVarApiClient .parameterToPair ("excluded_creator_ids" , excludedCreatorIds ));
307+ }
308+
299309 final String [] localVarAccepts = {
300310 "application/json"
301311 };
@@ -316,8 +326,8 @@ public okhttp3.Call getResourcesDiscoverResourcesCall(String categoryId, String
316326 }
317327
318328 @ SuppressWarnings ("rawtypes" )
319- private okhttp3 .Call getResourcesDiscoverResourcesValidateBeforeCall (String categoryId , String with , Object filters , String resourceIds , Integer page , BigDecimal perPage , Boolean noDependencies , final ApiCallback _callback ) throws ApiException {
320- return getResourcesDiscoverResourcesCall (categoryId , with , filters , resourceIds , page , perPage , noDependencies , _callback );
329+ private okhttp3 .Call getResourcesDiscoverResourcesValidateBeforeCall (String categoryId , String with , Object filters , String resourceIds , Integer page , BigDecimal perPage , Boolean noDependencies , String excludedResourceIds , String excludedCreatorIds , final ApiCallback _callback ) throws ApiException {
330+ return getResourcesDiscoverResourcesCall (categoryId , with , filters , resourceIds , page , perPage , noDependencies , excludedResourceIds , excludedCreatorIds , _callback );
321331
322332 }
323333
@@ -330,7 +340,9 @@ private okhttp3.Call getResourcesDiscoverResourcesValidateBeforeCall(String cate
330340 * @param resourceIds A comma-separated list of resource IDs to filter on. (optional)
331341 * @param page The page number to return. (optional, default to 1)
332342 * @param perPage The number of resources to return per page. (optional, default to 25)
333- * @param noDependencies (optional)
343+ * @param noDependencies Whether or not to exclude resources with dependencies listed. (optional)
344+ * @param excludedResourceIds A comma-separated list of resource IDs to exclude. No filter will be applied if empty. (optional)
345+ * @param excludedCreatorIds A comma-separated list of creator IDs to exclude. No filter will be applied if empty. (optional)
334346 * @return GetResourcesDiscoverResources200Response
335347 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
336348 * @http.response.details
@@ -341,8 +353,8 @@ private okhttp3.Call getResourcesDiscoverResourcesValidateBeforeCall(String cate
341353 <tr><td> 5XX </td><td> </td><td> - </td></tr>
342354 </table>
343355 */
344- public GetResourcesDiscoverResources200Response getResourcesDiscoverResources (String categoryId , String with , Object filters , String resourceIds , Integer page , BigDecimal perPage , Boolean noDependencies ) throws ApiException {
345- ApiResponse <GetResourcesDiscoverResources200Response > localVarResp = getResourcesDiscoverResourcesWithHttpInfo (categoryId , with , filters , resourceIds , page , perPage , noDependencies );
356+ public GetResourcesDiscoverResources200Response getResourcesDiscoverResources (String categoryId , String with , Object filters , String resourceIds , Integer page , BigDecimal perPage , Boolean noDependencies , String excludedResourceIds , String excludedCreatorIds ) throws ApiException {
357+ ApiResponse <GetResourcesDiscoverResources200Response > localVarResp = getResourcesDiscoverResourcesWithHttpInfo (categoryId , with , filters , resourceIds , page , perPage , noDependencies , excludedResourceIds , excludedCreatorIds );
346358 return localVarResp .getData ();
347359 }
348360
@@ -355,7 +367,9 @@ public GetResourcesDiscoverResources200Response getResourcesDiscoverResources(St
355367 * @param resourceIds A comma-separated list of resource IDs to filter on. (optional)
356368 * @param page The page number to return. (optional, default to 1)
357369 * @param perPage The number of resources to return per page. (optional, default to 25)
358- * @param noDependencies (optional)
370+ * @param noDependencies Whether or not to exclude resources with dependencies listed. (optional)
371+ * @param excludedResourceIds A comma-separated list of resource IDs to exclude. No filter will be applied if empty. (optional)
372+ * @param excludedCreatorIds A comma-separated list of creator IDs to exclude. No filter will be applied if empty. (optional)
359373 * @return ApiResponse<GetResourcesDiscoverResources200Response>
360374 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
361375 * @http.response.details
@@ -366,8 +380,8 @@ public GetResourcesDiscoverResources200Response getResourcesDiscoverResources(St
366380 <tr><td> 5XX </td><td> </td><td> - </td></tr>
367381 </table>
368382 */
369- public ApiResponse <GetResourcesDiscoverResources200Response > getResourcesDiscoverResourcesWithHttpInfo (String categoryId , String with , Object filters , String resourceIds , Integer page , BigDecimal perPage , Boolean noDependencies ) throws ApiException {
370- okhttp3 .Call localVarCall = getResourcesDiscoverResourcesValidateBeforeCall (categoryId , with , filters , resourceIds , page , perPage , noDependencies , null );
383+ public ApiResponse <GetResourcesDiscoverResources200Response > getResourcesDiscoverResourcesWithHttpInfo (String categoryId , String with , Object filters , String resourceIds , Integer page , BigDecimal perPage , Boolean noDependencies , String excludedResourceIds , String excludedCreatorIds ) throws ApiException {
384+ okhttp3 .Call localVarCall = getResourcesDiscoverResourcesValidateBeforeCall (categoryId , with , filters , resourceIds , page , perPage , noDependencies , excludedResourceIds , excludedCreatorIds , null );
371385 Type localVarReturnType = new TypeToken <GetResourcesDiscoverResources200Response >(){}.getType ();
372386 return localVarApiClient .execute (localVarCall , localVarReturnType );
373387 }
@@ -381,7 +395,9 @@ public ApiResponse<GetResourcesDiscoverResources200Response> getResourcesDiscove
381395 * @param resourceIds A comma-separated list of resource IDs to filter on. (optional)
382396 * @param page The page number to return. (optional, default to 1)
383397 * @param perPage The number of resources to return per page. (optional, default to 25)
384- * @param noDependencies (optional)
398+ * @param noDependencies Whether or not to exclude resources with dependencies listed. (optional)
399+ * @param excludedResourceIds A comma-separated list of resource IDs to exclude. No filter will be applied if empty. (optional)
400+ * @param excludedCreatorIds A comma-separated list of creator IDs to exclude. No filter will be applied if empty. (optional)
385401 * @param _callback The callback to be executed when the API call finishes
386402 * @return The request call
387403 * @throws ApiException If fail to process the API call, e.g. serializing the request body object
@@ -393,9 +409,9 @@ public ApiResponse<GetResourcesDiscoverResources200Response> getResourcesDiscove
393409 <tr><td> 5XX </td><td> </td><td> - </td></tr>
394410 </table>
395411 */
396- public okhttp3 .Call getResourcesDiscoverResourcesAsync (String categoryId , String with , Object filters , String resourceIds , Integer page , BigDecimal perPage , Boolean noDependencies , final ApiCallback <GetResourcesDiscoverResources200Response > _callback ) throws ApiException {
412+ public okhttp3 .Call getResourcesDiscoverResourcesAsync (String categoryId , String with , Object filters , String resourceIds , Integer page , BigDecimal perPage , Boolean noDependencies , String excludedResourceIds , String excludedCreatorIds , final ApiCallback <GetResourcesDiscoverResources200Response > _callback ) throws ApiException {
397413
398- okhttp3 .Call localVarCall = getResourcesDiscoverResourcesValidateBeforeCall (categoryId , with , filters , resourceIds , page , perPage , noDependencies , _callback );
414+ okhttp3 .Call localVarCall = getResourcesDiscoverResourcesValidateBeforeCall (categoryId , with , filters , resourceIds , page , perPage , noDependencies , excludedResourceIds , excludedCreatorIds , _callback );
399415 Type localVarReturnType = new TypeToken <GetResourcesDiscoverResources200Response >(){}.getType ();
400416 localVarApiClient .executeAsync (localVarCall , localVarReturnType , _callback );
401417 return localVarCall ;
0 commit comments