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

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

Issue 770773002: Api roll 7: 2014-12-01 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years 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 21 matching lines...) Expand all
32 checkAccountBidderLocation(api.AccountBidderLocation o) { 32 checkAccountBidderLocation(api.AccountBidderLocation o) {
33 buildCounterAccountBidderLocation++; 33 buildCounterAccountBidderLocation++;
34 if (buildCounterAccountBidderLocation < 3) { 34 if (buildCounterAccountBidderLocation < 3) {
35 unittest.expect(o.maximumQps, unittest.equals(42)); 35 unittest.expect(o.maximumQps, unittest.equals(42));
36 unittest.expect(o.region, unittest.equals('foo')); 36 unittest.expect(o.region, unittest.equals('foo'));
37 unittest.expect(o.url, unittest.equals('foo')); 37 unittest.expect(o.url, unittest.equals('foo'));
38 } 38 }
39 buildCounterAccountBidderLocation--; 39 buildCounterAccountBidderLocation--;
40 } 40 }
41 41
42 buildUnnamed555() { 42 buildUnnamed0() {
43 var o = new core.List<api.AccountBidderLocation>(); 43 var o = new core.List<api.AccountBidderLocation>();
44 o.add(buildAccountBidderLocation()); 44 o.add(buildAccountBidderLocation());
45 o.add(buildAccountBidderLocation()); 45 o.add(buildAccountBidderLocation());
46 return o; 46 return o;
47 } 47 }
48 48
49 checkUnnamed555(core.List<api.AccountBidderLocation> o) { 49 checkUnnamed0(core.List<api.AccountBidderLocation> o) {
50 unittest.expect(o, unittest.hasLength(2)); 50 unittest.expect(o, unittest.hasLength(2));
51 checkAccountBidderLocation(o[0]); 51 checkAccountBidderLocation(o[0]);
52 checkAccountBidderLocation(o[1]); 52 checkAccountBidderLocation(o[1]);
53 } 53 }
54 54
55 core.int buildCounterAccount = 0; 55 core.int buildCounterAccount = 0;
56 buildAccount() { 56 buildAccount() {
57 var o = new api.Account(); 57 var o = new api.Account();
58 buildCounterAccount++; 58 buildCounterAccount++;
59 if (buildCounterAccount < 3) { 59 if (buildCounterAccount < 3) {
60 o.bidderLocation = buildUnnamed555(); 60 o.bidderLocation = buildUnnamed0();
61 o.cookieMatchingNid = "foo"; 61 o.cookieMatchingNid = "foo";
62 o.cookieMatchingUrl = "foo"; 62 o.cookieMatchingUrl = "foo";
63 o.id = 42; 63 o.id = 42;
64 o.kind = "foo"; 64 o.kind = "foo";
65 o.maximumActiveCreatives = 42; 65 o.maximumActiveCreatives = 42;
66 o.maximumTotalQps = 42; 66 o.maximumTotalQps = 42;
67 o.numberActiveCreatives = 42; 67 o.numberActiveCreatives = 42;
68 } 68 }
69 buildCounterAccount--; 69 buildCounterAccount--;
70 return o; 70 return o;
71 } 71 }
72 72
73 checkAccount(api.Account o) { 73 checkAccount(api.Account o) {
74 buildCounterAccount++; 74 buildCounterAccount++;
75 if (buildCounterAccount < 3) { 75 if (buildCounterAccount < 3) {
76 checkUnnamed555(o.bidderLocation); 76 checkUnnamed0(o.bidderLocation);
77 unittest.expect(o.cookieMatchingNid, unittest.equals('foo')); 77 unittest.expect(o.cookieMatchingNid, unittest.equals('foo'));
78 unittest.expect(o.cookieMatchingUrl, unittest.equals('foo')); 78 unittest.expect(o.cookieMatchingUrl, unittest.equals('foo'));
79 unittest.expect(o.id, unittest.equals(42)); 79 unittest.expect(o.id, unittest.equals(42));
80 unittest.expect(o.kind, unittest.equals('foo')); 80 unittest.expect(o.kind, unittest.equals('foo'));
81 unittest.expect(o.maximumActiveCreatives, unittest.equals(42)); 81 unittest.expect(o.maximumActiveCreatives, unittest.equals(42));
82 unittest.expect(o.maximumTotalQps, unittest.equals(42)); 82 unittest.expect(o.maximumTotalQps, unittest.equals(42));
83 unittest.expect(o.numberActiveCreatives, unittest.equals(42)); 83 unittest.expect(o.numberActiveCreatives, unittest.equals(42));
84 } 84 }
85 buildCounterAccount--; 85 buildCounterAccount--;
86 } 86 }
87 87
88 buildUnnamed556() { 88 buildUnnamed1() {
89 var o = new core.List<api.Account>(); 89 var o = new core.List<api.Account>();
90 o.add(buildAccount()); 90 o.add(buildAccount());
91 o.add(buildAccount()); 91 o.add(buildAccount());
92 return o; 92 return o;
93 } 93 }
94 94
95 checkUnnamed556(core.List<api.Account> o) { 95 checkUnnamed1(core.List<api.Account> o) {
96 unittest.expect(o, unittest.hasLength(2)); 96 unittest.expect(o, unittest.hasLength(2));
97 checkAccount(o[0]); 97 checkAccount(o[0]);
98 checkAccount(o[1]); 98 checkAccount(o[1]);
99 } 99 }
100 100
101 core.int buildCounterAccountsList = 0; 101 core.int buildCounterAccountsList = 0;
102 buildAccountsList() { 102 buildAccountsList() {
103 var o = new api.AccountsList(); 103 var o = new api.AccountsList();
104 buildCounterAccountsList++; 104 buildCounterAccountsList++;
105 if (buildCounterAccountsList < 3) { 105 if (buildCounterAccountsList < 3) {
106 o.items = buildUnnamed556(); 106 o.items = buildUnnamed1();
107 o.kind = "foo"; 107 o.kind = "foo";
108 } 108 }
109 buildCounterAccountsList--; 109 buildCounterAccountsList--;
110 return o; 110 return o;
111 } 111 }
112 112
113 checkAccountsList(api.AccountsList o) { 113 checkAccountsList(api.AccountsList o) {
114 buildCounterAccountsList++; 114 buildCounterAccountsList++;
115 if (buildCounterAccountsList < 3) { 115 if (buildCounterAccountsList < 3) {
116 checkUnnamed556(o.items); 116 checkUnnamed1(o.items);
117 unittest.expect(o.kind, unittest.equals('foo')); 117 unittest.expect(o.kind, unittest.equals('foo'));
118 } 118 }
119 buildCounterAccountsList--; 119 buildCounterAccountsList--;
120 } 120 }
121 121
122 buildUnnamed557() { 122 buildUnnamed2() {
123 var o = new core.List<core.String>(); 123 var o = new core.List<core.String>();
124 o.add("foo"); 124 o.add("foo");
125 o.add("foo"); 125 o.add("foo");
126 return o; 126 return o;
127 } 127 }
128 128
129 checkUnnamed557(core.List<core.String> o) { 129 checkUnnamed2(core.List<core.String> o) {
130 unittest.expect(o, unittest.hasLength(2)); 130 unittest.expect(o, unittest.hasLength(2));
131 unittest.expect(o[0], unittest.equals('foo')); 131 unittest.expect(o[0], unittest.equals('foo'));
132 unittest.expect(o[1], unittest.equals('foo')); 132 unittest.expect(o[1], unittest.equals('foo'));
133 } 133 }
134 134
135 core.int buildCounterBillingInfo = 0; 135 core.int buildCounterBillingInfo = 0;
136 buildBillingInfo() { 136 buildBillingInfo() {
137 var o = new api.BillingInfo(); 137 var o = new api.BillingInfo();
138 buildCounterBillingInfo++; 138 buildCounterBillingInfo++;
139 if (buildCounterBillingInfo < 3) { 139 if (buildCounterBillingInfo < 3) {
140 o.accountId = 42; 140 o.accountId = 42;
141 o.accountName = "foo"; 141 o.accountName = "foo";
142 o.billingId = buildUnnamed557(); 142 o.billingId = buildUnnamed2();
143 o.kind = "foo"; 143 o.kind = "foo";
144 } 144 }
145 buildCounterBillingInfo--; 145 buildCounterBillingInfo--;
146 return o; 146 return o;
147 } 147 }
148 148
149 checkBillingInfo(api.BillingInfo o) { 149 checkBillingInfo(api.BillingInfo o) {
150 buildCounterBillingInfo++; 150 buildCounterBillingInfo++;
151 if (buildCounterBillingInfo < 3) { 151 if (buildCounterBillingInfo < 3) {
152 unittest.expect(o.accountId, unittest.equals(42)); 152 unittest.expect(o.accountId, unittest.equals(42));
153 unittest.expect(o.accountName, unittest.equals('foo')); 153 unittest.expect(o.accountName, unittest.equals('foo'));
154 checkUnnamed557(o.billingId); 154 checkUnnamed2(o.billingId);
155 unittest.expect(o.kind, unittest.equals('foo')); 155 unittest.expect(o.kind, unittest.equals('foo'));
156 } 156 }
157 buildCounterBillingInfo--; 157 buildCounterBillingInfo--;
158 } 158 }
159 159
160 buildUnnamed558() { 160 buildUnnamed3() {
161 var o = new core.List<api.BillingInfo>(); 161 var o = new core.List<api.BillingInfo>();
162 o.add(buildBillingInfo()); 162 o.add(buildBillingInfo());
163 o.add(buildBillingInfo()); 163 o.add(buildBillingInfo());
164 return o; 164 return o;
165 } 165 }
166 166
167 checkUnnamed558(core.List<api.BillingInfo> o) { 167 checkUnnamed3(core.List<api.BillingInfo> o) {
168 unittest.expect(o, unittest.hasLength(2)); 168 unittest.expect(o, unittest.hasLength(2));
169 checkBillingInfo(o[0]); 169 checkBillingInfo(o[0]);
170 checkBillingInfo(o[1]); 170 checkBillingInfo(o[1]);
171 } 171 }
172 172
173 core.int buildCounterBillingInfoList = 0; 173 core.int buildCounterBillingInfoList = 0;
174 buildBillingInfoList() { 174 buildBillingInfoList() {
175 var o = new api.BillingInfoList(); 175 var o = new api.BillingInfoList();
176 buildCounterBillingInfoList++; 176 buildCounterBillingInfoList++;
177 if (buildCounterBillingInfoList < 3) { 177 if (buildCounterBillingInfoList < 3) {
178 o.items = buildUnnamed558(); 178 o.items = buildUnnamed3();
179 o.kind = "foo"; 179 o.kind = "foo";
180 } 180 }
181 buildCounterBillingInfoList--; 181 buildCounterBillingInfoList--;
182 return o; 182 return o;
183 } 183 }
184 184
185 checkBillingInfoList(api.BillingInfoList o) { 185 checkBillingInfoList(api.BillingInfoList o) {
186 buildCounterBillingInfoList++; 186 buildCounterBillingInfoList++;
187 if (buildCounterBillingInfoList < 3) { 187 if (buildCounterBillingInfoList < 3) {
188 checkUnnamed558(o.items); 188 checkUnnamed3(o.items);
189 unittest.expect(o.kind, unittest.equals('foo')); 189 unittest.expect(o.kind, unittest.equals('foo'));
190 } 190 }
191 buildCounterBillingInfoList--; 191 buildCounterBillingInfoList--;
192 } 192 }
193 193
194 buildUnnamed559() { 194 buildUnnamed4() {
195 var o = new core.List<core.String>(); 195 var o = new core.List<core.String>();
196 o.add("foo"); 196 o.add("foo");
197 o.add("foo"); 197 o.add("foo");
198 return o; 198 return o;
199 } 199 }
200 200
201 checkUnnamed559(core.List<core.String> o) { 201 checkUnnamed4(core.List<core.String> o) {
202 unittest.expect(o, unittest.hasLength(2)); 202 unittest.expect(o, unittest.hasLength(2));
203 unittest.expect(o[0], unittest.equals('foo')); 203 unittest.expect(o[0], unittest.equals('foo'));
204 unittest.expect(o[1], unittest.equals('foo')); 204 unittest.expect(o[1], unittest.equals('foo'));
205 } 205 }
206 206
207 buildUnnamed560() { 207 buildUnnamed5() {
208 var o = new core.List<core.int>(); 208 var o = new core.List<core.int>();
209 o.add(42); 209 o.add(42);
210 o.add(42); 210 o.add(42);
211 return o; 211 return o;
212 } 212 }
213 213
214 checkUnnamed560(core.List<core.int> o) { 214 checkUnnamed5(core.List<core.int> o) {
215 unittest.expect(o, unittest.hasLength(2)); 215 unittest.expect(o, unittest.hasLength(2));
216 unittest.expect(o[0], unittest.equals(42)); 216 unittest.expect(o[0], unittest.equals(42));
217 unittest.expect(o[1], unittest.equals(42)); 217 unittest.expect(o[1], unittest.equals(42));
218 } 218 }
219 219
220 buildUnnamed561() { 220 buildUnnamed6() {
221 var o = new core.List<core.String>(); 221 var o = new core.List<core.String>();
222 o.add("foo"); 222 o.add("foo");
223 o.add("foo"); 223 o.add("foo");
224 return o; 224 return o;
225 } 225 }
226 226
227 checkUnnamed561(core.List<core.String> o) { 227 checkUnnamed6(core.List<core.String> o) {
228 unittest.expect(o, unittest.hasLength(2)); 228 unittest.expect(o, unittest.hasLength(2));
229 unittest.expect(o[0], unittest.equals('foo')); 229 unittest.expect(o[0], unittest.equals('foo'));
230 unittest.expect(o[1], unittest.equals('foo')); 230 unittest.expect(o[1], unittest.equals('foo'));
231 } 231 }
232 232
233 buildUnnamed562() { 233 buildUnnamed7() {
234 var o = new core.List<core.String>(); 234 var o = new core.List<core.String>();
235 o.add("foo"); 235 o.add("foo");
236 o.add("foo"); 236 o.add("foo");
237 return o; 237 return o;
238 } 238 }
239 239
240 checkUnnamed562(core.List<core.String> o) { 240 checkUnnamed7(core.List<core.String> o) {
241 unittest.expect(o, unittest.hasLength(2)); 241 unittest.expect(o, unittest.hasLength(2));
242 unittest.expect(o[0], unittest.equals('foo')); 242 unittest.expect(o[0], unittest.equals('foo'));
243 unittest.expect(o[1], unittest.equals('foo')); 243 unittest.expect(o[1], unittest.equals('foo'));
244 } 244 }
245 245
246 core.int buildCounterCreativeCorrections = 0; 246 core.int buildCounterCreativeCorrections = 0;
247 buildCreativeCorrections() { 247 buildCreativeCorrections() {
248 var o = new api.CreativeCorrections(); 248 var o = new api.CreativeCorrections();
249 buildCounterCreativeCorrections++; 249 buildCounterCreativeCorrections++;
250 if (buildCounterCreativeCorrections < 3) { 250 if (buildCounterCreativeCorrections < 3) {
251 o.details = buildUnnamed562(); 251 o.details = buildUnnamed7();
252 o.reason = "foo"; 252 o.reason = "foo";
253 } 253 }
254 buildCounterCreativeCorrections--; 254 buildCounterCreativeCorrections--;
255 return o; 255 return o;
256 } 256 }
257 257
258 checkCreativeCorrections(api.CreativeCorrections o) { 258 checkCreativeCorrections(api.CreativeCorrections o) {
259 buildCounterCreativeCorrections++; 259 buildCounterCreativeCorrections++;
260 if (buildCounterCreativeCorrections < 3) { 260 if (buildCounterCreativeCorrections < 3) {
261 checkUnnamed562(o.details); 261 checkUnnamed7(o.details);
262 unittest.expect(o.reason, unittest.equals('foo')); 262 unittest.expect(o.reason, unittest.equals('foo'));
263 } 263 }
264 buildCounterCreativeCorrections--; 264 buildCounterCreativeCorrections--;
265 } 265 }
266 266
267 buildUnnamed563() { 267 buildUnnamed8() {
268 var o = new core.List<api.CreativeCorrections>(); 268 var o = new core.List<api.CreativeCorrections>();
269 o.add(buildCreativeCorrections()); 269 o.add(buildCreativeCorrections());
270 o.add(buildCreativeCorrections()); 270 o.add(buildCreativeCorrections());
271 return o; 271 return o;
272 } 272 }
273 273
274 checkUnnamed563(core.List<api.CreativeCorrections> o) { 274 checkUnnamed8(core.List<api.CreativeCorrections> o) {
275 unittest.expect(o, unittest.hasLength(2)); 275 unittest.expect(o, unittest.hasLength(2));
276 checkCreativeCorrections(o[0]); 276 checkCreativeCorrections(o[0]);
277 checkCreativeCorrections(o[1]); 277 checkCreativeCorrections(o[1]);
278 } 278 }
279 279
280 buildUnnamed564() { 280 buildUnnamed9() {
281 var o = new core.List<core.String>(); 281 var o = new core.List<core.String>();
282 o.add("foo"); 282 o.add("foo");
283 o.add("foo"); 283 o.add("foo");
284 return o; 284 return o;
285 } 285 }
286 286
287 checkUnnamed564(core.List<core.String> o) { 287 checkUnnamed9(core.List<core.String> o) {
288 unittest.expect(o, unittest.hasLength(2)); 288 unittest.expect(o, unittest.hasLength(2));
289 unittest.expect(o[0], unittest.equals('foo')); 289 unittest.expect(o[0], unittest.equals('foo'));
290 unittest.expect(o[1], unittest.equals('foo')); 290 unittest.expect(o[1], unittest.equals('foo'));
291 } 291 }
292 292
293 core.int buildCounterCreativeDisapprovalReasons = 0; 293 core.int buildCounterCreativeDisapprovalReasons = 0;
294 buildCreativeDisapprovalReasons() { 294 buildCreativeDisapprovalReasons() {
295 var o = new api.CreativeDisapprovalReasons(); 295 var o = new api.CreativeDisapprovalReasons();
296 buildCounterCreativeDisapprovalReasons++; 296 buildCounterCreativeDisapprovalReasons++;
297 if (buildCounterCreativeDisapprovalReasons < 3) { 297 if (buildCounterCreativeDisapprovalReasons < 3) {
298 o.details = buildUnnamed564(); 298 o.details = buildUnnamed9();
299 o.reason = "foo"; 299 o.reason = "foo";
300 } 300 }
301 buildCounterCreativeDisapprovalReasons--; 301 buildCounterCreativeDisapprovalReasons--;
302 return o; 302 return o;
303 } 303 }
304 304
305 checkCreativeDisapprovalReasons(api.CreativeDisapprovalReasons o) { 305 checkCreativeDisapprovalReasons(api.CreativeDisapprovalReasons o) {
306 buildCounterCreativeDisapprovalReasons++; 306 buildCounterCreativeDisapprovalReasons++;
307 if (buildCounterCreativeDisapprovalReasons < 3) { 307 if (buildCounterCreativeDisapprovalReasons < 3) {
308 checkUnnamed564(o.details); 308 checkUnnamed9(o.details);
309 unittest.expect(o.reason, unittest.equals('foo')); 309 unittest.expect(o.reason, unittest.equals('foo'));
310 } 310 }
311 buildCounterCreativeDisapprovalReasons--; 311 buildCounterCreativeDisapprovalReasons--;
312 } 312 }
313 313
314 buildUnnamed565() { 314 buildUnnamed10() {
315 var o = new core.List<api.CreativeDisapprovalReasons>(); 315 var o = new core.List<api.CreativeDisapprovalReasons>();
316 o.add(buildCreativeDisapprovalReasons()); 316 o.add(buildCreativeDisapprovalReasons());
317 o.add(buildCreativeDisapprovalReasons()); 317 o.add(buildCreativeDisapprovalReasons());
318 return o; 318 return o;
319 } 319 }
320 320
321 checkUnnamed565(core.List<api.CreativeDisapprovalReasons> o) { 321 checkUnnamed10(core.List<api.CreativeDisapprovalReasons> o) {
322 unittest.expect(o, unittest.hasLength(2)); 322 unittest.expect(o, unittest.hasLength(2));
323 checkCreativeDisapprovalReasons(o[0]); 323 checkCreativeDisapprovalReasons(o[0]);
324 checkCreativeDisapprovalReasons(o[1]); 324 checkCreativeDisapprovalReasons(o[1]);
325 } 325 }
326 326
327 core.int buildCounterCreativeFilteringReasonsReasons = 0; 327 core.int buildCounterCreativeFilteringReasonsReasons = 0;
328 buildCreativeFilteringReasonsReasons() { 328 buildCreativeFilteringReasonsReasons() {
329 var o = new api.CreativeFilteringReasonsReasons(); 329 var o = new api.CreativeFilteringReasonsReasons();
330 buildCounterCreativeFilteringReasonsReasons++; 330 buildCounterCreativeFilteringReasonsReasons++;
331 if (buildCounterCreativeFilteringReasonsReasons < 3) { 331 if (buildCounterCreativeFilteringReasonsReasons < 3) {
332 o.filteringCount = "foo"; 332 o.filteringCount = "foo";
333 o.filteringStatus = 42; 333 o.filteringStatus = 42;
334 } 334 }
335 buildCounterCreativeFilteringReasonsReasons--; 335 buildCounterCreativeFilteringReasonsReasons--;
336 return o; 336 return o;
337 } 337 }
338 338
339 checkCreativeFilteringReasonsReasons(api.CreativeFilteringReasonsReasons o) { 339 checkCreativeFilteringReasonsReasons(api.CreativeFilteringReasonsReasons o) {
340 buildCounterCreativeFilteringReasonsReasons++; 340 buildCounterCreativeFilteringReasonsReasons++;
341 if (buildCounterCreativeFilteringReasonsReasons < 3) { 341 if (buildCounterCreativeFilteringReasonsReasons < 3) {
342 unittest.expect(o.filteringCount, unittest.equals('foo')); 342 unittest.expect(o.filteringCount, unittest.equals('foo'));
343 unittest.expect(o.filteringStatus, unittest.equals(42)); 343 unittest.expect(o.filteringStatus, unittest.equals(42));
344 } 344 }
345 buildCounterCreativeFilteringReasonsReasons--; 345 buildCounterCreativeFilteringReasonsReasons--;
346 } 346 }
347 347
348 buildUnnamed566() { 348 buildUnnamed11() {
349 var o = new core.List<api.CreativeFilteringReasonsReasons>(); 349 var o = new core.List<api.CreativeFilteringReasonsReasons>();
350 o.add(buildCreativeFilteringReasonsReasons()); 350 o.add(buildCreativeFilteringReasonsReasons());
351 o.add(buildCreativeFilteringReasonsReasons()); 351 o.add(buildCreativeFilteringReasonsReasons());
352 return o; 352 return o;
353 } 353 }
354 354
355 checkUnnamed566(core.List<api.CreativeFilteringReasonsReasons> o) { 355 checkUnnamed11(core.List<api.CreativeFilteringReasonsReasons> o) {
356 unittest.expect(o, unittest.hasLength(2)); 356 unittest.expect(o, unittest.hasLength(2));
357 checkCreativeFilteringReasonsReasons(o[0]); 357 checkCreativeFilteringReasonsReasons(o[0]);
358 checkCreativeFilteringReasonsReasons(o[1]); 358 checkCreativeFilteringReasonsReasons(o[1]);
359 } 359 }
360 360
361 core.int buildCounterCreativeFilteringReasons = 0; 361 core.int buildCounterCreativeFilteringReasons = 0;
362 buildCreativeFilteringReasons() { 362 buildCreativeFilteringReasons() {
363 var o = new api.CreativeFilteringReasons(); 363 var o = new api.CreativeFilteringReasons();
364 buildCounterCreativeFilteringReasons++; 364 buildCounterCreativeFilteringReasons++;
365 if (buildCounterCreativeFilteringReasons < 3) { 365 if (buildCounterCreativeFilteringReasons < 3) {
366 o.date = "foo"; 366 o.date = "foo";
367 o.reasons = buildUnnamed566(); 367 o.reasons = buildUnnamed11();
368 } 368 }
369 buildCounterCreativeFilteringReasons--; 369 buildCounterCreativeFilteringReasons--;
370 return o; 370 return o;
371 } 371 }
372 372
373 checkCreativeFilteringReasons(api.CreativeFilteringReasons o) { 373 checkCreativeFilteringReasons(api.CreativeFilteringReasons o) {
374 buildCounterCreativeFilteringReasons++; 374 buildCounterCreativeFilteringReasons++;
375 if (buildCounterCreativeFilteringReasons < 3) { 375 if (buildCounterCreativeFilteringReasons < 3) {
376 unittest.expect(o.date, unittest.equals('foo')); 376 unittest.expect(o.date, unittest.equals('foo'));
377 checkUnnamed566(o.reasons); 377 checkUnnamed11(o.reasons);
378 } 378 }
379 buildCounterCreativeFilteringReasons--; 379 buildCounterCreativeFilteringReasons--;
380 } 380 }
381 381
382 buildUnnamed567() { 382 buildUnnamed12() {
383 var o = new core.List<core.int>(); 383 var o = new core.List<core.int>();
384 o.add(42); 384 o.add(42);
385 o.add(42); 385 o.add(42);
386 return o; 386 return o;
387 } 387 }
388 388
389 checkUnnamed567(core.List<core.int> o) { 389 checkUnnamed12(core.List<core.int> o) {
390 unittest.expect(o, unittest.hasLength(2)); 390 unittest.expect(o, unittest.hasLength(2));
391 unittest.expect(o[0], unittest.equals(42)); 391 unittest.expect(o[0], unittest.equals(42));
392 unittest.expect(o[1], unittest.equals(42)); 392 unittest.expect(o[1], unittest.equals(42));
393 } 393 }
394 394
395 buildUnnamed568() { 395 buildUnnamed13() {
396 var o = new core.List<core.int>(); 396 var o = new core.List<core.int>();
397 o.add(42); 397 o.add(42);
398 o.add(42); 398 o.add(42);
399 return o; 399 return o;
400 } 400 }
401 401
402 checkUnnamed568(core.List<core.int> o) { 402 checkUnnamed13(core.List<core.int> o) {
403 unittest.expect(o, unittest.hasLength(2)); 403 unittest.expect(o, unittest.hasLength(2));
404 unittest.expect(o[0], unittest.equals(42)); 404 unittest.expect(o[0], unittest.equals(42));
405 unittest.expect(o[1], unittest.equals(42)); 405 unittest.expect(o[1], unittest.equals(42));
406 } 406 }
407 407
408 buildUnnamed569() { 408 buildUnnamed14() {
409 var o = new core.List<core.int>(); 409 var o = new core.List<core.int>();
410 o.add(42); 410 o.add(42);
411 o.add(42); 411 o.add(42);
412 return o; 412 return o;
413 } 413 }
414 414
415 checkUnnamed569(core.List<core.int> o) { 415 checkUnnamed14(core.List<core.int> o) {
416 unittest.expect(o, unittest.hasLength(2)); 416 unittest.expect(o, unittest.hasLength(2));
417 unittest.expect(o[0], unittest.equals(42)); 417 unittest.expect(o[0], unittest.equals(42));
418 unittest.expect(o[1], unittest.equals(42)); 418 unittest.expect(o[1], unittest.equals(42));
419 } 419 }
420 420
421 buildUnnamed570() { 421 buildUnnamed15() {
422 var o = new core.List<core.int>(); 422 var o = new core.List<core.int>();
423 o.add(42); 423 o.add(42);
424 o.add(42); 424 o.add(42);
425 return o; 425 return o;
426 } 426 }
427 427
428 checkUnnamed570(core.List<core.int> o) { 428 checkUnnamed15(core.List<core.int> o) {
429 unittest.expect(o, unittest.hasLength(2)); 429 unittest.expect(o, unittest.hasLength(2));
430 unittest.expect(o[0], unittest.equals(42)); 430 unittest.expect(o[0], unittest.equals(42));
431 unittest.expect(o[1], unittest.equals(42)); 431 unittest.expect(o[1], unittest.equals(42));
432 } 432 }
433 433
434 core.int buildCounterCreative = 0; 434 core.int buildCounterCreative = 0;
435 buildCreative() { 435 buildCreative() {
436 var o = new api.Creative(); 436 var o = new api.Creative();
437 buildCounterCreative++; 437 buildCounterCreative++;
438 if (buildCounterCreative < 3) { 438 if (buildCounterCreative < 3) {
439 o.HTMLSnippet = "foo"; 439 o.HTMLSnippet = "foo";
440 o.accountId = 42; 440 o.accountId = 42;
441 o.advertiserId = buildUnnamed559(); 441 o.advertiserId = buildUnnamed4();
442 o.advertiserName = "foo"; 442 o.advertiserName = "foo";
443 o.agencyId = "foo"; 443 o.agencyId = "foo";
444 o.attribute = buildUnnamed560(); 444 o.attribute = buildUnnamed5();
445 o.buyerCreativeId = "foo"; 445 o.buyerCreativeId = "foo";
446 o.clickThroughUrl = buildUnnamed561(); 446 o.clickThroughUrl = buildUnnamed6();
447 o.corrections = buildUnnamed563(); 447 o.corrections = buildUnnamed8();
448 o.disapprovalReasons = buildUnnamed565(); 448 o.disapprovalReasons = buildUnnamed10();
449 o.filteringReasons = buildCreativeFilteringReasons(); 449 o.filteringReasons = buildCreativeFilteringReasons();
450 o.height = 42; 450 o.height = 42;
451 o.kind = "foo"; 451 o.kind = "foo";
452 o.productCategories = buildUnnamed567(); 452 o.productCategories = buildUnnamed12();
453 o.restrictedCategories = buildUnnamed568(); 453 o.restrictedCategories = buildUnnamed13();
454 o.sensitiveCategories = buildUnnamed569(); 454 o.sensitiveCategories = buildUnnamed14();
455 o.status = "foo"; 455 o.status = "foo";
456 o.vendorType = buildUnnamed570(); 456 o.vendorType = buildUnnamed15();
457 o.videoURL = "foo"; 457 o.videoURL = "foo";
458 o.width = 42; 458 o.width = 42;
459 } 459 }
460 buildCounterCreative--; 460 buildCounterCreative--;
461 return o; 461 return o;
462 } 462 }
463 463
464 checkCreative(api.Creative o) { 464 checkCreative(api.Creative o) {
465 buildCounterCreative++; 465 buildCounterCreative++;
466 if (buildCounterCreative < 3) { 466 if (buildCounterCreative < 3) {
467 unittest.expect(o.HTMLSnippet, unittest.equals('foo')); 467 unittest.expect(o.HTMLSnippet, unittest.equals('foo'));
468 unittest.expect(o.accountId, unittest.equals(42)); 468 unittest.expect(o.accountId, unittest.equals(42));
469 checkUnnamed559(o.advertiserId); 469 checkUnnamed4(o.advertiserId);
470 unittest.expect(o.advertiserName, unittest.equals('foo')); 470 unittest.expect(o.advertiserName, unittest.equals('foo'));
471 unittest.expect(o.agencyId, unittest.equals('foo')); 471 unittest.expect(o.agencyId, unittest.equals('foo'));
472 checkUnnamed560(o.attribute); 472 checkUnnamed5(o.attribute);
473 unittest.expect(o.buyerCreativeId, unittest.equals('foo')); 473 unittest.expect(o.buyerCreativeId, unittest.equals('foo'));
474 checkUnnamed561(o.clickThroughUrl); 474 checkUnnamed6(o.clickThroughUrl);
475 checkUnnamed563(o.corrections); 475 checkUnnamed8(o.corrections);
476 checkUnnamed565(o.disapprovalReasons); 476 checkUnnamed10(o.disapprovalReasons);
477 checkCreativeFilteringReasons(o.filteringReasons); 477 checkCreativeFilteringReasons(o.filteringReasons);
478 unittest.expect(o.height, unittest.equals(42)); 478 unittest.expect(o.height, unittest.equals(42));
479 unittest.expect(o.kind, unittest.equals('foo')); 479 unittest.expect(o.kind, unittest.equals('foo'));
480 checkUnnamed567(o.productCategories); 480 checkUnnamed12(o.productCategories);
481 checkUnnamed568(o.restrictedCategories); 481 checkUnnamed13(o.restrictedCategories);
482 checkUnnamed569(o.sensitiveCategories); 482 checkUnnamed14(o.sensitiveCategories);
483 unittest.expect(o.status, unittest.equals('foo')); 483 unittest.expect(o.status, unittest.equals('foo'));
484 checkUnnamed570(o.vendorType); 484 checkUnnamed15(o.vendorType);
485 unittest.expect(o.videoURL, unittest.equals('foo')); 485 unittest.expect(o.videoURL, unittest.equals('foo'));
486 unittest.expect(o.width, unittest.equals(42)); 486 unittest.expect(o.width, unittest.equals(42));
487 } 487 }
488 buildCounterCreative--; 488 buildCounterCreative--;
489 } 489 }
490 490
491 buildUnnamed571() { 491 buildUnnamed16() {
492 var o = new core.List<api.Creative>(); 492 var o = new core.List<api.Creative>();
493 o.add(buildCreative()); 493 o.add(buildCreative());
494 o.add(buildCreative()); 494 o.add(buildCreative());
495 return o; 495 return o;
496 } 496 }
497 497
498 checkUnnamed571(core.List<api.Creative> o) { 498 checkUnnamed16(core.List<api.Creative> o) {
499 unittest.expect(o, unittest.hasLength(2)); 499 unittest.expect(o, unittest.hasLength(2));
500 checkCreative(o[0]); 500 checkCreative(o[0]);
501 checkCreative(o[1]); 501 checkCreative(o[1]);
502 } 502 }
503 503
504 core.int buildCounterCreativesList = 0; 504 core.int buildCounterCreativesList = 0;
505 buildCreativesList() { 505 buildCreativesList() {
506 var o = new api.CreativesList(); 506 var o = new api.CreativesList();
507 buildCounterCreativesList++; 507 buildCounterCreativesList++;
508 if (buildCounterCreativesList < 3) { 508 if (buildCounterCreativesList < 3) {
509 o.items = buildUnnamed571(); 509 o.items = buildUnnamed16();
510 o.kind = "foo"; 510 o.kind = "foo";
511 o.nextPageToken = "foo"; 511 o.nextPageToken = "foo";
512 } 512 }
513 buildCounterCreativesList--; 513 buildCounterCreativesList--;
514 return o; 514 return o;
515 } 515 }
516 516
517 checkCreativesList(api.CreativesList o) { 517 checkCreativesList(api.CreativesList o) {
518 buildCounterCreativesList++; 518 buildCounterCreativesList++;
519 if (buildCounterCreativesList < 3) { 519 if (buildCounterCreativesList < 3) {
520 checkUnnamed571(o.items); 520 checkUnnamed16(o.items);
521 unittest.expect(o.kind, unittest.equals('foo')); 521 unittest.expect(o.kind, unittest.equals('foo'));
522 unittest.expect(o.nextPageToken, unittest.equals('foo')); 522 unittest.expect(o.nextPageToken, unittest.equals('foo'));
523 } 523 }
524 buildCounterCreativesList--; 524 buildCounterCreativesList--;
525 } 525 }
526 526
527 core.int buildCounterDirectDeal = 0; 527 core.int buildCounterDirectDeal = 0;
528 buildDirectDeal() { 528 buildDirectDeal() {
529 var o = new api.DirectDeal(); 529 var o = new api.DirectDeal();
530 buildCounterDirectDeal++; 530 buildCounterDirectDeal++;
(...skipping 27 matching lines...) Expand all
558 unittest.expect(o.kind, unittest.equals('foo')); 558 unittest.expect(o.kind, unittest.equals('foo'));
559 unittest.expect(o.name, unittest.equals('foo')); 559 unittest.expect(o.name, unittest.equals('foo'));
560 unittest.expect(o.privateExchangeMinCpm, unittest.equals('foo')); 560 unittest.expect(o.privateExchangeMinCpm, unittest.equals('foo'));
561 unittest.expect(o.publisherBlocksOverriden, unittest.isTrue); 561 unittest.expect(o.publisherBlocksOverriden, unittest.isTrue);
562 unittest.expect(o.sellerNetwork, unittest.equals('foo')); 562 unittest.expect(o.sellerNetwork, unittest.equals('foo'));
563 unittest.expect(o.startTime, unittest.equals('foo')); 563 unittest.expect(o.startTime, unittest.equals('foo'));
564 } 564 }
565 buildCounterDirectDeal--; 565 buildCounterDirectDeal--;
566 } 566 }
567 567
568 buildUnnamed572() { 568 buildUnnamed17() {
569 var o = new core.List<api.DirectDeal>(); 569 var o = new core.List<api.DirectDeal>();
570 o.add(buildDirectDeal()); 570 o.add(buildDirectDeal());
571 o.add(buildDirectDeal()); 571 o.add(buildDirectDeal());
572 return o; 572 return o;
573 } 573 }
574 574
575 checkUnnamed572(core.List<api.DirectDeal> o) { 575 checkUnnamed17(core.List<api.DirectDeal> o) {
576 unittest.expect(o, unittest.hasLength(2)); 576 unittest.expect(o, unittest.hasLength(2));
577 checkDirectDeal(o[0]); 577 checkDirectDeal(o[0]);
578 checkDirectDeal(o[1]); 578 checkDirectDeal(o[1]);
579 } 579 }
580 580
581 core.int buildCounterDirectDealsList = 0; 581 core.int buildCounterDirectDealsList = 0;
582 buildDirectDealsList() { 582 buildDirectDealsList() {
583 var o = new api.DirectDealsList(); 583 var o = new api.DirectDealsList();
584 buildCounterDirectDealsList++; 584 buildCounterDirectDealsList++;
585 if (buildCounterDirectDealsList < 3) { 585 if (buildCounterDirectDealsList < 3) {
586 o.directDeals = buildUnnamed572(); 586 o.directDeals = buildUnnamed17();
587 o.kind = "foo"; 587 o.kind = "foo";
588 } 588 }
589 buildCounterDirectDealsList--; 589 buildCounterDirectDealsList--;
590 return o; 590 return o;
591 } 591 }
592 592
593 checkDirectDealsList(api.DirectDealsList o) { 593 checkDirectDealsList(api.DirectDealsList o) {
594 buildCounterDirectDealsList++; 594 buildCounterDirectDealsList++;
595 if (buildCounterDirectDealsList < 3) { 595 if (buildCounterDirectDealsList < 3) {
596 checkUnnamed572(o.directDeals); 596 checkUnnamed17(o.directDeals);
597 unittest.expect(o.kind, unittest.equals('foo')); 597 unittest.expect(o.kind, unittest.equals('foo'));
598 } 598 }
599 buildCounterDirectDealsList--; 599 buildCounterDirectDealsList--;
600 } 600 }
601 601
602 buildUnnamed573() { 602 buildUnnamed18() {
603 var o = new core.List<core.Object>(); 603 var o = new core.List<core.Object>();
604 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 604 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
605 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 605 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
606 return o; 606 return o;
607 } 607 }
608 608
609 checkUnnamed573(core.List<core.Object> o) { 609 checkUnnamed18(core.List<core.Object> o) {
610 unittest.expect(o, unittest.hasLength(2)); 610 unittest.expect(o, unittest.hasLength(2));
611 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')); 611 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'));
612 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')); 612 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'));
613 } 613 }
614 614
615 buildUnnamed574() { 615 buildUnnamed19() {
616 var o = new core.List<core.Object>(); 616 var o = new core.List<core.Object>();
617 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 617 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
618 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 618 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
619 return o; 619 return o;
620 } 620 }
621 621
622 checkUnnamed574(core.List<core.Object> o) { 622 checkUnnamed19(core.List<core.Object> o) {
623 unittest.expect(o, unittest.hasLength(2)); 623 unittest.expect(o, unittest.hasLength(2));
624 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')); 624 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'));
625 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')); 625 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'));
626 } 626 }
627 627
628 buildUnnamed575() { 628 buildUnnamed20() {
629 var o = new core.List<core.Object>(); 629 var o = new core.List<core.Object>();
630 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 630 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
631 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 631 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
632 return o; 632 return o;
633 } 633 }
634 634
635 checkUnnamed575(core.List<core.Object> o) { 635 checkUnnamed20(core.List<core.Object> o) {
636 unittest.expect(o, unittest.hasLength(2)); 636 unittest.expect(o, unittest.hasLength(2));
637 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')); 637 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'));
638 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')); 638 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'));
639 } 639 }
640 640
641 buildUnnamed576() { 641 buildUnnamed21() {
642 var o = new core.List<core.Object>(); 642 var o = new core.List<core.Object>();
643 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 643 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
644 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 644 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
645 return o; 645 return o;
646 } 646 }
647 647
648 checkUnnamed576(core.List<core.Object> o) { 648 checkUnnamed21(core.List<core.Object> o) {
649 unittest.expect(o, unittest.hasLength(2)); 649 unittest.expect(o, unittest.hasLength(2));
650 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')); 650 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'));
651 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')); 651 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'));
652 } 652 }
653 653
654 core.int buildCounterPerformanceReport = 0; 654 core.int buildCounterPerformanceReport = 0;
655 buildPerformanceReport() { 655 buildPerformanceReport() {
656 var o = new api.PerformanceReport(); 656 var o = new api.PerformanceReport();
657 buildCounterPerformanceReport++; 657 buildCounterPerformanceReport++;
658 if (buildCounterPerformanceReport < 3) { 658 if (buildCounterPerformanceReport < 3) {
659 o.calloutStatusRate = buildUnnamed573(); 659 o.calloutStatusRate = buildUnnamed18();
660 o.cookieMatcherStatusRate = buildUnnamed574(); 660 o.cookieMatcherStatusRate = buildUnnamed19();
661 o.creativeStatusRate = buildUnnamed575(); 661 o.creativeStatusRate = buildUnnamed20();
662 o.hostedMatchStatusRate = buildUnnamed576(); 662 o.hostedMatchStatusRate = buildUnnamed21();
663 o.kind = "foo"; 663 o.kind = "foo";
664 o.latency50thPercentile = 42.0; 664 o.latency50thPercentile = 42.0;
665 o.latency85thPercentile = 42.0; 665 o.latency85thPercentile = 42.0;
666 o.latency95thPercentile = 42.0; 666 o.latency95thPercentile = 42.0;
667 o.noQuotaInRegion = 42.0; 667 o.noQuotaInRegion = 42.0;
668 o.outOfQuota = 42.0; 668 o.outOfQuota = 42.0;
669 o.pixelMatchRequests = 42.0; 669 o.pixelMatchRequests = 42.0;
670 o.pixelMatchResponses = 42.0; 670 o.pixelMatchResponses = 42.0;
671 o.quotaConfiguredLimit = 42.0; 671 o.quotaConfiguredLimit = 42.0;
672 o.quotaThrottledLimit = 42.0; 672 o.quotaThrottledLimit = 42.0;
673 o.region = "foo"; 673 o.region = "foo";
674 o.timestamp = "foo"; 674 o.timestamp = "foo";
675 } 675 }
676 buildCounterPerformanceReport--; 676 buildCounterPerformanceReport--;
677 return o; 677 return o;
678 } 678 }
679 679
680 checkPerformanceReport(api.PerformanceReport o) { 680 checkPerformanceReport(api.PerformanceReport o) {
681 buildCounterPerformanceReport++; 681 buildCounterPerformanceReport++;
682 if (buildCounterPerformanceReport < 3) { 682 if (buildCounterPerformanceReport < 3) {
683 checkUnnamed573(o.calloutStatusRate); 683 checkUnnamed18(o.calloutStatusRate);
684 checkUnnamed574(o.cookieMatcherStatusRate); 684 checkUnnamed19(o.cookieMatcherStatusRate);
685 checkUnnamed575(o.creativeStatusRate); 685 checkUnnamed20(o.creativeStatusRate);
686 checkUnnamed576(o.hostedMatchStatusRate); 686 checkUnnamed21(o.hostedMatchStatusRate);
687 unittest.expect(o.kind, unittest.equals('foo')); 687 unittest.expect(o.kind, unittest.equals('foo'));
688 unittest.expect(o.latency50thPercentile, unittest.equals(42.0)); 688 unittest.expect(o.latency50thPercentile, unittest.equals(42.0));
689 unittest.expect(o.latency85thPercentile, unittest.equals(42.0)); 689 unittest.expect(o.latency85thPercentile, unittest.equals(42.0));
690 unittest.expect(o.latency95thPercentile, unittest.equals(42.0)); 690 unittest.expect(o.latency95thPercentile, unittest.equals(42.0));
691 unittest.expect(o.noQuotaInRegion, unittest.equals(42.0)); 691 unittest.expect(o.noQuotaInRegion, unittest.equals(42.0));
692 unittest.expect(o.outOfQuota, unittest.equals(42.0)); 692 unittest.expect(o.outOfQuota, unittest.equals(42.0));
693 unittest.expect(o.pixelMatchRequests, unittest.equals(42.0)); 693 unittest.expect(o.pixelMatchRequests, unittest.equals(42.0));
694 unittest.expect(o.pixelMatchResponses, unittest.equals(42.0)); 694 unittest.expect(o.pixelMatchResponses, unittest.equals(42.0));
695 unittest.expect(o.quotaConfiguredLimit, unittest.equals(42.0)); 695 unittest.expect(o.quotaConfiguredLimit, unittest.equals(42.0));
696 unittest.expect(o.quotaThrottledLimit, unittest.equals(42.0)); 696 unittest.expect(o.quotaThrottledLimit, unittest.equals(42.0));
697 unittest.expect(o.region, unittest.equals('foo')); 697 unittest.expect(o.region, unittest.equals('foo'));
698 unittest.expect(o.timestamp, unittest.equals('foo')); 698 unittest.expect(o.timestamp, unittest.equals('foo'));
699 } 699 }
700 buildCounterPerformanceReport--; 700 buildCounterPerformanceReport--;
701 } 701 }
702 702
703 buildUnnamed577() { 703 buildUnnamed22() {
704 var o = new core.List<api.PerformanceReport>(); 704 var o = new core.List<api.PerformanceReport>();
705 o.add(buildPerformanceReport()); 705 o.add(buildPerformanceReport());
706 o.add(buildPerformanceReport()); 706 o.add(buildPerformanceReport());
707 return o; 707 return o;
708 } 708 }
709 709
710 checkUnnamed577(core.List<api.PerformanceReport> o) { 710 checkUnnamed22(core.List<api.PerformanceReport> o) {
711 unittest.expect(o, unittest.hasLength(2)); 711 unittest.expect(o, unittest.hasLength(2));
712 checkPerformanceReport(o[0]); 712 checkPerformanceReport(o[0]);
713 checkPerformanceReport(o[1]); 713 checkPerformanceReport(o[1]);
714 } 714 }
715 715
716 core.int buildCounterPerformanceReportList = 0; 716 core.int buildCounterPerformanceReportList = 0;
717 buildPerformanceReportList() { 717 buildPerformanceReportList() {
718 var o = new api.PerformanceReportList(); 718 var o = new api.PerformanceReportList();
719 buildCounterPerformanceReportList++; 719 buildCounterPerformanceReportList++;
720 if (buildCounterPerformanceReportList < 3) { 720 if (buildCounterPerformanceReportList < 3) {
721 o.kind = "foo"; 721 o.kind = "foo";
722 o.performanceReport = buildUnnamed577(); 722 o.performanceReport = buildUnnamed22();
723 } 723 }
724 buildCounterPerformanceReportList--; 724 buildCounterPerformanceReportList--;
725 return o; 725 return o;
726 } 726 }
727 727
728 checkPerformanceReportList(api.PerformanceReportList o) { 728 checkPerformanceReportList(api.PerformanceReportList o) {
729 buildCounterPerformanceReportList++; 729 buildCounterPerformanceReportList++;
730 if (buildCounterPerformanceReportList < 3) { 730 if (buildCounterPerformanceReportList < 3) {
731 unittest.expect(o.kind, unittest.equals('foo')); 731 unittest.expect(o.kind, unittest.equals('foo'));
732 checkUnnamed577(o.performanceReport); 732 checkUnnamed22(o.performanceReport);
733 } 733 }
734 buildCounterPerformanceReportList--; 734 buildCounterPerformanceReportList--;
735 } 735 }
736 736
737 buildUnnamed578() { 737 buildUnnamed23() {
738 var o = new core.List<core.String>(); 738 var o = new core.List<core.String>();
739 o.add("foo"); 739 o.add("foo");
740 o.add("foo"); 740 o.add("foo");
741 return o; 741 return o;
742 } 742 }
743 743
744 checkUnnamed578(core.List<core.String> o) { 744 checkUnnamed23(core.List<core.String> o) {
745 unittest.expect(o, unittest.hasLength(2)); 745 unittest.expect(o, unittest.hasLength(2));
746 unittest.expect(o[0], unittest.equals('foo')); 746 unittest.expect(o[0], unittest.equals('foo'));
747 unittest.expect(o[1], unittest.equals('foo')); 747 unittest.expect(o[1], unittest.equals('foo'));
748 } 748 }
749 749
750 core.int buildCounterPretargetingConfigDimensions = 0; 750 core.int buildCounterPretargetingConfigDimensions = 0;
751 buildPretargetingConfigDimensions() { 751 buildPretargetingConfigDimensions() {
752 var o = new api.PretargetingConfigDimensions(); 752 var o = new api.PretargetingConfigDimensions();
753 buildCounterPretargetingConfigDimensions++; 753 buildCounterPretargetingConfigDimensions++;
754 if (buildCounterPretargetingConfigDimensions < 3) { 754 if (buildCounterPretargetingConfigDimensions < 3) {
755 o.height = "foo"; 755 o.height = "foo";
756 o.width = "foo"; 756 o.width = "foo";
757 } 757 }
758 buildCounterPretargetingConfigDimensions--; 758 buildCounterPretargetingConfigDimensions--;
759 return o; 759 return o;
760 } 760 }
761 761
762 checkPretargetingConfigDimensions(api.PretargetingConfigDimensions o) { 762 checkPretargetingConfigDimensions(api.PretargetingConfigDimensions o) {
763 buildCounterPretargetingConfigDimensions++; 763 buildCounterPretargetingConfigDimensions++;
764 if (buildCounterPretargetingConfigDimensions < 3) { 764 if (buildCounterPretargetingConfigDimensions < 3) {
765 unittest.expect(o.height, unittest.equals('foo')); 765 unittest.expect(o.height, unittest.equals('foo'));
766 unittest.expect(o.width, unittest.equals('foo')); 766 unittest.expect(o.width, unittest.equals('foo'));
767 } 767 }
768 buildCounterPretargetingConfigDimensions--; 768 buildCounterPretargetingConfigDimensions--;
769 } 769 }
770 770
771 buildUnnamed579() { 771 buildUnnamed24() {
772 var o = new core.List<api.PretargetingConfigDimensions>(); 772 var o = new core.List<api.PretargetingConfigDimensions>();
773 o.add(buildPretargetingConfigDimensions()); 773 o.add(buildPretargetingConfigDimensions());
774 o.add(buildPretargetingConfigDimensions()); 774 o.add(buildPretargetingConfigDimensions());
775 return o; 775 return o;
776 } 776 }
777 777
778 checkUnnamed579(core.List<api.PretargetingConfigDimensions> o) { 778 checkUnnamed24(core.List<api.PretargetingConfigDimensions> o) {
779 unittest.expect(o, unittest.hasLength(2)); 779 unittest.expect(o, unittest.hasLength(2));
780 checkPretargetingConfigDimensions(o[0]); 780 checkPretargetingConfigDimensions(o[0]);
781 checkPretargetingConfigDimensions(o[1]); 781 checkPretargetingConfigDimensions(o[1]);
782 } 782 }
783 783
784 buildUnnamed580() { 784 buildUnnamed25() {
785 var o = new core.List<core.String>(); 785 var o = new core.List<core.String>();
786 o.add("foo"); 786 o.add("foo");
787 o.add("foo"); 787 o.add("foo");
788 return o; 788 return o;
789 } 789 }
790 790
791 checkUnnamed580(core.List<core.String> o) { 791 checkUnnamed25(core.List<core.String> o) {
792 unittest.expect(o, unittest.hasLength(2)); 792 unittest.expect(o, unittest.hasLength(2));
793 unittest.expect(o[0], unittest.equals('foo')); 793 unittest.expect(o[0], unittest.equals('foo'));
794 unittest.expect(o[1], unittest.equals('foo')); 794 unittest.expect(o[1], unittest.equals('foo'));
795 } 795 }
796 796
797 buildUnnamed581() { 797 buildUnnamed26() {
798 var o = new core.List<core.String>(); 798 var o = new core.List<core.String>();
799 o.add("foo"); 799 o.add("foo");
800 o.add("foo"); 800 o.add("foo");
801 return o; 801 return o;
802 } 802 }
803 803
804 checkUnnamed581(core.List<core.String> o) { 804 checkUnnamed26(core.List<core.String> o) {
805 unittest.expect(o, unittest.hasLength(2)); 805 unittest.expect(o, unittest.hasLength(2));
806 unittest.expect(o[0], unittest.equals('foo')); 806 unittest.expect(o[0], unittest.equals('foo'));
807 unittest.expect(o[1], unittest.equals('foo')); 807 unittest.expect(o[1], unittest.equals('foo'));
808 } 808 }
809 809
810 core.int buildCounterPretargetingConfigExcludedPlacements = 0; 810 core.int buildCounterPretargetingConfigExcludedPlacements = 0;
811 buildPretargetingConfigExcludedPlacements() { 811 buildPretargetingConfigExcludedPlacements() {
812 var o = new api.PretargetingConfigExcludedPlacements(); 812 var o = new api.PretargetingConfigExcludedPlacements();
813 buildCounterPretargetingConfigExcludedPlacements++; 813 buildCounterPretargetingConfigExcludedPlacements++;
814 if (buildCounterPretargetingConfigExcludedPlacements < 3) { 814 if (buildCounterPretargetingConfigExcludedPlacements < 3) {
815 o.token = "foo"; 815 o.token = "foo";
816 o.type = "foo"; 816 o.type = "foo";
817 } 817 }
818 buildCounterPretargetingConfigExcludedPlacements--; 818 buildCounterPretargetingConfigExcludedPlacements--;
819 return o; 819 return o;
820 } 820 }
821 821
822 checkPretargetingConfigExcludedPlacements(api.PretargetingConfigExcludedPlacemen ts o) { 822 checkPretargetingConfigExcludedPlacements(api.PretargetingConfigExcludedPlacemen ts o) {
823 buildCounterPretargetingConfigExcludedPlacements++; 823 buildCounterPretargetingConfigExcludedPlacements++;
824 if (buildCounterPretargetingConfigExcludedPlacements < 3) { 824 if (buildCounterPretargetingConfigExcludedPlacements < 3) {
825 unittest.expect(o.token, unittest.equals('foo')); 825 unittest.expect(o.token, unittest.equals('foo'));
826 unittest.expect(o.type, unittest.equals('foo')); 826 unittest.expect(o.type, unittest.equals('foo'));
827 } 827 }
828 buildCounterPretargetingConfigExcludedPlacements--; 828 buildCounterPretargetingConfigExcludedPlacements--;
829 } 829 }
830 830
831 buildUnnamed582() { 831 buildUnnamed27() {
832 var o = new core.List<api.PretargetingConfigExcludedPlacements>(); 832 var o = new core.List<api.PretargetingConfigExcludedPlacements>();
833 o.add(buildPretargetingConfigExcludedPlacements()); 833 o.add(buildPretargetingConfigExcludedPlacements());
834 o.add(buildPretargetingConfigExcludedPlacements()); 834 o.add(buildPretargetingConfigExcludedPlacements());
835 return o; 835 return o;
836 } 836 }
837 837
838 checkUnnamed582(core.List<api.PretargetingConfigExcludedPlacements> o) { 838 checkUnnamed27(core.List<api.PretargetingConfigExcludedPlacements> o) {
839 unittest.expect(o, unittest.hasLength(2)); 839 unittest.expect(o, unittest.hasLength(2));
840 checkPretargetingConfigExcludedPlacements(o[0]); 840 checkPretargetingConfigExcludedPlacements(o[0]);
841 checkPretargetingConfigExcludedPlacements(o[1]); 841 checkPretargetingConfigExcludedPlacements(o[1]);
842 } 842 }
843 843
844 buildUnnamed583() { 844 buildUnnamed28() {
845 var o = new core.List<core.String>(); 845 var o = new core.List<core.String>();
846 o.add("foo"); 846 o.add("foo");
847 o.add("foo"); 847 o.add("foo");
848 return o; 848 return o;
849 } 849 }
850 850
851 checkUnnamed583(core.List<core.String> o) { 851 checkUnnamed28(core.List<core.String> o) {
852 unittest.expect(o, unittest.hasLength(2)); 852 unittest.expect(o, unittest.hasLength(2));
853 unittest.expect(o[0], unittest.equals('foo')); 853 unittest.expect(o[0], unittest.equals('foo'));
854 unittest.expect(o[1], unittest.equals('foo')); 854 unittest.expect(o[1], unittest.equals('foo'));
855 } 855 }
856 856
857 buildUnnamed584() { 857 buildUnnamed29() {
858 var o = new core.List<core.String>(); 858 var o = new core.List<core.String>();
859 o.add("foo"); 859 o.add("foo");
860 o.add("foo"); 860 o.add("foo");
861 return o; 861 return o;
862 } 862 }
863 863
864 checkUnnamed584(core.List<core.String> o) { 864 checkUnnamed29(core.List<core.String> o) {
865 unittest.expect(o, unittest.hasLength(2)); 865 unittest.expect(o, unittest.hasLength(2));
866 unittest.expect(o[0], unittest.equals('foo')); 866 unittest.expect(o[0], unittest.equals('foo'));
867 unittest.expect(o[1], unittest.equals('foo')); 867 unittest.expect(o[1], unittest.equals('foo'));
868 } 868 }
869 869
870 buildUnnamed585() { 870 buildUnnamed30() {
871 var o = new core.List<core.String>(); 871 var o = new core.List<core.String>();
872 o.add("foo"); 872 o.add("foo");
873 o.add("foo"); 873 o.add("foo");
874 return o; 874 return o;
875 } 875 }
876 876
877 checkUnnamed585(core.List<core.String> o) { 877 checkUnnamed30(core.List<core.String> o) {
878 unittest.expect(o, unittest.hasLength(2)); 878 unittest.expect(o, unittest.hasLength(2));
879 unittest.expect(o[0], unittest.equals('foo')); 879 unittest.expect(o[0], unittest.equals('foo'));
880 unittest.expect(o[1], unittest.equals('foo')); 880 unittest.expect(o[1], unittest.equals('foo'));
881 } 881 }
882 882
883 buildUnnamed586() { 883 buildUnnamed31() {
884 var o = new core.List<core.String>(); 884 var o = new core.List<core.String>();
885 o.add("foo"); 885 o.add("foo");
886 o.add("foo"); 886 o.add("foo");
887 return o; 887 return o;
888 } 888 }
889 889
890 checkUnnamed586(core.List<core.String> o) { 890 checkUnnamed31(core.List<core.String> o) {
891 unittest.expect(o, unittest.hasLength(2)); 891 unittest.expect(o, unittest.hasLength(2));
892 unittest.expect(o[0], unittest.equals('foo')); 892 unittest.expect(o[0], unittest.equals('foo'));
893 unittest.expect(o[1], unittest.equals('foo')); 893 unittest.expect(o[1], unittest.equals('foo'));
894 } 894 }
895 895
896 buildUnnamed587() { 896 buildUnnamed32() {
897 var o = new core.List<core.String>(); 897 var o = new core.List<core.String>();
898 o.add("foo"); 898 o.add("foo");
899 o.add("foo"); 899 o.add("foo");
900 return o; 900 return o;
901 } 901 }
902 902
903 checkUnnamed587(core.List<core.String> o) { 903 checkUnnamed32(core.List<core.String> o) {
904 unittest.expect(o, unittest.hasLength(2)); 904 unittest.expect(o, unittest.hasLength(2));
905 unittest.expect(o[0], unittest.equals('foo')); 905 unittest.expect(o[0], unittest.equals('foo'));
906 unittest.expect(o[1], unittest.equals('foo')); 906 unittest.expect(o[1], unittest.equals('foo'));
907 } 907 }
908 908
909 buildUnnamed588() { 909 buildUnnamed33() {
910 var o = new core.List<core.String>(); 910 var o = new core.List<core.String>();
911 o.add("foo"); 911 o.add("foo");
912 o.add("foo"); 912 o.add("foo");
913 return o; 913 return o;
914 } 914 }
915 915
916 checkUnnamed588(core.List<core.String> o) { 916 checkUnnamed33(core.List<core.String> o) {
917 unittest.expect(o, unittest.hasLength(2)); 917 unittest.expect(o, unittest.hasLength(2));
918 unittest.expect(o[0], unittest.equals('foo')); 918 unittest.expect(o[0], unittest.equals('foo'));
919 unittest.expect(o[1], unittest.equals('foo')); 919 unittest.expect(o[1], unittest.equals('foo'));
920 } 920 }
921 921
922 buildUnnamed589() { 922 buildUnnamed34() {
923 var o = new core.List<core.String>(); 923 var o = new core.List<core.String>();
924 o.add("foo"); 924 o.add("foo");
925 o.add("foo"); 925 o.add("foo");
926 return o; 926 return o;
927 } 927 }
928 928
929 checkUnnamed589(core.List<core.String> o) { 929 checkUnnamed34(core.List<core.String> o) {
930 unittest.expect(o, unittest.hasLength(2)); 930 unittest.expect(o, unittest.hasLength(2));
931 unittest.expect(o[0], unittest.equals('foo')); 931 unittest.expect(o[0], unittest.equals('foo'));
932 unittest.expect(o[1], unittest.equals('foo')); 932 unittest.expect(o[1], unittest.equals('foo'));
933 } 933 }
934 934
935 core.int buildCounterPretargetingConfigPlacements = 0; 935 core.int buildCounterPretargetingConfigPlacements = 0;
936 buildPretargetingConfigPlacements() { 936 buildPretargetingConfigPlacements() {
937 var o = new api.PretargetingConfigPlacements(); 937 var o = new api.PretargetingConfigPlacements();
938 buildCounterPretargetingConfigPlacements++; 938 buildCounterPretargetingConfigPlacements++;
939 if (buildCounterPretargetingConfigPlacements < 3) { 939 if (buildCounterPretargetingConfigPlacements < 3) {
940 o.token = "foo"; 940 o.token = "foo";
941 o.type = "foo"; 941 o.type = "foo";
942 } 942 }
943 buildCounterPretargetingConfigPlacements--; 943 buildCounterPretargetingConfigPlacements--;
944 return o; 944 return o;
945 } 945 }
946 946
947 checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) { 947 checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) {
948 buildCounterPretargetingConfigPlacements++; 948 buildCounterPretargetingConfigPlacements++;
949 if (buildCounterPretargetingConfigPlacements < 3) { 949 if (buildCounterPretargetingConfigPlacements < 3) {
950 unittest.expect(o.token, unittest.equals('foo')); 950 unittest.expect(o.token, unittest.equals('foo'));
951 unittest.expect(o.type, unittest.equals('foo')); 951 unittest.expect(o.type, unittest.equals('foo'));
952 } 952 }
953 buildCounterPretargetingConfigPlacements--; 953 buildCounterPretargetingConfigPlacements--;
954 } 954 }
955 955
956 buildUnnamed590() { 956 buildUnnamed35() {
957 var o = new core.List<api.PretargetingConfigPlacements>(); 957 var o = new core.List<api.PretargetingConfigPlacements>();
958 o.add(buildPretargetingConfigPlacements()); 958 o.add(buildPretargetingConfigPlacements());
959 o.add(buildPretargetingConfigPlacements()); 959 o.add(buildPretargetingConfigPlacements());
960 return o; 960 return o;
961 } 961 }
962 962
963 checkUnnamed590(core.List<api.PretargetingConfigPlacements> o) { 963 checkUnnamed35(core.List<api.PretargetingConfigPlacements> o) {
964 unittest.expect(o, unittest.hasLength(2)); 964 unittest.expect(o, unittest.hasLength(2));
965 checkPretargetingConfigPlacements(o[0]); 965 checkPretargetingConfigPlacements(o[0]);
966 checkPretargetingConfigPlacements(o[1]); 966 checkPretargetingConfigPlacements(o[1]);
967 } 967 }
968 968
969 buildUnnamed591() { 969 buildUnnamed36() {
970 var o = new core.List<core.String>(); 970 var o = new core.List<core.String>();
971 o.add("foo"); 971 o.add("foo");
972 o.add("foo"); 972 o.add("foo");
973 return o; 973 return o;
974 } 974 }
975 975
976 checkUnnamed591(core.List<core.String> o) { 976 checkUnnamed36(core.List<core.String> o) {
977 unittest.expect(o, unittest.hasLength(2)); 977 unittest.expect(o, unittest.hasLength(2));
978 unittest.expect(o[0], unittest.equals('foo')); 978 unittest.expect(o[0], unittest.equals('foo'));
979 unittest.expect(o[1], unittest.equals('foo')); 979 unittest.expect(o[1], unittest.equals('foo'));
980 } 980 }
981 981
982 buildUnnamed592() { 982 buildUnnamed37() {
983 var o = new core.List<core.String>(); 983 var o = new core.List<core.String>();
984 o.add("foo"); 984 o.add("foo");
985 o.add("foo"); 985 o.add("foo");
986 return o; 986 return o;
987 } 987 }
988 988
989 checkUnnamed592(core.List<core.String> o) { 989 checkUnnamed37(core.List<core.String> o) {
990 unittest.expect(o, unittest.hasLength(2)); 990 unittest.expect(o, unittest.hasLength(2));
991 unittest.expect(o[0], unittest.equals('foo')); 991 unittest.expect(o[0], unittest.equals('foo'));
992 unittest.expect(o[1], unittest.equals('foo')); 992 unittest.expect(o[1], unittest.equals('foo'));
993 } 993 }
994 994
995 buildUnnamed593() { 995 buildUnnamed38() {
996 var o = new core.List<core.String>(); 996 var o = new core.List<core.String>();
997 o.add("foo"); 997 o.add("foo");
998 o.add("foo"); 998 o.add("foo");
999 return o; 999 return o;
1000 } 1000 }
1001 1001
1002 checkUnnamed593(core.List<core.String> o) { 1002 checkUnnamed38(core.List<core.String> o) {
1003 unittest.expect(o, unittest.hasLength(2)); 1003 unittest.expect(o, unittest.hasLength(2));
1004 unittest.expect(o[0], unittest.equals('foo')); 1004 unittest.expect(o[0], unittest.equals('foo'));
1005 unittest.expect(o[1], unittest.equals('foo')); 1005 unittest.expect(o[1], unittest.equals('foo'));
1006 } 1006 }
1007 1007
1008 buildUnnamed594() { 1008 buildUnnamed39() {
1009 var o = new core.List<core.String>(); 1009 var o = new core.List<core.String>();
1010 o.add("foo"); 1010 o.add("foo");
1011 o.add("foo"); 1011 o.add("foo");
1012 return o; 1012 return o;
1013 } 1013 }
1014 1014
1015 checkUnnamed594(core.List<core.String> o) { 1015 checkUnnamed39(core.List<core.String> o) {
1016 unittest.expect(o, unittest.hasLength(2)); 1016 unittest.expect(o, unittest.hasLength(2));
1017 unittest.expect(o[0], unittest.equals('foo')); 1017 unittest.expect(o[0], unittest.equals('foo'));
1018 unittest.expect(o[1], unittest.equals('foo')); 1018 unittest.expect(o[1], unittest.equals('foo'));
1019 } 1019 }
1020 1020
1021 buildUnnamed595() { 1021 buildUnnamed40() {
1022 var o = new core.List<core.String>(); 1022 var o = new core.List<core.String>();
1023 o.add("foo"); 1023 o.add("foo");
1024 o.add("foo"); 1024 o.add("foo");
1025 return o; 1025 return o;
1026 } 1026 }
1027 1027
1028 checkUnnamed595(core.List<core.String> o) { 1028 checkUnnamed40(core.List<core.String> o) {
1029 unittest.expect(o, unittest.hasLength(2)); 1029 unittest.expect(o, unittest.hasLength(2));
1030 unittest.expect(o[0], unittest.equals('foo')); 1030 unittest.expect(o[0], unittest.equals('foo'));
1031 unittest.expect(o[1], unittest.equals('foo')); 1031 unittest.expect(o[1], unittest.equals('foo'));
1032 } 1032 }
1033 1033
1034 core.int buildCounterPretargetingConfig = 0; 1034 core.int buildCounterPretargetingConfig = 0;
1035 buildPretargetingConfig() { 1035 buildPretargetingConfig() {
1036 var o = new api.PretargetingConfig(); 1036 var o = new api.PretargetingConfig();
1037 buildCounterPretargetingConfig++; 1037 buildCounterPretargetingConfig++;
1038 if (buildCounterPretargetingConfig < 3) { 1038 if (buildCounterPretargetingConfig < 3) {
1039 o.billingId = "foo"; 1039 o.billingId = "foo";
1040 o.configId = "foo"; 1040 o.configId = "foo";
1041 o.configName = "foo"; 1041 o.configName = "foo";
1042 o.creativeType = buildUnnamed578(); 1042 o.creativeType = buildUnnamed23();
1043 o.dimensions = buildUnnamed579(); 1043 o.dimensions = buildUnnamed24();
1044 o.excludedContentLabels = buildUnnamed580(); 1044 o.excludedContentLabels = buildUnnamed25();
1045 o.excludedGeoCriteriaIds = buildUnnamed581(); 1045 o.excludedGeoCriteriaIds = buildUnnamed26();
1046 o.excludedPlacements = buildUnnamed582(); 1046 o.excludedPlacements = buildUnnamed27();
1047 o.excludedUserLists = buildUnnamed583(); 1047 o.excludedUserLists = buildUnnamed28();
1048 o.excludedVerticals = buildUnnamed584(); 1048 o.excludedVerticals = buildUnnamed29();
1049 o.geoCriteriaIds = buildUnnamed585(); 1049 o.geoCriteriaIds = buildUnnamed30();
1050 o.isActive = true; 1050 o.isActive = true;
1051 o.kind = "foo"; 1051 o.kind = "foo";
1052 o.languages = buildUnnamed586(); 1052 o.languages = buildUnnamed31();
1053 o.mobileCarriers = buildUnnamed587(); 1053 o.mobileCarriers = buildUnnamed32();
1054 o.mobileDevices = buildUnnamed588(); 1054 o.mobileDevices = buildUnnamed33();
1055 o.mobileOperatingSystemVersions = buildUnnamed589(); 1055 o.mobileOperatingSystemVersions = buildUnnamed34();
1056 o.placements = buildUnnamed590(); 1056 o.placements = buildUnnamed35();
1057 o.platforms = buildUnnamed591(); 1057 o.platforms = buildUnnamed36();
1058 o.supportedCreativeAttributes = buildUnnamed592(); 1058 o.supportedCreativeAttributes = buildUnnamed37();
1059 o.userLists = buildUnnamed593(); 1059 o.userLists = buildUnnamed38();
1060 o.vendorTypes = buildUnnamed594(); 1060 o.vendorTypes = buildUnnamed39();
1061 o.verticals = buildUnnamed595(); 1061 o.verticals = buildUnnamed40();
1062 } 1062 }
1063 buildCounterPretargetingConfig--; 1063 buildCounterPretargetingConfig--;
1064 return o; 1064 return o;
1065 } 1065 }
1066 1066
1067 checkPretargetingConfig(api.PretargetingConfig o) { 1067 checkPretargetingConfig(api.PretargetingConfig o) {
1068 buildCounterPretargetingConfig++; 1068 buildCounterPretargetingConfig++;
1069 if (buildCounterPretargetingConfig < 3) { 1069 if (buildCounterPretargetingConfig < 3) {
1070 unittest.expect(o.billingId, unittest.equals('foo')); 1070 unittest.expect(o.billingId, unittest.equals('foo'));
1071 unittest.expect(o.configId, unittest.equals('foo')); 1071 unittest.expect(o.configId, unittest.equals('foo'));
1072 unittest.expect(o.configName, unittest.equals('foo')); 1072 unittest.expect(o.configName, unittest.equals('foo'));
1073 checkUnnamed578(o.creativeType); 1073 checkUnnamed23(o.creativeType);
1074 checkUnnamed579(o.dimensions); 1074 checkUnnamed24(o.dimensions);
1075 checkUnnamed580(o.excludedContentLabels); 1075 checkUnnamed25(o.excludedContentLabels);
1076 checkUnnamed581(o.excludedGeoCriteriaIds); 1076 checkUnnamed26(o.excludedGeoCriteriaIds);
1077 checkUnnamed582(o.excludedPlacements); 1077 checkUnnamed27(o.excludedPlacements);
1078 checkUnnamed583(o.excludedUserLists); 1078 checkUnnamed28(o.excludedUserLists);
1079 checkUnnamed584(o.excludedVerticals); 1079 checkUnnamed29(o.excludedVerticals);
1080 checkUnnamed585(o.geoCriteriaIds); 1080 checkUnnamed30(o.geoCriteriaIds);
1081 unittest.expect(o.isActive, unittest.isTrue); 1081 unittest.expect(o.isActive, unittest.isTrue);
1082 unittest.expect(o.kind, unittest.equals('foo')); 1082 unittest.expect(o.kind, unittest.equals('foo'));
1083 checkUnnamed586(o.languages); 1083 checkUnnamed31(o.languages);
1084 checkUnnamed587(o.mobileCarriers); 1084 checkUnnamed32(o.mobileCarriers);
1085 checkUnnamed588(o.mobileDevices); 1085 checkUnnamed33(o.mobileDevices);
1086 checkUnnamed589(o.mobileOperatingSystemVersions); 1086 checkUnnamed34(o.mobileOperatingSystemVersions);
1087 checkUnnamed590(o.placements); 1087 checkUnnamed35(o.placements);
1088 checkUnnamed591(o.platforms); 1088 checkUnnamed36(o.platforms);
1089 checkUnnamed592(o.supportedCreativeAttributes); 1089 checkUnnamed37(o.supportedCreativeAttributes);
1090 checkUnnamed593(o.userLists); 1090 checkUnnamed38(o.userLists);
1091 checkUnnamed594(o.vendorTypes); 1091 checkUnnamed39(o.vendorTypes);
1092 checkUnnamed595(o.verticals); 1092 checkUnnamed40(o.verticals);
1093 } 1093 }
1094 buildCounterPretargetingConfig--; 1094 buildCounterPretargetingConfig--;
1095 } 1095 }
1096 1096
1097 buildUnnamed596() { 1097 buildUnnamed41() {
1098 var o = new core.List<api.PretargetingConfig>(); 1098 var o = new core.List<api.PretargetingConfig>();
1099 o.add(buildPretargetingConfig()); 1099 o.add(buildPretargetingConfig());
1100 o.add(buildPretargetingConfig()); 1100 o.add(buildPretargetingConfig());
1101 return o; 1101 return o;
1102 } 1102 }
1103 1103
1104 checkUnnamed596(core.List<api.PretargetingConfig> o) { 1104 checkUnnamed41(core.List<api.PretargetingConfig> o) {
1105 unittest.expect(o, unittest.hasLength(2)); 1105 unittest.expect(o, unittest.hasLength(2));
1106 checkPretargetingConfig(o[0]); 1106 checkPretargetingConfig(o[0]);
1107 checkPretargetingConfig(o[1]); 1107 checkPretargetingConfig(o[1]);
1108 } 1108 }
1109 1109
1110 core.int buildCounterPretargetingConfigList = 0; 1110 core.int buildCounterPretargetingConfigList = 0;
1111 buildPretargetingConfigList() { 1111 buildPretargetingConfigList() {
1112 var o = new api.PretargetingConfigList(); 1112 var o = new api.PretargetingConfigList();
1113 buildCounterPretargetingConfigList++; 1113 buildCounterPretargetingConfigList++;
1114 if (buildCounterPretargetingConfigList < 3) { 1114 if (buildCounterPretargetingConfigList < 3) {
1115 o.items = buildUnnamed596(); 1115 o.items = buildUnnamed41();
1116 o.kind = "foo"; 1116 o.kind = "foo";
1117 } 1117 }
1118 buildCounterPretargetingConfigList--; 1118 buildCounterPretargetingConfigList--;
1119 return o; 1119 return o;
1120 } 1120 }
1121 1121
1122 checkPretargetingConfigList(api.PretargetingConfigList o) { 1122 checkPretargetingConfigList(api.PretargetingConfigList o) {
1123 buildCounterPretargetingConfigList++; 1123 buildCounterPretargetingConfigList++;
1124 if (buildCounterPretargetingConfigList < 3) { 1124 if (buildCounterPretargetingConfigList < 3) {
1125 checkUnnamed596(o.items); 1125 checkUnnamed41(o.items);
1126 unittest.expect(o.kind, unittest.equals('foo')); 1126 unittest.expect(o.kind, unittest.equals('foo'));
1127 } 1127 }
1128 buildCounterPretargetingConfigList--; 1128 buildCounterPretargetingConfigList--;
1129 } 1129 }
1130 1130
1131 buildUnnamed597() { 1131 buildUnnamed42() {
1132 var o = new core.List<core.int>(); 1132 var o = new core.List<core.int>();
1133 o.add(42); 1133 o.add(42);
1134 o.add(42); 1134 o.add(42);
1135 return o; 1135 return o;
1136 } 1136 }
1137 1137
1138 checkUnnamed597(core.List<core.int> o) { 1138 checkUnnamed42(core.List<core.int> o) {
1139 unittest.expect(o, unittest.hasLength(2)); 1139 unittest.expect(o, unittest.hasLength(2));
1140 unittest.expect(o[0], unittest.equals(42)); 1140 unittest.expect(o[0], unittest.equals(42));
1141 unittest.expect(o[1], unittest.equals(42)); 1141 unittest.expect(o[1], unittest.equals(42));
1142 } 1142 }
1143 1143
1144 buildUnnamed598() { 1144 buildUnnamed43() {
1145 var o = new core.List<core.String>(); 1145 var o = new core.List<core.String>();
1146 o.add("foo"); 1146 o.add("foo");
1147 o.add("foo"); 1147 o.add("foo");
1148 return o; 1148 return o;
1149 } 1149 }
1150 1150
1151 checkUnnamed598(core.List<core.String> o) { 1151 checkUnnamed43(core.List<core.String> o) {
1152 unittest.expect(o, unittest.hasLength(2)); 1152 unittest.expect(o, unittest.hasLength(2));
1153 unittest.expect(o[0], unittest.equals('foo')); 1153 unittest.expect(o[0], unittest.equals('foo'));
1154 unittest.expect(o[1], unittest.equals('foo')); 1154 unittest.expect(o[1], unittest.equals('foo'));
1155 } 1155 }
1156 1156
1157 1157
1158 main() { 1158 main() {
1159 unittest.group("obj-schema-AccountBidderLocation", () { 1159 unittest.group("obj-schema-AccountBidderLocation", () {
1160 unittest.test("to-json--from-json", () { 1160 unittest.test("to-json--from-json", () {
1161 var o = buildAccountBidderLocation(); 1161 var o = buildAccountBidderLocation();
(...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after
1742 }), true); 1742 }), true);
1743 res.insert(arg_request).then(unittest.expectAsync(((api.Creative response) { 1743 res.insert(arg_request).then(unittest.expectAsync(((api.Creative response) {
1744 checkCreative(response); 1744 checkCreative(response);
1745 }))); 1745 })));
1746 }); 1746 });
1747 1747
1748 unittest.test("method--list", () { 1748 unittest.test("method--list", () {
1749 1749
1750 var mock = new common_test.HttpServerMock(); 1750 var mock = new common_test.HttpServerMock();
1751 api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives; 1751 api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives;
1752 var arg_accountId = buildUnnamed597(); 1752 var arg_accountId = buildUnnamed42();
1753 var arg_buyerCreativeId = buildUnnamed598(); 1753 var arg_buyerCreativeId = buildUnnamed43();
1754 var arg_maxResults = 42; 1754 var arg_maxResults = 42;
1755 var arg_pageToken = "foo"; 1755 var arg_pageToken = "foo";
1756 var arg_statusFilter = "foo"; 1756 var arg_statusFilter = "foo";
1757 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 1757 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
1758 var path = (req.url).path; 1758 var path = (req.url).path;
1759 var pathOffset = 0; 1759 var pathOffset = 0;
1760 var index; 1760 var index;
1761 var subPart; 1761 var subPart;
1762 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 1762 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
1763 pathOffset += 1; 1763 pathOffset += 1;
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
2295 res.update(arg_request, arg_accountId, arg_configId).then(unittest.expectA sync(((api.PretargetingConfig response) { 2295 res.update(arg_request, arg_accountId, arg_configId).then(unittest.expectA sync(((api.PretargetingConfig response) {
2296 checkPretargetingConfig(response); 2296 checkPretargetingConfig(response);
2297 }))); 2297 })));
2298 }); 2298 });
2299 2299
2300 }); 2300 });
2301 2301
2302 2302
2303 } 2303 }
2304 2304
OLDNEW
« no previous file with comments | « generated/googleapis/pubspec.yaml ('k') | generated/googleapis/test/adexchangeseller/v1_1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698