Index: generated/googleapis/lib/manufacturers/v1.dart |
diff --git a/generated/googleapis/lib/manufacturers/v1.dart b/generated/googleapis/lib/manufacturers/v1.dart |
index 8f3b1042dd6618061b085e2ed5514a566343c2f7..290eda4da718b909f30e211d472aa7890630bd99 100644 |
--- a/generated/googleapis/lib/manufacturers/v1.dart |
+++ b/generated/googleapis/lib/manufacturers/v1.dart |
@@ -114,12 +114,12 @@ class AccountsProductsResourceApi { |
* `account_id` - The ID of the Manufacturer Center account. |
* Value must have pattern "^accounts/[^/]+$". |
* |
+ * [pageToken] - The token returned by the previous request. |
+ * |
* [pageSize] - Maximum number of product statuses to return in the response, |
* used for |
* paging. |
* |
- * [pageToken] - The token returned by the previous request. |
- * |
* Completes with a [ListProductsResponse]. |
* |
* Completes with a [commons.ApiRequestError] if the API endpoint returned an |
@@ -128,7 +128,7 @@ class AccountsProductsResourceApi { |
* If the used [http.Client] completes with an error when making a REST call, |
* this method will complete with the same error. |
*/ |
- async.Future<ListProductsResponse> list(core.String parent, {core.int pageSize, core.String pageToken}) { |
+ async.Future<ListProductsResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -139,12 +139,12 @@ class AccountsProductsResourceApi { |
if (parent == null) { |
throw new core.ArgumentError("Parameter parent is required."); |
} |
- if (pageSize != null) { |
- _queryParams["pageSize"] = ["${pageSize}"]; |
- } |
if (pageToken != null) { |
_queryParams["pageToken"] = [pageToken]; |
} |
+ if (pageSize != null) { |
+ _queryParams["pageSize"] = ["${pageSize}"]; |
+ } |
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/products'; |