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