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

Side by Side Diff: generated/googleapis/test/adexchangebuyer/v1_3_test.dart

Issue 1268013003: Api-roll 21: 2015-08-04 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 library googleapis.adexchangebuyer.v1_3.test; 1 library googleapis.adexchangebuyer.v1_3.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;
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 checkAccountBidderLocation(api.AccountBidderLocation o) { 67 checkAccountBidderLocation(api.AccountBidderLocation o) {
68 buildCounterAccountBidderLocation++; 68 buildCounterAccountBidderLocation++;
69 if (buildCounterAccountBidderLocation < 3) { 69 if (buildCounterAccountBidderLocation < 3) {
70 unittest.expect(o.maximumQps, unittest.equals(42)); 70 unittest.expect(o.maximumQps, unittest.equals(42));
71 unittest.expect(o.region, unittest.equals('foo')); 71 unittest.expect(o.region, unittest.equals('foo'));
72 unittest.expect(o.url, unittest.equals('foo')); 72 unittest.expect(o.url, unittest.equals('foo'));
73 } 73 }
74 buildCounterAccountBidderLocation--; 74 buildCounterAccountBidderLocation--;
75 } 75 }
76 76
77 buildUnnamed841() { 77 buildUnnamed0() {
78 var o = new core.List<api.AccountBidderLocation>(); 78 var o = new core.List<api.AccountBidderLocation>();
79 o.add(buildAccountBidderLocation()); 79 o.add(buildAccountBidderLocation());
80 o.add(buildAccountBidderLocation()); 80 o.add(buildAccountBidderLocation());
81 return o; 81 return o;
82 } 82 }
83 83
84 checkUnnamed841(core.List<api.AccountBidderLocation> o) { 84 checkUnnamed0(core.List<api.AccountBidderLocation> o) {
85 unittest.expect(o, unittest.hasLength(2)); 85 unittest.expect(o, unittest.hasLength(2));
86 checkAccountBidderLocation(o[0]); 86 checkAccountBidderLocation(o[0]);
87 checkAccountBidderLocation(o[1]); 87 checkAccountBidderLocation(o[1]);
88 } 88 }
89 89
90 core.int buildCounterAccount = 0; 90 core.int buildCounterAccount = 0;
91 buildAccount() { 91 buildAccount() {
92 var o = new api.Account(); 92 var o = new api.Account();
93 buildCounterAccount++; 93 buildCounterAccount++;
94 if (buildCounterAccount < 3) { 94 if (buildCounterAccount < 3) {
95 o.bidderLocation = buildUnnamed841(); 95 o.bidderLocation = buildUnnamed0();
96 o.cookieMatchingNid = "foo"; 96 o.cookieMatchingNid = "foo";
97 o.cookieMatchingUrl = "foo"; 97 o.cookieMatchingUrl = "foo";
98 o.id = 42; 98 o.id = 42;
99 o.kind = "foo"; 99 o.kind = "foo";
100 o.maximumActiveCreatives = 42; 100 o.maximumActiveCreatives = 42;
101 o.maximumTotalQps = 42; 101 o.maximumTotalQps = 42;
102 o.numberActiveCreatives = 42; 102 o.numberActiveCreatives = 42;
103 } 103 }
104 buildCounterAccount--; 104 buildCounterAccount--;
105 return o; 105 return o;
106 } 106 }
107 107
108 checkAccount(api.Account o) { 108 checkAccount(api.Account o) {
109 buildCounterAccount++; 109 buildCounterAccount++;
110 if (buildCounterAccount < 3) { 110 if (buildCounterAccount < 3) {
111 checkUnnamed841(o.bidderLocation); 111 checkUnnamed0(o.bidderLocation);
112 unittest.expect(o.cookieMatchingNid, unittest.equals('foo')); 112 unittest.expect(o.cookieMatchingNid, unittest.equals('foo'));
113 unittest.expect(o.cookieMatchingUrl, unittest.equals('foo')); 113 unittest.expect(o.cookieMatchingUrl, unittest.equals('foo'));
114 unittest.expect(o.id, unittest.equals(42)); 114 unittest.expect(o.id, unittest.equals(42));
115 unittest.expect(o.kind, unittest.equals('foo')); 115 unittest.expect(o.kind, unittest.equals('foo'));
116 unittest.expect(o.maximumActiveCreatives, unittest.equals(42)); 116 unittest.expect(o.maximumActiveCreatives, unittest.equals(42));
117 unittest.expect(o.maximumTotalQps, unittest.equals(42)); 117 unittest.expect(o.maximumTotalQps, unittest.equals(42));
118 unittest.expect(o.numberActiveCreatives, unittest.equals(42)); 118 unittest.expect(o.numberActiveCreatives, unittest.equals(42));
119 } 119 }
120 buildCounterAccount--; 120 buildCounterAccount--;
121 } 121 }
122 122
123 buildUnnamed842() { 123 buildUnnamed1() {
124 var o = new core.List<api.Account>(); 124 var o = new core.List<api.Account>();
125 o.add(buildAccount()); 125 o.add(buildAccount());
126 o.add(buildAccount()); 126 o.add(buildAccount());
127 return o; 127 return o;
128 } 128 }
129 129
130 checkUnnamed842(core.List<api.Account> o) { 130 checkUnnamed1(core.List<api.Account> o) {
131 unittest.expect(o, unittest.hasLength(2)); 131 unittest.expect(o, unittest.hasLength(2));
132 checkAccount(o[0]); 132 checkAccount(o[0]);
133 checkAccount(o[1]); 133 checkAccount(o[1]);
134 } 134 }
135 135
136 core.int buildCounterAccountsList = 0; 136 core.int buildCounterAccountsList = 0;
137 buildAccountsList() { 137 buildAccountsList() {
138 var o = new api.AccountsList(); 138 var o = new api.AccountsList();
139 buildCounterAccountsList++; 139 buildCounterAccountsList++;
140 if (buildCounterAccountsList < 3) { 140 if (buildCounterAccountsList < 3) {
141 o.items = buildUnnamed842(); 141 o.items = buildUnnamed1();
142 o.kind = "foo"; 142 o.kind = "foo";
143 } 143 }
144 buildCounterAccountsList--; 144 buildCounterAccountsList--;
145 return o; 145 return o;
146 } 146 }
147 147
148 checkAccountsList(api.AccountsList o) { 148 checkAccountsList(api.AccountsList o) {
149 buildCounterAccountsList++; 149 buildCounterAccountsList++;
150 if (buildCounterAccountsList < 3) { 150 if (buildCounterAccountsList < 3) {
151 checkUnnamed842(o.items); 151 checkUnnamed1(o.items);
152 unittest.expect(o.kind, unittest.equals('foo')); 152 unittest.expect(o.kind, unittest.equals('foo'));
153 } 153 }
154 buildCounterAccountsList--; 154 buildCounterAccountsList--;
155 } 155 }
156 156
157 buildUnnamed843() { 157 buildUnnamed2() {
158 var o = new core.List<core.String>(); 158 var o = new core.List<core.String>();
159 o.add("foo"); 159 o.add("foo");
160 o.add("foo"); 160 o.add("foo");
161 return o; 161 return o;
162 } 162 }
163 163
164 checkUnnamed843(core.List<core.String> o) { 164 checkUnnamed2(core.List<core.String> o) {
165 unittest.expect(o, unittest.hasLength(2)); 165 unittest.expect(o, unittest.hasLength(2));
166 unittest.expect(o[0], unittest.equals('foo')); 166 unittest.expect(o[0], unittest.equals('foo'));
167 unittest.expect(o[1], unittest.equals('foo')); 167 unittest.expect(o[1], unittest.equals('foo'));
168 } 168 }
169 169
170 core.int buildCounterBillingInfo = 0; 170 core.int buildCounterBillingInfo = 0;
171 buildBillingInfo() { 171 buildBillingInfo() {
172 var o = new api.BillingInfo(); 172 var o = new api.BillingInfo();
173 buildCounterBillingInfo++; 173 buildCounterBillingInfo++;
174 if (buildCounterBillingInfo < 3) { 174 if (buildCounterBillingInfo < 3) {
175 o.accountId = 42; 175 o.accountId = 42;
176 o.accountName = "foo"; 176 o.accountName = "foo";
177 o.billingId = buildUnnamed843(); 177 o.billingId = buildUnnamed2();
178 o.kind = "foo"; 178 o.kind = "foo";
179 } 179 }
180 buildCounterBillingInfo--; 180 buildCounterBillingInfo--;
181 return o; 181 return o;
182 } 182 }
183 183
184 checkBillingInfo(api.BillingInfo o) { 184 checkBillingInfo(api.BillingInfo o) {
185 buildCounterBillingInfo++; 185 buildCounterBillingInfo++;
186 if (buildCounterBillingInfo < 3) { 186 if (buildCounterBillingInfo < 3) {
187 unittest.expect(o.accountId, unittest.equals(42)); 187 unittest.expect(o.accountId, unittest.equals(42));
188 unittest.expect(o.accountName, unittest.equals('foo')); 188 unittest.expect(o.accountName, unittest.equals('foo'));
189 checkUnnamed843(o.billingId); 189 checkUnnamed2(o.billingId);
190 unittest.expect(o.kind, unittest.equals('foo')); 190 unittest.expect(o.kind, unittest.equals('foo'));
191 } 191 }
192 buildCounterBillingInfo--; 192 buildCounterBillingInfo--;
193 } 193 }
194 194
195 buildUnnamed844() { 195 buildUnnamed3() {
196 var o = new core.List<api.BillingInfo>(); 196 var o = new core.List<api.BillingInfo>();
197 o.add(buildBillingInfo()); 197 o.add(buildBillingInfo());
198 o.add(buildBillingInfo()); 198 o.add(buildBillingInfo());
199 return o; 199 return o;
200 } 200 }
201 201
202 checkUnnamed844(core.List<api.BillingInfo> o) { 202 checkUnnamed3(core.List<api.BillingInfo> o) {
203 unittest.expect(o, unittest.hasLength(2)); 203 unittest.expect(o, unittest.hasLength(2));
204 checkBillingInfo(o[0]); 204 checkBillingInfo(o[0]);
205 checkBillingInfo(o[1]); 205 checkBillingInfo(o[1]);
206 } 206 }
207 207
208 core.int buildCounterBillingInfoList = 0; 208 core.int buildCounterBillingInfoList = 0;
209 buildBillingInfoList() { 209 buildBillingInfoList() {
210 var o = new api.BillingInfoList(); 210 var o = new api.BillingInfoList();
211 buildCounterBillingInfoList++; 211 buildCounterBillingInfoList++;
212 if (buildCounterBillingInfoList < 3) { 212 if (buildCounterBillingInfoList < 3) {
213 o.items = buildUnnamed844(); 213 o.items = buildUnnamed3();
214 o.kind = "foo"; 214 o.kind = "foo";
215 } 215 }
216 buildCounterBillingInfoList--; 216 buildCounterBillingInfoList--;
217 return o; 217 return o;
218 } 218 }
219 219
220 checkBillingInfoList(api.BillingInfoList o) { 220 checkBillingInfoList(api.BillingInfoList o) {
221 buildCounterBillingInfoList++; 221 buildCounterBillingInfoList++;
222 if (buildCounterBillingInfoList < 3) { 222 if (buildCounterBillingInfoList < 3) {
223 checkUnnamed844(o.items); 223 checkUnnamed3(o.items);
224 unittest.expect(o.kind, unittest.equals('foo')); 224 unittest.expect(o.kind, unittest.equals('foo'));
225 } 225 }
226 buildCounterBillingInfoList--; 226 buildCounterBillingInfoList--;
227 } 227 }
228 228
229 core.int buildCounterBudget = 0; 229 core.int buildCounterBudget = 0;
230 buildBudget() { 230 buildBudget() {
231 var o = new api.Budget(); 231 var o = new api.Budget();
232 buildCounterBudget++; 232 buildCounterBudget++;
233 if (buildCounterBudget < 3) { 233 if (buildCounterBudget < 3) {
(...skipping 14 matching lines...) Expand all
248 unittest.expect(o.accountId, unittest.equals('foo')); 248 unittest.expect(o.accountId, unittest.equals('foo'));
249 unittest.expect(o.billingId, unittest.equals('foo')); 249 unittest.expect(o.billingId, unittest.equals('foo'));
250 unittest.expect(o.budgetAmount, unittest.equals('foo')); 250 unittest.expect(o.budgetAmount, unittest.equals('foo'));
251 unittest.expect(o.currencyCode, unittest.equals('foo')); 251 unittest.expect(o.currencyCode, unittest.equals('foo'));
252 unittest.expect(o.id, unittest.equals('foo')); 252 unittest.expect(o.id, unittest.equals('foo'));
253 unittest.expect(o.kind, unittest.equals('foo')); 253 unittest.expect(o.kind, unittest.equals('foo'));
254 } 254 }
255 buildCounterBudget--; 255 buildCounterBudget--;
256 } 256 }
257 257
258 buildUnnamed845() { 258 buildUnnamed4() {
259 var o = new core.List<core.String>(); 259 var o = new core.List<core.String>();
260 o.add("foo"); 260 o.add("foo");
261 o.add("foo"); 261 o.add("foo");
262 return o; 262 return o;
263 } 263 }
264 264
265 checkUnnamed845(core.List<core.String> o) { 265 checkUnnamed4(core.List<core.String> o) {
266 unittest.expect(o, unittest.hasLength(2)); 266 unittest.expect(o, unittest.hasLength(2));
267 unittest.expect(o[0], unittest.equals('foo')); 267 unittest.expect(o[0], unittest.equals('foo'));
268 unittest.expect(o[1], unittest.equals('foo')); 268 unittest.expect(o[1], unittest.equals('foo'));
269 } 269 }
270 270
271 buildUnnamed846() { 271 buildUnnamed5() {
272 var o = new core.List<core.int>(); 272 var o = new core.List<core.int>();
273 o.add(42); 273 o.add(42);
274 o.add(42); 274 o.add(42);
275 return o; 275 return o;
276 } 276 }
277 277
278 checkUnnamed846(core.List<core.int> o) { 278 checkUnnamed5(core.List<core.int> o) {
279 unittest.expect(o, unittest.hasLength(2)); 279 unittest.expect(o, unittest.hasLength(2));
280 unittest.expect(o[0], unittest.equals(42)); 280 unittest.expect(o[0], unittest.equals(42));
281 unittest.expect(o[1], unittest.equals(42)); 281 unittest.expect(o[1], unittest.equals(42));
282 } 282 }
283 283
284 buildUnnamed847() { 284 buildUnnamed6() {
285 var o = new core.List<core.String>(); 285 var o = new core.List<core.String>();
286 o.add("foo"); 286 o.add("foo");
287 o.add("foo"); 287 o.add("foo");
288 return o; 288 return o;
289 } 289 }
290 290
291 checkUnnamed847(core.List<core.String> o) { 291 checkUnnamed6(core.List<core.String> o) {
292 unittest.expect(o, unittest.hasLength(2)); 292 unittest.expect(o, unittest.hasLength(2));
293 unittest.expect(o[0], unittest.equals('foo')); 293 unittest.expect(o[0], unittest.equals('foo'));
294 unittest.expect(o[1], unittest.equals('foo')); 294 unittest.expect(o[1], unittest.equals('foo'));
295 } 295 }
296 296
297 buildUnnamed848() { 297 buildUnnamed7() {
298 var o = new core.List<core.String>(); 298 var o = new core.List<core.String>();
299 o.add("foo"); 299 o.add("foo");
300 o.add("foo"); 300 o.add("foo");
301 return o; 301 return o;
302 } 302 }
303 303
304 checkUnnamed848(core.List<core.String> o) { 304 checkUnnamed7(core.List<core.String> o) {
305 unittest.expect(o, unittest.hasLength(2)); 305 unittest.expect(o, unittest.hasLength(2));
306 unittest.expect(o[0], unittest.equals('foo')); 306 unittest.expect(o[0], unittest.equals('foo'));
307 unittest.expect(o[1], unittest.equals('foo')); 307 unittest.expect(o[1], unittest.equals('foo'));
308 } 308 }
309 309
310 core.int buildCounterCreativeCorrections = 0; 310 core.int buildCounterCreativeCorrections = 0;
311 buildCreativeCorrections() { 311 buildCreativeCorrections() {
312 var o = new api.CreativeCorrections(); 312 var o = new api.CreativeCorrections();
313 buildCounterCreativeCorrections++; 313 buildCounterCreativeCorrections++;
314 if (buildCounterCreativeCorrections < 3) { 314 if (buildCounterCreativeCorrections < 3) {
315 o.details = buildUnnamed848(); 315 o.details = buildUnnamed7();
316 o.reason = "foo"; 316 o.reason = "foo";
317 } 317 }
318 buildCounterCreativeCorrections--; 318 buildCounterCreativeCorrections--;
319 return o; 319 return o;
320 } 320 }
321 321
322 checkCreativeCorrections(api.CreativeCorrections o) { 322 checkCreativeCorrections(api.CreativeCorrections o) {
323 buildCounterCreativeCorrections++; 323 buildCounterCreativeCorrections++;
324 if (buildCounterCreativeCorrections < 3) { 324 if (buildCounterCreativeCorrections < 3) {
325 checkUnnamed848(o.details); 325 checkUnnamed7(o.details);
326 unittest.expect(o.reason, unittest.equals('foo')); 326 unittest.expect(o.reason, unittest.equals('foo'));
327 } 327 }
328 buildCounterCreativeCorrections--; 328 buildCounterCreativeCorrections--;
329 } 329 }
330 330
331 buildUnnamed849() { 331 buildUnnamed8() {
332 var o = new core.List<api.CreativeCorrections>(); 332 var o = new core.List<api.CreativeCorrections>();
333 o.add(buildCreativeCorrections()); 333 o.add(buildCreativeCorrections());
334 o.add(buildCreativeCorrections()); 334 o.add(buildCreativeCorrections());
335 return o; 335 return o;
336 } 336 }
337 337
338 checkUnnamed849(core.List<api.CreativeCorrections> o) { 338 checkUnnamed8(core.List<api.CreativeCorrections> o) {
339 unittest.expect(o, unittest.hasLength(2)); 339 unittest.expect(o, unittest.hasLength(2));
340 checkCreativeCorrections(o[0]); 340 checkCreativeCorrections(o[0]);
341 checkCreativeCorrections(o[1]); 341 checkCreativeCorrections(o[1]);
342 } 342 }
343 343
344 buildUnnamed850() { 344 buildUnnamed9() {
345 var o = new core.List<core.String>(); 345 var o = new core.List<core.String>();
346 o.add("foo"); 346 o.add("foo");
347 o.add("foo"); 347 o.add("foo");
348 return o; 348 return o;
349 } 349 }
350 350
351 checkUnnamed850(core.List<core.String> o) { 351 checkUnnamed9(core.List<core.String> o) {
352 unittest.expect(o, unittest.hasLength(2)); 352 unittest.expect(o, unittest.hasLength(2));
353 unittest.expect(o[0], unittest.equals('foo')); 353 unittest.expect(o[0], unittest.equals('foo'));
354 unittest.expect(o[1], unittest.equals('foo')); 354 unittest.expect(o[1], unittest.equals('foo'));
355 } 355 }
356 356
357 core.int buildCounterCreativeDisapprovalReasons = 0; 357 core.int buildCounterCreativeDisapprovalReasons = 0;
358 buildCreativeDisapprovalReasons() { 358 buildCreativeDisapprovalReasons() {
359 var o = new api.CreativeDisapprovalReasons(); 359 var o = new api.CreativeDisapprovalReasons();
360 buildCounterCreativeDisapprovalReasons++; 360 buildCounterCreativeDisapprovalReasons++;
361 if (buildCounterCreativeDisapprovalReasons < 3) { 361 if (buildCounterCreativeDisapprovalReasons < 3) {
362 o.details = buildUnnamed850(); 362 o.details = buildUnnamed9();
363 o.reason = "foo"; 363 o.reason = "foo";
364 } 364 }
365 buildCounterCreativeDisapprovalReasons--; 365 buildCounterCreativeDisapprovalReasons--;
366 return o; 366 return o;
367 } 367 }
368 368
369 checkCreativeDisapprovalReasons(api.CreativeDisapprovalReasons o) { 369 checkCreativeDisapprovalReasons(api.CreativeDisapprovalReasons o) {
370 buildCounterCreativeDisapprovalReasons++; 370 buildCounterCreativeDisapprovalReasons++;
371 if (buildCounterCreativeDisapprovalReasons < 3) { 371 if (buildCounterCreativeDisapprovalReasons < 3) {
372 checkUnnamed850(o.details); 372 checkUnnamed9(o.details);
373 unittest.expect(o.reason, unittest.equals('foo')); 373 unittest.expect(o.reason, unittest.equals('foo'));
374 } 374 }
375 buildCounterCreativeDisapprovalReasons--; 375 buildCounterCreativeDisapprovalReasons--;
376 } 376 }
377 377
378 buildUnnamed851() { 378 buildUnnamed10() {
379 var o = new core.List<api.CreativeDisapprovalReasons>(); 379 var o = new core.List<api.CreativeDisapprovalReasons>();
380 o.add(buildCreativeDisapprovalReasons()); 380 o.add(buildCreativeDisapprovalReasons());
381 o.add(buildCreativeDisapprovalReasons()); 381 o.add(buildCreativeDisapprovalReasons());
382 return o; 382 return o;
383 } 383 }
384 384
385 checkUnnamed851(core.List<api.CreativeDisapprovalReasons> o) { 385 checkUnnamed10(core.List<api.CreativeDisapprovalReasons> o) {
386 unittest.expect(o, unittest.hasLength(2)); 386 unittest.expect(o, unittest.hasLength(2));
387 checkCreativeDisapprovalReasons(o[0]); 387 checkCreativeDisapprovalReasons(o[0]);
388 checkCreativeDisapprovalReasons(o[1]); 388 checkCreativeDisapprovalReasons(o[1]);
389 } 389 }
390 390
391 core.int buildCounterCreativeFilteringReasonsReasons = 0; 391 core.int buildCounterCreativeFilteringReasonsReasons = 0;
392 buildCreativeFilteringReasonsReasons() { 392 buildCreativeFilteringReasonsReasons() {
393 var o = new api.CreativeFilteringReasonsReasons(); 393 var o = new api.CreativeFilteringReasonsReasons();
394 buildCounterCreativeFilteringReasonsReasons++; 394 buildCounterCreativeFilteringReasonsReasons++;
395 if (buildCounterCreativeFilteringReasonsReasons < 3) { 395 if (buildCounterCreativeFilteringReasonsReasons < 3) {
396 o.filteringCount = "foo"; 396 o.filteringCount = "foo";
397 o.filteringStatus = 42; 397 o.filteringStatus = 42;
398 } 398 }
399 buildCounterCreativeFilteringReasonsReasons--; 399 buildCounterCreativeFilteringReasonsReasons--;
400 return o; 400 return o;
401 } 401 }
402 402
403 checkCreativeFilteringReasonsReasons(api.CreativeFilteringReasonsReasons o) { 403 checkCreativeFilteringReasonsReasons(api.CreativeFilteringReasonsReasons o) {
404 buildCounterCreativeFilteringReasonsReasons++; 404 buildCounterCreativeFilteringReasonsReasons++;
405 if (buildCounterCreativeFilteringReasonsReasons < 3) { 405 if (buildCounterCreativeFilteringReasonsReasons < 3) {
406 unittest.expect(o.filteringCount, unittest.equals('foo')); 406 unittest.expect(o.filteringCount, unittest.equals('foo'));
407 unittest.expect(o.filteringStatus, unittest.equals(42)); 407 unittest.expect(o.filteringStatus, unittest.equals(42));
408 } 408 }
409 buildCounterCreativeFilteringReasonsReasons--; 409 buildCounterCreativeFilteringReasonsReasons--;
410 } 410 }
411 411
412 buildUnnamed852() { 412 buildUnnamed11() {
413 var o = new core.List<api.CreativeFilteringReasonsReasons>(); 413 var o = new core.List<api.CreativeFilteringReasonsReasons>();
414 o.add(buildCreativeFilteringReasonsReasons()); 414 o.add(buildCreativeFilteringReasonsReasons());
415 o.add(buildCreativeFilteringReasonsReasons()); 415 o.add(buildCreativeFilteringReasonsReasons());
416 return o; 416 return o;
417 } 417 }
418 418
419 checkUnnamed852(core.List<api.CreativeFilteringReasonsReasons> o) { 419 checkUnnamed11(core.List<api.CreativeFilteringReasonsReasons> o) {
420 unittest.expect(o, unittest.hasLength(2)); 420 unittest.expect(o, unittest.hasLength(2));
421 checkCreativeFilteringReasonsReasons(o[0]); 421 checkCreativeFilteringReasonsReasons(o[0]);
422 checkCreativeFilteringReasonsReasons(o[1]); 422 checkCreativeFilteringReasonsReasons(o[1]);
423 } 423 }
424 424
425 core.int buildCounterCreativeFilteringReasons = 0; 425 core.int buildCounterCreativeFilteringReasons = 0;
426 buildCreativeFilteringReasons() { 426 buildCreativeFilteringReasons() {
427 var o = new api.CreativeFilteringReasons(); 427 var o = new api.CreativeFilteringReasons();
428 buildCounterCreativeFilteringReasons++; 428 buildCounterCreativeFilteringReasons++;
429 if (buildCounterCreativeFilteringReasons < 3) { 429 if (buildCounterCreativeFilteringReasons < 3) {
430 o.date = "foo"; 430 o.date = "foo";
431 o.reasons = buildUnnamed852(); 431 o.reasons = buildUnnamed11();
432 } 432 }
433 buildCounterCreativeFilteringReasons--; 433 buildCounterCreativeFilteringReasons--;
434 return o; 434 return o;
435 } 435 }
436 436
437 checkCreativeFilteringReasons(api.CreativeFilteringReasons o) { 437 checkCreativeFilteringReasons(api.CreativeFilteringReasons o) {
438 buildCounterCreativeFilteringReasons++; 438 buildCounterCreativeFilteringReasons++;
439 if (buildCounterCreativeFilteringReasons < 3) { 439 if (buildCounterCreativeFilteringReasons < 3) {
440 unittest.expect(o.date, unittest.equals('foo')); 440 unittest.expect(o.date, unittest.equals('foo'));
441 checkUnnamed852(o.reasons); 441 checkUnnamed11(o.reasons);
442 } 442 }
443 buildCounterCreativeFilteringReasons--; 443 buildCounterCreativeFilteringReasons--;
444 } 444 }
445 445
446 buildUnnamed853() { 446 buildUnnamed12() {
447 var o = new core.List<core.int>(); 447 var o = new core.List<core.int>();
448 o.add(42); 448 o.add(42);
449 o.add(42); 449 o.add(42);
450 return o; 450 return o;
451 } 451 }
452 452
453 checkUnnamed853(core.List<core.int> o) { 453 checkUnnamed12(core.List<core.int> o) {
454 unittest.expect(o, unittest.hasLength(2)); 454 unittest.expect(o, unittest.hasLength(2));
455 unittest.expect(o[0], unittest.equals(42)); 455 unittest.expect(o[0], unittest.equals(42));
456 unittest.expect(o[1], unittest.equals(42)); 456 unittest.expect(o[1], unittest.equals(42));
457 } 457 }
458 458
459 buildUnnamed854() { 459 buildUnnamed13() {
460 var o = new core.List<core.int>(); 460 var o = new core.List<core.int>();
461 o.add(42); 461 o.add(42);
462 o.add(42); 462 o.add(42);
463 return o; 463 return o;
464 } 464 }
465 465
466 checkUnnamed854(core.List<core.int> o) { 466 checkUnnamed13(core.List<core.int> o) {
467 unittest.expect(o, unittest.hasLength(2)); 467 unittest.expect(o, unittest.hasLength(2));
468 unittest.expect(o[0], unittest.equals(42)); 468 unittest.expect(o[0], unittest.equals(42));
469 unittest.expect(o[1], unittest.equals(42)); 469 unittest.expect(o[1], unittest.equals(42));
470 } 470 }
471 471
472 buildUnnamed855() { 472 buildUnnamed14() {
473 var o = new core.List<core.int>(); 473 var o = new core.List<core.int>();
474 o.add(42); 474 o.add(42);
475 o.add(42); 475 o.add(42);
476 return o; 476 return o;
477 } 477 }
478 478
479 checkUnnamed855(core.List<core.int> o) { 479 checkUnnamed14(core.List<core.int> o) {
480 unittest.expect(o, unittest.hasLength(2)); 480 unittest.expect(o, unittest.hasLength(2));
481 unittest.expect(o[0], unittest.equals(42)); 481 unittest.expect(o[0], unittest.equals(42));
482 unittest.expect(o[1], unittest.equals(42)); 482 unittest.expect(o[1], unittest.equals(42));
483 } 483 }
484 484
485 buildUnnamed856() { 485 buildUnnamed15() {
486 var o = new core.List<core.int>(); 486 var o = new core.List<core.int>();
487 o.add(42); 487 o.add(42);
488 o.add(42); 488 o.add(42);
489 return o; 489 return o;
490 } 490 }
491 491
492 checkUnnamed856(core.List<core.int> o) { 492 checkUnnamed15(core.List<core.int> o) {
493 unittest.expect(o, unittest.hasLength(2)); 493 unittest.expect(o, unittest.hasLength(2));
494 unittest.expect(o[0], unittest.equals(42)); 494 unittest.expect(o[0], unittest.equals(42));
495 unittest.expect(o[1], unittest.equals(42)); 495 unittest.expect(o[1], unittest.equals(42));
496 } 496 }
497 497
498 core.int buildCounterCreative = 0; 498 core.int buildCounterCreative = 0;
499 buildCreative() { 499 buildCreative() {
500 var o = new api.Creative(); 500 var o = new api.Creative();
501 buildCounterCreative++; 501 buildCounterCreative++;
502 if (buildCounterCreative < 3) { 502 if (buildCounterCreative < 3) {
503 o.HTMLSnippet = "foo"; 503 o.HTMLSnippet = "foo";
504 o.accountId = 42; 504 o.accountId = 42;
505 o.advertiserId = buildUnnamed845(); 505 o.advertiserId = buildUnnamed4();
506 o.advertiserName = "foo"; 506 o.advertiserName = "foo";
507 o.agencyId = "foo"; 507 o.agencyId = "foo";
508 o.attribute = buildUnnamed846(); 508 o.attribute = buildUnnamed5();
509 o.buyerCreativeId = "foo"; 509 o.buyerCreativeId = "foo";
510 o.clickThroughUrl = buildUnnamed847(); 510 o.clickThroughUrl = buildUnnamed6();
511 o.corrections = buildUnnamed849(); 511 o.corrections = buildUnnamed8();
512 o.disapprovalReasons = buildUnnamed851(); 512 o.disapprovalReasons = buildUnnamed10();
513 o.filteringReasons = buildCreativeFilteringReasons(); 513 o.filteringReasons = buildCreativeFilteringReasons();
514 o.height = 42; 514 o.height = 42;
515 o.kind = "foo"; 515 o.kind = "foo";
516 o.productCategories = buildUnnamed853(); 516 o.productCategories = buildUnnamed12();
517 o.restrictedCategories = buildUnnamed854(); 517 o.restrictedCategories = buildUnnamed13();
518 o.sensitiveCategories = buildUnnamed855(); 518 o.sensitiveCategories = buildUnnamed14();
519 o.status = "foo"; 519 o.status = "foo";
520 o.vendorType = buildUnnamed856(); 520 o.vendorType = buildUnnamed15();
521 o.videoURL = "foo"; 521 o.videoURL = "foo";
522 o.width = 42; 522 o.width = 42;
523 } 523 }
524 buildCounterCreative--; 524 buildCounterCreative--;
525 return o; 525 return o;
526 } 526 }
527 527
528 checkCreative(api.Creative o) { 528 checkCreative(api.Creative o) {
529 buildCounterCreative++; 529 buildCounterCreative++;
530 if (buildCounterCreative < 3) { 530 if (buildCounterCreative < 3) {
531 unittest.expect(o.HTMLSnippet, unittest.equals('foo')); 531 unittest.expect(o.HTMLSnippet, unittest.equals('foo'));
532 unittest.expect(o.accountId, unittest.equals(42)); 532 unittest.expect(o.accountId, unittest.equals(42));
533 checkUnnamed845(o.advertiserId); 533 checkUnnamed4(o.advertiserId);
534 unittest.expect(o.advertiserName, unittest.equals('foo')); 534 unittest.expect(o.advertiserName, unittest.equals('foo'));
535 unittest.expect(o.agencyId, unittest.equals('foo')); 535 unittest.expect(o.agencyId, unittest.equals('foo'));
536 checkUnnamed846(o.attribute); 536 checkUnnamed5(o.attribute);
537 unittest.expect(o.buyerCreativeId, unittest.equals('foo')); 537 unittest.expect(o.buyerCreativeId, unittest.equals('foo'));
538 checkUnnamed847(o.clickThroughUrl); 538 checkUnnamed6(o.clickThroughUrl);
539 checkUnnamed849(o.corrections); 539 checkUnnamed8(o.corrections);
540 checkUnnamed851(o.disapprovalReasons); 540 checkUnnamed10(o.disapprovalReasons);
541 checkCreativeFilteringReasons(o.filteringReasons); 541 checkCreativeFilteringReasons(o.filteringReasons);
542 unittest.expect(o.height, unittest.equals(42)); 542 unittest.expect(o.height, unittest.equals(42));
543 unittest.expect(o.kind, unittest.equals('foo')); 543 unittest.expect(o.kind, unittest.equals('foo'));
544 checkUnnamed853(o.productCategories); 544 checkUnnamed12(o.productCategories);
545 checkUnnamed854(o.restrictedCategories); 545 checkUnnamed13(o.restrictedCategories);
546 checkUnnamed855(o.sensitiveCategories); 546 checkUnnamed14(o.sensitiveCategories);
547 unittest.expect(o.status, unittest.equals('foo')); 547 unittest.expect(o.status, unittest.equals('foo'));
548 checkUnnamed856(o.vendorType); 548 checkUnnamed15(o.vendorType);
549 unittest.expect(o.videoURL, unittest.equals('foo')); 549 unittest.expect(o.videoURL, unittest.equals('foo'));
550 unittest.expect(o.width, unittest.equals(42)); 550 unittest.expect(o.width, unittest.equals(42));
551 } 551 }
552 buildCounterCreative--; 552 buildCounterCreative--;
553 } 553 }
554 554
555 buildUnnamed857() { 555 buildUnnamed16() {
556 var o = new core.List<api.Creative>(); 556 var o = new core.List<api.Creative>();
557 o.add(buildCreative()); 557 o.add(buildCreative());
558 o.add(buildCreative()); 558 o.add(buildCreative());
559 return o; 559 return o;
560 } 560 }
561 561
562 checkUnnamed857(core.List<api.Creative> o) { 562 checkUnnamed16(core.List<api.Creative> o) {
563 unittest.expect(o, unittest.hasLength(2)); 563 unittest.expect(o, unittest.hasLength(2));
564 checkCreative(o[0]); 564 checkCreative(o[0]);
565 checkCreative(o[1]); 565 checkCreative(o[1]);
566 } 566 }
567 567
568 core.int buildCounterCreativesList = 0; 568 core.int buildCounterCreativesList = 0;
569 buildCreativesList() { 569 buildCreativesList() {
570 var o = new api.CreativesList(); 570 var o = new api.CreativesList();
571 buildCounterCreativesList++; 571 buildCounterCreativesList++;
572 if (buildCounterCreativesList < 3) { 572 if (buildCounterCreativesList < 3) {
573 o.items = buildUnnamed857(); 573 o.items = buildUnnamed16();
574 o.kind = "foo"; 574 o.kind = "foo";
575 o.nextPageToken = "foo"; 575 o.nextPageToken = "foo";
576 } 576 }
577 buildCounterCreativesList--; 577 buildCounterCreativesList--;
578 return o; 578 return o;
579 } 579 }
580 580
581 checkCreativesList(api.CreativesList o) { 581 checkCreativesList(api.CreativesList o) {
582 buildCounterCreativesList++; 582 buildCounterCreativesList++;
583 if (buildCounterCreativesList < 3) { 583 if (buildCounterCreativesList < 3) {
584 checkUnnamed857(o.items); 584 checkUnnamed16(o.items);
585 unittest.expect(o.kind, unittest.equals('foo')); 585 unittest.expect(o.kind, unittest.equals('foo'));
586 unittest.expect(o.nextPageToken, unittest.equals('foo')); 586 unittest.expect(o.nextPageToken, unittest.equals('foo'));
587 } 587 }
588 buildCounterCreativesList--; 588 buildCounterCreativesList--;
589 } 589 }
590 590
591 core.int buildCounterDirectDeal = 0; 591 core.int buildCounterDirectDeal = 0;
592 buildDirectDeal() { 592 buildDirectDeal() {
593 var o = new api.DirectDeal(); 593 var o = new api.DirectDeal();
594 buildCounterDirectDeal++; 594 buildCounterDirectDeal++;
(...skipping 27 matching lines...) Expand all
622 unittest.expect(o.kind, unittest.equals('foo')); 622 unittest.expect(o.kind, unittest.equals('foo'));
623 unittest.expect(o.name, unittest.equals('foo')); 623 unittest.expect(o.name, unittest.equals('foo'));
624 unittest.expect(o.privateExchangeMinCpm, unittest.equals('foo')); 624 unittest.expect(o.privateExchangeMinCpm, unittest.equals('foo'));
625 unittest.expect(o.publisherBlocksOverriden, unittest.isTrue); 625 unittest.expect(o.publisherBlocksOverriden, unittest.isTrue);
626 unittest.expect(o.sellerNetwork, unittest.equals('foo')); 626 unittest.expect(o.sellerNetwork, unittest.equals('foo'));
627 unittest.expect(o.startTime, unittest.equals('foo')); 627 unittest.expect(o.startTime, unittest.equals('foo'));
628 } 628 }
629 buildCounterDirectDeal--; 629 buildCounterDirectDeal--;
630 } 630 }
631 631
632 buildUnnamed858() { 632 buildUnnamed17() {
633 var o = new core.List<api.DirectDeal>(); 633 var o = new core.List<api.DirectDeal>();
634 o.add(buildDirectDeal()); 634 o.add(buildDirectDeal());
635 o.add(buildDirectDeal()); 635 o.add(buildDirectDeal());
636 return o; 636 return o;
637 } 637 }
638 638
639 checkUnnamed858(core.List<api.DirectDeal> o) { 639 checkUnnamed17(core.List<api.DirectDeal> o) {
640 unittest.expect(o, unittest.hasLength(2)); 640 unittest.expect(o, unittest.hasLength(2));
641 checkDirectDeal(o[0]); 641 checkDirectDeal(o[0]);
642 checkDirectDeal(o[1]); 642 checkDirectDeal(o[1]);
643 } 643 }
644 644
645 core.int buildCounterDirectDealsList = 0; 645 core.int buildCounterDirectDealsList = 0;
646 buildDirectDealsList() { 646 buildDirectDealsList() {
647 var o = new api.DirectDealsList(); 647 var o = new api.DirectDealsList();
648 buildCounterDirectDealsList++; 648 buildCounterDirectDealsList++;
649 if (buildCounterDirectDealsList < 3) { 649 if (buildCounterDirectDealsList < 3) {
650 o.directDeals = buildUnnamed858(); 650 o.directDeals = buildUnnamed17();
651 o.kind = "foo"; 651 o.kind = "foo";
652 } 652 }
653 buildCounterDirectDealsList--; 653 buildCounterDirectDealsList--;
654 return o; 654 return o;
655 } 655 }
656 656
657 checkDirectDealsList(api.DirectDealsList o) { 657 checkDirectDealsList(api.DirectDealsList o) {
658 buildCounterDirectDealsList++; 658 buildCounterDirectDealsList++;
659 if (buildCounterDirectDealsList < 3) { 659 if (buildCounterDirectDealsList < 3) {
660 checkUnnamed858(o.directDeals); 660 checkUnnamed17(o.directDeals);
661 unittest.expect(o.kind, unittest.equals('foo')); 661 unittest.expect(o.kind, unittest.equals('foo'));
662 } 662 }
663 buildCounterDirectDealsList--; 663 buildCounterDirectDealsList--;
664 } 664 }
665 665
666 buildUnnamed859() { 666 buildUnnamed18() {
667 var o = new core.List<core.Object>(); 667 var o = new core.List<core.Object>();
668 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 668 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
669 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 669 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
670 return o; 670 return o;
671 } 671 }
672 672
673 checkUnnamed859(core.List<core.Object> o) { 673 checkUnnamed18(core.List<core.Object> o) {
674 unittest.expect(o, unittest.hasLength(2)); 674 unittest.expect(o, unittest.hasLength(2));
675 var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength( 3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expe ct(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], u nittest.equals('foo')); 675 var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength( 3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expe ct(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], u nittest.equals('foo'));
676 var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength( 3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expe ct(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], u nittest.equals('foo')); 676 var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength( 3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expe ct(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], u nittest.equals('foo'));
677 } 677 }
678 678
679 buildUnnamed860() { 679 buildUnnamed19() {
680 var o = new core.List<core.Object>(); 680 var o = new core.List<core.Object>();
681 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 681 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
682 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 682 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
683 return o; 683 return o;
684 } 684 }
685 685
686 checkUnnamed860(core.List<core.Object> o) { 686 checkUnnamed19(core.List<core.Object> o) {
687 unittest.expect(o, unittest.hasLength(2)); 687 unittest.expect(o, unittest.hasLength(2));
688 var casted3 = (o[0]) as core.Map; unittest.expect(casted3, unittest.hasLength( 3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.expe ct(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"], u nittest.equals('foo')); 688 var casted3 = (o[0]) as core.Map; unittest.expect(casted3, unittest.hasLength( 3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.expe ct(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"], u nittest.equals('foo'));
689 var casted4 = (o[1]) as core.Map; unittest.expect(casted4, unittest.hasLength( 3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.expe ct(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], u nittest.equals('foo')); 689 var casted4 = (o[1]) as core.Map; unittest.expect(casted4, unittest.hasLength( 3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.expe ct(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], u nittest.equals('foo'));
690 } 690 }
691 691
692 buildUnnamed861() { 692 buildUnnamed20() {
693 var o = new core.List<core.Object>(); 693 var o = new core.List<core.Object>();
694 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 694 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
695 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 695 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
696 return o; 696 return o;
697 } 697 }
698 698
699 checkUnnamed861(core.List<core.Object> o) { 699 checkUnnamed20(core.List<core.Object> o) {
700 unittest.expect(o, unittest.hasLength(2)); 700 unittest.expect(o, unittest.hasLength(2));
701 var casted5 = (o[0]) as core.Map; unittest.expect(casted5, unittest.hasLength( 3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.expe ct(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"], u nittest.equals('foo')); 701 var casted5 = (o[0]) as core.Map; unittest.expect(casted5, unittest.hasLength( 3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.expe ct(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"], u nittest.equals('foo'));
702 var casted6 = (o[1]) as core.Map; unittest.expect(casted6, unittest.hasLength( 3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.expe ct(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"], u nittest.equals('foo')); 702 var casted6 = (o[1]) as core.Map; unittest.expect(casted6, unittest.hasLength( 3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.expe ct(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"], u nittest.equals('foo'));
703 } 703 }
704 704
705 buildUnnamed862() { 705 buildUnnamed21() {
706 var o = new core.List<core.Object>(); 706 var o = new core.List<core.Object>();
707 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 707 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
708 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 708 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
709 return o; 709 return o;
710 } 710 }
711 711
712 checkUnnamed862(core.List<core.Object> o) { 712 checkUnnamed21(core.List<core.Object> o) {
713 unittest.expect(o, unittest.hasLength(2)); 713 unittest.expect(o, unittest.hasLength(2));
714 var casted7 = (o[0]) as core.Map; unittest.expect(casted7, unittest.hasLength( 3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest.expe ct(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string"], u nittest.equals('foo')); 714 var casted7 = (o[0]) as core.Map; unittest.expect(casted7, unittest.hasLength( 3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest.expe ct(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string"], u nittest.equals('foo'));
715 var casted8 = (o[1]) as core.Map; unittest.expect(casted8, unittest.hasLength( 3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.expe ct(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"], u nittest.equals('foo')); 715 var casted8 = (o[1]) as core.Map; unittest.expect(casted8, unittest.hasLength( 3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.expe ct(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"], u nittest.equals('foo'));
716 } 716 }
717 717
718 core.int buildCounterPerformanceReport = 0; 718 core.int buildCounterPerformanceReport = 0;
719 buildPerformanceReport() { 719 buildPerformanceReport() {
720 var o = new api.PerformanceReport(); 720 var o = new api.PerformanceReport();
721 buildCounterPerformanceReport++; 721 buildCounterPerformanceReport++;
722 if (buildCounterPerformanceReport < 3) { 722 if (buildCounterPerformanceReport < 3) {
723 o.bidRate = 42.0; 723 o.bidRate = 42.0;
724 o.bidRequestRate = 42.0; 724 o.bidRequestRate = 42.0;
725 o.calloutStatusRate = buildUnnamed859(); 725 o.calloutStatusRate = buildUnnamed18();
726 o.cookieMatcherStatusRate = buildUnnamed860(); 726 o.cookieMatcherStatusRate = buildUnnamed19();
727 o.creativeStatusRate = buildUnnamed861(); 727 o.creativeStatusRate = buildUnnamed20();
728 o.filteredBidRate = 42.0; 728 o.filteredBidRate = 42.0;
729 o.hostedMatchStatusRate = buildUnnamed862(); 729 o.hostedMatchStatusRate = buildUnnamed21();
730 o.inventoryMatchRate = 42.0; 730 o.inventoryMatchRate = 42.0;
731 o.kind = "foo"; 731 o.kind = "foo";
732 o.latency50thPercentile = 42.0; 732 o.latency50thPercentile = 42.0;
733 o.latency85thPercentile = 42.0; 733 o.latency85thPercentile = 42.0;
734 o.latency95thPercentile = 42.0; 734 o.latency95thPercentile = 42.0;
735 o.noQuotaInRegion = 42.0; 735 o.noQuotaInRegion = 42.0;
736 o.outOfQuota = 42.0; 736 o.outOfQuota = 42.0;
737 o.pixelMatchRequests = 42.0; 737 o.pixelMatchRequests = 42.0;
738 o.pixelMatchResponses = 42.0; 738 o.pixelMatchResponses = 42.0;
739 o.quotaConfiguredLimit = 42.0; 739 o.quotaConfiguredLimit = 42.0;
740 o.quotaThrottledLimit = 42.0; 740 o.quotaThrottledLimit = 42.0;
741 o.region = "foo"; 741 o.region = "foo";
742 o.successfulRequestRate = 42.0; 742 o.successfulRequestRate = 42.0;
743 o.timestamp = "foo"; 743 o.timestamp = "foo";
744 o.unsuccessfulRequestRate = 42.0; 744 o.unsuccessfulRequestRate = 42.0;
745 } 745 }
746 buildCounterPerformanceReport--; 746 buildCounterPerformanceReport--;
747 return o; 747 return o;
748 } 748 }
749 749
750 checkPerformanceReport(api.PerformanceReport o) { 750 checkPerformanceReport(api.PerformanceReport o) {
751 buildCounterPerformanceReport++; 751 buildCounterPerformanceReport++;
752 if (buildCounterPerformanceReport < 3) { 752 if (buildCounterPerformanceReport < 3) {
753 unittest.expect(o.bidRate, unittest.equals(42.0)); 753 unittest.expect(o.bidRate, unittest.equals(42.0));
754 unittest.expect(o.bidRequestRate, unittest.equals(42.0)); 754 unittest.expect(o.bidRequestRate, unittest.equals(42.0));
755 checkUnnamed859(o.calloutStatusRate); 755 checkUnnamed18(o.calloutStatusRate);
756 checkUnnamed860(o.cookieMatcherStatusRate); 756 checkUnnamed19(o.cookieMatcherStatusRate);
757 checkUnnamed861(o.creativeStatusRate); 757 checkUnnamed20(o.creativeStatusRate);
758 unittest.expect(o.filteredBidRate, unittest.equals(42.0)); 758 unittest.expect(o.filteredBidRate, unittest.equals(42.0));
759 checkUnnamed862(o.hostedMatchStatusRate); 759 checkUnnamed21(o.hostedMatchStatusRate);
760 unittest.expect(o.inventoryMatchRate, unittest.equals(42.0)); 760 unittest.expect(o.inventoryMatchRate, unittest.equals(42.0));
761 unittest.expect(o.kind, unittest.equals('foo')); 761 unittest.expect(o.kind, unittest.equals('foo'));
762 unittest.expect(o.latency50thPercentile, unittest.equals(42.0)); 762 unittest.expect(o.latency50thPercentile, unittest.equals(42.0));
763 unittest.expect(o.latency85thPercentile, unittest.equals(42.0)); 763 unittest.expect(o.latency85thPercentile, unittest.equals(42.0));
764 unittest.expect(o.latency95thPercentile, unittest.equals(42.0)); 764 unittest.expect(o.latency95thPercentile, unittest.equals(42.0));
765 unittest.expect(o.noQuotaInRegion, unittest.equals(42.0)); 765 unittest.expect(o.noQuotaInRegion, unittest.equals(42.0));
766 unittest.expect(o.outOfQuota, unittest.equals(42.0)); 766 unittest.expect(o.outOfQuota, unittest.equals(42.0));
767 unittest.expect(o.pixelMatchRequests, unittest.equals(42.0)); 767 unittest.expect(o.pixelMatchRequests, unittest.equals(42.0));
768 unittest.expect(o.pixelMatchResponses, unittest.equals(42.0)); 768 unittest.expect(o.pixelMatchResponses, unittest.equals(42.0));
769 unittest.expect(o.quotaConfiguredLimit, unittest.equals(42.0)); 769 unittest.expect(o.quotaConfiguredLimit, unittest.equals(42.0));
770 unittest.expect(o.quotaThrottledLimit, unittest.equals(42.0)); 770 unittest.expect(o.quotaThrottledLimit, unittest.equals(42.0));
771 unittest.expect(o.region, unittest.equals('foo')); 771 unittest.expect(o.region, unittest.equals('foo'));
772 unittest.expect(o.successfulRequestRate, unittest.equals(42.0)); 772 unittest.expect(o.successfulRequestRate, unittest.equals(42.0));
773 unittest.expect(o.timestamp, unittest.equals('foo')); 773 unittest.expect(o.timestamp, unittest.equals('foo'));
774 unittest.expect(o.unsuccessfulRequestRate, unittest.equals(42.0)); 774 unittest.expect(o.unsuccessfulRequestRate, unittest.equals(42.0));
775 } 775 }
776 buildCounterPerformanceReport--; 776 buildCounterPerformanceReport--;
777 } 777 }
778 778
779 buildUnnamed863() { 779 buildUnnamed22() {
780 var o = new core.List<api.PerformanceReport>(); 780 var o = new core.List<api.PerformanceReport>();
781 o.add(buildPerformanceReport()); 781 o.add(buildPerformanceReport());
782 o.add(buildPerformanceReport()); 782 o.add(buildPerformanceReport());
783 return o; 783 return o;
784 } 784 }
785 785
786 checkUnnamed863(core.List<api.PerformanceReport> o) { 786 checkUnnamed22(core.List<api.PerformanceReport> o) {
787 unittest.expect(o, unittest.hasLength(2)); 787 unittest.expect(o, unittest.hasLength(2));
788 checkPerformanceReport(o[0]); 788 checkPerformanceReport(o[0]);
789 checkPerformanceReport(o[1]); 789 checkPerformanceReport(o[1]);
790 } 790 }
791 791
792 core.int buildCounterPerformanceReportList = 0; 792 core.int buildCounterPerformanceReportList = 0;
793 buildPerformanceReportList() { 793 buildPerformanceReportList() {
794 var o = new api.PerformanceReportList(); 794 var o = new api.PerformanceReportList();
795 buildCounterPerformanceReportList++; 795 buildCounterPerformanceReportList++;
796 if (buildCounterPerformanceReportList < 3) { 796 if (buildCounterPerformanceReportList < 3) {
797 o.kind = "foo"; 797 o.kind = "foo";
798 o.performanceReport = buildUnnamed863(); 798 o.performanceReport = buildUnnamed22();
799 } 799 }
800 buildCounterPerformanceReportList--; 800 buildCounterPerformanceReportList--;
801 return o; 801 return o;
802 } 802 }
803 803
804 checkPerformanceReportList(api.PerformanceReportList o) { 804 checkPerformanceReportList(api.PerformanceReportList o) {
805 buildCounterPerformanceReportList++; 805 buildCounterPerformanceReportList++;
806 if (buildCounterPerformanceReportList < 3) { 806 if (buildCounterPerformanceReportList < 3) {
807 unittest.expect(o.kind, unittest.equals('foo')); 807 unittest.expect(o.kind, unittest.equals('foo'));
808 checkUnnamed863(o.performanceReport); 808 checkUnnamed22(o.performanceReport);
809 } 809 }
810 buildCounterPerformanceReportList--; 810 buildCounterPerformanceReportList--;
811 } 811 }
812 812
813 buildUnnamed864() { 813 buildUnnamed23() {
814 var o = new core.List<core.String>(); 814 var o = new core.List<core.String>();
815 o.add("foo"); 815 o.add("foo");
816 o.add("foo"); 816 o.add("foo");
817 return o; 817 return o;
818 } 818 }
819 819
820 checkUnnamed864(core.List<core.String> o) { 820 checkUnnamed23(core.List<core.String> o) {
821 unittest.expect(o, unittest.hasLength(2)); 821 unittest.expect(o, unittest.hasLength(2));
822 unittest.expect(o[0], unittest.equals('foo')); 822 unittest.expect(o[0], unittest.equals('foo'));
823 unittest.expect(o[1], unittest.equals('foo')); 823 unittest.expect(o[1], unittest.equals('foo'));
824 } 824 }
825 825
826 core.int buildCounterPretargetingConfigDimensions = 0; 826 core.int buildCounterPretargetingConfigDimensions = 0;
827 buildPretargetingConfigDimensions() { 827 buildPretargetingConfigDimensions() {
828 var o = new api.PretargetingConfigDimensions(); 828 var o = new api.PretargetingConfigDimensions();
829 buildCounterPretargetingConfigDimensions++; 829 buildCounterPretargetingConfigDimensions++;
830 if (buildCounterPretargetingConfigDimensions < 3) { 830 if (buildCounterPretargetingConfigDimensions < 3) {
831 o.height = "foo"; 831 o.height = "foo";
832 o.width = "foo"; 832 o.width = "foo";
833 } 833 }
834 buildCounterPretargetingConfigDimensions--; 834 buildCounterPretargetingConfigDimensions--;
835 return o; 835 return o;
836 } 836 }
837 837
838 checkPretargetingConfigDimensions(api.PretargetingConfigDimensions o) { 838 checkPretargetingConfigDimensions(api.PretargetingConfigDimensions o) {
839 buildCounterPretargetingConfigDimensions++; 839 buildCounterPretargetingConfigDimensions++;
840 if (buildCounterPretargetingConfigDimensions < 3) { 840 if (buildCounterPretargetingConfigDimensions < 3) {
841 unittest.expect(o.height, unittest.equals('foo')); 841 unittest.expect(o.height, unittest.equals('foo'));
842 unittest.expect(o.width, unittest.equals('foo')); 842 unittest.expect(o.width, unittest.equals('foo'));
843 } 843 }
844 buildCounterPretargetingConfigDimensions--; 844 buildCounterPretargetingConfigDimensions--;
845 } 845 }
846 846
847 buildUnnamed865() { 847 buildUnnamed24() {
848 var o = new core.List<api.PretargetingConfigDimensions>(); 848 var o = new core.List<api.PretargetingConfigDimensions>();
849 o.add(buildPretargetingConfigDimensions()); 849 o.add(buildPretargetingConfigDimensions());
850 o.add(buildPretargetingConfigDimensions()); 850 o.add(buildPretargetingConfigDimensions());
851 return o; 851 return o;
852 } 852 }
853 853
854 checkUnnamed865(core.List<api.PretargetingConfigDimensions> o) { 854 checkUnnamed24(core.List<api.PretargetingConfigDimensions> o) {
855 unittest.expect(o, unittest.hasLength(2)); 855 unittest.expect(o, unittest.hasLength(2));
856 checkPretargetingConfigDimensions(o[0]); 856 checkPretargetingConfigDimensions(o[0]);
857 checkPretargetingConfigDimensions(o[1]); 857 checkPretargetingConfigDimensions(o[1]);
858 } 858 }
859 859
860 buildUnnamed866() { 860 buildUnnamed25() {
861 var o = new core.List<core.String>(); 861 var o = new core.List<core.String>();
862 o.add("foo"); 862 o.add("foo");
863 o.add("foo"); 863 o.add("foo");
864 return o; 864 return o;
865 } 865 }
866 866
867 checkUnnamed866(core.List<core.String> o) { 867 checkUnnamed25(core.List<core.String> o) {
868 unittest.expect(o, unittest.hasLength(2)); 868 unittest.expect(o, unittest.hasLength(2));
869 unittest.expect(o[0], unittest.equals('foo')); 869 unittest.expect(o[0], unittest.equals('foo'));
870 unittest.expect(o[1], unittest.equals('foo')); 870 unittest.expect(o[1], unittest.equals('foo'));
871 } 871 }
872 872
873 buildUnnamed867() { 873 buildUnnamed26() {
874 var o = new core.List<core.String>(); 874 var o = new core.List<core.String>();
875 o.add("foo"); 875 o.add("foo");
876 o.add("foo"); 876 o.add("foo");
877 return o; 877 return o;
878 } 878 }
879 879
880 checkUnnamed867(core.List<core.String> o) { 880 checkUnnamed26(core.List<core.String> o) {
881 unittest.expect(o, unittest.hasLength(2)); 881 unittest.expect(o, unittest.hasLength(2));
882 unittest.expect(o[0], unittest.equals('foo')); 882 unittest.expect(o[0], unittest.equals('foo'));
883 unittest.expect(o[1], unittest.equals('foo')); 883 unittest.expect(o[1], unittest.equals('foo'));
884 } 884 }
885 885
886 core.int buildCounterPretargetingConfigExcludedPlacements = 0; 886 core.int buildCounterPretargetingConfigExcludedPlacements = 0;
887 buildPretargetingConfigExcludedPlacements() { 887 buildPretargetingConfigExcludedPlacements() {
888 var o = new api.PretargetingConfigExcludedPlacements(); 888 var o = new api.PretargetingConfigExcludedPlacements();
889 buildCounterPretargetingConfigExcludedPlacements++; 889 buildCounterPretargetingConfigExcludedPlacements++;
890 if (buildCounterPretargetingConfigExcludedPlacements < 3) { 890 if (buildCounterPretargetingConfigExcludedPlacements < 3) {
891 o.token = "foo"; 891 o.token = "foo";
892 o.type = "foo"; 892 o.type = "foo";
893 } 893 }
894 buildCounterPretargetingConfigExcludedPlacements--; 894 buildCounterPretargetingConfigExcludedPlacements--;
895 return o; 895 return o;
896 } 896 }
897 897
898 checkPretargetingConfigExcludedPlacements(api.PretargetingConfigExcludedPlacemen ts o) { 898 checkPretargetingConfigExcludedPlacements(api.PretargetingConfigExcludedPlacemen ts o) {
899 buildCounterPretargetingConfigExcludedPlacements++; 899 buildCounterPretargetingConfigExcludedPlacements++;
900 if (buildCounterPretargetingConfigExcludedPlacements < 3) { 900 if (buildCounterPretargetingConfigExcludedPlacements < 3) {
901 unittest.expect(o.token, unittest.equals('foo')); 901 unittest.expect(o.token, unittest.equals('foo'));
902 unittest.expect(o.type, unittest.equals('foo')); 902 unittest.expect(o.type, unittest.equals('foo'));
903 } 903 }
904 buildCounterPretargetingConfigExcludedPlacements--; 904 buildCounterPretargetingConfigExcludedPlacements--;
905 } 905 }
906 906
907 buildUnnamed868() { 907 buildUnnamed27() {
908 var o = new core.List<api.PretargetingConfigExcludedPlacements>(); 908 var o = new core.List<api.PretargetingConfigExcludedPlacements>();
909 o.add(buildPretargetingConfigExcludedPlacements()); 909 o.add(buildPretargetingConfigExcludedPlacements());
910 o.add(buildPretargetingConfigExcludedPlacements()); 910 o.add(buildPretargetingConfigExcludedPlacements());
911 return o; 911 return o;
912 } 912 }
913 913
914 checkUnnamed868(core.List<api.PretargetingConfigExcludedPlacements> o) { 914 checkUnnamed27(core.List<api.PretargetingConfigExcludedPlacements> o) {
915 unittest.expect(o, unittest.hasLength(2)); 915 unittest.expect(o, unittest.hasLength(2));
916 checkPretargetingConfigExcludedPlacements(o[0]); 916 checkPretargetingConfigExcludedPlacements(o[0]);
917 checkPretargetingConfigExcludedPlacements(o[1]); 917 checkPretargetingConfigExcludedPlacements(o[1]);
918 } 918 }
919 919
920 buildUnnamed869() { 920 buildUnnamed28() {
921 var o = new core.List<core.String>(); 921 var o = new core.List<core.String>();
922 o.add("foo"); 922 o.add("foo");
923 o.add("foo"); 923 o.add("foo");
924 return o; 924 return o;
925 } 925 }
926 926
927 checkUnnamed869(core.List<core.String> o) { 927 checkUnnamed28(core.List<core.String> o) {
928 unittest.expect(o, unittest.hasLength(2)); 928 unittest.expect(o, unittest.hasLength(2));
929 unittest.expect(o[0], unittest.equals('foo')); 929 unittest.expect(o[0], unittest.equals('foo'));
930 unittest.expect(o[1], unittest.equals('foo')); 930 unittest.expect(o[1], unittest.equals('foo'));
931 } 931 }
932 932
933 buildUnnamed870() { 933 buildUnnamed29() {
934 var o = new core.List<core.String>(); 934 var o = new core.List<core.String>();
935 o.add("foo"); 935 o.add("foo");
936 o.add("foo"); 936 o.add("foo");
937 return o; 937 return o;
938 } 938 }
939 939
940 checkUnnamed870(core.List<core.String> o) { 940 checkUnnamed29(core.List<core.String> o) {
941 unittest.expect(o, unittest.hasLength(2)); 941 unittest.expect(o, unittest.hasLength(2));
942 unittest.expect(o[0], unittest.equals('foo')); 942 unittest.expect(o[0], unittest.equals('foo'));
943 unittest.expect(o[1], unittest.equals('foo')); 943 unittest.expect(o[1], unittest.equals('foo'));
944 } 944 }
945 945
946 buildUnnamed871() { 946 buildUnnamed30() {
947 var o = new core.List<core.String>(); 947 var o = new core.List<core.String>();
948 o.add("foo"); 948 o.add("foo");
949 o.add("foo"); 949 o.add("foo");
950 return o; 950 return o;
951 } 951 }
952 952
953 checkUnnamed871(core.List<core.String> o) { 953 checkUnnamed30(core.List<core.String> o) {
954 unittest.expect(o, unittest.hasLength(2)); 954 unittest.expect(o, unittest.hasLength(2));
955 unittest.expect(o[0], unittest.equals('foo')); 955 unittest.expect(o[0], unittest.equals('foo'));
956 unittest.expect(o[1], unittest.equals('foo')); 956 unittest.expect(o[1], unittest.equals('foo'));
957 } 957 }
958 958
959 buildUnnamed872() { 959 buildUnnamed31() {
960 var o = new core.List<core.String>(); 960 var o = new core.List<core.String>();
961 o.add("foo"); 961 o.add("foo");
962 o.add("foo"); 962 o.add("foo");
963 return o; 963 return o;
964 } 964 }
965 965
966 checkUnnamed872(core.List<core.String> o) { 966 checkUnnamed31(core.List<core.String> o) {
967 unittest.expect(o, unittest.hasLength(2)); 967 unittest.expect(o, unittest.hasLength(2));
968 unittest.expect(o[0], unittest.equals('foo')); 968 unittest.expect(o[0], unittest.equals('foo'));
969 unittest.expect(o[1], unittest.equals('foo')); 969 unittest.expect(o[1], unittest.equals('foo'));
970 } 970 }
971 971
972 buildUnnamed873() { 972 buildUnnamed32() {
973 var o = new core.List<core.String>(); 973 var o = new core.List<core.String>();
974 o.add("foo"); 974 o.add("foo");
975 o.add("foo"); 975 o.add("foo");
976 return o; 976 return o;
977 } 977 }
978 978
979 checkUnnamed873(core.List<core.String> o) { 979 checkUnnamed32(core.List<core.String> o) {
980 unittest.expect(o, unittest.hasLength(2)); 980 unittest.expect(o, unittest.hasLength(2));
981 unittest.expect(o[0], unittest.equals('foo')); 981 unittest.expect(o[0], unittest.equals('foo'));
982 unittest.expect(o[1], unittest.equals('foo')); 982 unittest.expect(o[1], unittest.equals('foo'));
983 } 983 }
984 984
985 buildUnnamed874() { 985 buildUnnamed33() {
986 var o = new core.List<core.String>(); 986 var o = new core.List<core.String>();
987 o.add("foo"); 987 o.add("foo");
988 o.add("foo"); 988 o.add("foo");
989 return o; 989 return o;
990 } 990 }
991 991
992 checkUnnamed874(core.List<core.String> o) { 992 checkUnnamed33(core.List<core.String> o) {
993 unittest.expect(o, unittest.hasLength(2)); 993 unittest.expect(o, unittest.hasLength(2));
994 unittest.expect(o[0], unittest.equals('foo')); 994 unittest.expect(o[0], unittest.equals('foo'));
995 unittest.expect(o[1], unittest.equals('foo')); 995 unittest.expect(o[1], unittest.equals('foo'));
996 } 996 }
997 997
998 buildUnnamed875() { 998 buildUnnamed34() {
999 var o = new core.List<core.String>(); 999 var o = new core.List<core.String>();
1000 o.add("foo"); 1000 o.add("foo");
1001 o.add("foo"); 1001 o.add("foo");
1002 return o; 1002 return o;
1003 } 1003 }
1004 1004
1005 checkUnnamed875(core.List<core.String> o) { 1005 checkUnnamed34(core.List<core.String> o) {
1006 unittest.expect(o, unittest.hasLength(2)); 1006 unittest.expect(o, unittest.hasLength(2));
1007 unittest.expect(o[0], unittest.equals('foo')); 1007 unittest.expect(o[0], unittest.equals('foo'));
1008 unittest.expect(o[1], unittest.equals('foo')); 1008 unittest.expect(o[1], unittest.equals('foo'));
1009 } 1009 }
1010 1010
1011 core.int buildCounterPretargetingConfigPlacements = 0; 1011 core.int buildCounterPretargetingConfigPlacements = 0;
1012 buildPretargetingConfigPlacements() { 1012 buildPretargetingConfigPlacements() {
1013 var o = new api.PretargetingConfigPlacements(); 1013 var o = new api.PretargetingConfigPlacements();
1014 buildCounterPretargetingConfigPlacements++; 1014 buildCounterPretargetingConfigPlacements++;
1015 if (buildCounterPretargetingConfigPlacements < 3) { 1015 if (buildCounterPretargetingConfigPlacements < 3) {
1016 o.token = "foo"; 1016 o.token = "foo";
1017 o.type = "foo"; 1017 o.type = "foo";
1018 } 1018 }
1019 buildCounterPretargetingConfigPlacements--; 1019 buildCounterPretargetingConfigPlacements--;
1020 return o; 1020 return o;
1021 } 1021 }
1022 1022
1023 checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) { 1023 checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) {
1024 buildCounterPretargetingConfigPlacements++; 1024 buildCounterPretargetingConfigPlacements++;
1025 if (buildCounterPretargetingConfigPlacements < 3) { 1025 if (buildCounterPretargetingConfigPlacements < 3) {
1026 unittest.expect(o.token, unittest.equals('foo')); 1026 unittest.expect(o.token, unittest.equals('foo'));
1027 unittest.expect(o.type, unittest.equals('foo')); 1027 unittest.expect(o.type, unittest.equals('foo'));
1028 } 1028 }
1029 buildCounterPretargetingConfigPlacements--; 1029 buildCounterPretargetingConfigPlacements--;
1030 } 1030 }
1031 1031
1032 buildUnnamed876() { 1032 buildUnnamed35() {
1033 var o = new core.List<api.PretargetingConfigPlacements>(); 1033 var o = new core.List<api.PretargetingConfigPlacements>();
1034 o.add(buildPretargetingConfigPlacements()); 1034 o.add(buildPretargetingConfigPlacements());
1035 o.add(buildPretargetingConfigPlacements()); 1035 o.add(buildPretargetingConfigPlacements());
1036 return o; 1036 return o;
1037 } 1037 }
1038 1038
1039 checkUnnamed876(core.List<api.PretargetingConfigPlacements> o) { 1039 checkUnnamed35(core.List<api.PretargetingConfigPlacements> o) {
1040 unittest.expect(o, unittest.hasLength(2)); 1040 unittest.expect(o, unittest.hasLength(2));
1041 checkPretargetingConfigPlacements(o[0]); 1041 checkPretargetingConfigPlacements(o[0]);
1042 checkPretargetingConfigPlacements(o[1]); 1042 checkPretargetingConfigPlacements(o[1]);
1043 } 1043 }
1044 1044
1045 buildUnnamed877() { 1045 buildUnnamed36() {
1046 var o = new core.List<core.String>(); 1046 var o = new core.List<core.String>();
1047 o.add("foo"); 1047 o.add("foo");
1048 o.add("foo"); 1048 o.add("foo");
1049 return o; 1049 return o;
1050 } 1050 }
1051 1051
1052 checkUnnamed877(core.List<core.String> o) { 1052 checkUnnamed36(core.List<core.String> o) {
1053 unittest.expect(o, unittest.hasLength(2)); 1053 unittest.expect(o, unittest.hasLength(2));
1054 unittest.expect(o[0], unittest.equals('foo')); 1054 unittest.expect(o[0], unittest.equals('foo'));
1055 unittest.expect(o[1], unittest.equals('foo')); 1055 unittest.expect(o[1], unittest.equals('foo'));
1056 } 1056 }
1057 1057
1058 buildUnnamed878() { 1058 buildUnnamed37() {
1059 var o = new core.List<core.String>(); 1059 var o = new core.List<core.String>();
1060 o.add("foo"); 1060 o.add("foo");
1061 o.add("foo"); 1061 o.add("foo");
1062 return o; 1062 return o;
1063 } 1063 }
1064 1064
1065 checkUnnamed878(core.List<core.String> o) { 1065 checkUnnamed37(core.List<core.String> o) {
1066 unittest.expect(o, unittest.hasLength(2)); 1066 unittest.expect(o, unittest.hasLength(2));
1067 unittest.expect(o[0], unittest.equals('foo')); 1067 unittest.expect(o[0], unittest.equals('foo'));
1068 unittest.expect(o[1], unittest.equals('foo')); 1068 unittest.expect(o[1], unittest.equals('foo'));
1069 } 1069 }
1070 1070
1071 buildUnnamed879() { 1071 buildUnnamed38() {
1072 var o = new core.List<core.String>(); 1072 var o = new core.List<core.String>();
1073 o.add("foo"); 1073 o.add("foo");
1074 o.add("foo"); 1074 o.add("foo");
1075 return o; 1075 return o;
1076 } 1076 }
1077 1077
1078 checkUnnamed879(core.List<core.String> o) { 1078 checkUnnamed38(core.List<core.String> o) {
1079 unittest.expect(o, unittest.hasLength(2)); 1079 unittest.expect(o, unittest.hasLength(2));
1080 unittest.expect(o[0], unittest.equals('foo')); 1080 unittest.expect(o[0], unittest.equals('foo'));
1081 unittest.expect(o[1], unittest.equals('foo')); 1081 unittest.expect(o[1], unittest.equals('foo'));
1082 } 1082 }
1083 1083
1084 buildUnnamed880() { 1084 buildUnnamed39() {
1085 var o = new core.List<core.String>(); 1085 var o = new core.List<core.String>();
1086 o.add("foo"); 1086 o.add("foo");
1087 o.add("foo"); 1087 o.add("foo");
1088 return o; 1088 return o;
1089 } 1089 }
1090 1090
1091 checkUnnamed880(core.List<core.String> o) { 1091 checkUnnamed39(core.List<core.String> o) {
1092 unittest.expect(o, unittest.hasLength(2)); 1092 unittest.expect(o, unittest.hasLength(2));
1093 unittest.expect(o[0], unittest.equals('foo')); 1093 unittest.expect(o[0], unittest.equals('foo'));
1094 unittest.expect(o[1], unittest.equals('foo')); 1094 unittest.expect(o[1], unittest.equals('foo'));
1095 } 1095 }
1096 1096
1097 buildUnnamed881() { 1097 buildUnnamed40() {
1098 var o = new core.List<core.String>(); 1098 var o = new core.List<core.String>();
1099 o.add("foo"); 1099 o.add("foo");
1100 o.add("foo"); 1100 o.add("foo");
1101 return o; 1101 return o;
1102 } 1102 }
1103 1103
1104 checkUnnamed881(core.List<core.String> o) { 1104 checkUnnamed40(core.List<core.String> o) {
1105 unittest.expect(o, unittest.hasLength(2)); 1105 unittest.expect(o, unittest.hasLength(2));
1106 unittest.expect(o[0], unittest.equals('foo')); 1106 unittest.expect(o[0], unittest.equals('foo'));
1107 unittest.expect(o[1], unittest.equals('foo')); 1107 unittest.expect(o[1], unittest.equals('foo'));
1108 } 1108 }
1109 1109
1110 core.int buildCounterPretargetingConfig = 0; 1110 core.int buildCounterPretargetingConfig = 0;
1111 buildPretargetingConfig() { 1111 buildPretargetingConfig() {
1112 var o = new api.PretargetingConfig(); 1112 var o = new api.PretargetingConfig();
1113 buildCounterPretargetingConfig++; 1113 buildCounterPretargetingConfig++;
1114 if (buildCounterPretargetingConfig < 3) { 1114 if (buildCounterPretargetingConfig < 3) {
1115 o.billingId = "foo"; 1115 o.billingId = "foo";
1116 o.configId = "foo"; 1116 o.configId = "foo";
1117 o.configName = "foo"; 1117 o.configName = "foo";
1118 o.creativeType = buildUnnamed864(); 1118 o.creativeType = buildUnnamed23();
1119 o.dimensions = buildUnnamed865(); 1119 o.dimensions = buildUnnamed24();
1120 o.excludedContentLabels = buildUnnamed866(); 1120 o.excludedContentLabels = buildUnnamed25();
1121 o.excludedGeoCriteriaIds = buildUnnamed867(); 1121 o.excludedGeoCriteriaIds = buildUnnamed26();
1122 o.excludedPlacements = buildUnnamed868(); 1122 o.excludedPlacements = buildUnnamed27();
1123 o.excludedUserLists = buildUnnamed869(); 1123 o.excludedUserLists = buildUnnamed28();
1124 o.excludedVerticals = buildUnnamed870(); 1124 o.excludedVerticals = buildUnnamed29();
1125 o.geoCriteriaIds = buildUnnamed871(); 1125 o.geoCriteriaIds = buildUnnamed30();
1126 o.isActive = true; 1126 o.isActive = true;
1127 o.kind = "foo"; 1127 o.kind = "foo";
1128 o.languages = buildUnnamed872(); 1128 o.languages = buildUnnamed31();
1129 o.mobileCarriers = buildUnnamed873(); 1129 o.mobileCarriers = buildUnnamed32();
1130 o.mobileDevices = buildUnnamed874(); 1130 o.mobileDevices = buildUnnamed33();
1131 o.mobileOperatingSystemVersions = buildUnnamed875(); 1131 o.mobileOperatingSystemVersions = buildUnnamed34();
1132 o.placements = buildUnnamed876(); 1132 o.placements = buildUnnamed35();
1133 o.platforms = buildUnnamed877(); 1133 o.platforms = buildUnnamed36();
1134 o.supportedCreativeAttributes = buildUnnamed878(); 1134 o.supportedCreativeAttributes = buildUnnamed37();
1135 o.userLists = buildUnnamed879(); 1135 o.userLists = buildUnnamed38();
1136 o.vendorTypes = buildUnnamed880(); 1136 o.vendorTypes = buildUnnamed39();
1137 o.verticals = buildUnnamed881(); 1137 o.verticals = buildUnnamed40();
1138 } 1138 }
1139 buildCounterPretargetingConfig--; 1139 buildCounterPretargetingConfig--;
1140 return o; 1140 return o;
1141 } 1141 }
1142 1142
1143 checkPretargetingConfig(api.PretargetingConfig o) { 1143 checkPretargetingConfig(api.PretargetingConfig o) {
1144 buildCounterPretargetingConfig++; 1144 buildCounterPretargetingConfig++;
1145 if (buildCounterPretargetingConfig < 3) { 1145 if (buildCounterPretargetingConfig < 3) {
1146 unittest.expect(o.billingId, unittest.equals('foo')); 1146 unittest.expect(o.billingId, unittest.equals('foo'));
1147 unittest.expect(o.configId, unittest.equals('foo')); 1147 unittest.expect(o.configId, unittest.equals('foo'));
1148 unittest.expect(o.configName, unittest.equals('foo')); 1148 unittest.expect(o.configName, unittest.equals('foo'));
1149 checkUnnamed864(o.creativeType); 1149 checkUnnamed23(o.creativeType);
1150 checkUnnamed865(o.dimensions); 1150 checkUnnamed24(o.dimensions);
1151 checkUnnamed866(o.excludedContentLabels); 1151 checkUnnamed25(o.excludedContentLabels);
1152 checkUnnamed867(o.excludedGeoCriteriaIds); 1152 checkUnnamed26(o.excludedGeoCriteriaIds);
1153 checkUnnamed868(o.excludedPlacements); 1153 checkUnnamed27(o.excludedPlacements);
1154 checkUnnamed869(o.excludedUserLists); 1154 checkUnnamed28(o.excludedUserLists);
1155 checkUnnamed870(o.excludedVerticals); 1155 checkUnnamed29(o.excludedVerticals);
1156 checkUnnamed871(o.geoCriteriaIds); 1156 checkUnnamed30(o.geoCriteriaIds);
1157 unittest.expect(o.isActive, unittest.isTrue); 1157 unittest.expect(o.isActive, unittest.isTrue);
1158 unittest.expect(o.kind, unittest.equals('foo')); 1158 unittest.expect(o.kind, unittest.equals('foo'));
1159 checkUnnamed872(o.languages); 1159 checkUnnamed31(o.languages);
1160 checkUnnamed873(o.mobileCarriers); 1160 checkUnnamed32(o.mobileCarriers);
1161 checkUnnamed874(o.mobileDevices); 1161 checkUnnamed33(o.mobileDevices);
1162 checkUnnamed875(o.mobileOperatingSystemVersions); 1162 checkUnnamed34(o.mobileOperatingSystemVersions);
1163 checkUnnamed876(o.placements); 1163 checkUnnamed35(o.placements);
1164 checkUnnamed877(o.platforms); 1164 checkUnnamed36(o.platforms);
1165 checkUnnamed878(o.supportedCreativeAttributes); 1165 checkUnnamed37(o.supportedCreativeAttributes);
1166 checkUnnamed879(o.userLists); 1166 checkUnnamed38(o.userLists);
1167 checkUnnamed880(o.vendorTypes); 1167 checkUnnamed39(o.vendorTypes);
1168 checkUnnamed881(o.verticals); 1168 checkUnnamed40(o.verticals);
1169 } 1169 }
1170 buildCounterPretargetingConfig--; 1170 buildCounterPretargetingConfig--;
1171 } 1171 }
1172 1172
1173 buildUnnamed882() { 1173 buildUnnamed41() {
1174 var o = new core.List<api.PretargetingConfig>(); 1174 var o = new core.List<api.PretargetingConfig>();
1175 o.add(buildPretargetingConfig()); 1175 o.add(buildPretargetingConfig());
1176 o.add(buildPretargetingConfig()); 1176 o.add(buildPretargetingConfig());
1177 return o; 1177 return o;
1178 } 1178 }
1179 1179
1180 checkUnnamed882(core.List<api.PretargetingConfig> o) { 1180 checkUnnamed41(core.List<api.PretargetingConfig> o) {
1181 unittest.expect(o, unittest.hasLength(2)); 1181 unittest.expect(o, unittest.hasLength(2));
1182 checkPretargetingConfig(o[0]); 1182 checkPretargetingConfig(o[0]);
1183 checkPretargetingConfig(o[1]); 1183 checkPretargetingConfig(o[1]);
1184 } 1184 }
1185 1185
1186 core.int buildCounterPretargetingConfigList = 0; 1186 core.int buildCounterPretargetingConfigList = 0;
1187 buildPretargetingConfigList() { 1187 buildPretargetingConfigList() {
1188 var o = new api.PretargetingConfigList(); 1188 var o = new api.PretargetingConfigList();
1189 buildCounterPretargetingConfigList++; 1189 buildCounterPretargetingConfigList++;
1190 if (buildCounterPretargetingConfigList < 3) { 1190 if (buildCounterPretargetingConfigList < 3) {
1191 o.items = buildUnnamed882(); 1191 o.items = buildUnnamed41();
1192 o.kind = "foo"; 1192 o.kind = "foo";
1193 } 1193 }
1194 buildCounterPretargetingConfigList--; 1194 buildCounterPretargetingConfigList--;
1195 return o; 1195 return o;
1196 } 1196 }
1197 1197
1198 checkPretargetingConfigList(api.PretargetingConfigList o) { 1198 checkPretargetingConfigList(api.PretargetingConfigList o) {
1199 buildCounterPretargetingConfigList++; 1199 buildCounterPretargetingConfigList++;
1200 if (buildCounterPretargetingConfigList < 3) { 1200 if (buildCounterPretargetingConfigList < 3) {
1201 checkUnnamed882(o.items); 1201 checkUnnamed41(o.items);
1202 unittest.expect(o.kind, unittest.equals('foo')); 1202 unittest.expect(o.kind, unittest.equals('foo'));
1203 } 1203 }
1204 buildCounterPretargetingConfigList--; 1204 buildCounterPretargetingConfigList--;
1205 } 1205 }
1206 1206
1207 buildUnnamed883() { 1207 buildUnnamed42() {
1208 var o = new core.List<core.int>(); 1208 var o = new core.List<core.int>();
1209 o.add(42); 1209 o.add(42);
1210 o.add(42); 1210 o.add(42);
1211 return o; 1211 return o;
1212 } 1212 }
1213 1213
1214 checkUnnamed883(core.List<core.int> o) { 1214 checkUnnamed42(core.List<core.int> o) {
1215 unittest.expect(o, unittest.hasLength(2)); 1215 unittest.expect(o, unittest.hasLength(2));
1216 unittest.expect(o[0], unittest.equals(42)); 1216 unittest.expect(o[0], unittest.equals(42));
1217 unittest.expect(o[1], unittest.equals(42)); 1217 unittest.expect(o[1], unittest.equals(42));
1218 } 1218 }
1219 1219
1220 buildUnnamed884() { 1220 buildUnnamed43() {
1221 var o = new core.List<core.String>(); 1221 var o = new core.List<core.String>();
1222 o.add("foo"); 1222 o.add("foo");
1223 o.add("foo"); 1223 o.add("foo");
1224 return o; 1224 return o;
1225 } 1225 }
1226 1226
1227 checkUnnamed884(core.List<core.String> o) { 1227 checkUnnamed43(core.List<core.String> o) {
1228 unittest.expect(o, unittest.hasLength(2)); 1228 unittest.expect(o, unittest.hasLength(2));
1229 unittest.expect(o[0], unittest.equals('foo')); 1229 unittest.expect(o[0], unittest.equals('foo'));
1230 unittest.expect(o[1], unittest.equals('foo')); 1230 unittest.expect(o[1], unittest.equals('foo'));
1231 } 1231 }
1232 1232
1233 1233
1234 main() { 1234 main() {
1235 unittest.group("obj-schema-AccountBidderLocation", () { 1235 unittest.group("obj-schema-AccountBidderLocation", () {
1236 unittest.test("to-json--from-json", () { 1236 unittest.test("to-json--from-json", () {
1237 var o = buildAccountBidderLocation(); 1237 var o = buildAccountBidderLocation();
(...skipping 772 matching lines...) Expand 10 before | Expand all | Expand 10 after
2010 }), true); 2010 }), true);
2011 res.insert(arg_request).then(unittest.expectAsync(((api.Creative response) { 2011 res.insert(arg_request).then(unittest.expectAsync(((api.Creative response) {
2012 checkCreative(response); 2012 checkCreative(response);
2013 }))); 2013 })));
2014 }); 2014 });
2015 2015
2016 unittest.test("method--list", () { 2016 unittest.test("method--list", () {
2017 2017
2018 var mock = new HttpServerMock(); 2018 var mock = new HttpServerMock();
2019 api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives; 2019 api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives;
2020 var arg_accountId = buildUnnamed883(); 2020 var arg_accountId = buildUnnamed42();
2021 var arg_buyerCreativeId = buildUnnamed884(); 2021 var arg_buyerCreativeId = buildUnnamed43();
2022 var arg_maxResults = 42; 2022 var arg_maxResults = 42;
2023 var arg_pageToken = "foo"; 2023 var arg_pageToken = "foo";
2024 var arg_statusFilter = "foo"; 2024 var arg_statusFilter = "foo";
2025 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 2025 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
2026 var path = (req.url).path; 2026 var path = (req.url).path;
2027 var pathOffset = 0; 2027 var pathOffset = 0;
2028 var index; 2028 var index;
2029 var subPart; 2029 var subPart;
2030 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 2030 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
2031 pathOffset += 1; 2031 pathOffset += 1;
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
2563 res.update(arg_request, arg_accountId, arg_configId).then(unittest.expectA sync(((api.PretargetingConfig response) { 2563 res.update(arg_request, arg_accountId, arg_configId).then(unittest.expectA sync(((api.PretargetingConfig response) {
2564 checkPretargetingConfig(response); 2564 checkPretargetingConfig(response);
2565 }))); 2565 })));
2566 }); 2566 });
2567 2567
2568 }); 2568 });
2569 2569
2570 2570
2571 } 2571 }
2572 2572
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698