@@ -205,6 +205,7 @@ public okhttp3.Call getV2ResourcesCreatorAddonsAsync(List resourceIds, final Api
205205 /**
206206 * Build call for getV2ResourcesCreatorLicenses
207207 * @param resourceIds A comma-separated list of resource IDs to filter on. No filter is applied if empty. (optional)
208+ * @param buyerIds A comma-separated list of buyer IDs to filter on. No filter is applied if empty. (optional)
208209 * @param _callback Callback for upload/download progress
209210 * @return Call to execute
210211 * @throws ApiException If fail to serialize the request body object
@@ -214,7 +215,7 @@ public okhttp3.Call getV2ResourcesCreatorAddonsAsync(List resourceIds, final Api
214215 <tr><td> 200 </td><td> OK </td><td> - </td></tr>
215216 </table>
216217 */
217- public okhttp3 .Call getV2ResourcesCreatorLicensesCall (List resourceIds , final ApiCallback _callback ) throws ApiException {
218+ public okhttp3 .Call getV2ResourcesCreatorLicensesCall (List resourceIds , List buyerIds , final ApiCallback _callback ) throws ApiException {
218219 String basePath = null ;
219220 // Operation Servers
220221 String [] localBasePaths = new String [] { };
@@ -243,6 +244,10 @@ public okhttp3.Call getV2ResourcesCreatorLicensesCall(List resourceIds, final Ap
243244 localVarQueryParams .addAll (localVarApiClient .parameterToPair ("resource_ids" , resourceIds ));
244245 }
245246
247+ if (buyerIds != null ) {
248+ localVarQueryParams .addAll (localVarApiClient .parameterToPair ("buyer_ids" , buyerIds ));
249+ }
250+
246251 final String [] localVarAccepts = {
247252 "application/json"
248253 };
@@ -263,15 +268,16 @@ public okhttp3.Call getV2ResourcesCreatorLicensesCall(List resourceIds, final Ap
263268 }
264269
265270 @ SuppressWarnings ("rawtypes" )
266- private okhttp3 .Call getV2ResourcesCreatorLicensesValidateBeforeCall (List resourceIds , final ApiCallback _callback ) throws ApiException {
267- return getV2ResourcesCreatorLicensesCall (resourceIds , _callback );
271+ private okhttp3 .Call getV2ResourcesCreatorLicensesValidateBeforeCall (List resourceIds , List buyerIds , final ApiCallback _callback ) throws ApiException {
272+ return getV2ResourcesCreatorLicensesCall (resourceIds , buyerIds , _callback );
268273
269274 }
270275
271276 /**
272277 * Fetch a list of your resources' licenses
273278 *
274279 * @param resourceIds A comma-separated list of resource IDs to filter on. No filter is applied if empty. (optional)
280+ * @param buyerIds A comma-separated list of buyer IDs to filter on. No filter is applied if empty. (optional)
275281 * @return GetV2ResourcesCreatorLicenses200Response
276282 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
277283 * @http.response.details
@@ -280,15 +286,16 @@ private okhttp3.Call getV2ResourcesCreatorLicensesValidateBeforeCall(List resour
280286 <tr><td> 200 </td><td> OK </td><td> - </td></tr>
281287 </table>
282288 */
283- public GetV2ResourcesCreatorLicenses200Response getV2ResourcesCreatorLicenses (List resourceIds ) throws ApiException {
284- ApiResponse <GetV2ResourcesCreatorLicenses200Response > localVarResp = getV2ResourcesCreatorLicensesWithHttpInfo (resourceIds );
289+ public GetV2ResourcesCreatorLicenses200Response getV2ResourcesCreatorLicenses (List resourceIds , List buyerIds ) throws ApiException {
290+ ApiResponse <GetV2ResourcesCreatorLicenses200Response > localVarResp = getV2ResourcesCreatorLicensesWithHttpInfo (resourceIds , buyerIds );
285291 return localVarResp .getData ();
286292 }
287293
288294 /**
289295 * Fetch a list of your resources' licenses
290296 *
291297 * @param resourceIds A comma-separated list of resource IDs to filter on. No filter is applied if empty. (optional)
298+ * @param buyerIds A comma-separated list of buyer IDs to filter on. No filter is applied if empty. (optional)
292299 * @return ApiResponse<GetV2ResourcesCreatorLicenses200Response>
293300 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
294301 * @http.response.details
@@ -297,8 +304,8 @@ public GetV2ResourcesCreatorLicenses200Response getV2ResourcesCreatorLicenses(Li
297304 <tr><td> 200 </td><td> OK </td><td> - </td></tr>
298305 </table>
299306 */
300- public ApiResponse <GetV2ResourcesCreatorLicenses200Response > getV2ResourcesCreatorLicensesWithHttpInfo (List resourceIds ) throws ApiException {
301- okhttp3 .Call localVarCall = getV2ResourcesCreatorLicensesValidateBeforeCall (resourceIds , null );
307+ public ApiResponse <GetV2ResourcesCreatorLicenses200Response > getV2ResourcesCreatorLicensesWithHttpInfo (List resourceIds , List buyerIds ) throws ApiException {
308+ okhttp3 .Call localVarCall = getV2ResourcesCreatorLicensesValidateBeforeCall (resourceIds , buyerIds , null );
302309 Type localVarReturnType = new TypeToken <GetV2ResourcesCreatorLicenses200Response >(){}.getType ();
303310 return localVarApiClient .execute (localVarCall , localVarReturnType );
304311 }
@@ -307,6 +314,7 @@ public ApiResponse<GetV2ResourcesCreatorLicenses200Response> getV2ResourcesCreat
307314 * Fetch a list of your resources' licenses (asynchronously)
308315 *
309316 * @param resourceIds A comma-separated list of resource IDs to filter on. No filter is applied if empty. (optional)
317+ * @param buyerIds A comma-separated list of buyer IDs to filter on. No filter is applied if empty. (optional)
310318 * @param _callback The callback to be executed when the API call finishes
311319 * @return The request call
312320 * @throws ApiException If fail to process the API call, e.g. serializing the request body object
@@ -316,9 +324,9 @@ public ApiResponse<GetV2ResourcesCreatorLicenses200Response> getV2ResourcesCreat
316324 <tr><td> 200 </td><td> OK </td><td> - </td></tr>
317325 </table>
318326 */
319- public okhttp3 .Call getV2ResourcesCreatorLicensesAsync (List resourceIds , final ApiCallback <GetV2ResourcesCreatorLicenses200Response > _callback ) throws ApiException {
327+ public okhttp3 .Call getV2ResourcesCreatorLicensesAsync (List resourceIds , List buyerIds , final ApiCallback <GetV2ResourcesCreatorLicenses200Response > _callback ) throws ApiException {
320328
321- okhttp3 .Call localVarCall = getV2ResourcesCreatorLicensesValidateBeforeCall (resourceIds , _callback );
329+ okhttp3 .Call localVarCall = getV2ResourcesCreatorLicensesValidateBeforeCall (resourceIds , buyerIds , _callback );
322330 Type localVarReturnType = new TypeToken <GetV2ResourcesCreatorLicenses200Response >(){}.getType ();
323331 localVarApiClient .executeAsync (localVarCall , localVarReturnType , _callback );
324332 return localVarCall ;
0 commit comments