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

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

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