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

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

Issue 2695743002: Api-roll 45: 2017-02-13 (Closed)
Patch Set: reverted local changes to pubspec file Created 3 years, 10 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 buildUnnamed815() { 77 buildUnnamed822() {
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 checkUnnamed815(core.List<api.AccountBidderLocation> o) { 84 checkUnnamed822(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 = buildUnnamed815(); 95 o.bidderLocation = buildUnnamed822();
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 checkUnnamed815(o.bidderLocation); 111 checkUnnamed822(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 buildUnnamed816() { 123 buildUnnamed823() {
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 checkUnnamed816(core.List<api.Account> o) { 130 checkUnnamed823(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 = buildUnnamed816(); 141 o.items = buildUnnamed823();
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 checkUnnamed816(o.items); 151 checkUnnamed823(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 buildUnnamed817() { 157 buildUnnamed824() {
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 checkUnnamed817(core.List<core.String> o) { 164 checkUnnamed824(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 = buildUnnamed817(); 177 o.billingId = buildUnnamed824();
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 checkUnnamed817(o.billingId); 189 checkUnnamed824(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 buildUnnamed818() { 195 buildUnnamed825() {
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 checkUnnamed818(core.List<api.BillingInfo> o) { 202 checkUnnamed825(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 = buildUnnamed818(); 213 o.items = buildUnnamed825();
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 checkUnnamed818(o.items); 223 checkUnnamed825(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 buildUnnamed819() { 258 buildUnnamed826() {
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 checkUnnamed819(core.List<core.String> o) { 265 checkUnnamed826(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 buildUnnamed820() { 271 buildUnnamed827() {
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 checkUnnamed820(core.List<core.int> o) { 278 checkUnnamed827(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 buildUnnamed821() { 284 buildUnnamed828() {
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 checkUnnamed821(core.List<core.String> o) { 291 checkUnnamed828(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 buildUnnamed822() { 297 buildUnnamed829() {
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 checkUnnamed822(core.List<core.String> o) { 304 checkUnnamed829(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 = buildUnnamed822(); 315 o.details = buildUnnamed829();
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 checkUnnamed822(o.details); 325 checkUnnamed829(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 buildUnnamed823() { 331 buildUnnamed830() {
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 checkUnnamed823(core.List<api.CreativeCorrections> o) { 338 checkUnnamed830(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 buildUnnamed824() { 344 buildUnnamed831() {
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 checkUnnamed824(core.List<core.String> o) { 351 checkUnnamed831(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 = buildUnnamed824(); 362 o.details = buildUnnamed831();
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 checkUnnamed824(o.details); 372 checkUnnamed831(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 buildUnnamed825() { 378 buildUnnamed832() {
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 checkUnnamed825(core.List<api.CreativeDisapprovalReasons> o) { 385 checkUnnamed832(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 buildUnnamed826() { 412 buildUnnamed833() {
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 checkUnnamed826(core.List<api.CreativeFilteringReasonsReasons> o) { 419 checkUnnamed833(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 = buildUnnamed826(); 431 o.reasons = buildUnnamed833();
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 checkUnnamed826(o.reasons); 441 checkUnnamed833(o.reasons);
442 } 442 }
443 buildCounterCreativeFilteringReasons--; 443 buildCounterCreativeFilteringReasons--;
444 } 444 }
445 445
446 buildUnnamed827() { 446 buildUnnamed834() {
447 var o = new core.List<core.String>(); 447 var o = new core.List<core.String>();
448 o.add("foo"); 448 o.add("foo");
449 o.add("foo"); 449 o.add("foo");
450 return o; 450 return o;
451 } 451 }
452 452
453 checkUnnamed827(core.List<core.String> o) { 453 checkUnnamed834(core.List<core.String> o) {
454 unittest.expect(o, unittest.hasLength(2)); 454 unittest.expect(o, unittest.hasLength(2));
455 unittest.expect(o[0], unittest.equals('foo')); 455 unittest.expect(o[0], unittest.equals('foo'));
456 unittest.expect(o[1], unittest.equals('foo')); 456 unittest.expect(o[1], unittest.equals('foo'));
457 } 457 }
458 458
459 core.int buildCounterCreativeNativeAdAppIcon = 0; 459 core.int buildCounterCreativeNativeAdAppIcon = 0;
460 buildCreativeNativeAdAppIcon() { 460 buildCreativeNativeAdAppIcon() {
461 var o = new api.CreativeNativeAdAppIcon(); 461 var o = new api.CreativeNativeAdAppIcon();
462 buildCounterCreativeNativeAdAppIcon++; 462 buildCounterCreativeNativeAdAppIcon++;
463 if (buildCounterCreativeNativeAdAppIcon < 3) { 463 if (buildCounterCreativeNativeAdAppIcon < 3) {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 checkCreativeNativeAdImage(api.CreativeNativeAdImage o) { 495 checkCreativeNativeAdImage(api.CreativeNativeAdImage o) {
496 buildCounterCreativeNativeAdImage++; 496 buildCounterCreativeNativeAdImage++;
497 if (buildCounterCreativeNativeAdImage < 3) { 497 if (buildCounterCreativeNativeAdImage < 3) {
498 unittest.expect(o.height, unittest.equals(42)); 498 unittest.expect(o.height, unittest.equals(42));
499 unittest.expect(o.url, unittest.equals('foo')); 499 unittest.expect(o.url, unittest.equals('foo'));
500 unittest.expect(o.width, unittest.equals(42)); 500 unittest.expect(o.width, unittest.equals(42));
501 } 501 }
502 buildCounterCreativeNativeAdImage--; 502 buildCounterCreativeNativeAdImage--;
503 } 503 }
504 504
505 buildUnnamed828() { 505 buildUnnamed835() {
506 var o = new core.List<core.String>(); 506 var o = new core.List<core.String>();
507 o.add("foo"); 507 o.add("foo");
508 o.add("foo"); 508 o.add("foo");
509 return o; 509 return o;
510 } 510 }
511 511
512 checkUnnamed828(core.List<core.String> o) { 512 checkUnnamed835(core.List<core.String> o) {
513 unittest.expect(o, unittest.hasLength(2)); 513 unittest.expect(o, unittest.hasLength(2));
514 unittest.expect(o[0], unittest.equals('foo')); 514 unittest.expect(o[0], unittest.equals('foo'));
515 unittest.expect(o[1], unittest.equals('foo')); 515 unittest.expect(o[1], unittest.equals('foo'));
516 } 516 }
517 517
518 core.int buildCounterCreativeNativeAdLogo = 0; 518 core.int buildCounterCreativeNativeAdLogo = 0;
519 buildCreativeNativeAdLogo() { 519 buildCreativeNativeAdLogo() {
520 var o = new api.CreativeNativeAdLogo(); 520 var o = new api.CreativeNativeAdLogo();
521 buildCounterCreativeNativeAdLogo++; 521 buildCounterCreativeNativeAdLogo++;
522 if (buildCounterCreativeNativeAdLogo < 3) { 522 if (buildCounterCreativeNativeAdLogo < 3) {
(...skipping 20 matching lines...) Expand all
543 var o = new api.CreativeNativeAd(); 543 var o = new api.CreativeNativeAd();
544 buildCounterCreativeNativeAd++; 544 buildCounterCreativeNativeAd++;
545 if (buildCounterCreativeNativeAd < 3) { 545 if (buildCounterCreativeNativeAd < 3) {
546 o.advertiser = "foo"; 546 o.advertiser = "foo";
547 o.appIcon = buildCreativeNativeAdAppIcon(); 547 o.appIcon = buildCreativeNativeAdAppIcon();
548 o.body = "foo"; 548 o.body = "foo";
549 o.callToAction = "foo"; 549 o.callToAction = "foo";
550 o.clickTrackingUrl = "foo"; 550 o.clickTrackingUrl = "foo";
551 o.headline = "foo"; 551 o.headline = "foo";
552 o.image = buildCreativeNativeAdImage(); 552 o.image = buildCreativeNativeAdImage();
553 o.impressionTrackingUrl = buildUnnamed828(); 553 o.impressionTrackingUrl = buildUnnamed835();
554 o.logo = buildCreativeNativeAdLogo(); 554 o.logo = buildCreativeNativeAdLogo();
555 o.price = "foo"; 555 o.price = "foo";
556 o.starRating = 42.0; 556 o.starRating = 42.0;
557 o.store = "foo"; 557 o.store = "foo";
558 } 558 }
559 buildCounterCreativeNativeAd--; 559 buildCounterCreativeNativeAd--;
560 return o; 560 return o;
561 } 561 }
562 562
563 checkCreativeNativeAd(api.CreativeNativeAd o) { 563 checkCreativeNativeAd(api.CreativeNativeAd o) {
564 buildCounterCreativeNativeAd++; 564 buildCounterCreativeNativeAd++;
565 if (buildCounterCreativeNativeAd < 3) { 565 if (buildCounterCreativeNativeAd < 3) {
566 unittest.expect(o.advertiser, unittest.equals('foo')); 566 unittest.expect(o.advertiser, unittest.equals('foo'));
567 checkCreativeNativeAdAppIcon(o.appIcon); 567 checkCreativeNativeAdAppIcon(o.appIcon);
568 unittest.expect(o.body, unittest.equals('foo')); 568 unittest.expect(o.body, unittest.equals('foo'));
569 unittest.expect(o.callToAction, unittest.equals('foo')); 569 unittest.expect(o.callToAction, unittest.equals('foo'));
570 unittest.expect(o.clickTrackingUrl, unittest.equals('foo')); 570 unittest.expect(o.clickTrackingUrl, unittest.equals('foo'));
571 unittest.expect(o.headline, unittest.equals('foo')); 571 unittest.expect(o.headline, unittest.equals('foo'));
572 checkCreativeNativeAdImage(o.image); 572 checkCreativeNativeAdImage(o.image);
573 checkUnnamed828(o.impressionTrackingUrl); 573 checkUnnamed835(o.impressionTrackingUrl);
574 checkCreativeNativeAdLogo(o.logo); 574 checkCreativeNativeAdLogo(o.logo);
575 unittest.expect(o.price, unittest.equals('foo')); 575 unittest.expect(o.price, unittest.equals('foo'));
576 unittest.expect(o.starRating, unittest.equals(42.0)); 576 unittest.expect(o.starRating, unittest.equals(42.0));
577 unittest.expect(o.store, unittest.equals('foo')); 577 unittest.expect(o.store, unittest.equals('foo'));
578 } 578 }
579 buildCounterCreativeNativeAd--; 579 buildCounterCreativeNativeAd--;
580 } 580 }
581 581
582 buildUnnamed829() { 582 buildUnnamed836() {
583 var o = new core.List<core.int>(); 583 var o = new core.List<core.int>();
584 o.add(42); 584 o.add(42);
585 o.add(42); 585 o.add(42);
586 return o; 586 return o;
587 } 587 }
588 588
589 checkUnnamed829(core.List<core.int> o) { 589 checkUnnamed836(core.List<core.int> o) {
590 unittest.expect(o, unittest.hasLength(2)); 590 unittest.expect(o, unittest.hasLength(2));
591 unittest.expect(o[0], unittest.equals(42)); 591 unittest.expect(o[0], unittest.equals(42));
592 unittest.expect(o[1], unittest.equals(42)); 592 unittest.expect(o[1], unittest.equals(42));
593 } 593 }
594 594
595 buildUnnamed830() { 595 buildUnnamed837() {
596 var o = new core.List<core.int>(); 596 var o = new core.List<core.int>();
597 o.add(42); 597 o.add(42);
598 o.add(42); 598 o.add(42);
599 return o; 599 return o;
600 } 600 }
601 601
602 checkUnnamed830(core.List<core.int> o) { 602 checkUnnamed837(core.List<core.int> o) {
603 unittest.expect(o, unittest.hasLength(2)); 603 unittest.expect(o, unittest.hasLength(2));
604 unittest.expect(o[0], unittest.equals(42)); 604 unittest.expect(o[0], unittest.equals(42));
605 unittest.expect(o[1], unittest.equals(42)); 605 unittest.expect(o[1], unittest.equals(42));
606 } 606 }
607 607
608 buildUnnamed831() { 608 buildUnnamed838() {
609 var o = new core.List<core.int>(); 609 var o = new core.List<core.int>();
610 o.add(42); 610 o.add(42);
611 o.add(42); 611 o.add(42);
612 return o; 612 return o;
613 } 613 }
614 614
615 checkUnnamed831(core.List<core.int> o) { 615 checkUnnamed838(core.List<core.int> o) {
616 unittest.expect(o, unittest.hasLength(2)); 616 unittest.expect(o, unittest.hasLength(2));
617 unittest.expect(o[0], unittest.equals(42)); 617 unittest.expect(o[0], unittest.equals(42));
618 unittest.expect(o[1], unittest.equals(42)); 618 unittest.expect(o[1], unittest.equals(42));
619 } 619 }
620 620
621 buildUnnamed832() { 621 buildUnnamed839() {
622 var o = new core.List<core.int>(); 622 var o = new core.List<core.int>();
623 o.add(42); 623 o.add(42);
624 o.add(42); 624 o.add(42);
625 return o; 625 return o;
626 } 626 }
627 627
628 checkUnnamed832(core.List<core.int> o) { 628 checkUnnamed839(core.List<core.int> o) {
629 unittest.expect(o, unittest.hasLength(2)); 629 unittest.expect(o, unittest.hasLength(2));
630 unittest.expect(o[0], unittest.equals(42)); 630 unittest.expect(o[0], unittest.equals(42));
631 unittest.expect(o[1], unittest.equals(42)); 631 unittest.expect(o[1], unittest.equals(42));
632 } 632 }
633 633
634 core.int buildCounterCreative = 0; 634 core.int buildCounterCreative = 0;
635 buildCreative() { 635 buildCreative() {
636 var o = new api.Creative(); 636 var o = new api.Creative();
637 buildCounterCreative++; 637 buildCounterCreative++;
638 if (buildCounterCreative < 3) { 638 if (buildCounterCreative < 3) {
639 o.HTMLSnippet = "foo"; 639 o.HTMLSnippet = "foo";
640 o.accountId = 42; 640 o.accountId = 42;
641 o.advertiserId = buildUnnamed819(); 641 o.advertiserId = buildUnnamed826();
642 o.advertiserName = "foo"; 642 o.advertiserName = "foo";
643 o.agencyId = "foo"; 643 o.agencyId = "foo";
644 o.apiUploadTimestamp = core.DateTime.parse("2002-02-27T14:01:02"); 644 o.apiUploadTimestamp = core.DateTime.parse("2002-02-27T14:01:02");
645 o.attribute = buildUnnamed820(); 645 o.attribute = buildUnnamed827();
646 o.buyerCreativeId = "foo"; 646 o.buyerCreativeId = "foo";
647 o.clickThroughUrl = buildUnnamed821(); 647 o.clickThroughUrl = buildUnnamed828();
648 o.corrections = buildUnnamed823(); 648 o.corrections = buildUnnamed830();
649 o.disapprovalReasons = buildUnnamed825(); 649 o.disapprovalReasons = buildUnnamed832();
650 o.filteringReasons = buildCreativeFilteringReasons(); 650 o.filteringReasons = buildCreativeFilteringReasons();
651 o.height = 42; 651 o.height = 42;
652 o.impressionTrackingUrl = buildUnnamed827(); 652 o.impressionTrackingUrl = buildUnnamed834();
653 o.kind = "foo"; 653 o.kind = "foo";
654 o.nativeAd = buildCreativeNativeAd(); 654 o.nativeAd = buildCreativeNativeAd();
655 o.productCategories = buildUnnamed829(); 655 o.productCategories = buildUnnamed836();
656 o.restrictedCategories = buildUnnamed830(); 656 o.restrictedCategories = buildUnnamed837();
657 o.sensitiveCategories = buildUnnamed831(); 657 o.sensitiveCategories = buildUnnamed838();
658 o.status = "foo"; 658 o.status = "foo";
659 o.vendorType = buildUnnamed832(); 659 o.vendorType = buildUnnamed839();
660 o.version = 42; 660 o.version = 42;
661 o.videoURL = "foo"; 661 o.videoURL = "foo";
662 o.width = 42; 662 o.width = 42;
663 } 663 }
664 buildCounterCreative--; 664 buildCounterCreative--;
665 return o; 665 return o;
666 } 666 }
667 667
668 checkCreative(api.Creative o) { 668 checkCreative(api.Creative o) {
669 buildCounterCreative++; 669 buildCounterCreative++;
670 if (buildCounterCreative < 3) { 670 if (buildCounterCreative < 3) {
671 unittest.expect(o.HTMLSnippet, unittest.equals('foo')); 671 unittest.expect(o.HTMLSnippet, unittest.equals('foo'));
672 unittest.expect(o.accountId, unittest.equals(42)); 672 unittest.expect(o.accountId, unittest.equals(42));
673 checkUnnamed819(o.advertiserId); 673 checkUnnamed826(o.advertiserId);
674 unittest.expect(o.advertiserName, unittest.equals('foo')); 674 unittest.expect(o.advertiserName, unittest.equals('foo'));
675 unittest.expect(o.agencyId, unittest.equals('foo')); 675 unittest.expect(o.agencyId, unittest.equals('foo'));
676 unittest.expect(o.apiUploadTimestamp, unittest.equals(core.DateTime.parse("2 002-02-27T14:01:02"))); 676 unittest.expect(o.apiUploadTimestamp, unittest.equals(core.DateTime.parse("2 002-02-27T14:01:02")));
677 checkUnnamed820(o.attribute); 677 checkUnnamed827(o.attribute);
678 unittest.expect(o.buyerCreativeId, unittest.equals('foo')); 678 unittest.expect(o.buyerCreativeId, unittest.equals('foo'));
679 checkUnnamed821(o.clickThroughUrl); 679 checkUnnamed828(o.clickThroughUrl);
680 checkUnnamed823(o.corrections); 680 checkUnnamed830(o.corrections);
681 checkUnnamed825(o.disapprovalReasons); 681 checkUnnamed832(o.disapprovalReasons);
682 checkCreativeFilteringReasons(o.filteringReasons); 682 checkCreativeFilteringReasons(o.filteringReasons);
683 unittest.expect(o.height, unittest.equals(42)); 683 unittest.expect(o.height, unittest.equals(42));
684 checkUnnamed827(o.impressionTrackingUrl); 684 checkUnnamed834(o.impressionTrackingUrl);
685 unittest.expect(o.kind, unittest.equals('foo')); 685 unittest.expect(o.kind, unittest.equals('foo'));
686 checkCreativeNativeAd(o.nativeAd); 686 checkCreativeNativeAd(o.nativeAd);
687 checkUnnamed829(o.productCategories); 687 checkUnnamed836(o.productCategories);
688 checkUnnamed830(o.restrictedCategories); 688 checkUnnamed837(o.restrictedCategories);
689 checkUnnamed831(o.sensitiveCategories); 689 checkUnnamed838(o.sensitiveCategories);
690 unittest.expect(o.status, unittest.equals('foo')); 690 unittest.expect(o.status, unittest.equals('foo'));
691 checkUnnamed832(o.vendorType); 691 checkUnnamed839(o.vendorType);
692 unittest.expect(o.version, unittest.equals(42)); 692 unittest.expect(o.version, unittest.equals(42));
693 unittest.expect(o.videoURL, unittest.equals('foo')); 693 unittest.expect(o.videoURL, unittest.equals('foo'));
694 unittest.expect(o.width, unittest.equals(42)); 694 unittest.expect(o.width, unittest.equals(42));
695 } 695 }
696 buildCounterCreative--; 696 buildCounterCreative--;
697 } 697 }
698 698
699 buildUnnamed833() { 699 buildUnnamed840() {
700 var o = new core.List<api.Creative>(); 700 var o = new core.List<api.Creative>();
701 o.add(buildCreative()); 701 o.add(buildCreative());
702 o.add(buildCreative()); 702 o.add(buildCreative());
703 return o; 703 return o;
704 } 704 }
705 705
706 checkUnnamed833(core.List<api.Creative> o) { 706 checkUnnamed840(core.List<api.Creative> o) {
707 unittest.expect(o, unittest.hasLength(2)); 707 unittest.expect(o, unittest.hasLength(2));
708 checkCreative(o[0]); 708 checkCreative(o[0]);
709 checkCreative(o[1]); 709 checkCreative(o[1]);
710 } 710 }
711 711
712 core.int buildCounterCreativesList = 0; 712 core.int buildCounterCreativesList = 0;
713 buildCreativesList() { 713 buildCreativesList() {
714 var o = new api.CreativesList(); 714 var o = new api.CreativesList();
715 buildCounterCreativesList++; 715 buildCounterCreativesList++;
716 if (buildCounterCreativesList < 3) { 716 if (buildCounterCreativesList < 3) {
717 o.items = buildUnnamed833(); 717 o.items = buildUnnamed840();
718 o.kind = "foo"; 718 o.kind = "foo";
719 o.nextPageToken = "foo"; 719 o.nextPageToken = "foo";
720 } 720 }
721 buildCounterCreativesList--; 721 buildCounterCreativesList--;
722 return o; 722 return o;
723 } 723 }
724 724
725 checkCreativesList(api.CreativesList o) { 725 checkCreativesList(api.CreativesList o) {
726 buildCounterCreativesList++; 726 buildCounterCreativesList++;
727 if (buildCounterCreativesList < 3) { 727 if (buildCounterCreativesList < 3) {
728 checkUnnamed833(o.items); 728 checkUnnamed840(o.items);
729 unittest.expect(o.kind, unittest.equals('foo')); 729 unittest.expect(o.kind, unittest.equals('foo'));
730 unittest.expect(o.nextPageToken, unittest.equals('foo')); 730 unittest.expect(o.nextPageToken, unittest.equals('foo'));
731 } 731 }
732 buildCounterCreativesList--; 732 buildCounterCreativesList--;
733 } 733 }
734 734
735 core.int buildCounterDirectDeal = 0; 735 core.int buildCounterDirectDeal = 0;
736 buildDirectDeal() { 736 buildDirectDeal() {
737 var o = new api.DirectDeal(); 737 var o = new api.DirectDeal();
738 buildCounterDirectDeal++; 738 buildCounterDirectDeal++;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
772 unittest.expect(o.kind, unittest.equals('foo')); 772 unittest.expect(o.kind, unittest.equals('foo'));
773 unittest.expect(o.name, unittest.equals('foo')); 773 unittest.expect(o.name, unittest.equals('foo'));
774 unittest.expect(o.privateExchangeMinCpm, unittest.equals('foo')); 774 unittest.expect(o.privateExchangeMinCpm, unittest.equals('foo'));
775 unittest.expect(o.publisherBlocksOverriden, unittest.isTrue); 775 unittest.expect(o.publisherBlocksOverriden, unittest.isTrue);
776 unittest.expect(o.sellerNetwork, unittest.equals('foo')); 776 unittest.expect(o.sellerNetwork, unittest.equals('foo'));
777 unittest.expect(o.startTime, unittest.equals('foo')); 777 unittest.expect(o.startTime, unittest.equals('foo'));
778 } 778 }
779 buildCounterDirectDeal--; 779 buildCounterDirectDeal--;
780 } 780 }
781 781
782 buildUnnamed834() { 782 buildUnnamed841() {
783 var o = new core.List<api.DirectDeal>(); 783 var o = new core.List<api.DirectDeal>();
784 o.add(buildDirectDeal()); 784 o.add(buildDirectDeal());
785 o.add(buildDirectDeal()); 785 o.add(buildDirectDeal());
786 return o; 786 return o;
787 } 787 }
788 788
789 checkUnnamed834(core.List<api.DirectDeal> o) { 789 checkUnnamed841(core.List<api.DirectDeal> o) {
790 unittest.expect(o, unittest.hasLength(2)); 790 unittest.expect(o, unittest.hasLength(2));
791 checkDirectDeal(o[0]); 791 checkDirectDeal(o[0]);
792 checkDirectDeal(o[1]); 792 checkDirectDeal(o[1]);
793 } 793 }
794 794
795 core.int buildCounterDirectDealsList = 0; 795 core.int buildCounterDirectDealsList = 0;
796 buildDirectDealsList() { 796 buildDirectDealsList() {
797 var o = new api.DirectDealsList(); 797 var o = new api.DirectDealsList();
798 buildCounterDirectDealsList++; 798 buildCounterDirectDealsList++;
799 if (buildCounterDirectDealsList < 3) { 799 if (buildCounterDirectDealsList < 3) {
800 o.directDeals = buildUnnamed834(); 800 o.directDeals = buildUnnamed841();
801 o.kind = "foo"; 801 o.kind = "foo";
802 } 802 }
803 buildCounterDirectDealsList--; 803 buildCounterDirectDealsList--;
804 return o; 804 return o;
805 } 805 }
806 806
807 checkDirectDealsList(api.DirectDealsList o) { 807 checkDirectDealsList(api.DirectDealsList o) {
808 buildCounterDirectDealsList++; 808 buildCounterDirectDealsList++;
809 if (buildCounterDirectDealsList < 3) { 809 if (buildCounterDirectDealsList < 3) {
810 checkUnnamed834(o.directDeals); 810 checkUnnamed841(o.directDeals);
811 unittest.expect(o.kind, unittest.equals('foo')); 811 unittest.expect(o.kind, unittest.equals('foo'));
812 } 812 }
813 buildCounterDirectDealsList--; 813 buildCounterDirectDealsList--;
814 } 814 }
815 815
816 buildUnnamed835() { 816 buildUnnamed842() {
817 var o = new core.List<core.Object>(); 817 var o = new core.List<core.Object>();
818 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 818 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
819 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 819 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
820 return o; 820 return o;
821 } 821 }
822 822
823 checkUnnamed835(core.List<core.Object> o) { 823 checkUnnamed842(core.List<core.Object> o) {
824 unittest.expect(o, unittest.hasLength(2)); 824 unittest.expect(o, unittest.hasLength(2));
825 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')); 825 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'));
826 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')); 826 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'));
827 } 827 }
828 828
829 buildUnnamed836() { 829 buildUnnamed843() {
830 var o = new core.List<core.Object>(); 830 var o = new core.List<core.Object>();
831 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 831 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
832 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 832 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
833 return o; 833 return o;
834 } 834 }
835 835
836 checkUnnamed836(core.List<core.Object> o) { 836 checkUnnamed843(core.List<core.Object> o) {
837 unittest.expect(o, unittest.hasLength(2)); 837 unittest.expect(o, unittest.hasLength(2));
838 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')); 838 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'));
839 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')); 839 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'));
840 } 840 }
841 841
842 buildUnnamed837() { 842 buildUnnamed844() {
843 var o = new core.List<core.Object>(); 843 var o = new core.List<core.Object>();
844 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 844 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
845 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 845 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
846 return o; 846 return o;
847 } 847 }
848 848
849 checkUnnamed837(core.List<core.Object> o) { 849 checkUnnamed844(core.List<core.Object> o) {
850 unittest.expect(o, unittest.hasLength(2)); 850 unittest.expect(o, unittest.hasLength(2));
851 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')); 851 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'));
852 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')); 852 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'));
853 } 853 }
854 854
855 buildUnnamed838() { 855 buildUnnamed845() {
856 var o = new core.List<core.Object>(); 856 var o = new core.List<core.Object>();
857 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 857 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
858 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 858 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
859 return o; 859 return o;
860 } 860 }
861 861
862 checkUnnamed838(core.List<core.Object> o) { 862 checkUnnamed845(core.List<core.Object> o) {
863 unittest.expect(o, unittest.hasLength(2)); 863 unittest.expect(o, unittest.hasLength(2));
864 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')); 864 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'));
865 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')); 865 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'));
866 } 866 }
867 867
868 core.int buildCounterPerformanceReport = 0; 868 core.int buildCounterPerformanceReport = 0;
869 buildPerformanceReport() { 869 buildPerformanceReport() {
870 var o = new api.PerformanceReport(); 870 var o = new api.PerformanceReport();
871 buildCounterPerformanceReport++; 871 buildCounterPerformanceReport++;
872 if (buildCounterPerformanceReport < 3) { 872 if (buildCounterPerformanceReport < 3) {
873 o.bidRate = 42.0; 873 o.bidRate = 42.0;
874 o.bidRequestRate = 42.0; 874 o.bidRequestRate = 42.0;
875 o.calloutStatusRate = buildUnnamed835(); 875 o.calloutStatusRate = buildUnnamed842();
876 o.cookieMatcherStatusRate = buildUnnamed836(); 876 o.cookieMatcherStatusRate = buildUnnamed843();
877 o.creativeStatusRate = buildUnnamed837(); 877 o.creativeStatusRate = buildUnnamed844();
878 o.filteredBidRate = 42.0; 878 o.filteredBidRate = 42.0;
879 o.hostedMatchStatusRate = buildUnnamed838(); 879 o.hostedMatchStatusRate = buildUnnamed845();
880 o.inventoryMatchRate = 42.0; 880 o.inventoryMatchRate = 42.0;
881 o.kind = "foo"; 881 o.kind = "foo";
882 o.latency50thPercentile = 42.0; 882 o.latency50thPercentile = 42.0;
883 o.latency85thPercentile = 42.0; 883 o.latency85thPercentile = 42.0;
884 o.latency95thPercentile = 42.0; 884 o.latency95thPercentile = 42.0;
885 o.noQuotaInRegion = 42.0; 885 o.noQuotaInRegion = 42.0;
886 o.outOfQuota = 42.0; 886 o.outOfQuota = 42.0;
887 o.pixelMatchRequests = 42.0; 887 o.pixelMatchRequests = 42.0;
888 o.pixelMatchResponses = 42.0; 888 o.pixelMatchResponses = 42.0;
889 o.quotaConfiguredLimit = 42.0; 889 o.quotaConfiguredLimit = 42.0;
890 o.quotaThrottledLimit = 42.0; 890 o.quotaThrottledLimit = 42.0;
891 o.region = "foo"; 891 o.region = "foo";
892 o.successfulRequestRate = 42.0; 892 o.successfulRequestRate = 42.0;
893 o.timestamp = "foo"; 893 o.timestamp = "foo";
894 o.unsuccessfulRequestRate = 42.0; 894 o.unsuccessfulRequestRate = 42.0;
895 } 895 }
896 buildCounterPerformanceReport--; 896 buildCounterPerformanceReport--;
897 return o; 897 return o;
898 } 898 }
899 899
900 checkPerformanceReport(api.PerformanceReport o) { 900 checkPerformanceReport(api.PerformanceReport o) {
901 buildCounterPerformanceReport++; 901 buildCounterPerformanceReport++;
902 if (buildCounterPerformanceReport < 3) { 902 if (buildCounterPerformanceReport < 3) {
903 unittest.expect(o.bidRate, unittest.equals(42.0)); 903 unittest.expect(o.bidRate, unittest.equals(42.0));
904 unittest.expect(o.bidRequestRate, unittest.equals(42.0)); 904 unittest.expect(o.bidRequestRate, unittest.equals(42.0));
905 checkUnnamed835(o.calloutStatusRate); 905 checkUnnamed842(o.calloutStatusRate);
906 checkUnnamed836(o.cookieMatcherStatusRate); 906 checkUnnamed843(o.cookieMatcherStatusRate);
907 checkUnnamed837(o.creativeStatusRate); 907 checkUnnamed844(o.creativeStatusRate);
908 unittest.expect(o.filteredBidRate, unittest.equals(42.0)); 908 unittest.expect(o.filteredBidRate, unittest.equals(42.0));
909 checkUnnamed838(o.hostedMatchStatusRate); 909 checkUnnamed845(o.hostedMatchStatusRate);
910 unittest.expect(o.inventoryMatchRate, unittest.equals(42.0)); 910 unittest.expect(o.inventoryMatchRate, unittest.equals(42.0));
911 unittest.expect(o.kind, unittest.equals('foo')); 911 unittest.expect(o.kind, unittest.equals('foo'));
912 unittest.expect(o.latency50thPercentile, unittest.equals(42.0)); 912 unittest.expect(o.latency50thPercentile, unittest.equals(42.0));
913 unittest.expect(o.latency85thPercentile, unittest.equals(42.0)); 913 unittest.expect(o.latency85thPercentile, unittest.equals(42.0));
914 unittest.expect(o.latency95thPercentile, unittest.equals(42.0)); 914 unittest.expect(o.latency95thPercentile, unittest.equals(42.0));
915 unittest.expect(o.noQuotaInRegion, unittest.equals(42.0)); 915 unittest.expect(o.noQuotaInRegion, unittest.equals(42.0));
916 unittest.expect(o.outOfQuota, unittest.equals(42.0)); 916 unittest.expect(o.outOfQuota, unittest.equals(42.0));
917 unittest.expect(o.pixelMatchRequests, unittest.equals(42.0)); 917 unittest.expect(o.pixelMatchRequests, unittest.equals(42.0));
918 unittest.expect(o.pixelMatchResponses, unittest.equals(42.0)); 918 unittest.expect(o.pixelMatchResponses, unittest.equals(42.0));
919 unittest.expect(o.quotaConfiguredLimit, unittest.equals(42.0)); 919 unittest.expect(o.quotaConfiguredLimit, unittest.equals(42.0));
920 unittest.expect(o.quotaThrottledLimit, unittest.equals(42.0)); 920 unittest.expect(o.quotaThrottledLimit, unittest.equals(42.0));
921 unittest.expect(o.region, unittest.equals('foo')); 921 unittest.expect(o.region, unittest.equals('foo'));
922 unittest.expect(o.successfulRequestRate, unittest.equals(42.0)); 922 unittest.expect(o.successfulRequestRate, unittest.equals(42.0));
923 unittest.expect(o.timestamp, unittest.equals('foo')); 923 unittest.expect(o.timestamp, unittest.equals('foo'));
924 unittest.expect(o.unsuccessfulRequestRate, unittest.equals(42.0)); 924 unittest.expect(o.unsuccessfulRequestRate, unittest.equals(42.0));
925 } 925 }
926 buildCounterPerformanceReport--; 926 buildCounterPerformanceReport--;
927 } 927 }
928 928
929 buildUnnamed839() { 929 buildUnnamed846() {
930 var o = new core.List<api.PerformanceReport>(); 930 var o = new core.List<api.PerformanceReport>();
931 o.add(buildPerformanceReport()); 931 o.add(buildPerformanceReport());
932 o.add(buildPerformanceReport()); 932 o.add(buildPerformanceReport());
933 return o; 933 return o;
934 } 934 }
935 935
936 checkUnnamed839(core.List<api.PerformanceReport> o) { 936 checkUnnamed846(core.List<api.PerformanceReport> o) {
937 unittest.expect(o, unittest.hasLength(2)); 937 unittest.expect(o, unittest.hasLength(2));
938 checkPerformanceReport(o[0]); 938 checkPerformanceReport(o[0]);
939 checkPerformanceReport(o[1]); 939 checkPerformanceReport(o[1]);
940 } 940 }
941 941
942 core.int buildCounterPerformanceReportList = 0; 942 core.int buildCounterPerformanceReportList = 0;
943 buildPerformanceReportList() { 943 buildPerformanceReportList() {
944 var o = new api.PerformanceReportList(); 944 var o = new api.PerformanceReportList();
945 buildCounterPerformanceReportList++; 945 buildCounterPerformanceReportList++;
946 if (buildCounterPerformanceReportList < 3) { 946 if (buildCounterPerformanceReportList < 3) {
947 o.kind = "foo"; 947 o.kind = "foo";
948 o.performanceReport = buildUnnamed839(); 948 o.performanceReport = buildUnnamed846();
949 } 949 }
950 buildCounterPerformanceReportList--; 950 buildCounterPerformanceReportList--;
951 return o; 951 return o;
952 } 952 }
953 953
954 checkPerformanceReportList(api.PerformanceReportList o) { 954 checkPerformanceReportList(api.PerformanceReportList o) {
955 buildCounterPerformanceReportList++; 955 buildCounterPerformanceReportList++;
956 if (buildCounterPerformanceReportList < 3) { 956 if (buildCounterPerformanceReportList < 3) {
957 unittest.expect(o.kind, unittest.equals('foo')); 957 unittest.expect(o.kind, unittest.equals('foo'));
958 checkUnnamed839(o.performanceReport); 958 checkUnnamed846(o.performanceReport);
959 } 959 }
960 buildCounterPerformanceReportList--; 960 buildCounterPerformanceReportList--;
961 } 961 }
962 962
963 buildUnnamed840() { 963 buildUnnamed847() {
964 var o = new core.List<core.String>(); 964 var o = new core.List<core.String>();
965 o.add("foo"); 965 o.add("foo");
966 o.add("foo"); 966 o.add("foo");
967 return o; 967 return o;
968 } 968 }
969 969
970 checkUnnamed840(core.List<core.String> o) { 970 checkUnnamed847(core.List<core.String> o) {
971 unittest.expect(o, unittest.hasLength(2)); 971 unittest.expect(o, unittest.hasLength(2));
972 unittest.expect(o[0], unittest.equals('foo')); 972 unittest.expect(o[0], unittest.equals('foo'));
973 unittest.expect(o[1], unittest.equals('foo')); 973 unittest.expect(o[1], unittest.equals('foo'));
974 } 974 }
975 975
976 core.int buildCounterPretargetingConfigDimensions = 0; 976 core.int buildCounterPretargetingConfigDimensions = 0;
977 buildPretargetingConfigDimensions() { 977 buildPretargetingConfigDimensions() {
978 var o = new api.PretargetingConfigDimensions(); 978 var o = new api.PretargetingConfigDimensions();
979 buildCounterPretargetingConfigDimensions++; 979 buildCounterPretargetingConfigDimensions++;
980 if (buildCounterPretargetingConfigDimensions < 3) { 980 if (buildCounterPretargetingConfigDimensions < 3) {
981 o.height = "foo"; 981 o.height = "foo";
982 o.width = "foo"; 982 o.width = "foo";
983 } 983 }
984 buildCounterPretargetingConfigDimensions--; 984 buildCounterPretargetingConfigDimensions--;
985 return o; 985 return o;
986 } 986 }
987 987
988 checkPretargetingConfigDimensions(api.PretargetingConfigDimensions o) { 988 checkPretargetingConfigDimensions(api.PretargetingConfigDimensions o) {
989 buildCounterPretargetingConfigDimensions++; 989 buildCounterPretargetingConfigDimensions++;
990 if (buildCounterPretargetingConfigDimensions < 3) { 990 if (buildCounterPretargetingConfigDimensions < 3) {
991 unittest.expect(o.height, unittest.equals('foo')); 991 unittest.expect(o.height, unittest.equals('foo'));
992 unittest.expect(o.width, unittest.equals('foo')); 992 unittest.expect(o.width, unittest.equals('foo'));
993 } 993 }
994 buildCounterPretargetingConfigDimensions--; 994 buildCounterPretargetingConfigDimensions--;
995 } 995 }
996 996
997 buildUnnamed841() { 997 buildUnnamed848() {
998 var o = new core.List<api.PretargetingConfigDimensions>(); 998 var o = new core.List<api.PretargetingConfigDimensions>();
999 o.add(buildPretargetingConfigDimensions()); 999 o.add(buildPretargetingConfigDimensions());
1000 o.add(buildPretargetingConfigDimensions()); 1000 o.add(buildPretargetingConfigDimensions());
1001 return o; 1001 return o;
1002 } 1002 }
1003 1003
1004 checkUnnamed841(core.List<api.PretargetingConfigDimensions> o) { 1004 checkUnnamed848(core.List<api.PretargetingConfigDimensions> o) {
1005 unittest.expect(o, unittest.hasLength(2)); 1005 unittest.expect(o, unittest.hasLength(2));
1006 checkPretargetingConfigDimensions(o[0]); 1006 checkPretargetingConfigDimensions(o[0]);
1007 checkPretargetingConfigDimensions(o[1]); 1007 checkPretargetingConfigDimensions(o[1]);
1008 } 1008 }
1009 1009
1010 buildUnnamed842() { 1010 buildUnnamed849() {
1011 var o = new core.List<core.String>(); 1011 var o = new core.List<core.String>();
1012 o.add("foo"); 1012 o.add("foo");
1013 o.add("foo"); 1013 o.add("foo");
1014 return o; 1014 return o;
1015 } 1015 }
1016 1016
1017 checkUnnamed842(core.List<core.String> o) { 1017 checkUnnamed849(core.List<core.String> o) {
1018 unittest.expect(o, unittest.hasLength(2)); 1018 unittest.expect(o, unittest.hasLength(2));
1019 unittest.expect(o[0], unittest.equals('foo')); 1019 unittest.expect(o[0], unittest.equals('foo'));
1020 unittest.expect(o[1], unittest.equals('foo')); 1020 unittest.expect(o[1], unittest.equals('foo'));
1021 } 1021 }
1022 1022
1023 buildUnnamed843() { 1023 buildUnnamed850() {
1024 var o = new core.List<core.String>(); 1024 var o = new core.List<core.String>();
1025 o.add("foo"); 1025 o.add("foo");
1026 o.add("foo"); 1026 o.add("foo");
1027 return o; 1027 return o;
1028 } 1028 }
1029 1029
1030 checkUnnamed843(core.List<core.String> o) { 1030 checkUnnamed850(core.List<core.String> o) {
1031 unittest.expect(o, unittest.hasLength(2)); 1031 unittest.expect(o, unittest.hasLength(2));
1032 unittest.expect(o[0], unittest.equals('foo')); 1032 unittest.expect(o[0], unittest.equals('foo'));
1033 unittest.expect(o[1], unittest.equals('foo')); 1033 unittest.expect(o[1], unittest.equals('foo'));
1034 } 1034 }
1035 1035
1036 core.int buildCounterPretargetingConfigExcludedPlacements = 0; 1036 core.int buildCounterPretargetingConfigExcludedPlacements = 0;
1037 buildPretargetingConfigExcludedPlacements() { 1037 buildPretargetingConfigExcludedPlacements() {
1038 var o = new api.PretargetingConfigExcludedPlacements(); 1038 var o = new api.PretargetingConfigExcludedPlacements();
1039 buildCounterPretargetingConfigExcludedPlacements++; 1039 buildCounterPretargetingConfigExcludedPlacements++;
1040 if (buildCounterPretargetingConfigExcludedPlacements < 3) { 1040 if (buildCounterPretargetingConfigExcludedPlacements < 3) {
1041 o.token = "foo"; 1041 o.token = "foo";
1042 o.type = "foo"; 1042 o.type = "foo";
1043 } 1043 }
1044 buildCounterPretargetingConfigExcludedPlacements--; 1044 buildCounterPretargetingConfigExcludedPlacements--;
1045 return o; 1045 return o;
1046 } 1046 }
1047 1047
1048 checkPretargetingConfigExcludedPlacements(api.PretargetingConfigExcludedPlacemen ts o) { 1048 checkPretargetingConfigExcludedPlacements(api.PretargetingConfigExcludedPlacemen ts o) {
1049 buildCounterPretargetingConfigExcludedPlacements++; 1049 buildCounterPretargetingConfigExcludedPlacements++;
1050 if (buildCounterPretargetingConfigExcludedPlacements < 3) { 1050 if (buildCounterPretargetingConfigExcludedPlacements < 3) {
1051 unittest.expect(o.token, unittest.equals('foo')); 1051 unittest.expect(o.token, unittest.equals('foo'));
1052 unittest.expect(o.type, unittest.equals('foo')); 1052 unittest.expect(o.type, unittest.equals('foo'));
1053 } 1053 }
1054 buildCounterPretargetingConfigExcludedPlacements--; 1054 buildCounterPretargetingConfigExcludedPlacements--;
1055 } 1055 }
1056 1056
1057 buildUnnamed844() { 1057 buildUnnamed851() {
1058 var o = new core.List<api.PretargetingConfigExcludedPlacements>(); 1058 var o = new core.List<api.PretargetingConfigExcludedPlacements>();
1059 o.add(buildPretargetingConfigExcludedPlacements()); 1059 o.add(buildPretargetingConfigExcludedPlacements());
1060 o.add(buildPretargetingConfigExcludedPlacements()); 1060 o.add(buildPretargetingConfigExcludedPlacements());
1061 return o; 1061 return o;
1062 } 1062 }
1063 1063
1064 checkUnnamed844(core.List<api.PretargetingConfigExcludedPlacements> o) { 1064 checkUnnamed851(core.List<api.PretargetingConfigExcludedPlacements> o) {
1065 unittest.expect(o, unittest.hasLength(2)); 1065 unittest.expect(o, unittest.hasLength(2));
1066 checkPretargetingConfigExcludedPlacements(o[0]); 1066 checkPretargetingConfigExcludedPlacements(o[0]);
1067 checkPretargetingConfigExcludedPlacements(o[1]); 1067 checkPretargetingConfigExcludedPlacements(o[1]);
1068 } 1068 }
1069 1069
1070 buildUnnamed845() { 1070 buildUnnamed852() {
1071 var o = new core.List<core.String>(); 1071 var o = new core.List<core.String>();
1072 o.add("foo"); 1072 o.add("foo");
1073 o.add("foo"); 1073 o.add("foo");
1074 return o; 1074 return o;
1075 } 1075 }
1076 1076
1077 checkUnnamed845(core.List<core.String> o) { 1077 checkUnnamed852(core.List<core.String> o) {
1078 unittest.expect(o, unittest.hasLength(2)); 1078 unittest.expect(o, unittest.hasLength(2));
1079 unittest.expect(o[0], unittest.equals('foo')); 1079 unittest.expect(o[0], unittest.equals('foo'));
1080 unittest.expect(o[1], unittest.equals('foo')); 1080 unittest.expect(o[1], unittest.equals('foo'));
1081 } 1081 }
1082 1082
1083 buildUnnamed846() { 1083 buildUnnamed853() {
1084 var o = new core.List<core.String>(); 1084 var o = new core.List<core.String>();
1085 o.add("foo"); 1085 o.add("foo");
1086 o.add("foo"); 1086 o.add("foo");
1087 return o; 1087 return o;
1088 } 1088 }
1089 1089
1090 checkUnnamed846(core.List<core.String> o) { 1090 checkUnnamed853(core.List<core.String> o) {
1091 unittest.expect(o, unittest.hasLength(2)); 1091 unittest.expect(o, unittest.hasLength(2));
1092 unittest.expect(o[0], unittest.equals('foo')); 1092 unittest.expect(o[0], unittest.equals('foo'));
1093 unittest.expect(o[1], unittest.equals('foo')); 1093 unittest.expect(o[1], unittest.equals('foo'));
1094 } 1094 }
1095 1095
1096 buildUnnamed847() { 1096 buildUnnamed854() {
1097 var o = new core.List<core.String>(); 1097 var o = new core.List<core.String>();
1098 o.add("foo"); 1098 o.add("foo");
1099 o.add("foo"); 1099 o.add("foo");
1100 return o; 1100 return o;
1101 } 1101 }
1102 1102
1103 checkUnnamed847(core.List<core.String> o) { 1103 checkUnnamed854(core.List<core.String> o) {
1104 unittest.expect(o, unittest.hasLength(2)); 1104 unittest.expect(o, unittest.hasLength(2));
1105 unittest.expect(o[0], unittest.equals('foo')); 1105 unittest.expect(o[0], unittest.equals('foo'));
1106 unittest.expect(o[1], unittest.equals('foo')); 1106 unittest.expect(o[1], unittest.equals('foo'));
1107 } 1107 }
1108 1108
1109 buildUnnamed848() { 1109 buildUnnamed855() {
1110 var o = new core.List<core.String>(); 1110 var o = new core.List<core.String>();
1111 o.add("foo"); 1111 o.add("foo");
1112 o.add("foo"); 1112 o.add("foo");
1113 return o; 1113 return o;
1114 } 1114 }
1115 1115
1116 checkUnnamed848(core.List<core.String> o) { 1116 checkUnnamed855(core.List<core.String> o) {
1117 unittest.expect(o, unittest.hasLength(2)); 1117 unittest.expect(o, unittest.hasLength(2));
1118 unittest.expect(o[0], unittest.equals('foo')); 1118 unittest.expect(o[0], unittest.equals('foo'));
1119 unittest.expect(o[1], unittest.equals('foo')); 1119 unittest.expect(o[1], unittest.equals('foo'));
1120 } 1120 }
1121 1121
1122 buildUnnamed849() { 1122 buildUnnamed856() {
1123 var o = new core.List<core.String>(); 1123 var o = new core.List<core.String>();
1124 o.add("foo"); 1124 o.add("foo");
1125 o.add("foo"); 1125 o.add("foo");
1126 return o; 1126 return o;
1127 } 1127 }
1128 1128
1129 checkUnnamed849(core.List<core.String> o) { 1129 checkUnnamed856(core.List<core.String> o) {
1130 unittest.expect(o, unittest.hasLength(2)); 1130 unittest.expect(o, unittest.hasLength(2));
1131 unittest.expect(o[0], unittest.equals('foo')); 1131 unittest.expect(o[0], unittest.equals('foo'));
1132 unittest.expect(o[1], unittest.equals('foo')); 1132 unittest.expect(o[1], unittest.equals('foo'));
1133 } 1133 }
1134 1134
1135 buildUnnamed850() { 1135 buildUnnamed857() {
1136 var o = new core.List<core.String>(); 1136 var o = new core.List<core.String>();
1137 o.add("foo"); 1137 o.add("foo");
1138 o.add("foo"); 1138 o.add("foo");
1139 return o; 1139 return o;
1140 } 1140 }
1141 1141
1142 checkUnnamed850(core.List<core.String> o) { 1142 checkUnnamed857(core.List<core.String> o) {
1143 unittest.expect(o, unittest.hasLength(2)); 1143 unittest.expect(o, unittest.hasLength(2));
1144 unittest.expect(o[0], unittest.equals('foo')); 1144 unittest.expect(o[0], unittest.equals('foo'));
1145 unittest.expect(o[1], unittest.equals('foo')); 1145 unittest.expect(o[1], unittest.equals('foo'));
1146 } 1146 }
1147 1147
1148 buildUnnamed851() { 1148 buildUnnamed858() {
1149 var o = new core.List<core.String>(); 1149 var o = new core.List<core.String>();
1150 o.add("foo"); 1150 o.add("foo");
1151 o.add("foo"); 1151 o.add("foo");
1152 return o; 1152 return o;
1153 } 1153 }
1154 1154
1155 checkUnnamed851(core.List<core.String> o) { 1155 checkUnnamed858(core.List<core.String> o) {
1156 unittest.expect(o, unittest.hasLength(2)); 1156 unittest.expect(o, unittest.hasLength(2));
1157 unittest.expect(o[0], unittest.equals('foo')); 1157 unittest.expect(o[0], unittest.equals('foo'));
1158 unittest.expect(o[1], unittest.equals('foo')); 1158 unittest.expect(o[1], unittest.equals('foo'));
1159 } 1159 }
1160 1160
1161 core.int buildCounterPretargetingConfigPlacements = 0; 1161 core.int buildCounterPretargetingConfigPlacements = 0;
1162 buildPretargetingConfigPlacements() { 1162 buildPretargetingConfigPlacements() {
1163 var o = new api.PretargetingConfigPlacements(); 1163 var o = new api.PretargetingConfigPlacements();
1164 buildCounterPretargetingConfigPlacements++; 1164 buildCounterPretargetingConfigPlacements++;
1165 if (buildCounterPretargetingConfigPlacements < 3) { 1165 if (buildCounterPretargetingConfigPlacements < 3) {
1166 o.token = "foo"; 1166 o.token = "foo";
1167 o.type = "foo"; 1167 o.type = "foo";
1168 } 1168 }
1169 buildCounterPretargetingConfigPlacements--; 1169 buildCounterPretargetingConfigPlacements--;
1170 return o; 1170 return o;
1171 } 1171 }
1172 1172
1173 checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) { 1173 checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) {
1174 buildCounterPretargetingConfigPlacements++; 1174 buildCounterPretargetingConfigPlacements++;
1175 if (buildCounterPretargetingConfigPlacements < 3) { 1175 if (buildCounterPretargetingConfigPlacements < 3) {
1176 unittest.expect(o.token, unittest.equals('foo')); 1176 unittest.expect(o.token, unittest.equals('foo'));
1177 unittest.expect(o.type, unittest.equals('foo')); 1177 unittest.expect(o.type, unittest.equals('foo'));
1178 } 1178 }
1179 buildCounterPretargetingConfigPlacements--; 1179 buildCounterPretargetingConfigPlacements--;
1180 } 1180 }
1181 1181
1182 buildUnnamed852() { 1182 buildUnnamed859() {
1183 var o = new core.List<api.PretargetingConfigPlacements>(); 1183 var o = new core.List<api.PretargetingConfigPlacements>();
1184 o.add(buildPretargetingConfigPlacements()); 1184 o.add(buildPretargetingConfigPlacements());
1185 o.add(buildPretargetingConfigPlacements()); 1185 o.add(buildPretargetingConfigPlacements());
1186 return o; 1186 return o;
1187 } 1187 }
1188 1188
1189 checkUnnamed852(core.List<api.PretargetingConfigPlacements> o) { 1189 checkUnnamed859(core.List<api.PretargetingConfigPlacements> o) {
1190 unittest.expect(o, unittest.hasLength(2)); 1190 unittest.expect(o, unittest.hasLength(2));
1191 checkPretargetingConfigPlacements(o[0]); 1191 checkPretargetingConfigPlacements(o[0]);
1192 checkPretargetingConfigPlacements(o[1]); 1192 checkPretargetingConfigPlacements(o[1]);
1193 } 1193 }
1194 1194
1195 buildUnnamed853() { 1195 buildUnnamed860() {
1196 var o = new core.List<core.String>(); 1196 var o = new core.List<core.String>();
1197 o.add("foo"); 1197 o.add("foo");
1198 o.add("foo"); 1198 o.add("foo");
1199 return o; 1199 return o;
1200 } 1200 }
1201 1201
1202 checkUnnamed853(core.List<core.String> o) { 1202 checkUnnamed860(core.List<core.String> o) {
1203 unittest.expect(o, unittest.hasLength(2)); 1203 unittest.expect(o, unittest.hasLength(2));
1204 unittest.expect(o[0], unittest.equals('foo')); 1204 unittest.expect(o[0], unittest.equals('foo'));
1205 unittest.expect(o[1], unittest.equals('foo')); 1205 unittest.expect(o[1], unittest.equals('foo'));
1206 } 1206 }
1207 1207
1208 buildUnnamed854() { 1208 buildUnnamed861() {
1209 var o = new core.List<core.String>(); 1209 var o = new core.List<core.String>();
1210 o.add("foo"); 1210 o.add("foo");
1211 o.add("foo"); 1211 o.add("foo");
1212 return o; 1212 return o;
1213 } 1213 }
1214 1214
1215 checkUnnamed854(core.List<core.String> o) { 1215 checkUnnamed861(core.List<core.String> o) {
1216 unittest.expect(o, unittest.hasLength(2)); 1216 unittest.expect(o, unittest.hasLength(2));
1217 unittest.expect(o[0], unittest.equals('foo')); 1217 unittest.expect(o[0], unittest.equals('foo'));
1218 unittest.expect(o[1], unittest.equals('foo')); 1218 unittest.expect(o[1], unittest.equals('foo'));
1219 } 1219 }
1220 1220
1221 buildUnnamed855() { 1221 buildUnnamed862() {
1222 var o = new core.List<core.String>(); 1222 var o = new core.List<core.String>();
1223 o.add("foo"); 1223 o.add("foo");
1224 o.add("foo"); 1224 o.add("foo");
1225 return o; 1225 return o;
1226 } 1226 }
1227 1227
1228 checkUnnamed855(core.List<core.String> o) { 1228 checkUnnamed862(core.List<core.String> o) {
1229 unittest.expect(o, unittest.hasLength(2)); 1229 unittest.expect(o, unittest.hasLength(2));
1230 unittest.expect(o[0], unittest.equals('foo')); 1230 unittest.expect(o[0], unittest.equals('foo'));
1231 unittest.expect(o[1], unittest.equals('foo')); 1231 unittest.expect(o[1], unittest.equals('foo'));
1232 } 1232 }
1233 1233
1234 buildUnnamed856() { 1234 buildUnnamed863() {
1235 var o = new core.List<core.String>(); 1235 var o = new core.List<core.String>();
1236 o.add("foo"); 1236 o.add("foo");
1237 o.add("foo"); 1237 o.add("foo");
1238 return o; 1238 return o;
1239 } 1239 }
1240 1240
1241 checkUnnamed856(core.List<core.String> o) { 1241 checkUnnamed863(core.List<core.String> o) {
1242 unittest.expect(o, unittest.hasLength(2)); 1242 unittest.expect(o, unittest.hasLength(2));
1243 unittest.expect(o[0], unittest.equals('foo')); 1243 unittest.expect(o[0], unittest.equals('foo'));
1244 unittest.expect(o[1], unittest.equals('foo')); 1244 unittest.expect(o[1], unittest.equals('foo'));
1245 } 1245 }
1246 1246
1247 buildUnnamed857() { 1247 buildUnnamed864() {
1248 var o = new core.List<core.String>(); 1248 var o = new core.List<core.String>();
1249 o.add("foo"); 1249 o.add("foo");
1250 o.add("foo"); 1250 o.add("foo");
1251 return o; 1251 return o;
1252 } 1252 }
1253 1253
1254 checkUnnamed857(core.List<core.String> o) { 1254 checkUnnamed864(core.List<core.String> o) {
1255 unittest.expect(o, unittest.hasLength(2)); 1255 unittest.expect(o, unittest.hasLength(2));
1256 unittest.expect(o[0], unittest.equals('foo')); 1256 unittest.expect(o[0], unittest.equals('foo'));
1257 unittest.expect(o[1], unittest.equals('foo')); 1257 unittest.expect(o[1], unittest.equals('foo'));
1258 } 1258 }
1259 1259
1260 core.int buildCounterPretargetingConfig = 0; 1260 core.int buildCounterPretargetingConfig = 0;
1261 buildPretargetingConfig() { 1261 buildPretargetingConfig() {
1262 var o = new api.PretargetingConfig(); 1262 var o = new api.PretargetingConfig();
1263 buildCounterPretargetingConfig++; 1263 buildCounterPretargetingConfig++;
1264 if (buildCounterPretargetingConfig < 3) { 1264 if (buildCounterPretargetingConfig < 3) {
1265 o.billingId = "foo"; 1265 o.billingId = "foo";
1266 o.configId = "foo"; 1266 o.configId = "foo";
1267 o.configName = "foo"; 1267 o.configName = "foo";
1268 o.creativeType = buildUnnamed840(); 1268 o.creativeType = buildUnnamed847();
1269 o.dimensions = buildUnnamed841(); 1269 o.dimensions = buildUnnamed848();
1270 o.excludedContentLabels = buildUnnamed842(); 1270 o.excludedContentLabels = buildUnnamed849();
1271 o.excludedGeoCriteriaIds = buildUnnamed843(); 1271 o.excludedGeoCriteriaIds = buildUnnamed850();
1272 o.excludedPlacements = buildUnnamed844(); 1272 o.excludedPlacements = buildUnnamed851();
1273 o.excludedUserLists = buildUnnamed845(); 1273 o.excludedUserLists = buildUnnamed852();
1274 o.excludedVerticals = buildUnnamed846(); 1274 o.excludedVerticals = buildUnnamed853();
1275 o.geoCriteriaIds = buildUnnamed847(); 1275 o.geoCriteriaIds = buildUnnamed854();
1276 o.isActive = true; 1276 o.isActive = true;
1277 o.kind = "foo"; 1277 o.kind = "foo";
1278 o.languages = buildUnnamed848(); 1278 o.languages = buildUnnamed855();
1279 o.mobileCarriers = buildUnnamed849(); 1279 o.mobileCarriers = buildUnnamed856();
1280 o.mobileDevices = buildUnnamed850(); 1280 o.mobileDevices = buildUnnamed857();
1281 o.mobileOperatingSystemVersions = buildUnnamed851(); 1281 o.mobileOperatingSystemVersions = buildUnnamed858();
1282 o.placements = buildUnnamed852(); 1282 o.placements = buildUnnamed859();
1283 o.platforms = buildUnnamed853(); 1283 o.platforms = buildUnnamed860();
1284 o.supportedCreativeAttributes = buildUnnamed854(); 1284 o.supportedCreativeAttributes = buildUnnamed861();
1285 o.userLists = buildUnnamed855(); 1285 o.userLists = buildUnnamed862();
1286 o.vendorTypes = buildUnnamed856(); 1286 o.vendorTypes = buildUnnamed863();
1287 o.verticals = buildUnnamed857(); 1287 o.verticals = buildUnnamed864();
1288 } 1288 }
1289 buildCounterPretargetingConfig--; 1289 buildCounterPretargetingConfig--;
1290 return o; 1290 return o;
1291 } 1291 }
1292 1292
1293 checkPretargetingConfig(api.PretargetingConfig o) { 1293 checkPretargetingConfig(api.PretargetingConfig o) {
1294 buildCounterPretargetingConfig++; 1294 buildCounterPretargetingConfig++;
1295 if (buildCounterPretargetingConfig < 3) { 1295 if (buildCounterPretargetingConfig < 3) {
1296 unittest.expect(o.billingId, unittest.equals('foo')); 1296 unittest.expect(o.billingId, unittest.equals('foo'));
1297 unittest.expect(o.configId, unittest.equals('foo')); 1297 unittest.expect(o.configId, unittest.equals('foo'));
1298 unittest.expect(o.configName, unittest.equals('foo')); 1298 unittest.expect(o.configName, unittest.equals('foo'));
1299 checkUnnamed840(o.creativeType); 1299 checkUnnamed847(o.creativeType);
1300 checkUnnamed841(o.dimensions); 1300 checkUnnamed848(o.dimensions);
1301 checkUnnamed842(o.excludedContentLabels); 1301 checkUnnamed849(o.excludedContentLabels);
1302 checkUnnamed843(o.excludedGeoCriteriaIds); 1302 checkUnnamed850(o.excludedGeoCriteriaIds);
1303 checkUnnamed844(o.excludedPlacements); 1303 checkUnnamed851(o.excludedPlacements);
1304 checkUnnamed845(o.excludedUserLists); 1304 checkUnnamed852(o.excludedUserLists);
1305 checkUnnamed846(o.excludedVerticals); 1305 checkUnnamed853(o.excludedVerticals);
1306 checkUnnamed847(o.geoCriteriaIds); 1306 checkUnnamed854(o.geoCriteriaIds);
1307 unittest.expect(o.isActive, unittest.isTrue); 1307 unittest.expect(o.isActive, unittest.isTrue);
1308 unittest.expect(o.kind, unittest.equals('foo')); 1308 unittest.expect(o.kind, unittest.equals('foo'));
1309 checkUnnamed848(o.languages); 1309 checkUnnamed855(o.languages);
1310 checkUnnamed849(o.mobileCarriers); 1310 checkUnnamed856(o.mobileCarriers);
1311 checkUnnamed850(o.mobileDevices); 1311 checkUnnamed857(o.mobileDevices);
1312 checkUnnamed851(o.mobileOperatingSystemVersions); 1312 checkUnnamed858(o.mobileOperatingSystemVersions);
1313 checkUnnamed852(o.placements); 1313 checkUnnamed859(o.placements);
1314 checkUnnamed853(o.platforms); 1314 checkUnnamed860(o.platforms);
1315 checkUnnamed854(o.supportedCreativeAttributes); 1315 checkUnnamed861(o.supportedCreativeAttributes);
1316 checkUnnamed855(o.userLists); 1316 checkUnnamed862(o.userLists);
1317 checkUnnamed856(o.vendorTypes); 1317 checkUnnamed863(o.vendorTypes);
1318 checkUnnamed857(o.verticals); 1318 checkUnnamed864(o.verticals);
1319 } 1319 }
1320 buildCounterPretargetingConfig--; 1320 buildCounterPretargetingConfig--;
1321 } 1321 }
1322 1322
1323 buildUnnamed858() { 1323 buildUnnamed865() {
1324 var o = new core.List<api.PretargetingConfig>(); 1324 var o = new core.List<api.PretargetingConfig>();
1325 o.add(buildPretargetingConfig()); 1325 o.add(buildPretargetingConfig());
1326 o.add(buildPretargetingConfig()); 1326 o.add(buildPretargetingConfig());
1327 return o; 1327 return o;
1328 } 1328 }
1329 1329
1330 checkUnnamed858(core.List<api.PretargetingConfig> o) { 1330 checkUnnamed865(core.List<api.PretargetingConfig> o) {
1331 unittest.expect(o, unittest.hasLength(2)); 1331 unittest.expect(o, unittest.hasLength(2));
1332 checkPretargetingConfig(o[0]); 1332 checkPretargetingConfig(o[0]);
1333 checkPretargetingConfig(o[1]); 1333 checkPretargetingConfig(o[1]);
1334 } 1334 }
1335 1335
1336 core.int buildCounterPretargetingConfigList = 0; 1336 core.int buildCounterPretargetingConfigList = 0;
1337 buildPretargetingConfigList() { 1337 buildPretargetingConfigList() {
1338 var o = new api.PretargetingConfigList(); 1338 var o = new api.PretargetingConfigList();
1339 buildCounterPretargetingConfigList++; 1339 buildCounterPretargetingConfigList++;
1340 if (buildCounterPretargetingConfigList < 3) { 1340 if (buildCounterPretargetingConfigList < 3) {
1341 o.items = buildUnnamed858(); 1341 o.items = buildUnnamed865();
1342 o.kind = "foo"; 1342 o.kind = "foo";
1343 } 1343 }
1344 buildCounterPretargetingConfigList--; 1344 buildCounterPretargetingConfigList--;
1345 return o; 1345 return o;
1346 } 1346 }
1347 1347
1348 checkPretargetingConfigList(api.PretargetingConfigList o) { 1348 checkPretargetingConfigList(api.PretargetingConfigList o) {
1349 buildCounterPretargetingConfigList++; 1349 buildCounterPretargetingConfigList++;
1350 if (buildCounterPretargetingConfigList < 3) { 1350 if (buildCounterPretargetingConfigList < 3) {
1351 checkUnnamed858(o.items); 1351 checkUnnamed865(o.items);
1352 unittest.expect(o.kind, unittest.equals('foo')); 1352 unittest.expect(o.kind, unittest.equals('foo'));
1353 } 1353 }
1354 buildCounterPretargetingConfigList--; 1354 buildCounterPretargetingConfigList--;
1355 } 1355 }
1356 1356
1357 buildUnnamed859() { 1357 buildUnnamed866() {
1358 var o = new core.List<core.int>(); 1358 var o = new core.List<core.int>();
1359 o.add(42); 1359 o.add(42);
1360 o.add(42); 1360 o.add(42);
1361 return o; 1361 return o;
1362 } 1362 }
1363 1363
1364 checkUnnamed859(core.List<core.int> o) { 1364 checkUnnamed866(core.List<core.int> o) {
1365 unittest.expect(o, unittest.hasLength(2)); 1365 unittest.expect(o, unittest.hasLength(2));
1366 unittest.expect(o[0], unittest.equals(42)); 1366 unittest.expect(o[0], unittest.equals(42));
1367 unittest.expect(o[1], unittest.equals(42)); 1367 unittest.expect(o[1], unittest.equals(42));
1368 } 1368 }
1369 1369
1370 buildUnnamed860() { 1370 buildUnnamed867() {
1371 var o = new core.List<core.String>(); 1371 var o = new core.List<core.String>();
1372 o.add("foo"); 1372 o.add("foo");
1373 o.add("foo"); 1373 o.add("foo");
1374 return o; 1374 return o;
1375 } 1375 }
1376 1376
1377 checkUnnamed860(core.List<core.String> o) { 1377 checkUnnamed867(core.List<core.String> o) {
1378 unittest.expect(o, unittest.hasLength(2)); 1378 unittest.expect(o, unittest.hasLength(2));
1379 unittest.expect(o[0], unittest.equals('foo')); 1379 unittest.expect(o[0], unittest.equals('foo'));
1380 unittest.expect(o[1], unittest.equals('foo')); 1380 unittest.expect(o[1], unittest.equals('foo'));
1381 } 1381 }
1382 1382
1383 1383
1384 main() { 1384 main() {
1385 unittest.group("obj-schema-AccountBidderLocation", () { 1385 unittest.group("obj-schema-AccountBidderLocation", () {
1386 unittest.test("to-json--from-json", () { 1386 unittest.test("to-json--from-json", () {
1387 var o = buildAccountBidderLocation(); 1387 var o = buildAccountBidderLocation();
(...skipping 808 matching lines...) Expand 10 before | Expand all | Expand 10 after
2196 }), true); 2196 }), true);
2197 res.insert(arg_request).then(unittest.expectAsync(((api.Creative response) { 2197 res.insert(arg_request).then(unittest.expectAsync(((api.Creative response) {
2198 checkCreative(response); 2198 checkCreative(response);
2199 }))); 2199 })));
2200 }); 2200 });
2201 2201
2202 unittest.test("method--list", () { 2202 unittest.test("method--list", () {
2203 2203
2204 var mock = new HttpServerMock(); 2204 var mock = new HttpServerMock();
2205 api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives; 2205 api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives;
2206 var arg_accountId = buildUnnamed859(); 2206 var arg_accountId = buildUnnamed866();
2207 var arg_buyerCreativeId = buildUnnamed860(); 2207 var arg_buyerCreativeId = buildUnnamed867();
2208 var arg_maxResults = 42; 2208 var arg_maxResults = 42;
2209 var arg_pageToken = "foo"; 2209 var arg_pageToken = "foo";
2210 var arg_statusFilter = "foo"; 2210 var arg_statusFilter = "foo";
2211 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 2211 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
2212 var path = (req.url).path; 2212 var path = (req.url).path;
2213 var pathOffset = 0; 2213 var pathOffset = 0;
2214 var index; 2214 var index;
2215 var subPart; 2215 var subPart;
2216 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 2216 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
2217 pathOffset += 1; 2217 pathOffset += 1;
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
2749 res.update(arg_request, arg_accountId, arg_configId).then(unittest.expectA sync(((api.PretargetingConfig response) { 2749 res.update(arg_request, arg_accountId, arg_configId).then(unittest.expectA sync(((api.PretargetingConfig response) {
2750 checkPretargetingConfig(response); 2750 checkPretargetingConfig(response);
2751 }))); 2751 })));
2752 }); 2752 });
2753 2753
2754 }); 2754 });
2755 2755
2756 2756
2757 } 2757 }
2758 2758
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698