Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Unified Diff: generated/googleapis/lib/manufacturers/v1.dart

Issue 2824163002: Api-roll 48: 2017-04-18 (Closed)
Patch Set: Revert changes to pubspecs Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « generated/googleapis/lib/logging/v2.dart ('k') | generated/googleapis/lib/ml/v1.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: generated/googleapis/lib/manufacturers/v1.dart
diff --git a/generated/googleapis/lib/manufacturers/v1.dart b/generated/googleapis/lib/manufacturers/v1.dart
index 694400b3836b95e9996f34ef535a0e4c81f221e4..4dee9648b17dbc09eaa0e16755b2022c322b0d77 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.String pageToken, core.int pageSize}) {
+ async.Future<ListProductsResponse> list(core.String parent, {core.int pageSize, core.String pageToken}) {
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 (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/products';
« no previous file with comments | « generated/googleapis/lib/logging/v2.dart ('k') | generated/googleapis/lib/ml/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698