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

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

Issue 663113002: Api roll 4: 2014-10-20 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View 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 buildUnnamed738() { 19 buildUnnamed295() {
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 checkUnnamed738(core.List<api.AccountAdwordsLink> o) { 26 checkUnnamed295(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 buildUnnamed739() { 32 buildUnnamed296() {
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 checkUnnamed739(core.List<api.AccountUser> o) { 39 checkUnnamed296(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 = buildUnnamed738(); 51 o.adwordsLinks = buildUnnamed295();
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 = buildUnnamed739(); 57 o.users = buildUnnamed296();
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 checkUnnamed738(o.adwordsLinks); 68 checkUnnamed295(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 checkUnnamed739(o.users); 74 checkUnnamed296(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 buildUnnamed740() { 101 buildUnnamed297() {
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 checkUnnamed740(core.List<api.AccountStatusDataQualityIssue> o) { 108 checkUnnamed297(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 = buildUnnamed740(); 120 o.dataQualityIssues = buildUnnamed297();
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 checkUnnamed740(o.dataQualityIssues); 131 checkUnnamed297(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 buildUnnamed741() { 137 buildUnnamed298() {
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 checkUnnamed741(core.List<api.AccountStatusExampleItem> o) { 144 checkUnnamed298(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 = buildUnnamed741(); 157 o.exampleItems = buildUnnamed298();
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 checkUnnamed741(o.exampleItems); 173 checkUnnamed298(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 buildUnnamed742() { 231 buildUnnamed299() {
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 checkUnnamed742(core.List<api.AccountsCustomBatchRequestEntry> o) { 238 checkUnnamed299(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 = buildUnnamed742(); 249 o.entries = buildUnnamed299();
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 checkUnnamed742(o.entries); 258 checkUnnamed299(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 buildUnnamed743() { 290 buildUnnamed300() {
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 checkUnnamed743(core.List<api.AccountsCustomBatchResponseEntry> o) { 297 checkUnnamed300(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 = buildUnnamed743(); 308 o.entries = buildUnnamed300();
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 checkUnnamed743(o.entries); 318 checkUnnamed300(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 buildUnnamed744() { 349 buildUnnamed301() {
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 checkUnnamed744(core.List<api.Account> o) { 356 checkUnnamed301(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 = buildUnnamed744(); 369 o.resources = buildUnnamed301();
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 checkUnnamed744(o.resources); 380 checkUnnamed301(o.resources);
381 } 381 }
382 buildCounterAccountsListResponse--; 382 buildCounterAccountsListResponse--;
383 } 383 }
384 384
385 buildUnnamed745() { 385 buildUnnamed302() {
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 checkUnnamed745(core.List<api.AccountstatusesCustomBatchRequestEntry> o) { 392 checkUnnamed302(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 = buildUnnamed745(); 403 o.entries = buildUnnamed302();
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 checkUnnamed745(o.entries); 412 checkUnnamed302(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 buildUnnamed746() { 442 buildUnnamed303() {
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 checkUnnamed746(core.List<api.AccountstatusesCustomBatchResponseEntry> o) { 449 checkUnnamed303(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 = buildUnnamed746(); 460 o.entries = buildUnnamed303();
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 checkUnnamed746(o.entries); 470 checkUnnamed303(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 buildUnnamed747() { 499 buildUnnamed304() {
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 checkUnnamed747(core.List<api.AccountStatus> o) { 506 checkUnnamed304(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 = buildUnnamed747(); 519 o.resources = buildUnnamed304();
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 checkUnnamed747(o.resources); 530 checkUnnamed304(o.resources);
531 } 531 }
532 buildCounterAccountstatusesListResponse--; 532 buildCounterAccountstatusesListResponse--;
533 } 533 }
534 534
535 buildUnnamed748() { 535 buildUnnamed305() {
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 checkUnnamed748(core.List<core.String> o) { 542 checkUnnamed305(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 = buildUnnamed748(); 560 o.intendedDestinations = buildUnnamed305();
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 checkUnnamed748(o.intendedDestinations); 579 checkUnnamed305(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 buildUnnamed749() { 641 buildUnnamed306() {
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 checkUnnamed749(core.List<api.DatafeedStatusError> o) { 648 checkUnnamed306(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 buildUnnamed750() { 654 buildUnnamed307() {
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 checkUnnamed750(core.List<api.DatafeedStatusError> o) { 661 checkUnnamed307(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 = buildUnnamed749(); 673 o.errors = buildUnnamed306();
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 = buildUnnamed750(); 678 o.warnings = buildUnnamed307();
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 checkUnnamed749(o.errors); 688 checkUnnamed306(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 checkUnnamed750(o.warnings); 693 checkUnnamed307(o.warnings);
694 } 694 }
695 buildCounterDatafeedStatus--; 695 buildCounterDatafeedStatus--;
696 } 696 }
697 697
698 buildUnnamed751() { 698 buildUnnamed308() {
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 checkUnnamed751(core.List<api.DatafeedStatusExample> o) { 705 checkUnnamed308(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 = buildUnnamed751(); 718 o.examples = buildUnnamed308();
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 checkUnnamed751(o.examples); 730 checkUnnamed308(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 buildUnnamed752() { 759 buildUnnamed309() {
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 checkUnnamed752(core.List<api.DatafeedsCustomBatchRequestEntry> o) { 766 checkUnnamed309(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 = buildUnnamed752(); 777 o.entries = buildUnnamed309();
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 checkUnnamed752(o.entries); 786 checkUnnamed309(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 buildUnnamed753() { 818 buildUnnamed310() {
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 checkUnnamed753(core.List<api.DatafeedsCustomBatchResponseEntry> o) { 825 checkUnnamed310(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 = buildUnnamed753(); 836 o.entries = buildUnnamed310();
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 checkUnnamed753(o.entries); 846 checkUnnamed310(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 buildUnnamed754() { 875 buildUnnamed311() {
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 checkUnnamed754(core.List<api.Datafeed> o) { 882 checkUnnamed311(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 = buildUnnamed754(); 894 o.resources = buildUnnamed311();
895 } 895 }
896 buildCounterDatafeedsListResponse--; 896 buildCounterDatafeedsListResponse--;
897 return o; 897 return o;
898 } 898 }
899 899
900 checkDatafeedsListResponse(api.DatafeedsListResponse o) { 900 checkDatafeedsListResponse(api.DatafeedsListResponse o) {
901 buildCounterDatafeedsListResponse++; 901 buildCounterDatafeedsListResponse++;
902 if (buildCounterDatafeedsListResponse < 3) { 902 if (buildCounterDatafeedsListResponse < 3) {
903 unittest.expect(o.kind, unittest.equals('foo')); 903 unittest.expect(o.kind, unittest.equals('foo'));
904 checkUnnamed754(o.resources); 904 checkUnnamed311(o.resources);
905 } 905 }
906 buildCounterDatafeedsListResponse--; 906 buildCounterDatafeedsListResponse--;
907 } 907 }
908 908
909 buildUnnamed755() { 909 buildUnnamed312() {
910 var o = new core.List<api.DatafeedstatusesCustomBatchRequestEntry>(); 910 var o = new core.List<api.DatafeedstatusesCustomBatchRequestEntry>();
911 o.add(buildDatafeedstatusesCustomBatchRequestEntry()); 911 o.add(buildDatafeedstatusesCustomBatchRequestEntry());
912 o.add(buildDatafeedstatusesCustomBatchRequestEntry()); 912 o.add(buildDatafeedstatusesCustomBatchRequestEntry());
913 return o; 913 return o;
914 } 914 }
915 915
916 checkUnnamed755(core.List<api.DatafeedstatusesCustomBatchRequestEntry> o) { 916 checkUnnamed312(core.List<api.DatafeedstatusesCustomBatchRequestEntry> o) {
917 unittest.expect(o, unittest.hasLength(2)); 917 unittest.expect(o, unittest.hasLength(2));
918 checkDatafeedstatusesCustomBatchRequestEntry(o[0]); 918 checkDatafeedstatusesCustomBatchRequestEntry(o[0]);
919 checkDatafeedstatusesCustomBatchRequestEntry(o[1]); 919 checkDatafeedstatusesCustomBatchRequestEntry(o[1]);
920 } 920 }
921 921
922 core.int buildCounterDatafeedstatusesCustomBatchRequest = 0; 922 core.int buildCounterDatafeedstatusesCustomBatchRequest = 0;
923 buildDatafeedstatusesCustomBatchRequest() { 923 buildDatafeedstatusesCustomBatchRequest() {
924 var o = new api.DatafeedstatusesCustomBatchRequest(); 924 var o = new api.DatafeedstatusesCustomBatchRequest();
925 buildCounterDatafeedstatusesCustomBatchRequest++; 925 buildCounterDatafeedstatusesCustomBatchRequest++;
926 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { 926 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) {
927 o.entries = buildUnnamed755(); 927 o.entries = buildUnnamed312();
928 } 928 }
929 buildCounterDatafeedstatusesCustomBatchRequest--; 929 buildCounterDatafeedstatusesCustomBatchRequest--;
930 return o; 930 return o;
931 } 931 }
932 932
933 checkDatafeedstatusesCustomBatchRequest(api.DatafeedstatusesCustomBatchRequest o ) { 933 checkDatafeedstatusesCustomBatchRequest(api.DatafeedstatusesCustomBatchRequest o ) {
934 buildCounterDatafeedstatusesCustomBatchRequest++; 934 buildCounterDatafeedstatusesCustomBatchRequest++;
935 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { 935 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) {
936 checkUnnamed755(o.entries); 936 checkUnnamed312(o.entries);
937 } 937 }
938 buildCounterDatafeedstatusesCustomBatchRequest--; 938 buildCounterDatafeedstatusesCustomBatchRequest--;
939 } 939 }
940 940
941 core.int buildCounterDatafeedstatusesCustomBatchRequestEntry = 0; 941 core.int buildCounterDatafeedstatusesCustomBatchRequestEntry = 0;
942 buildDatafeedstatusesCustomBatchRequestEntry() { 942 buildDatafeedstatusesCustomBatchRequestEntry() {
943 var o = new api.DatafeedstatusesCustomBatchRequestEntry(); 943 var o = new api.DatafeedstatusesCustomBatchRequestEntry();
944 buildCounterDatafeedstatusesCustomBatchRequestEntry++; 944 buildCounterDatafeedstatusesCustomBatchRequestEntry++;
945 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) { 945 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) {
946 o.batchId = 42; 946 o.batchId = 42;
947 o.datafeedId = "foo"; 947 o.datafeedId = "foo";
948 o.merchantId = "foo"; 948 o.merchantId = "foo";
949 o.method = "foo"; 949 o.method = "foo";
950 } 950 }
951 buildCounterDatafeedstatusesCustomBatchRequestEntry--; 951 buildCounterDatafeedstatusesCustomBatchRequestEntry--;
952 return o; 952 return o;
953 } 953 }
954 954
955 checkDatafeedstatusesCustomBatchRequestEntry(api.DatafeedstatusesCustomBatchRequ estEntry o) { 955 checkDatafeedstatusesCustomBatchRequestEntry(api.DatafeedstatusesCustomBatchRequ estEntry o) {
956 buildCounterDatafeedstatusesCustomBatchRequestEntry++; 956 buildCounterDatafeedstatusesCustomBatchRequestEntry++;
957 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) { 957 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) {
958 unittest.expect(o.batchId, unittest.equals(42)); 958 unittest.expect(o.batchId, unittest.equals(42));
959 unittest.expect(o.datafeedId, unittest.equals('foo')); 959 unittest.expect(o.datafeedId, unittest.equals('foo'));
960 unittest.expect(o.merchantId, unittest.equals('foo')); 960 unittest.expect(o.merchantId, unittest.equals('foo'));
961 unittest.expect(o.method, unittest.equals('foo')); 961 unittest.expect(o.method, unittest.equals('foo'));
962 } 962 }
963 buildCounterDatafeedstatusesCustomBatchRequestEntry--; 963 buildCounterDatafeedstatusesCustomBatchRequestEntry--;
964 } 964 }
965 965
966 buildUnnamed756() { 966 buildUnnamed313() {
967 var o = new core.List<api.DatafeedstatusesCustomBatchResponseEntry>(); 967 var o = new core.List<api.DatafeedstatusesCustomBatchResponseEntry>();
968 o.add(buildDatafeedstatusesCustomBatchResponseEntry()); 968 o.add(buildDatafeedstatusesCustomBatchResponseEntry());
969 o.add(buildDatafeedstatusesCustomBatchResponseEntry()); 969 o.add(buildDatafeedstatusesCustomBatchResponseEntry());
970 return o; 970 return o;
971 } 971 }
972 972
973 checkUnnamed756(core.List<api.DatafeedstatusesCustomBatchResponseEntry> o) { 973 checkUnnamed313(core.List<api.DatafeedstatusesCustomBatchResponseEntry> o) {
974 unittest.expect(o, unittest.hasLength(2)); 974 unittest.expect(o, unittest.hasLength(2));
975 checkDatafeedstatusesCustomBatchResponseEntry(o[0]); 975 checkDatafeedstatusesCustomBatchResponseEntry(o[0]);
976 checkDatafeedstatusesCustomBatchResponseEntry(o[1]); 976 checkDatafeedstatusesCustomBatchResponseEntry(o[1]);
977 } 977 }
978 978
979 core.int buildCounterDatafeedstatusesCustomBatchResponse = 0; 979 core.int buildCounterDatafeedstatusesCustomBatchResponse = 0;
980 buildDatafeedstatusesCustomBatchResponse() { 980 buildDatafeedstatusesCustomBatchResponse() {
981 var o = new api.DatafeedstatusesCustomBatchResponse(); 981 var o = new api.DatafeedstatusesCustomBatchResponse();
982 buildCounterDatafeedstatusesCustomBatchResponse++; 982 buildCounterDatafeedstatusesCustomBatchResponse++;
983 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { 983 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) {
984 o.entries = buildUnnamed756(); 984 o.entries = buildUnnamed313();
985 o.kind = "foo"; 985 o.kind = "foo";
986 } 986 }
987 buildCounterDatafeedstatusesCustomBatchResponse--; 987 buildCounterDatafeedstatusesCustomBatchResponse--;
988 return o; 988 return o;
989 } 989 }
990 990
991 checkDatafeedstatusesCustomBatchResponse(api.DatafeedstatusesCustomBatchResponse o) { 991 checkDatafeedstatusesCustomBatchResponse(api.DatafeedstatusesCustomBatchResponse o) {
992 buildCounterDatafeedstatusesCustomBatchResponse++; 992 buildCounterDatafeedstatusesCustomBatchResponse++;
993 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { 993 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) {
994 checkUnnamed756(o.entries); 994 checkUnnamed313(o.entries);
995 unittest.expect(o.kind, unittest.equals('foo')); 995 unittest.expect(o.kind, unittest.equals('foo'));
996 } 996 }
997 buildCounterDatafeedstatusesCustomBatchResponse--; 997 buildCounterDatafeedstatusesCustomBatchResponse--;
998 } 998 }
999 999
1000 core.int buildCounterDatafeedstatusesCustomBatchResponseEntry = 0; 1000 core.int buildCounterDatafeedstatusesCustomBatchResponseEntry = 0;
1001 buildDatafeedstatusesCustomBatchResponseEntry() { 1001 buildDatafeedstatusesCustomBatchResponseEntry() {
1002 var o = new api.DatafeedstatusesCustomBatchResponseEntry(); 1002 var o = new api.DatafeedstatusesCustomBatchResponseEntry();
1003 buildCounterDatafeedstatusesCustomBatchResponseEntry++; 1003 buildCounterDatafeedstatusesCustomBatchResponseEntry++;
1004 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) { 1004 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) {
1005 o.batchId = 42; 1005 o.batchId = 42;
1006 o.datafeedStatus = buildDatafeedStatus(); 1006 o.datafeedStatus = buildDatafeedStatus();
1007 o.errors = buildErrors(); 1007 o.errors = buildErrors();
1008 } 1008 }
1009 buildCounterDatafeedstatusesCustomBatchResponseEntry--; 1009 buildCounterDatafeedstatusesCustomBatchResponseEntry--;
1010 return o; 1010 return o;
1011 } 1011 }
1012 1012
1013 checkDatafeedstatusesCustomBatchResponseEntry(api.DatafeedstatusesCustomBatchRes ponseEntry o) { 1013 checkDatafeedstatusesCustomBatchResponseEntry(api.DatafeedstatusesCustomBatchRes ponseEntry o) {
1014 buildCounterDatafeedstatusesCustomBatchResponseEntry++; 1014 buildCounterDatafeedstatusesCustomBatchResponseEntry++;
1015 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) { 1015 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) {
1016 unittest.expect(o.batchId, unittest.equals(42)); 1016 unittest.expect(o.batchId, unittest.equals(42));
1017 checkDatafeedStatus(o.datafeedStatus); 1017 checkDatafeedStatus(o.datafeedStatus);
1018 checkErrors(o.errors); 1018 checkErrors(o.errors);
1019 } 1019 }
1020 buildCounterDatafeedstatusesCustomBatchResponseEntry--; 1020 buildCounterDatafeedstatusesCustomBatchResponseEntry--;
1021 } 1021 }
1022 1022
1023 buildUnnamed757() { 1023 buildUnnamed314() {
1024 var o = new core.List<api.DatafeedStatus>(); 1024 var o = new core.List<api.DatafeedStatus>();
1025 o.add(buildDatafeedStatus()); 1025 o.add(buildDatafeedStatus());
1026 o.add(buildDatafeedStatus()); 1026 o.add(buildDatafeedStatus());
1027 return o; 1027 return o;
1028 } 1028 }
1029 1029
1030 checkUnnamed757(core.List<api.DatafeedStatus> o) { 1030 checkUnnamed314(core.List<api.DatafeedStatus> o) {
1031 unittest.expect(o, unittest.hasLength(2)); 1031 unittest.expect(o, unittest.hasLength(2));
1032 checkDatafeedStatus(o[0]); 1032 checkDatafeedStatus(o[0]);
1033 checkDatafeedStatus(o[1]); 1033 checkDatafeedStatus(o[1]);
1034 } 1034 }
1035 1035
1036 core.int buildCounterDatafeedstatusesListResponse = 0; 1036 core.int buildCounterDatafeedstatusesListResponse = 0;
1037 buildDatafeedstatusesListResponse() { 1037 buildDatafeedstatusesListResponse() {
1038 var o = new api.DatafeedstatusesListResponse(); 1038 var o = new api.DatafeedstatusesListResponse();
1039 buildCounterDatafeedstatusesListResponse++; 1039 buildCounterDatafeedstatusesListResponse++;
1040 if (buildCounterDatafeedstatusesListResponse < 3) { 1040 if (buildCounterDatafeedstatusesListResponse < 3) {
1041 o.kind = "foo"; 1041 o.kind = "foo";
1042 o.resources = buildUnnamed757(); 1042 o.resources = buildUnnamed314();
1043 } 1043 }
1044 buildCounterDatafeedstatusesListResponse--; 1044 buildCounterDatafeedstatusesListResponse--;
1045 return o; 1045 return o;
1046 } 1046 }
1047 1047
1048 checkDatafeedstatusesListResponse(api.DatafeedstatusesListResponse o) { 1048 checkDatafeedstatusesListResponse(api.DatafeedstatusesListResponse o) {
1049 buildCounterDatafeedstatusesListResponse++; 1049 buildCounterDatafeedstatusesListResponse++;
1050 if (buildCounterDatafeedstatusesListResponse < 3) { 1050 if (buildCounterDatafeedstatusesListResponse < 3) {
1051 unittest.expect(o.kind, unittest.equals('foo')); 1051 unittest.expect(o.kind, unittest.equals('foo'));
1052 checkUnnamed757(o.resources); 1052 checkUnnamed314(o.resources);
1053 } 1053 }
1054 buildCounterDatafeedstatusesListResponse--; 1054 buildCounterDatafeedstatusesListResponse--;
1055 } 1055 }
1056 1056
1057 core.int buildCounterError = 0; 1057 core.int buildCounterError = 0;
1058 buildError() { 1058 buildError() {
1059 var o = new api.Error(); 1059 var o = new api.Error();
1060 buildCounterError++; 1060 buildCounterError++;
1061 if (buildCounterError < 3) { 1061 if (buildCounterError < 3) {
1062 o.domain = "foo"; 1062 o.domain = "foo";
1063 o.message = "foo"; 1063 o.message = "foo";
1064 o.reason = "foo"; 1064 o.reason = "foo";
1065 } 1065 }
1066 buildCounterError--; 1066 buildCounterError--;
1067 return o; 1067 return o;
1068 } 1068 }
1069 1069
1070 checkError(api.Error o) { 1070 checkError(api.Error o) {
1071 buildCounterError++; 1071 buildCounterError++;
1072 if (buildCounterError < 3) { 1072 if (buildCounterError < 3) {
1073 unittest.expect(o.domain, unittest.equals('foo')); 1073 unittest.expect(o.domain, unittest.equals('foo'));
1074 unittest.expect(o.message, unittest.equals('foo')); 1074 unittest.expect(o.message, unittest.equals('foo'));
1075 unittest.expect(o.reason, unittest.equals('foo')); 1075 unittest.expect(o.reason, unittest.equals('foo'));
1076 } 1076 }
1077 buildCounterError--; 1077 buildCounterError--;
1078 } 1078 }
1079 1079
1080 buildUnnamed758() { 1080 buildUnnamed315() {
1081 var o = new core.List<api.Error>(); 1081 var o = new core.List<api.Error>();
1082 o.add(buildError()); 1082 o.add(buildError());
1083 o.add(buildError()); 1083 o.add(buildError());
1084 return o; 1084 return o;
1085 } 1085 }
1086 1086
1087 checkUnnamed758(core.List<api.Error> o) { 1087 checkUnnamed315(core.List<api.Error> o) {
1088 unittest.expect(o, unittest.hasLength(2)); 1088 unittest.expect(o, unittest.hasLength(2));
1089 checkError(o[0]); 1089 checkError(o[0]);
1090 checkError(o[1]); 1090 checkError(o[1]);
1091 } 1091 }
1092 1092
1093 core.int buildCounterErrors = 0; 1093 core.int buildCounterErrors = 0;
1094 buildErrors() { 1094 buildErrors() {
1095 var o = new api.Errors(); 1095 var o = new api.Errors();
1096 buildCounterErrors++; 1096 buildCounterErrors++;
1097 if (buildCounterErrors < 3) { 1097 if (buildCounterErrors < 3) {
1098 o.code = 42; 1098 o.code = 42;
1099 o.errors = buildUnnamed758(); 1099 o.errors = buildUnnamed315();
1100 o.message = "foo"; 1100 o.message = "foo";
1101 } 1101 }
1102 buildCounterErrors--; 1102 buildCounterErrors--;
1103 return o; 1103 return o;
1104 } 1104 }
1105 1105
1106 checkErrors(api.Errors o) { 1106 checkErrors(api.Errors o) {
1107 buildCounterErrors++; 1107 buildCounterErrors++;
1108 if (buildCounterErrors < 3) { 1108 if (buildCounterErrors < 3) {
1109 unittest.expect(o.code, unittest.equals(42)); 1109 unittest.expect(o.code, unittest.equals(42));
1110 checkUnnamed758(o.errors); 1110 checkUnnamed315(o.errors);
1111 unittest.expect(o.message, unittest.equals('foo')); 1111 unittest.expect(o.message, unittest.equals('foo'));
1112 } 1112 }
1113 buildCounterErrors--; 1113 buildCounterErrors--;
1114 } 1114 }
1115 1115
1116 core.int buildCounterInventory = 0; 1116 core.int buildCounterInventory = 0;
1117 buildInventory() { 1117 buildInventory() {
1118 var o = new api.Inventory(); 1118 var o = new api.Inventory();
1119 buildCounterInventory++; 1119 buildCounterInventory++;
1120 if (buildCounterInventory < 3) { 1120 if (buildCounterInventory < 3) {
(...skipping 14 matching lines...) Expand all
1135 unittest.expect(o.availability, unittest.equals('foo')); 1135 unittest.expect(o.availability, unittest.equals('foo'));
1136 unittest.expect(o.kind, unittest.equals('foo')); 1136 unittest.expect(o.kind, unittest.equals('foo'));
1137 checkPrice(o.price); 1137 checkPrice(o.price);
1138 unittest.expect(o.quantity, unittest.equals(42)); 1138 unittest.expect(o.quantity, unittest.equals(42));
1139 checkPrice(o.salePrice); 1139 checkPrice(o.salePrice);
1140 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); 1140 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo'));
1141 } 1141 }
1142 buildCounterInventory--; 1142 buildCounterInventory--;
1143 } 1143 }
1144 1144
1145 buildUnnamed759() { 1145 buildUnnamed316() {
1146 var o = new core.List<api.InventoryCustomBatchRequestEntry>(); 1146 var o = new core.List<api.InventoryCustomBatchRequestEntry>();
1147 o.add(buildInventoryCustomBatchRequestEntry()); 1147 o.add(buildInventoryCustomBatchRequestEntry());
1148 o.add(buildInventoryCustomBatchRequestEntry()); 1148 o.add(buildInventoryCustomBatchRequestEntry());
1149 return o; 1149 return o;
1150 } 1150 }
1151 1151
1152 checkUnnamed759(core.List<api.InventoryCustomBatchRequestEntry> o) { 1152 checkUnnamed316(core.List<api.InventoryCustomBatchRequestEntry> o) {
1153 unittest.expect(o, unittest.hasLength(2)); 1153 unittest.expect(o, unittest.hasLength(2));
1154 checkInventoryCustomBatchRequestEntry(o[0]); 1154 checkInventoryCustomBatchRequestEntry(o[0]);
1155 checkInventoryCustomBatchRequestEntry(o[1]); 1155 checkInventoryCustomBatchRequestEntry(o[1]);
1156 } 1156 }
1157 1157
1158 core.int buildCounterInventoryCustomBatchRequest = 0; 1158 core.int buildCounterInventoryCustomBatchRequest = 0;
1159 buildInventoryCustomBatchRequest() { 1159 buildInventoryCustomBatchRequest() {
1160 var o = new api.InventoryCustomBatchRequest(); 1160 var o = new api.InventoryCustomBatchRequest();
1161 buildCounterInventoryCustomBatchRequest++; 1161 buildCounterInventoryCustomBatchRequest++;
1162 if (buildCounterInventoryCustomBatchRequest < 3) { 1162 if (buildCounterInventoryCustomBatchRequest < 3) {
1163 o.entries = buildUnnamed759(); 1163 o.entries = buildUnnamed316();
1164 } 1164 }
1165 buildCounterInventoryCustomBatchRequest--; 1165 buildCounterInventoryCustomBatchRequest--;
1166 return o; 1166 return o;
1167 } 1167 }
1168 1168
1169 checkInventoryCustomBatchRequest(api.InventoryCustomBatchRequest o) { 1169 checkInventoryCustomBatchRequest(api.InventoryCustomBatchRequest o) {
1170 buildCounterInventoryCustomBatchRequest++; 1170 buildCounterInventoryCustomBatchRequest++;
1171 if (buildCounterInventoryCustomBatchRequest < 3) { 1171 if (buildCounterInventoryCustomBatchRequest < 3) {
1172 checkUnnamed759(o.entries); 1172 checkUnnamed316(o.entries);
1173 } 1173 }
1174 buildCounterInventoryCustomBatchRequest--; 1174 buildCounterInventoryCustomBatchRequest--;
1175 } 1175 }
1176 1176
1177 core.int buildCounterInventoryCustomBatchRequestEntry = 0; 1177 core.int buildCounterInventoryCustomBatchRequestEntry = 0;
1178 buildInventoryCustomBatchRequestEntry() { 1178 buildInventoryCustomBatchRequestEntry() {
1179 var o = new api.InventoryCustomBatchRequestEntry(); 1179 var o = new api.InventoryCustomBatchRequestEntry();
1180 buildCounterInventoryCustomBatchRequestEntry++; 1180 buildCounterInventoryCustomBatchRequestEntry++;
1181 if (buildCounterInventoryCustomBatchRequestEntry < 3) { 1181 if (buildCounterInventoryCustomBatchRequestEntry < 3) {
1182 o.batchId = 42; 1182 o.batchId = 42;
(...skipping 11 matching lines...) Expand all
1194 if (buildCounterInventoryCustomBatchRequestEntry < 3) { 1194 if (buildCounterInventoryCustomBatchRequestEntry < 3) {
1195 unittest.expect(o.batchId, unittest.equals(42)); 1195 unittest.expect(o.batchId, unittest.equals(42));
1196 checkInventory(o.inventory); 1196 checkInventory(o.inventory);
1197 unittest.expect(o.merchantId, unittest.equals('foo')); 1197 unittest.expect(o.merchantId, unittest.equals('foo'));
1198 unittest.expect(o.productId, unittest.equals('foo')); 1198 unittest.expect(o.productId, unittest.equals('foo'));
1199 unittest.expect(o.storeCode, unittest.equals('foo')); 1199 unittest.expect(o.storeCode, unittest.equals('foo'));
1200 } 1200 }
1201 buildCounterInventoryCustomBatchRequestEntry--; 1201 buildCounterInventoryCustomBatchRequestEntry--;
1202 } 1202 }
1203 1203
1204 buildUnnamed760() { 1204 buildUnnamed317() {
1205 var o = new core.List<api.InventoryCustomBatchResponseEntry>(); 1205 var o = new core.List<api.InventoryCustomBatchResponseEntry>();
1206 o.add(buildInventoryCustomBatchResponseEntry()); 1206 o.add(buildInventoryCustomBatchResponseEntry());
1207 o.add(buildInventoryCustomBatchResponseEntry()); 1207 o.add(buildInventoryCustomBatchResponseEntry());
1208 return o; 1208 return o;
1209 } 1209 }
1210 1210
1211 checkUnnamed760(core.List<api.InventoryCustomBatchResponseEntry> o) { 1211 checkUnnamed317(core.List<api.InventoryCustomBatchResponseEntry> o) {
1212 unittest.expect(o, unittest.hasLength(2)); 1212 unittest.expect(o, unittest.hasLength(2));
1213 checkInventoryCustomBatchResponseEntry(o[0]); 1213 checkInventoryCustomBatchResponseEntry(o[0]);
1214 checkInventoryCustomBatchResponseEntry(o[1]); 1214 checkInventoryCustomBatchResponseEntry(o[1]);
1215 } 1215 }
1216 1216
1217 core.int buildCounterInventoryCustomBatchResponse = 0; 1217 core.int buildCounterInventoryCustomBatchResponse = 0;
1218 buildInventoryCustomBatchResponse() { 1218 buildInventoryCustomBatchResponse() {
1219 var o = new api.InventoryCustomBatchResponse(); 1219 var o = new api.InventoryCustomBatchResponse();
1220 buildCounterInventoryCustomBatchResponse++; 1220 buildCounterInventoryCustomBatchResponse++;
1221 if (buildCounterInventoryCustomBatchResponse < 3) { 1221 if (buildCounterInventoryCustomBatchResponse < 3) {
1222 o.entries = buildUnnamed760(); 1222 o.entries = buildUnnamed317();
1223 o.kind = "foo"; 1223 o.kind = "foo";
1224 } 1224 }
1225 buildCounterInventoryCustomBatchResponse--; 1225 buildCounterInventoryCustomBatchResponse--;
1226 return o; 1226 return o;
1227 } 1227 }
1228 1228
1229 checkInventoryCustomBatchResponse(api.InventoryCustomBatchResponse o) { 1229 checkInventoryCustomBatchResponse(api.InventoryCustomBatchResponse o) {
1230 buildCounterInventoryCustomBatchResponse++; 1230 buildCounterInventoryCustomBatchResponse++;
1231 if (buildCounterInventoryCustomBatchResponse < 3) { 1231 if (buildCounterInventoryCustomBatchResponse < 3) {
1232 checkUnnamed760(o.entries); 1232 checkUnnamed317(o.entries);
1233 unittest.expect(o.kind, unittest.equals('foo')); 1233 unittest.expect(o.kind, unittest.equals('foo'));
1234 } 1234 }
1235 buildCounterInventoryCustomBatchResponse--; 1235 buildCounterInventoryCustomBatchResponse--;
1236 } 1236 }
1237 1237
1238 core.int buildCounterInventoryCustomBatchResponseEntry = 0; 1238 core.int buildCounterInventoryCustomBatchResponseEntry = 0;
1239 buildInventoryCustomBatchResponseEntry() { 1239 buildInventoryCustomBatchResponseEntry() {
1240 var o = new api.InventoryCustomBatchResponseEntry(); 1240 var o = new api.InventoryCustomBatchResponseEntry();
1241 buildCounterInventoryCustomBatchResponseEntry++; 1241 buildCounterInventoryCustomBatchResponseEntry++;
1242 if (buildCounterInventoryCustomBatchResponseEntry < 3) { 1242 if (buildCounterInventoryCustomBatchResponseEntry < 3) {
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
1341 1341
1342 checkPrice(api.Price o) { 1342 checkPrice(api.Price o) {
1343 buildCounterPrice++; 1343 buildCounterPrice++;
1344 if (buildCounterPrice < 3) { 1344 if (buildCounterPrice < 3) {
1345 unittest.expect(o.currency, unittest.equals('foo')); 1345 unittest.expect(o.currency, unittest.equals('foo'));
1346 unittest.expect(o.value, unittest.equals('foo')); 1346 unittest.expect(o.value, unittest.equals('foo'));
1347 } 1347 }
1348 buildCounterPrice--; 1348 buildCounterPrice--;
1349 } 1349 }
1350 1350
1351 buildUnnamed761() { 1351 buildUnnamed318() {
1352 var o = new core.List<core.String>(); 1352 var o = new core.List<core.String>();
1353 o.add("foo"); 1353 o.add("foo");
1354 o.add("foo"); 1354 o.add("foo");
1355 return o; 1355 return o;
1356 } 1356 }
1357 1357
1358 checkUnnamed761(core.List<core.String> o) { 1358 checkUnnamed318(core.List<core.String> o) {
1359 unittest.expect(o, unittest.hasLength(2)); 1359 unittest.expect(o, unittest.hasLength(2));
1360 unittest.expect(o[0], unittest.equals('foo')); 1360 unittest.expect(o[0], unittest.equals('foo'));
1361 unittest.expect(o[1], unittest.equals('foo')); 1361 unittest.expect(o[1], unittest.equals('foo'));
1362 } 1362 }
1363 1363
1364 buildUnnamed762() { 1364 buildUnnamed319() {
1365 var o = new core.List<core.String>(); 1365 var o = new core.List<core.String>();
1366 o.add("foo"); 1366 o.add("foo");
1367 o.add("foo"); 1367 o.add("foo");
1368 return o; 1368 return o;
1369 } 1369 }
1370 1370
1371 checkUnnamed762(core.List<core.String> o) { 1371 checkUnnamed319(core.List<core.String> o) {
1372 unittest.expect(o, unittest.hasLength(2)); 1372 unittest.expect(o, unittest.hasLength(2));
1373 unittest.expect(o[0], unittest.equals('foo')); 1373 unittest.expect(o[0], unittest.equals('foo'));
1374 unittest.expect(o[1], unittest.equals('foo')); 1374 unittest.expect(o[1], unittest.equals('foo'));
1375 } 1375 }
1376 1376
1377 buildUnnamed763() { 1377 buildUnnamed320() {
1378 var o = new core.List<api.ProductCustomAttribute>(); 1378 var o = new core.List<api.ProductCustomAttribute>();
1379 o.add(buildProductCustomAttribute()); 1379 o.add(buildProductCustomAttribute());
1380 o.add(buildProductCustomAttribute()); 1380 o.add(buildProductCustomAttribute());
1381 return o; 1381 return o;
1382 } 1382 }
1383 1383
1384 checkUnnamed763(core.List<api.ProductCustomAttribute> o) { 1384 checkUnnamed320(core.List<api.ProductCustomAttribute> o) {
1385 unittest.expect(o, unittest.hasLength(2)); 1385 unittest.expect(o, unittest.hasLength(2));
1386 checkProductCustomAttribute(o[0]); 1386 checkProductCustomAttribute(o[0]);
1387 checkProductCustomAttribute(o[1]); 1387 checkProductCustomAttribute(o[1]);
1388 } 1388 }
1389 1389
1390 buildUnnamed764() { 1390 buildUnnamed321() {
1391 var o = new core.List<api.ProductCustomGroup>(); 1391 var o = new core.List<api.ProductCustomGroup>();
1392 o.add(buildProductCustomGroup()); 1392 o.add(buildProductCustomGroup());
1393 o.add(buildProductCustomGroup()); 1393 o.add(buildProductCustomGroup());
1394 return o; 1394 return o;
1395 } 1395 }
1396 1396
1397 checkUnnamed764(core.List<api.ProductCustomGroup> o) { 1397 checkUnnamed321(core.List<api.ProductCustomGroup> o) {
1398 unittest.expect(o, unittest.hasLength(2)); 1398 unittest.expect(o, unittest.hasLength(2));
1399 checkProductCustomGroup(o[0]); 1399 checkProductCustomGroup(o[0]);
1400 checkProductCustomGroup(o[1]); 1400 checkProductCustomGroup(o[1]);
1401 } 1401 }
1402 1402
1403 buildUnnamed765() { 1403 buildUnnamed322() {
1404 var o = new core.List<api.ProductDestination>(); 1404 var o = new core.List<api.ProductDestination>();
1405 o.add(buildProductDestination()); 1405 o.add(buildProductDestination());
1406 o.add(buildProductDestination()); 1406 o.add(buildProductDestination());
1407 return o; 1407 return o;
1408 } 1408 }
1409 1409
1410 checkUnnamed765(core.List<api.ProductDestination> o) { 1410 checkUnnamed322(core.List<api.ProductDestination> o) {
1411 unittest.expect(o, unittest.hasLength(2)); 1411 unittest.expect(o, unittest.hasLength(2));
1412 checkProductDestination(o[0]); 1412 checkProductDestination(o[0]);
1413 checkProductDestination(o[1]); 1413 checkProductDestination(o[1]);
1414 } 1414 }
1415 1415
1416 buildUnnamed766() { 1416 buildUnnamed323() {
1417 var o = new core.List<api.ProductShipping>(); 1417 var o = new core.List<api.ProductShipping>();
1418 o.add(buildProductShipping()); 1418 o.add(buildProductShipping());
1419 o.add(buildProductShipping()); 1419 o.add(buildProductShipping());
1420 return o; 1420 return o;
1421 } 1421 }
1422 1422
1423 checkUnnamed766(core.List<api.ProductShipping> o) { 1423 checkUnnamed323(core.List<api.ProductShipping> o) {
1424 unittest.expect(o, unittest.hasLength(2)); 1424 unittest.expect(o, unittest.hasLength(2));
1425 checkProductShipping(o[0]); 1425 checkProductShipping(o[0]);
1426 checkProductShipping(o[1]); 1426 checkProductShipping(o[1]);
1427 } 1427 }
1428 1428
1429 buildUnnamed767() { 1429 buildUnnamed324() {
1430 var o = new core.List<core.String>(); 1430 var o = new core.List<core.String>();
1431 o.add("foo"); 1431 o.add("foo");
1432 o.add("foo"); 1432 o.add("foo");
1433 return o; 1433 return o;
1434 } 1434 }
1435 1435
1436 checkUnnamed767(core.List<core.String> o) { 1436 checkUnnamed324(core.List<core.String> o) {
1437 unittest.expect(o, unittest.hasLength(2)); 1437 unittest.expect(o, unittest.hasLength(2));
1438 unittest.expect(o[0], unittest.equals('foo')); 1438 unittest.expect(o[0], unittest.equals('foo'));
1439 unittest.expect(o[1], unittest.equals('foo')); 1439 unittest.expect(o[1], unittest.equals('foo'));
1440 } 1440 }
1441 1441
1442 buildUnnamed768() { 1442 buildUnnamed325() {
1443 var o = new core.List<api.ProductTax>(); 1443 var o = new core.List<api.ProductTax>();
1444 o.add(buildProductTax()); 1444 o.add(buildProductTax());
1445 o.add(buildProductTax()); 1445 o.add(buildProductTax());
1446 return o; 1446 return o;
1447 } 1447 }
1448 1448
1449 checkUnnamed768(core.List<api.ProductTax> o) { 1449 checkUnnamed325(core.List<api.ProductTax> o) {
1450 unittest.expect(o, unittest.hasLength(2)); 1450 unittest.expect(o, unittest.hasLength(2));
1451 checkProductTax(o[0]); 1451 checkProductTax(o[0]);
1452 checkProductTax(o[1]); 1452 checkProductTax(o[1]);
1453 } 1453 }
1454 1454
1455 buildUnnamed769() { 1455 buildUnnamed326() {
1456 var o = new core.List<core.String>(); 1456 var o = new core.List<core.String>();
1457 o.add("foo"); 1457 o.add("foo");
1458 o.add("foo"); 1458 o.add("foo");
1459 return o; 1459 return o;
1460 } 1460 }
1461 1461
1462 checkUnnamed769(core.List<core.String> o) { 1462 checkUnnamed326(core.List<core.String> o) {
1463 unittest.expect(o, unittest.hasLength(2)); 1463 unittest.expect(o, unittest.hasLength(2));
1464 unittest.expect(o[0], unittest.equals('foo')); 1464 unittest.expect(o[0], unittest.equals('foo'));
1465 unittest.expect(o[1], unittest.equals('foo')); 1465 unittest.expect(o[1], unittest.equals('foo'));
1466 } 1466 }
1467 1467
1468 buildUnnamed770() { 1468 buildUnnamed327() {
1469 var o = new core.List<api.Error>(); 1469 var o = new core.List<api.Error>();
1470 o.add(buildError()); 1470 o.add(buildError());
1471 o.add(buildError()); 1471 o.add(buildError());
1472 return o; 1472 return o;
1473 } 1473 }
1474 1474
1475 checkUnnamed770(core.List<api.Error> o) { 1475 checkUnnamed327(core.List<api.Error> o) {
1476 unittest.expect(o, unittest.hasLength(2)); 1476 unittest.expect(o, unittest.hasLength(2));
1477 checkError(o[0]); 1477 checkError(o[0]);
1478 checkError(o[1]); 1478 checkError(o[1]);
1479 } 1479 }
1480 1480
1481 core.int buildCounterProduct = 0; 1481 core.int buildCounterProduct = 0;
1482 buildProduct() { 1482 buildProduct() {
1483 var o = new api.Product(); 1483 var o = new api.Product();
1484 buildCounterProduct++; 1484 buildCounterProduct++;
1485 if (buildCounterProduct < 3) { 1485 if (buildCounterProduct < 3) {
1486 o.additionalImageLinks = buildUnnamed761(); 1486 o.additionalImageLinks = buildUnnamed318();
1487 o.adult = true; 1487 o.adult = true;
1488 o.adwordsGrouping = "foo"; 1488 o.adwordsGrouping = "foo";
1489 o.adwordsLabels = buildUnnamed762(); 1489 o.adwordsLabels = buildUnnamed319();
1490 o.adwordsRedirect = "foo"; 1490 o.adwordsRedirect = "foo";
1491 o.ageGroup = "foo"; 1491 o.ageGroup = "foo";
1492 o.availability = "foo"; 1492 o.availability = "foo";
1493 o.availabilityDate = "foo"; 1493 o.availabilityDate = "foo";
1494 o.brand = "foo"; 1494 o.brand = "foo";
1495 o.channel = "foo"; 1495 o.channel = "foo";
1496 o.color = "foo"; 1496 o.color = "foo";
1497 o.condition = "foo"; 1497 o.condition = "foo";
1498 o.contentLanguage = "foo"; 1498 o.contentLanguage = "foo";
1499 o.customAttributes = buildUnnamed763(); 1499 o.customAttributes = buildUnnamed320();
1500 o.customGroups = buildUnnamed764(); 1500 o.customGroups = buildUnnamed321();
1501 o.customLabel0 = "foo"; 1501 o.customLabel0 = "foo";
1502 o.customLabel1 = "foo"; 1502 o.customLabel1 = "foo";
1503 o.customLabel2 = "foo"; 1503 o.customLabel2 = "foo";
1504 o.customLabel3 = "foo"; 1504 o.customLabel3 = "foo";
1505 o.customLabel4 = "foo"; 1505 o.customLabel4 = "foo";
1506 o.description = "foo"; 1506 o.description = "foo";
1507 o.destinations = buildUnnamed765(); 1507 o.destinations = buildUnnamed322();
1508 o.energyEfficiencyClass = "foo"; 1508 o.energyEfficiencyClass = "foo";
1509 o.expirationDate = "foo"; 1509 o.expirationDate = "foo";
1510 o.gender = "foo"; 1510 o.gender = "foo";
1511 o.googleProductCategory = "foo"; 1511 o.googleProductCategory = "foo";
1512 o.gtin = "foo"; 1512 o.gtin = "foo";
1513 o.id = "foo"; 1513 o.id = "foo";
1514 o.identifierExists = true; 1514 o.identifierExists = true;
1515 o.imageLink = "foo"; 1515 o.imageLink = "foo";
1516 o.installment = buildProductInstallment(); 1516 o.installment = buildProductInstallment();
1517 o.isBundle = true; 1517 o.isBundle = true;
1518 o.itemGroupId = "foo"; 1518 o.itemGroupId = "foo";
1519 o.kind = "foo"; 1519 o.kind = "foo";
1520 o.link = "foo"; 1520 o.link = "foo";
1521 o.loyaltyPoints = buildLoyaltyPoints(); 1521 o.loyaltyPoints = buildLoyaltyPoints();
1522 o.material = "foo"; 1522 o.material = "foo";
1523 o.mobileLink = "foo"; 1523 o.mobileLink = "foo";
1524 o.mpn = "foo"; 1524 o.mpn = "foo";
1525 o.multipack = "foo"; 1525 o.multipack = "foo";
1526 o.offerId = "foo"; 1526 o.offerId = "foo";
1527 o.onlineOnly = true; 1527 o.onlineOnly = true;
1528 o.pattern = "foo"; 1528 o.pattern = "foo";
1529 o.price = buildPrice(); 1529 o.price = buildPrice();
1530 o.productType = "foo"; 1530 o.productType = "foo";
1531 o.salePrice = buildPrice(); 1531 o.salePrice = buildPrice();
1532 o.salePriceEffectiveDate = "foo"; 1532 o.salePriceEffectiveDate = "foo";
1533 o.shipping = buildUnnamed766(); 1533 o.shipping = buildUnnamed323();
1534 o.shippingLabel = "foo"; 1534 o.shippingLabel = "foo";
1535 o.shippingWeight = buildProductShippingWeight(); 1535 o.shippingWeight = buildProductShippingWeight();
1536 o.sizeSystem = "foo"; 1536 o.sizeSystem = "foo";
1537 o.sizeType = "foo"; 1537 o.sizeType = "foo";
1538 o.sizes = buildUnnamed767(); 1538 o.sizes = buildUnnamed324();
1539 o.targetCountry = "foo"; 1539 o.targetCountry = "foo";
1540 o.taxes = buildUnnamed768(); 1540 o.taxes = buildUnnamed325();
1541 o.title = "foo"; 1541 o.title = "foo";
1542 o.unitPricingBaseMeasure = buildProductUnitPricingBaseMeasure(); 1542 o.unitPricingBaseMeasure = buildProductUnitPricingBaseMeasure();
1543 o.unitPricingMeasure = buildProductUnitPricingMeasure(); 1543 o.unitPricingMeasure = buildProductUnitPricingMeasure();
1544 o.validatedDestinations = buildUnnamed769(); 1544 o.validatedDestinations = buildUnnamed326();
1545 o.warnings = buildUnnamed770(); 1545 o.warnings = buildUnnamed327();
1546 } 1546 }
1547 buildCounterProduct--; 1547 buildCounterProduct--;
1548 return o; 1548 return o;
1549 } 1549 }
1550 1550
1551 checkProduct(api.Product o) { 1551 checkProduct(api.Product o) {
1552 buildCounterProduct++; 1552 buildCounterProduct++;
1553 if (buildCounterProduct < 3) { 1553 if (buildCounterProduct < 3) {
1554 checkUnnamed761(o.additionalImageLinks); 1554 checkUnnamed318(o.additionalImageLinks);
1555 unittest.expect(o.adult, unittest.isTrue); 1555 unittest.expect(o.adult, unittest.isTrue);
1556 unittest.expect(o.adwordsGrouping, unittest.equals('foo')); 1556 unittest.expect(o.adwordsGrouping, unittest.equals('foo'));
1557 checkUnnamed762(o.adwordsLabels); 1557 checkUnnamed319(o.adwordsLabels);
1558 unittest.expect(o.adwordsRedirect, unittest.equals('foo')); 1558 unittest.expect(o.adwordsRedirect, unittest.equals('foo'));
1559 unittest.expect(o.ageGroup, unittest.equals('foo')); 1559 unittest.expect(o.ageGroup, unittest.equals('foo'));
1560 unittest.expect(o.availability, unittest.equals('foo')); 1560 unittest.expect(o.availability, unittest.equals('foo'));
1561 unittest.expect(o.availabilityDate, unittest.equals('foo')); 1561 unittest.expect(o.availabilityDate, unittest.equals('foo'));
1562 unittest.expect(o.brand, unittest.equals('foo')); 1562 unittest.expect(o.brand, unittest.equals('foo'));
1563 unittest.expect(o.channel, unittest.equals('foo')); 1563 unittest.expect(o.channel, unittest.equals('foo'));
1564 unittest.expect(o.color, unittest.equals('foo')); 1564 unittest.expect(o.color, unittest.equals('foo'));
1565 unittest.expect(o.condition, unittest.equals('foo')); 1565 unittest.expect(o.condition, unittest.equals('foo'));
1566 unittest.expect(o.contentLanguage, unittest.equals('foo')); 1566 unittest.expect(o.contentLanguage, unittest.equals('foo'));
1567 checkUnnamed763(o.customAttributes); 1567 checkUnnamed320(o.customAttributes);
1568 checkUnnamed764(o.customGroups); 1568 checkUnnamed321(o.customGroups);
1569 unittest.expect(o.customLabel0, unittest.equals('foo')); 1569 unittest.expect(o.customLabel0, unittest.equals('foo'));
1570 unittest.expect(o.customLabel1, unittest.equals('foo')); 1570 unittest.expect(o.customLabel1, unittest.equals('foo'));
1571 unittest.expect(o.customLabel2, unittest.equals('foo')); 1571 unittest.expect(o.customLabel2, unittest.equals('foo'));
1572 unittest.expect(o.customLabel3, unittest.equals('foo')); 1572 unittest.expect(o.customLabel3, unittest.equals('foo'));
1573 unittest.expect(o.customLabel4, unittest.equals('foo')); 1573 unittest.expect(o.customLabel4, unittest.equals('foo'));
1574 unittest.expect(o.description, unittest.equals('foo')); 1574 unittest.expect(o.description, unittest.equals('foo'));
1575 checkUnnamed765(o.destinations); 1575 checkUnnamed322(o.destinations);
1576 unittest.expect(o.energyEfficiencyClass, unittest.equals('foo')); 1576 unittest.expect(o.energyEfficiencyClass, unittest.equals('foo'));
1577 unittest.expect(o.expirationDate, unittest.equals('foo')); 1577 unittest.expect(o.expirationDate, unittest.equals('foo'));
1578 unittest.expect(o.gender, unittest.equals('foo')); 1578 unittest.expect(o.gender, unittest.equals('foo'));
1579 unittest.expect(o.googleProductCategory, unittest.equals('foo')); 1579 unittest.expect(o.googleProductCategory, unittest.equals('foo'));
1580 unittest.expect(o.gtin, unittest.equals('foo')); 1580 unittest.expect(o.gtin, unittest.equals('foo'));
1581 unittest.expect(o.id, unittest.equals('foo')); 1581 unittest.expect(o.id, unittest.equals('foo'));
1582 unittest.expect(o.identifierExists, unittest.isTrue); 1582 unittest.expect(o.identifierExists, unittest.isTrue);
1583 unittest.expect(o.imageLink, unittest.equals('foo')); 1583 unittest.expect(o.imageLink, unittest.equals('foo'));
1584 checkProductInstallment(o.installment); 1584 checkProductInstallment(o.installment);
1585 unittest.expect(o.isBundle, unittest.isTrue); 1585 unittest.expect(o.isBundle, unittest.isTrue);
1586 unittest.expect(o.itemGroupId, unittest.equals('foo')); 1586 unittest.expect(o.itemGroupId, unittest.equals('foo'));
1587 unittest.expect(o.kind, unittest.equals('foo')); 1587 unittest.expect(o.kind, unittest.equals('foo'));
1588 unittest.expect(o.link, unittest.equals('foo')); 1588 unittest.expect(o.link, unittest.equals('foo'));
1589 checkLoyaltyPoints(o.loyaltyPoints); 1589 checkLoyaltyPoints(o.loyaltyPoints);
1590 unittest.expect(o.material, unittest.equals('foo')); 1590 unittest.expect(o.material, unittest.equals('foo'));
1591 unittest.expect(o.mobileLink, unittest.equals('foo')); 1591 unittest.expect(o.mobileLink, unittest.equals('foo'));
1592 unittest.expect(o.mpn, unittest.equals('foo')); 1592 unittest.expect(o.mpn, unittest.equals('foo'));
1593 unittest.expect(o.multipack, unittest.equals('foo')); 1593 unittest.expect(o.multipack, unittest.equals('foo'));
1594 unittest.expect(o.offerId, unittest.equals('foo')); 1594 unittest.expect(o.offerId, unittest.equals('foo'));
1595 unittest.expect(o.onlineOnly, unittest.isTrue); 1595 unittest.expect(o.onlineOnly, unittest.isTrue);
1596 unittest.expect(o.pattern, unittest.equals('foo')); 1596 unittest.expect(o.pattern, unittest.equals('foo'));
1597 checkPrice(o.price); 1597 checkPrice(o.price);
1598 unittest.expect(o.productType, unittest.equals('foo')); 1598 unittest.expect(o.productType, unittest.equals('foo'));
1599 checkPrice(o.salePrice); 1599 checkPrice(o.salePrice);
1600 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); 1600 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo'));
1601 checkUnnamed766(o.shipping); 1601 checkUnnamed323(o.shipping);
1602 unittest.expect(o.shippingLabel, unittest.equals('foo')); 1602 unittest.expect(o.shippingLabel, unittest.equals('foo'));
1603 checkProductShippingWeight(o.shippingWeight); 1603 checkProductShippingWeight(o.shippingWeight);
1604 unittest.expect(o.sizeSystem, unittest.equals('foo')); 1604 unittest.expect(o.sizeSystem, unittest.equals('foo'));
1605 unittest.expect(o.sizeType, unittest.equals('foo')); 1605 unittest.expect(o.sizeType, unittest.equals('foo'));
1606 checkUnnamed767(o.sizes); 1606 checkUnnamed324(o.sizes);
1607 unittest.expect(o.targetCountry, unittest.equals('foo')); 1607 unittest.expect(o.targetCountry, unittest.equals('foo'));
1608 checkUnnamed768(o.taxes); 1608 checkUnnamed325(o.taxes);
1609 unittest.expect(o.title, unittest.equals('foo')); 1609 unittest.expect(o.title, unittest.equals('foo'));
1610 checkProductUnitPricingBaseMeasure(o.unitPricingBaseMeasure); 1610 checkProductUnitPricingBaseMeasure(o.unitPricingBaseMeasure);
1611 checkProductUnitPricingMeasure(o.unitPricingMeasure); 1611 checkProductUnitPricingMeasure(o.unitPricingMeasure);
1612 checkUnnamed769(o.validatedDestinations); 1612 checkUnnamed326(o.validatedDestinations);
1613 checkUnnamed770(o.warnings); 1613 checkUnnamed327(o.warnings);
1614 } 1614 }
1615 buildCounterProduct--; 1615 buildCounterProduct--;
1616 } 1616 }
1617 1617
1618 core.int buildCounterProductCustomAttribute = 0; 1618 core.int buildCounterProductCustomAttribute = 0;
1619 buildProductCustomAttribute() { 1619 buildProductCustomAttribute() {
1620 var o = new api.ProductCustomAttribute(); 1620 var o = new api.ProductCustomAttribute();
1621 buildCounterProductCustomAttribute++; 1621 buildCounterProductCustomAttribute++;
1622 if (buildCounterProductCustomAttribute < 3) { 1622 if (buildCounterProductCustomAttribute < 3) {
1623 o.name = "foo"; 1623 o.name = "foo";
1624 o.type = "foo"; 1624 o.type = "foo";
1625 o.unit = "foo"; 1625 o.unit = "foo";
1626 o.value = "foo"; 1626 o.value = "foo";
1627 } 1627 }
1628 buildCounterProductCustomAttribute--; 1628 buildCounterProductCustomAttribute--;
1629 return o; 1629 return o;
1630 } 1630 }
1631 1631
1632 checkProductCustomAttribute(api.ProductCustomAttribute o) { 1632 checkProductCustomAttribute(api.ProductCustomAttribute o) {
1633 buildCounterProductCustomAttribute++; 1633 buildCounterProductCustomAttribute++;
1634 if (buildCounterProductCustomAttribute < 3) { 1634 if (buildCounterProductCustomAttribute < 3) {
1635 unittest.expect(o.name, unittest.equals('foo')); 1635 unittest.expect(o.name, unittest.equals('foo'));
1636 unittest.expect(o.type, unittest.equals('foo')); 1636 unittest.expect(o.type, unittest.equals('foo'));
1637 unittest.expect(o.unit, unittest.equals('foo')); 1637 unittest.expect(o.unit, unittest.equals('foo'));
1638 unittest.expect(o.value, unittest.equals('foo')); 1638 unittest.expect(o.value, unittest.equals('foo'));
1639 } 1639 }
1640 buildCounterProductCustomAttribute--; 1640 buildCounterProductCustomAttribute--;
1641 } 1641 }
1642 1642
1643 buildUnnamed771() { 1643 buildUnnamed328() {
1644 var o = new core.List<api.ProductCustomAttribute>(); 1644 var o = new core.List<api.ProductCustomAttribute>();
1645 o.add(buildProductCustomAttribute()); 1645 o.add(buildProductCustomAttribute());
1646 o.add(buildProductCustomAttribute()); 1646 o.add(buildProductCustomAttribute());
1647 return o; 1647 return o;
1648 } 1648 }
1649 1649
1650 checkUnnamed771(core.List<api.ProductCustomAttribute> o) { 1650 checkUnnamed328(core.List<api.ProductCustomAttribute> o) {
1651 unittest.expect(o, unittest.hasLength(2)); 1651 unittest.expect(o, unittest.hasLength(2));
1652 checkProductCustomAttribute(o[0]); 1652 checkProductCustomAttribute(o[0]);
1653 checkProductCustomAttribute(o[1]); 1653 checkProductCustomAttribute(o[1]);
1654 } 1654 }
1655 1655
1656 core.int buildCounterProductCustomGroup = 0; 1656 core.int buildCounterProductCustomGroup = 0;
1657 buildProductCustomGroup() { 1657 buildProductCustomGroup() {
1658 var o = new api.ProductCustomGroup(); 1658 var o = new api.ProductCustomGroup();
1659 buildCounterProductCustomGroup++; 1659 buildCounterProductCustomGroup++;
1660 if (buildCounterProductCustomGroup < 3) { 1660 if (buildCounterProductCustomGroup < 3) {
1661 o.attributes = buildUnnamed771(); 1661 o.attributes = buildUnnamed328();
1662 o.name = "foo"; 1662 o.name = "foo";
1663 } 1663 }
1664 buildCounterProductCustomGroup--; 1664 buildCounterProductCustomGroup--;
1665 return o; 1665 return o;
1666 } 1666 }
1667 1667
1668 checkProductCustomGroup(api.ProductCustomGroup o) { 1668 checkProductCustomGroup(api.ProductCustomGroup o) {
1669 buildCounterProductCustomGroup++; 1669 buildCounterProductCustomGroup++;
1670 if (buildCounterProductCustomGroup < 3) { 1670 if (buildCounterProductCustomGroup < 3) {
1671 checkUnnamed771(o.attributes); 1671 checkUnnamed328(o.attributes);
1672 unittest.expect(o.name, unittest.equals('foo')); 1672 unittest.expect(o.name, unittest.equals('foo'));
1673 } 1673 }
1674 buildCounterProductCustomGroup--; 1674 buildCounterProductCustomGroup--;
1675 } 1675 }
1676 1676
1677 core.int buildCounterProductDestination = 0; 1677 core.int buildCounterProductDestination = 0;
1678 buildProductDestination() { 1678 buildProductDestination() {
1679 var o = new api.ProductDestination(); 1679 var o = new api.ProductDestination();
1680 buildCounterProductDestination++; 1680 buildCounterProductDestination++;
1681 if (buildCounterProductDestination < 3) { 1681 if (buildCounterProductDestination < 3) {
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
1761 1761
1762 checkProductShippingWeight(api.ProductShippingWeight o) { 1762 checkProductShippingWeight(api.ProductShippingWeight o) {
1763 buildCounterProductShippingWeight++; 1763 buildCounterProductShippingWeight++;
1764 if (buildCounterProductShippingWeight < 3) { 1764 if (buildCounterProductShippingWeight < 3) {
1765 unittest.expect(o.unit, unittest.equals('foo')); 1765 unittest.expect(o.unit, unittest.equals('foo'));
1766 unittest.expect(o.value, unittest.equals(42.0)); 1766 unittest.expect(o.value, unittest.equals(42.0));
1767 } 1767 }
1768 buildCounterProductShippingWeight--; 1768 buildCounterProductShippingWeight--;
1769 } 1769 }
1770 1770
1771 buildUnnamed772() { 1771 buildUnnamed329() {
1772 var o = new core.List<api.ProductStatusDataQualityIssue>(); 1772 var o = new core.List<api.ProductStatusDataQualityIssue>();
1773 o.add(buildProductStatusDataQualityIssue()); 1773 o.add(buildProductStatusDataQualityIssue());
1774 o.add(buildProductStatusDataQualityIssue()); 1774 o.add(buildProductStatusDataQualityIssue());
1775 return o; 1775 return o;
1776 } 1776 }
1777 1777
1778 checkUnnamed772(core.List<api.ProductStatusDataQualityIssue> o) { 1778 checkUnnamed329(core.List<api.ProductStatusDataQualityIssue> o) {
1779 unittest.expect(o, unittest.hasLength(2)); 1779 unittest.expect(o, unittest.hasLength(2));
1780 checkProductStatusDataQualityIssue(o[0]); 1780 checkProductStatusDataQualityIssue(o[0]);
1781 checkProductStatusDataQualityIssue(o[1]); 1781 checkProductStatusDataQualityIssue(o[1]);
1782 } 1782 }
1783 1783
1784 buildUnnamed773() { 1784 buildUnnamed330() {
1785 var o = new core.List<api.ProductStatusDestinationStatus>(); 1785 var o = new core.List<api.ProductStatusDestinationStatus>();
1786 o.add(buildProductStatusDestinationStatus()); 1786 o.add(buildProductStatusDestinationStatus());
1787 o.add(buildProductStatusDestinationStatus()); 1787 o.add(buildProductStatusDestinationStatus());
1788 return o; 1788 return o;
1789 } 1789 }
1790 1790
1791 checkUnnamed773(core.List<api.ProductStatusDestinationStatus> o) { 1791 checkUnnamed330(core.List<api.ProductStatusDestinationStatus> o) {
1792 unittest.expect(o, unittest.hasLength(2)); 1792 unittest.expect(o, unittest.hasLength(2));
1793 checkProductStatusDestinationStatus(o[0]); 1793 checkProductStatusDestinationStatus(o[0]);
1794 checkProductStatusDestinationStatus(o[1]); 1794 checkProductStatusDestinationStatus(o[1]);
1795 } 1795 }
1796 1796
1797 core.int buildCounterProductStatus = 0; 1797 core.int buildCounterProductStatus = 0;
1798 buildProductStatus() { 1798 buildProductStatus() {
1799 var o = new api.ProductStatus(); 1799 var o = new api.ProductStatus();
1800 buildCounterProductStatus++; 1800 buildCounterProductStatus++;
1801 if (buildCounterProductStatus < 3) { 1801 if (buildCounterProductStatus < 3) {
1802 o.dataQualityIssues = buildUnnamed772(); 1802 o.dataQualityIssues = buildUnnamed329();
1803 o.destinationStatuses = buildUnnamed773(); 1803 o.destinationStatuses = buildUnnamed330();
1804 o.kind = "foo"; 1804 o.kind = "foo";
1805 o.link = "foo"; 1805 o.link = "foo";
1806 o.productId = "foo"; 1806 o.productId = "foo";
1807 o.title = "foo"; 1807 o.title = "foo";
1808 } 1808 }
1809 buildCounterProductStatus--; 1809 buildCounterProductStatus--;
1810 return o; 1810 return o;
1811 } 1811 }
1812 1812
1813 checkProductStatus(api.ProductStatus o) { 1813 checkProductStatus(api.ProductStatus o) {
1814 buildCounterProductStatus++; 1814 buildCounterProductStatus++;
1815 if (buildCounterProductStatus < 3) { 1815 if (buildCounterProductStatus < 3) {
1816 checkUnnamed772(o.dataQualityIssues); 1816 checkUnnamed329(o.dataQualityIssues);
1817 checkUnnamed773(o.destinationStatuses); 1817 checkUnnamed330(o.destinationStatuses);
1818 unittest.expect(o.kind, unittest.equals('foo')); 1818 unittest.expect(o.kind, unittest.equals('foo'));
1819 unittest.expect(o.link, unittest.equals('foo')); 1819 unittest.expect(o.link, unittest.equals('foo'));
1820 unittest.expect(o.productId, unittest.equals('foo')); 1820 unittest.expect(o.productId, unittest.equals('foo'));
1821 unittest.expect(o.title, unittest.equals('foo')); 1821 unittest.expect(o.title, unittest.equals('foo'));
1822 } 1822 }
1823 buildCounterProductStatus--; 1823 buildCounterProductStatus--;
1824 } 1824 }
1825 1825
1826 core.int buildCounterProductStatusDataQualityIssue = 0; 1826 core.int buildCounterProductStatusDataQualityIssue = 0;
1827 buildProductStatusDataQualityIssue() { 1827 buildProductStatusDataQualityIssue() {
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
1941 1941
1942 checkProductUnitPricingMeasure(api.ProductUnitPricingMeasure o) { 1942 checkProductUnitPricingMeasure(api.ProductUnitPricingMeasure o) {
1943 buildCounterProductUnitPricingMeasure++; 1943 buildCounterProductUnitPricingMeasure++;
1944 if (buildCounterProductUnitPricingMeasure < 3) { 1944 if (buildCounterProductUnitPricingMeasure < 3) {
1945 unittest.expect(o.unit, unittest.equals('foo')); 1945 unittest.expect(o.unit, unittest.equals('foo'));
1946 unittest.expect(o.value, unittest.equals(42.0)); 1946 unittest.expect(o.value, unittest.equals(42.0));
1947 } 1947 }
1948 buildCounterProductUnitPricingMeasure--; 1948 buildCounterProductUnitPricingMeasure--;
1949 } 1949 }
1950 1950
1951 buildUnnamed774() { 1951 buildUnnamed331() {
1952 var o = new core.List<api.ProductsCustomBatchRequestEntry>(); 1952 var o = new core.List<api.ProductsCustomBatchRequestEntry>();
1953 o.add(buildProductsCustomBatchRequestEntry()); 1953 o.add(buildProductsCustomBatchRequestEntry());
1954 o.add(buildProductsCustomBatchRequestEntry()); 1954 o.add(buildProductsCustomBatchRequestEntry());
1955 return o; 1955 return o;
1956 } 1956 }
1957 1957
1958 checkUnnamed774(core.List<api.ProductsCustomBatchRequestEntry> o) { 1958 checkUnnamed331(core.List<api.ProductsCustomBatchRequestEntry> o) {
1959 unittest.expect(o, unittest.hasLength(2)); 1959 unittest.expect(o, unittest.hasLength(2));
1960 checkProductsCustomBatchRequestEntry(o[0]); 1960 checkProductsCustomBatchRequestEntry(o[0]);
1961 checkProductsCustomBatchRequestEntry(o[1]); 1961 checkProductsCustomBatchRequestEntry(o[1]);
1962 } 1962 }
1963 1963
1964 core.int buildCounterProductsCustomBatchRequest = 0; 1964 core.int buildCounterProductsCustomBatchRequest = 0;
1965 buildProductsCustomBatchRequest() { 1965 buildProductsCustomBatchRequest() {
1966 var o = new api.ProductsCustomBatchRequest(); 1966 var o = new api.ProductsCustomBatchRequest();
1967 buildCounterProductsCustomBatchRequest++; 1967 buildCounterProductsCustomBatchRequest++;
1968 if (buildCounterProductsCustomBatchRequest < 3) { 1968 if (buildCounterProductsCustomBatchRequest < 3) {
1969 o.entries = buildUnnamed774(); 1969 o.entries = buildUnnamed331();
1970 } 1970 }
1971 buildCounterProductsCustomBatchRequest--; 1971 buildCounterProductsCustomBatchRequest--;
1972 return o; 1972 return o;
1973 } 1973 }
1974 1974
1975 checkProductsCustomBatchRequest(api.ProductsCustomBatchRequest o) { 1975 checkProductsCustomBatchRequest(api.ProductsCustomBatchRequest o) {
1976 buildCounterProductsCustomBatchRequest++; 1976 buildCounterProductsCustomBatchRequest++;
1977 if (buildCounterProductsCustomBatchRequest < 3) { 1977 if (buildCounterProductsCustomBatchRequest < 3) {
1978 checkUnnamed774(o.entries); 1978 checkUnnamed331(o.entries);
1979 } 1979 }
1980 buildCounterProductsCustomBatchRequest--; 1980 buildCounterProductsCustomBatchRequest--;
1981 } 1981 }
1982 1982
1983 core.int buildCounterProductsCustomBatchRequestEntry = 0; 1983 core.int buildCounterProductsCustomBatchRequestEntry = 0;
1984 buildProductsCustomBatchRequestEntry() { 1984 buildProductsCustomBatchRequestEntry() {
1985 var o = new api.ProductsCustomBatchRequestEntry(); 1985 var o = new api.ProductsCustomBatchRequestEntry();
1986 buildCounterProductsCustomBatchRequestEntry++; 1986 buildCounterProductsCustomBatchRequestEntry++;
1987 if (buildCounterProductsCustomBatchRequestEntry < 3) { 1987 if (buildCounterProductsCustomBatchRequestEntry < 3) {
1988 o.batchId = 42; 1988 o.batchId = 42;
(...skipping 11 matching lines...) Expand all
2000 if (buildCounterProductsCustomBatchRequestEntry < 3) { 2000 if (buildCounterProductsCustomBatchRequestEntry < 3) {
2001 unittest.expect(o.batchId, unittest.equals(42)); 2001 unittest.expect(o.batchId, unittest.equals(42));
2002 unittest.expect(o.merchantId, unittest.equals('foo')); 2002 unittest.expect(o.merchantId, unittest.equals('foo'));
2003 unittest.expect(o.method, unittest.equals('foo')); 2003 unittest.expect(o.method, unittest.equals('foo'));
2004 checkProduct(o.product); 2004 checkProduct(o.product);
2005 unittest.expect(o.productId, unittest.equals('foo')); 2005 unittest.expect(o.productId, unittest.equals('foo'));
2006 } 2006 }
2007 buildCounterProductsCustomBatchRequestEntry--; 2007 buildCounterProductsCustomBatchRequestEntry--;
2008 } 2008 }
2009 2009
2010 buildUnnamed775() { 2010 buildUnnamed332() {
2011 var o = new core.List<api.ProductsCustomBatchResponseEntry>(); 2011 var o = new core.List<api.ProductsCustomBatchResponseEntry>();
2012 o.add(buildProductsCustomBatchResponseEntry()); 2012 o.add(buildProductsCustomBatchResponseEntry());
2013 o.add(buildProductsCustomBatchResponseEntry()); 2013 o.add(buildProductsCustomBatchResponseEntry());
2014 return o; 2014 return o;
2015 } 2015 }
2016 2016
2017 checkUnnamed775(core.List<api.ProductsCustomBatchResponseEntry> o) { 2017 checkUnnamed332(core.List<api.ProductsCustomBatchResponseEntry> o) {
2018 unittest.expect(o, unittest.hasLength(2)); 2018 unittest.expect(o, unittest.hasLength(2));
2019 checkProductsCustomBatchResponseEntry(o[0]); 2019 checkProductsCustomBatchResponseEntry(o[0]);
2020 checkProductsCustomBatchResponseEntry(o[1]); 2020 checkProductsCustomBatchResponseEntry(o[1]);
2021 } 2021 }
2022 2022
2023 core.int buildCounterProductsCustomBatchResponse = 0; 2023 core.int buildCounterProductsCustomBatchResponse = 0;
2024 buildProductsCustomBatchResponse() { 2024 buildProductsCustomBatchResponse() {
2025 var o = new api.ProductsCustomBatchResponse(); 2025 var o = new api.ProductsCustomBatchResponse();
2026 buildCounterProductsCustomBatchResponse++; 2026 buildCounterProductsCustomBatchResponse++;
2027 if (buildCounterProductsCustomBatchResponse < 3) { 2027 if (buildCounterProductsCustomBatchResponse < 3) {
2028 o.entries = buildUnnamed775(); 2028 o.entries = buildUnnamed332();
2029 o.kind = "foo"; 2029 o.kind = "foo";
2030 } 2030 }
2031 buildCounterProductsCustomBatchResponse--; 2031 buildCounterProductsCustomBatchResponse--;
2032 return o; 2032 return o;
2033 } 2033 }
2034 2034
2035 checkProductsCustomBatchResponse(api.ProductsCustomBatchResponse o) { 2035 checkProductsCustomBatchResponse(api.ProductsCustomBatchResponse o) {
2036 buildCounterProductsCustomBatchResponse++; 2036 buildCounterProductsCustomBatchResponse++;
2037 if (buildCounterProductsCustomBatchResponse < 3) { 2037 if (buildCounterProductsCustomBatchResponse < 3) {
2038 checkUnnamed775(o.entries); 2038 checkUnnamed332(o.entries);
2039 unittest.expect(o.kind, unittest.equals('foo')); 2039 unittest.expect(o.kind, unittest.equals('foo'));
2040 } 2040 }
2041 buildCounterProductsCustomBatchResponse--; 2041 buildCounterProductsCustomBatchResponse--;
2042 } 2042 }
2043 2043
2044 core.int buildCounterProductsCustomBatchResponseEntry = 0; 2044 core.int buildCounterProductsCustomBatchResponseEntry = 0;
2045 buildProductsCustomBatchResponseEntry() { 2045 buildProductsCustomBatchResponseEntry() {
2046 var o = new api.ProductsCustomBatchResponseEntry(); 2046 var o = new api.ProductsCustomBatchResponseEntry();
2047 buildCounterProductsCustomBatchResponseEntry++; 2047 buildCounterProductsCustomBatchResponseEntry++;
2048 if (buildCounterProductsCustomBatchResponseEntry < 3) { 2048 if (buildCounterProductsCustomBatchResponseEntry < 3) {
(...skipping 10 matching lines...) Expand all
2059 buildCounterProductsCustomBatchResponseEntry++; 2059 buildCounterProductsCustomBatchResponseEntry++;
2060 if (buildCounterProductsCustomBatchResponseEntry < 3) { 2060 if (buildCounterProductsCustomBatchResponseEntry < 3) {
2061 unittest.expect(o.batchId, unittest.equals(42)); 2061 unittest.expect(o.batchId, unittest.equals(42));
2062 checkErrors(o.errors); 2062 checkErrors(o.errors);
2063 unittest.expect(o.kind, unittest.equals('foo')); 2063 unittest.expect(o.kind, unittest.equals('foo'));
2064 checkProduct(o.product); 2064 checkProduct(o.product);
2065 } 2065 }
2066 buildCounterProductsCustomBatchResponseEntry--; 2066 buildCounterProductsCustomBatchResponseEntry--;
2067 } 2067 }
2068 2068
2069 buildUnnamed776() { 2069 buildUnnamed333() {
2070 var o = new core.List<api.Product>(); 2070 var o = new core.List<api.Product>();
2071 o.add(buildProduct()); 2071 o.add(buildProduct());
2072 o.add(buildProduct()); 2072 o.add(buildProduct());
2073 return o; 2073 return o;
2074 } 2074 }
2075 2075
2076 checkUnnamed776(core.List<api.Product> o) { 2076 checkUnnamed333(core.List<api.Product> o) {
2077 unittest.expect(o, unittest.hasLength(2)); 2077 unittest.expect(o, unittest.hasLength(2));
2078 checkProduct(o[0]); 2078 checkProduct(o[0]);
2079 checkProduct(o[1]); 2079 checkProduct(o[1]);
2080 } 2080 }
2081 2081
2082 core.int buildCounterProductsListResponse = 0; 2082 core.int buildCounterProductsListResponse = 0;
2083 buildProductsListResponse() { 2083 buildProductsListResponse() {
2084 var o = new api.ProductsListResponse(); 2084 var o = new api.ProductsListResponse();
2085 buildCounterProductsListResponse++; 2085 buildCounterProductsListResponse++;
2086 if (buildCounterProductsListResponse < 3) { 2086 if (buildCounterProductsListResponse < 3) {
2087 o.kind = "foo"; 2087 o.kind = "foo";
2088 o.nextPageToken = "foo"; 2088 o.nextPageToken = "foo";
2089 o.resources = buildUnnamed776(); 2089 o.resources = buildUnnamed333();
2090 } 2090 }
2091 buildCounterProductsListResponse--; 2091 buildCounterProductsListResponse--;
2092 return o; 2092 return o;
2093 } 2093 }
2094 2094
2095 checkProductsListResponse(api.ProductsListResponse o) { 2095 checkProductsListResponse(api.ProductsListResponse o) {
2096 buildCounterProductsListResponse++; 2096 buildCounterProductsListResponse++;
2097 if (buildCounterProductsListResponse < 3) { 2097 if (buildCounterProductsListResponse < 3) {
2098 unittest.expect(o.kind, unittest.equals('foo')); 2098 unittest.expect(o.kind, unittest.equals('foo'));
2099 unittest.expect(o.nextPageToken, unittest.equals('foo')); 2099 unittest.expect(o.nextPageToken, unittest.equals('foo'));
2100 checkUnnamed776(o.resources); 2100 checkUnnamed333(o.resources);
2101 } 2101 }
2102 buildCounterProductsListResponse--; 2102 buildCounterProductsListResponse--;
2103 } 2103 }
2104 2104
2105 buildUnnamed777() { 2105 buildUnnamed334() {
2106 var o = new core.List<api.ProductstatusesCustomBatchRequestEntry>(); 2106 var o = new core.List<api.ProductstatusesCustomBatchRequestEntry>();
2107 o.add(buildProductstatusesCustomBatchRequestEntry()); 2107 o.add(buildProductstatusesCustomBatchRequestEntry());
2108 o.add(buildProductstatusesCustomBatchRequestEntry()); 2108 o.add(buildProductstatusesCustomBatchRequestEntry());
2109 return o; 2109 return o;
2110 } 2110 }
2111 2111
2112 checkUnnamed777(core.List<api.ProductstatusesCustomBatchRequestEntry> o) { 2112 checkUnnamed334(core.List<api.ProductstatusesCustomBatchRequestEntry> o) {
2113 unittest.expect(o, unittest.hasLength(2)); 2113 unittest.expect(o, unittest.hasLength(2));
2114 checkProductstatusesCustomBatchRequestEntry(o[0]); 2114 checkProductstatusesCustomBatchRequestEntry(o[0]);
2115 checkProductstatusesCustomBatchRequestEntry(o[1]); 2115 checkProductstatusesCustomBatchRequestEntry(o[1]);
2116 } 2116 }
2117 2117
2118 core.int buildCounterProductstatusesCustomBatchRequest = 0; 2118 core.int buildCounterProductstatusesCustomBatchRequest = 0;
2119 buildProductstatusesCustomBatchRequest() { 2119 buildProductstatusesCustomBatchRequest() {
2120 var o = new api.ProductstatusesCustomBatchRequest(); 2120 var o = new api.ProductstatusesCustomBatchRequest();
2121 buildCounterProductstatusesCustomBatchRequest++; 2121 buildCounterProductstatusesCustomBatchRequest++;
2122 if (buildCounterProductstatusesCustomBatchRequest < 3) { 2122 if (buildCounterProductstatusesCustomBatchRequest < 3) {
2123 o.entries = buildUnnamed777(); 2123 o.entries = buildUnnamed334();
2124 } 2124 }
2125 buildCounterProductstatusesCustomBatchRequest--; 2125 buildCounterProductstatusesCustomBatchRequest--;
2126 return o; 2126 return o;
2127 } 2127 }
2128 2128
2129 checkProductstatusesCustomBatchRequest(api.ProductstatusesCustomBatchRequest o) { 2129 checkProductstatusesCustomBatchRequest(api.ProductstatusesCustomBatchRequest o) {
2130 buildCounterProductstatusesCustomBatchRequest++; 2130 buildCounterProductstatusesCustomBatchRequest++;
2131 if (buildCounterProductstatusesCustomBatchRequest < 3) { 2131 if (buildCounterProductstatusesCustomBatchRequest < 3) {
2132 checkUnnamed777(o.entries); 2132 checkUnnamed334(o.entries);
2133 } 2133 }
2134 buildCounterProductstatusesCustomBatchRequest--; 2134 buildCounterProductstatusesCustomBatchRequest--;
2135 } 2135 }
2136 2136
2137 core.int buildCounterProductstatusesCustomBatchRequestEntry = 0; 2137 core.int buildCounterProductstatusesCustomBatchRequestEntry = 0;
2138 buildProductstatusesCustomBatchRequestEntry() { 2138 buildProductstatusesCustomBatchRequestEntry() {
2139 var o = new api.ProductstatusesCustomBatchRequestEntry(); 2139 var o = new api.ProductstatusesCustomBatchRequestEntry();
2140 buildCounterProductstatusesCustomBatchRequestEntry++; 2140 buildCounterProductstatusesCustomBatchRequestEntry++;
2141 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) { 2141 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) {
2142 o.batchId = 42; 2142 o.batchId = 42;
2143 o.merchantId = "foo"; 2143 o.merchantId = "foo";
2144 o.method = "foo"; 2144 o.method = "foo";
2145 o.productId = "foo"; 2145 o.productId = "foo";
2146 } 2146 }
2147 buildCounterProductstatusesCustomBatchRequestEntry--; 2147 buildCounterProductstatusesCustomBatchRequestEntry--;
2148 return o; 2148 return o;
2149 } 2149 }
2150 2150
2151 checkProductstatusesCustomBatchRequestEntry(api.ProductstatusesCustomBatchReques tEntry o) { 2151 checkProductstatusesCustomBatchRequestEntry(api.ProductstatusesCustomBatchReques tEntry o) {
2152 buildCounterProductstatusesCustomBatchRequestEntry++; 2152 buildCounterProductstatusesCustomBatchRequestEntry++;
2153 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) { 2153 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) {
2154 unittest.expect(o.batchId, unittest.equals(42)); 2154 unittest.expect(o.batchId, unittest.equals(42));
2155 unittest.expect(o.merchantId, unittest.equals('foo')); 2155 unittest.expect(o.merchantId, unittest.equals('foo'));
2156 unittest.expect(o.method, unittest.equals('foo')); 2156 unittest.expect(o.method, unittest.equals('foo'));
2157 unittest.expect(o.productId, unittest.equals('foo')); 2157 unittest.expect(o.productId, unittest.equals('foo'));
2158 } 2158 }
2159 buildCounterProductstatusesCustomBatchRequestEntry--; 2159 buildCounterProductstatusesCustomBatchRequestEntry--;
2160 } 2160 }
2161 2161
2162 buildUnnamed778() { 2162 buildUnnamed335() {
2163 var o = new core.List<api.ProductstatusesCustomBatchResponseEntry>(); 2163 var o = new core.List<api.ProductstatusesCustomBatchResponseEntry>();
2164 o.add(buildProductstatusesCustomBatchResponseEntry()); 2164 o.add(buildProductstatusesCustomBatchResponseEntry());
2165 o.add(buildProductstatusesCustomBatchResponseEntry()); 2165 o.add(buildProductstatusesCustomBatchResponseEntry());
2166 return o; 2166 return o;
2167 } 2167 }
2168 2168
2169 checkUnnamed778(core.List<api.ProductstatusesCustomBatchResponseEntry> o) { 2169 checkUnnamed335(core.List<api.ProductstatusesCustomBatchResponseEntry> o) {
2170 unittest.expect(o, unittest.hasLength(2)); 2170 unittest.expect(o, unittest.hasLength(2));
2171 checkProductstatusesCustomBatchResponseEntry(o[0]); 2171 checkProductstatusesCustomBatchResponseEntry(o[0]);
2172 checkProductstatusesCustomBatchResponseEntry(o[1]); 2172 checkProductstatusesCustomBatchResponseEntry(o[1]);
2173 } 2173 }
2174 2174
2175 core.int buildCounterProductstatusesCustomBatchResponse = 0; 2175 core.int buildCounterProductstatusesCustomBatchResponse = 0;
2176 buildProductstatusesCustomBatchResponse() { 2176 buildProductstatusesCustomBatchResponse() {
2177 var o = new api.ProductstatusesCustomBatchResponse(); 2177 var o = new api.ProductstatusesCustomBatchResponse();
2178 buildCounterProductstatusesCustomBatchResponse++; 2178 buildCounterProductstatusesCustomBatchResponse++;
2179 if (buildCounterProductstatusesCustomBatchResponse < 3) { 2179 if (buildCounterProductstatusesCustomBatchResponse < 3) {
2180 o.entries = buildUnnamed778(); 2180 o.entries = buildUnnamed335();
2181 o.kind = "foo"; 2181 o.kind = "foo";
2182 } 2182 }
2183 buildCounterProductstatusesCustomBatchResponse--; 2183 buildCounterProductstatusesCustomBatchResponse--;
2184 return o; 2184 return o;
2185 } 2185 }
2186 2186
2187 checkProductstatusesCustomBatchResponse(api.ProductstatusesCustomBatchResponse o ) { 2187 checkProductstatusesCustomBatchResponse(api.ProductstatusesCustomBatchResponse o ) {
2188 buildCounterProductstatusesCustomBatchResponse++; 2188 buildCounterProductstatusesCustomBatchResponse++;
2189 if (buildCounterProductstatusesCustomBatchResponse < 3) { 2189 if (buildCounterProductstatusesCustomBatchResponse < 3) {
2190 checkUnnamed778(o.entries); 2190 checkUnnamed335(o.entries);
2191 unittest.expect(o.kind, unittest.equals('foo')); 2191 unittest.expect(o.kind, unittest.equals('foo'));
2192 } 2192 }
2193 buildCounterProductstatusesCustomBatchResponse--; 2193 buildCounterProductstatusesCustomBatchResponse--;
2194 } 2194 }
2195 2195
2196 core.int buildCounterProductstatusesCustomBatchResponseEntry = 0; 2196 core.int buildCounterProductstatusesCustomBatchResponseEntry = 0;
2197 buildProductstatusesCustomBatchResponseEntry() { 2197 buildProductstatusesCustomBatchResponseEntry() {
2198 var o = new api.ProductstatusesCustomBatchResponseEntry(); 2198 var o = new api.ProductstatusesCustomBatchResponseEntry();
2199 buildCounterProductstatusesCustomBatchResponseEntry++; 2199 buildCounterProductstatusesCustomBatchResponseEntry++;
2200 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) { 2200 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) {
(...skipping 10 matching lines...) Expand all
2211 buildCounterProductstatusesCustomBatchResponseEntry++; 2211 buildCounterProductstatusesCustomBatchResponseEntry++;
2212 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) { 2212 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) {
2213 unittest.expect(o.batchId, unittest.equals(42)); 2213 unittest.expect(o.batchId, unittest.equals(42));
2214 checkErrors(o.errors); 2214 checkErrors(o.errors);
2215 unittest.expect(o.kind, unittest.equals('foo')); 2215 unittest.expect(o.kind, unittest.equals('foo'));
2216 checkProductStatus(o.productStatus); 2216 checkProductStatus(o.productStatus);
2217 } 2217 }
2218 buildCounterProductstatusesCustomBatchResponseEntry--; 2218 buildCounterProductstatusesCustomBatchResponseEntry--;
2219 } 2219 }
2220 2220
2221 buildUnnamed779() { 2221 buildUnnamed336() {
2222 var o = new core.List<api.ProductStatus>(); 2222 var o = new core.List<api.ProductStatus>();
2223 o.add(buildProductStatus()); 2223 o.add(buildProductStatus());
2224 o.add(buildProductStatus()); 2224 o.add(buildProductStatus());
2225 return o; 2225 return o;
2226 } 2226 }
2227 2227
2228 checkUnnamed779(core.List<api.ProductStatus> o) { 2228 checkUnnamed336(core.List<api.ProductStatus> o) {
2229 unittest.expect(o, unittest.hasLength(2)); 2229 unittest.expect(o, unittest.hasLength(2));
2230 checkProductStatus(o[0]); 2230 checkProductStatus(o[0]);
2231 checkProductStatus(o[1]); 2231 checkProductStatus(o[1]);
2232 } 2232 }
2233 2233
2234 core.int buildCounterProductstatusesListResponse = 0; 2234 core.int buildCounterProductstatusesListResponse = 0;
2235 buildProductstatusesListResponse() { 2235 buildProductstatusesListResponse() {
2236 var o = new api.ProductstatusesListResponse(); 2236 var o = new api.ProductstatusesListResponse();
2237 buildCounterProductstatusesListResponse++; 2237 buildCounterProductstatusesListResponse++;
2238 if (buildCounterProductstatusesListResponse < 3) { 2238 if (buildCounterProductstatusesListResponse < 3) {
2239 o.kind = "foo"; 2239 o.kind = "foo";
2240 o.nextPageToken = "foo"; 2240 o.nextPageToken = "foo";
2241 o.resources = buildUnnamed779(); 2241 o.resources = buildUnnamed336();
2242 } 2242 }
2243 buildCounterProductstatusesListResponse--; 2243 buildCounterProductstatusesListResponse--;
2244 return o; 2244 return o;
2245 } 2245 }
2246 2246
2247 checkProductstatusesListResponse(api.ProductstatusesListResponse o) { 2247 checkProductstatusesListResponse(api.ProductstatusesListResponse o) {
2248 buildCounterProductstatusesListResponse++; 2248 buildCounterProductstatusesListResponse++;
2249 if (buildCounterProductstatusesListResponse < 3) { 2249 if (buildCounterProductstatusesListResponse < 3) {
2250 unittest.expect(o.kind, unittest.equals('foo')); 2250 unittest.expect(o.kind, unittest.equals('foo'));
2251 unittest.expect(o.nextPageToken, unittest.equals('foo')); 2251 unittest.expect(o.nextPageToken, unittest.equals('foo'));
2252 checkUnnamed779(o.resources); 2252 checkUnnamed336(o.resources);
2253 } 2253 }
2254 buildCounterProductstatusesListResponse--; 2254 buildCounterProductstatusesListResponse--;
2255 } 2255 }
2256 2256
2257 2257
2258 main() { 2258 main() {
2259 unittest.group("obj-schema-Account", () { 2259 unittest.group("obj-schema-Account", () {
2260 unittest.test("to-json--from-json", () { 2260 unittest.test("to-json--from-json", () {
2261 var o = buildAccount(); 2261 var o = buildAccount();
2262 var od = new api.Account.fromJson(o.toJson()); 2262 var od = new api.Account.fromJson(o.toJson());
(...skipping 1982 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) { 4245 res.list(arg_merchantId, maxResults: arg_maxResults, pageToken: arg_pageTo ken).then(unittest.expectAsync(((api.ProductstatusesListResponse response) {
4246 checkProductstatusesListResponse(response); 4246 checkProductstatusesListResponse(response);
4247 }))); 4247 })));
4248 }); 4248 });
4249 4249
4250 }); 4250 });
4251 4251
4252 4252
4253 } 4253 }
4254 4254
OLDNEW
« no previous file with comments | « generated/googleapis/test/compute/v1_test.dart ('k') | generated/googleapis/test/coordinate/v1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698