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

Side by Side Diff: generated/googleapis/test/content/v2_test.dart

Issue 698403003: Api roll 5: 2014-11-05 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years, 1 month 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 unified diff | Download patch
OLDNEW
1 library googleapis.content.v2.test; 1 library googleapis.content.v2.test;
2 2
3 import "dart:core" as core; 3 import "dart:core" as core;
4 import "dart:collection" as collection; 4 import "dart:collection" as collection;
5 import "dart:async" as async; 5 import "dart:async" as async;
6 import "dart:convert" as convert; 6 import "dart:convert" as convert;
7 7
8 import 'package:http/http.dart' as http; 8 import 'package:http/http.dart' as http;
9 import 'package:http/testing.dart' as http_testing; 9 import 'package:http/testing.dart' as http_testing;
10 import 'package:unittest/unittest.dart' as unittest; 10 import 'package:unittest/unittest.dart' as unittest;
11 import 'package:googleapis/common/common.dart' as common; 11 import 'package:googleapis/common/common.dart' as common;
12 import 'package:googleapis/src/common_internal.dart' as common_internal; 12 import 'package:googleapis/src/common_internal.dart' as common_internal;
13 import '../common/common_internal_test.dart' as common_test; 13 import '../common/common_internal_test.dart' as common_test;
14 14
15 import 'package:googleapis/content/v2.dart' as api; 15 import 'package:googleapis/content/v2.dart' as api;
16 16
17 17
18 18
19 buildUnnamed295() { 19 buildUnnamed560() {
20 var o = new core.List<api.AccountAdwordsLink>(); 20 var o = new core.List<api.AccountAdwordsLink>();
21 o.add(buildAccountAdwordsLink()); 21 o.add(buildAccountAdwordsLink());
22 o.add(buildAccountAdwordsLink()); 22 o.add(buildAccountAdwordsLink());
23 return o; 23 return o;
24 } 24 }
25 25
26 checkUnnamed295(core.List<api.AccountAdwordsLink> o) { 26 checkUnnamed560(core.List<api.AccountAdwordsLink> o) {
27 unittest.expect(o, unittest.hasLength(2)); 27 unittest.expect(o, unittest.hasLength(2));
28 checkAccountAdwordsLink(o[0]); 28 checkAccountAdwordsLink(o[0]);
29 checkAccountAdwordsLink(o[1]); 29 checkAccountAdwordsLink(o[1]);
30 } 30 }
31 31
32 buildUnnamed296() { 32 buildUnnamed561() {
33 var o = new core.List<api.AccountUser>(); 33 var o = new core.List<api.AccountUser>();
34 o.add(buildAccountUser()); 34 o.add(buildAccountUser());
35 o.add(buildAccountUser()); 35 o.add(buildAccountUser());
36 return o; 36 return o;
37 } 37 }
38 38
39 checkUnnamed296(core.List<api.AccountUser> o) { 39 checkUnnamed561(core.List<api.AccountUser> o) {
40 unittest.expect(o, unittest.hasLength(2)); 40 unittest.expect(o, unittest.hasLength(2));
41 checkAccountUser(o[0]); 41 checkAccountUser(o[0]);
42 checkAccountUser(o[1]); 42 checkAccountUser(o[1]);
43 } 43 }
44 44
45 core.int buildCounterAccount = 0; 45 core.int buildCounterAccount = 0;
46 buildAccount() { 46 buildAccount() {
47 var o = new api.Account(); 47 var o = new api.Account();
48 buildCounterAccount++; 48 buildCounterAccount++;
49 if (buildCounterAccount < 3) { 49 if (buildCounterAccount < 3) {
50 o.adultContent = true; 50 o.adultContent = true;
51 o.adwordsLinks = buildUnnamed295(); 51 o.adwordsLinks = buildUnnamed560();
52 o.id = "foo"; 52 o.id = "foo";
53 o.kind = "foo"; 53 o.kind = "foo";
54 o.name = "foo"; 54 o.name = "foo";
55 o.reviewsUrl = "foo"; 55 o.reviewsUrl = "foo";
56 o.sellerId = "foo"; 56 o.sellerId = "foo";
57 o.users = buildUnnamed296(); 57 o.users = buildUnnamed561();
58 o.websiteUrl = "foo"; 58 o.websiteUrl = "foo";
59 } 59 }
60 buildCounterAccount--; 60 buildCounterAccount--;
61 return o; 61 return o;
62 } 62 }
63 63
64 checkAccount(api.Account o) { 64 checkAccount(api.Account o) {
65 buildCounterAccount++; 65 buildCounterAccount++;
66 if (buildCounterAccount < 3) { 66 if (buildCounterAccount < 3) {
67 unittest.expect(o.adultContent, unittest.isTrue); 67 unittest.expect(o.adultContent, unittest.isTrue);
68 checkUnnamed295(o.adwordsLinks); 68 checkUnnamed560(o.adwordsLinks);
69 unittest.expect(o.id, unittest.equals('foo')); 69 unittest.expect(o.id, unittest.equals('foo'));
70 unittest.expect(o.kind, unittest.equals('foo')); 70 unittest.expect(o.kind, unittest.equals('foo'));
71 unittest.expect(o.name, unittest.equals('foo')); 71 unittest.expect(o.name, unittest.equals('foo'));
72 unittest.expect(o.reviewsUrl, unittest.equals('foo')); 72 unittest.expect(o.reviewsUrl, unittest.equals('foo'));
73 unittest.expect(o.sellerId, unittest.equals('foo')); 73 unittest.expect(o.sellerId, unittest.equals('foo'));
74 checkUnnamed296(o.users); 74 checkUnnamed561(o.users);
75 unittest.expect(o.websiteUrl, unittest.equals('foo')); 75 unittest.expect(o.websiteUrl, unittest.equals('foo'));
76 } 76 }
77 buildCounterAccount--; 77 buildCounterAccount--;
78 } 78 }
79 79
80 core.int buildCounterAccountAdwordsLink = 0; 80 core.int buildCounterAccountAdwordsLink = 0;
81 buildAccountAdwordsLink() { 81 buildAccountAdwordsLink() {
82 var o = new api.AccountAdwordsLink(); 82 var o = new api.AccountAdwordsLink();
83 buildCounterAccountAdwordsLink++; 83 buildCounterAccountAdwordsLink++;
84 if (buildCounterAccountAdwordsLink < 3) { 84 if (buildCounterAccountAdwordsLink < 3) {
85 o.adwordsId = "foo"; 85 o.adwordsId = "foo";
86 o.status = "foo"; 86 o.status = "foo";
87 } 87 }
88 buildCounterAccountAdwordsLink--; 88 buildCounterAccountAdwordsLink--;
89 return o; 89 return o;
90 } 90 }
91 91
92 checkAccountAdwordsLink(api.AccountAdwordsLink o) { 92 checkAccountAdwordsLink(api.AccountAdwordsLink o) {
93 buildCounterAccountAdwordsLink++; 93 buildCounterAccountAdwordsLink++;
94 if (buildCounterAccountAdwordsLink < 3) { 94 if (buildCounterAccountAdwordsLink < 3) {
95 unittest.expect(o.adwordsId, unittest.equals('foo')); 95 unittest.expect(o.adwordsId, unittest.equals('foo'));
96 unittest.expect(o.status, unittest.equals('foo')); 96 unittest.expect(o.status, unittest.equals('foo'));
97 } 97 }
98 buildCounterAccountAdwordsLink--; 98 buildCounterAccountAdwordsLink--;
99 } 99 }
100 100
101 buildUnnamed297() { 101 buildUnnamed562() {
102 var o = new core.List<api.AccountStatusDataQualityIssue>(); 102 var o = new core.List<api.AccountStatusDataQualityIssue>();
103 o.add(buildAccountStatusDataQualityIssue()); 103 o.add(buildAccountStatusDataQualityIssue());
104 o.add(buildAccountStatusDataQualityIssue()); 104 o.add(buildAccountStatusDataQualityIssue());
105 return o; 105 return o;
106 } 106 }
107 107
108 checkUnnamed297(core.List<api.AccountStatusDataQualityIssue> o) { 108 checkUnnamed562(core.List<api.AccountStatusDataQualityIssue> o) {
109 unittest.expect(o, unittest.hasLength(2)); 109 unittest.expect(o, unittest.hasLength(2));
110 checkAccountStatusDataQualityIssue(o[0]); 110 checkAccountStatusDataQualityIssue(o[0]);
111 checkAccountStatusDataQualityIssue(o[1]); 111 checkAccountStatusDataQualityIssue(o[1]);
112 } 112 }
113 113
114 core.int buildCounterAccountStatus = 0; 114 core.int buildCounterAccountStatus = 0;
115 buildAccountStatus() { 115 buildAccountStatus() {
116 var o = new api.AccountStatus(); 116 var o = new api.AccountStatus();
117 buildCounterAccountStatus++; 117 buildCounterAccountStatus++;
118 if (buildCounterAccountStatus < 3) { 118 if (buildCounterAccountStatus < 3) {
119 o.accountId = "foo"; 119 o.accountId = "foo";
120 o.dataQualityIssues = buildUnnamed297(); 120 o.dataQualityIssues = buildUnnamed562();
121 o.kind = "foo"; 121 o.kind = "foo";
122 } 122 }
123 buildCounterAccountStatus--; 123 buildCounterAccountStatus--;
124 return o; 124 return o;
125 } 125 }
126 126
127 checkAccountStatus(api.AccountStatus o) { 127 checkAccountStatus(api.AccountStatus o) {
128 buildCounterAccountStatus++; 128 buildCounterAccountStatus++;
129 if (buildCounterAccountStatus < 3) { 129 if (buildCounterAccountStatus < 3) {
130 unittest.expect(o.accountId, unittest.equals('foo')); 130 unittest.expect(o.accountId, unittest.equals('foo'));
131 checkUnnamed297(o.dataQualityIssues); 131 checkUnnamed562(o.dataQualityIssues);
132 unittest.expect(o.kind, unittest.equals('foo')); 132 unittest.expect(o.kind, unittest.equals('foo'));
133 } 133 }
134 buildCounterAccountStatus--; 134 buildCounterAccountStatus--;
135 } 135 }
136 136
137 buildUnnamed298() { 137 buildUnnamed563() {
138 var o = new core.List<api.AccountStatusExampleItem>(); 138 var o = new core.List<api.AccountStatusExampleItem>();
139 o.add(buildAccountStatusExampleItem()); 139 o.add(buildAccountStatusExampleItem());
140 o.add(buildAccountStatusExampleItem()); 140 o.add(buildAccountStatusExampleItem());
141 return o; 141 return o;
142 } 142 }
143 143
144 checkUnnamed298(core.List<api.AccountStatusExampleItem> o) { 144 checkUnnamed563(core.List<api.AccountStatusExampleItem> o) {
145 unittest.expect(o, unittest.hasLength(2)); 145 unittest.expect(o, unittest.hasLength(2));
146 checkAccountStatusExampleItem(o[0]); 146 checkAccountStatusExampleItem(o[0]);
147 checkAccountStatusExampleItem(o[1]); 147 checkAccountStatusExampleItem(o[1]);
148 } 148 }
149 149
150 core.int buildCounterAccountStatusDataQualityIssue = 0; 150 core.int buildCounterAccountStatusDataQualityIssue = 0;
151 buildAccountStatusDataQualityIssue() { 151 buildAccountStatusDataQualityIssue() {
152 var o = new api.AccountStatusDataQualityIssue(); 152 var o = new api.AccountStatusDataQualityIssue();
153 buildCounterAccountStatusDataQualityIssue++; 153 buildCounterAccountStatusDataQualityIssue++;
154 if (buildCounterAccountStatusDataQualityIssue < 3) { 154 if (buildCounterAccountStatusDataQualityIssue < 3) {
155 o.country = "foo"; 155 o.country = "foo";
156 o.displayedValue = "foo"; 156 o.displayedValue = "foo";
157 o.exampleItems = buildUnnamed298(); 157 o.exampleItems = buildUnnamed563();
158 o.id = "foo"; 158 o.id = "foo";
159 o.lastChecked = "foo"; 159 o.lastChecked = "foo";
160 o.numItems = 42; 160 o.numItems = 42;
161 o.severity = "foo"; 161 o.severity = "foo";
162 o.submittedValue = "foo"; 162 o.submittedValue = "foo";
163 } 163 }
164 buildCounterAccountStatusDataQualityIssue--; 164 buildCounterAccountStatusDataQualityIssue--;
165 return o; 165 return o;
166 } 166 }
167 167
168 checkAccountStatusDataQualityIssue(api.AccountStatusDataQualityIssue o) { 168 checkAccountStatusDataQualityIssue(api.AccountStatusDataQualityIssue o) {
169 buildCounterAccountStatusDataQualityIssue++; 169 buildCounterAccountStatusDataQualityIssue++;
170 if (buildCounterAccountStatusDataQualityIssue < 3) { 170 if (buildCounterAccountStatusDataQualityIssue < 3) {
171 unittest.expect(o.country, unittest.equals('foo')); 171 unittest.expect(o.country, unittest.equals('foo'));
172 unittest.expect(o.displayedValue, unittest.equals('foo')); 172 unittest.expect(o.displayedValue, unittest.equals('foo'));
173 checkUnnamed298(o.exampleItems); 173 checkUnnamed563(o.exampleItems);
174 unittest.expect(o.id, unittest.equals('foo')); 174 unittest.expect(o.id, unittest.equals('foo'));
175 unittest.expect(o.lastChecked, unittest.equals('foo')); 175 unittest.expect(o.lastChecked, unittest.equals('foo'));
176 unittest.expect(o.numItems, unittest.equals(42)); 176 unittest.expect(o.numItems, unittest.equals(42));
177 unittest.expect(o.severity, unittest.equals('foo')); 177 unittest.expect(o.severity, unittest.equals('foo'));
178 unittest.expect(o.submittedValue, unittest.equals('foo')); 178 unittest.expect(o.submittedValue, unittest.equals('foo'));
179 } 179 }
180 buildCounterAccountStatusDataQualityIssue--; 180 buildCounterAccountStatusDataQualityIssue--;
181 } 181 }
182 182
183 core.int buildCounterAccountStatusExampleItem = 0; 183 core.int buildCounterAccountStatusExampleItem = 0;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 221
222 checkAccountUser(api.AccountUser o) { 222 checkAccountUser(api.AccountUser o) {
223 buildCounterAccountUser++; 223 buildCounterAccountUser++;
224 if (buildCounterAccountUser < 3) { 224 if (buildCounterAccountUser < 3) {
225 unittest.expect(o.admin, unittest.isTrue); 225 unittest.expect(o.admin, unittest.isTrue);
226 unittest.expect(o.emailAddress, unittest.equals('foo')); 226 unittest.expect(o.emailAddress, unittest.equals('foo'));
227 } 227 }
228 buildCounterAccountUser--; 228 buildCounterAccountUser--;
229 } 229 }
230 230
231 buildUnnamed299() { 231 buildUnnamed564() {
232 var o = new core.List<api.AccountsCustomBatchRequestEntry>(); 232 var o = new core.List<api.AccountsCustomBatchRequestEntry>();
233 o.add(buildAccountsCustomBatchRequestEntry()); 233 o.add(buildAccountsCustomBatchRequestEntry());
234 o.add(buildAccountsCustomBatchRequestEntry()); 234 o.add(buildAccountsCustomBatchRequestEntry());
235 return o; 235 return o;
236 } 236 }
237 237
238 checkUnnamed299(core.List<api.AccountsCustomBatchRequestEntry> o) { 238 checkUnnamed564(core.List<api.AccountsCustomBatchRequestEntry> o) {
239 unittest.expect(o, unittest.hasLength(2)); 239 unittest.expect(o, unittest.hasLength(2));
240 checkAccountsCustomBatchRequestEntry(o[0]); 240 checkAccountsCustomBatchRequestEntry(o[0]);
241 checkAccountsCustomBatchRequestEntry(o[1]); 241 checkAccountsCustomBatchRequestEntry(o[1]);
242 } 242 }
243 243
244 core.int buildCounterAccountsCustomBatchRequest = 0; 244 core.int buildCounterAccountsCustomBatchRequest = 0;
245 buildAccountsCustomBatchRequest() { 245 buildAccountsCustomBatchRequest() {
246 var o = new api.AccountsCustomBatchRequest(); 246 var o = new api.AccountsCustomBatchRequest();
247 buildCounterAccountsCustomBatchRequest++; 247 buildCounterAccountsCustomBatchRequest++;
248 if (buildCounterAccountsCustomBatchRequest < 3) { 248 if (buildCounterAccountsCustomBatchRequest < 3) {
249 o.entries = buildUnnamed299(); 249 o.entries = buildUnnamed564();
250 } 250 }
251 buildCounterAccountsCustomBatchRequest--; 251 buildCounterAccountsCustomBatchRequest--;
252 return o; 252 return o;
253 } 253 }
254 254
255 checkAccountsCustomBatchRequest(api.AccountsCustomBatchRequest o) { 255 checkAccountsCustomBatchRequest(api.AccountsCustomBatchRequest o) {
256 buildCounterAccountsCustomBatchRequest++; 256 buildCounterAccountsCustomBatchRequest++;
257 if (buildCounterAccountsCustomBatchRequest < 3) { 257 if (buildCounterAccountsCustomBatchRequest < 3) {
258 checkUnnamed299(o.entries); 258 checkUnnamed564(o.entries);
259 } 259 }
260 buildCounterAccountsCustomBatchRequest--; 260 buildCounterAccountsCustomBatchRequest--;
261 } 261 }
262 262
263 core.int buildCounterAccountsCustomBatchRequestEntry = 0; 263 core.int buildCounterAccountsCustomBatchRequestEntry = 0;
264 buildAccountsCustomBatchRequestEntry() { 264 buildAccountsCustomBatchRequestEntry() {
265 var o = new api.AccountsCustomBatchRequestEntry(); 265 var o = new api.AccountsCustomBatchRequestEntry();
266 buildCounterAccountsCustomBatchRequestEntry++; 266 buildCounterAccountsCustomBatchRequestEntry++;
267 if (buildCounterAccountsCustomBatchRequestEntry < 3) { 267 if (buildCounterAccountsCustomBatchRequestEntry < 3) {
268 o.account = buildAccount(); 268 o.account = buildAccount();
(...skipping 11 matching lines...) Expand all
280 if (buildCounterAccountsCustomBatchRequestEntry < 3) { 280 if (buildCounterAccountsCustomBatchRequestEntry < 3) {
281 checkAccount(o.account); 281 checkAccount(o.account);
282 unittest.expect(o.accountId, unittest.equals('foo')); 282 unittest.expect(o.accountId, unittest.equals('foo'));
283 unittest.expect(o.batchId, unittest.equals(42)); 283 unittest.expect(o.batchId, unittest.equals(42));
284 unittest.expect(o.merchantId, unittest.equals('foo')); 284 unittest.expect(o.merchantId, unittest.equals('foo'));
285 unittest.expect(o.method, unittest.equals('foo')); 285 unittest.expect(o.method, unittest.equals('foo'));
286 } 286 }
287 buildCounterAccountsCustomBatchRequestEntry--; 287 buildCounterAccountsCustomBatchRequestEntry--;
288 } 288 }
289 289
290 buildUnnamed300() { 290 buildUnnamed565() {
291 var o = new core.List<api.AccountsCustomBatchResponseEntry>(); 291 var o = new core.List<api.AccountsCustomBatchResponseEntry>();
292 o.add(buildAccountsCustomBatchResponseEntry()); 292 o.add(buildAccountsCustomBatchResponseEntry());
293 o.add(buildAccountsCustomBatchResponseEntry()); 293 o.add(buildAccountsCustomBatchResponseEntry());
294 return o; 294 return o;
295 } 295 }
296 296
297 checkUnnamed300(core.List<api.AccountsCustomBatchResponseEntry> o) { 297 checkUnnamed565(core.List<api.AccountsCustomBatchResponseEntry> o) {
298 unittest.expect(o, unittest.hasLength(2)); 298 unittest.expect(o, unittest.hasLength(2));
299 checkAccountsCustomBatchResponseEntry(o[0]); 299 checkAccountsCustomBatchResponseEntry(o[0]);
300 checkAccountsCustomBatchResponseEntry(o[1]); 300 checkAccountsCustomBatchResponseEntry(o[1]);
301 } 301 }
302 302
303 core.int buildCounterAccountsCustomBatchResponse = 0; 303 core.int buildCounterAccountsCustomBatchResponse = 0;
304 buildAccountsCustomBatchResponse() { 304 buildAccountsCustomBatchResponse() {
305 var o = new api.AccountsCustomBatchResponse(); 305 var o = new api.AccountsCustomBatchResponse();
306 buildCounterAccountsCustomBatchResponse++; 306 buildCounterAccountsCustomBatchResponse++;
307 if (buildCounterAccountsCustomBatchResponse < 3) { 307 if (buildCounterAccountsCustomBatchResponse < 3) {
308 o.entries = buildUnnamed300(); 308 o.entries = buildUnnamed565();
309 o.kind = "foo"; 309 o.kind = "foo";
310 } 310 }
311 buildCounterAccountsCustomBatchResponse--; 311 buildCounterAccountsCustomBatchResponse--;
312 return o; 312 return o;
313 } 313 }
314 314
315 checkAccountsCustomBatchResponse(api.AccountsCustomBatchResponse o) { 315 checkAccountsCustomBatchResponse(api.AccountsCustomBatchResponse o) {
316 buildCounterAccountsCustomBatchResponse++; 316 buildCounterAccountsCustomBatchResponse++;
317 if (buildCounterAccountsCustomBatchResponse < 3) { 317 if (buildCounterAccountsCustomBatchResponse < 3) {
318 checkUnnamed300(o.entries); 318 checkUnnamed565(o.entries);
319 unittest.expect(o.kind, unittest.equals('foo')); 319 unittest.expect(o.kind, unittest.equals('foo'));
320 } 320 }
321 buildCounterAccountsCustomBatchResponse--; 321 buildCounterAccountsCustomBatchResponse--;
322 } 322 }
323 323
324 core.int buildCounterAccountsCustomBatchResponseEntry = 0; 324 core.int buildCounterAccountsCustomBatchResponseEntry = 0;
325 buildAccountsCustomBatchResponseEntry() { 325 buildAccountsCustomBatchResponseEntry() {
326 var o = new api.AccountsCustomBatchResponseEntry(); 326 var o = new api.AccountsCustomBatchResponseEntry();
327 buildCounterAccountsCustomBatchResponseEntry++; 327 buildCounterAccountsCustomBatchResponseEntry++;
328 if (buildCounterAccountsCustomBatchResponseEntry < 3) { 328 if (buildCounterAccountsCustomBatchResponseEntry < 3) {
(...skipping 10 matching lines...) Expand all
339 buildCounterAccountsCustomBatchResponseEntry++; 339 buildCounterAccountsCustomBatchResponseEntry++;
340 if (buildCounterAccountsCustomBatchResponseEntry < 3) { 340 if (buildCounterAccountsCustomBatchResponseEntry < 3) {
341 checkAccount(o.account); 341 checkAccount(o.account);
342 unittest.expect(o.batchId, unittest.equals(42)); 342 unittest.expect(o.batchId, unittest.equals(42));
343 checkErrors(o.errors); 343 checkErrors(o.errors);
344 unittest.expect(o.kind, unittest.equals('foo')); 344 unittest.expect(o.kind, unittest.equals('foo'));
345 } 345 }
346 buildCounterAccountsCustomBatchResponseEntry--; 346 buildCounterAccountsCustomBatchResponseEntry--;
347 } 347 }
348 348
349 buildUnnamed301() { 349 buildUnnamed566() {
350 var o = new core.List<api.Account>(); 350 var o = new core.List<api.Account>();
351 o.add(buildAccount()); 351 o.add(buildAccount());
352 o.add(buildAccount()); 352 o.add(buildAccount());
353 return o; 353 return o;
354 } 354 }
355 355
356 checkUnnamed301(core.List<api.Account> o) { 356 checkUnnamed566(core.List<api.Account> o) {
357 unittest.expect(o, unittest.hasLength(2)); 357 unittest.expect(o, unittest.hasLength(2));
358 checkAccount(o[0]); 358 checkAccount(o[0]);
359 checkAccount(o[1]); 359 checkAccount(o[1]);
360 } 360 }
361 361
362 core.int buildCounterAccountsListResponse = 0; 362 core.int buildCounterAccountsListResponse = 0;
363 buildAccountsListResponse() { 363 buildAccountsListResponse() {
364 var o = new api.AccountsListResponse(); 364 var o = new api.AccountsListResponse();
365 buildCounterAccountsListResponse++; 365 buildCounterAccountsListResponse++;
366 if (buildCounterAccountsListResponse < 3) { 366 if (buildCounterAccountsListResponse < 3) {
367 o.kind = "foo"; 367 o.kind = "foo";
368 o.nextPageToken = "foo"; 368 o.nextPageToken = "foo";
369 o.resources = buildUnnamed301(); 369 o.resources = buildUnnamed566();
370 } 370 }
371 buildCounterAccountsListResponse--; 371 buildCounterAccountsListResponse--;
372 return o; 372 return o;
373 } 373 }
374 374
375 checkAccountsListResponse(api.AccountsListResponse o) { 375 checkAccountsListResponse(api.AccountsListResponse o) {
376 buildCounterAccountsListResponse++; 376 buildCounterAccountsListResponse++;
377 if (buildCounterAccountsListResponse < 3) { 377 if (buildCounterAccountsListResponse < 3) {
378 unittest.expect(o.kind, unittest.equals('foo')); 378 unittest.expect(o.kind, unittest.equals('foo'));
379 unittest.expect(o.nextPageToken, unittest.equals('foo')); 379 unittest.expect(o.nextPageToken, unittest.equals('foo'));
380 checkUnnamed301(o.resources); 380 checkUnnamed566(o.resources);
381 } 381 }
382 buildCounterAccountsListResponse--; 382 buildCounterAccountsListResponse--;
383 } 383 }
384 384
385 buildUnnamed302() { 385 buildUnnamed567() {
386 var o = new core.List<api.AccountstatusesCustomBatchRequestEntry>(); 386 var o = new core.List<api.AccountstatusesCustomBatchRequestEntry>();
387 o.add(buildAccountstatusesCustomBatchRequestEntry()); 387 o.add(buildAccountstatusesCustomBatchRequestEntry());
388 o.add(buildAccountstatusesCustomBatchRequestEntry()); 388 o.add(buildAccountstatusesCustomBatchRequestEntry());
389 return o; 389 return o;
390 } 390 }
391 391
392 checkUnnamed302(core.List<api.AccountstatusesCustomBatchRequestEntry> o) { 392 checkUnnamed567(core.List<api.AccountstatusesCustomBatchRequestEntry> o) {
393 unittest.expect(o, unittest.hasLength(2)); 393 unittest.expect(o, unittest.hasLength(2));
394 checkAccountstatusesCustomBatchRequestEntry(o[0]); 394 checkAccountstatusesCustomBatchRequestEntry(o[0]);
395 checkAccountstatusesCustomBatchRequestEntry(o[1]); 395 checkAccountstatusesCustomBatchRequestEntry(o[1]);
396 } 396 }
397 397
398 core.int buildCounterAccountstatusesCustomBatchRequest = 0; 398 core.int buildCounterAccountstatusesCustomBatchRequest = 0;
399 buildAccountstatusesCustomBatchRequest() { 399 buildAccountstatusesCustomBatchRequest() {
400 var o = new api.AccountstatusesCustomBatchRequest(); 400 var o = new api.AccountstatusesCustomBatchRequest();
401 buildCounterAccountstatusesCustomBatchRequest++; 401 buildCounterAccountstatusesCustomBatchRequest++;
402 if (buildCounterAccountstatusesCustomBatchRequest < 3) { 402 if (buildCounterAccountstatusesCustomBatchRequest < 3) {
403 o.entries = buildUnnamed302(); 403 o.entries = buildUnnamed567();
404 } 404 }
405 buildCounterAccountstatusesCustomBatchRequest--; 405 buildCounterAccountstatusesCustomBatchRequest--;
406 return o; 406 return o;
407 } 407 }
408 408
409 checkAccountstatusesCustomBatchRequest(api.AccountstatusesCustomBatchRequest o) { 409 checkAccountstatusesCustomBatchRequest(api.AccountstatusesCustomBatchRequest o) {
410 buildCounterAccountstatusesCustomBatchRequest++; 410 buildCounterAccountstatusesCustomBatchRequest++;
411 if (buildCounterAccountstatusesCustomBatchRequest < 3) { 411 if (buildCounterAccountstatusesCustomBatchRequest < 3) {
412 checkUnnamed302(o.entries); 412 checkUnnamed567(o.entries);
413 } 413 }
414 buildCounterAccountstatusesCustomBatchRequest--; 414 buildCounterAccountstatusesCustomBatchRequest--;
415 } 415 }
416 416
417 core.int buildCounterAccountstatusesCustomBatchRequestEntry = 0; 417 core.int buildCounterAccountstatusesCustomBatchRequestEntry = 0;
418 buildAccountstatusesCustomBatchRequestEntry() { 418 buildAccountstatusesCustomBatchRequestEntry() {
419 var o = new api.AccountstatusesCustomBatchRequestEntry(); 419 var o = new api.AccountstatusesCustomBatchRequestEntry();
420 buildCounterAccountstatusesCustomBatchRequestEntry++; 420 buildCounterAccountstatusesCustomBatchRequestEntry++;
421 if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) { 421 if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) {
422 o.accountId = "foo"; 422 o.accountId = "foo";
423 o.batchId = 42; 423 o.batchId = 42;
424 o.merchantId = "foo"; 424 o.merchantId = "foo";
425 o.method = "foo"; 425 o.method = "foo";
426 } 426 }
427 buildCounterAccountstatusesCustomBatchRequestEntry--; 427 buildCounterAccountstatusesCustomBatchRequestEntry--;
428 return o; 428 return o;
429 } 429 }
430 430
431 checkAccountstatusesCustomBatchRequestEntry(api.AccountstatusesCustomBatchReques tEntry o) { 431 checkAccountstatusesCustomBatchRequestEntry(api.AccountstatusesCustomBatchReques tEntry o) {
432 buildCounterAccountstatusesCustomBatchRequestEntry++; 432 buildCounterAccountstatusesCustomBatchRequestEntry++;
433 if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) { 433 if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) {
434 unittest.expect(o.accountId, unittest.equals('foo')); 434 unittest.expect(o.accountId, unittest.equals('foo'));
435 unittest.expect(o.batchId, unittest.equals(42)); 435 unittest.expect(o.batchId, unittest.equals(42));
436 unittest.expect(o.merchantId, unittest.equals('foo')); 436 unittest.expect(o.merchantId, unittest.equals('foo'));
437 unittest.expect(o.method, unittest.equals('foo')); 437 unittest.expect(o.method, unittest.equals('foo'));
438 } 438 }
439 buildCounterAccountstatusesCustomBatchRequestEntry--; 439 buildCounterAccountstatusesCustomBatchRequestEntry--;
440 } 440 }
441 441
442 buildUnnamed303() { 442 buildUnnamed568() {
443 var o = new core.List<api.AccountstatusesCustomBatchResponseEntry>(); 443 var o = new core.List<api.AccountstatusesCustomBatchResponseEntry>();
444 o.add(buildAccountstatusesCustomBatchResponseEntry()); 444 o.add(buildAccountstatusesCustomBatchResponseEntry());
445 o.add(buildAccountstatusesCustomBatchResponseEntry()); 445 o.add(buildAccountstatusesCustomBatchResponseEntry());
446 return o; 446 return o;
447 } 447 }
448 448
449 checkUnnamed303(core.List<api.AccountstatusesCustomBatchResponseEntry> o) { 449 checkUnnamed568(core.List<api.AccountstatusesCustomBatchResponseEntry> o) {
450 unittest.expect(o, unittest.hasLength(2)); 450 unittest.expect(o, unittest.hasLength(2));
451 checkAccountstatusesCustomBatchResponseEntry(o[0]); 451 checkAccountstatusesCustomBatchResponseEntry(o[0]);
452 checkAccountstatusesCustomBatchResponseEntry(o[1]); 452 checkAccountstatusesCustomBatchResponseEntry(o[1]);
453 } 453 }
454 454
455 core.int buildCounterAccountstatusesCustomBatchResponse = 0; 455 core.int buildCounterAccountstatusesCustomBatchResponse = 0;
456 buildAccountstatusesCustomBatchResponse() { 456 buildAccountstatusesCustomBatchResponse() {
457 var o = new api.AccountstatusesCustomBatchResponse(); 457 var o = new api.AccountstatusesCustomBatchResponse();
458 buildCounterAccountstatusesCustomBatchResponse++; 458 buildCounterAccountstatusesCustomBatchResponse++;
459 if (buildCounterAccountstatusesCustomBatchResponse < 3) { 459 if (buildCounterAccountstatusesCustomBatchResponse < 3) {
460 o.entries = buildUnnamed303(); 460 o.entries = buildUnnamed568();
461 o.kind = "foo"; 461 o.kind = "foo";
462 } 462 }
463 buildCounterAccountstatusesCustomBatchResponse--; 463 buildCounterAccountstatusesCustomBatchResponse--;
464 return o; 464 return o;
465 } 465 }
466 466
467 checkAccountstatusesCustomBatchResponse(api.AccountstatusesCustomBatchResponse o ) { 467 checkAccountstatusesCustomBatchResponse(api.AccountstatusesCustomBatchResponse o ) {
468 buildCounterAccountstatusesCustomBatchResponse++; 468 buildCounterAccountstatusesCustomBatchResponse++;
469 if (buildCounterAccountstatusesCustomBatchResponse < 3) { 469 if (buildCounterAccountstatusesCustomBatchResponse < 3) {
470 checkUnnamed303(o.entries); 470 checkUnnamed568(o.entries);
471 unittest.expect(o.kind, unittest.equals('foo')); 471 unittest.expect(o.kind, unittest.equals('foo'));
472 } 472 }
473 buildCounterAccountstatusesCustomBatchResponse--; 473 buildCounterAccountstatusesCustomBatchResponse--;
474 } 474 }
475 475
476 core.int buildCounterAccountstatusesCustomBatchResponseEntry = 0; 476 core.int buildCounterAccountstatusesCustomBatchResponseEntry = 0;
477 buildAccountstatusesCustomBatchResponseEntry() { 477 buildAccountstatusesCustomBatchResponseEntry() {
478 var o = new api.AccountstatusesCustomBatchResponseEntry(); 478 var o = new api.AccountstatusesCustomBatchResponseEntry();
479 buildCounterAccountstatusesCustomBatchResponseEntry++; 479 buildCounterAccountstatusesCustomBatchResponseEntry++;
480 if (buildCounterAccountstatusesCustomBatchResponseEntry < 3) { 480 if (buildCounterAccountstatusesCustomBatchResponseEntry < 3) {
481 o.accountStatus = buildAccountStatus(); 481 o.accountStatus = buildAccountStatus();
482 o.batchId = 42; 482 o.batchId = 42;
483 o.errors = buildErrors(); 483 o.errors = buildErrors();
484 } 484 }
485 buildCounterAccountstatusesCustomBatchResponseEntry--; 485 buildCounterAccountstatusesCustomBatchResponseEntry--;
486 return o; 486 return o;
487 } 487 }
488 488
489 checkAccountstatusesCustomBatchResponseEntry(api.AccountstatusesCustomBatchRespo nseEntry o) { 489 checkAccountstatusesCustomBatchResponseEntry(api.AccountstatusesCustomBatchRespo nseEntry o) {
490 buildCounterAccountstatusesCustomBatchResponseEntry++; 490 buildCounterAccountstatusesCustomBatchResponseEntry++;
491 if (buildCounterAccountstatusesCustomBatchResponseEntry < 3) { 491 if (buildCounterAccountstatusesCustomBatchResponseEntry < 3) {
492 checkAccountStatus(o.accountStatus); 492 checkAccountStatus(o.accountStatus);
493 unittest.expect(o.batchId, unittest.equals(42)); 493 unittest.expect(o.batchId, unittest.equals(42));
494 checkErrors(o.errors); 494 checkErrors(o.errors);
495 } 495 }
496 buildCounterAccountstatusesCustomBatchResponseEntry--; 496 buildCounterAccountstatusesCustomBatchResponseEntry--;
497 } 497 }
498 498
499 buildUnnamed304() { 499 buildUnnamed569() {
500 var o = new core.List<api.AccountStatus>(); 500 var o = new core.List<api.AccountStatus>();
501 o.add(buildAccountStatus()); 501 o.add(buildAccountStatus());
502 o.add(buildAccountStatus()); 502 o.add(buildAccountStatus());
503 return o; 503 return o;
504 } 504 }
505 505
506 checkUnnamed304(core.List<api.AccountStatus> o) { 506 checkUnnamed569(core.List<api.AccountStatus> o) {
507 unittest.expect(o, unittest.hasLength(2)); 507 unittest.expect(o, unittest.hasLength(2));
508 checkAccountStatus(o[0]); 508 checkAccountStatus(o[0]);
509 checkAccountStatus(o[1]); 509 checkAccountStatus(o[1]);
510 } 510 }
511 511
512 core.int buildCounterAccountstatusesListResponse = 0; 512 core.int buildCounterAccountstatusesListResponse = 0;
513 buildAccountstatusesListResponse() { 513 buildAccountstatusesListResponse() {
514 var o = new api.AccountstatusesListResponse(); 514 var o = new api.AccountstatusesListResponse();
515 buildCounterAccountstatusesListResponse++; 515 buildCounterAccountstatusesListResponse++;
516 if (buildCounterAccountstatusesListResponse < 3) { 516 if (buildCounterAccountstatusesListResponse < 3) {
517 o.kind = "foo"; 517 o.kind = "foo";
518 o.nextPageToken = "foo"; 518 o.nextPageToken = "foo";
519 o.resources = buildUnnamed304(); 519 o.resources = buildUnnamed569();
520 } 520 }
521 buildCounterAccountstatusesListResponse--; 521 buildCounterAccountstatusesListResponse--;
522 return o; 522 return o;
523 } 523 }
524 524
525 checkAccountstatusesListResponse(api.AccountstatusesListResponse o) { 525 checkAccountstatusesListResponse(api.AccountstatusesListResponse o) {
526 buildCounterAccountstatusesListResponse++; 526 buildCounterAccountstatusesListResponse++;
527 if (buildCounterAccountstatusesListResponse < 3) { 527 if (buildCounterAccountstatusesListResponse < 3) {
528 unittest.expect(o.kind, unittest.equals('foo')); 528 unittest.expect(o.kind, unittest.equals('foo'));
529 unittest.expect(o.nextPageToken, unittest.equals('foo')); 529 unittest.expect(o.nextPageToken, unittest.equals('foo'));
530 checkUnnamed304(o.resources); 530 checkUnnamed569(o.resources);
531 } 531 }
532 buildCounterAccountstatusesListResponse--; 532 buildCounterAccountstatusesListResponse--;
533 } 533 }
534 534
535 buildUnnamed305() { 535 buildUnnamed570() {
536 var o = new core.List<core.String>(); 536 var o = new core.List<core.String>();
537 o.add("foo"); 537 o.add("foo");
538 o.add("foo"); 538 o.add("foo");
539 return o; 539 return o;
540 } 540 }
541 541
542 checkUnnamed305(core.List<core.String> o) { 542 checkUnnamed570(core.List<core.String> o) {
543 unittest.expect(o, unittest.hasLength(2)); 543 unittest.expect(o, unittest.hasLength(2));
544 unittest.expect(o[0], unittest.equals('foo')); 544 unittest.expect(o[0], unittest.equals('foo'));
545 unittest.expect(o[1], unittest.equals('foo')); 545 unittest.expect(o[1], unittest.equals('foo'));
546 } 546 }
547 547
548 core.int buildCounterDatafeed = 0; 548 core.int buildCounterDatafeed = 0;
549 buildDatafeed() { 549 buildDatafeed() {
550 var o = new api.Datafeed(); 550 var o = new api.Datafeed();
551 buildCounterDatafeed++; 551 buildCounterDatafeed++;
552 if (buildCounterDatafeed < 3) { 552 if (buildCounterDatafeed < 3) {
553 o.attributeLanguage = "foo"; 553 o.attributeLanguage = "foo";
554 o.contentLanguage = "foo"; 554 o.contentLanguage = "foo";
555 o.contentType = "foo"; 555 o.contentType = "foo";
556 o.fetchSchedule = buildDatafeedFetchSchedule(); 556 o.fetchSchedule = buildDatafeedFetchSchedule();
557 o.fileName = "foo"; 557 o.fileName = "foo";
558 o.format = buildDatafeedFormat(); 558 o.format = buildDatafeedFormat();
559 o.id = "foo"; 559 o.id = "foo";
560 o.intendedDestinations = buildUnnamed305(); 560 o.intendedDestinations = buildUnnamed570();
561 o.kind = "foo"; 561 o.kind = "foo";
562 o.name = "foo"; 562 o.name = "foo";
563 o.targetCountry = "foo"; 563 o.targetCountry = "foo";
564 } 564 }
565 buildCounterDatafeed--; 565 buildCounterDatafeed--;
566 return o; 566 return o;
567 } 567 }
568 568
569 checkDatafeed(api.Datafeed o) { 569 checkDatafeed(api.Datafeed o) {
570 buildCounterDatafeed++; 570 buildCounterDatafeed++;
571 if (buildCounterDatafeed < 3) { 571 if (buildCounterDatafeed < 3) {
572 unittest.expect(o.attributeLanguage, unittest.equals('foo')); 572 unittest.expect(o.attributeLanguage, unittest.equals('foo'));
573 unittest.expect(o.contentLanguage, unittest.equals('foo')); 573 unittest.expect(o.contentLanguage, unittest.equals('foo'));
574 unittest.expect(o.contentType, unittest.equals('foo')); 574 unittest.expect(o.contentType, unittest.equals('foo'));
575 checkDatafeedFetchSchedule(o.fetchSchedule); 575 checkDatafeedFetchSchedule(o.fetchSchedule);
576 unittest.expect(o.fileName, unittest.equals('foo')); 576 unittest.expect(o.fileName, unittest.equals('foo'));
577 checkDatafeedFormat(o.format); 577 checkDatafeedFormat(o.format);
578 unittest.expect(o.id, unittest.equals('foo')); 578 unittest.expect(o.id, unittest.equals('foo'));
579 checkUnnamed305(o.intendedDestinations); 579 checkUnnamed570(o.intendedDestinations);
580 unittest.expect(o.kind, unittest.equals('foo')); 580 unittest.expect(o.kind, unittest.equals('foo'));
581 unittest.expect(o.name, unittest.equals('foo')); 581 unittest.expect(o.name, unittest.equals('foo'));
582 unittest.expect(o.targetCountry, unittest.equals('foo')); 582 unittest.expect(o.targetCountry, unittest.equals('foo'));
583 } 583 }
584 buildCounterDatafeed--; 584 buildCounterDatafeed--;
585 } 585 }
586 586
587 core.int buildCounterDatafeedFetchSchedule = 0; 587 core.int buildCounterDatafeedFetchSchedule = 0;
588 buildDatafeedFetchSchedule() { 588 buildDatafeedFetchSchedule() {
589 var o = new api.DatafeedFetchSchedule(); 589 var o = new api.DatafeedFetchSchedule();
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
631 checkDatafeedFormat(api.DatafeedFormat o) { 631 checkDatafeedFormat(api.DatafeedFormat o) {
632 buildCounterDatafeedFormat++; 632 buildCounterDatafeedFormat++;
633 if (buildCounterDatafeedFormat < 3) { 633 if (buildCounterDatafeedFormat < 3) {
634 unittest.expect(o.columnDelimiter, unittest.equals('foo')); 634 unittest.expect(o.columnDelimiter, unittest.equals('foo'));
635 unittest.expect(o.fileEncoding, unittest.equals('foo')); 635 unittest.expect(o.fileEncoding, unittest.equals('foo'));
636 unittest.expect(o.quotingMode, unittest.equals('foo')); 636 unittest.expect(o.quotingMode, unittest.equals('foo'));
637 } 637 }
638 buildCounterDatafeedFormat--; 638 buildCounterDatafeedFormat--;
639 } 639 }
640 640
641 buildUnnamed306() { 641 buildUnnamed571() {
642 var o = new core.List<api.DatafeedStatusError>(); 642 var o = new core.List<api.DatafeedStatusError>();
643 o.add(buildDatafeedStatusError()); 643 o.add(buildDatafeedStatusError());
644 o.add(buildDatafeedStatusError()); 644 o.add(buildDatafeedStatusError());
645 return o; 645 return o;
646 } 646 }
647 647
648 checkUnnamed306(core.List<api.DatafeedStatusError> o) { 648 checkUnnamed571(core.List<api.DatafeedStatusError> o) {
649 unittest.expect(o, unittest.hasLength(2)); 649 unittest.expect(o, unittest.hasLength(2));
650 checkDatafeedStatusError(o[0]); 650 checkDatafeedStatusError(o[0]);
651 checkDatafeedStatusError(o[1]); 651 checkDatafeedStatusError(o[1]);
652 } 652 }
653 653
654 buildUnnamed307() { 654 buildUnnamed572() {
655 var o = new core.List<api.DatafeedStatusError>(); 655 var o = new core.List<api.DatafeedStatusError>();
656 o.add(buildDatafeedStatusError()); 656 o.add(buildDatafeedStatusError());
657 o.add(buildDatafeedStatusError()); 657 o.add(buildDatafeedStatusError());
658 return o; 658 return o;
659 } 659 }
660 660
661 checkUnnamed307(core.List<api.DatafeedStatusError> o) { 661 checkUnnamed572(core.List<api.DatafeedStatusError> o) {
662 unittest.expect(o, unittest.hasLength(2)); 662 unittest.expect(o, unittest.hasLength(2));
663 checkDatafeedStatusError(o[0]); 663 checkDatafeedStatusError(o[0]);
664 checkDatafeedStatusError(o[1]); 664 checkDatafeedStatusError(o[1]);
665 } 665 }
666 666
667 core.int buildCounterDatafeedStatus = 0; 667 core.int buildCounterDatafeedStatus = 0;
668 buildDatafeedStatus() { 668 buildDatafeedStatus() {
669 var o = new api.DatafeedStatus(); 669 var o = new api.DatafeedStatus();
670 buildCounterDatafeedStatus++; 670 buildCounterDatafeedStatus++;
671 if (buildCounterDatafeedStatus < 3) { 671 if (buildCounterDatafeedStatus < 3) {
672 o.datafeedId = "foo"; 672 o.datafeedId = "foo";
673 o.errors = buildUnnamed306(); 673 o.errors = buildUnnamed571();
674 o.itemsTotal = "foo"; 674 o.itemsTotal = "foo";
675 o.itemsValid = "foo"; 675 o.itemsValid = "foo";
676 o.kind = "foo"; 676 o.kind = "foo";
677 o.processingStatus = "foo"; 677 o.processingStatus = "foo";
678 o.warnings = buildUnnamed307(); 678 o.warnings = buildUnnamed572();
679 } 679 }
680 buildCounterDatafeedStatus--; 680 buildCounterDatafeedStatus--;
681 return o; 681 return o;
682 } 682 }
683 683
684 checkDatafeedStatus(api.DatafeedStatus o) { 684 checkDatafeedStatus(api.DatafeedStatus o) {
685 buildCounterDatafeedStatus++; 685 buildCounterDatafeedStatus++;
686 if (buildCounterDatafeedStatus < 3) { 686 if (buildCounterDatafeedStatus < 3) {
687 unittest.expect(o.datafeedId, unittest.equals('foo')); 687 unittest.expect(o.datafeedId, unittest.equals('foo'));
688 checkUnnamed306(o.errors); 688 checkUnnamed571(o.errors);
689 unittest.expect(o.itemsTotal, unittest.equals('foo')); 689 unittest.expect(o.itemsTotal, unittest.equals('foo'));
690 unittest.expect(o.itemsValid, unittest.equals('foo')); 690 unittest.expect(o.itemsValid, unittest.equals('foo'));
691 unittest.expect(o.kind, unittest.equals('foo')); 691 unittest.expect(o.kind, unittest.equals('foo'));
692 unittest.expect(o.processingStatus, unittest.equals('foo')); 692 unittest.expect(o.processingStatus, unittest.equals('foo'));
693 checkUnnamed307(o.warnings); 693 checkUnnamed572(o.warnings);
694 } 694 }
695 buildCounterDatafeedStatus--; 695 buildCounterDatafeedStatus--;
696 } 696 }
697 697
698 buildUnnamed308() { 698 buildUnnamed573() {
699 var o = new core.List<api.DatafeedStatusExample>(); 699 var o = new core.List<api.DatafeedStatusExample>();
700 o.add(buildDatafeedStatusExample()); 700 o.add(buildDatafeedStatusExample());
701 o.add(buildDatafeedStatusExample()); 701 o.add(buildDatafeedStatusExample());
702 return o; 702 return o;
703 } 703 }
704 704
705 checkUnnamed308(core.List<api.DatafeedStatusExample> o) { 705 checkUnnamed573(core.List<api.DatafeedStatusExample> o) {
706 unittest.expect(o, unittest.hasLength(2)); 706 unittest.expect(o, unittest.hasLength(2));
707 checkDatafeedStatusExample(o[0]); 707 checkDatafeedStatusExample(o[0]);
708 checkDatafeedStatusExample(o[1]); 708 checkDatafeedStatusExample(o[1]);
709 } 709 }
710 710
711 core.int buildCounterDatafeedStatusError = 0; 711 core.int buildCounterDatafeedStatusError = 0;
712 buildDatafeedStatusError() { 712 buildDatafeedStatusError() {
713 var o = new api.DatafeedStatusError(); 713 var o = new api.DatafeedStatusError();
714 buildCounterDatafeedStatusError++; 714 buildCounterDatafeedStatusError++;
715 if (buildCounterDatafeedStatusError < 3) { 715 if (buildCounterDatafeedStatusError < 3) {
716 o.code = "foo"; 716 o.code = "foo";
717 o.count = "foo"; 717 o.count = "foo";
718 o.examples = buildUnnamed308(); 718 o.examples = buildUnnamed573();
719 o.message = "foo"; 719 o.message = "foo";
720 } 720 }
721 buildCounterDatafeedStatusError--; 721 buildCounterDatafeedStatusError--;
722 return o; 722 return o;
723 } 723 }
724 724
725 checkDatafeedStatusError(api.DatafeedStatusError o) { 725 checkDatafeedStatusError(api.DatafeedStatusError o) {
726 buildCounterDatafeedStatusError++; 726 buildCounterDatafeedStatusError++;
727 if (buildCounterDatafeedStatusError < 3) { 727 if (buildCounterDatafeedStatusError < 3) {
728 unittest.expect(o.code, unittest.equals('foo')); 728 unittest.expect(o.code, unittest.equals('foo'));
729 unittest.expect(o.count, unittest.equals('foo')); 729 unittest.expect(o.count, unittest.equals('foo'));
730 checkUnnamed308(o.examples); 730 checkUnnamed573(o.examples);
731 unittest.expect(o.message, unittest.equals('foo')); 731 unittest.expect(o.message, unittest.equals('foo'));
732 } 732 }
733 buildCounterDatafeedStatusError--; 733 buildCounterDatafeedStatusError--;
734 } 734 }
735 735
736 core.int buildCounterDatafeedStatusExample = 0; 736 core.int buildCounterDatafeedStatusExample = 0;
737 buildDatafeedStatusExample() { 737 buildDatafeedStatusExample() {
738 var o = new api.DatafeedStatusExample(); 738 var o = new api.DatafeedStatusExample();
739 buildCounterDatafeedStatusExample++; 739 buildCounterDatafeedStatusExample++;
740 if (buildCounterDatafeedStatusExample < 3) { 740 if (buildCounterDatafeedStatusExample < 3) {
741 o.itemId = "foo"; 741 o.itemId = "foo";
742 o.lineNumber = "foo"; 742 o.lineNumber = "foo";
743 o.value = "foo"; 743 o.value = "foo";
744 } 744 }
745 buildCounterDatafeedStatusExample--; 745 buildCounterDatafeedStatusExample--;
746 return o; 746 return o;
747 } 747 }
748 748
749 checkDatafeedStatusExample(api.DatafeedStatusExample o) { 749 checkDatafeedStatusExample(api.DatafeedStatusExample o) {
750 buildCounterDatafeedStatusExample++; 750 buildCounterDatafeedStatusExample++;
751 if (buildCounterDatafeedStatusExample < 3) { 751 if (buildCounterDatafeedStatusExample < 3) {
752 unittest.expect(o.itemId, unittest.equals('foo')); 752 unittest.expect(o.itemId, unittest.equals('foo'));
753 unittest.expect(o.lineNumber, unittest.equals('foo')); 753 unittest.expect(o.lineNumber, unittest.equals('foo'));
754 unittest.expect(o.value, unittest.equals('foo')); 754 unittest.expect(o.value, unittest.equals('foo'));
755 } 755 }
756 buildCounterDatafeedStatusExample--; 756 buildCounterDatafeedStatusExample--;
757 } 757 }
758 758
759 buildUnnamed309() { 759 buildUnnamed574() {
760 var o = new core.List<api.DatafeedsCustomBatchRequestEntry>(); 760 var o = new core.List<api.DatafeedsCustomBatchRequestEntry>();
761 o.add(buildDatafeedsCustomBatchRequestEntry()); 761 o.add(buildDatafeedsCustomBatchRequestEntry());
762 o.add(buildDatafeedsCustomBatchRequestEntry()); 762 o.add(buildDatafeedsCustomBatchRequestEntry());
763 return o; 763 return o;
764 } 764 }
765 765
766 checkUnnamed309(core.List<api.DatafeedsCustomBatchRequestEntry> o) { 766 checkUnnamed574(core.List<api.DatafeedsCustomBatchRequestEntry> o) {
767 unittest.expect(o, unittest.hasLength(2)); 767 unittest.expect(o, unittest.hasLength(2));
768 checkDatafeedsCustomBatchRequestEntry(o[0]); 768 checkDatafeedsCustomBatchRequestEntry(o[0]);
769 checkDatafeedsCustomBatchRequestEntry(o[1]); 769 checkDatafeedsCustomBatchRequestEntry(o[1]);
770 } 770 }
771 771
772 core.int buildCounterDatafeedsCustomBatchRequest = 0; 772 core.int buildCounterDatafeedsCustomBatchRequest = 0;
773 buildDatafeedsCustomBatchRequest() { 773 buildDatafeedsCustomBatchRequest() {
774 var o = new api.DatafeedsCustomBatchRequest(); 774 var o = new api.DatafeedsCustomBatchRequest();
775 buildCounterDatafeedsCustomBatchRequest++; 775 buildCounterDatafeedsCustomBatchRequest++;
776 if (buildCounterDatafeedsCustomBatchRequest < 3) { 776 if (buildCounterDatafeedsCustomBatchRequest < 3) {
777 o.entries = buildUnnamed309(); 777 o.entries = buildUnnamed574();
778 } 778 }
779 buildCounterDatafeedsCustomBatchRequest--; 779 buildCounterDatafeedsCustomBatchRequest--;
780 return o; 780 return o;
781 } 781 }
782 782
783 checkDatafeedsCustomBatchRequest(api.DatafeedsCustomBatchRequest o) { 783 checkDatafeedsCustomBatchRequest(api.DatafeedsCustomBatchRequest o) {
784 buildCounterDatafeedsCustomBatchRequest++; 784 buildCounterDatafeedsCustomBatchRequest++;
785 if (buildCounterDatafeedsCustomBatchRequest < 3) { 785 if (buildCounterDatafeedsCustomBatchRequest < 3) {
786 checkUnnamed309(o.entries); 786 checkUnnamed574(o.entries);
787 } 787 }
788 buildCounterDatafeedsCustomBatchRequest--; 788 buildCounterDatafeedsCustomBatchRequest--;
789 } 789 }
790 790
791 core.int buildCounterDatafeedsCustomBatchRequestEntry = 0; 791 core.int buildCounterDatafeedsCustomBatchRequestEntry = 0;
792 buildDatafeedsCustomBatchRequestEntry() { 792 buildDatafeedsCustomBatchRequestEntry() {
793 var o = new api.DatafeedsCustomBatchRequestEntry(); 793 var o = new api.DatafeedsCustomBatchRequestEntry();
794 buildCounterDatafeedsCustomBatchRequestEntry++; 794 buildCounterDatafeedsCustomBatchRequestEntry++;
795 if (buildCounterDatafeedsCustomBatchRequestEntry < 3) { 795 if (buildCounterDatafeedsCustomBatchRequestEntry < 3) {
796 o.batchId = 42; 796 o.batchId = 42;
(...skipping 11 matching lines...) Expand all
808 if (buildCounterDatafeedsCustomBatchRequestEntry < 3) { 808 if (buildCounterDatafeedsCustomBatchRequestEntry < 3) {
809 unittest.expect(o.batchId, unittest.equals(42)); 809 unittest.expect(o.batchId, unittest.equals(42));
810 checkDatafeed(o.datafeed); 810 checkDatafeed(o.datafeed);
811 unittest.expect(o.datafeedId, unittest.equals('foo')); 811 unittest.expect(o.datafeedId, unittest.equals('foo'));
812 unittest.expect(o.merchantId, unittest.equals('foo')); 812 unittest.expect(o.merchantId, unittest.equals('foo'));
813 unittest.expect(o.method, unittest.equals('foo')); 813 unittest.expect(o.method, unittest.equals('foo'));
814 } 814 }
815 buildCounterDatafeedsCustomBatchRequestEntry--; 815 buildCounterDatafeedsCustomBatchRequestEntry--;
816 } 816 }
817 817
818 buildUnnamed310() { 818 buildUnnamed575() {
819 var o = new core.List<api.DatafeedsCustomBatchResponseEntry>(); 819 var o = new core.List<api.DatafeedsCustomBatchResponseEntry>();
820 o.add(buildDatafeedsCustomBatchResponseEntry()); 820 o.add(buildDatafeedsCustomBatchResponseEntry());
821 o.add(buildDatafeedsCustomBatchResponseEntry()); 821 o.add(buildDatafeedsCustomBatchResponseEntry());
822 return o; 822 return o;
823 } 823 }
824 824
825 checkUnnamed310(core.List<api.DatafeedsCustomBatchResponseEntry> o) { 825 checkUnnamed575(core.List<api.DatafeedsCustomBatchResponseEntry> o) {
826 unittest.expect(o, unittest.hasLength(2)); 826 unittest.expect(o, unittest.hasLength(2));
827 checkDatafeedsCustomBatchResponseEntry(o[0]); 827 checkDatafeedsCustomBatchResponseEntry(o[0]);
828 checkDatafeedsCustomBatchResponseEntry(o[1]); 828 checkDatafeedsCustomBatchResponseEntry(o[1]);
829 } 829 }
830 830
831 core.int buildCounterDatafeedsCustomBatchResponse = 0; 831 core.int buildCounterDatafeedsCustomBatchResponse = 0;
832 buildDatafeedsCustomBatchResponse() { 832 buildDatafeedsCustomBatchResponse() {
833 var o = new api.DatafeedsCustomBatchResponse(); 833 var o = new api.DatafeedsCustomBatchResponse();
834 buildCounterDatafeedsCustomBatchResponse++; 834 buildCounterDatafeedsCustomBatchResponse++;
835 if (buildCounterDatafeedsCustomBatchResponse < 3) { 835 if (buildCounterDatafeedsCustomBatchResponse < 3) {
836 o.entries = buildUnnamed310(); 836 o.entries = buildUnnamed575();
837 o.kind = "foo"; 837 o.kind = "foo";
838 } 838 }
839 buildCounterDatafeedsCustomBatchResponse--; 839 buildCounterDatafeedsCustomBatchResponse--;
840 return o; 840 return o;
841 } 841 }
842 842
843 checkDatafeedsCustomBatchResponse(api.DatafeedsCustomBatchResponse o) { 843 checkDatafeedsCustomBatchResponse(api.DatafeedsCustomBatchResponse o) {
844 buildCounterDatafeedsCustomBatchResponse++; 844 buildCounterDatafeedsCustomBatchResponse++;
845 if (buildCounterDatafeedsCustomBatchResponse < 3) { 845 if (buildCounterDatafeedsCustomBatchResponse < 3) {
846 checkUnnamed310(o.entries); 846 checkUnnamed575(o.entries);
847 unittest.expect(o.kind, unittest.equals('foo')); 847 unittest.expect(o.kind, unittest.equals('foo'));
848 } 848 }
849 buildCounterDatafeedsCustomBatchResponse--; 849 buildCounterDatafeedsCustomBatchResponse--;
850 } 850 }
851 851
852 core.int buildCounterDatafeedsCustomBatchResponseEntry = 0; 852 core.int buildCounterDatafeedsCustomBatchResponseEntry = 0;
853 buildDatafeedsCustomBatchResponseEntry() { 853 buildDatafeedsCustomBatchResponseEntry() {
854 var o = new api.DatafeedsCustomBatchResponseEntry(); 854 var o = new api.DatafeedsCustomBatchResponseEntry();
855 buildCounterDatafeedsCustomBatchResponseEntry++; 855 buildCounterDatafeedsCustomBatchResponseEntry++;
856 if (buildCounterDatafeedsCustomBatchResponseEntry < 3) { 856 if (buildCounterDatafeedsCustomBatchResponseEntry < 3) {
857 o.batchId = 42; 857 o.batchId = 42;
858 o.datafeed = buildDatafeed(); 858 o.datafeed = buildDatafeed();
859 o.errors = buildErrors(); 859 o.errors = buildErrors();
860 } 860 }
861 buildCounterDatafeedsCustomBatchResponseEntry--; 861 buildCounterDatafeedsCustomBatchResponseEntry--;
862 return o; 862 return o;
863 } 863 }
864 864
865 checkDatafeedsCustomBatchResponseEntry(api.DatafeedsCustomBatchResponseEntry o) { 865 checkDatafeedsCustomBatchResponseEntry(api.DatafeedsCustomBatchResponseEntry o) {
866 buildCounterDatafeedsCustomBatchResponseEntry++; 866 buildCounterDatafeedsCustomBatchResponseEntry++;
867 if (buildCounterDatafeedsCustomBatchResponseEntry < 3) { 867 if (buildCounterDatafeedsCustomBatchResponseEntry < 3) {
868 unittest.expect(o.batchId, unittest.equals(42)); 868 unittest.expect(o.batchId, unittest.equals(42));
869 checkDatafeed(o.datafeed); 869 checkDatafeed(o.datafeed);
870 checkErrors(o.errors); 870 checkErrors(o.errors);
871 } 871 }
872 buildCounterDatafeedsCustomBatchResponseEntry--; 872 buildCounterDatafeedsCustomBatchResponseEntry--;
873 } 873 }
874 874
875 buildUnnamed311() { 875 buildUnnamed576() {
876 var o = new core.List<api.Datafeed>(); 876 var o = new core.List<api.Datafeed>();
877 o.add(buildDatafeed()); 877 o.add(buildDatafeed());
878 o.add(buildDatafeed()); 878 o.add(buildDatafeed());
879 return o; 879 return o;
880 } 880 }
881 881
882 checkUnnamed311(core.List<api.Datafeed> o) { 882 checkUnnamed576(core.List<api.Datafeed> o) {
883 unittest.expect(o, unittest.hasLength(2)); 883 unittest.expect(o, unittest.hasLength(2));
884 checkDatafeed(o[0]); 884 checkDatafeed(o[0]);
885 checkDatafeed(o[1]); 885 checkDatafeed(o[1]);
886 } 886 }
887 887
888 core.int buildCounterDatafeedsListResponse = 0; 888 core.int buildCounterDatafeedsListResponse = 0;
889 buildDatafeedsListResponse() { 889 buildDatafeedsListResponse() {
890 var o = new api.DatafeedsListResponse(); 890 var o = new api.DatafeedsListResponse();
891 buildCounterDatafeedsListResponse++; 891 buildCounterDatafeedsListResponse++;
892 if (buildCounterDatafeedsListResponse < 3) { 892 if (buildCounterDatafeedsListResponse < 3) {
893 o.kind = "foo"; 893 o.kind = "foo";
894 o.resources = buildUnnamed311(); 894 o.nextPageToken = "foo";
895 o.resources = buildUnnamed576();
895 } 896 }
896 buildCounterDatafeedsListResponse--; 897 buildCounterDatafeedsListResponse--;
897 return o; 898 return o;
898 } 899 }
899 900
900 checkDatafeedsListResponse(api.DatafeedsListResponse o) { 901 checkDatafeedsListResponse(api.DatafeedsListResponse o) {
901 buildCounterDatafeedsListResponse++; 902 buildCounterDatafeedsListResponse++;
902 if (buildCounterDatafeedsListResponse < 3) { 903 if (buildCounterDatafeedsListResponse < 3) {
903 unittest.expect(o.kind, unittest.equals('foo')); 904 unittest.expect(o.kind, unittest.equals('foo'));
904 checkUnnamed311(o.resources); 905 unittest.expect(o.nextPageToken, unittest.equals('foo'));
906 checkUnnamed576(o.resources);
905 } 907 }
906 buildCounterDatafeedsListResponse--; 908 buildCounterDatafeedsListResponse--;
907 } 909 }
908 910
909 buildUnnamed312() { 911 buildUnnamed577() {
910 var o = new core.List<api.DatafeedstatusesCustomBatchRequestEntry>(); 912 var o = new core.List<api.DatafeedstatusesCustomBatchRequestEntry>();
911 o.add(buildDatafeedstatusesCustomBatchRequestEntry()); 913 o.add(buildDatafeedstatusesCustomBatchRequestEntry());
912 o.add(buildDatafeedstatusesCustomBatchRequestEntry()); 914 o.add(buildDatafeedstatusesCustomBatchRequestEntry());
913 return o; 915 return o;
914 } 916 }
915 917
916 checkUnnamed312(core.List<api.DatafeedstatusesCustomBatchRequestEntry> o) { 918 checkUnnamed577(core.List<api.DatafeedstatusesCustomBatchRequestEntry> o) {
917 unittest.expect(o, unittest.hasLength(2)); 919 unittest.expect(o, unittest.hasLength(2));
918 checkDatafeedstatusesCustomBatchRequestEntry(o[0]); 920 checkDatafeedstatusesCustomBatchRequestEntry(o[0]);
919 checkDatafeedstatusesCustomBatchRequestEntry(o[1]); 921 checkDatafeedstatusesCustomBatchRequestEntry(o[1]);
920 } 922 }
921 923
922 core.int buildCounterDatafeedstatusesCustomBatchRequest = 0; 924 core.int buildCounterDatafeedstatusesCustomBatchRequest = 0;
923 buildDatafeedstatusesCustomBatchRequest() { 925 buildDatafeedstatusesCustomBatchRequest() {
924 var o = new api.DatafeedstatusesCustomBatchRequest(); 926 var o = new api.DatafeedstatusesCustomBatchRequest();
925 buildCounterDatafeedstatusesCustomBatchRequest++; 927 buildCounterDatafeedstatusesCustomBatchRequest++;
926 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { 928 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) {
927 o.entries = buildUnnamed312(); 929 o.entries = buildUnnamed577();
928 } 930 }
929 buildCounterDatafeedstatusesCustomBatchRequest--; 931 buildCounterDatafeedstatusesCustomBatchRequest--;
930 return o; 932 return o;
931 } 933 }
932 934
933 checkDatafeedstatusesCustomBatchRequest(api.DatafeedstatusesCustomBatchRequest o ) { 935 checkDatafeedstatusesCustomBatchRequest(api.DatafeedstatusesCustomBatchRequest o ) {
934 buildCounterDatafeedstatusesCustomBatchRequest++; 936 buildCounterDatafeedstatusesCustomBatchRequest++;
935 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { 937 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) {
936 checkUnnamed312(o.entries); 938 checkUnnamed577(o.entries);
937 } 939 }
938 buildCounterDatafeedstatusesCustomBatchRequest--; 940 buildCounterDatafeedstatusesCustomBatchRequest--;
939 } 941 }
940 942
941 core.int buildCounterDatafeedstatusesCustomBatchRequestEntry = 0; 943 core.int buildCounterDatafeedstatusesCustomBatchRequestEntry = 0;
942 buildDatafeedstatusesCustomBatchRequestEntry() { 944 buildDatafeedstatusesCustomBatchRequestEntry() {
943 var o = new api.DatafeedstatusesCustomBatchRequestEntry(); 945 var o = new api.DatafeedstatusesCustomBatchRequestEntry();
944 buildCounterDatafeedstatusesCustomBatchRequestEntry++; 946 buildCounterDatafeedstatusesCustomBatchRequestEntry++;
945 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) { 947 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) {
946 o.batchId = 42; 948 o.batchId = 42;
947 o.datafeedId = "foo"; 949 o.datafeedId = "foo";
948 o.merchantId = "foo"; 950 o.merchantId = "foo";
949 o.method = "foo"; 951 o.method = "foo";
950 } 952 }
951 buildCounterDatafeedstatusesCustomBatchRequestEntry--; 953 buildCounterDatafeedstatusesCustomBatchRequestEntry--;
952 return o; 954 return o;
953 } 955 }
954 956
955 checkDatafeedstatusesCustomBatchRequestEntry(api.DatafeedstatusesCustomBatchRequ estEntry o) { 957 checkDatafeedstatusesCustomBatchRequestEntry(api.DatafeedstatusesCustomBatchRequ estEntry o) {
956 buildCounterDatafeedstatusesCustomBatchRequestEntry++; 958 buildCounterDatafeedstatusesCustomBatchRequestEntry++;
957 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) { 959 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) {
958 unittest.expect(o.batchId, unittest.equals(42)); 960 unittest.expect(o.batchId, unittest.equals(42));
959 unittest.expect(o.datafeedId, unittest.equals('foo')); 961 unittest.expect(o.datafeedId, unittest.equals('foo'));
960 unittest.expect(o.merchantId, unittest.equals('foo')); 962 unittest.expect(o.merchantId, unittest.equals('foo'));
961 unittest.expect(o.method, unittest.equals('foo')); 963 unittest.expect(o.method, unittest.equals('foo'));
962 } 964 }
963 buildCounterDatafeedstatusesCustomBatchRequestEntry--; 965 buildCounterDatafeedstatusesCustomBatchRequestEntry--;
964 } 966 }
965 967
966 buildUnnamed313() { 968 buildUnnamed578() {
967 var o = new core.List<api.DatafeedstatusesCustomBatchResponseEntry>(); 969 var o = new core.List<api.DatafeedstatusesCustomBatchResponseEntry>();
968 o.add(buildDatafeedstatusesCustomBatchResponseEntry()); 970 o.add(buildDatafeedstatusesCustomBatchResponseEntry());
969 o.add(buildDatafeedstatusesCustomBatchResponseEntry()); 971 o.add(buildDatafeedstatusesCustomBatchResponseEntry());
970 return o; 972 return o;
971 } 973 }
972 974
973 checkUnnamed313(core.List<api.DatafeedstatusesCustomBatchResponseEntry> o) { 975 checkUnnamed578(core.List<api.DatafeedstatusesCustomBatchResponseEntry> o) {
974 unittest.expect(o, unittest.hasLength(2)); 976 unittest.expect(o, unittest.hasLength(2));
975 checkDatafeedstatusesCustomBatchResponseEntry(o[0]); 977 checkDatafeedstatusesCustomBatchResponseEntry(o[0]);
976 checkDatafeedstatusesCustomBatchResponseEntry(o[1]); 978 checkDatafeedstatusesCustomBatchResponseEntry(o[1]);
977 } 979 }
978 980
979 core.int buildCounterDatafeedstatusesCustomBatchResponse = 0; 981 core.int buildCounterDatafeedstatusesCustomBatchResponse = 0;
980 buildDatafeedstatusesCustomBatchResponse() { 982 buildDatafeedstatusesCustomBatchResponse() {
981 var o = new api.DatafeedstatusesCustomBatchResponse(); 983 var o = new api.DatafeedstatusesCustomBatchResponse();
982 buildCounterDatafeedstatusesCustomBatchResponse++; 984 buildCounterDatafeedstatusesCustomBatchResponse++;
983 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { 985 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) {
984 o.entries = buildUnnamed313(); 986 o.entries = buildUnnamed578();
985 o.kind = "foo"; 987 o.kind = "foo";
986 } 988 }
987 buildCounterDatafeedstatusesCustomBatchResponse--; 989 buildCounterDatafeedstatusesCustomBatchResponse--;
988 return o; 990 return o;
989 } 991 }
990 992
991 checkDatafeedstatusesCustomBatchResponse(api.DatafeedstatusesCustomBatchResponse o) { 993 checkDatafeedstatusesCustomBatchResponse(api.DatafeedstatusesCustomBatchResponse o) {
992 buildCounterDatafeedstatusesCustomBatchResponse++; 994 buildCounterDatafeedstatusesCustomBatchResponse++;
993 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { 995 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) {
994 checkUnnamed313(o.entries); 996 checkUnnamed578(o.entries);
995 unittest.expect(o.kind, unittest.equals('foo')); 997 unittest.expect(o.kind, unittest.equals('foo'));
996 } 998 }
997 buildCounterDatafeedstatusesCustomBatchResponse--; 999 buildCounterDatafeedstatusesCustomBatchResponse--;
998 } 1000 }
999 1001
1000 core.int buildCounterDatafeedstatusesCustomBatchResponseEntry = 0; 1002 core.int buildCounterDatafeedstatusesCustomBatchResponseEntry = 0;
1001 buildDatafeedstatusesCustomBatchResponseEntry() { 1003 buildDatafeedstatusesCustomBatchResponseEntry() {
1002 var o = new api.DatafeedstatusesCustomBatchResponseEntry(); 1004 var o = new api.DatafeedstatusesCustomBatchResponseEntry();
1003 buildCounterDatafeedstatusesCustomBatchResponseEntry++; 1005 buildCounterDatafeedstatusesCustomBatchResponseEntry++;
1004 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) { 1006 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) {
1005 o.batchId = 42; 1007 o.batchId = 42;
1006 o.datafeedStatus = buildDatafeedStatus(); 1008 o.datafeedStatus = buildDatafeedStatus();
1007 o.errors = buildErrors(); 1009 o.errors = buildErrors();
1008 } 1010 }
1009 buildCounterDatafeedstatusesCustomBatchResponseEntry--; 1011 buildCounterDatafeedstatusesCustomBatchResponseEntry--;
1010 return o; 1012 return o;
1011 } 1013 }
1012 1014
1013 checkDatafeedstatusesCustomBatchResponseEntry(api.DatafeedstatusesCustomBatchRes ponseEntry o) { 1015 checkDatafeedstatusesCustomBatchResponseEntry(api.DatafeedstatusesCustomBatchRes ponseEntry o) {
1014 buildCounterDatafeedstatusesCustomBatchResponseEntry++; 1016 buildCounterDatafeedstatusesCustomBatchResponseEntry++;
1015 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) { 1017 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) {
1016 unittest.expect(o.batchId, unittest.equals(42)); 1018 unittest.expect(o.batchId, unittest.equals(42));
1017 checkDatafeedStatus(o.datafeedStatus); 1019 checkDatafeedStatus(o.datafeedStatus);
1018 checkErrors(o.errors); 1020 checkErrors(o.errors);
1019 } 1021 }
1020 buildCounterDatafeedstatusesCustomBatchResponseEntry--; 1022 buildCounterDatafeedstatusesCustomBatchResponseEntry--;
1021 } 1023 }
1022 1024
1023 buildUnnamed314() { 1025 buildUnnamed579() {
1024 var o = new core.List<api.DatafeedStatus>(); 1026 var o = new core.List<api.DatafeedStatus>();
1025 o.add(buildDatafeedStatus()); 1027 o.add(buildDatafeedStatus());
1026 o.add(buildDatafeedStatus()); 1028 o.add(buildDatafeedStatus());
1027 return o; 1029 return o;
1028 } 1030 }
1029 1031
1030 checkUnnamed314(core.List<api.DatafeedStatus> o) { 1032 checkUnnamed579(core.List<api.DatafeedStatus> o) {
1031 unittest.expect(o, unittest.hasLength(2)); 1033 unittest.expect(o, unittest.hasLength(2));
1032 checkDatafeedStatus(o[0]); 1034 checkDatafeedStatus(o[0]);
1033 checkDatafeedStatus(o[1]); 1035 checkDatafeedStatus(o[1]);
1034 } 1036 }
1035 1037
1036 core.int buildCounterDatafeedstatusesListResponse = 0; 1038 core.int buildCounterDatafeedstatusesListResponse = 0;
1037 buildDatafeedstatusesListResponse() { 1039 buildDatafeedstatusesListResponse() {
1038 var o = new api.DatafeedstatusesListResponse(); 1040 var o = new api.DatafeedstatusesListResponse();
1039 buildCounterDatafeedstatusesListResponse++; 1041 buildCounterDatafeedstatusesListResponse++;
1040 if (buildCounterDatafeedstatusesListResponse < 3) { 1042 if (buildCounterDatafeedstatusesListResponse < 3) {
1041 o.kind = "foo"; 1043 o.kind = "foo";
1042 o.resources = buildUnnamed314(); 1044 o.nextPageToken = "foo";
1045 o.resources = buildUnnamed579();
1043 } 1046 }
1044 buildCounterDatafeedstatusesListResponse--; 1047 buildCounterDatafeedstatusesListResponse--;
1045 return o; 1048 return o;
1046 } 1049 }
1047 1050
1048 checkDatafeedstatusesListResponse(api.DatafeedstatusesListResponse o) { 1051 checkDatafeedstatusesListResponse(api.DatafeedstatusesListResponse o) {
1049 buildCounterDatafeedstatusesListResponse++; 1052 buildCounterDatafeedstatusesListResponse++;
1050 if (buildCounterDatafeedstatusesListResponse < 3) { 1053 if (buildCounterDatafeedstatusesListResponse < 3) {
1051 unittest.expect(o.kind, unittest.equals('foo')); 1054 unittest.expect(o.kind, unittest.equals('foo'));
1052 checkUnnamed314(o.resources); 1055 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1056 checkUnnamed579(o.resources);
1053 } 1057 }
1054 buildCounterDatafeedstatusesListResponse--; 1058 buildCounterDatafeedstatusesListResponse--;
1055 } 1059 }
1056 1060
1057 core.int buildCounterError = 0; 1061 core.int buildCounterError = 0;
1058 buildError() { 1062 buildError() {
1059 var o = new api.Error(); 1063 var o = new api.Error();
1060 buildCounterError++; 1064 buildCounterError++;
1061 if (buildCounterError < 3) { 1065 if (buildCounterError < 3) {
1062 o.domain = "foo"; 1066 o.domain = "foo";
1063 o.message = "foo"; 1067 o.message = "foo";
1064 o.reason = "foo"; 1068 o.reason = "foo";
1065 } 1069 }
1066 buildCounterError--; 1070 buildCounterError--;
1067 return o; 1071 return o;
1068 } 1072 }
1069 1073
1070 checkError(api.Error o) { 1074 checkError(api.Error o) {
1071 buildCounterError++; 1075 buildCounterError++;
1072 if (buildCounterError < 3) { 1076 if (buildCounterError < 3) {
1073 unittest.expect(o.domain, unittest.equals('foo')); 1077 unittest.expect(o.domain, unittest.equals('foo'));
1074 unittest.expect(o.message, unittest.equals('foo')); 1078 unittest.expect(o.message, unittest.equals('foo'));
1075 unittest.expect(o.reason, unittest.equals('foo')); 1079 unittest.expect(o.reason, unittest.equals('foo'));
1076 } 1080 }
1077 buildCounterError--; 1081 buildCounterError--;
1078 } 1082 }
1079 1083
1080 buildUnnamed315() { 1084 buildUnnamed580() {
1081 var o = new core.List<api.Error>(); 1085 var o = new core.List<api.Error>();
1082 o.add(buildError()); 1086 o.add(buildError());
1083 o.add(buildError()); 1087 o.add(buildError());
1084 return o; 1088 return o;
1085 } 1089 }
1086 1090
1087 checkUnnamed315(core.List<api.Error> o) { 1091 checkUnnamed580(core.List<api.Error> o) {
1088 unittest.expect(o, unittest.hasLength(2)); 1092 unittest.expect(o, unittest.hasLength(2));
1089 checkError(o[0]); 1093 checkError(o[0]);
1090 checkError(o[1]); 1094 checkError(o[1]);
1091 } 1095 }
1092 1096
1093 core.int buildCounterErrors = 0; 1097 core.int buildCounterErrors = 0;
1094 buildErrors() { 1098 buildErrors() {
1095 var o = new api.Errors(); 1099 var o = new api.Errors();
1096 buildCounterErrors++; 1100 buildCounterErrors++;
1097 if (buildCounterErrors < 3) { 1101 if (buildCounterErrors < 3) {
1098 o.code = 42; 1102 o.code = 42;
1099 o.errors = buildUnnamed315(); 1103 o.errors = buildUnnamed580();
1100 o.message = "foo"; 1104 o.message = "foo";
1101 } 1105 }
1102 buildCounterErrors--; 1106 buildCounterErrors--;
1103 return o; 1107 return o;
1104 } 1108 }
1105 1109
1106 checkErrors(api.Errors o) { 1110 checkErrors(api.Errors o) {
1107 buildCounterErrors++; 1111 buildCounterErrors++;
1108 if (buildCounterErrors < 3) { 1112 if (buildCounterErrors < 3) {
1109 unittest.expect(o.code, unittest.equals(42)); 1113 unittest.expect(o.code, unittest.equals(42));
1110 checkUnnamed315(o.errors); 1114 checkUnnamed580(o.errors);
1111 unittest.expect(o.message, unittest.equals('foo')); 1115 unittest.expect(o.message, unittest.equals('foo'));
1112 } 1116 }
1113 buildCounterErrors--; 1117 buildCounterErrors--;
1114 } 1118 }
1115 1119
1116 core.int buildCounterInventory = 0; 1120 core.int buildCounterInventory = 0;
1117 buildInventory() { 1121 buildInventory() {
1118 var o = new api.Inventory(); 1122 var o = new api.Inventory();
1119 buildCounterInventory++; 1123 buildCounterInventory++;
1120 if (buildCounterInventory < 3) { 1124 if (buildCounterInventory < 3) {
(...skipping 14 matching lines...) Expand all
1135 unittest.expect(o.availability, unittest.equals('foo')); 1139 unittest.expect(o.availability, unittest.equals('foo'));
1136 unittest.expect(o.kind, unittest.equals('foo')); 1140 unittest.expect(o.kind, unittest.equals('foo'));
1137 checkPrice(o.price); 1141 checkPrice(o.price);
1138 unittest.expect(o.quantity, unittest.equals(42)); 1142 unittest.expect(o.quantity, unittest.equals(42));
1139 checkPrice(o.salePrice); 1143 checkPrice(o.salePrice);
1140 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); 1144 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo'));
1141 } 1145 }
1142 buildCounterInventory--; 1146 buildCounterInventory--;
1143 } 1147 }
1144 1148
1145 buildUnnamed316() { 1149 buildUnnamed581() {
1146 var o = new core.List<api.InventoryCustomBatchRequestEntry>(); 1150 var o = new core.List<api.InventoryCustomBatchRequestEntry>();
1147 o.add(buildInventoryCustomBatchRequestEntry()); 1151 o.add(buildInventoryCustomBatchRequestEntry());
1148 o.add(buildInventoryCustomBatchRequestEntry()); 1152 o.add(buildInventoryCustomBatchRequestEntry());
1149 return o; 1153 return o;
1150 } 1154 }
1151 1155
1152 checkUnnamed316(core.List<api.InventoryCustomBatchRequestEntry> o) { 1156 checkUnnamed581(core.List<api.InventoryCustomBatchRequestEntry> o) {
1153 unittest.expect(o, unittest.hasLength(2)); 1157 unittest.expect(o, unittest.hasLength(2));
1154 checkInventoryCustomBatchRequestEntry(o[0]); 1158 checkInventoryCustomBatchRequestEntry(o[0]);
1155 checkInventoryCustomBatchRequestEntry(o[1]); 1159 checkInventoryCustomBatchRequestEntry(o[1]);
1156 } 1160 }
1157 1161
1158 core.int buildCounterInventoryCustomBatchRequest = 0; 1162 core.int buildCounterInventoryCustomBatchRequest = 0;
1159 buildInventoryCustomBatchRequest() { 1163 buildInventoryCustomBatchRequest() {
1160 var o = new api.InventoryCustomBatchRequest(); 1164 var o = new api.InventoryCustomBatchRequest();
1161 buildCounterInventoryCustomBatchRequest++; 1165 buildCounterInventoryCustomBatchRequest++;
1162 if (buildCounterInventoryCustomBatchRequest < 3) { 1166 if (buildCounterInventoryCustomBatchRequest < 3) {
1163 o.entries = buildUnnamed316(); 1167 o.entries = buildUnnamed581();
1164 } 1168 }
1165 buildCounterInventoryCustomBatchRequest--; 1169 buildCounterInventoryCustomBatchRequest--;
1166 return o; 1170 return o;
1167 } 1171 }
1168 1172
1169 checkInventoryCustomBatchRequest(api.InventoryCustomBatchRequest o) { 1173 checkInventoryCustomBatchRequest(api.InventoryCustomBatchRequest o) {
1170 buildCounterInventoryCustomBatchRequest++; 1174 buildCounterInventoryCustomBatchRequest++;
1171 if (buildCounterInventoryCustomBatchRequest < 3) { 1175 if (buildCounterInventoryCustomBatchRequest < 3) {
1172 checkUnnamed316(o.entries); 1176 checkUnnamed581(o.entries);
1173 } 1177 }
1174 buildCounterInventoryCustomBatchRequest--; 1178 buildCounterInventoryCustomBatchRequest--;
1175 } 1179 }
1176 1180
1177 core.int buildCounterInventoryCustomBatchRequestEntry = 0; 1181 core.int buildCounterInventoryCustomBatchRequestEntry = 0;
1178 buildInventoryCustomBatchRequestEntry() { 1182 buildInventoryCustomBatchRequestEntry() {
1179 var o = new api.InventoryCustomBatchRequestEntry(); 1183 var o = new api.InventoryCustomBatchRequestEntry();
1180 buildCounterInventoryCustomBatchRequestEntry++; 1184 buildCounterInventoryCustomBatchRequestEntry++;
1181 if (buildCounterInventoryCustomBatchRequestEntry < 3) { 1185 if (buildCounterInventoryCustomBatchRequestEntry < 3) {
1182 o.batchId = 42; 1186 o.batchId = 42;
(...skipping 11 matching lines...) Expand all
1194 if (buildCounterInventoryCustomBatchRequestEntry < 3) { 1198 if (buildCounterInventoryCustomBatchRequestEntry < 3) {
1195 unittest.expect(o.batchId, unittest.equals(42)); 1199 unittest.expect(o.batchId, unittest.equals(42));
1196 checkInventory(o.inventory); 1200 checkInventory(o.inventory);
1197 unittest.expect(o.merchantId, unittest.equals('foo')); 1201 unittest.expect(o.merchantId, unittest.equals('foo'));
1198 unittest.expect(o.productId, unittest.equals('foo')); 1202 unittest.expect(o.productId, unittest.equals('foo'));
1199 unittest.expect(o.storeCode, unittest.equals('foo')); 1203 unittest.expect(o.storeCode, unittest.equals('foo'));
1200 } 1204 }
1201 buildCounterInventoryCustomBatchRequestEntry--; 1205 buildCounterInventoryCustomBatchRequestEntry--;
1202 } 1206 }
1203 1207
1204 buildUnnamed317() { 1208 buildUnnamed582() {
1205 var o = new core.List<api.InventoryCustomBatchResponseEntry>(); 1209 var o = new core.List<api.InventoryCustomBatchResponseEntry>();
1206 o.add(buildInventoryCustomBatchResponseEntry()); 1210 o.add(buildInventoryCustomBatchResponseEntry());
1207 o.add(buildInventoryCustomBatchResponseEntry()); 1211 o.add(buildInventoryCustomBatchResponseEntry());
1208 return o; 1212 return o;
1209 } 1213 }
1210 1214
1211 checkUnnamed317(core.List<api.InventoryCustomBatchResponseEntry> o) { 1215 checkUnnamed582(core.List<api.InventoryCustomBatchResponseEntry> o) {
1212 unittest.expect(o, unittest.hasLength(2)); 1216 unittest.expect(o, unittest.hasLength(2));
1213 checkInventoryCustomBatchResponseEntry(o[0]); 1217 checkInventoryCustomBatchResponseEntry(o[0]);
1214 checkInventoryCustomBatchResponseEntry(o[1]); 1218 checkInventoryCustomBatchResponseEntry(o[1]);
1215 } 1219 }
1216 1220
1217 core.int buildCounterInventoryCustomBatchResponse = 0; 1221 core.int buildCounterInventoryCustomBatchResponse = 0;
1218 buildInventoryCustomBatchResponse() { 1222 buildInventoryCustomBatchResponse() {
1219 var o = new api.InventoryCustomBatchResponse(); 1223 var o = new api.InventoryCustomBatchResponse();
1220 buildCounterInventoryCustomBatchResponse++; 1224 buildCounterInventoryCustomBatchResponse++;
1221 if (buildCounterInventoryCustomBatchResponse < 3) { 1225 if (buildCounterInventoryCustomBatchResponse < 3) {
1222 o.entries = buildUnnamed317(); 1226 o.entries = buildUnnamed582();
1223 o.kind = "foo"; 1227 o.kind = "foo";
1224 } 1228 }
1225 buildCounterInventoryCustomBatchResponse--; 1229 buildCounterInventoryCustomBatchResponse--;
1226 return o; 1230 return o;
1227 } 1231 }
1228 1232
1229 checkInventoryCustomBatchResponse(api.InventoryCustomBatchResponse o) { 1233 checkInventoryCustomBatchResponse(api.InventoryCustomBatchResponse o) {
1230 buildCounterInventoryCustomBatchResponse++; 1234 buildCounterInventoryCustomBatchResponse++;
1231 if (buildCounterInventoryCustomBatchResponse < 3) { 1235 if (buildCounterInventoryCustomBatchResponse < 3) {
1232 checkUnnamed317(o.entries); 1236 checkUnnamed582(o.entries);
1233 unittest.expect(o.kind, unittest.equals('foo')); 1237 unittest.expect(o.kind, unittest.equals('foo'));
1234 } 1238 }
1235 buildCounterInventoryCustomBatchResponse--; 1239 buildCounterInventoryCustomBatchResponse--;
1236 } 1240 }
1237 1241
1238 core.int buildCounterInventoryCustomBatchResponseEntry = 0; 1242 core.int buildCounterInventoryCustomBatchResponseEntry = 0;
1239 buildInventoryCustomBatchResponseEntry() { 1243 buildInventoryCustomBatchResponseEntry() {
1240 var o = new api.InventoryCustomBatchResponseEntry(); 1244 var o = new api.InventoryCustomBatchResponseEntry();
1241 buildCounterInventoryCustomBatchResponseEntry++; 1245 buildCounterInventoryCustomBatchResponseEntry++;
1242 if (buildCounterInventoryCustomBatchResponseEntry < 3) { 1246 if (buildCounterInventoryCustomBatchResponseEntry < 3) {
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
1341 1345
1342 checkPrice(api.Price o) { 1346 checkPrice(api.Price o) {
1343 buildCounterPrice++; 1347 buildCounterPrice++;
1344 if (buildCounterPrice < 3) { 1348 if (buildCounterPrice < 3) {
1345 unittest.expect(o.currency, unittest.equals('foo')); 1349 unittest.expect(o.currency, unittest.equals('foo'));
1346 unittest.expect(o.value, unittest.equals('foo')); 1350 unittest.expect(o.value, unittest.equals('foo'));
1347 } 1351 }
1348 buildCounterPrice--; 1352 buildCounterPrice--;
1349 } 1353 }
1350 1354
1351 buildUnnamed318() { 1355 buildUnnamed583() {
1352 var o = new core.List<core.String>(); 1356 var o = new core.List<core.String>();
1353 o.add("foo"); 1357 o.add("foo");
1354 o.add("foo"); 1358 o.add("foo");
1355 return o; 1359 return o;
1356 } 1360 }
1357 1361
1358 checkUnnamed318(core.List<core.String> o) { 1362 checkUnnamed583(core.List<core.String> o) {
1359 unittest.expect(o, unittest.hasLength(2)); 1363 unittest.expect(o, unittest.hasLength(2));
1360 unittest.expect(o[0], unittest.equals('foo')); 1364 unittest.expect(o[0], unittest.equals('foo'));
1361 unittest.expect(o[1], unittest.equals('foo')); 1365 unittest.expect(o[1], unittest.equals('foo'));
1362 } 1366 }
1363 1367
1364 buildUnnamed319() { 1368 buildUnnamed584() {
1365 var o = new core.List<core.String>(); 1369 var o = new core.List<core.String>();
1366 o.add("foo"); 1370 o.add("foo");
1367 o.add("foo"); 1371 o.add("foo");
1368 return o; 1372 return o;
1369 } 1373 }
1370 1374
1371 checkUnnamed319(core.List<core.String> o) { 1375 checkUnnamed584(core.List<core.String> o) {
1372 unittest.expect(o, unittest.hasLength(2)); 1376 unittest.expect(o, unittest.hasLength(2));
1373 unittest.expect(o[0], unittest.equals('foo')); 1377 unittest.expect(o[0], unittest.equals('foo'));
1374 unittest.expect(o[1], unittest.equals('foo')); 1378 unittest.expect(o[1], unittest.equals('foo'));
1375 } 1379 }
1376 1380
1377 buildUnnamed320() { 1381 buildUnnamed585() {
1378 var o = new core.List<api.ProductCustomAttribute>(); 1382 var o = new core.List<api.ProductCustomAttribute>();
1379 o.add(buildProductCustomAttribute()); 1383 o.add(buildProductCustomAttribute());
1380 o.add(buildProductCustomAttribute()); 1384 o.add(buildProductCustomAttribute());
1381 return o; 1385 return o;
1382 } 1386 }
1383 1387
1384 checkUnnamed320(core.List<api.ProductCustomAttribute> o) { 1388 checkUnnamed585(core.List<api.ProductCustomAttribute> o) {
1385 unittest.expect(o, unittest.hasLength(2)); 1389 unittest.expect(o, unittest.hasLength(2));
1386 checkProductCustomAttribute(o[0]); 1390 checkProductCustomAttribute(o[0]);
1387 checkProductCustomAttribute(o[1]); 1391 checkProductCustomAttribute(o[1]);
1388 } 1392 }
1389 1393
1390 buildUnnamed321() { 1394 buildUnnamed586() {
1391 var o = new core.List<api.ProductCustomGroup>(); 1395 var o = new core.List<api.ProductCustomGroup>();
1392 o.add(buildProductCustomGroup()); 1396 o.add(buildProductCustomGroup());
1393 o.add(buildProductCustomGroup()); 1397 o.add(buildProductCustomGroup());
1394 return o; 1398 return o;
1395 } 1399 }
1396 1400
1397 checkUnnamed321(core.List<api.ProductCustomGroup> o) { 1401 checkUnnamed586(core.List<api.ProductCustomGroup> o) {
1398 unittest.expect(o, unittest.hasLength(2)); 1402 unittest.expect(o, unittest.hasLength(2));
1399 checkProductCustomGroup(o[0]); 1403 checkProductCustomGroup(o[0]);
1400 checkProductCustomGroup(o[1]); 1404 checkProductCustomGroup(o[1]);
1401 } 1405 }
1402 1406
1403 buildUnnamed322() { 1407 buildUnnamed587() {
1404 var o = new core.List<api.ProductDestination>(); 1408 var o = new core.List<api.ProductDestination>();
1405 o.add(buildProductDestination()); 1409 o.add(buildProductDestination());
1406 o.add(buildProductDestination()); 1410 o.add(buildProductDestination());
1407 return o; 1411 return o;
1408 } 1412 }
1409 1413
1410 checkUnnamed322(core.List<api.ProductDestination> o) { 1414 checkUnnamed587(core.List<api.ProductDestination> o) {
1411 unittest.expect(o, unittest.hasLength(2)); 1415 unittest.expect(o, unittest.hasLength(2));
1412 checkProductDestination(o[0]); 1416 checkProductDestination(o[0]);
1413 checkProductDestination(o[1]); 1417 checkProductDestination(o[1]);
1414 } 1418 }
1415 1419
1416 buildUnnamed323() { 1420 buildUnnamed588() {
1417 var o = new core.List<api.ProductShipping>(); 1421 var o = new core.List<api.ProductShipping>();
1418 o.add(buildProductShipping()); 1422 o.add(buildProductShipping());
1419 o.add(buildProductShipping()); 1423 o.add(buildProductShipping());
1420 return o; 1424 return o;
1421 } 1425 }
1422 1426
1423 checkUnnamed323(core.List<api.ProductShipping> o) { 1427 checkUnnamed588(core.List<api.ProductShipping> o) {
1424 unittest.expect(o, unittest.hasLength(2)); 1428 unittest.expect(o, unittest.hasLength(2));
1425 checkProductShipping(o[0]); 1429 checkProductShipping(o[0]);
1426 checkProductShipping(o[1]); 1430 checkProductShipping(o[1]);
1427 } 1431 }
1428 1432
1429 buildUnnamed324() { 1433 buildUnnamed589() {
1430 var o = new core.List<core.String>(); 1434 var o = new core.List<core.String>();
1431 o.add("foo"); 1435 o.add("foo");
1432 o.add("foo"); 1436 o.add("foo");
1433 return o; 1437 return o;
1434 } 1438 }
1435 1439
1436 checkUnnamed324(core.List<core.String> o) { 1440 checkUnnamed589(core.List<core.String> o) {
1437 unittest.expect(o, unittest.hasLength(2)); 1441 unittest.expect(o, unittest.hasLength(2));
1438 unittest.expect(o[0], unittest.equals('foo')); 1442 unittest.expect(o[0], unittest.equals('foo'));
1439 unittest.expect(o[1], unittest.equals('foo')); 1443 unittest.expect(o[1], unittest.equals('foo'));
1440 } 1444 }
1441 1445
1442 buildUnnamed325() { 1446 buildUnnamed590() {
1443 var o = new core.List<api.ProductTax>(); 1447 var o = new core.List<api.ProductTax>();
1444 o.add(buildProductTax()); 1448 o.add(buildProductTax());
1445 o.add(buildProductTax()); 1449 o.add(buildProductTax());
1446 return o; 1450 return o;
1447 } 1451 }
1448 1452
1449 checkUnnamed325(core.List<api.ProductTax> o) { 1453 checkUnnamed590(core.List<api.ProductTax> o) {
1450 unittest.expect(o, unittest.hasLength(2)); 1454 unittest.expect(o, unittest.hasLength(2));
1451 checkProductTax(o[0]); 1455 checkProductTax(o[0]);
1452 checkProductTax(o[1]); 1456 checkProductTax(o[1]);
1453 } 1457 }
1454 1458
1455 buildUnnamed326() { 1459 buildUnnamed591() {
1456 var o = new core.List<core.String>(); 1460 var o = new core.List<core.String>();
1457 o.add("foo"); 1461 o.add("foo");
1458 o.add("foo"); 1462 o.add("foo");
1459 return o; 1463 return o;
1460 } 1464 }
1461 1465
1462 checkUnnamed326(core.List<core.String> o) { 1466 checkUnnamed591(core.List<core.String> o) {
1463 unittest.expect(o, unittest.hasLength(2)); 1467 unittest.expect(o, unittest.hasLength(2));
1464 unittest.expect(o[0], unittest.equals('foo')); 1468 unittest.expect(o[0], unittest.equals('foo'));
1465 unittest.expect(o[1], unittest.equals('foo')); 1469 unittest.expect(o[1], unittest.equals('foo'));
1466 } 1470 }
1467 1471
1468 buildUnnamed327() { 1472 buildUnnamed592() {
1469 var o = new core.List<api.Error>(); 1473 var o = new core.List<api.Error>();
1470 o.add(buildError()); 1474 o.add(buildError());
1471 o.add(buildError()); 1475 o.add(buildError());
1472 return o; 1476 return o;
1473 } 1477 }
1474 1478
1475 checkUnnamed327(core.List<api.Error> o) { 1479 checkUnnamed592(core.List<api.Error> o) {
1476 unittest.expect(o, unittest.hasLength(2)); 1480 unittest.expect(o, unittest.hasLength(2));
1477 checkError(o[0]); 1481 checkError(o[0]);
1478 checkError(o[1]); 1482 checkError(o[1]);
1479 } 1483 }
1480 1484
1481 core.int buildCounterProduct = 0; 1485 core.int buildCounterProduct = 0;
1482 buildProduct() { 1486 buildProduct() {
1483 var o = new api.Product(); 1487 var o = new api.Product();
1484 buildCounterProduct++; 1488 buildCounterProduct++;
1485 if (buildCounterProduct < 3) { 1489 if (buildCounterProduct < 3) {
1486 o.additionalImageLinks = buildUnnamed318(); 1490 o.additionalImageLinks = buildUnnamed583();
1487 o.adult = true; 1491 o.adult = true;
1488 o.adwordsGrouping = "foo"; 1492 o.adwordsGrouping = "foo";
1489 o.adwordsLabels = buildUnnamed319(); 1493 o.adwordsLabels = buildUnnamed584();
1490 o.adwordsRedirect = "foo"; 1494 o.adwordsRedirect = "foo";
1491 o.ageGroup = "foo"; 1495 o.ageGroup = "foo";
1492 o.availability = "foo"; 1496 o.availability = "foo";
1493 o.availabilityDate = "foo"; 1497 o.availabilityDate = "foo";
1494 o.brand = "foo"; 1498 o.brand = "foo";
1495 o.channel = "foo"; 1499 o.channel = "foo";
1496 o.color = "foo"; 1500 o.color = "foo";
1497 o.condition = "foo"; 1501 o.condition = "foo";
1498 o.contentLanguage = "foo"; 1502 o.contentLanguage = "foo";
1499 o.customAttributes = buildUnnamed320(); 1503 o.customAttributes = buildUnnamed585();
1500 o.customGroups = buildUnnamed321(); 1504 o.customGroups = buildUnnamed586();
1501 o.customLabel0 = "foo"; 1505 o.customLabel0 = "foo";
1502 o.customLabel1 = "foo"; 1506 o.customLabel1 = "foo";
1503 o.customLabel2 = "foo"; 1507 o.customLabel2 = "foo";
1504 o.customLabel3 = "foo"; 1508 o.customLabel3 = "foo";
1505 o.customLabel4 = "foo"; 1509 o.customLabel4 = "foo";
1506 o.description = "foo"; 1510 o.description = "foo";
1507 o.destinations = buildUnnamed322(); 1511 o.destinations = buildUnnamed587();
1508 o.energyEfficiencyClass = "foo"; 1512 o.energyEfficiencyClass = "foo";
1509 o.expirationDate = "foo"; 1513 o.expirationDate = "foo";
1510 o.gender = "foo"; 1514 o.gender = "foo";
1511 o.googleProductCategory = "foo"; 1515 o.googleProductCategory = "foo";
1512 o.gtin = "foo"; 1516 o.gtin = "foo";
1513 o.id = "foo"; 1517 o.id = "foo";
1514 o.identifierExists = true; 1518 o.identifierExists = true;
1515 o.imageLink = "foo"; 1519 o.imageLink = "foo";
1516 o.installment = buildProductInstallment(); 1520 o.installment = buildProductInstallment();
1517 o.isBundle = true; 1521 o.isBundle = true;
1518 o.itemGroupId = "foo"; 1522 o.itemGroupId = "foo";
1519 o.kind = "foo"; 1523 o.kind = "foo";
1520 o.link = "foo"; 1524 o.link = "foo";
1521 o.loyaltyPoints = buildLoyaltyPoints(); 1525 o.loyaltyPoints = buildLoyaltyPoints();
1522 o.material = "foo"; 1526 o.material = "foo";
1523 o.mobileLink = "foo"; 1527 o.mobileLink = "foo";
1524 o.mpn = "foo"; 1528 o.mpn = "foo";
1525 o.multipack = "foo"; 1529 o.multipack = "foo";
1526 o.offerId = "foo"; 1530 o.offerId = "foo";
1527 o.onlineOnly = true; 1531 o.onlineOnly = true;
1528 o.pattern = "foo"; 1532 o.pattern = "foo";
1529 o.price = buildPrice(); 1533 o.price = buildPrice();
1530 o.productType = "foo"; 1534 o.productType = "foo";
1531 o.salePrice = buildPrice(); 1535 o.salePrice = buildPrice();
1532 o.salePriceEffectiveDate = "foo"; 1536 o.salePriceEffectiveDate = "foo";
1533 o.shipping = buildUnnamed323(); 1537 o.shipping = buildUnnamed588();
1534 o.shippingLabel = "foo"; 1538 o.shippingLabel = "foo";
1535 o.shippingWeight = buildProductShippingWeight(); 1539 o.shippingWeight = buildProductShippingWeight();
1536 o.sizeSystem = "foo"; 1540 o.sizeSystem = "foo";
1537 o.sizeType = "foo"; 1541 o.sizeType = "foo";
1538 o.sizes = buildUnnamed324(); 1542 o.sizes = buildUnnamed589();
1539 o.targetCountry = "foo"; 1543 o.targetCountry = "foo";
1540 o.taxes = buildUnnamed325(); 1544 o.taxes = buildUnnamed590();
1541 o.title = "foo"; 1545 o.title = "foo";
1542 o.unitPricingBaseMeasure = buildProductUnitPricingBaseMeasure(); 1546 o.unitPricingBaseMeasure = buildProductUnitPricingBaseMeasure();
1543 o.unitPricingMeasure = buildProductUnitPricingMeasure(); 1547 o.unitPricingMeasure = buildProductUnitPricingMeasure();
1544 o.validatedDestinations = buildUnnamed326(); 1548 o.validatedDestinations = buildUnnamed591();
1545 o.warnings = buildUnnamed327(); 1549 o.warnings = buildUnnamed592();
1546 } 1550 }
1547 buildCounterProduct--; 1551 buildCounterProduct--;
1548 return o; 1552 return o;
1549 } 1553 }
1550 1554
1551 checkProduct(api.Product o) { 1555 checkProduct(api.Product o) {
1552 buildCounterProduct++; 1556 buildCounterProduct++;
1553 if (buildCounterProduct < 3) { 1557 if (buildCounterProduct < 3) {
1554 checkUnnamed318(o.additionalImageLinks); 1558 checkUnnamed583(o.additionalImageLinks);
1555 unittest.expect(o.adult, unittest.isTrue); 1559 unittest.expect(o.adult, unittest.isTrue);
1556 unittest.expect(o.adwordsGrouping, unittest.equals('foo')); 1560 unittest.expect(o.adwordsGrouping, unittest.equals('foo'));
1557 checkUnnamed319(o.adwordsLabels); 1561 checkUnnamed584(o.adwordsLabels);
1558 unittest.expect(o.adwordsRedirect, unittest.equals('foo')); 1562 unittest.expect(o.adwordsRedirect, unittest.equals('foo'));
1559 unittest.expect(o.ageGroup, unittest.equals('foo')); 1563 unittest.expect(o.ageGroup, unittest.equals('foo'));
1560 unittest.expect(o.availability, unittest.equals('foo')); 1564 unittest.expect(o.availability, unittest.equals('foo'));
1561 unittest.expect(o.availabilityDate, unittest.equals('foo')); 1565 unittest.expect(o.availabilityDate, unittest.equals('foo'));
1562 unittest.expect(o.brand, unittest.equals('foo')); 1566 unittest.expect(o.brand, unittest.equals('foo'));
1563 unittest.expect(o.channel, unittest.equals('foo')); 1567 unittest.expect(o.channel, unittest.equals('foo'));
1564 unittest.expect(o.color, unittest.equals('foo')); 1568 unittest.expect(o.color, unittest.equals('foo'));
1565 unittest.expect(o.condition, unittest.equals('foo')); 1569 unittest.expect(o.condition, unittest.equals('foo'));
1566 unittest.expect(o.contentLanguage, unittest.equals('foo')); 1570 unittest.expect(o.contentLanguage, unittest.equals('foo'));
1567 checkUnnamed320(o.customAttributes); 1571 checkUnnamed585(o.customAttributes);
1568 checkUnnamed321(o.customGroups); 1572 checkUnnamed586(o.customGroups);
1569 unittest.expect(o.customLabel0, unittest.equals('foo')); 1573 unittest.expect(o.customLabel0, unittest.equals('foo'));
1570 unittest.expect(o.customLabel1, unittest.equals('foo')); 1574 unittest.expect(o.customLabel1, unittest.equals('foo'));
1571 unittest.expect(o.customLabel2, unittest.equals('foo')); 1575 unittest.expect(o.customLabel2, unittest.equals('foo'));
1572 unittest.expect(o.customLabel3, unittest.equals('foo')); 1576 unittest.expect(o.customLabel3, unittest.equals('foo'));
1573 unittest.expect(o.customLabel4, unittest.equals('foo')); 1577 unittest.expect(o.customLabel4, unittest.equals('foo'));
1574 unittest.expect(o.description, unittest.equals('foo')); 1578 unittest.expect(o.description, unittest.equals('foo'));
1575 checkUnnamed322(o.destinations); 1579 checkUnnamed587(o.destinations);
1576 unittest.expect(o.energyEfficiencyClass, unittest.equals('foo')); 1580 unittest.expect(o.energyEfficiencyClass, unittest.equals('foo'));
1577 unittest.expect(o.expirationDate, unittest.equals('foo')); 1581 unittest.expect(o.expirationDate, unittest.equals('foo'));
1578 unittest.expect(o.gender, unittest.equals('foo')); 1582 unittest.expect(o.gender, unittest.equals('foo'));
1579 unittest.expect(o.googleProductCategory, unittest.equals('foo')); 1583 unittest.expect(o.googleProductCategory, unittest.equals('foo'));
1580 unittest.expect(o.gtin, unittest.equals('foo')); 1584 unittest.expect(o.gtin, unittest.equals('foo'));
1581 unittest.expect(o.id, unittest.equals('foo')); 1585 unittest.expect(o.id, unittest.equals('foo'));
1582 unittest.expect(o.identifierExists, unittest.isTrue); 1586 unittest.expect(o.identifierExists, unittest.isTrue);
1583 unittest.expect(o.imageLink, unittest.equals('foo')); 1587 unittest.expect(o.imageLink, unittest.equals('foo'));
1584 checkProductInstallment(o.installment); 1588 checkProductInstallment(o.installment);
1585 unittest.expect(o.isBundle, unittest.isTrue); 1589 unittest.expect(o.isBundle, unittest.isTrue);
1586 unittest.expect(o.itemGroupId, unittest.equals('foo')); 1590 unittest.expect(o.itemGroupId, unittest.equals('foo'));
1587 unittest.expect(o.kind, unittest.equals('foo')); 1591 unittest.expect(o.kind, unittest.equals('foo'));
1588 unittest.expect(o.link, unittest.equals('foo')); 1592 unittest.expect(o.link, unittest.equals('foo'));
1589 checkLoyaltyPoints(o.loyaltyPoints); 1593 checkLoyaltyPoints(o.loyaltyPoints);
1590 unittest.expect(o.material, unittest.equals('foo')); 1594 unittest.expect(o.material, unittest.equals('foo'));
1591 unittest.expect(o.mobileLink, unittest.equals('foo')); 1595 unittest.expect(o.mobileLink, unittest.equals('foo'));
1592 unittest.expect(o.mpn, unittest.equals('foo')); 1596 unittest.expect(o.mpn, unittest.equals('foo'));
1593 unittest.expect(o.multipack, unittest.equals('foo')); 1597 unittest.expect(o.multipack, unittest.equals('foo'));
1594 unittest.expect(o.offerId, unittest.equals('foo')); 1598 unittest.expect(o.offerId, unittest.equals('foo'));
1595 unittest.expect(o.onlineOnly, unittest.isTrue); 1599 unittest.expect(o.onlineOnly, unittest.isTrue);
1596 unittest.expect(o.pattern, unittest.equals('foo')); 1600 unittest.expect(o.pattern, unittest.equals('foo'));
1597 checkPrice(o.price); 1601 checkPrice(o.price);
1598 unittest.expect(o.productType, unittest.equals('foo')); 1602 unittest.expect(o.productType, unittest.equals('foo'));
1599 checkPrice(o.salePrice); 1603 checkPrice(o.salePrice);
1600 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); 1604 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo'));
1601 checkUnnamed323(o.shipping); 1605 checkUnnamed588(o.shipping);
1602 unittest.expect(o.shippingLabel, unittest.equals('foo')); 1606 unittest.expect(o.shippingLabel, unittest.equals('foo'));
1603 checkProductShippingWeight(o.shippingWeight); 1607 checkProductShippingWeight(o.shippingWeight);
1604 unittest.expect(o.sizeSystem, unittest.equals('foo')); 1608 unittest.expect(o.sizeSystem, unittest.equals('foo'));
1605 unittest.expect(o.sizeType, unittest.equals('foo')); 1609 unittest.expect(o.sizeType, unittest.equals('foo'));
1606 checkUnnamed324(o.sizes); 1610 checkUnnamed589(o.sizes);
1607 unittest.expect(o.targetCountry, unittest.equals('foo')); 1611 unittest.expect(o.targetCountry, unittest.equals('foo'));
1608 checkUnnamed325(o.taxes); 1612 checkUnnamed590(o.taxes);
1609 unittest.expect(o.title, unittest.equals('foo')); 1613 unittest.expect(o.title, unittest.equals('foo'));
1610 checkProductUnitPricingBaseMeasure(o.unitPricingBaseMeasure); 1614 checkProductUnitPricingBaseMeasure(o.unitPricingBaseMeasure);
1611 checkProductUnitPricingMeasure(o.unitPricingMeasure); 1615 checkProductUnitPricingMeasure(o.unitPricingMeasure);
1612 checkUnnamed326(o.validatedDestinations); 1616 checkUnnamed591(o.validatedDestinations);
1613 checkUnnamed327(o.warnings); 1617 checkUnnamed592(o.warnings);
1614 } 1618 }
1615 buildCounterProduct--; 1619 buildCounterProduct--;
1616 } 1620 }
1617 1621
1618 core.int buildCounterProductCustomAttribute = 0; 1622 core.int buildCounterProductCustomAttribute = 0;
1619 buildProductCustomAttribute() { 1623 buildProductCustomAttribute() {
1620 var o = new api.ProductCustomAttribute(); 1624 var o = new api.ProductCustomAttribute();
1621 buildCounterProductCustomAttribute++; 1625 buildCounterProductCustomAttribute++;
1622 if (buildCounterProductCustomAttribute < 3) { 1626 if (buildCounterProductCustomAttribute < 3) {
1623 o.name = "foo"; 1627 o.name = "foo";
1624 o.type = "foo"; 1628 o.type = "foo";
1625 o.unit = "foo"; 1629 o.unit = "foo";
1626 o.value = "foo"; 1630 o.value = "foo";
1627 } 1631 }
1628 buildCounterProductCustomAttribute--; 1632 buildCounterProductCustomAttribute--;
1629 return o; 1633 return o;
1630 } 1634 }
1631 1635
1632 checkProductCustomAttribute(api.ProductCustomAttribute o) { 1636 checkProductCustomAttribute(api.ProductCustomAttribute o) {
1633 buildCounterProductCustomAttribute++; 1637 buildCounterProductCustomAttribute++;
1634 if (buildCounterProductCustomAttribute < 3) { 1638 if (buildCounterProductCustomAttribute < 3) {
1635 unittest.expect(o.name, unittest.equals('foo')); 1639 unittest.expect(o.name, unittest.equals('foo'));
1636 unittest.expect(o.type, unittest.equals('foo')); 1640 unittest.expect(o.type, unittest.equals('foo'));
1637 unittest.expect(o.unit, unittest.equals('foo')); 1641 unittest.expect(o.unit, unittest.equals('foo'));
1638 unittest.expect(o.value, unittest.equals('foo')); 1642 unittest.expect(o.value, unittest.equals('foo'));
1639 } 1643 }
1640 buildCounterProductCustomAttribute--; 1644 buildCounterProductCustomAttribute--;
1641 } 1645 }
1642 1646
1643 buildUnnamed328() { 1647 buildUnnamed593() {
1644 var o = new core.List<api.ProductCustomAttribute>(); 1648 var o = new core.List<api.ProductCustomAttribute>();
1645 o.add(buildProductCustomAttribute()); 1649 o.add(buildProductCustomAttribute());
1646 o.add(buildProductCustomAttribute()); 1650 o.add(buildProductCustomAttribute());
1647 return o; 1651 return o;
1648 } 1652 }
1649 1653
1650 checkUnnamed328(core.List<api.ProductCustomAttribute> o) { 1654 checkUnnamed593(core.List<api.ProductCustomAttribute> o) {
1651 unittest.expect(o, unittest.hasLength(2)); 1655 unittest.expect(o, unittest.hasLength(2));
1652 checkProductCustomAttribute(o[0]); 1656 checkProductCustomAttribute(o[0]);
1653 checkProductCustomAttribute(o[1]); 1657 checkProductCustomAttribute(o[1]);
1654 } 1658 }
1655 1659
1656 core.int buildCounterProductCustomGroup = 0; 1660 core.int buildCounterProductCustomGroup = 0;
1657 buildProductCustomGroup() { 1661 buildProductCustomGroup() {
1658 var o = new api.ProductCustomGroup(); 1662 var o = new api.ProductCustomGroup();
1659 buildCounterProductCustomGroup++; 1663 buildCounterProductCustomGroup++;
1660 if (buildCounterProductCustomGroup < 3) { 1664 if (buildCounterProductCustomGroup < 3) {
1661 o.attributes = buildUnnamed328(); 1665 o.attributes = buildUnnamed593();
1662 o.name = "foo"; 1666 o.name = "foo";
1663 } 1667 }
1664 buildCounterProductCustomGroup--; 1668 buildCounterProductCustomGroup--;
1665 return o; 1669 return o;
1666 } 1670 }
1667 1671
1668 checkProductCustomGroup(api.ProductCustomGroup o) { 1672 checkProductCustomGroup(api.ProductCustomGroup o) {
1669 buildCounterProductCustomGroup++; 1673 buildCounterProductCustomGroup++;
1670 if (buildCounterProductCustomGroup < 3) { 1674 if (buildCounterProductCustomGroup < 3) {
1671 checkUnnamed328(o.attributes); 1675 checkUnnamed593(o.attributes);
1672 unittest.expect(o.name, unittest.equals('foo')); 1676 unittest.expect(o.name, unittest.equals('foo'));
1673 } 1677 }
1674 buildCounterProductCustomGroup--; 1678 buildCounterProductCustomGroup--;
1675 } 1679 }
1676 1680
1677 core.int buildCounterProductDestination = 0; 1681 core.int buildCounterProductDestination = 0;
1678 buildProductDestination() { 1682 buildProductDestination() {
1679 var o = new api.ProductDestination(); 1683 var o = new api.ProductDestination();
1680 buildCounterProductDestination++; 1684 buildCounterProductDestination++;
1681 if (buildCounterProductDestination < 3) { 1685 if (buildCounterProductDestination < 3) {
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
1761 1765
1762 checkProductShippingWeight(api.ProductShippingWeight o) { 1766 checkProductShippingWeight(api.ProductShippingWeight o) {
1763 buildCounterProductShippingWeight++; 1767 buildCounterProductShippingWeight++;
1764 if (buildCounterProductShippingWeight < 3) { 1768 if (buildCounterProductShippingWeight < 3) {
1765 unittest.expect(o.unit, unittest.equals('foo')); 1769 unittest.expect(o.unit, unittest.equals('foo'));
1766 unittest.expect(o.value, unittest.equals(42.0)); 1770 unittest.expect(o.value, unittest.equals(42.0));
1767 } 1771 }
1768 buildCounterProductShippingWeight--; 1772 buildCounterProductShippingWeight--;
1769 } 1773 }
1770 1774
1771 buildUnnamed329() { 1775 buildUnnamed594() {
1772 var o = new core.List<api.ProductStatusDataQualityIssue>(); 1776 var o = new core.List<api.ProductStatusDataQualityIssue>();
1773 o.add(buildProductStatusDataQualityIssue()); 1777 o.add(buildProductStatusDataQualityIssue());
1774 o.add(buildProductStatusDataQualityIssue()); 1778 o.add(buildProductStatusDataQualityIssue());
1775 return o; 1779 return o;
1776 } 1780 }
1777 1781
1778 checkUnnamed329(core.List<api.ProductStatusDataQualityIssue> o) { 1782 checkUnnamed594(core.List<api.ProductStatusDataQualityIssue> o) {
1779 unittest.expect(o, unittest.hasLength(2)); 1783 unittest.expect(o, unittest.hasLength(2));
1780 checkProductStatusDataQualityIssue(o[0]); 1784 checkProductStatusDataQualityIssue(o[0]);
1781 checkProductStatusDataQualityIssue(o[1]); 1785 checkProductStatusDataQualityIssue(o[1]);
1782 } 1786 }
1783 1787
1784 buildUnnamed330() { 1788 buildUnnamed595() {
1785 var o = new core.List<api.ProductStatusDestinationStatus>(); 1789 var o = new core.List<api.ProductStatusDestinationStatus>();
1786 o.add(buildProductStatusDestinationStatus()); 1790 o.add(buildProductStatusDestinationStatus());
1787 o.add(buildProductStatusDestinationStatus()); 1791 o.add(buildProductStatusDestinationStatus());
1788 return o; 1792 return o;
1789 } 1793 }
1790 1794
1791 checkUnnamed330(core.List<api.ProductStatusDestinationStatus> o) { 1795 checkUnnamed595(core.List<api.ProductStatusDestinationStatus> o) {
1792 unittest.expect(o, unittest.hasLength(2)); 1796 unittest.expect(o, unittest.hasLength(2));
1793 checkProductStatusDestinationStatus(o[0]); 1797 checkProductStatusDestinationStatus(o[0]);
1794 checkProductStatusDestinationStatus(o[1]); 1798 checkProductStatusDestinationStatus(o[1]);
1795 } 1799 }
1796 1800
1797 core.int buildCounterProductStatus = 0; 1801 core.int buildCounterProductStatus = 0;
1798 buildProductStatus() { 1802 buildProductStatus() {
1799 var o = new api.ProductStatus(); 1803 var o = new api.ProductStatus();
1800 buildCounterProductStatus++; 1804 buildCounterProductStatus++;
1801 if (buildCounterProductStatus < 3) { 1805 if (buildCounterProductStatus < 3) {
1802 o.dataQualityIssues = buildUnnamed329(); 1806 o.dataQualityIssues = buildUnnamed594();
1803 o.destinationStatuses = buildUnnamed330(); 1807 o.destinationStatuses = buildUnnamed595();
1804 o.kind = "foo"; 1808 o.kind = "foo";
1805 o.link = "foo"; 1809 o.link = "foo";
1806 o.productId = "foo"; 1810 o.productId = "foo";
1807 o.title = "foo"; 1811 o.title = "foo";
1808 } 1812 }
1809 buildCounterProductStatus--; 1813 buildCounterProductStatus--;
1810 return o; 1814 return o;
1811 } 1815 }
1812 1816
1813 checkProductStatus(api.ProductStatus o) { 1817 checkProductStatus(api.ProductStatus o) {
1814 buildCounterProductStatus++; 1818 buildCounterProductStatus++;
1815 if (buildCounterProductStatus < 3) { 1819 if (buildCounterProductStatus < 3) {
1816 checkUnnamed329(o.dataQualityIssues); 1820 checkUnnamed594(o.dataQualityIssues);
1817 checkUnnamed330(o.destinationStatuses); 1821 checkUnnamed595(o.destinationStatuses);
1818 unittest.expect(o.kind, unittest.equals('foo')); 1822 unittest.expect(o.kind, unittest.equals('foo'));
1819 unittest.expect(o.link, unittest.equals('foo')); 1823 unittest.expect(o.link, unittest.equals('foo'));
1820 unittest.expect(o.productId, unittest.equals('foo')); 1824 unittest.expect(o.productId, unittest.equals('foo'));
1821 unittest.expect(o.title, unittest.equals('foo')); 1825 unittest.expect(o.title, unittest.equals('foo'));
1822 } 1826 }
1823 buildCounterProductStatus--; 1827 buildCounterProductStatus--;
1824 } 1828 }
1825 1829
1826 core.int buildCounterProductStatusDataQualityIssue = 0; 1830 core.int buildCounterProductStatusDataQualityIssue = 0;
1827 buildProductStatusDataQualityIssue() { 1831 buildProductStatusDataQualityIssue() {
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
1941 1945
1942 checkProductUnitPricingMeasure(api.ProductUnitPricingMeasure o) { 1946 checkProductUnitPricingMeasure(api.ProductUnitPricingMeasure o) {
1943 buildCounterProductUnitPricingMeasure++; 1947 buildCounterProductUnitPricingMeasure++;
1944 if (buildCounterProductUnitPricingMeasure < 3) { 1948 if (buildCounterProductUnitPricingMeasure < 3) {
1945 unittest.expect(o.unit, unittest.equals('foo')); 1949 unittest.expect(o.unit, unittest.equals('foo'));
1946 unittest.expect(o.value, unittest.equals(42.0)); 1950 unittest.expect(o.value, unittest.equals(42.0));
1947 } 1951 }
1948 buildCounterProductUnitPricingMeasure--; 1952 buildCounterProductUnitPricingMeasure--;
1949 } 1953 }
1950 1954
1951 buildUnnamed331() { 1955 buildUnnamed596() {
1952 var o = new core.List<api.ProductsCustomBatchRequestEntry>(); 1956 var o = new core.List<api.ProductsCustomBatchRequestEntry>();
1953 o.add(buildProductsCustomBatchRequestEntry()); 1957 o.add(buildProductsCustomBatchRequestEntry());
1954 o.add(buildProductsCustomBatchRequestEntry()); 1958 o.add(buildProductsCustomBatchRequestEntry());
1955 return o; 1959 return o;
1956 } 1960 }
1957 1961
1958 checkUnnamed331(core.List<api.ProductsCustomBatchRequestEntry> o) { 1962 checkUnnamed596(core.List<api.ProductsCustomBatchRequestEntry> o) {
1959 unittest.expect(o, unittest.hasLength(2)); 1963 unittest.expect(o, unittest.hasLength(2));
1960 checkProductsCustomBatchRequestEntry(o[0]); 1964 checkProductsCustomBatchRequestEntry(o[0]);
1961 checkProductsCustomBatchRequestEntry(o[1]); 1965 checkProductsCustomBatchRequestEntry(o[1]);
1962 } 1966 }
1963 1967
1964 core.int buildCounterProductsCustomBatchRequest = 0; 1968 core.int buildCounterProductsCustomBatchRequest = 0;
1965 buildProductsCustomBatchRequest() { 1969 buildProductsCustomBatchRequest() {
1966 var o = new api.ProductsCustomBatchRequest(); 1970 var o = new api.ProductsCustomBatchRequest();
1967 buildCounterProductsCustomBatchRequest++; 1971 buildCounterProductsCustomBatchRequest++;
1968 if (buildCounterProductsCustomBatchRequest < 3) { 1972 if (buildCounterProductsCustomBatchRequest < 3) {
1969 o.entries = buildUnnamed331(); 1973 o.entries = buildUnnamed596();
1970 } 1974 }
1971 buildCounterProductsCustomBatchRequest--; 1975 buildCounterProductsCustomBatchRequest--;
1972 return o; 1976 return o;
1973 } 1977 }
1974 1978
1975 checkProductsCustomBatchRequest(api.ProductsCustomBatchRequest o) { 1979 checkProductsCustomBatchRequest(api.ProductsCustomBatchRequest o) {
1976 buildCounterProductsCustomBatchRequest++; 1980 buildCounterProductsCustomBatchRequest++;
1977 if (buildCounterProductsCustomBatchRequest < 3) { 1981 if (buildCounterProductsCustomBatchRequest < 3) {
1978 checkUnnamed331(o.entries); 1982 checkUnnamed596(o.entries);
1979 } 1983 }
1980 buildCounterProductsCustomBatchRequest--; 1984 buildCounterProductsCustomBatchRequest--;
1981 } 1985 }
1982 1986
1983 core.int buildCounterProductsCustomBatchRequestEntry = 0; 1987 core.int buildCounterProductsCustomBatchRequestEntry = 0;
1984 buildProductsCustomBatchRequestEntry() { 1988 buildProductsCustomBatchRequestEntry() {
1985 var o = new api.ProductsCustomBatchRequestEntry(); 1989 var o = new api.ProductsCustomBatchRequestEntry();
1986 buildCounterProductsCustomBatchRequestEntry++; 1990 buildCounterProductsCustomBatchRequestEntry++;
1987 if (buildCounterProductsCustomBatchRequestEntry < 3) { 1991 if (buildCounterProductsCustomBatchRequestEntry < 3) {
1988 o.batchId = 42; 1992 o.batchId = 42;
(...skipping 11 matching lines...) Expand all
2000 if (buildCounterProductsCustomBatchRequestEntry < 3) { 2004 if (buildCounterProductsCustomBatchRequestEntry < 3) {
2001 unittest.expect(o.batchId, unittest.equals(42)); 2005 unittest.expect(o.batchId, unittest.equals(42));
2002 unittest.expect(o.merchantId, unittest.equals('foo')); 2006 unittest.expect(o.merchantId, unittest.equals('foo'));
2003 unittest.expect(o.method, unittest.equals('foo')); 2007 unittest.expect(o.method, unittest.equals('foo'));
2004 checkProduct(o.product); 2008 checkProduct(o.product);
2005 unittest.expect(o.productId, unittest.equals('foo')); 2009 unittest.expect(o.productId, unittest.equals('foo'));
2006 } 2010 }
2007 buildCounterProductsCustomBatchRequestEntry--; 2011 buildCounterProductsCustomBatchRequestEntry--;
2008 } 2012 }
2009 2013
2010 buildUnnamed332() { 2014 buildUnnamed597() {
2011 var o = new core.List<api.ProductsCustomBatchResponseEntry>(); 2015 var o = new core.List<api.ProductsCustomBatchResponseEntry>();
2012 o.add(buildProductsCustomBatchResponseEntry()); 2016 o.add(buildProductsCustomBatchResponseEntry());
2013 o.add(buildProductsCustomBatchResponseEntry()); 2017 o.add(buildProductsCustomBatchResponseEntry());
2014 return o; 2018 return o;
2015 } 2019 }
2016 2020
2017 checkUnnamed332(core.List<api.ProductsCustomBatchResponseEntry> o) { 2021 checkUnnamed597(core.List<api.ProductsCustomBatchResponseEntry> o) {
2018 unittest.expect(o, unittest.hasLength(2)); 2022 unittest.expect(o, unittest.hasLength(2));
2019 checkProductsCustomBatchResponseEntry(o[0]); 2023 checkProductsCustomBatchResponseEntry(o[0]);
2020 checkProductsCustomBatchResponseEntry(o[1]); 2024 checkProductsCustomBatchResponseEntry(o[1]);
2021 } 2025 }
2022 2026
2023 core.int buildCounterProductsCustomBatchResponse = 0; 2027 core.int buildCounterProductsCustomBatchResponse = 0;
2024 buildProductsCustomBatchResponse() { 2028 buildProductsCustomBatchResponse() {
2025 var o = new api.ProductsCustomBatchResponse(); 2029 var o = new api.ProductsCustomBatchResponse();
2026 buildCounterProductsCustomBatchResponse++; 2030 buildCounterProductsCustomBatchResponse++;
2027 if (buildCounterProductsCustomBatchResponse < 3) { 2031 if (buildCounterProductsCustomBatchResponse < 3) {
2028 o.entries = buildUnnamed332(); 2032 o.entries = buildUnnamed597();
2029 o.kind = "foo"; 2033 o.kind = "foo";
2030 } 2034 }
2031 buildCounterProductsCustomBatchResponse--; 2035 buildCounterProductsCustomBatchResponse--;
2032 return o; 2036 return o;
2033 } 2037 }
2034 2038
2035 checkProductsCustomBatchResponse(api.ProductsCustomBatchResponse o) { 2039 checkProductsCustomBatchResponse(api.ProductsCustomBatchResponse o) {
2036 buildCounterProductsCustomBatchResponse++; 2040 buildCounterProductsCustomBatchResponse++;
2037 if (buildCounterProductsCustomBatchResponse < 3) { 2041 if (buildCounterProductsCustomBatchResponse < 3) {
2038 checkUnnamed332(o.entries); 2042 checkUnnamed597(o.entries);
2039 unittest.expect(o.kind, unittest.equals('foo')); 2043 unittest.expect(o.kind, unittest.equals('foo'));
2040 } 2044 }
2041 buildCounterProductsCustomBatchResponse--; 2045 buildCounterProductsCustomBatchResponse--;
2042 } 2046 }
2043 2047
2044 core.int buildCounterProductsCustomBatchResponseEntry = 0; 2048 core.int buildCounterProductsCustomBatchResponseEntry = 0;
2045 buildProductsCustomBatchResponseEntry() { 2049 buildProductsCustomBatchResponseEntry() {
2046 var o = new api.ProductsCustomBatchResponseEntry(); 2050 var o = new api.ProductsCustomBatchResponseEntry();
2047 buildCounterProductsCustomBatchResponseEntry++; 2051 buildCounterProductsCustomBatchResponseEntry++;
2048 if (buildCounterProductsCustomBatchResponseEntry < 3) { 2052 if (buildCounterProductsCustomBatchResponseEntry < 3) {
(...skipping 10 matching lines...) Expand all
2059 buildCounterProductsCustomBatchResponseEntry++; 2063 buildCounterProductsCustomBatchResponseEntry++;
2060 if (buildCounterProductsCustomBatchResponseEntry < 3) { 2064 if (buildCounterProductsCustomBatchResponseEntry < 3) {
2061 unittest.expect(o.batchId, unittest.equals(42)); 2065 unittest.expect(o.batchId, unittest.equals(42));
2062 checkErrors(o.errors); 2066 checkErrors(o.errors);
2063 unittest.expect(o.kind, unittest.equals('foo')); 2067 unittest.expect(o.kind, unittest.equals('foo'));
2064 checkProduct(o.product); 2068 checkProduct(o.product);
2065 } 2069 }
2066 buildCounterProductsCustomBatchResponseEntry--; 2070 buildCounterProductsCustomBatchResponseEntry--;
2067 } 2071 }
2068 2072
2069 buildUnnamed333() { 2073 buildUnnamed598() {
2070 var o = new core.List<api.Product>(); 2074 var o = new core.List<api.Product>();
2071 o.add(buildProduct()); 2075 o.add(buildProduct());
2072 o.add(buildProduct()); 2076 o.add(buildProduct());
2073 return o; 2077 return o;
2074 } 2078 }
2075 2079
2076 checkUnnamed333(core.List<api.Product> o) { 2080 checkUnnamed598(core.List<api.Product> o) {
2077 unittest.expect(o, unittest.hasLength(2)); 2081 unittest.expect(o, unittest.hasLength(2));
2078 checkProduct(o[0]); 2082 checkProduct(o[0]);
2079 checkProduct(o[1]); 2083 checkProduct(o[1]);
2080 } 2084 }
2081 2085
2082 core.int buildCounterProductsListResponse = 0; 2086 core.int buildCounterProductsListResponse = 0;
2083 buildProductsListResponse() { 2087 buildProductsListResponse() {
2084 var o = new api.ProductsListResponse(); 2088 var o = new api.ProductsListResponse();
2085 buildCounterProductsListResponse++; 2089 buildCounterProductsListResponse++;
2086 if (buildCounterProductsListResponse < 3) { 2090 if (buildCounterProductsListResponse < 3) {
2087 o.kind = "foo"; 2091 o.kind = "foo";
2088 o.nextPageToken = "foo"; 2092 o.nextPageToken = "foo";
2089 o.resources = buildUnnamed333(); 2093 o.resources = buildUnnamed598();
2090 } 2094 }
2091 buildCounterProductsListResponse--; 2095 buildCounterProductsListResponse--;
2092 return o; 2096 return o;
2093 } 2097 }
2094 2098
2095 checkProductsListResponse(api.ProductsListResponse o) { 2099 checkProductsListResponse(api.ProductsListResponse o) {
2096 buildCounterProductsListResponse++; 2100 buildCounterProductsListResponse++;
2097 if (buildCounterProductsListResponse < 3) { 2101 if (buildCounterProductsListResponse < 3) {
2098 unittest.expect(o.kind, unittest.equals('foo')); 2102 unittest.expect(o.kind, unittest.equals('foo'));
2099 unittest.expect(o.nextPageToken, unittest.equals('foo')); 2103 unittest.expect(o.nextPageToken, unittest.equals('foo'));
2100 checkUnnamed333(o.resources); 2104 checkUnnamed598(o.resources);
2101 } 2105 }
2102 buildCounterProductsListResponse--; 2106 buildCounterProductsListResponse--;
2103 } 2107 }
2104 2108
2105 buildUnnamed334() { 2109 buildUnnamed599() {
2106 var o = new core.List<api.ProductstatusesCustomBatchRequestEntry>(); 2110 var o = new core.List<api.ProductstatusesCustomBatchRequestEntry>();
2107 o.add(buildProductstatusesCustomBatchRequestEntry()); 2111 o.add(buildProductstatusesCustomBatchRequestEntry());
2108 o.add(buildProductstatusesCustomBatchRequestEntry()); 2112 o.add(buildProductstatusesCustomBatchRequestEntry());
2109 return o; 2113 return o;
2110 } 2114 }
2111 2115
2112 checkUnnamed334(core.List<api.ProductstatusesCustomBatchRequestEntry> o) { 2116 checkUnnamed599(core.List<api.ProductstatusesCustomBatchRequestEntry> o) {
2113 unittest.expect(o, unittest.hasLength(2)); 2117 unittest.expect(o, unittest.hasLength(2));
2114 checkProductstatusesCustomBatchRequestEntry(o[0]); 2118 checkProductstatusesCustomBatchRequestEntry(o[0]);
2115 checkProductstatusesCustomBatchRequestEntry(o[1]); 2119 checkProductstatusesCustomBatchRequestEntry(o[1]);
2116 } 2120 }
2117 2121
2118 core.int buildCounterProductstatusesCustomBatchRequest = 0; 2122 core.int buildCounterProductstatusesCustomBatchRequest = 0;
2119 buildProductstatusesCustomBatchRequest() { 2123 buildProductstatusesCustomBatchRequest() {
2120 var o = new api.ProductstatusesCustomBatchRequest(); 2124 var o = new api.ProductstatusesCustomBatchRequest();
2121 buildCounterProductstatusesCustomBatchRequest++; 2125 buildCounterProductstatusesCustomBatchRequest++;
2122 if (buildCounterProductstatusesCustomBatchRequest < 3) { 2126 if (buildCounterProductstatusesCustomBatchRequest < 3) {
2123 o.entries = buildUnnamed334(); 2127 o.entries = buildUnnamed599();
2124 } 2128 }
2125 buildCounterProductstatusesCustomBatchRequest--; 2129 buildCounterProductstatusesCustomBatchRequest--;
2126 return o; 2130 return o;
2127 } 2131 }
2128 2132
2129 checkProductstatusesCustomBatchRequest(api.ProductstatusesCustomBatchRequest o) { 2133 checkProductstatusesCustomBatchRequest(api.ProductstatusesCustomBatchRequest o) {
2130 buildCounterProductstatusesCustomBatchRequest++; 2134 buildCounterProductstatusesCustomBatchRequest++;
2131 if (buildCounterProductstatusesCustomBatchRequest < 3) { 2135 if (buildCounterProductstatusesCustomBatchRequest < 3) {
2132 checkUnnamed334(o.entries); 2136 checkUnnamed599(o.entries);
2133 } 2137 }
2134 buildCounterProductstatusesCustomBatchRequest--; 2138 buildCounterProductstatusesCustomBatchRequest--;
2135 } 2139 }
2136 2140
2137 core.int buildCounterProductstatusesCustomBatchRequestEntry = 0; 2141 core.int buildCounterProductstatusesCustomBatchRequestEntry = 0;
2138 buildProductstatusesCustomBatchRequestEntry() { 2142 buildProductstatusesCustomBatchRequestEntry() {
2139 var o = new api.ProductstatusesCustomBatchRequestEntry(); 2143 var o = new api.ProductstatusesCustomBatchRequestEntry();
2140 buildCounterProductstatusesCustomBatchRequestEntry++; 2144 buildCounterProductstatusesCustomBatchRequestEntry++;
2141 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) { 2145 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) {
2142 o.batchId = 42; 2146 o.batchId = 42;
2143 o.merchantId = "foo"; 2147 o.merchantId = "foo";
2144 o.method = "foo"; 2148 o.method = "foo";
2145 o.productId = "foo"; 2149 o.productId = "foo";
2146 } 2150 }
2147 buildCounterProductstatusesCustomBatchRequestEntry--; 2151 buildCounterProductstatusesCustomBatchRequestEntry--;
2148 return o; 2152 return o;
2149 } 2153 }
2150 2154
2151 checkProductstatusesCustomBatchRequestEntry(api.ProductstatusesCustomBatchReques tEntry o) { 2155 checkProductstatusesCustomBatchRequestEntry(api.ProductstatusesCustomBatchReques tEntry o) {
2152 buildCounterProductstatusesCustomBatchRequestEntry++; 2156 buildCounterProductstatusesCustomBatchRequestEntry++;
2153 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) { 2157 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) {
2154 unittest.expect(o.batchId, unittest.equals(42)); 2158 unittest.expect(o.batchId, unittest.equals(42));
2155 unittest.expect(o.merchantId, unittest.equals('foo')); 2159 unittest.expect(o.merchantId, unittest.equals('foo'));
2156 unittest.expect(o.method, unittest.equals('foo')); 2160 unittest.expect(o.method, unittest.equals('foo'));
2157 unittest.expect(o.productId, unittest.equals('foo')); 2161 unittest.expect(o.productId, unittest.equals('foo'));
2158 } 2162 }
2159 buildCounterProductstatusesCustomBatchRequestEntry--; 2163 buildCounterProductstatusesCustomBatchRequestEntry--;
2160 } 2164 }
2161 2165
2162 buildUnnamed335() { 2166 buildUnnamed600() {
2163 var o = new core.List<api.ProductstatusesCustomBatchResponseEntry>(); 2167 var o = new core.List<api.ProductstatusesCustomBatchResponseEntry>();
2164 o.add(buildProductstatusesCustomBatchResponseEntry()); 2168 o.add(buildProductstatusesCustomBatchResponseEntry());
2165 o.add(buildProductstatusesCustomBatchResponseEntry()); 2169 o.add(buildProductstatusesCustomBatchResponseEntry());
2166 return o; 2170 return o;
2167 } 2171 }
2168 2172
2169 checkUnnamed335(core.List<api.ProductstatusesCustomBatchResponseEntry> o) { 2173 checkUnnamed600(core.List<api.ProductstatusesCustomBatchResponseEntry> o) {
2170 unittest.expect(o, unittest.hasLength(2)); 2174 unittest.expect(o, unittest.hasLength(2));
2171 checkProductstatusesCustomBatchResponseEntry(o[0]); 2175 checkProductstatusesCustomBatchResponseEntry(o[0]);
2172 checkProductstatusesCustomBatchResponseEntry(o[1]); 2176 checkProductstatusesCustomBatchResponseEntry(o[1]);
2173 } 2177 }
2174 2178
2175 core.int buildCounterProductstatusesCustomBatchResponse = 0; 2179 core.int buildCounterProductstatusesCustomBatchResponse = 0;
2176 buildProductstatusesCustomBatchResponse() { 2180 buildProductstatusesCustomBatchResponse() {
2177 var o = new api.ProductstatusesCustomBatchResponse(); 2181 var o = new api.ProductstatusesCustomBatchResponse();
2178 buildCounterProductstatusesCustomBatchResponse++; 2182 buildCounterProductstatusesCustomBatchResponse++;
2179 if (buildCounterProductstatusesCustomBatchResponse < 3) { 2183 if (buildCounterProductstatusesCustomBatchResponse < 3) {
2180 o.entries = buildUnnamed335(); 2184 o.entries = buildUnnamed600();
2181 o.kind = "foo"; 2185 o.kind = "foo";
2182 } 2186 }
2183 buildCounterProductstatusesCustomBatchResponse--; 2187 buildCounterProductstatusesCustomBatchResponse--;
2184 return o; 2188 return o;
2185 } 2189 }
2186 2190
2187 checkProductstatusesCustomBatchResponse(api.ProductstatusesCustomBatchResponse o ) { 2191 checkProductstatusesCustomBatchResponse(api.ProductstatusesCustomBatchResponse o ) {
2188 buildCounterProductstatusesCustomBatchResponse++; 2192 buildCounterProductstatusesCustomBatchResponse++;
2189 if (buildCounterProductstatusesCustomBatchResponse < 3) { 2193 if (buildCounterProductstatusesCustomBatchResponse < 3) {
2190 checkUnnamed335(o.entries); 2194 checkUnnamed600(o.entries);
2191 unittest.expect(o.kind, unittest.equals('foo')); 2195 unittest.expect(o.kind, unittest.equals('foo'));
2192 } 2196 }
2193 buildCounterProductstatusesCustomBatchResponse--; 2197 buildCounterProductstatusesCustomBatchResponse--;
2194 } 2198 }
2195 2199
2196 core.int buildCounterProductstatusesCustomBatchResponseEntry = 0; 2200 core.int buildCounterProductstatusesCustomBatchResponseEntry = 0;
2197 buildProductstatusesCustomBatchResponseEntry() { 2201 buildProductstatusesCustomBatchResponseEntry() {
2198 var o = new api.ProductstatusesCustomBatchResponseEntry(); 2202 var o = new api.ProductstatusesCustomBatchResponseEntry();
2199 buildCounterProductstatusesCustomBatchResponseEntry++; 2203 buildCounterProductstatusesCustomBatchResponseEntry++;
2200 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) { 2204 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) {
(...skipping 10 matching lines...) Expand all
2211 buildCounterProductstatusesCustomBatchResponseEntry++; 2215 buildCounterProductstatusesCustomBatchResponseEntry++;
2212 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) { 2216 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) {
2213 unittest.expect(o.batchId, unittest.equals(42)); 2217 unittest.expect(o.batchId, unittest.equals(42));
2214 checkErrors(o.errors); 2218 checkErrors(o.errors);
2215 unittest.expect(o.kind, unittest.equals('foo')); 2219 unittest.expect(o.kind, unittest.equals('foo'));
2216 checkProductStatus(o.productStatus); 2220 checkProductStatus(o.productStatus);
2217 } 2221 }
2218 buildCounterProductstatusesCustomBatchResponseEntry--; 2222 buildCounterProductstatusesCustomBatchResponseEntry--;
2219 } 2223 }
2220 2224
2221 buildUnnamed336() { 2225 buildUnnamed601() {
2222 var o = new core.List<api.ProductStatus>(); 2226 var o = new core.List<api.ProductStatus>();
2223 o.add(buildProductStatus()); 2227 o.add(buildProductStatus());
2224 o.add(buildProductStatus()); 2228 o.add(buildProductStatus());
2225 return o; 2229 return o;
2226 } 2230 }
2227 2231
2228 checkUnnamed336(core.List<api.ProductStatus> o) { 2232 checkUnnamed601(core.List<api.ProductStatus> o) {
2229 unittest.expect(o, unittest.hasLength(2)); 2233 unittest.expect(o, unittest.hasLength(2));
2230 checkProductStatus(o[0]); 2234 checkProductStatus(o[0]);
2231 checkProductStatus(o[1]); 2235 checkProductStatus(o[1]);
2232 } 2236 }
2233 2237
2234 core.int buildCounterProductstatusesListResponse = 0; 2238 core.int buildCounterProductstatusesListResponse = 0;
2235 buildProductstatusesListResponse() { 2239 buildProductstatusesListResponse() {
2236 var o = new api.ProductstatusesListResponse(); 2240 var o = new api.ProductstatusesListResponse();
2237 buildCounterProductstatusesListResponse++; 2241 buildCounterProductstatusesListResponse++;
2238 if (buildCounterProductstatusesListResponse < 3) { 2242 if (buildCounterProductstatusesListResponse < 3) {
2239 o.kind = "foo"; 2243 o.kind = "foo";
2240 o.nextPageToken = "foo"; 2244 o.nextPageToken = "foo";
2241 o.resources = buildUnnamed336(); 2245 o.resources = buildUnnamed601();
2242 } 2246 }
2243 buildCounterProductstatusesListResponse--; 2247 buildCounterProductstatusesListResponse--;
2244 return o; 2248 return o;
2245 } 2249 }
2246 2250
2247 checkProductstatusesListResponse(api.ProductstatusesListResponse o) { 2251 checkProductstatusesListResponse(api.ProductstatusesListResponse o) {
2248 buildCounterProductstatusesListResponse++; 2252 buildCounterProductstatusesListResponse++;
2249 if (buildCounterProductstatusesListResponse < 3) { 2253 if (buildCounterProductstatusesListResponse < 3) {
2250 unittest.expect(o.kind, unittest.equals('foo')); 2254 unittest.expect(o.kind, unittest.equals('foo'));
2251 unittest.expect(o.nextPageToken, unittest.equals('foo')); 2255 unittest.expect(o.nextPageToken, unittest.equals('foo'));
2252 checkUnnamed336(o.resources); 2256 checkUnnamed601(o.resources);
2253 } 2257 }
2254 buildCounterProductstatusesListResponse--; 2258 buildCounterProductstatusesListResponse--;
2255 } 2259 }
2256 2260
2257 2261
2258 main() { 2262 main() {
2259 unittest.group("obj-schema-Account", () { 2263 unittest.group("obj-schema-Account", () {
2260 unittest.test("to-json--from-json", () { 2264 unittest.test("to-json--from-json", () {
2261 var o = buildAccount(); 2265 var o = buildAccount();
2262 var od = new api.Account.fromJson(o.toJson()); 2266 var od = new api.Account.fromJson(o.toJson());
(...skipping 1230 matching lines...) Expand 10 before | Expand all | Expand 10 after
3493 res.insert(arg_request, arg_merchantId).then(unittest.expectAsync(((api.Da tafeed response) { 3497 res.insert(arg_request, arg_merchantId).then(unittest.expectAsync(((api.Da tafeed response) {
3494 checkDatafeed(response); 3498 checkDatafeed(response);
3495 }))); 3499 })));
3496 }); 3500 });
3497 3501
3498 unittest.test("method--list", () { 3502 unittest.test("method--list", () {
3499 3503
3500 var mock = new common_test.HttpServerMock(); 3504 var mock = new common_test.HttpServerMock();
3501 api.DatafeedsResourceApi res = new api.ContentApi(mock).datafeeds; 3505 api.DatafeedsResourceApi res = new api.ContentApi(mock).datafeeds;
3502 var arg_merchantId = "foo"; 3506 var arg_merchantId = "foo";
3507 var arg_maxResults = 42;
3508 var arg_pageToken = "foo";
3503 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 3509 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
3504 var path = (req.url).path; 3510 var path = (req.url).path;
3505 var pathOffset = 0; 3511 var pathOffset = 0;
3506 var index; 3512 var index;
3507 var subPart; 3513 var subPart;
3508 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 3514 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
3509 pathOffset += 1; 3515 pathOffset += 1;
3510 3516
3511 var query = (req.url).query; 3517 var query = (req.url).query;
3512 var queryOffset = 0; 3518 var queryOffset = 0;
3513 var queryMap = {}; 3519 var queryMap = {};
3514 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); 3520 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
3515 parseBool(n) { 3521 parseBool(n) {
3516 if (n == "true") return true; 3522 if (n == "true") return true;
3517 if (n == "false") return false; 3523 if (n == "false") return false;
3518 if (n == null) return null; 3524 if (n == null) return null;
3519 throw new core.ArgumentError("Invalid boolean: $n"); 3525 throw new core.ArgumentError("Invalid boolean: $n");
3520 } 3526 }
3521 if (query.length > 0) { 3527 if (query.length > 0) {
3522 for (var part in query.split("&")) { 3528 for (var part in query.split("&")) {
3523 var keyvalue = part.split("="); 3529 var keyvalue = part.split("=");
3524 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 3530 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
3525 } 3531 }
3526 } 3532 }
3533 unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.e quals(arg_maxResults));
3534 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok en));
3527 3535
3528 3536
3529 var h = { 3537 var h = {
3530 "content-type" : "application/json; charset=utf-8", 3538 "content-type" : "application/json; charset=utf-8",
3531 }; 3539 };
3532 var resp = convert.JSON.encode(buildDatafeedsListResponse()); 3540 var resp = convert.JSON.encode(buildDatafeedsListResponse());
3533 return new async.Future.value(common_test.stringResponse(200, h, resp)); 3541 return new async.Future.value(common_test.stringResponse(200, h, resp));
3534 }), true); 3542 }), true);
3535 res.list(arg_merchantId).then(unittest.expectAsync(((api.DatafeedsListResp onse response) { 3543 res.list(arg_merchantId, maxResults: arg_maxResults, pageToken: arg_pageTo ken).then(unittest.expectAsync(((api.DatafeedsListResponse response) {
3536 checkDatafeedsListResponse(response); 3544 checkDatafeedsListResponse(response);
3537 }))); 3545 })));
3538 }); 3546 });
3539 3547
3540 unittest.test("method--patch", () { 3548 unittest.test("method--patch", () {
3541 3549
3542 var mock = new common_test.HttpServerMock(); 3550 var mock = new common_test.HttpServerMock();
3543 api.DatafeedsResourceApi res = new api.ContentApi(mock).datafeeds; 3551 api.DatafeedsResourceApi res = new api.ContentApi(mock).datafeeds;
3544 var arg_request = buildDatafeed(); 3552 var arg_request = buildDatafeed();
3545 var arg_merchantId = "foo"; 3553 var arg_merchantId = "foo";
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
3725 res.get(arg_merchantId, arg_datafeedId).then(unittest.expectAsync(((api.Da tafeedStatus response) { 3733 res.get(arg_merchantId, arg_datafeedId).then(unittest.expectAsync(((api.Da tafeedStatus response) {
3726 checkDatafeedStatus(response); 3734 checkDatafeedStatus(response);
3727 }))); 3735 })));
3728 }); 3736 });
3729 3737
3730 unittest.test("method--list", () { 3738 unittest.test("method--list", () {
3731 3739
3732 var mock = new common_test.HttpServerMock(); 3740 var mock = new common_test.HttpServerMock();
3733 api.DatafeedstatusesResourceApi res = new api.ContentApi(mock).datafeedsta tuses; 3741 api.DatafeedstatusesResourceApi res = new api.ContentApi(mock).datafeedsta tuses;
3734 var arg_merchantId = "foo"; 3742 var arg_merchantId = "foo";
3743 var arg_maxResults = 42;
3744 var arg_pageToken = "foo";
3735 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 3745 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
3736 var path = (req.url).path; 3746 var path = (req.url).path;
3737 var pathOffset = 0; 3747 var pathOffset = 0;
3738 var index; 3748 var index;
3739 var subPart; 3749 var subPart;
3740 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 3750 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
3741 pathOffset += 1; 3751 pathOffset += 1;
3742 3752
3743 var query = (req.url).query; 3753 var query = (req.url).query;
3744 var queryOffset = 0; 3754 var queryOffset = 0;
3745 var queryMap = {}; 3755 var queryMap = {};
3746 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); 3756 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
3747 parseBool(n) { 3757 parseBool(n) {
3748 if (n == "true") return true; 3758 if (n == "true") return true;
3749 if (n == "false") return false; 3759 if (n == "false") return false;
3750 if (n == null) return null; 3760 if (n == null) return null;
3751 throw new core.ArgumentError("Invalid boolean: $n"); 3761 throw new core.ArgumentError("Invalid boolean: $n");
3752 } 3762 }
3753 if (query.length > 0) { 3763 if (query.length > 0) {
3754 for (var part in query.split("&")) { 3764 for (var part in query.split("&")) {
3755 var keyvalue = part.split("="); 3765 var keyvalue = part.split("=");
3756 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 3766 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
3757 } 3767 }
3758 } 3768 }
3769 unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.e quals(arg_maxResults));
3770 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok en));
3759 3771
3760 3772
3761 var h = { 3773 var h = {
3762 "content-type" : "application/json; charset=utf-8", 3774 "content-type" : "application/json; charset=utf-8",
3763 }; 3775 };
3764 var resp = convert.JSON.encode(buildDatafeedstatusesListResponse()); 3776 var resp = convert.JSON.encode(buildDatafeedstatusesListResponse());
3765 return new async.Future.value(common_test.stringResponse(200, h, resp)); 3777 return new async.Future.value(common_test.stringResponse(200, h, resp));
3766 }), true); 3778 }), true);
3767 res.list(arg_merchantId).then(unittest.expectAsync(((api.DatafeedstatusesL istResponse response) { 3779 res.list(arg_merchantId, maxResults: arg_maxResults, pageToken: arg_pageTo ken).then(unittest.expectAsync(((api.DatafeedstatusesListResponse response) {
3768 checkDatafeedstatusesListResponse(response); 3780 checkDatafeedstatusesListResponse(response);
3769 }))); 3781 })));
3770 }); 3782 });
3771 3783
3772 }); 3784 });
3773 3785
3774 3786
3775 unittest.group("resource-InventoryResourceApi", () { 3787 unittest.group("resource-InventoryResourceApi", () {
3776 unittest.test("method--custombatch", () { 3788 unittest.test("method--custombatch", () {
3777 3789
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
4245 res.list(arg_merchantId, maxResults: arg_maxResults, pageToken: arg_pageTo ken).then(unittest.expectAsync(((api.ProductstatusesListResponse response) { 4257 res.list(arg_merchantId, maxResults: arg_maxResults, pageToken: arg_pageTo ken).then(unittest.expectAsync(((api.ProductstatusesListResponse response) {
4246 checkProductstatusesListResponse(response); 4258 checkProductstatusesListResponse(response);
4247 }))); 4259 })));
4248 }); 4260 });
4249 4261
4250 }); 4262 });
4251 4263
4252 4264
4253 } 4265 }
4254 4266
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698