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

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

Issue 2485703002: Api-roll 42: 2016-11-08 (Closed)
Patch Set: Created 4 years, 1 month 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_4.test; 1 library googleapis.adexchangebuyer.v1_4.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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 buildCounterAccountBidderLocation++; 69 buildCounterAccountBidderLocation++;
70 if (buildCounterAccountBidderLocation < 3) { 70 if (buildCounterAccountBidderLocation < 3) {
71 unittest.expect(o.bidProtocol, unittest.equals('foo')); 71 unittest.expect(o.bidProtocol, unittest.equals('foo'));
72 unittest.expect(o.maximumQps, unittest.equals(42)); 72 unittest.expect(o.maximumQps, unittest.equals(42));
73 unittest.expect(o.region, unittest.equals('foo')); 73 unittest.expect(o.region, unittest.equals('foo'));
74 unittest.expect(o.url, unittest.equals('foo')); 74 unittest.expect(o.url, unittest.equals('foo'));
75 } 75 }
76 buildCounterAccountBidderLocation--; 76 buildCounterAccountBidderLocation--;
77 } 77 }
78 78
79 buildUnnamed2279() { 79 buildUnnamed2038() {
80 var o = new core.List<api.AccountBidderLocation>(); 80 var o = new core.List<api.AccountBidderLocation>();
81 o.add(buildAccountBidderLocation()); 81 o.add(buildAccountBidderLocation());
82 o.add(buildAccountBidderLocation()); 82 o.add(buildAccountBidderLocation());
83 return o; 83 return o;
84 } 84 }
85 85
86 checkUnnamed2279(core.List<api.AccountBidderLocation> o) { 86 checkUnnamed2038(core.List<api.AccountBidderLocation> o) {
87 unittest.expect(o, unittest.hasLength(2)); 87 unittest.expect(o, unittest.hasLength(2));
88 checkAccountBidderLocation(o[0]); 88 checkAccountBidderLocation(o[0]);
89 checkAccountBidderLocation(o[1]); 89 checkAccountBidderLocation(o[1]);
90 } 90 }
91 91
92 core.int buildCounterAccount = 0; 92 core.int buildCounterAccount = 0;
93 buildAccount() { 93 buildAccount() {
94 var o = new api.Account(); 94 var o = new api.Account();
95 buildCounterAccount++; 95 buildCounterAccount++;
96 if (buildCounterAccount < 3) { 96 if (buildCounterAccount < 3) {
97 o.bidderLocation = buildUnnamed2279(); 97 o.bidderLocation = buildUnnamed2038();
98 o.cookieMatchingNid = "foo"; 98 o.cookieMatchingNid = "foo";
99 o.cookieMatchingUrl = "foo"; 99 o.cookieMatchingUrl = "foo";
100 o.id = 42; 100 o.id = 42;
101 o.kind = "foo"; 101 o.kind = "foo";
102 o.maximumActiveCreatives = 42; 102 o.maximumActiveCreatives = 42;
103 o.maximumTotalQps = 42; 103 o.maximumTotalQps = 42;
104 o.numberActiveCreatives = 42; 104 o.numberActiveCreatives = 42;
105 } 105 }
106 buildCounterAccount--; 106 buildCounterAccount--;
107 return o; 107 return o;
108 } 108 }
109 109
110 checkAccount(api.Account o) { 110 checkAccount(api.Account o) {
111 buildCounterAccount++; 111 buildCounterAccount++;
112 if (buildCounterAccount < 3) { 112 if (buildCounterAccount < 3) {
113 checkUnnamed2279(o.bidderLocation); 113 checkUnnamed2038(o.bidderLocation);
114 unittest.expect(o.cookieMatchingNid, unittest.equals('foo')); 114 unittest.expect(o.cookieMatchingNid, unittest.equals('foo'));
115 unittest.expect(o.cookieMatchingUrl, unittest.equals('foo')); 115 unittest.expect(o.cookieMatchingUrl, unittest.equals('foo'));
116 unittest.expect(o.id, unittest.equals(42)); 116 unittest.expect(o.id, unittest.equals(42));
117 unittest.expect(o.kind, unittest.equals('foo')); 117 unittest.expect(o.kind, unittest.equals('foo'));
118 unittest.expect(o.maximumActiveCreatives, unittest.equals(42)); 118 unittest.expect(o.maximumActiveCreatives, unittest.equals(42));
119 unittest.expect(o.maximumTotalQps, unittest.equals(42)); 119 unittest.expect(o.maximumTotalQps, unittest.equals(42));
120 unittest.expect(o.numberActiveCreatives, unittest.equals(42)); 120 unittest.expect(o.numberActiveCreatives, unittest.equals(42));
121 } 121 }
122 buildCounterAccount--; 122 buildCounterAccount--;
123 } 123 }
124 124
125 buildUnnamed2280() { 125 buildUnnamed2039() {
126 var o = new core.List<api.Account>(); 126 var o = new core.List<api.Account>();
127 o.add(buildAccount()); 127 o.add(buildAccount());
128 o.add(buildAccount()); 128 o.add(buildAccount());
129 return o; 129 return o;
130 } 130 }
131 131
132 checkUnnamed2280(core.List<api.Account> o) { 132 checkUnnamed2039(core.List<api.Account> o) {
133 unittest.expect(o, unittest.hasLength(2)); 133 unittest.expect(o, unittest.hasLength(2));
134 checkAccount(o[0]); 134 checkAccount(o[0]);
135 checkAccount(o[1]); 135 checkAccount(o[1]);
136 } 136 }
137 137
138 core.int buildCounterAccountsList = 0; 138 core.int buildCounterAccountsList = 0;
139 buildAccountsList() { 139 buildAccountsList() {
140 var o = new api.AccountsList(); 140 var o = new api.AccountsList();
141 buildCounterAccountsList++; 141 buildCounterAccountsList++;
142 if (buildCounterAccountsList < 3) { 142 if (buildCounterAccountsList < 3) {
143 o.items = buildUnnamed2280(); 143 o.items = buildUnnamed2039();
144 o.kind = "foo"; 144 o.kind = "foo";
145 } 145 }
146 buildCounterAccountsList--; 146 buildCounterAccountsList--;
147 return o; 147 return o;
148 } 148 }
149 149
150 checkAccountsList(api.AccountsList o) { 150 checkAccountsList(api.AccountsList o) {
151 buildCounterAccountsList++; 151 buildCounterAccountsList++;
152 if (buildCounterAccountsList < 3) { 152 if (buildCounterAccountsList < 3) {
153 checkUnnamed2280(o.items); 153 checkUnnamed2039(o.items);
154 unittest.expect(o.kind, unittest.equals('foo')); 154 unittest.expect(o.kind, unittest.equals('foo'));
155 } 155 }
156 buildCounterAccountsList--; 156 buildCounterAccountsList--;
157 } 157 }
158 158
159 buildUnnamed2281() { 159 buildUnnamed2040() {
160 var o = new core.List<api.MarketplaceDeal>(); 160 var o = new core.List<api.MarketplaceDeal>();
161 o.add(buildMarketplaceDeal()); 161 o.add(buildMarketplaceDeal());
162 o.add(buildMarketplaceDeal()); 162 o.add(buildMarketplaceDeal());
163 return o; 163 return o;
164 } 164 }
165 165
166 checkUnnamed2281(core.List<api.MarketplaceDeal> o) { 166 checkUnnamed2040(core.List<api.MarketplaceDeal> o) {
167 unittest.expect(o, unittest.hasLength(2)); 167 unittest.expect(o, unittest.hasLength(2));
168 checkMarketplaceDeal(o[0]); 168 checkMarketplaceDeal(o[0]);
169 checkMarketplaceDeal(o[1]); 169 checkMarketplaceDeal(o[1]);
170 } 170 }
171 171
172 core.int buildCounterAddOrderDealsRequest = 0; 172 core.int buildCounterAddOrderDealsRequest = 0;
173 buildAddOrderDealsRequest() { 173 buildAddOrderDealsRequest() {
174 var o = new api.AddOrderDealsRequest(); 174 var o = new api.AddOrderDealsRequest();
175 buildCounterAddOrderDealsRequest++; 175 buildCounterAddOrderDealsRequest++;
176 if (buildCounterAddOrderDealsRequest < 3) { 176 if (buildCounterAddOrderDealsRequest < 3) {
177 o.deals = buildUnnamed2281(); 177 o.deals = buildUnnamed2040();
178 o.proposalRevisionNumber = "foo"; 178 o.proposalRevisionNumber = "foo";
179 o.updateAction = "foo"; 179 o.updateAction = "foo";
180 } 180 }
181 buildCounterAddOrderDealsRequest--; 181 buildCounterAddOrderDealsRequest--;
182 return o; 182 return o;
183 } 183 }
184 184
185 checkAddOrderDealsRequest(api.AddOrderDealsRequest o) { 185 checkAddOrderDealsRequest(api.AddOrderDealsRequest o) {
186 buildCounterAddOrderDealsRequest++; 186 buildCounterAddOrderDealsRequest++;
187 if (buildCounterAddOrderDealsRequest < 3) { 187 if (buildCounterAddOrderDealsRequest < 3) {
188 checkUnnamed2281(o.deals); 188 checkUnnamed2040(o.deals);
189 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); 189 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo'));
190 unittest.expect(o.updateAction, unittest.equals('foo')); 190 unittest.expect(o.updateAction, unittest.equals('foo'));
191 } 191 }
192 buildCounterAddOrderDealsRequest--; 192 buildCounterAddOrderDealsRequest--;
193 } 193 }
194 194
195 buildUnnamed2282() { 195 buildUnnamed2041() {
196 var o = new core.List<api.MarketplaceDeal>(); 196 var o = new core.List<api.MarketplaceDeal>();
197 o.add(buildMarketplaceDeal()); 197 o.add(buildMarketplaceDeal());
198 o.add(buildMarketplaceDeal()); 198 o.add(buildMarketplaceDeal());
199 return o; 199 return o;
200 } 200 }
201 201
202 checkUnnamed2282(core.List<api.MarketplaceDeal> o) { 202 checkUnnamed2041(core.List<api.MarketplaceDeal> o) {
203 unittest.expect(o, unittest.hasLength(2)); 203 unittest.expect(o, unittest.hasLength(2));
204 checkMarketplaceDeal(o[0]); 204 checkMarketplaceDeal(o[0]);
205 checkMarketplaceDeal(o[1]); 205 checkMarketplaceDeal(o[1]);
206 } 206 }
207 207
208 core.int buildCounterAddOrderDealsResponse = 0; 208 core.int buildCounterAddOrderDealsResponse = 0;
209 buildAddOrderDealsResponse() { 209 buildAddOrderDealsResponse() {
210 var o = new api.AddOrderDealsResponse(); 210 var o = new api.AddOrderDealsResponse();
211 buildCounterAddOrderDealsResponse++; 211 buildCounterAddOrderDealsResponse++;
212 if (buildCounterAddOrderDealsResponse < 3) { 212 if (buildCounterAddOrderDealsResponse < 3) {
213 o.deals = buildUnnamed2282(); 213 o.deals = buildUnnamed2041();
214 o.proposalRevisionNumber = "foo"; 214 o.proposalRevisionNumber = "foo";
215 } 215 }
216 buildCounterAddOrderDealsResponse--; 216 buildCounterAddOrderDealsResponse--;
217 return o; 217 return o;
218 } 218 }
219 219
220 checkAddOrderDealsResponse(api.AddOrderDealsResponse o) { 220 checkAddOrderDealsResponse(api.AddOrderDealsResponse o) {
221 buildCounterAddOrderDealsResponse++; 221 buildCounterAddOrderDealsResponse++;
222 if (buildCounterAddOrderDealsResponse < 3) { 222 if (buildCounterAddOrderDealsResponse < 3) {
223 checkUnnamed2282(o.deals); 223 checkUnnamed2041(o.deals);
224 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); 224 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo'));
225 } 225 }
226 buildCounterAddOrderDealsResponse--; 226 buildCounterAddOrderDealsResponse--;
227 } 227 }
228 228
229 buildUnnamed2283() { 229 buildUnnamed2042() {
230 var o = new core.List<api.MarketplaceNote>(); 230 var o = new core.List<api.MarketplaceNote>();
231 o.add(buildMarketplaceNote()); 231 o.add(buildMarketplaceNote());
232 o.add(buildMarketplaceNote()); 232 o.add(buildMarketplaceNote());
233 return o; 233 return o;
234 } 234 }
235 235
236 checkUnnamed2283(core.List<api.MarketplaceNote> o) { 236 checkUnnamed2042(core.List<api.MarketplaceNote> o) {
237 unittest.expect(o, unittest.hasLength(2)); 237 unittest.expect(o, unittest.hasLength(2));
238 checkMarketplaceNote(o[0]); 238 checkMarketplaceNote(o[0]);
239 checkMarketplaceNote(o[1]); 239 checkMarketplaceNote(o[1]);
240 } 240 }
241 241
242 core.int buildCounterAddOrderNotesRequest = 0; 242 core.int buildCounterAddOrderNotesRequest = 0;
243 buildAddOrderNotesRequest() { 243 buildAddOrderNotesRequest() {
244 var o = new api.AddOrderNotesRequest(); 244 var o = new api.AddOrderNotesRequest();
245 buildCounterAddOrderNotesRequest++; 245 buildCounterAddOrderNotesRequest++;
246 if (buildCounterAddOrderNotesRequest < 3) { 246 if (buildCounterAddOrderNotesRequest < 3) {
247 o.notes = buildUnnamed2283(); 247 o.notes = buildUnnamed2042();
248 } 248 }
249 buildCounterAddOrderNotesRequest--; 249 buildCounterAddOrderNotesRequest--;
250 return o; 250 return o;
251 } 251 }
252 252
253 checkAddOrderNotesRequest(api.AddOrderNotesRequest o) { 253 checkAddOrderNotesRequest(api.AddOrderNotesRequest o) {
254 buildCounterAddOrderNotesRequest++; 254 buildCounterAddOrderNotesRequest++;
255 if (buildCounterAddOrderNotesRequest < 3) { 255 if (buildCounterAddOrderNotesRequest < 3) {
256 checkUnnamed2283(o.notes); 256 checkUnnamed2042(o.notes);
257 } 257 }
258 buildCounterAddOrderNotesRequest--; 258 buildCounterAddOrderNotesRequest--;
259 } 259 }
260 260
261 buildUnnamed2284() { 261 buildUnnamed2043() {
262 var o = new core.List<api.MarketplaceNote>(); 262 var o = new core.List<api.MarketplaceNote>();
263 o.add(buildMarketplaceNote()); 263 o.add(buildMarketplaceNote());
264 o.add(buildMarketplaceNote()); 264 o.add(buildMarketplaceNote());
265 return o; 265 return o;
266 } 266 }
267 267
268 checkUnnamed2284(core.List<api.MarketplaceNote> o) { 268 checkUnnamed2043(core.List<api.MarketplaceNote> o) {
269 unittest.expect(o, unittest.hasLength(2)); 269 unittest.expect(o, unittest.hasLength(2));
270 checkMarketplaceNote(o[0]); 270 checkMarketplaceNote(o[0]);
271 checkMarketplaceNote(o[1]); 271 checkMarketplaceNote(o[1]);
272 } 272 }
273 273
274 core.int buildCounterAddOrderNotesResponse = 0; 274 core.int buildCounterAddOrderNotesResponse = 0;
275 buildAddOrderNotesResponse() { 275 buildAddOrderNotesResponse() {
276 var o = new api.AddOrderNotesResponse(); 276 var o = new api.AddOrderNotesResponse();
277 buildCounterAddOrderNotesResponse++; 277 buildCounterAddOrderNotesResponse++;
278 if (buildCounterAddOrderNotesResponse < 3) { 278 if (buildCounterAddOrderNotesResponse < 3) {
279 o.notes = buildUnnamed2284(); 279 o.notes = buildUnnamed2043();
280 } 280 }
281 buildCounterAddOrderNotesResponse--; 281 buildCounterAddOrderNotesResponse--;
282 return o; 282 return o;
283 } 283 }
284 284
285 checkAddOrderNotesResponse(api.AddOrderNotesResponse o) { 285 checkAddOrderNotesResponse(api.AddOrderNotesResponse o) {
286 buildCounterAddOrderNotesResponse++; 286 buildCounterAddOrderNotesResponse++;
287 if (buildCounterAddOrderNotesResponse < 3) { 287 if (buildCounterAddOrderNotesResponse < 3) {
288 checkUnnamed2284(o.notes); 288 checkUnnamed2043(o.notes);
289 } 289 }
290 buildCounterAddOrderNotesResponse--; 290 buildCounterAddOrderNotesResponse--;
291 } 291 }
292 292
293 buildUnnamed2285() { 293 buildUnnamed2044() {
294 var o = new core.List<core.String>(); 294 var o = new core.List<core.String>();
295 o.add("foo"); 295 o.add("foo");
296 o.add("foo"); 296 o.add("foo");
297 return o; 297 return o;
298 } 298 }
299 299
300 checkUnnamed2285(core.List<core.String> o) { 300 checkUnnamed2044(core.List<core.String> o) {
301 unittest.expect(o, unittest.hasLength(2)); 301 unittest.expect(o, unittest.hasLength(2));
302 unittest.expect(o[0], unittest.equals('foo')); 302 unittest.expect(o[0], unittest.equals('foo'));
303 unittest.expect(o[1], unittest.equals('foo')); 303 unittest.expect(o[1], unittest.equals('foo'));
304 } 304 }
305 305
306 core.int buildCounterBillingInfo = 0; 306 core.int buildCounterBillingInfo = 0;
307 buildBillingInfo() { 307 buildBillingInfo() {
308 var o = new api.BillingInfo(); 308 var o = new api.BillingInfo();
309 buildCounterBillingInfo++; 309 buildCounterBillingInfo++;
310 if (buildCounterBillingInfo < 3) { 310 if (buildCounterBillingInfo < 3) {
311 o.accountId = 42; 311 o.accountId = 42;
312 o.accountName = "foo"; 312 o.accountName = "foo";
313 o.billingId = buildUnnamed2285(); 313 o.billingId = buildUnnamed2044();
314 o.kind = "foo"; 314 o.kind = "foo";
315 } 315 }
316 buildCounterBillingInfo--; 316 buildCounterBillingInfo--;
317 return o; 317 return o;
318 } 318 }
319 319
320 checkBillingInfo(api.BillingInfo o) { 320 checkBillingInfo(api.BillingInfo o) {
321 buildCounterBillingInfo++; 321 buildCounterBillingInfo++;
322 if (buildCounterBillingInfo < 3) { 322 if (buildCounterBillingInfo < 3) {
323 unittest.expect(o.accountId, unittest.equals(42)); 323 unittest.expect(o.accountId, unittest.equals(42));
324 unittest.expect(o.accountName, unittest.equals('foo')); 324 unittest.expect(o.accountName, unittest.equals('foo'));
325 checkUnnamed2285(o.billingId); 325 checkUnnamed2044(o.billingId);
326 unittest.expect(o.kind, unittest.equals('foo')); 326 unittest.expect(o.kind, unittest.equals('foo'));
327 } 327 }
328 buildCounterBillingInfo--; 328 buildCounterBillingInfo--;
329 } 329 }
330 330
331 buildUnnamed2286() { 331 buildUnnamed2045() {
332 var o = new core.List<api.BillingInfo>(); 332 var o = new core.List<api.BillingInfo>();
333 o.add(buildBillingInfo()); 333 o.add(buildBillingInfo());
334 o.add(buildBillingInfo()); 334 o.add(buildBillingInfo());
335 return o; 335 return o;
336 } 336 }
337 337
338 checkUnnamed2286(core.List<api.BillingInfo> o) { 338 checkUnnamed2045(core.List<api.BillingInfo> o) {
339 unittest.expect(o, unittest.hasLength(2)); 339 unittest.expect(o, unittest.hasLength(2));
340 checkBillingInfo(o[0]); 340 checkBillingInfo(o[0]);
341 checkBillingInfo(o[1]); 341 checkBillingInfo(o[1]);
342 } 342 }
343 343
344 core.int buildCounterBillingInfoList = 0; 344 core.int buildCounterBillingInfoList = 0;
345 buildBillingInfoList() { 345 buildBillingInfoList() {
346 var o = new api.BillingInfoList(); 346 var o = new api.BillingInfoList();
347 buildCounterBillingInfoList++; 347 buildCounterBillingInfoList++;
348 if (buildCounterBillingInfoList < 3) { 348 if (buildCounterBillingInfoList < 3) {
349 o.items = buildUnnamed2286(); 349 o.items = buildUnnamed2045();
350 o.kind = "foo"; 350 o.kind = "foo";
351 } 351 }
352 buildCounterBillingInfoList--; 352 buildCounterBillingInfoList--;
353 return o; 353 return o;
354 } 354 }
355 355
356 checkBillingInfoList(api.BillingInfoList o) { 356 checkBillingInfoList(api.BillingInfoList o) {
357 buildCounterBillingInfoList++; 357 buildCounterBillingInfoList++;
358 if (buildCounterBillingInfoList < 3) { 358 if (buildCounterBillingInfoList < 3) {
359 checkUnnamed2286(o.items); 359 checkUnnamed2045(o.items);
360 unittest.expect(o.kind, unittest.equals('foo')); 360 unittest.expect(o.kind, unittest.equals('foo'));
361 } 361 }
362 buildCounterBillingInfoList--; 362 buildCounterBillingInfoList--;
363 } 363 }
364 364
365 core.int buildCounterBudget = 0; 365 core.int buildCounterBudget = 0;
366 buildBudget() { 366 buildBudget() {
367 var o = new api.Budget(); 367 var o = new api.Budget();
368 buildCounterBudget++; 368 buildCounterBudget++;
369 if (buildCounterBudget < 3) { 369 if (buildCounterBudget < 3) {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 424
425 checkContactInformation(api.ContactInformation o) { 425 checkContactInformation(api.ContactInformation o) {
426 buildCounterContactInformation++; 426 buildCounterContactInformation++;
427 if (buildCounterContactInformation < 3) { 427 if (buildCounterContactInformation < 3) {
428 unittest.expect(o.email, unittest.equals('foo')); 428 unittest.expect(o.email, unittest.equals('foo'));
429 unittest.expect(o.name, unittest.equals('foo')); 429 unittest.expect(o.name, unittest.equals('foo'));
430 } 430 }
431 buildCounterContactInformation--; 431 buildCounterContactInformation--;
432 } 432 }
433 433
434 buildUnnamed2287() { 434 buildUnnamed2046() {
435 var o = new core.List<api.Proposal>(); 435 var o = new core.List<api.Proposal>();
436 o.add(buildProposal()); 436 o.add(buildProposal());
437 o.add(buildProposal()); 437 o.add(buildProposal());
438 return o; 438 return o;
439 } 439 }
440 440
441 checkUnnamed2287(core.List<api.Proposal> o) { 441 checkUnnamed2046(core.List<api.Proposal> o) {
442 unittest.expect(o, unittest.hasLength(2)); 442 unittest.expect(o, unittest.hasLength(2));
443 checkProposal(o[0]); 443 checkProposal(o[0]);
444 checkProposal(o[1]); 444 checkProposal(o[1]);
445 } 445 }
446 446
447 core.int buildCounterCreateOrdersRequest = 0; 447 core.int buildCounterCreateOrdersRequest = 0;
448 buildCreateOrdersRequest() { 448 buildCreateOrdersRequest() {
449 var o = new api.CreateOrdersRequest(); 449 var o = new api.CreateOrdersRequest();
450 buildCounterCreateOrdersRequest++; 450 buildCounterCreateOrdersRequest++;
451 if (buildCounterCreateOrdersRequest < 3) { 451 if (buildCounterCreateOrdersRequest < 3) {
452 o.proposals = buildUnnamed2287(); 452 o.proposals = buildUnnamed2046();
453 o.webPropertyCode = "foo"; 453 o.webPropertyCode = "foo";
454 } 454 }
455 buildCounterCreateOrdersRequest--; 455 buildCounterCreateOrdersRequest--;
456 return o; 456 return o;
457 } 457 }
458 458
459 checkCreateOrdersRequest(api.CreateOrdersRequest o) { 459 checkCreateOrdersRequest(api.CreateOrdersRequest o) {
460 buildCounterCreateOrdersRequest++; 460 buildCounterCreateOrdersRequest++;
461 if (buildCounterCreateOrdersRequest < 3) { 461 if (buildCounterCreateOrdersRequest < 3) {
462 checkUnnamed2287(o.proposals); 462 checkUnnamed2046(o.proposals);
463 unittest.expect(o.webPropertyCode, unittest.equals('foo')); 463 unittest.expect(o.webPropertyCode, unittest.equals('foo'));
464 } 464 }
465 buildCounterCreateOrdersRequest--; 465 buildCounterCreateOrdersRequest--;
466 } 466 }
467 467
468 buildUnnamed2288() { 468 buildUnnamed2047() {
469 var o = new core.List<api.Proposal>(); 469 var o = new core.List<api.Proposal>();
470 o.add(buildProposal()); 470 o.add(buildProposal());
471 o.add(buildProposal()); 471 o.add(buildProposal());
472 return o; 472 return o;
473 } 473 }
474 474
475 checkUnnamed2288(core.List<api.Proposal> o) { 475 checkUnnamed2047(core.List<api.Proposal> o) {
476 unittest.expect(o, unittest.hasLength(2)); 476 unittest.expect(o, unittest.hasLength(2));
477 checkProposal(o[0]); 477 checkProposal(o[0]);
478 checkProposal(o[1]); 478 checkProposal(o[1]);
479 } 479 }
480 480
481 core.int buildCounterCreateOrdersResponse = 0; 481 core.int buildCounterCreateOrdersResponse = 0;
482 buildCreateOrdersResponse() { 482 buildCreateOrdersResponse() {
483 var o = new api.CreateOrdersResponse(); 483 var o = new api.CreateOrdersResponse();
484 buildCounterCreateOrdersResponse++; 484 buildCounterCreateOrdersResponse++;
485 if (buildCounterCreateOrdersResponse < 3) { 485 if (buildCounterCreateOrdersResponse < 3) {
486 o.proposals = buildUnnamed2288(); 486 o.proposals = buildUnnamed2047();
487 } 487 }
488 buildCounterCreateOrdersResponse--; 488 buildCounterCreateOrdersResponse--;
489 return o; 489 return o;
490 } 490 }
491 491
492 checkCreateOrdersResponse(api.CreateOrdersResponse o) { 492 checkCreateOrdersResponse(api.CreateOrdersResponse o) {
493 buildCounterCreateOrdersResponse++; 493 buildCounterCreateOrdersResponse++;
494 if (buildCounterCreateOrdersResponse < 3) { 494 if (buildCounterCreateOrdersResponse < 3) {
495 checkUnnamed2288(o.proposals); 495 checkUnnamed2047(o.proposals);
496 } 496 }
497 buildCounterCreateOrdersResponse--; 497 buildCounterCreateOrdersResponse--;
498 } 498 }
499 499
500 buildUnnamed2289() { 500 buildUnnamed2048() {
501 var o = new core.List<core.String>(); 501 var o = new core.List<core.String>();
502 o.add("foo"); 502 o.add("foo");
503 o.add("foo"); 503 o.add("foo");
504 return o; 504 return o;
505 } 505 }
506 506
507 checkUnnamed2289(core.List<core.String> o) { 507 checkUnnamed2048(core.List<core.String> o) {
508 unittest.expect(o, unittest.hasLength(2)); 508 unittest.expect(o, unittest.hasLength(2));
509 unittest.expect(o[0], unittest.equals('foo')); 509 unittest.expect(o[0], unittest.equals('foo'));
510 unittest.expect(o[1], unittest.equals('foo')); 510 unittest.expect(o[1], unittest.equals('foo'));
511 } 511 }
512 512
513 buildUnnamed2290() { 513 buildUnnamed2049() {
514 var o = new core.List<core.int>(); 514 var o = new core.List<core.int>();
515 o.add(42); 515 o.add(42);
516 o.add(42); 516 o.add(42);
517 return o; 517 return o;
518 } 518 }
519 519
520 checkUnnamed2290(core.List<core.int> o) { 520 checkUnnamed2049(core.List<core.int> o) {
521 unittest.expect(o, unittest.hasLength(2)); 521 unittest.expect(o, unittest.hasLength(2));
522 unittest.expect(o[0], unittest.equals(42)); 522 unittest.expect(o[0], unittest.equals(42));
523 unittest.expect(o[1], unittest.equals(42)); 523 unittest.expect(o[1], unittest.equals(42));
524 } 524 }
525 525
526 buildUnnamed2291() { 526 buildUnnamed2050() {
527 var o = new core.List<core.String>(); 527 var o = new core.List<core.String>();
528 o.add("foo"); 528 o.add("foo");
529 o.add("foo"); 529 o.add("foo");
530 return o; 530 return o;
531 } 531 }
532 532
533 checkUnnamed2291(core.List<core.String> o) { 533 checkUnnamed2050(core.List<core.String> o) {
534 unittest.expect(o, unittest.hasLength(2)); 534 unittest.expect(o, unittest.hasLength(2));
535 unittest.expect(o[0], unittest.equals('foo')); 535 unittest.expect(o[0], unittest.equals('foo'));
536 unittest.expect(o[1], unittest.equals('foo')); 536 unittest.expect(o[1], unittest.equals('foo'));
537 } 537 }
538 538
539 buildUnnamed2292() { 539 buildUnnamed2051() {
540 var o = new core.List<core.String>(); 540 var o = new core.List<core.String>();
541 o.add("foo"); 541 o.add("foo");
542 o.add("foo"); 542 o.add("foo");
543 return o; 543 return o;
544 } 544 }
545 545
546 checkUnnamed2292(core.List<core.String> o) { 546 checkUnnamed2051(core.List<core.String> o) {
547 unittest.expect(o, unittest.hasLength(2)); 547 unittest.expect(o, unittest.hasLength(2));
548 unittest.expect(o[0], unittest.equals('foo')); 548 unittest.expect(o[0], unittest.equals('foo'));
549 unittest.expect(o[1], unittest.equals('foo')); 549 unittest.expect(o[1], unittest.equals('foo'));
550 } 550 }
551 551
552 buildUnnamed2293() { 552 buildUnnamed2052() {
553 var o = new core.List<core.int>(); 553 var o = new core.List<core.int>();
554 o.add(42); 554 o.add(42);
555 o.add(42); 555 o.add(42);
556 return o; 556 return o;
557 } 557 }
558 558
559 checkUnnamed2293(core.List<core.int> o) { 559 checkUnnamed2052(core.List<core.int> o) {
560 unittest.expect(o, unittest.hasLength(2)); 560 unittest.expect(o, unittest.hasLength(2));
561 unittest.expect(o[0], unittest.equals(42)); 561 unittest.expect(o[0], unittest.equals(42));
562 unittest.expect(o[1], unittest.equals(42)); 562 unittest.expect(o[1], unittest.equals(42));
563 } 563 }
564 564
565 buildUnnamed2294() { 565 buildUnnamed2053() {
566 var o = new core.List<core.String>(); 566 var o = new core.List<core.String>();
567 o.add("foo"); 567 o.add("foo");
568 o.add("foo"); 568 o.add("foo");
569 return o; 569 return o;
570 } 570 }
571 571
572 checkUnnamed2294(core.List<core.String> o) { 572 checkUnnamed2053(core.List<core.String> o) {
573 unittest.expect(o, unittest.hasLength(2)); 573 unittest.expect(o, unittest.hasLength(2));
574 unittest.expect(o[0], unittest.equals('foo')); 574 unittest.expect(o[0], unittest.equals('foo'));
575 unittest.expect(o[1], unittest.equals('foo')); 575 unittest.expect(o[1], unittest.equals('foo'));
576 } 576 }
577 577
578 core.int buildCounterCreativeCorrectionsContexts = 0; 578 core.int buildCounterCreativeCorrectionsContexts = 0;
579 buildCreativeCorrectionsContexts() { 579 buildCreativeCorrectionsContexts() {
580 var o = new api.CreativeCorrectionsContexts(); 580 var o = new api.CreativeCorrectionsContexts();
581 buildCounterCreativeCorrectionsContexts++; 581 buildCounterCreativeCorrectionsContexts++;
582 if (buildCounterCreativeCorrectionsContexts < 3) { 582 if (buildCounterCreativeCorrectionsContexts < 3) {
583 o.auctionType = buildUnnamed2292(); 583 o.auctionType = buildUnnamed2051();
584 o.contextType = "foo"; 584 o.contextType = "foo";
585 o.geoCriteriaId = buildUnnamed2293(); 585 o.geoCriteriaId = buildUnnamed2052();
586 o.platform = buildUnnamed2294(); 586 o.platform = buildUnnamed2053();
587 } 587 }
588 buildCounterCreativeCorrectionsContexts--; 588 buildCounterCreativeCorrectionsContexts--;
589 return o; 589 return o;
590 } 590 }
591 591
592 checkCreativeCorrectionsContexts(api.CreativeCorrectionsContexts o) { 592 checkCreativeCorrectionsContexts(api.CreativeCorrectionsContexts o) {
593 buildCounterCreativeCorrectionsContexts++; 593 buildCounterCreativeCorrectionsContexts++;
594 if (buildCounterCreativeCorrectionsContexts < 3) { 594 if (buildCounterCreativeCorrectionsContexts < 3) {
595 checkUnnamed2292(o.auctionType); 595 checkUnnamed2051(o.auctionType);
596 unittest.expect(o.contextType, unittest.equals('foo')); 596 unittest.expect(o.contextType, unittest.equals('foo'));
597 checkUnnamed2293(o.geoCriteriaId); 597 checkUnnamed2052(o.geoCriteriaId);
598 checkUnnamed2294(o.platform); 598 checkUnnamed2053(o.platform);
599 } 599 }
600 buildCounterCreativeCorrectionsContexts--; 600 buildCounterCreativeCorrectionsContexts--;
601 } 601 }
602 602
603 buildUnnamed2295() { 603 buildUnnamed2054() {
604 var o = new core.List<api.CreativeCorrectionsContexts>(); 604 var o = new core.List<api.CreativeCorrectionsContexts>();
605 o.add(buildCreativeCorrectionsContexts()); 605 o.add(buildCreativeCorrectionsContexts());
606 o.add(buildCreativeCorrectionsContexts()); 606 o.add(buildCreativeCorrectionsContexts());
607 return o; 607 return o;
608 } 608 }
609 609
610 checkUnnamed2295(core.List<api.CreativeCorrectionsContexts> o) { 610 checkUnnamed2054(core.List<api.CreativeCorrectionsContexts> o) {
611 unittest.expect(o, unittest.hasLength(2)); 611 unittest.expect(o, unittest.hasLength(2));
612 checkCreativeCorrectionsContexts(o[0]); 612 checkCreativeCorrectionsContexts(o[0]);
613 checkCreativeCorrectionsContexts(o[1]); 613 checkCreativeCorrectionsContexts(o[1]);
614 } 614 }
615 615
616 buildUnnamed2296() { 616 buildUnnamed2055() {
617 var o = new core.List<core.String>(); 617 var o = new core.List<core.String>();
618 o.add("foo"); 618 o.add("foo");
619 o.add("foo"); 619 o.add("foo");
620 return o; 620 return o;
621 } 621 }
622 622
623 checkUnnamed2296(core.List<core.String> o) { 623 checkUnnamed2055(core.List<core.String> o) {
624 unittest.expect(o, unittest.hasLength(2)); 624 unittest.expect(o, unittest.hasLength(2));
625 unittest.expect(o[0], unittest.equals('foo')); 625 unittest.expect(o[0], unittest.equals('foo'));
626 unittest.expect(o[1], unittest.equals('foo')); 626 unittest.expect(o[1], unittest.equals('foo'));
627 } 627 }
628 628
629 core.int buildCounterCreativeCorrections = 0; 629 core.int buildCounterCreativeCorrections = 0;
630 buildCreativeCorrections() { 630 buildCreativeCorrections() {
631 var o = new api.CreativeCorrections(); 631 var o = new api.CreativeCorrections();
632 buildCounterCreativeCorrections++; 632 buildCounterCreativeCorrections++;
633 if (buildCounterCreativeCorrections < 3) { 633 if (buildCounterCreativeCorrections < 3) {
634 o.contexts = buildUnnamed2295(); 634 o.contexts = buildUnnamed2054();
635 o.details = buildUnnamed2296(); 635 o.details = buildUnnamed2055();
636 o.reason = "foo"; 636 o.reason = "foo";
637 } 637 }
638 buildCounterCreativeCorrections--; 638 buildCounterCreativeCorrections--;
639 return o; 639 return o;
640 } 640 }
641 641
642 checkCreativeCorrections(api.CreativeCorrections o) { 642 checkCreativeCorrections(api.CreativeCorrections o) {
643 buildCounterCreativeCorrections++; 643 buildCounterCreativeCorrections++;
644 if (buildCounterCreativeCorrections < 3) { 644 if (buildCounterCreativeCorrections < 3) {
645 checkUnnamed2295(o.contexts); 645 checkUnnamed2054(o.contexts);
646 checkUnnamed2296(o.details); 646 checkUnnamed2055(o.details);
647 unittest.expect(o.reason, unittest.equals('foo')); 647 unittest.expect(o.reason, unittest.equals('foo'));
648 } 648 }
649 buildCounterCreativeCorrections--; 649 buildCounterCreativeCorrections--;
650 } 650 }
651 651
652 buildUnnamed2297() { 652 buildUnnamed2056() {
653 var o = new core.List<api.CreativeCorrections>(); 653 var o = new core.List<api.CreativeCorrections>();
654 o.add(buildCreativeCorrections()); 654 o.add(buildCreativeCorrections());
655 o.add(buildCreativeCorrections()); 655 o.add(buildCreativeCorrections());
656 return o; 656 return o;
657 } 657 }
658 658
659 checkUnnamed2297(core.List<api.CreativeCorrections> o) { 659 checkUnnamed2056(core.List<api.CreativeCorrections> o) {
660 unittest.expect(o, unittest.hasLength(2)); 660 unittest.expect(o, unittest.hasLength(2));
661 checkCreativeCorrections(o[0]); 661 checkCreativeCorrections(o[0]);
662 checkCreativeCorrections(o[1]); 662 checkCreativeCorrections(o[1]);
663 } 663 }
664 664
665 buildUnnamed2298() { 665 buildUnnamed2057() {
666 var o = new core.List<core.String>(); 666 var o = new core.List<core.String>();
667 o.add("foo"); 667 o.add("foo");
668 o.add("foo"); 668 o.add("foo");
669 return o; 669 return o;
670 } 670 }
671 671
672 checkUnnamed2298(core.List<core.String> o) { 672 checkUnnamed2057(core.List<core.String> o) {
673 unittest.expect(o, unittest.hasLength(2)); 673 unittest.expect(o, unittest.hasLength(2));
674 unittest.expect(o[0], unittest.equals('foo')); 674 unittest.expect(o[0], unittest.equals('foo'));
675 unittest.expect(o[1], unittest.equals('foo')); 675 unittest.expect(o[1], unittest.equals('foo'));
676 } 676 }
677 677
678 core.int buildCounterCreativeFilteringReasonsReasons = 0; 678 core.int buildCounterCreativeFilteringReasonsReasons = 0;
679 buildCreativeFilteringReasonsReasons() { 679 buildCreativeFilteringReasonsReasons() {
680 var o = new api.CreativeFilteringReasonsReasons(); 680 var o = new api.CreativeFilteringReasonsReasons();
681 buildCounterCreativeFilteringReasonsReasons++; 681 buildCounterCreativeFilteringReasonsReasons++;
682 if (buildCounterCreativeFilteringReasonsReasons < 3) { 682 if (buildCounterCreativeFilteringReasonsReasons < 3) {
683 o.filteringCount = "foo"; 683 o.filteringCount = "foo";
684 o.filteringStatus = 42; 684 o.filteringStatus = 42;
685 } 685 }
686 buildCounterCreativeFilteringReasonsReasons--; 686 buildCounterCreativeFilteringReasonsReasons--;
687 return o; 687 return o;
688 } 688 }
689 689
690 checkCreativeFilteringReasonsReasons(api.CreativeFilteringReasonsReasons o) { 690 checkCreativeFilteringReasonsReasons(api.CreativeFilteringReasonsReasons o) {
691 buildCounterCreativeFilteringReasonsReasons++; 691 buildCounterCreativeFilteringReasonsReasons++;
692 if (buildCounterCreativeFilteringReasonsReasons < 3) { 692 if (buildCounterCreativeFilteringReasonsReasons < 3) {
693 unittest.expect(o.filteringCount, unittest.equals('foo')); 693 unittest.expect(o.filteringCount, unittest.equals('foo'));
694 unittest.expect(o.filteringStatus, unittest.equals(42)); 694 unittest.expect(o.filteringStatus, unittest.equals(42));
695 } 695 }
696 buildCounterCreativeFilteringReasonsReasons--; 696 buildCounterCreativeFilteringReasonsReasons--;
697 } 697 }
698 698
699 buildUnnamed2299() { 699 buildUnnamed2058() {
700 var o = new core.List<api.CreativeFilteringReasonsReasons>(); 700 var o = new core.List<api.CreativeFilteringReasonsReasons>();
701 o.add(buildCreativeFilteringReasonsReasons()); 701 o.add(buildCreativeFilteringReasonsReasons());
702 o.add(buildCreativeFilteringReasonsReasons()); 702 o.add(buildCreativeFilteringReasonsReasons());
703 return o; 703 return o;
704 } 704 }
705 705
706 checkUnnamed2299(core.List<api.CreativeFilteringReasonsReasons> o) { 706 checkUnnamed2058(core.List<api.CreativeFilteringReasonsReasons> o) {
707 unittest.expect(o, unittest.hasLength(2)); 707 unittest.expect(o, unittest.hasLength(2));
708 checkCreativeFilteringReasonsReasons(o[0]); 708 checkCreativeFilteringReasonsReasons(o[0]);
709 checkCreativeFilteringReasonsReasons(o[1]); 709 checkCreativeFilteringReasonsReasons(o[1]);
710 } 710 }
711 711
712 core.int buildCounterCreativeFilteringReasons = 0; 712 core.int buildCounterCreativeFilteringReasons = 0;
713 buildCreativeFilteringReasons() { 713 buildCreativeFilteringReasons() {
714 var o = new api.CreativeFilteringReasons(); 714 var o = new api.CreativeFilteringReasons();
715 buildCounterCreativeFilteringReasons++; 715 buildCounterCreativeFilteringReasons++;
716 if (buildCounterCreativeFilteringReasons < 3) { 716 if (buildCounterCreativeFilteringReasons < 3) {
717 o.date = "foo"; 717 o.date = "foo";
718 o.reasons = buildUnnamed2299(); 718 o.reasons = buildUnnamed2058();
719 } 719 }
720 buildCounterCreativeFilteringReasons--; 720 buildCounterCreativeFilteringReasons--;
721 return o; 721 return o;
722 } 722 }
723 723
724 checkCreativeFilteringReasons(api.CreativeFilteringReasons o) { 724 checkCreativeFilteringReasons(api.CreativeFilteringReasons o) {
725 buildCounterCreativeFilteringReasons++; 725 buildCounterCreativeFilteringReasons++;
726 if (buildCounterCreativeFilteringReasons < 3) { 726 if (buildCounterCreativeFilteringReasons < 3) {
727 unittest.expect(o.date, unittest.equals('foo')); 727 unittest.expect(o.date, unittest.equals('foo'));
728 checkUnnamed2299(o.reasons); 728 checkUnnamed2058(o.reasons);
729 } 729 }
730 buildCounterCreativeFilteringReasons--; 730 buildCounterCreativeFilteringReasons--;
731 } 731 }
732 732
733 buildUnnamed2300() { 733 buildUnnamed2059() {
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 checkUnnamed2300(core.List<core.String> o) { 740 checkUnnamed2059(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 buildUnnamed2301() { 746 buildUnnamed2060() {
747 var o = new core.List<core.String>(); 747 var o = new core.List<core.String>();
748 o.add("foo"); 748 o.add("foo");
749 o.add("foo"); 749 o.add("foo");
750 return o; 750 return o;
751 } 751 }
752 752
753 checkUnnamed2301(core.List<core.String> o) { 753 checkUnnamed2060(core.List<core.String> o) {
754 unittest.expect(o, unittest.hasLength(2)); 754 unittest.expect(o, unittest.hasLength(2));
755 unittest.expect(o[0], unittest.equals('foo')); 755 unittest.expect(o[0], unittest.equals('foo'));
756 unittest.expect(o[1], unittest.equals('foo')); 756 unittest.expect(o[1], unittest.equals('foo'));
757 } 757 }
758 758
759 core.int buildCounterCreativeNativeAdAppIcon = 0; 759 core.int buildCounterCreativeNativeAdAppIcon = 0;
760 buildCreativeNativeAdAppIcon() { 760 buildCreativeNativeAdAppIcon() {
761 var o = new api.CreativeNativeAdAppIcon(); 761 var o = new api.CreativeNativeAdAppIcon();
762 buildCounterCreativeNativeAdAppIcon++; 762 buildCounterCreativeNativeAdAppIcon++;
763 if (buildCounterCreativeNativeAdAppIcon < 3) { 763 if (buildCounterCreativeNativeAdAppIcon < 3) {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
795 checkCreativeNativeAdImage(api.CreativeNativeAdImage o) { 795 checkCreativeNativeAdImage(api.CreativeNativeAdImage o) {
796 buildCounterCreativeNativeAdImage++; 796 buildCounterCreativeNativeAdImage++;
797 if (buildCounterCreativeNativeAdImage < 3) { 797 if (buildCounterCreativeNativeAdImage < 3) {
798 unittest.expect(o.height, unittest.equals(42)); 798 unittest.expect(o.height, unittest.equals(42));
799 unittest.expect(o.url, unittest.equals('foo')); 799 unittest.expect(o.url, unittest.equals('foo'));
800 unittest.expect(o.width, unittest.equals(42)); 800 unittest.expect(o.width, unittest.equals(42));
801 } 801 }
802 buildCounterCreativeNativeAdImage--; 802 buildCounterCreativeNativeAdImage--;
803 } 803 }
804 804
805 buildUnnamed2302() { 805 buildUnnamed2061() {
806 var o = new core.List<core.String>(); 806 var o = new core.List<core.String>();
807 o.add("foo"); 807 o.add("foo");
808 o.add("foo"); 808 o.add("foo");
809 return o; 809 return o;
810 } 810 }
811 811
812 checkUnnamed2302(core.List<core.String> o) { 812 checkUnnamed2061(core.List<core.String> o) {
813 unittest.expect(o, unittest.hasLength(2)); 813 unittest.expect(o, unittest.hasLength(2));
814 unittest.expect(o[0], unittest.equals('foo')); 814 unittest.expect(o[0], unittest.equals('foo'));
815 unittest.expect(o[1], unittest.equals('foo')); 815 unittest.expect(o[1], unittest.equals('foo'));
816 } 816 }
817 817
818 core.int buildCounterCreativeNativeAdLogo = 0; 818 core.int buildCounterCreativeNativeAdLogo = 0;
819 buildCreativeNativeAdLogo() { 819 buildCreativeNativeAdLogo() {
820 var o = new api.CreativeNativeAdLogo(); 820 var o = new api.CreativeNativeAdLogo();
821 buildCounterCreativeNativeAdLogo++; 821 buildCounterCreativeNativeAdLogo++;
822 if (buildCounterCreativeNativeAdLogo < 3) { 822 if (buildCounterCreativeNativeAdLogo < 3) {
(...skipping 17 matching lines...) Expand all
840 840
841 core.int buildCounterCreativeNativeAd = 0; 841 core.int buildCounterCreativeNativeAd = 0;
842 buildCreativeNativeAd() { 842 buildCreativeNativeAd() {
843 var o = new api.CreativeNativeAd(); 843 var o = new api.CreativeNativeAd();
844 buildCounterCreativeNativeAd++; 844 buildCounterCreativeNativeAd++;
845 if (buildCounterCreativeNativeAd < 3) { 845 if (buildCounterCreativeNativeAd < 3) {
846 o.advertiser = "foo"; 846 o.advertiser = "foo";
847 o.appIcon = buildCreativeNativeAdAppIcon(); 847 o.appIcon = buildCreativeNativeAdAppIcon();
848 o.body = "foo"; 848 o.body = "foo";
849 o.callToAction = "foo"; 849 o.callToAction = "foo";
850 o.clickLinkUrl = "foo";
850 o.clickTrackingUrl = "foo"; 851 o.clickTrackingUrl = "foo";
851 o.headline = "foo"; 852 o.headline = "foo";
852 o.image = buildCreativeNativeAdImage(); 853 o.image = buildCreativeNativeAdImage();
853 o.impressionTrackingUrl = buildUnnamed2302(); 854 o.impressionTrackingUrl = buildUnnamed2061();
854 o.logo = buildCreativeNativeAdLogo(); 855 o.logo = buildCreativeNativeAdLogo();
855 o.price = "foo"; 856 o.price = "foo";
856 o.starRating = 42.0; 857 o.starRating = 42.0;
857 o.store = "foo"; 858 o.store = "foo";
859 o.videoURL = "foo";
858 } 860 }
859 buildCounterCreativeNativeAd--; 861 buildCounterCreativeNativeAd--;
860 return o; 862 return o;
861 } 863 }
862 864
863 checkCreativeNativeAd(api.CreativeNativeAd o) { 865 checkCreativeNativeAd(api.CreativeNativeAd o) {
864 buildCounterCreativeNativeAd++; 866 buildCounterCreativeNativeAd++;
865 if (buildCounterCreativeNativeAd < 3) { 867 if (buildCounterCreativeNativeAd < 3) {
866 unittest.expect(o.advertiser, unittest.equals('foo')); 868 unittest.expect(o.advertiser, unittest.equals('foo'));
867 checkCreativeNativeAdAppIcon(o.appIcon); 869 checkCreativeNativeAdAppIcon(o.appIcon);
868 unittest.expect(o.body, unittest.equals('foo')); 870 unittest.expect(o.body, unittest.equals('foo'));
869 unittest.expect(o.callToAction, unittest.equals('foo')); 871 unittest.expect(o.callToAction, unittest.equals('foo'));
872 unittest.expect(o.clickLinkUrl, unittest.equals('foo'));
870 unittest.expect(o.clickTrackingUrl, unittest.equals('foo')); 873 unittest.expect(o.clickTrackingUrl, unittest.equals('foo'));
871 unittest.expect(o.headline, unittest.equals('foo')); 874 unittest.expect(o.headline, unittest.equals('foo'));
872 checkCreativeNativeAdImage(o.image); 875 checkCreativeNativeAdImage(o.image);
873 checkUnnamed2302(o.impressionTrackingUrl); 876 checkUnnamed2061(o.impressionTrackingUrl);
874 checkCreativeNativeAdLogo(o.logo); 877 checkCreativeNativeAdLogo(o.logo);
875 unittest.expect(o.price, unittest.equals('foo')); 878 unittest.expect(o.price, unittest.equals('foo'));
876 unittest.expect(o.starRating, unittest.equals(42.0)); 879 unittest.expect(o.starRating, unittest.equals(42.0));
877 unittest.expect(o.store, unittest.equals('foo')); 880 unittest.expect(o.store, unittest.equals('foo'));
881 unittest.expect(o.videoURL, unittest.equals('foo'));
878 } 882 }
879 buildCounterCreativeNativeAd--; 883 buildCounterCreativeNativeAd--;
880 } 884 }
881 885
882 buildUnnamed2303() { 886 buildUnnamed2062() {
883 var o = new core.List<core.int>(); 887 var o = new core.List<core.int>();
884 o.add(42); 888 o.add(42);
885 o.add(42); 889 o.add(42);
886 return o; 890 return o;
887 } 891 }
888 892
889 checkUnnamed2303(core.List<core.int> o) { 893 checkUnnamed2062(core.List<core.int> o) {
890 unittest.expect(o, unittest.hasLength(2)); 894 unittest.expect(o, unittest.hasLength(2));
891 unittest.expect(o[0], unittest.equals(42)); 895 unittest.expect(o[0], unittest.equals(42));
892 unittest.expect(o[1], unittest.equals(42)); 896 unittest.expect(o[1], unittest.equals(42));
893 } 897 }
894 898
895 buildUnnamed2304() { 899 buildUnnamed2063() {
896 var o = new core.List<core.int>(); 900 var o = new core.List<core.int>();
897 o.add(42); 901 o.add(42);
898 o.add(42); 902 o.add(42);
899 return o; 903 return o;
900 } 904 }
901 905
902 checkUnnamed2304(core.List<core.int> o) { 906 checkUnnamed2063(core.List<core.int> o) {
903 unittest.expect(o, unittest.hasLength(2)); 907 unittest.expect(o, unittest.hasLength(2));
904 unittest.expect(o[0], unittest.equals(42)); 908 unittest.expect(o[0], unittest.equals(42));
905 unittest.expect(o[1], unittest.equals(42)); 909 unittest.expect(o[1], unittest.equals(42));
906 } 910 }
907 911
908 buildUnnamed2305() { 912 buildUnnamed2064() {
909 var o = new core.List<core.int>(); 913 var o = new core.List<core.int>();
910 o.add(42); 914 o.add(42);
911 o.add(42); 915 o.add(42);
912 return o; 916 return o;
913 } 917 }
914 918
915 checkUnnamed2305(core.List<core.int> o) { 919 checkUnnamed2064(core.List<core.int> o) {
916 unittest.expect(o, unittest.hasLength(2)); 920 unittest.expect(o, unittest.hasLength(2));
917 unittest.expect(o[0], unittest.equals(42)); 921 unittest.expect(o[0], unittest.equals(42));
918 unittest.expect(o[1], unittest.equals(42)); 922 unittest.expect(o[1], unittest.equals(42));
919 } 923 }
920 924
921 buildUnnamed2306() { 925 buildUnnamed2065() {
922 var o = new core.List<core.String>(); 926 var o = new core.List<core.String>();
923 o.add("foo"); 927 o.add("foo");
924 o.add("foo"); 928 o.add("foo");
925 return o; 929 return o;
926 } 930 }
927 931
928 checkUnnamed2306(core.List<core.String> o) { 932 checkUnnamed2065(core.List<core.String> o) {
929 unittest.expect(o, unittest.hasLength(2)); 933 unittest.expect(o, unittest.hasLength(2));
930 unittest.expect(o[0], unittest.equals('foo')); 934 unittest.expect(o[0], unittest.equals('foo'));
931 unittest.expect(o[1], unittest.equals('foo')); 935 unittest.expect(o[1], unittest.equals('foo'));
932 } 936 }
933 937
934 buildUnnamed2307() { 938 buildUnnamed2066() {
935 var o = new core.List<core.int>(); 939 var o = new core.List<core.int>();
936 o.add(42); 940 o.add(42);
937 o.add(42); 941 o.add(42);
938 return o; 942 return o;
939 } 943 }
940 944
941 checkUnnamed2307(core.List<core.int> o) { 945 checkUnnamed2066(core.List<core.int> o) {
942 unittest.expect(o, unittest.hasLength(2)); 946 unittest.expect(o, unittest.hasLength(2));
943 unittest.expect(o[0], unittest.equals(42)); 947 unittest.expect(o[0], unittest.equals(42));
944 unittest.expect(o[1], unittest.equals(42)); 948 unittest.expect(o[1], unittest.equals(42));
945 } 949 }
946 950
947 buildUnnamed2308() { 951 buildUnnamed2067() {
948 var o = new core.List<core.String>(); 952 var o = new core.List<core.String>();
949 o.add("foo"); 953 o.add("foo");
950 o.add("foo"); 954 o.add("foo");
951 return o; 955 return o;
952 } 956 }
953 957
954 checkUnnamed2308(core.List<core.String> o) { 958 checkUnnamed2067(core.List<core.String> o) {
955 unittest.expect(o, unittest.hasLength(2)); 959 unittest.expect(o, unittest.hasLength(2));
956 unittest.expect(o[0], unittest.equals('foo')); 960 unittest.expect(o[0], unittest.equals('foo'));
957 unittest.expect(o[1], unittest.equals('foo')); 961 unittest.expect(o[1], unittest.equals('foo'));
958 } 962 }
959 963
960 core.int buildCounterCreativeServingRestrictionsContexts = 0; 964 core.int buildCounterCreativeServingRestrictionsContexts = 0;
961 buildCreativeServingRestrictionsContexts() { 965 buildCreativeServingRestrictionsContexts() {
962 var o = new api.CreativeServingRestrictionsContexts(); 966 var o = new api.CreativeServingRestrictionsContexts();
963 buildCounterCreativeServingRestrictionsContexts++; 967 buildCounterCreativeServingRestrictionsContexts++;
964 if (buildCounterCreativeServingRestrictionsContexts < 3) { 968 if (buildCounterCreativeServingRestrictionsContexts < 3) {
965 o.auctionType = buildUnnamed2306(); 969 o.auctionType = buildUnnamed2065();
966 o.contextType = "foo"; 970 o.contextType = "foo";
967 o.geoCriteriaId = buildUnnamed2307(); 971 o.geoCriteriaId = buildUnnamed2066();
968 o.platform = buildUnnamed2308(); 972 o.platform = buildUnnamed2067();
969 } 973 }
970 buildCounterCreativeServingRestrictionsContexts--; 974 buildCounterCreativeServingRestrictionsContexts--;
971 return o; 975 return o;
972 } 976 }
973 977
974 checkCreativeServingRestrictionsContexts(api.CreativeServingRestrictionsContexts o) { 978 checkCreativeServingRestrictionsContexts(api.CreativeServingRestrictionsContexts o) {
975 buildCounterCreativeServingRestrictionsContexts++; 979 buildCounterCreativeServingRestrictionsContexts++;
976 if (buildCounterCreativeServingRestrictionsContexts < 3) { 980 if (buildCounterCreativeServingRestrictionsContexts < 3) {
977 checkUnnamed2306(o.auctionType); 981 checkUnnamed2065(o.auctionType);
978 unittest.expect(o.contextType, unittest.equals('foo')); 982 unittest.expect(o.contextType, unittest.equals('foo'));
979 checkUnnamed2307(o.geoCriteriaId); 983 checkUnnamed2066(o.geoCriteriaId);
980 checkUnnamed2308(o.platform); 984 checkUnnamed2067(o.platform);
981 } 985 }
982 buildCounterCreativeServingRestrictionsContexts--; 986 buildCounterCreativeServingRestrictionsContexts--;
983 } 987 }
984 988
985 buildUnnamed2309() { 989 buildUnnamed2068() {
986 var o = new core.List<api.CreativeServingRestrictionsContexts>(); 990 var o = new core.List<api.CreativeServingRestrictionsContexts>();
987 o.add(buildCreativeServingRestrictionsContexts()); 991 o.add(buildCreativeServingRestrictionsContexts());
988 o.add(buildCreativeServingRestrictionsContexts()); 992 o.add(buildCreativeServingRestrictionsContexts());
989 return o; 993 return o;
990 } 994 }
991 995
992 checkUnnamed2309(core.List<api.CreativeServingRestrictionsContexts> o) { 996 checkUnnamed2068(core.List<api.CreativeServingRestrictionsContexts> o) {
993 unittest.expect(o, unittest.hasLength(2)); 997 unittest.expect(o, unittest.hasLength(2));
994 checkCreativeServingRestrictionsContexts(o[0]); 998 checkCreativeServingRestrictionsContexts(o[0]);
995 checkCreativeServingRestrictionsContexts(o[1]); 999 checkCreativeServingRestrictionsContexts(o[1]);
996 } 1000 }
997 1001
998 buildUnnamed2310() { 1002 buildUnnamed2069() {
999 var o = new core.List<core.String>(); 1003 var o = new core.List<core.String>();
1000 o.add("foo"); 1004 o.add("foo");
1001 o.add("foo"); 1005 o.add("foo");
1002 return o; 1006 return o;
1003 } 1007 }
1004 1008
1005 checkUnnamed2310(core.List<core.String> o) { 1009 checkUnnamed2069(core.List<core.String> o) {
1006 unittest.expect(o, unittest.hasLength(2)); 1010 unittest.expect(o, unittest.hasLength(2));
1007 unittest.expect(o[0], unittest.equals('foo')); 1011 unittest.expect(o[0], unittest.equals('foo'));
1008 unittest.expect(o[1], unittest.equals('foo')); 1012 unittest.expect(o[1], unittest.equals('foo'));
1009 } 1013 }
1010 1014
1011 core.int buildCounterCreativeServingRestrictionsDisapprovalReasons = 0; 1015 core.int buildCounterCreativeServingRestrictionsDisapprovalReasons = 0;
1012 buildCreativeServingRestrictionsDisapprovalReasons() { 1016 buildCreativeServingRestrictionsDisapprovalReasons() {
1013 var o = new api.CreativeServingRestrictionsDisapprovalReasons(); 1017 var o = new api.CreativeServingRestrictionsDisapprovalReasons();
1014 buildCounterCreativeServingRestrictionsDisapprovalReasons++; 1018 buildCounterCreativeServingRestrictionsDisapprovalReasons++;
1015 if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) { 1019 if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) {
1016 o.details = buildUnnamed2310(); 1020 o.details = buildUnnamed2069();
1017 o.reason = "foo"; 1021 o.reason = "foo";
1018 } 1022 }
1019 buildCounterCreativeServingRestrictionsDisapprovalReasons--; 1023 buildCounterCreativeServingRestrictionsDisapprovalReasons--;
1020 return o; 1024 return o;
1021 } 1025 }
1022 1026
1023 checkCreativeServingRestrictionsDisapprovalReasons(api.CreativeServingRestrictio nsDisapprovalReasons o) { 1027 checkCreativeServingRestrictionsDisapprovalReasons(api.CreativeServingRestrictio nsDisapprovalReasons o) {
1024 buildCounterCreativeServingRestrictionsDisapprovalReasons++; 1028 buildCounterCreativeServingRestrictionsDisapprovalReasons++;
1025 if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) { 1029 if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) {
1026 checkUnnamed2310(o.details); 1030 checkUnnamed2069(o.details);
1027 unittest.expect(o.reason, unittest.equals('foo')); 1031 unittest.expect(o.reason, unittest.equals('foo'));
1028 } 1032 }
1029 buildCounterCreativeServingRestrictionsDisapprovalReasons--; 1033 buildCounterCreativeServingRestrictionsDisapprovalReasons--;
1030 } 1034 }
1031 1035
1032 buildUnnamed2311() { 1036 buildUnnamed2070() {
1033 var o = new core.List<api.CreativeServingRestrictionsDisapprovalReasons>(); 1037 var o = new core.List<api.CreativeServingRestrictionsDisapprovalReasons>();
1034 o.add(buildCreativeServingRestrictionsDisapprovalReasons()); 1038 o.add(buildCreativeServingRestrictionsDisapprovalReasons());
1035 o.add(buildCreativeServingRestrictionsDisapprovalReasons()); 1039 o.add(buildCreativeServingRestrictionsDisapprovalReasons());
1036 return o; 1040 return o;
1037 } 1041 }
1038 1042
1039 checkUnnamed2311(core.List<api.CreativeServingRestrictionsDisapprovalReasons> o) { 1043 checkUnnamed2070(core.List<api.CreativeServingRestrictionsDisapprovalReasons> o) {
1040 unittest.expect(o, unittest.hasLength(2)); 1044 unittest.expect(o, unittest.hasLength(2));
1041 checkCreativeServingRestrictionsDisapprovalReasons(o[0]); 1045 checkCreativeServingRestrictionsDisapprovalReasons(o[0]);
1042 checkCreativeServingRestrictionsDisapprovalReasons(o[1]); 1046 checkCreativeServingRestrictionsDisapprovalReasons(o[1]);
1043 } 1047 }
1044 1048
1045 core.int buildCounterCreativeServingRestrictions = 0; 1049 core.int buildCounterCreativeServingRestrictions = 0;
1046 buildCreativeServingRestrictions() { 1050 buildCreativeServingRestrictions() {
1047 var o = new api.CreativeServingRestrictions(); 1051 var o = new api.CreativeServingRestrictions();
1048 buildCounterCreativeServingRestrictions++; 1052 buildCounterCreativeServingRestrictions++;
1049 if (buildCounterCreativeServingRestrictions < 3) { 1053 if (buildCounterCreativeServingRestrictions < 3) {
1050 o.contexts = buildUnnamed2309(); 1054 o.contexts = buildUnnamed2068();
1051 o.disapprovalReasons = buildUnnamed2311(); 1055 o.disapprovalReasons = buildUnnamed2070();
1052 o.reason = "foo"; 1056 o.reason = "foo";
1053 } 1057 }
1054 buildCounterCreativeServingRestrictions--; 1058 buildCounterCreativeServingRestrictions--;
1055 return o; 1059 return o;
1056 } 1060 }
1057 1061
1058 checkCreativeServingRestrictions(api.CreativeServingRestrictions o) { 1062 checkCreativeServingRestrictions(api.CreativeServingRestrictions o) {
1059 buildCounterCreativeServingRestrictions++; 1063 buildCounterCreativeServingRestrictions++;
1060 if (buildCounterCreativeServingRestrictions < 3) { 1064 if (buildCounterCreativeServingRestrictions < 3) {
1061 checkUnnamed2309(o.contexts); 1065 checkUnnamed2068(o.contexts);
1062 checkUnnamed2311(o.disapprovalReasons); 1066 checkUnnamed2070(o.disapprovalReasons);
1063 unittest.expect(o.reason, unittest.equals('foo')); 1067 unittest.expect(o.reason, unittest.equals('foo'));
1064 } 1068 }
1065 buildCounterCreativeServingRestrictions--; 1069 buildCounterCreativeServingRestrictions--;
1066 } 1070 }
1067 1071
1068 buildUnnamed2312() { 1072 buildUnnamed2071() {
1069 var o = new core.List<api.CreativeServingRestrictions>(); 1073 var o = new core.List<api.CreativeServingRestrictions>();
1070 o.add(buildCreativeServingRestrictions()); 1074 o.add(buildCreativeServingRestrictions());
1071 o.add(buildCreativeServingRestrictions()); 1075 o.add(buildCreativeServingRestrictions());
1072 return o; 1076 return o;
1073 } 1077 }
1074 1078
1075 checkUnnamed2312(core.List<api.CreativeServingRestrictions> o) { 1079 checkUnnamed2071(core.List<api.CreativeServingRestrictions> o) {
1076 unittest.expect(o, unittest.hasLength(2)); 1080 unittest.expect(o, unittest.hasLength(2));
1077 checkCreativeServingRestrictions(o[0]); 1081 checkCreativeServingRestrictions(o[0]);
1078 checkCreativeServingRestrictions(o[1]); 1082 checkCreativeServingRestrictions(o[1]);
1079 } 1083 }
1080 1084
1081 buildUnnamed2313() { 1085 buildUnnamed2072() {
1082 var o = new core.List<core.int>(); 1086 var o = new core.List<core.int>();
1083 o.add(42); 1087 o.add(42);
1084 o.add(42); 1088 o.add(42);
1085 return o; 1089 return o;
1086 } 1090 }
1087 1091
1088 checkUnnamed2313(core.List<core.int> o) { 1092 checkUnnamed2072(core.List<core.int> o) {
1089 unittest.expect(o, unittest.hasLength(2)); 1093 unittest.expect(o, unittest.hasLength(2));
1090 unittest.expect(o[0], unittest.equals(42)); 1094 unittest.expect(o[0], unittest.equals(42));
1091 unittest.expect(o[1], unittest.equals(42)); 1095 unittest.expect(o[1], unittest.equals(42));
1092 } 1096 }
1093 1097
1094 core.int buildCounterCreative = 0; 1098 core.int buildCounterCreative = 0;
1095 buildCreative() { 1099 buildCreative() {
1096 var o = new api.Creative(); 1100 var o = new api.Creative();
1097 buildCounterCreative++; 1101 buildCounterCreative++;
1098 if (buildCounterCreative < 3) { 1102 if (buildCounterCreative < 3) {
1099 o.HTMLSnippet = "foo"; 1103 o.HTMLSnippet = "foo";
1100 o.accountId = 42; 1104 o.accountId = 42;
1101 o.adChoicesDestinationUrl = "foo"; 1105 o.adChoicesDestinationUrl = "foo";
1102 o.advertiserId = buildUnnamed2289(); 1106 o.advertiserId = buildUnnamed2048();
1103 o.advertiserName = "foo"; 1107 o.advertiserName = "foo";
1104 o.agencyId = "foo"; 1108 o.agencyId = "foo";
1105 o.apiUploadTimestamp = core.DateTime.parse("2002-02-27T14:01:02"); 1109 o.apiUploadTimestamp = core.DateTime.parse("2002-02-27T14:01:02");
1106 o.attribute = buildUnnamed2290(); 1110 o.attribute = buildUnnamed2049();
1107 o.buyerCreativeId = "foo"; 1111 o.buyerCreativeId = "foo";
1108 o.clickThroughUrl = buildUnnamed2291(); 1112 o.clickThroughUrl = buildUnnamed2050();
1109 o.corrections = buildUnnamed2297(); 1113 o.corrections = buildUnnamed2056();
1110 o.dealsStatus = "foo"; 1114 o.dealsStatus = "foo";
1111 o.detectedDomains = buildUnnamed2298(); 1115 o.detectedDomains = buildUnnamed2057();
1112 o.filteringReasons = buildCreativeFilteringReasons(); 1116 o.filteringReasons = buildCreativeFilteringReasons();
1113 o.height = 42; 1117 o.height = 42;
1114 o.impressionTrackingUrl = buildUnnamed2300(); 1118 o.impressionTrackingUrl = buildUnnamed2059();
1115 o.kind = "foo"; 1119 o.kind = "foo";
1116 o.languages = buildUnnamed2301(); 1120 o.languages = buildUnnamed2060();
1117 o.nativeAd = buildCreativeNativeAd(); 1121 o.nativeAd = buildCreativeNativeAd();
1118 o.openAuctionStatus = "foo"; 1122 o.openAuctionStatus = "foo";
1119 o.productCategories = buildUnnamed2303(); 1123 o.productCategories = buildUnnamed2062();
1120 o.restrictedCategories = buildUnnamed2304(); 1124 o.restrictedCategories = buildUnnamed2063();
1121 o.sensitiveCategories = buildUnnamed2305(); 1125 o.sensitiveCategories = buildUnnamed2064();
1122 o.servingRestrictions = buildUnnamed2312(); 1126 o.servingRestrictions = buildUnnamed2071();
1123 o.vendorType = buildUnnamed2313(); 1127 o.vendorType = buildUnnamed2072();
1124 o.version = 42; 1128 o.version = 42;
1125 o.videoURL = "foo"; 1129 o.videoURL = "foo";
1126 o.width = 42; 1130 o.width = 42;
1127 } 1131 }
1128 buildCounterCreative--; 1132 buildCounterCreative--;
1129 return o; 1133 return o;
1130 } 1134 }
1131 1135
1132 checkCreative(api.Creative o) { 1136 checkCreative(api.Creative o) {
1133 buildCounterCreative++; 1137 buildCounterCreative++;
1134 if (buildCounterCreative < 3) { 1138 if (buildCounterCreative < 3) {
1135 unittest.expect(o.HTMLSnippet, unittest.equals('foo')); 1139 unittest.expect(o.HTMLSnippet, unittest.equals('foo'));
1136 unittest.expect(o.accountId, unittest.equals(42)); 1140 unittest.expect(o.accountId, unittest.equals(42));
1137 unittest.expect(o.adChoicesDestinationUrl, unittest.equals('foo')); 1141 unittest.expect(o.adChoicesDestinationUrl, unittest.equals('foo'));
1138 checkUnnamed2289(o.advertiserId); 1142 checkUnnamed2048(o.advertiserId);
1139 unittest.expect(o.advertiserName, unittest.equals('foo')); 1143 unittest.expect(o.advertiserName, unittest.equals('foo'));
1140 unittest.expect(o.agencyId, unittest.equals('foo')); 1144 unittest.expect(o.agencyId, unittest.equals('foo'));
1141 unittest.expect(o.apiUploadTimestamp, unittest.equals(core.DateTime.parse("2 002-02-27T14:01:02"))); 1145 unittest.expect(o.apiUploadTimestamp, unittest.equals(core.DateTime.parse("2 002-02-27T14:01:02")));
1142 checkUnnamed2290(o.attribute); 1146 checkUnnamed2049(o.attribute);
1143 unittest.expect(o.buyerCreativeId, unittest.equals('foo')); 1147 unittest.expect(o.buyerCreativeId, unittest.equals('foo'));
1144 checkUnnamed2291(o.clickThroughUrl); 1148 checkUnnamed2050(o.clickThroughUrl);
1145 checkUnnamed2297(o.corrections); 1149 checkUnnamed2056(o.corrections);
1146 unittest.expect(o.dealsStatus, unittest.equals('foo')); 1150 unittest.expect(o.dealsStatus, unittest.equals('foo'));
1147 checkUnnamed2298(o.detectedDomains); 1151 checkUnnamed2057(o.detectedDomains);
1148 checkCreativeFilteringReasons(o.filteringReasons); 1152 checkCreativeFilteringReasons(o.filteringReasons);
1149 unittest.expect(o.height, unittest.equals(42)); 1153 unittest.expect(o.height, unittest.equals(42));
1150 checkUnnamed2300(o.impressionTrackingUrl); 1154 checkUnnamed2059(o.impressionTrackingUrl);
1151 unittest.expect(o.kind, unittest.equals('foo')); 1155 unittest.expect(o.kind, unittest.equals('foo'));
1152 checkUnnamed2301(o.languages); 1156 checkUnnamed2060(o.languages);
1153 checkCreativeNativeAd(o.nativeAd); 1157 checkCreativeNativeAd(o.nativeAd);
1154 unittest.expect(o.openAuctionStatus, unittest.equals('foo')); 1158 unittest.expect(o.openAuctionStatus, unittest.equals('foo'));
1155 checkUnnamed2303(o.productCategories); 1159 checkUnnamed2062(o.productCategories);
1156 checkUnnamed2304(o.restrictedCategories); 1160 checkUnnamed2063(o.restrictedCategories);
1157 checkUnnamed2305(o.sensitiveCategories); 1161 checkUnnamed2064(o.sensitiveCategories);
1158 checkUnnamed2312(o.servingRestrictions); 1162 checkUnnamed2071(o.servingRestrictions);
1159 checkUnnamed2313(o.vendorType); 1163 checkUnnamed2072(o.vendorType);
1160 unittest.expect(o.version, unittest.equals(42)); 1164 unittest.expect(o.version, unittest.equals(42));
1161 unittest.expect(o.videoURL, unittest.equals('foo')); 1165 unittest.expect(o.videoURL, unittest.equals('foo'));
1162 unittest.expect(o.width, unittest.equals(42)); 1166 unittest.expect(o.width, unittest.equals(42));
1163 } 1167 }
1164 buildCounterCreative--; 1168 buildCounterCreative--;
1165 } 1169 }
1166 1170
1167 buildUnnamed2314() { 1171 core.int buildCounterCreativeDealIdsDealStatuses = 0;
1172 buildCreativeDealIdsDealStatuses() {
1173 var o = new api.CreativeDealIdsDealStatuses();
1174 buildCounterCreativeDealIdsDealStatuses++;
1175 if (buildCounterCreativeDealIdsDealStatuses < 3) {
1176 o.arcStatus = "foo";
1177 o.dealId = "foo";
1178 o.webPropertyId = 42;
1179 }
1180 buildCounterCreativeDealIdsDealStatuses--;
1181 return o;
1182 }
1183
1184 checkCreativeDealIdsDealStatuses(api.CreativeDealIdsDealStatuses o) {
1185 buildCounterCreativeDealIdsDealStatuses++;
1186 if (buildCounterCreativeDealIdsDealStatuses < 3) {
1187 unittest.expect(o.arcStatus, unittest.equals('foo'));
1188 unittest.expect(o.dealId, unittest.equals('foo'));
1189 unittest.expect(o.webPropertyId, unittest.equals(42));
1190 }
1191 buildCounterCreativeDealIdsDealStatuses--;
1192 }
1193
1194 buildUnnamed2073() {
1195 var o = new core.List<api.CreativeDealIdsDealStatuses>();
1196 o.add(buildCreativeDealIdsDealStatuses());
1197 o.add(buildCreativeDealIdsDealStatuses());
1198 return o;
1199 }
1200
1201 checkUnnamed2073(core.List<api.CreativeDealIdsDealStatuses> o) {
1202 unittest.expect(o, unittest.hasLength(2));
1203 checkCreativeDealIdsDealStatuses(o[0]);
1204 checkCreativeDealIdsDealStatuses(o[1]);
1205 }
1206
1207 core.int buildCounterCreativeDealIds = 0;
1208 buildCreativeDealIds() {
1209 var o = new api.CreativeDealIds();
1210 buildCounterCreativeDealIds++;
1211 if (buildCounterCreativeDealIds < 3) {
1212 o.dealStatuses = buildUnnamed2073();
1213 o.kind = "foo";
1214 }
1215 buildCounterCreativeDealIds--;
1216 return o;
1217 }
1218
1219 checkCreativeDealIds(api.CreativeDealIds o) {
1220 buildCounterCreativeDealIds++;
1221 if (buildCounterCreativeDealIds < 3) {
1222 checkUnnamed2073(o.dealStatuses);
1223 unittest.expect(o.kind, unittest.equals('foo'));
1224 }
1225 buildCounterCreativeDealIds--;
1226 }
1227
1228 buildUnnamed2074() {
1168 var o = new core.List<api.Creative>(); 1229 var o = new core.List<api.Creative>();
1169 o.add(buildCreative()); 1230 o.add(buildCreative());
1170 o.add(buildCreative()); 1231 o.add(buildCreative());
1171 return o; 1232 return o;
1172 } 1233 }
1173 1234
1174 checkUnnamed2314(core.List<api.Creative> o) { 1235 checkUnnamed2074(core.List<api.Creative> o) {
1175 unittest.expect(o, unittest.hasLength(2)); 1236 unittest.expect(o, unittest.hasLength(2));
1176 checkCreative(o[0]); 1237 checkCreative(o[0]);
1177 checkCreative(o[1]); 1238 checkCreative(o[1]);
1178 } 1239 }
1179 1240
1180 core.int buildCounterCreativesList = 0; 1241 core.int buildCounterCreativesList = 0;
1181 buildCreativesList() { 1242 buildCreativesList() {
1182 var o = new api.CreativesList(); 1243 var o = new api.CreativesList();
1183 buildCounterCreativesList++; 1244 buildCounterCreativesList++;
1184 if (buildCounterCreativesList < 3) { 1245 if (buildCounterCreativesList < 3) {
1185 o.items = buildUnnamed2314(); 1246 o.items = buildUnnamed2074();
1186 o.kind = "foo"; 1247 o.kind = "foo";
1187 o.nextPageToken = "foo"; 1248 o.nextPageToken = "foo";
1188 } 1249 }
1189 buildCounterCreativesList--; 1250 buildCounterCreativesList--;
1190 return o; 1251 return o;
1191 } 1252 }
1192 1253
1193 checkCreativesList(api.CreativesList o) { 1254 checkCreativesList(api.CreativesList o) {
1194 buildCounterCreativesList++; 1255 buildCounterCreativesList++;
1195 if (buildCounterCreativesList < 3) { 1256 if (buildCounterCreativesList < 3) {
1196 checkUnnamed2314(o.items); 1257 checkUnnamed2074(o.items);
1197 unittest.expect(o.kind, unittest.equals('foo')); 1258 unittest.expect(o.kind, unittest.equals('foo'));
1198 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1259 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1199 } 1260 }
1200 buildCounterCreativesList--; 1261 buildCounterCreativesList--;
1201 } 1262 }
1202 1263
1203 core.int buildCounterDealServingMetadata = 0; 1264 core.int buildCounterDealServingMetadata = 0;
1204 buildDealServingMetadata() { 1265 buildDealServingMetadata() {
1205 var o = new api.DealServingMetadata(); 1266 var o = new api.DealServingMetadata();
1206 buildCounterDealServingMetadata++; 1267 buildCounterDealServingMetadata++;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
1245 } 1306 }
1246 buildCounterDealServingMetadataDealPauseStatus--; 1307 buildCounterDealServingMetadataDealPauseStatus--;
1247 } 1308 }
1248 1309
1249 core.int buildCounterDealTerms = 0; 1310 core.int buildCounterDealTerms = 0;
1250 buildDealTerms() { 1311 buildDealTerms() {
1251 var o = new api.DealTerms(); 1312 var o = new api.DealTerms();
1252 buildCounterDealTerms++; 1313 buildCounterDealTerms++;
1253 if (buildCounterDealTerms < 3) { 1314 if (buildCounterDealTerms < 3) {
1254 o.brandingType = "foo"; 1315 o.brandingType = "foo";
1316 o.crossListedExternalDealIdType = "foo";
1255 o.description = "foo"; 1317 o.description = "foo";
1256 o.estimatedGrossSpend = buildPrice(); 1318 o.estimatedGrossSpend = buildPrice();
1257 o.estimatedImpressionsPerDay = "foo"; 1319 o.estimatedImpressionsPerDay = "foo";
1258 o.guaranteedFixedPriceTerms = buildDealTermsGuaranteedFixedPriceTerms(); 1320 o.guaranteedFixedPriceTerms = buildDealTermsGuaranteedFixedPriceTerms();
1259 o.nonGuaranteedAuctionTerms = buildDealTermsNonGuaranteedAuctionTerms(); 1321 o.nonGuaranteedAuctionTerms = buildDealTermsNonGuaranteedAuctionTerms();
1260 o.nonGuaranteedFixedPriceTerms = buildDealTermsNonGuaranteedFixedPriceTerms( ); 1322 o.nonGuaranteedFixedPriceTerms = buildDealTermsNonGuaranteedFixedPriceTerms( );
1261 o.rubiconNonGuaranteedTerms = buildDealTermsRubiconNonGuaranteedTerms(); 1323 o.rubiconNonGuaranteedTerms = buildDealTermsRubiconNonGuaranteedTerms();
1262 o.sellerTimeZone = "foo"; 1324 o.sellerTimeZone = "foo";
1263 } 1325 }
1264 buildCounterDealTerms--; 1326 buildCounterDealTerms--;
1265 return o; 1327 return o;
1266 } 1328 }
1267 1329
1268 checkDealTerms(api.DealTerms o) { 1330 checkDealTerms(api.DealTerms o) {
1269 buildCounterDealTerms++; 1331 buildCounterDealTerms++;
1270 if (buildCounterDealTerms < 3) { 1332 if (buildCounterDealTerms < 3) {
1271 unittest.expect(o.brandingType, unittest.equals('foo')); 1333 unittest.expect(o.brandingType, unittest.equals('foo'));
1334 unittest.expect(o.crossListedExternalDealIdType, unittest.equals('foo'));
1272 unittest.expect(o.description, unittest.equals('foo')); 1335 unittest.expect(o.description, unittest.equals('foo'));
1273 checkPrice(o.estimatedGrossSpend); 1336 checkPrice(o.estimatedGrossSpend);
1274 unittest.expect(o.estimatedImpressionsPerDay, unittest.equals('foo')); 1337 unittest.expect(o.estimatedImpressionsPerDay, unittest.equals('foo'));
1275 checkDealTermsGuaranteedFixedPriceTerms(o.guaranteedFixedPriceTerms); 1338 checkDealTermsGuaranteedFixedPriceTerms(o.guaranteedFixedPriceTerms);
1276 checkDealTermsNonGuaranteedAuctionTerms(o.nonGuaranteedAuctionTerms); 1339 checkDealTermsNonGuaranteedAuctionTerms(o.nonGuaranteedAuctionTerms);
1277 checkDealTermsNonGuaranteedFixedPriceTerms(o.nonGuaranteedFixedPriceTerms); 1340 checkDealTermsNonGuaranteedFixedPriceTerms(o.nonGuaranteedFixedPriceTerms);
1278 checkDealTermsRubiconNonGuaranteedTerms(o.rubiconNonGuaranteedTerms); 1341 checkDealTermsRubiconNonGuaranteedTerms(o.rubiconNonGuaranteedTerms);
1279 unittest.expect(o.sellerTimeZone, unittest.equals('foo')); 1342 unittest.expect(o.sellerTimeZone, unittest.equals('foo'));
1280 } 1343 }
1281 buildCounterDealTerms--; 1344 buildCounterDealTerms--;
1282 } 1345 }
1283 1346
1284 buildUnnamed2315() { 1347 buildUnnamed2075() {
1285 var o = new core.List<api.PricePerBuyer>(); 1348 var o = new core.List<api.PricePerBuyer>();
1286 o.add(buildPricePerBuyer()); 1349 o.add(buildPricePerBuyer());
1287 o.add(buildPricePerBuyer()); 1350 o.add(buildPricePerBuyer());
1288 return o; 1351 return o;
1289 } 1352 }
1290 1353
1291 checkUnnamed2315(core.List<api.PricePerBuyer> o) { 1354 checkUnnamed2075(core.List<api.PricePerBuyer> o) {
1292 unittest.expect(o, unittest.hasLength(2)); 1355 unittest.expect(o, unittest.hasLength(2));
1293 checkPricePerBuyer(o[0]); 1356 checkPricePerBuyer(o[0]);
1294 checkPricePerBuyer(o[1]); 1357 checkPricePerBuyer(o[1]);
1295 } 1358 }
1296 1359
1297 core.int buildCounterDealTermsGuaranteedFixedPriceTerms = 0; 1360 core.int buildCounterDealTermsGuaranteedFixedPriceTerms = 0;
1298 buildDealTermsGuaranteedFixedPriceTerms() { 1361 buildDealTermsGuaranteedFixedPriceTerms() {
1299 var o = new api.DealTermsGuaranteedFixedPriceTerms(); 1362 var o = new api.DealTermsGuaranteedFixedPriceTerms();
1300 buildCounterDealTermsGuaranteedFixedPriceTerms++; 1363 buildCounterDealTermsGuaranteedFixedPriceTerms++;
1301 if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) { 1364 if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) {
1302 o.billingInfo = buildDealTermsGuaranteedFixedPriceTermsBillingInfo(); 1365 o.billingInfo = buildDealTermsGuaranteedFixedPriceTermsBillingInfo();
1303 o.fixedPrices = buildUnnamed2315(); 1366 o.fixedPrices = buildUnnamed2075();
1304 o.guaranteedImpressions = "foo"; 1367 o.guaranteedImpressions = "foo";
1305 o.guaranteedLooks = "foo"; 1368 o.guaranteedLooks = "foo";
1306 o.minimumDailyLooks = "foo"; 1369 o.minimumDailyLooks = "foo";
1307 } 1370 }
1308 buildCounterDealTermsGuaranteedFixedPriceTerms--; 1371 buildCounterDealTermsGuaranteedFixedPriceTerms--;
1309 return o; 1372 return o;
1310 } 1373 }
1311 1374
1312 checkDealTermsGuaranteedFixedPriceTerms(api.DealTermsGuaranteedFixedPriceTerms o ) { 1375 checkDealTermsGuaranteedFixedPriceTerms(api.DealTermsGuaranteedFixedPriceTerms o ) {
1313 buildCounterDealTermsGuaranteedFixedPriceTerms++; 1376 buildCounterDealTermsGuaranteedFixedPriceTerms++;
1314 if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) { 1377 if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) {
1315 checkDealTermsGuaranteedFixedPriceTermsBillingInfo(o.billingInfo); 1378 checkDealTermsGuaranteedFixedPriceTermsBillingInfo(o.billingInfo);
1316 checkUnnamed2315(o.fixedPrices); 1379 checkUnnamed2075(o.fixedPrices);
1317 unittest.expect(o.guaranteedImpressions, unittest.equals('foo')); 1380 unittest.expect(o.guaranteedImpressions, unittest.equals('foo'));
1318 unittest.expect(o.guaranteedLooks, unittest.equals('foo')); 1381 unittest.expect(o.guaranteedLooks, unittest.equals('foo'));
1319 unittest.expect(o.minimumDailyLooks, unittest.equals('foo')); 1382 unittest.expect(o.minimumDailyLooks, unittest.equals('foo'));
1320 } 1383 }
1321 buildCounterDealTermsGuaranteedFixedPriceTerms--; 1384 buildCounterDealTermsGuaranteedFixedPriceTerms--;
1322 } 1385 }
1323 1386
1324 core.int buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo = 0; 1387 core.int buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo = 0;
1325 buildDealTermsGuaranteedFixedPriceTermsBillingInfo() { 1388 buildDealTermsGuaranteedFixedPriceTermsBillingInfo() {
1326 var o = new api.DealTermsGuaranteedFixedPriceTermsBillingInfo(); 1389 var o = new api.DealTermsGuaranteedFixedPriceTermsBillingInfo();
(...skipping 12 matching lines...) Expand all
1339 buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo++; 1402 buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo++;
1340 if (buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo < 3) { 1403 if (buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo < 3) {
1341 unittest.expect(o.currencyConversionTimeMs, unittest.equals('foo')); 1404 unittest.expect(o.currencyConversionTimeMs, unittest.equals('foo'));
1342 unittest.expect(o.dfpLineItemId, unittest.equals('foo')); 1405 unittest.expect(o.dfpLineItemId, unittest.equals('foo'));
1343 unittest.expect(o.originalContractedQuantity, unittest.equals('foo')); 1406 unittest.expect(o.originalContractedQuantity, unittest.equals('foo'));
1344 checkPrice(o.price); 1407 checkPrice(o.price);
1345 } 1408 }
1346 buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo--; 1409 buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo--;
1347 } 1410 }
1348 1411
1349 buildUnnamed2316() { 1412 buildUnnamed2076() {
1350 var o = new core.List<api.PricePerBuyer>(); 1413 var o = new core.List<api.PricePerBuyer>();
1351 o.add(buildPricePerBuyer()); 1414 o.add(buildPricePerBuyer());
1352 o.add(buildPricePerBuyer()); 1415 o.add(buildPricePerBuyer());
1353 return o; 1416 return o;
1354 } 1417 }
1355 1418
1356 checkUnnamed2316(core.List<api.PricePerBuyer> o) { 1419 checkUnnamed2076(core.List<api.PricePerBuyer> o) {
1357 unittest.expect(o, unittest.hasLength(2)); 1420 unittest.expect(o, unittest.hasLength(2));
1358 checkPricePerBuyer(o[0]); 1421 checkPricePerBuyer(o[0]);
1359 checkPricePerBuyer(o[1]); 1422 checkPricePerBuyer(o[1]);
1360 } 1423 }
1361 1424
1362 core.int buildCounterDealTermsNonGuaranteedAuctionTerms = 0; 1425 core.int buildCounterDealTermsNonGuaranteedAuctionTerms = 0;
1363 buildDealTermsNonGuaranteedAuctionTerms() { 1426 buildDealTermsNonGuaranteedAuctionTerms() {
1364 var o = new api.DealTermsNonGuaranteedAuctionTerms(); 1427 var o = new api.DealTermsNonGuaranteedAuctionTerms();
1365 buildCounterDealTermsNonGuaranteedAuctionTerms++; 1428 buildCounterDealTermsNonGuaranteedAuctionTerms++;
1366 if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) { 1429 if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) {
1367 o.autoOptimizePrivateAuction = true; 1430 o.autoOptimizePrivateAuction = true;
1368 o.reservePricePerBuyers = buildUnnamed2316(); 1431 o.reservePricePerBuyers = buildUnnamed2076();
1369 } 1432 }
1370 buildCounterDealTermsNonGuaranteedAuctionTerms--; 1433 buildCounterDealTermsNonGuaranteedAuctionTerms--;
1371 return o; 1434 return o;
1372 } 1435 }
1373 1436
1374 checkDealTermsNonGuaranteedAuctionTerms(api.DealTermsNonGuaranteedAuctionTerms o ) { 1437 checkDealTermsNonGuaranteedAuctionTerms(api.DealTermsNonGuaranteedAuctionTerms o ) {
1375 buildCounterDealTermsNonGuaranteedAuctionTerms++; 1438 buildCounterDealTermsNonGuaranteedAuctionTerms++;
1376 if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) { 1439 if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) {
1377 unittest.expect(o.autoOptimizePrivateAuction, unittest.isTrue); 1440 unittest.expect(o.autoOptimizePrivateAuction, unittest.isTrue);
1378 checkUnnamed2316(o.reservePricePerBuyers); 1441 checkUnnamed2076(o.reservePricePerBuyers);
1379 } 1442 }
1380 buildCounterDealTermsNonGuaranteedAuctionTerms--; 1443 buildCounterDealTermsNonGuaranteedAuctionTerms--;
1381 } 1444 }
1382 1445
1383 buildUnnamed2317() { 1446 buildUnnamed2077() {
1384 var o = new core.List<api.PricePerBuyer>(); 1447 var o = new core.List<api.PricePerBuyer>();
1385 o.add(buildPricePerBuyer()); 1448 o.add(buildPricePerBuyer());
1386 o.add(buildPricePerBuyer()); 1449 o.add(buildPricePerBuyer());
1387 return o; 1450 return o;
1388 } 1451 }
1389 1452
1390 checkUnnamed2317(core.List<api.PricePerBuyer> o) { 1453 checkUnnamed2077(core.List<api.PricePerBuyer> o) {
1391 unittest.expect(o, unittest.hasLength(2)); 1454 unittest.expect(o, unittest.hasLength(2));
1392 checkPricePerBuyer(o[0]); 1455 checkPricePerBuyer(o[0]);
1393 checkPricePerBuyer(o[1]); 1456 checkPricePerBuyer(o[1]);
1394 } 1457 }
1395 1458
1396 core.int buildCounterDealTermsNonGuaranteedFixedPriceTerms = 0; 1459 core.int buildCounterDealTermsNonGuaranteedFixedPriceTerms = 0;
1397 buildDealTermsNonGuaranteedFixedPriceTerms() { 1460 buildDealTermsNonGuaranteedFixedPriceTerms() {
1398 var o = new api.DealTermsNonGuaranteedFixedPriceTerms(); 1461 var o = new api.DealTermsNonGuaranteedFixedPriceTerms();
1399 buildCounterDealTermsNonGuaranteedFixedPriceTerms++; 1462 buildCounterDealTermsNonGuaranteedFixedPriceTerms++;
1400 if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) { 1463 if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) {
1401 o.fixedPrices = buildUnnamed2317(); 1464 o.fixedPrices = buildUnnamed2077();
1402 } 1465 }
1403 buildCounterDealTermsNonGuaranteedFixedPriceTerms--; 1466 buildCounterDealTermsNonGuaranteedFixedPriceTerms--;
1404 return o; 1467 return o;
1405 } 1468 }
1406 1469
1407 checkDealTermsNonGuaranteedFixedPriceTerms(api.DealTermsNonGuaranteedFixedPriceT erms o) { 1470 checkDealTermsNonGuaranteedFixedPriceTerms(api.DealTermsNonGuaranteedFixedPriceT erms o) {
1408 buildCounterDealTermsNonGuaranteedFixedPriceTerms++; 1471 buildCounterDealTermsNonGuaranteedFixedPriceTerms++;
1409 if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) { 1472 if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) {
1410 checkUnnamed2317(o.fixedPrices); 1473 checkUnnamed2077(o.fixedPrices);
1411 } 1474 }
1412 buildCounterDealTermsNonGuaranteedFixedPriceTerms--; 1475 buildCounterDealTermsNonGuaranteedFixedPriceTerms--;
1413 } 1476 }
1414 1477
1415 core.int buildCounterDealTermsRubiconNonGuaranteedTerms = 0; 1478 core.int buildCounterDealTermsRubiconNonGuaranteedTerms = 0;
1416 buildDealTermsRubiconNonGuaranteedTerms() { 1479 buildDealTermsRubiconNonGuaranteedTerms() {
1417 var o = new api.DealTermsRubiconNonGuaranteedTerms(); 1480 var o = new api.DealTermsRubiconNonGuaranteedTerms();
1418 buildCounterDealTermsRubiconNonGuaranteedTerms++; 1481 buildCounterDealTermsRubiconNonGuaranteedTerms++;
1419 if (buildCounterDealTermsRubiconNonGuaranteedTerms < 3) { 1482 if (buildCounterDealTermsRubiconNonGuaranteedTerms < 3) {
1420 o.priorityPrice = buildPrice(); 1483 o.priorityPrice = buildPrice();
1421 o.standardPrice = buildPrice(); 1484 o.standardPrice = buildPrice();
1422 } 1485 }
1423 buildCounterDealTermsRubiconNonGuaranteedTerms--; 1486 buildCounterDealTermsRubiconNonGuaranteedTerms--;
1424 return o; 1487 return o;
1425 } 1488 }
1426 1489
1427 checkDealTermsRubiconNonGuaranteedTerms(api.DealTermsRubiconNonGuaranteedTerms o ) { 1490 checkDealTermsRubiconNonGuaranteedTerms(api.DealTermsRubiconNonGuaranteedTerms o ) {
1428 buildCounterDealTermsRubiconNonGuaranteedTerms++; 1491 buildCounterDealTermsRubiconNonGuaranteedTerms++;
1429 if (buildCounterDealTermsRubiconNonGuaranteedTerms < 3) { 1492 if (buildCounterDealTermsRubiconNonGuaranteedTerms < 3) {
1430 checkPrice(o.priorityPrice); 1493 checkPrice(o.priorityPrice);
1431 checkPrice(o.standardPrice); 1494 checkPrice(o.standardPrice);
1432 } 1495 }
1433 buildCounterDealTermsRubiconNonGuaranteedTerms--; 1496 buildCounterDealTermsRubiconNonGuaranteedTerms--;
1434 } 1497 }
1435 1498
1436 buildUnnamed2318() { 1499 buildUnnamed2078() {
1437 var o = new core.List<core.String>(); 1500 var o = new core.List<core.String>();
1438 o.add("foo"); 1501 o.add("foo");
1439 o.add("foo"); 1502 o.add("foo");
1440 return o; 1503 return o;
1441 } 1504 }
1442 1505
1443 checkUnnamed2318(core.List<core.String> o) { 1506 checkUnnamed2078(core.List<core.String> o) {
1444 unittest.expect(o, unittest.hasLength(2)); 1507 unittest.expect(o, unittest.hasLength(2));
1445 unittest.expect(o[0], unittest.equals('foo')); 1508 unittest.expect(o[0], unittest.equals('foo'));
1446 unittest.expect(o[1], unittest.equals('foo')); 1509 unittest.expect(o[1], unittest.equals('foo'));
1447 } 1510 }
1448 1511
1449 core.int buildCounterDeleteOrderDealsRequest = 0; 1512 core.int buildCounterDeleteOrderDealsRequest = 0;
1450 buildDeleteOrderDealsRequest() { 1513 buildDeleteOrderDealsRequest() {
1451 var o = new api.DeleteOrderDealsRequest(); 1514 var o = new api.DeleteOrderDealsRequest();
1452 buildCounterDeleteOrderDealsRequest++; 1515 buildCounterDeleteOrderDealsRequest++;
1453 if (buildCounterDeleteOrderDealsRequest < 3) { 1516 if (buildCounterDeleteOrderDealsRequest < 3) {
1454 o.dealIds = buildUnnamed2318(); 1517 o.dealIds = buildUnnamed2078();
1455 o.proposalRevisionNumber = "foo"; 1518 o.proposalRevisionNumber = "foo";
1456 o.updateAction = "foo"; 1519 o.updateAction = "foo";
1457 } 1520 }
1458 buildCounterDeleteOrderDealsRequest--; 1521 buildCounterDeleteOrderDealsRequest--;
1459 return o; 1522 return o;
1460 } 1523 }
1461 1524
1462 checkDeleteOrderDealsRequest(api.DeleteOrderDealsRequest o) { 1525 checkDeleteOrderDealsRequest(api.DeleteOrderDealsRequest o) {
1463 buildCounterDeleteOrderDealsRequest++; 1526 buildCounterDeleteOrderDealsRequest++;
1464 if (buildCounterDeleteOrderDealsRequest < 3) { 1527 if (buildCounterDeleteOrderDealsRequest < 3) {
1465 checkUnnamed2318(o.dealIds); 1528 checkUnnamed2078(o.dealIds);
1466 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); 1529 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo'));
1467 unittest.expect(o.updateAction, unittest.equals('foo')); 1530 unittest.expect(o.updateAction, unittest.equals('foo'));
1468 } 1531 }
1469 buildCounterDeleteOrderDealsRequest--; 1532 buildCounterDeleteOrderDealsRequest--;
1470 } 1533 }
1471 1534
1472 buildUnnamed2319() { 1535 buildUnnamed2079() {
1473 var o = new core.List<api.MarketplaceDeal>(); 1536 var o = new core.List<api.MarketplaceDeal>();
1474 o.add(buildMarketplaceDeal()); 1537 o.add(buildMarketplaceDeal());
1475 o.add(buildMarketplaceDeal()); 1538 o.add(buildMarketplaceDeal());
1476 return o; 1539 return o;
1477 } 1540 }
1478 1541
1479 checkUnnamed2319(core.List<api.MarketplaceDeal> o) { 1542 checkUnnamed2079(core.List<api.MarketplaceDeal> o) {
1480 unittest.expect(o, unittest.hasLength(2)); 1543 unittest.expect(o, unittest.hasLength(2));
1481 checkMarketplaceDeal(o[0]); 1544 checkMarketplaceDeal(o[0]);
1482 checkMarketplaceDeal(o[1]); 1545 checkMarketplaceDeal(o[1]);
1483 } 1546 }
1484 1547
1485 core.int buildCounterDeleteOrderDealsResponse = 0; 1548 core.int buildCounterDeleteOrderDealsResponse = 0;
1486 buildDeleteOrderDealsResponse() { 1549 buildDeleteOrderDealsResponse() {
1487 var o = new api.DeleteOrderDealsResponse(); 1550 var o = new api.DeleteOrderDealsResponse();
1488 buildCounterDeleteOrderDealsResponse++; 1551 buildCounterDeleteOrderDealsResponse++;
1489 if (buildCounterDeleteOrderDealsResponse < 3) { 1552 if (buildCounterDeleteOrderDealsResponse < 3) {
1490 o.deals = buildUnnamed2319(); 1553 o.deals = buildUnnamed2079();
1491 o.proposalRevisionNumber = "foo"; 1554 o.proposalRevisionNumber = "foo";
1492 } 1555 }
1493 buildCounterDeleteOrderDealsResponse--; 1556 buildCounterDeleteOrderDealsResponse--;
1494 return o; 1557 return o;
1495 } 1558 }
1496 1559
1497 checkDeleteOrderDealsResponse(api.DeleteOrderDealsResponse o) { 1560 checkDeleteOrderDealsResponse(api.DeleteOrderDealsResponse o) {
1498 buildCounterDeleteOrderDealsResponse++; 1561 buildCounterDeleteOrderDealsResponse++;
1499 if (buildCounterDeleteOrderDealsResponse < 3) { 1562 if (buildCounterDeleteOrderDealsResponse < 3) {
1500 checkUnnamed2319(o.deals); 1563 checkUnnamed2079(o.deals);
1501 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); 1564 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo'));
1502 } 1565 }
1503 buildCounterDeleteOrderDealsResponse--; 1566 buildCounterDeleteOrderDealsResponse--;
1504 } 1567 }
1505 1568
1506 buildUnnamed2320() { 1569 buildUnnamed2080() {
1507 var o = new core.List<api.DeliveryControlFrequencyCap>(); 1570 var o = new core.List<api.DeliveryControlFrequencyCap>();
1508 o.add(buildDeliveryControlFrequencyCap()); 1571 o.add(buildDeliveryControlFrequencyCap());
1509 o.add(buildDeliveryControlFrequencyCap()); 1572 o.add(buildDeliveryControlFrequencyCap());
1510 return o; 1573 return o;
1511 } 1574 }
1512 1575
1513 checkUnnamed2320(core.List<api.DeliveryControlFrequencyCap> o) { 1576 checkUnnamed2080(core.List<api.DeliveryControlFrequencyCap> o) {
1514 unittest.expect(o, unittest.hasLength(2)); 1577 unittest.expect(o, unittest.hasLength(2));
1515 checkDeliveryControlFrequencyCap(o[0]); 1578 checkDeliveryControlFrequencyCap(o[0]);
1516 checkDeliveryControlFrequencyCap(o[1]); 1579 checkDeliveryControlFrequencyCap(o[1]);
1517 } 1580 }
1518 1581
1519 core.int buildCounterDeliveryControl = 0; 1582 core.int buildCounterDeliveryControl = 0;
1520 buildDeliveryControl() { 1583 buildDeliveryControl() {
1521 var o = new api.DeliveryControl(); 1584 var o = new api.DeliveryControl();
1522 buildCounterDeliveryControl++; 1585 buildCounterDeliveryControl++;
1523 if (buildCounterDeliveryControl < 3) { 1586 if (buildCounterDeliveryControl < 3) {
1524 o.creativeBlockingLevel = "foo"; 1587 o.creativeBlockingLevel = "foo";
1525 o.deliveryRateType = "foo"; 1588 o.deliveryRateType = "foo";
1526 o.frequencyCaps = buildUnnamed2320(); 1589 o.frequencyCaps = buildUnnamed2080();
1527 } 1590 }
1528 buildCounterDeliveryControl--; 1591 buildCounterDeliveryControl--;
1529 return o; 1592 return o;
1530 } 1593 }
1531 1594
1532 checkDeliveryControl(api.DeliveryControl o) { 1595 checkDeliveryControl(api.DeliveryControl o) {
1533 buildCounterDeliveryControl++; 1596 buildCounterDeliveryControl++;
1534 if (buildCounterDeliveryControl < 3) { 1597 if (buildCounterDeliveryControl < 3) {
1535 unittest.expect(o.creativeBlockingLevel, unittest.equals('foo')); 1598 unittest.expect(o.creativeBlockingLevel, unittest.equals('foo'));
1536 unittest.expect(o.deliveryRateType, unittest.equals('foo')); 1599 unittest.expect(o.deliveryRateType, unittest.equals('foo'));
1537 checkUnnamed2320(o.frequencyCaps); 1600 checkUnnamed2080(o.frequencyCaps);
1538 } 1601 }
1539 buildCounterDeliveryControl--; 1602 buildCounterDeliveryControl--;
1540 } 1603 }
1541 1604
1542 core.int buildCounterDeliveryControlFrequencyCap = 0; 1605 core.int buildCounterDeliveryControlFrequencyCap = 0;
1543 buildDeliveryControlFrequencyCap() { 1606 buildDeliveryControlFrequencyCap() {
1544 var o = new api.DeliveryControlFrequencyCap(); 1607 var o = new api.DeliveryControlFrequencyCap();
1545 buildCounterDeliveryControlFrequencyCap++; 1608 buildCounterDeliveryControlFrequencyCap++;
1546 if (buildCounterDeliveryControlFrequencyCap < 3) { 1609 if (buildCounterDeliveryControlFrequencyCap < 3) {
1547 o.maxImpressions = 42; 1610 o.maxImpressions = 42;
1548 o.numTimeUnits = 42; 1611 o.numTimeUnits = 42;
1549 o.timeUnitType = "foo"; 1612 o.timeUnitType = "foo";
1550 } 1613 }
1551 buildCounterDeliveryControlFrequencyCap--; 1614 buildCounterDeliveryControlFrequencyCap--;
1552 return o; 1615 return o;
1553 } 1616 }
1554 1617
1555 checkDeliveryControlFrequencyCap(api.DeliveryControlFrequencyCap o) { 1618 checkDeliveryControlFrequencyCap(api.DeliveryControlFrequencyCap o) {
1556 buildCounterDeliveryControlFrequencyCap++; 1619 buildCounterDeliveryControlFrequencyCap++;
1557 if (buildCounterDeliveryControlFrequencyCap < 3) { 1620 if (buildCounterDeliveryControlFrequencyCap < 3) {
1558 unittest.expect(o.maxImpressions, unittest.equals(42)); 1621 unittest.expect(o.maxImpressions, unittest.equals(42));
1559 unittest.expect(o.numTimeUnits, unittest.equals(42)); 1622 unittest.expect(o.numTimeUnits, unittest.equals(42));
1560 unittest.expect(o.timeUnitType, unittest.equals('foo')); 1623 unittest.expect(o.timeUnitType, unittest.equals('foo'));
1561 } 1624 }
1562 buildCounterDeliveryControlFrequencyCap--; 1625 buildCounterDeliveryControlFrequencyCap--;
1563 } 1626 }
1564 1627
1565 buildUnnamed2321() { 1628 buildUnnamed2081() {
1566 var o = new core.List<api.DimensionDimensionValue>(); 1629 var o = new core.List<api.DimensionDimensionValue>();
1567 o.add(buildDimensionDimensionValue()); 1630 o.add(buildDimensionDimensionValue());
1568 o.add(buildDimensionDimensionValue()); 1631 o.add(buildDimensionDimensionValue());
1569 return o; 1632 return o;
1570 } 1633 }
1571 1634
1572 checkUnnamed2321(core.List<api.DimensionDimensionValue> o) { 1635 checkUnnamed2081(core.List<api.DimensionDimensionValue> o) {
1573 unittest.expect(o, unittest.hasLength(2)); 1636 unittest.expect(o, unittest.hasLength(2));
1574 checkDimensionDimensionValue(o[0]); 1637 checkDimensionDimensionValue(o[0]);
1575 checkDimensionDimensionValue(o[1]); 1638 checkDimensionDimensionValue(o[1]);
1576 } 1639 }
1577 1640
1578 core.int buildCounterDimension = 0; 1641 core.int buildCounterDimension = 0;
1579 buildDimension() { 1642 buildDimension() {
1580 var o = new api.Dimension(); 1643 var o = new api.Dimension();
1581 buildCounterDimension++; 1644 buildCounterDimension++;
1582 if (buildCounterDimension < 3) { 1645 if (buildCounterDimension < 3) {
1583 o.dimensionType = "foo"; 1646 o.dimensionType = "foo";
1584 o.dimensionValues = buildUnnamed2321(); 1647 o.dimensionValues = buildUnnamed2081();
1585 } 1648 }
1586 buildCounterDimension--; 1649 buildCounterDimension--;
1587 return o; 1650 return o;
1588 } 1651 }
1589 1652
1590 checkDimension(api.Dimension o) { 1653 checkDimension(api.Dimension o) {
1591 buildCounterDimension++; 1654 buildCounterDimension++;
1592 if (buildCounterDimension < 3) { 1655 if (buildCounterDimension < 3) {
1593 unittest.expect(o.dimensionType, unittest.equals('foo')); 1656 unittest.expect(o.dimensionType, unittest.equals('foo'));
1594 checkUnnamed2321(o.dimensionValues); 1657 checkUnnamed2081(o.dimensionValues);
1595 } 1658 }
1596 buildCounterDimension--; 1659 buildCounterDimension--;
1597 } 1660 }
1598 1661
1599 core.int buildCounterDimensionDimensionValue = 0; 1662 core.int buildCounterDimensionDimensionValue = 0;
1600 buildDimensionDimensionValue() { 1663 buildDimensionDimensionValue() {
1601 var o = new api.DimensionDimensionValue(); 1664 var o = new api.DimensionDimensionValue();
1602 buildCounterDimensionDimensionValue++; 1665 buildCounterDimensionDimensionValue++;
1603 if (buildCounterDimensionDimensionValue < 3) { 1666 if (buildCounterDimensionDimensionValue < 3) {
1604 o.id = 42; 1667 o.id = 42;
1605 o.name = "foo"; 1668 o.name = "foo";
1606 o.percentage = 42; 1669 o.percentage = 42;
1607 } 1670 }
1608 buildCounterDimensionDimensionValue--; 1671 buildCounterDimensionDimensionValue--;
1609 return o; 1672 return o;
1610 } 1673 }
1611 1674
1612 checkDimensionDimensionValue(api.DimensionDimensionValue o) { 1675 checkDimensionDimensionValue(api.DimensionDimensionValue o) {
1613 buildCounterDimensionDimensionValue++; 1676 buildCounterDimensionDimensionValue++;
1614 if (buildCounterDimensionDimensionValue < 3) { 1677 if (buildCounterDimensionDimensionValue < 3) {
1615 unittest.expect(o.id, unittest.equals(42)); 1678 unittest.expect(o.id, unittest.equals(42));
1616 unittest.expect(o.name, unittest.equals('foo')); 1679 unittest.expect(o.name, unittest.equals('foo'));
1617 unittest.expect(o.percentage, unittest.equals(42)); 1680 unittest.expect(o.percentage, unittest.equals(42));
1618 } 1681 }
1619 buildCounterDimensionDimensionValue--; 1682 buildCounterDimensionDimensionValue--;
1620 } 1683 }
1621 1684
1622 buildUnnamed2322() { 1685 buildUnnamed2082() {
1623 var o = new core.List<api.MarketplaceDeal>(); 1686 var o = new core.List<api.MarketplaceDeal>();
1624 o.add(buildMarketplaceDeal()); 1687 o.add(buildMarketplaceDeal());
1625 o.add(buildMarketplaceDeal()); 1688 o.add(buildMarketplaceDeal());
1626 return o; 1689 return o;
1627 } 1690 }
1628 1691
1629 checkUnnamed2322(core.List<api.MarketplaceDeal> o) { 1692 checkUnnamed2082(core.List<api.MarketplaceDeal> o) {
1630 unittest.expect(o, unittest.hasLength(2)); 1693 unittest.expect(o, unittest.hasLength(2));
1631 checkMarketplaceDeal(o[0]); 1694 checkMarketplaceDeal(o[0]);
1632 checkMarketplaceDeal(o[1]); 1695 checkMarketplaceDeal(o[1]);
1633 } 1696 }
1634 1697
1635 core.int buildCounterEditAllOrderDealsRequest = 0; 1698 core.int buildCounterEditAllOrderDealsRequest = 0;
1636 buildEditAllOrderDealsRequest() { 1699 buildEditAllOrderDealsRequest() {
1637 var o = new api.EditAllOrderDealsRequest(); 1700 var o = new api.EditAllOrderDealsRequest();
1638 buildCounterEditAllOrderDealsRequest++; 1701 buildCounterEditAllOrderDealsRequest++;
1639 if (buildCounterEditAllOrderDealsRequest < 3) { 1702 if (buildCounterEditAllOrderDealsRequest < 3) {
1640 o.deals = buildUnnamed2322(); 1703 o.deals = buildUnnamed2082();
1641 o.proposal = buildProposal(); 1704 o.proposal = buildProposal();
1642 o.proposalRevisionNumber = "foo"; 1705 o.proposalRevisionNumber = "foo";
1643 o.updateAction = "foo"; 1706 o.updateAction = "foo";
1644 } 1707 }
1645 buildCounterEditAllOrderDealsRequest--; 1708 buildCounterEditAllOrderDealsRequest--;
1646 return o; 1709 return o;
1647 } 1710 }
1648 1711
1649 checkEditAllOrderDealsRequest(api.EditAllOrderDealsRequest o) { 1712 checkEditAllOrderDealsRequest(api.EditAllOrderDealsRequest o) {
1650 buildCounterEditAllOrderDealsRequest++; 1713 buildCounterEditAllOrderDealsRequest++;
1651 if (buildCounterEditAllOrderDealsRequest < 3) { 1714 if (buildCounterEditAllOrderDealsRequest < 3) {
1652 checkUnnamed2322(o.deals); 1715 checkUnnamed2082(o.deals);
1653 checkProposal(o.proposal); 1716 checkProposal(o.proposal);
1654 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); 1717 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo'));
1655 unittest.expect(o.updateAction, unittest.equals('foo')); 1718 unittest.expect(o.updateAction, unittest.equals('foo'));
1656 } 1719 }
1657 buildCounterEditAllOrderDealsRequest--; 1720 buildCounterEditAllOrderDealsRequest--;
1658 } 1721 }
1659 1722
1660 buildUnnamed2323() { 1723 buildUnnamed2083() {
1661 var o = new core.List<api.MarketplaceDeal>(); 1724 var o = new core.List<api.MarketplaceDeal>();
1662 o.add(buildMarketplaceDeal()); 1725 o.add(buildMarketplaceDeal());
1663 o.add(buildMarketplaceDeal()); 1726 o.add(buildMarketplaceDeal());
1664 return o; 1727 return o;
1665 } 1728 }
1666 1729
1667 checkUnnamed2323(core.List<api.MarketplaceDeal> o) { 1730 checkUnnamed2083(core.List<api.MarketplaceDeal> o) {
1668 unittest.expect(o, unittest.hasLength(2)); 1731 unittest.expect(o, unittest.hasLength(2));
1669 checkMarketplaceDeal(o[0]); 1732 checkMarketplaceDeal(o[0]);
1670 checkMarketplaceDeal(o[1]); 1733 checkMarketplaceDeal(o[1]);
1671 } 1734 }
1672 1735
1673 core.int buildCounterEditAllOrderDealsResponse = 0; 1736 core.int buildCounterEditAllOrderDealsResponse = 0;
1674 buildEditAllOrderDealsResponse() { 1737 buildEditAllOrderDealsResponse() {
1675 var o = new api.EditAllOrderDealsResponse(); 1738 var o = new api.EditAllOrderDealsResponse();
1676 buildCounterEditAllOrderDealsResponse++; 1739 buildCounterEditAllOrderDealsResponse++;
1677 if (buildCounterEditAllOrderDealsResponse < 3) { 1740 if (buildCounterEditAllOrderDealsResponse < 3) {
1678 o.deals = buildUnnamed2323(); 1741 o.deals = buildUnnamed2083();
1679 o.orderRevisionNumber = "foo"; 1742 o.orderRevisionNumber = "foo";
1680 } 1743 }
1681 buildCounterEditAllOrderDealsResponse--; 1744 buildCounterEditAllOrderDealsResponse--;
1682 return o; 1745 return o;
1683 } 1746 }
1684 1747
1685 checkEditAllOrderDealsResponse(api.EditAllOrderDealsResponse o) { 1748 checkEditAllOrderDealsResponse(api.EditAllOrderDealsResponse o) {
1686 buildCounterEditAllOrderDealsResponse++; 1749 buildCounterEditAllOrderDealsResponse++;
1687 if (buildCounterEditAllOrderDealsResponse < 3) { 1750 if (buildCounterEditAllOrderDealsResponse < 3) {
1688 checkUnnamed2323(o.deals); 1751 checkUnnamed2083(o.deals);
1689 unittest.expect(o.orderRevisionNumber, unittest.equals('foo')); 1752 unittest.expect(o.orderRevisionNumber, unittest.equals('foo'));
1690 } 1753 }
1691 buildCounterEditAllOrderDealsResponse--; 1754 buildCounterEditAllOrderDealsResponse--;
1692 } 1755 }
1693 1756
1694 buildUnnamed2324() { 1757 buildUnnamed2084() {
1695 var o = new core.List<api.Product>(); 1758 var o = new core.List<api.Product>();
1696 o.add(buildProduct()); 1759 o.add(buildProduct());
1697 o.add(buildProduct()); 1760 o.add(buildProduct());
1698 return o; 1761 return o;
1699 } 1762 }
1700 1763
1701 checkUnnamed2324(core.List<api.Product> o) { 1764 checkUnnamed2084(core.List<api.Product> o) {
1702 unittest.expect(o, unittest.hasLength(2)); 1765 unittest.expect(o, unittest.hasLength(2));
1703 checkProduct(o[0]); 1766 checkProduct(o[0]);
1704 checkProduct(o[1]); 1767 checkProduct(o[1]);
1705 } 1768 }
1706 1769
1707 core.int buildCounterGetOffersResponse = 0; 1770 core.int buildCounterGetOffersResponse = 0;
1708 buildGetOffersResponse() { 1771 buildGetOffersResponse() {
1709 var o = new api.GetOffersResponse(); 1772 var o = new api.GetOffersResponse();
1710 buildCounterGetOffersResponse++; 1773 buildCounterGetOffersResponse++;
1711 if (buildCounterGetOffersResponse < 3) { 1774 if (buildCounterGetOffersResponse < 3) {
1712 o.products = buildUnnamed2324(); 1775 o.products = buildUnnamed2084();
1713 } 1776 }
1714 buildCounterGetOffersResponse--; 1777 buildCounterGetOffersResponse--;
1715 return o; 1778 return o;
1716 } 1779 }
1717 1780
1718 checkGetOffersResponse(api.GetOffersResponse o) { 1781 checkGetOffersResponse(api.GetOffersResponse o) {
1719 buildCounterGetOffersResponse++; 1782 buildCounterGetOffersResponse++;
1720 if (buildCounterGetOffersResponse < 3) { 1783 if (buildCounterGetOffersResponse < 3) {
1721 checkUnnamed2324(o.products); 1784 checkUnnamed2084(o.products);
1722 } 1785 }
1723 buildCounterGetOffersResponse--; 1786 buildCounterGetOffersResponse--;
1724 } 1787 }
1725 1788
1726 buildUnnamed2325() { 1789 buildUnnamed2085() {
1727 var o = new core.List<api.MarketplaceDeal>(); 1790 var o = new core.List<api.MarketplaceDeal>();
1728 o.add(buildMarketplaceDeal()); 1791 o.add(buildMarketplaceDeal());
1729 o.add(buildMarketplaceDeal()); 1792 o.add(buildMarketplaceDeal());
1730 return o; 1793 return o;
1731 } 1794 }
1732 1795
1733 checkUnnamed2325(core.List<api.MarketplaceDeal> o) { 1796 checkUnnamed2085(core.List<api.MarketplaceDeal> o) {
1734 unittest.expect(o, unittest.hasLength(2)); 1797 unittest.expect(o, unittest.hasLength(2));
1735 checkMarketplaceDeal(o[0]); 1798 checkMarketplaceDeal(o[0]);
1736 checkMarketplaceDeal(o[1]); 1799 checkMarketplaceDeal(o[1]);
1737 } 1800 }
1738 1801
1739 core.int buildCounterGetOrderDealsResponse = 0; 1802 core.int buildCounterGetOrderDealsResponse = 0;
1740 buildGetOrderDealsResponse() { 1803 buildGetOrderDealsResponse() {
1741 var o = new api.GetOrderDealsResponse(); 1804 var o = new api.GetOrderDealsResponse();
1742 buildCounterGetOrderDealsResponse++; 1805 buildCounterGetOrderDealsResponse++;
1743 if (buildCounterGetOrderDealsResponse < 3) { 1806 if (buildCounterGetOrderDealsResponse < 3) {
1744 o.deals = buildUnnamed2325(); 1807 o.deals = buildUnnamed2085();
1745 } 1808 }
1746 buildCounterGetOrderDealsResponse--; 1809 buildCounterGetOrderDealsResponse--;
1747 return o; 1810 return o;
1748 } 1811 }
1749 1812
1750 checkGetOrderDealsResponse(api.GetOrderDealsResponse o) { 1813 checkGetOrderDealsResponse(api.GetOrderDealsResponse o) {
1751 buildCounterGetOrderDealsResponse++; 1814 buildCounterGetOrderDealsResponse++;
1752 if (buildCounterGetOrderDealsResponse < 3) { 1815 if (buildCounterGetOrderDealsResponse < 3) {
1753 checkUnnamed2325(o.deals); 1816 checkUnnamed2085(o.deals);
1754 } 1817 }
1755 buildCounterGetOrderDealsResponse--; 1818 buildCounterGetOrderDealsResponse--;
1756 } 1819 }
1757 1820
1758 buildUnnamed2326() { 1821 buildUnnamed2086() {
1759 var o = new core.List<api.MarketplaceNote>(); 1822 var o = new core.List<api.MarketplaceNote>();
1760 o.add(buildMarketplaceNote()); 1823 o.add(buildMarketplaceNote());
1761 o.add(buildMarketplaceNote()); 1824 o.add(buildMarketplaceNote());
1762 return o; 1825 return o;
1763 } 1826 }
1764 1827
1765 checkUnnamed2326(core.List<api.MarketplaceNote> o) { 1828 checkUnnamed2086(core.List<api.MarketplaceNote> o) {
1766 unittest.expect(o, unittest.hasLength(2)); 1829 unittest.expect(o, unittest.hasLength(2));
1767 checkMarketplaceNote(o[0]); 1830 checkMarketplaceNote(o[0]);
1768 checkMarketplaceNote(o[1]); 1831 checkMarketplaceNote(o[1]);
1769 } 1832 }
1770 1833
1771 core.int buildCounterGetOrderNotesResponse = 0; 1834 core.int buildCounterGetOrderNotesResponse = 0;
1772 buildGetOrderNotesResponse() { 1835 buildGetOrderNotesResponse() {
1773 var o = new api.GetOrderNotesResponse(); 1836 var o = new api.GetOrderNotesResponse();
1774 buildCounterGetOrderNotesResponse++; 1837 buildCounterGetOrderNotesResponse++;
1775 if (buildCounterGetOrderNotesResponse < 3) { 1838 if (buildCounterGetOrderNotesResponse < 3) {
1776 o.notes = buildUnnamed2326(); 1839 o.notes = buildUnnamed2086();
1777 } 1840 }
1778 buildCounterGetOrderNotesResponse--; 1841 buildCounterGetOrderNotesResponse--;
1779 return o; 1842 return o;
1780 } 1843 }
1781 1844
1782 checkGetOrderNotesResponse(api.GetOrderNotesResponse o) { 1845 checkGetOrderNotesResponse(api.GetOrderNotesResponse o) {
1783 buildCounterGetOrderNotesResponse++; 1846 buildCounterGetOrderNotesResponse++;
1784 if (buildCounterGetOrderNotesResponse < 3) { 1847 if (buildCounterGetOrderNotesResponse < 3) {
1785 checkUnnamed2326(o.notes); 1848 checkUnnamed2086(o.notes);
1786 } 1849 }
1787 buildCounterGetOrderNotesResponse--; 1850 buildCounterGetOrderNotesResponse--;
1788 } 1851 }
1789 1852
1790 buildUnnamed2327() { 1853 buildUnnamed2087() {
1791 var o = new core.List<api.Proposal>(); 1854 var o = new core.List<api.Proposal>();
1792 o.add(buildProposal()); 1855 o.add(buildProposal());
1793 o.add(buildProposal()); 1856 o.add(buildProposal());
1794 return o; 1857 return o;
1795 } 1858 }
1796 1859
1797 checkUnnamed2327(core.List<api.Proposal> o) { 1860 checkUnnamed2087(core.List<api.Proposal> o) {
1798 unittest.expect(o, unittest.hasLength(2)); 1861 unittest.expect(o, unittest.hasLength(2));
1799 checkProposal(o[0]); 1862 checkProposal(o[0]);
1800 checkProposal(o[1]); 1863 checkProposal(o[1]);
1801 } 1864 }
1802 1865
1803 core.int buildCounterGetOrdersResponse = 0; 1866 core.int buildCounterGetOrdersResponse = 0;
1804 buildGetOrdersResponse() { 1867 buildGetOrdersResponse() {
1805 var o = new api.GetOrdersResponse(); 1868 var o = new api.GetOrdersResponse();
1806 buildCounterGetOrdersResponse++; 1869 buildCounterGetOrdersResponse++;
1807 if (buildCounterGetOrdersResponse < 3) { 1870 if (buildCounterGetOrdersResponse < 3) {
1808 o.proposals = buildUnnamed2327(); 1871 o.proposals = buildUnnamed2087();
1809 } 1872 }
1810 buildCounterGetOrdersResponse--; 1873 buildCounterGetOrdersResponse--;
1811 return o; 1874 return o;
1812 } 1875 }
1813 1876
1814 checkGetOrdersResponse(api.GetOrdersResponse o) { 1877 checkGetOrdersResponse(api.GetOrdersResponse o) {
1815 buildCounterGetOrdersResponse++; 1878 buildCounterGetOrdersResponse++;
1816 if (buildCounterGetOrdersResponse < 3) { 1879 if (buildCounterGetOrdersResponse < 3) {
1817 checkUnnamed2327(o.proposals); 1880 checkUnnamed2087(o.proposals);
1818 } 1881 }
1819 buildCounterGetOrdersResponse--; 1882 buildCounterGetOrdersResponse--;
1820 } 1883 }
1821 1884
1822 buildUnnamed2328() { 1885 buildUnnamed2088() {
1823 var o = new core.List<api.PublisherProfileApiProto>(); 1886 var o = new core.List<api.PublisherProfileApiProto>();
1824 o.add(buildPublisherProfileApiProto()); 1887 o.add(buildPublisherProfileApiProto());
1825 o.add(buildPublisherProfileApiProto()); 1888 o.add(buildPublisherProfileApiProto());
1826 return o; 1889 return o;
1827 } 1890 }
1828 1891
1829 checkUnnamed2328(core.List<api.PublisherProfileApiProto> o) { 1892 checkUnnamed2088(core.List<api.PublisherProfileApiProto> o) {
1830 unittest.expect(o, unittest.hasLength(2)); 1893 unittest.expect(o, unittest.hasLength(2));
1831 checkPublisherProfileApiProto(o[0]); 1894 checkPublisherProfileApiProto(o[0]);
1832 checkPublisherProfileApiProto(o[1]); 1895 checkPublisherProfileApiProto(o[1]);
1833 } 1896 }
1834 1897
1835 core.int buildCounterGetPublisherProfilesByAccountIdResponse = 0; 1898 core.int buildCounterGetPublisherProfilesByAccountIdResponse = 0;
1836 buildGetPublisherProfilesByAccountIdResponse() { 1899 buildGetPublisherProfilesByAccountIdResponse() {
1837 var o = new api.GetPublisherProfilesByAccountIdResponse(); 1900 var o = new api.GetPublisherProfilesByAccountIdResponse();
1838 buildCounterGetPublisherProfilesByAccountIdResponse++; 1901 buildCounterGetPublisherProfilesByAccountIdResponse++;
1839 if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) { 1902 if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) {
1840 o.profiles = buildUnnamed2328(); 1903 o.profiles = buildUnnamed2088();
1841 } 1904 }
1842 buildCounterGetPublisherProfilesByAccountIdResponse--; 1905 buildCounterGetPublisherProfilesByAccountIdResponse--;
1843 return o; 1906 return o;
1844 } 1907 }
1845 1908
1846 checkGetPublisherProfilesByAccountIdResponse(api.GetPublisherProfilesByAccountId Response o) { 1909 checkGetPublisherProfilesByAccountIdResponse(api.GetPublisherProfilesByAccountId Response o) {
1847 buildCounterGetPublisherProfilesByAccountIdResponse++; 1910 buildCounterGetPublisherProfilesByAccountIdResponse++;
1848 if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) { 1911 if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) {
1849 checkUnnamed2328(o.profiles); 1912 checkUnnamed2088(o.profiles);
1850 } 1913 }
1851 buildCounterGetPublisherProfilesByAccountIdResponse--; 1914 buildCounterGetPublisherProfilesByAccountIdResponse--;
1852 } 1915 }
1853 1916
1854 buildUnnamed2329() { 1917 buildUnnamed2089() {
1855 var o = new core.List<api.ContactInformation>(); 1918 var o = new core.List<api.ContactInformation>();
1856 o.add(buildContactInformation()); 1919 o.add(buildContactInformation());
1857 o.add(buildContactInformation()); 1920 o.add(buildContactInformation());
1858 return o; 1921 return o;
1859 } 1922 }
1860 1923
1861 checkUnnamed2329(core.List<api.ContactInformation> o) { 1924 checkUnnamed2089(core.List<api.ContactInformation> o) {
1862 unittest.expect(o, unittest.hasLength(2)); 1925 unittest.expect(o, unittest.hasLength(2));
1863 checkContactInformation(o[0]); 1926 checkContactInformation(o[0]);
1864 checkContactInformation(o[1]); 1927 checkContactInformation(o[1]);
1865 } 1928 }
1866 1929
1867 buildUnnamed2330() { 1930 buildUnnamed2090() {
1868 var o = new core.List<api.SharedTargeting>(); 1931 var o = new core.List<api.SharedTargeting>();
1869 o.add(buildSharedTargeting()); 1932 o.add(buildSharedTargeting());
1870 o.add(buildSharedTargeting()); 1933 o.add(buildSharedTargeting());
1871 return o; 1934 return o;
1872 } 1935 }
1873 1936
1874 checkUnnamed2330(core.List<api.SharedTargeting> o) { 1937 checkUnnamed2090(core.List<api.SharedTargeting> o) {
1875 unittest.expect(o, unittest.hasLength(2)); 1938 unittest.expect(o, unittest.hasLength(2));
1876 checkSharedTargeting(o[0]); 1939 checkSharedTargeting(o[0]);
1877 checkSharedTargeting(o[1]); 1940 checkSharedTargeting(o[1]);
1878 } 1941 }
1879 1942
1880 core.int buildCounterMarketplaceDeal = 0; 1943 core.int buildCounterMarketplaceDeal = 0;
1881 buildMarketplaceDeal() { 1944 buildMarketplaceDeal() {
1882 var o = new api.MarketplaceDeal(); 1945 var o = new api.MarketplaceDeal();
1883 buildCounterMarketplaceDeal++; 1946 buildCounterMarketplaceDeal++;
1884 if (buildCounterMarketplaceDeal < 3) { 1947 if (buildCounterMarketplaceDeal < 3) {
1885 o.buyerPrivateData = buildPrivateData(); 1948 o.buyerPrivateData = buildPrivateData();
1886 o.creationTimeMs = "foo"; 1949 o.creationTimeMs = "foo";
1887 o.creativePreApprovalPolicy = "foo"; 1950 o.creativePreApprovalPolicy = "foo";
1888 o.creativeSafeFrameCompatibility = "foo"; 1951 o.creativeSafeFrameCompatibility = "foo";
1889 o.dealId = "foo"; 1952 o.dealId = "foo";
1890 o.dealServingMetadata = buildDealServingMetadata(); 1953 o.dealServingMetadata = buildDealServingMetadata();
1891 o.deliveryControl = buildDeliveryControl(); 1954 o.deliveryControl = buildDeliveryControl();
1892 o.externalDealId = "foo"; 1955 o.externalDealId = "foo";
1893 o.flightEndTimeMs = "foo"; 1956 o.flightEndTimeMs = "foo";
1894 o.flightStartTimeMs = "foo"; 1957 o.flightStartTimeMs = "foo";
1895 o.inventoryDescription = "foo"; 1958 o.inventoryDescription = "foo";
1959 o.isRfpTemplate = true;
1896 o.kind = "foo"; 1960 o.kind = "foo";
1897 o.lastUpdateTimeMs = "foo"; 1961 o.lastUpdateTimeMs = "foo";
1898 o.name = "foo"; 1962 o.name = "foo";
1899 o.productId = "foo"; 1963 o.productId = "foo";
1900 o.productRevisionNumber = "foo"; 1964 o.productRevisionNumber = "foo";
1901 o.programmaticCreativeSource = "foo"; 1965 o.programmaticCreativeSource = "foo";
1902 o.proposalId = "foo"; 1966 o.proposalId = "foo";
1903 o.sellerContacts = buildUnnamed2329(); 1967 o.sellerContacts = buildUnnamed2089();
1904 o.sharedTargetings = buildUnnamed2330(); 1968 o.sharedTargetings = buildUnnamed2090();
1905 o.syndicationProduct = "foo"; 1969 o.syndicationProduct = "foo";
1906 o.terms = buildDealTerms(); 1970 o.terms = buildDealTerms();
1907 o.webPropertyCode = "foo"; 1971 o.webPropertyCode = "foo";
1908 } 1972 }
1909 buildCounterMarketplaceDeal--; 1973 buildCounterMarketplaceDeal--;
1910 return o; 1974 return o;
1911 } 1975 }
1912 1976
1913 checkMarketplaceDeal(api.MarketplaceDeal o) { 1977 checkMarketplaceDeal(api.MarketplaceDeal o) {
1914 buildCounterMarketplaceDeal++; 1978 buildCounterMarketplaceDeal++;
1915 if (buildCounterMarketplaceDeal < 3) { 1979 if (buildCounterMarketplaceDeal < 3) {
1916 checkPrivateData(o.buyerPrivateData); 1980 checkPrivateData(o.buyerPrivateData);
1917 unittest.expect(o.creationTimeMs, unittest.equals('foo')); 1981 unittest.expect(o.creationTimeMs, unittest.equals('foo'));
1918 unittest.expect(o.creativePreApprovalPolicy, unittest.equals('foo')); 1982 unittest.expect(o.creativePreApprovalPolicy, unittest.equals('foo'));
1919 unittest.expect(o.creativeSafeFrameCompatibility, unittest.equals('foo')); 1983 unittest.expect(o.creativeSafeFrameCompatibility, unittest.equals('foo'));
1920 unittest.expect(o.dealId, unittest.equals('foo')); 1984 unittest.expect(o.dealId, unittest.equals('foo'));
1921 checkDealServingMetadata(o.dealServingMetadata); 1985 checkDealServingMetadata(o.dealServingMetadata);
1922 checkDeliveryControl(o.deliveryControl); 1986 checkDeliveryControl(o.deliveryControl);
1923 unittest.expect(o.externalDealId, unittest.equals('foo')); 1987 unittest.expect(o.externalDealId, unittest.equals('foo'));
1924 unittest.expect(o.flightEndTimeMs, unittest.equals('foo')); 1988 unittest.expect(o.flightEndTimeMs, unittest.equals('foo'));
1925 unittest.expect(o.flightStartTimeMs, unittest.equals('foo')); 1989 unittest.expect(o.flightStartTimeMs, unittest.equals('foo'));
1926 unittest.expect(o.inventoryDescription, unittest.equals('foo')); 1990 unittest.expect(o.inventoryDescription, unittest.equals('foo'));
1991 unittest.expect(o.isRfpTemplate, unittest.isTrue);
1927 unittest.expect(o.kind, unittest.equals('foo')); 1992 unittest.expect(o.kind, unittest.equals('foo'));
1928 unittest.expect(o.lastUpdateTimeMs, unittest.equals('foo')); 1993 unittest.expect(o.lastUpdateTimeMs, unittest.equals('foo'));
1929 unittest.expect(o.name, unittest.equals('foo')); 1994 unittest.expect(o.name, unittest.equals('foo'));
1930 unittest.expect(o.productId, unittest.equals('foo')); 1995 unittest.expect(o.productId, unittest.equals('foo'));
1931 unittest.expect(o.productRevisionNumber, unittest.equals('foo')); 1996 unittest.expect(o.productRevisionNumber, unittest.equals('foo'));
1932 unittest.expect(o.programmaticCreativeSource, unittest.equals('foo')); 1997 unittest.expect(o.programmaticCreativeSource, unittest.equals('foo'));
1933 unittest.expect(o.proposalId, unittest.equals('foo')); 1998 unittest.expect(o.proposalId, unittest.equals('foo'));
1934 checkUnnamed2329(o.sellerContacts); 1999 checkUnnamed2089(o.sellerContacts);
1935 checkUnnamed2330(o.sharedTargetings); 2000 checkUnnamed2090(o.sharedTargetings);
1936 unittest.expect(o.syndicationProduct, unittest.equals('foo')); 2001 unittest.expect(o.syndicationProduct, unittest.equals('foo'));
1937 checkDealTerms(o.terms); 2002 checkDealTerms(o.terms);
1938 unittest.expect(o.webPropertyCode, unittest.equals('foo')); 2003 unittest.expect(o.webPropertyCode, unittest.equals('foo'));
1939 } 2004 }
1940 buildCounterMarketplaceDeal--; 2005 buildCounterMarketplaceDeal--;
1941 } 2006 }
1942 2007
1943 core.int buildCounterMarketplaceDealParty = 0; 2008 core.int buildCounterMarketplaceDealParty = 0;
1944 buildMarketplaceDealParty() { 2009 buildMarketplaceDealParty() {
1945 var o = new api.MarketplaceDealParty(); 2010 var o = new api.MarketplaceDealParty();
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
2012 unittest.expect(o.kind, unittest.equals('foo')); 2077 unittest.expect(o.kind, unittest.equals('foo'));
2013 unittest.expect(o.note, unittest.equals('foo')); 2078 unittest.expect(o.note, unittest.equals('foo'));
2014 unittest.expect(o.noteId, unittest.equals('foo')); 2079 unittest.expect(o.noteId, unittest.equals('foo'));
2015 unittest.expect(o.proposalId, unittest.equals('foo')); 2080 unittest.expect(o.proposalId, unittest.equals('foo'));
2016 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); 2081 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo'));
2017 unittest.expect(o.timestampMs, unittest.equals('foo')); 2082 unittest.expect(o.timestampMs, unittest.equals('foo'));
2018 } 2083 }
2019 buildCounterMarketplaceNote--; 2084 buildCounterMarketplaceNote--;
2020 } 2085 }
2021 2086
2022 buildUnnamed2331() { 2087 buildUnnamed2091() {
2023 var o = new core.List<core.Object>(); 2088 var o = new core.List<core.Object>();
2024 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 2089 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
2025 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 2090 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
2026 return o; 2091 return o;
2027 } 2092 }
2028 2093
2029 checkUnnamed2331(core.List<core.Object> o) { 2094 checkUnnamed2091(core.List<core.Object> o) {
2030 unittest.expect(o, unittest.hasLength(2)); 2095 unittest.expect(o, unittest.hasLength(2));
2031 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')); 2096 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'));
2032 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')); 2097 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'));
2033 } 2098 }
2034 2099
2035 buildUnnamed2332() { 2100 buildUnnamed2092() {
2036 var o = new core.List<core.Object>(); 2101 var o = new core.List<core.Object>();
2037 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 2102 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
2038 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 2103 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
2039 return o; 2104 return o;
2040 } 2105 }
2041 2106
2042 checkUnnamed2332(core.List<core.Object> o) { 2107 checkUnnamed2092(core.List<core.Object> o) {
2043 unittest.expect(o, unittest.hasLength(2)); 2108 unittest.expect(o, unittest.hasLength(2));
2044 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')); 2109 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'));
2045 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')); 2110 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'));
2046 } 2111 }
2047 2112
2048 buildUnnamed2333() { 2113 buildUnnamed2093() {
2049 var o = new core.List<core.Object>(); 2114 var o = new core.List<core.Object>();
2050 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 2115 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
2051 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 2116 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
2052 return o; 2117 return o;
2053 } 2118 }
2054 2119
2055 checkUnnamed2333(core.List<core.Object> o) { 2120 checkUnnamed2093(core.List<core.Object> o) {
2056 unittest.expect(o, unittest.hasLength(2)); 2121 unittest.expect(o, unittest.hasLength(2));
2057 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')); 2122 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'));
2058 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')); 2123 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'));
2059 } 2124 }
2060 2125
2061 buildUnnamed2334() { 2126 buildUnnamed2094() {
2062 var o = new core.List<core.Object>(); 2127 var o = new core.List<core.Object>();
2063 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 2128 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
2064 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 2129 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
2065 return o; 2130 return o;
2066 } 2131 }
2067 2132
2068 checkUnnamed2334(core.List<core.Object> o) { 2133 checkUnnamed2094(core.List<core.Object> o) {
2069 unittest.expect(o, unittest.hasLength(2)); 2134 unittest.expect(o, unittest.hasLength(2));
2070 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')); 2135 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'));
2071 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')); 2136 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'));
2072 } 2137 }
2073 2138
2074 core.int buildCounterPerformanceReport = 0; 2139 core.int buildCounterPerformanceReport = 0;
2075 buildPerformanceReport() { 2140 buildPerformanceReport() {
2076 var o = new api.PerformanceReport(); 2141 var o = new api.PerformanceReport();
2077 buildCounterPerformanceReport++; 2142 buildCounterPerformanceReport++;
2078 if (buildCounterPerformanceReport < 3) { 2143 if (buildCounterPerformanceReport < 3) {
2079 o.bidRate = 42.0; 2144 o.bidRate = 42.0;
2080 o.bidRequestRate = 42.0; 2145 o.bidRequestRate = 42.0;
2081 o.calloutStatusRate = buildUnnamed2331(); 2146 o.calloutStatusRate = buildUnnamed2091();
2082 o.cookieMatcherStatusRate = buildUnnamed2332(); 2147 o.cookieMatcherStatusRate = buildUnnamed2092();
2083 o.creativeStatusRate = buildUnnamed2333(); 2148 o.creativeStatusRate = buildUnnamed2093();
2084 o.filteredBidRate = 42.0; 2149 o.filteredBidRate = 42.0;
2085 o.hostedMatchStatusRate = buildUnnamed2334(); 2150 o.hostedMatchStatusRate = buildUnnamed2094();
2086 o.inventoryMatchRate = 42.0; 2151 o.inventoryMatchRate = 42.0;
2087 o.kind = "foo"; 2152 o.kind = "foo";
2088 o.latency50thPercentile = 42.0; 2153 o.latency50thPercentile = 42.0;
2089 o.latency85thPercentile = 42.0; 2154 o.latency85thPercentile = 42.0;
2090 o.latency95thPercentile = 42.0; 2155 o.latency95thPercentile = 42.0;
2091 o.noQuotaInRegion = 42.0; 2156 o.noQuotaInRegion = 42.0;
2092 o.outOfQuota = 42.0; 2157 o.outOfQuota = 42.0;
2093 o.pixelMatchRequests = 42.0; 2158 o.pixelMatchRequests = 42.0;
2094 o.pixelMatchResponses = 42.0; 2159 o.pixelMatchResponses = 42.0;
2095 o.quotaConfiguredLimit = 42.0; 2160 o.quotaConfiguredLimit = 42.0;
2096 o.quotaThrottledLimit = 42.0; 2161 o.quotaThrottledLimit = 42.0;
2097 o.region = "foo"; 2162 o.region = "foo";
2098 o.successfulRequestRate = 42.0; 2163 o.successfulRequestRate = 42.0;
2099 o.timestamp = "foo"; 2164 o.timestamp = "foo";
2100 o.unsuccessfulRequestRate = 42.0; 2165 o.unsuccessfulRequestRate = 42.0;
2101 } 2166 }
2102 buildCounterPerformanceReport--; 2167 buildCounterPerformanceReport--;
2103 return o; 2168 return o;
2104 } 2169 }
2105 2170
2106 checkPerformanceReport(api.PerformanceReport o) { 2171 checkPerformanceReport(api.PerformanceReport o) {
2107 buildCounterPerformanceReport++; 2172 buildCounterPerformanceReport++;
2108 if (buildCounterPerformanceReport < 3) { 2173 if (buildCounterPerformanceReport < 3) {
2109 unittest.expect(o.bidRate, unittest.equals(42.0)); 2174 unittest.expect(o.bidRate, unittest.equals(42.0));
2110 unittest.expect(o.bidRequestRate, unittest.equals(42.0)); 2175 unittest.expect(o.bidRequestRate, unittest.equals(42.0));
2111 checkUnnamed2331(o.calloutStatusRate); 2176 checkUnnamed2091(o.calloutStatusRate);
2112 checkUnnamed2332(o.cookieMatcherStatusRate); 2177 checkUnnamed2092(o.cookieMatcherStatusRate);
2113 checkUnnamed2333(o.creativeStatusRate); 2178 checkUnnamed2093(o.creativeStatusRate);
2114 unittest.expect(o.filteredBidRate, unittest.equals(42.0)); 2179 unittest.expect(o.filteredBidRate, unittest.equals(42.0));
2115 checkUnnamed2334(o.hostedMatchStatusRate); 2180 checkUnnamed2094(o.hostedMatchStatusRate);
2116 unittest.expect(o.inventoryMatchRate, unittest.equals(42.0)); 2181 unittest.expect(o.inventoryMatchRate, unittest.equals(42.0));
2117 unittest.expect(o.kind, unittest.equals('foo')); 2182 unittest.expect(o.kind, unittest.equals('foo'));
2118 unittest.expect(o.latency50thPercentile, unittest.equals(42.0)); 2183 unittest.expect(o.latency50thPercentile, unittest.equals(42.0));
2119 unittest.expect(o.latency85thPercentile, unittest.equals(42.0)); 2184 unittest.expect(o.latency85thPercentile, unittest.equals(42.0));
2120 unittest.expect(o.latency95thPercentile, unittest.equals(42.0)); 2185 unittest.expect(o.latency95thPercentile, unittest.equals(42.0));
2121 unittest.expect(o.noQuotaInRegion, unittest.equals(42.0)); 2186 unittest.expect(o.noQuotaInRegion, unittest.equals(42.0));
2122 unittest.expect(o.outOfQuota, unittest.equals(42.0)); 2187 unittest.expect(o.outOfQuota, unittest.equals(42.0));
2123 unittest.expect(o.pixelMatchRequests, unittest.equals(42.0)); 2188 unittest.expect(o.pixelMatchRequests, unittest.equals(42.0));
2124 unittest.expect(o.pixelMatchResponses, unittest.equals(42.0)); 2189 unittest.expect(o.pixelMatchResponses, unittest.equals(42.0));
2125 unittest.expect(o.quotaConfiguredLimit, unittest.equals(42.0)); 2190 unittest.expect(o.quotaConfiguredLimit, unittest.equals(42.0));
2126 unittest.expect(o.quotaThrottledLimit, unittest.equals(42.0)); 2191 unittest.expect(o.quotaThrottledLimit, unittest.equals(42.0));
2127 unittest.expect(o.region, unittest.equals('foo')); 2192 unittest.expect(o.region, unittest.equals('foo'));
2128 unittest.expect(o.successfulRequestRate, unittest.equals(42.0)); 2193 unittest.expect(o.successfulRequestRate, unittest.equals(42.0));
2129 unittest.expect(o.timestamp, unittest.equals('foo')); 2194 unittest.expect(o.timestamp, unittest.equals('foo'));
2130 unittest.expect(o.unsuccessfulRequestRate, unittest.equals(42.0)); 2195 unittest.expect(o.unsuccessfulRequestRate, unittest.equals(42.0));
2131 } 2196 }
2132 buildCounterPerformanceReport--; 2197 buildCounterPerformanceReport--;
2133 } 2198 }
2134 2199
2135 buildUnnamed2335() { 2200 buildUnnamed2095() {
2136 var o = new core.List<api.PerformanceReport>(); 2201 var o = new core.List<api.PerformanceReport>();
2137 o.add(buildPerformanceReport()); 2202 o.add(buildPerformanceReport());
2138 o.add(buildPerformanceReport()); 2203 o.add(buildPerformanceReport());
2139 return o; 2204 return o;
2140 } 2205 }
2141 2206
2142 checkUnnamed2335(core.List<api.PerformanceReport> o) { 2207 checkUnnamed2095(core.List<api.PerformanceReport> o) {
2143 unittest.expect(o, unittest.hasLength(2)); 2208 unittest.expect(o, unittest.hasLength(2));
2144 checkPerformanceReport(o[0]); 2209 checkPerformanceReport(o[0]);
2145 checkPerformanceReport(o[1]); 2210 checkPerformanceReport(o[1]);
2146 } 2211 }
2147 2212
2148 core.int buildCounterPerformanceReportList = 0; 2213 core.int buildCounterPerformanceReportList = 0;
2149 buildPerformanceReportList() { 2214 buildPerformanceReportList() {
2150 var o = new api.PerformanceReportList(); 2215 var o = new api.PerformanceReportList();
2151 buildCounterPerformanceReportList++; 2216 buildCounterPerformanceReportList++;
2152 if (buildCounterPerformanceReportList < 3) { 2217 if (buildCounterPerformanceReportList < 3) {
2153 o.kind = "foo"; 2218 o.kind = "foo";
2154 o.performanceReport = buildUnnamed2335(); 2219 o.performanceReport = buildUnnamed2095();
2155 } 2220 }
2156 buildCounterPerformanceReportList--; 2221 buildCounterPerformanceReportList--;
2157 return o; 2222 return o;
2158 } 2223 }
2159 2224
2160 checkPerformanceReportList(api.PerformanceReportList o) { 2225 checkPerformanceReportList(api.PerformanceReportList o) {
2161 buildCounterPerformanceReportList++; 2226 buildCounterPerformanceReportList++;
2162 if (buildCounterPerformanceReportList < 3) { 2227 if (buildCounterPerformanceReportList < 3) {
2163 unittest.expect(o.kind, unittest.equals('foo')); 2228 unittest.expect(o.kind, unittest.equals('foo'));
2164 checkUnnamed2335(o.performanceReport); 2229 checkUnnamed2095(o.performanceReport);
2165 } 2230 }
2166 buildCounterPerformanceReportList--; 2231 buildCounterPerformanceReportList--;
2167 } 2232 }
2168 2233
2169 buildUnnamed2336() { 2234 buildUnnamed2096() {
2170 var o = new core.List<core.String>(); 2235 var o = new core.List<core.String>();
2171 o.add("foo"); 2236 o.add("foo");
2172 o.add("foo"); 2237 o.add("foo");
2173 return o; 2238 return o;
2174 } 2239 }
2175 2240
2176 checkUnnamed2336(core.List<core.String> o) { 2241 checkUnnamed2096(core.List<core.String> o) {
2177 unittest.expect(o, unittest.hasLength(2)); 2242 unittest.expect(o, unittest.hasLength(2));
2178 unittest.expect(o[0], unittest.equals('foo')); 2243 unittest.expect(o[0], unittest.equals('foo'));
2179 unittest.expect(o[1], unittest.equals('foo')); 2244 unittest.expect(o[1], unittest.equals('foo'));
2180 } 2245 }
2181 2246
2182 core.int buildCounterPretargetingConfigDimensions = 0; 2247 core.int buildCounterPretargetingConfigDimensions = 0;
2183 buildPretargetingConfigDimensions() { 2248 buildPretargetingConfigDimensions() {
2184 var o = new api.PretargetingConfigDimensions(); 2249 var o = new api.PretargetingConfigDimensions();
2185 buildCounterPretargetingConfigDimensions++; 2250 buildCounterPretargetingConfigDimensions++;
2186 if (buildCounterPretargetingConfigDimensions < 3) { 2251 if (buildCounterPretargetingConfigDimensions < 3) {
2187 o.height = "foo"; 2252 o.height = "foo";
2188 o.width = "foo"; 2253 o.width = "foo";
2189 } 2254 }
2190 buildCounterPretargetingConfigDimensions--; 2255 buildCounterPretargetingConfigDimensions--;
2191 return o; 2256 return o;
2192 } 2257 }
2193 2258
2194 checkPretargetingConfigDimensions(api.PretargetingConfigDimensions o) { 2259 checkPretargetingConfigDimensions(api.PretargetingConfigDimensions o) {
2195 buildCounterPretargetingConfigDimensions++; 2260 buildCounterPretargetingConfigDimensions++;
2196 if (buildCounterPretargetingConfigDimensions < 3) { 2261 if (buildCounterPretargetingConfigDimensions < 3) {
2197 unittest.expect(o.height, unittest.equals('foo')); 2262 unittest.expect(o.height, unittest.equals('foo'));
2198 unittest.expect(o.width, unittest.equals('foo')); 2263 unittest.expect(o.width, unittest.equals('foo'));
2199 } 2264 }
2200 buildCounterPretargetingConfigDimensions--; 2265 buildCounterPretargetingConfigDimensions--;
2201 } 2266 }
2202 2267
2203 buildUnnamed2337() { 2268 buildUnnamed2097() {
2204 var o = new core.List<api.PretargetingConfigDimensions>(); 2269 var o = new core.List<api.PretargetingConfigDimensions>();
2205 o.add(buildPretargetingConfigDimensions()); 2270 o.add(buildPretargetingConfigDimensions());
2206 o.add(buildPretargetingConfigDimensions()); 2271 o.add(buildPretargetingConfigDimensions());
2207 return o; 2272 return o;
2208 } 2273 }
2209 2274
2210 checkUnnamed2337(core.List<api.PretargetingConfigDimensions> o) { 2275 checkUnnamed2097(core.List<api.PretargetingConfigDimensions> o) {
2211 unittest.expect(o, unittest.hasLength(2)); 2276 unittest.expect(o, unittest.hasLength(2));
2212 checkPretargetingConfigDimensions(o[0]); 2277 checkPretargetingConfigDimensions(o[0]);
2213 checkPretargetingConfigDimensions(o[1]); 2278 checkPretargetingConfigDimensions(o[1]);
2214 } 2279 }
2215 2280
2216 buildUnnamed2338() { 2281 buildUnnamed2098() {
2217 var o = new core.List<core.String>(); 2282 var o = new core.List<core.String>();
2218 o.add("foo"); 2283 o.add("foo");
2219 o.add("foo"); 2284 o.add("foo");
2220 return o; 2285 return o;
2221 } 2286 }
2222 2287
2223 checkUnnamed2338(core.List<core.String> o) { 2288 checkUnnamed2098(core.List<core.String> o) {
2224 unittest.expect(o, unittest.hasLength(2)); 2289 unittest.expect(o, unittest.hasLength(2));
2225 unittest.expect(o[0], unittest.equals('foo')); 2290 unittest.expect(o[0], unittest.equals('foo'));
2226 unittest.expect(o[1], unittest.equals('foo')); 2291 unittest.expect(o[1], unittest.equals('foo'));
2227 } 2292 }
2228 2293
2229 buildUnnamed2339() { 2294 buildUnnamed2099() {
2230 var o = new core.List<core.String>(); 2295 var o = new core.List<core.String>();
2231 o.add("foo"); 2296 o.add("foo");
2232 o.add("foo"); 2297 o.add("foo");
2233 return o; 2298 return o;
2234 } 2299 }
2235 2300
2236 checkUnnamed2339(core.List<core.String> o) { 2301 checkUnnamed2099(core.List<core.String> o) {
2237 unittest.expect(o, unittest.hasLength(2)); 2302 unittest.expect(o, unittest.hasLength(2));
2238 unittest.expect(o[0], unittest.equals('foo')); 2303 unittest.expect(o[0], unittest.equals('foo'));
2239 unittest.expect(o[1], unittest.equals('foo')); 2304 unittest.expect(o[1], unittest.equals('foo'));
2240 } 2305 }
2241 2306
2242 core.int buildCounterPretargetingConfigExcludedPlacements = 0; 2307 core.int buildCounterPretargetingConfigExcludedPlacements = 0;
2243 buildPretargetingConfigExcludedPlacements() { 2308 buildPretargetingConfigExcludedPlacements() {
2244 var o = new api.PretargetingConfigExcludedPlacements(); 2309 var o = new api.PretargetingConfigExcludedPlacements();
2245 buildCounterPretargetingConfigExcludedPlacements++; 2310 buildCounterPretargetingConfigExcludedPlacements++;
2246 if (buildCounterPretargetingConfigExcludedPlacements < 3) { 2311 if (buildCounterPretargetingConfigExcludedPlacements < 3) {
2247 o.token = "foo"; 2312 o.token = "foo";
2248 o.type = "foo"; 2313 o.type = "foo";
2249 } 2314 }
2250 buildCounterPretargetingConfigExcludedPlacements--; 2315 buildCounterPretargetingConfigExcludedPlacements--;
2251 return o; 2316 return o;
2252 } 2317 }
2253 2318
2254 checkPretargetingConfigExcludedPlacements(api.PretargetingConfigExcludedPlacemen ts o) { 2319 checkPretargetingConfigExcludedPlacements(api.PretargetingConfigExcludedPlacemen ts o) {
2255 buildCounterPretargetingConfigExcludedPlacements++; 2320 buildCounterPretargetingConfigExcludedPlacements++;
2256 if (buildCounterPretargetingConfigExcludedPlacements < 3) { 2321 if (buildCounterPretargetingConfigExcludedPlacements < 3) {
2257 unittest.expect(o.token, unittest.equals('foo')); 2322 unittest.expect(o.token, unittest.equals('foo'));
2258 unittest.expect(o.type, unittest.equals('foo')); 2323 unittest.expect(o.type, unittest.equals('foo'));
2259 } 2324 }
2260 buildCounterPretargetingConfigExcludedPlacements--; 2325 buildCounterPretargetingConfigExcludedPlacements--;
2261 } 2326 }
2262 2327
2263 buildUnnamed2340() { 2328 buildUnnamed2100() {
2264 var o = new core.List<api.PretargetingConfigExcludedPlacements>(); 2329 var o = new core.List<api.PretargetingConfigExcludedPlacements>();
2265 o.add(buildPretargetingConfigExcludedPlacements()); 2330 o.add(buildPretargetingConfigExcludedPlacements());
2266 o.add(buildPretargetingConfigExcludedPlacements()); 2331 o.add(buildPretargetingConfigExcludedPlacements());
2267 return o; 2332 return o;
2268 } 2333 }
2269 2334
2270 checkUnnamed2340(core.List<api.PretargetingConfigExcludedPlacements> o) { 2335 checkUnnamed2100(core.List<api.PretargetingConfigExcludedPlacements> o) {
2271 unittest.expect(o, unittest.hasLength(2)); 2336 unittest.expect(o, unittest.hasLength(2));
2272 checkPretargetingConfigExcludedPlacements(o[0]); 2337 checkPretargetingConfigExcludedPlacements(o[0]);
2273 checkPretargetingConfigExcludedPlacements(o[1]); 2338 checkPretargetingConfigExcludedPlacements(o[1]);
2274 } 2339 }
2275 2340
2276 buildUnnamed2341() { 2341 buildUnnamed2101() {
2277 var o = new core.List<core.String>(); 2342 var o = new core.List<core.String>();
2278 o.add("foo"); 2343 o.add("foo");
2279 o.add("foo"); 2344 o.add("foo");
2280 return o; 2345 return o;
2281 } 2346 }
2282 2347
2283 checkUnnamed2341(core.List<core.String> o) { 2348 checkUnnamed2101(core.List<core.String> o) {
2284 unittest.expect(o, unittest.hasLength(2)); 2349 unittest.expect(o, unittest.hasLength(2));
2285 unittest.expect(o[0], unittest.equals('foo')); 2350 unittest.expect(o[0], unittest.equals('foo'));
2286 unittest.expect(o[1], unittest.equals('foo')); 2351 unittest.expect(o[1], unittest.equals('foo'));
2287 } 2352 }
2288 2353
2289 buildUnnamed2342() { 2354 buildUnnamed2102() {
2290 var o = new core.List<core.String>(); 2355 var o = new core.List<core.String>();
2291 o.add("foo"); 2356 o.add("foo");
2292 o.add("foo"); 2357 o.add("foo");
2293 return o; 2358 return o;
2294 } 2359 }
2295 2360
2296 checkUnnamed2342(core.List<core.String> o) { 2361 checkUnnamed2102(core.List<core.String> o) {
2297 unittest.expect(o, unittest.hasLength(2)); 2362 unittest.expect(o, unittest.hasLength(2));
2298 unittest.expect(o[0], unittest.equals('foo')); 2363 unittest.expect(o[0], unittest.equals('foo'));
2299 unittest.expect(o[1], unittest.equals('foo')); 2364 unittest.expect(o[1], unittest.equals('foo'));
2300 } 2365 }
2301 2366
2302 buildUnnamed2343() { 2367 buildUnnamed2103() {
2303 var o = new core.List<core.String>(); 2368 var o = new core.List<core.String>();
2304 o.add("foo"); 2369 o.add("foo");
2305 o.add("foo"); 2370 o.add("foo");
2306 return o; 2371 return o;
2307 } 2372 }
2308 2373
2309 checkUnnamed2343(core.List<core.String> o) { 2374 checkUnnamed2103(core.List<core.String> o) {
2310 unittest.expect(o, unittest.hasLength(2)); 2375 unittest.expect(o, unittest.hasLength(2));
2311 unittest.expect(o[0], unittest.equals('foo')); 2376 unittest.expect(o[0], unittest.equals('foo'));
2312 unittest.expect(o[1], unittest.equals('foo')); 2377 unittest.expect(o[1], unittest.equals('foo'));
2313 } 2378 }
2314 2379
2315 buildUnnamed2344() { 2380 buildUnnamed2104() {
2316 var o = new core.List<core.String>(); 2381 var o = new core.List<core.String>();
2317 o.add("foo"); 2382 o.add("foo");
2318 o.add("foo"); 2383 o.add("foo");
2319 return o; 2384 return o;
2320 } 2385 }
2321 2386
2322 checkUnnamed2344(core.List<core.String> o) { 2387 checkUnnamed2104(core.List<core.String> o) {
2323 unittest.expect(o, unittest.hasLength(2)); 2388 unittest.expect(o, unittest.hasLength(2));
2324 unittest.expect(o[0], unittest.equals('foo')); 2389 unittest.expect(o[0], unittest.equals('foo'));
2325 unittest.expect(o[1], unittest.equals('foo')); 2390 unittest.expect(o[1], unittest.equals('foo'));
2326 } 2391 }
2327 2392
2328 buildUnnamed2345() { 2393 buildUnnamed2105() {
2329 var o = new core.List<core.String>(); 2394 var o = new core.List<core.String>();
2330 o.add("foo"); 2395 o.add("foo");
2331 o.add("foo"); 2396 o.add("foo");
2332 return o; 2397 return o;
2333 } 2398 }
2334 2399
2335 checkUnnamed2345(core.List<core.String> o) { 2400 checkUnnamed2105(core.List<core.String> o) {
2336 unittest.expect(o, unittest.hasLength(2)); 2401 unittest.expect(o, unittest.hasLength(2));
2337 unittest.expect(o[0], unittest.equals('foo')); 2402 unittest.expect(o[0], unittest.equals('foo'));
2338 unittest.expect(o[1], unittest.equals('foo')); 2403 unittest.expect(o[1], unittest.equals('foo'));
2339 } 2404 }
2340 2405
2341 buildUnnamed2346() { 2406 buildUnnamed2106() {
2342 var o = new core.List<core.String>(); 2407 var o = new core.List<core.String>();
2343 o.add("foo"); 2408 o.add("foo");
2344 o.add("foo"); 2409 o.add("foo");
2345 return o; 2410 return o;
2346 } 2411 }
2347 2412
2348 checkUnnamed2346(core.List<core.String> o) { 2413 checkUnnamed2106(core.List<core.String> o) {
2349 unittest.expect(o, unittest.hasLength(2)); 2414 unittest.expect(o, unittest.hasLength(2));
2350 unittest.expect(o[0], unittest.equals('foo')); 2415 unittest.expect(o[0], unittest.equals('foo'));
2351 unittest.expect(o[1], unittest.equals('foo')); 2416 unittest.expect(o[1], unittest.equals('foo'));
2352 } 2417 }
2353 2418
2354 buildUnnamed2347() { 2419 buildUnnamed2107() {
2355 var o = new core.List<core.String>(); 2420 var o = new core.List<core.String>();
2356 o.add("foo"); 2421 o.add("foo");
2357 o.add("foo"); 2422 o.add("foo");
2358 return o; 2423 return o;
2359 } 2424 }
2360 2425
2361 checkUnnamed2347(core.List<core.String> o) { 2426 checkUnnamed2107(core.List<core.String> o) {
2362 unittest.expect(o, unittest.hasLength(2)); 2427 unittest.expect(o, unittest.hasLength(2));
2363 unittest.expect(o[0], unittest.equals('foo')); 2428 unittest.expect(o[0], unittest.equals('foo'));
2364 unittest.expect(o[1], unittest.equals('foo')); 2429 unittest.expect(o[1], unittest.equals('foo'));
2365 } 2430 }
2366 2431
2367 core.int buildCounterPretargetingConfigPlacements = 0; 2432 core.int buildCounterPretargetingConfigPlacements = 0;
2368 buildPretargetingConfigPlacements() { 2433 buildPretargetingConfigPlacements() {
2369 var o = new api.PretargetingConfigPlacements(); 2434 var o = new api.PretargetingConfigPlacements();
2370 buildCounterPretargetingConfigPlacements++; 2435 buildCounterPretargetingConfigPlacements++;
2371 if (buildCounterPretargetingConfigPlacements < 3) { 2436 if (buildCounterPretargetingConfigPlacements < 3) {
2372 o.token = "foo"; 2437 o.token = "foo";
2373 o.type = "foo"; 2438 o.type = "foo";
2374 } 2439 }
2375 buildCounterPretargetingConfigPlacements--; 2440 buildCounterPretargetingConfigPlacements--;
2376 return o; 2441 return o;
2377 } 2442 }
2378 2443
2379 checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) { 2444 checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) {
2380 buildCounterPretargetingConfigPlacements++; 2445 buildCounterPretargetingConfigPlacements++;
2381 if (buildCounterPretargetingConfigPlacements < 3) { 2446 if (buildCounterPretargetingConfigPlacements < 3) {
2382 unittest.expect(o.token, unittest.equals('foo')); 2447 unittest.expect(o.token, unittest.equals('foo'));
2383 unittest.expect(o.type, unittest.equals('foo')); 2448 unittest.expect(o.type, unittest.equals('foo'));
2384 } 2449 }
2385 buildCounterPretargetingConfigPlacements--; 2450 buildCounterPretargetingConfigPlacements--;
2386 } 2451 }
2387 2452
2388 buildUnnamed2348() { 2453 buildUnnamed2108() {
2389 var o = new core.List<api.PretargetingConfigPlacements>(); 2454 var o = new core.List<api.PretargetingConfigPlacements>();
2390 o.add(buildPretargetingConfigPlacements()); 2455 o.add(buildPretargetingConfigPlacements());
2391 o.add(buildPretargetingConfigPlacements()); 2456 o.add(buildPretargetingConfigPlacements());
2392 return o; 2457 return o;
2393 } 2458 }
2394 2459
2395 checkUnnamed2348(core.List<api.PretargetingConfigPlacements> o) { 2460 checkUnnamed2108(core.List<api.PretargetingConfigPlacements> o) {
2396 unittest.expect(o, unittest.hasLength(2)); 2461 unittest.expect(o, unittest.hasLength(2));
2397 checkPretargetingConfigPlacements(o[0]); 2462 checkPretargetingConfigPlacements(o[0]);
2398 checkPretargetingConfigPlacements(o[1]); 2463 checkPretargetingConfigPlacements(o[1]);
2399 } 2464 }
2400 2465
2401 buildUnnamed2349() { 2466 buildUnnamed2109() {
2402 var o = new core.List<core.String>(); 2467 var o = new core.List<core.String>();
2403 o.add("foo"); 2468 o.add("foo");
2404 o.add("foo"); 2469 o.add("foo");
2405 return o; 2470 return o;
2406 } 2471 }
2407 2472
2408 checkUnnamed2349(core.List<core.String> o) { 2473 checkUnnamed2109(core.List<core.String> o) {
2409 unittest.expect(o, unittest.hasLength(2)); 2474 unittest.expect(o, unittest.hasLength(2));
2410 unittest.expect(o[0], unittest.equals('foo')); 2475 unittest.expect(o[0], unittest.equals('foo'));
2411 unittest.expect(o[1], unittest.equals('foo')); 2476 unittest.expect(o[1], unittest.equals('foo'));
2412 } 2477 }
2413 2478
2414 buildUnnamed2350() { 2479 buildUnnamed2110() {
2415 var o = new core.List<core.String>(); 2480 var o = new core.List<core.String>();
2416 o.add("foo"); 2481 o.add("foo");
2417 o.add("foo"); 2482 o.add("foo");
2418 return o; 2483 return o;
2419 } 2484 }
2420 2485
2421 checkUnnamed2350(core.List<core.String> o) { 2486 checkUnnamed2110(core.List<core.String> o) {
2422 unittest.expect(o, unittest.hasLength(2)); 2487 unittest.expect(o, unittest.hasLength(2));
2423 unittest.expect(o[0], unittest.equals('foo')); 2488 unittest.expect(o[0], unittest.equals('foo'));
2424 unittest.expect(o[1], unittest.equals('foo')); 2489 unittest.expect(o[1], unittest.equals('foo'));
2425 } 2490 }
2426 2491
2427 buildUnnamed2351() { 2492 buildUnnamed2111() {
2428 var o = new core.List<core.String>(); 2493 var o = new core.List<core.String>();
2429 o.add("foo"); 2494 o.add("foo");
2430 o.add("foo"); 2495 o.add("foo");
2431 return o; 2496 return o;
2432 } 2497 }
2433 2498
2434 checkUnnamed2351(core.List<core.String> o) { 2499 checkUnnamed2111(core.List<core.String> o) {
2435 unittest.expect(o, unittest.hasLength(2)); 2500 unittest.expect(o, unittest.hasLength(2));
2436 unittest.expect(o[0], unittest.equals('foo')); 2501 unittest.expect(o[0], unittest.equals('foo'));
2437 unittest.expect(o[1], unittest.equals('foo')); 2502 unittest.expect(o[1], unittest.equals('foo'));
2438 } 2503 }
2439 2504
2440 buildUnnamed2352() { 2505 buildUnnamed2112() {
2441 var o = new core.List<core.String>(); 2506 var o = new core.List<core.String>();
2442 o.add("foo"); 2507 o.add("foo");
2443 o.add("foo"); 2508 o.add("foo");
2444 return o; 2509 return o;
2445 } 2510 }
2446 2511
2447 checkUnnamed2352(core.List<core.String> o) { 2512 checkUnnamed2112(core.List<core.String> o) {
2448 unittest.expect(o, unittest.hasLength(2)); 2513 unittest.expect(o, unittest.hasLength(2));
2449 unittest.expect(o[0], unittest.equals('foo')); 2514 unittest.expect(o[0], unittest.equals('foo'));
2450 unittest.expect(o[1], unittest.equals('foo')); 2515 unittest.expect(o[1], unittest.equals('foo'));
2451 } 2516 }
2452 2517
2453 buildUnnamed2353() { 2518 buildUnnamed2113() {
2454 var o = new core.List<core.String>(); 2519 var o = new core.List<core.String>();
2455 o.add("foo"); 2520 o.add("foo");
2456 o.add("foo"); 2521 o.add("foo");
2457 return o; 2522 return o;
2458 } 2523 }
2459 2524
2460 checkUnnamed2353(core.List<core.String> o) { 2525 checkUnnamed2113(core.List<core.String> o) {
2461 unittest.expect(o, unittest.hasLength(2)); 2526 unittest.expect(o, unittest.hasLength(2));
2462 unittest.expect(o[0], unittest.equals('foo')); 2527 unittest.expect(o[0], unittest.equals('foo'));
2463 unittest.expect(o[1], unittest.equals('foo')); 2528 unittest.expect(o[1], unittest.equals('foo'));
2529 }
2530
2531 buildUnnamed2114() {
2532 var o = new core.List<core.String>();
2533 o.add("foo");
2534 o.add("foo");
2535 return o;
2536 }
2537
2538 checkUnnamed2114(core.List<core.String> o) {
2539 unittest.expect(o, unittest.hasLength(2));
2540 unittest.expect(o[0], unittest.equals('foo'));
2541 unittest.expect(o[1], unittest.equals('foo'));
2464 } 2542 }
2465 2543
2466 core.int buildCounterPretargetingConfigVideoPlayerSizes = 0; 2544 core.int buildCounterPretargetingConfigVideoPlayerSizes = 0;
2467 buildPretargetingConfigVideoPlayerSizes() { 2545 buildPretargetingConfigVideoPlayerSizes() {
2468 var o = new api.PretargetingConfigVideoPlayerSizes(); 2546 var o = new api.PretargetingConfigVideoPlayerSizes();
2469 buildCounterPretargetingConfigVideoPlayerSizes++; 2547 buildCounterPretargetingConfigVideoPlayerSizes++;
2470 if (buildCounterPretargetingConfigVideoPlayerSizes < 3) { 2548 if (buildCounterPretargetingConfigVideoPlayerSizes < 3) {
2471 o.aspectRatio = "foo"; 2549 o.aspectRatio = "foo";
2472 o.minHeight = "foo"; 2550 o.minHeight = "foo";
2473 o.minWidth = "foo"; 2551 o.minWidth = "foo";
2474 } 2552 }
2475 buildCounterPretargetingConfigVideoPlayerSizes--; 2553 buildCounterPretargetingConfigVideoPlayerSizes--;
2476 return o; 2554 return o;
2477 } 2555 }
2478 2556
2479 checkPretargetingConfigVideoPlayerSizes(api.PretargetingConfigVideoPlayerSizes o ) { 2557 checkPretargetingConfigVideoPlayerSizes(api.PretargetingConfigVideoPlayerSizes o ) {
2480 buildCounterPretargetingConfigVideoPlayerSizes++; 2558 buildCounterPretargetingConfigVideoPlayerSizes++;
2481 if (buildCounterPretargetingConfigVideoPlayerSizes < 3) { 2559 if (buildCounterPretargetingConfigVideoPlayerSizes < 3) {
2482 unittest.expect(o.aspectRatio, unittest.equals('foo')); 2560 unittest.expect(o.aspectRatio, unittest.equals('foo'));
2483 unittest.expect(o.minHeight, unittest.equals('foo')); 2561 unittest.expect(o.minHeight, unittest.equals('foo'));
2484 unittest.expect(o.minWidth, unittest.equals('foo')); 2562 unittest.expect(o.minWidth, unittest.equals('foo'));
2485 } 2563 }
2486 buildCounterPretargetingConfigVideoPlayerSizes--; 2564 buildCounterPretargetingConfigVideoPlayerSizes--;
2487 } 2565 }
2488 2566
2489 buildUnnamed2354() { 2567 buildUnnamed2115() {
2490 var o = new core.List<api.PretargetingConfigVideoPlayerSizes>(); 2568 var o = new core.List<api.PretargetingConfigVideoPlayerSizes>();
2491 o.add(buildPretargetingConfigVideoPlayerSizes()); 2569 o.add(buildPretargetingConfigVideoPlayerSizes());
2492 o.add(buildPretargetingConfigVideoPlayerSizes()); 2570 o.add(buildPretargetingConfigVideoPlayerSizes());
2493 return o; 2571 return o;
2494 } 2572 }
2495 2573
2496 checkUnnamed2354(core.List<api.PretargetingConfigVideoPlayerSizes> o) { 2574 checkUnnamed2115(core.List<api.PretargetingConfigVideoPlayerSizes> o) {
2497 unittest.expect(o, unittest.hasLength(2)); 2575 unittest.expect(o, unittest.hasLength(2));
2498 checkPretargetingConfigVideoPlayerSizes(o[0]); 2576 checkPretargetingConfigVideoPlayerSizes(o[0]);
2499 checkPretargetingConfigVideoPlayerSizes(o[1]); 2577 checkPretargetingConfigVideoPlayerSizes(o[1]);
2500 } 2578 }
2501 2579
2502 core.int buildCounterPretargetingConfig = 0; 2580 core.int buildCounterPretargetingConfig = 0;
2503 buildPretargetingConfig() { 2581 buildPretargetingConfig() {
2504 var o = new api.PretargetingConfig(); 2582 var o = new api.PretargetingConfig();
2505 buildCounterPretargetingConfig++; 2583 buildCounterPretargetingConfig++;
2506 if (buildCounterPretargetingConfig < 3) { 2584 if (buildCounterPretargetingConfig < 3) {
2507 o.billingId = "foo"; 2585 o.billingId = "foo";
2508 o.configId = "foo"; 2586 o.configId = "foo";
2509 o.configName = "foo"; 2587 o.configName = "foo";
2510 o.creativeType = buildUnnamed2336(); 2588 o.creativeType = buildUnnamed2096();
2511 o.dimensions = buildUnnamed2337(); 2589 o.dimensions = buildUnnamed2097();
2512 o.excludedContentLabels = buildUnnamed2338(); 2590 o.excludedContentLabels = buildUnnamed2098();
2513 o.excludedGeoCriteriaIds = buildUnnamed2339(); 2591 o.excludedGeoCriteriaIds = buildUnnamed2099();
2514 o.excludedPlacements = buildUnnamed2340(); 2592 o.excludedPlacements = buildUnnamed2100();
2515 o.excludedUserLists = buildUnnamed2341(); 2593 o.excludedUserLists = buildUnnamed2101();
2516 o.excludedVerticals = buildUnnamed2342(); 2594 o.excludedVerticals = buildUnnamed2102();
2517 o.geoCriteriaIds = buildUnnamed2343(); 2595 o.geoCriteriaIds = buildUnnamed2103();
2518 o.isActive = true; 2596 o.isActive = true;
2519 o.kind = "foo"; 2597 o.kind = "foo";
2520 o.languages = buildUnnamed2344(); 2598 o.languages = buildUnnamed2104();
2521 o.mobileCarriers = buildUnnamed2345(); 2599 o.mobileCarriers = buildUnnamed2105();
2522 o.mobileDevices = buildUnnamed2346(); 2600 o.mobileDevices = buildUnnamed2106();
2523 o.mobileOperatingSystemVersions = buildUnnamed2347(); 2601 o.mobileOperatingSystemVersions = buildUnnamed2107();
2524 o.placements = buildUnnamed2348(); 2602 o.placements = buildUnnamed2108();
2525 o.platforms = buildUnnamed2349(); 2603 o.platforms = buildUnnamed2109();
2526 o.supportedCreativeAttributes = buildUnnamed2350(); 2604 o.supportedCreativeAttributes = buildUnnamed2110();
2527 o.userLists = buildUnnamed2351(); 2605 o.userIdentifierDataRequired = buildUnnamed2111();
2528 o.vendorTypes = buildUnnamed2352(); 2606 o.userLists = buildUnnamed2112();
2529 o.verticals = buildUnnamed2353(); 2607 o.vendorTypes = buildUnnamed2113();
2530 o.videoPlayerSizes = buildUnnamed2354(); 2608 o.verticals = buildUnnamed2114();
2609 o.videoPlayerSizes = buildUnnamed2115();
2531 } 2610 }
2532 buildCounterPretargetingConfig--; 2611 buildCounterPretargetingConfig--;
2533 return o; 2612 return o;
2534 } 2613 }
2535 2614
2536 checkPretargetingConfig(api.PretargetingConfig o) { 2615 checkPretargetingConfig(api.PretargetingConfig o) {
2537 buildCounterPretargetingConfig++; 2616 buildCounterPretargetingConfig++;
2538 if (buildCounterPretargetingConfig < 3) { 2617 if (buildCounterPretargetingConfig < 3) {
2539 unittest.expect(o.billingId, unittest.equals('foo')); 2618 unittest.expect(o.billingId, unittest.equals('foo'));
2540 unittest.expect(o.configId, unittest.equals('foo')); 2619 unittest.expect(o.configId, unittest.equals('foo'));
2541 unittest.expect(o.configName, unittest.equals('foo')); 2620 unittest.expect(o.configName, unittest.equals('foo'));
2542 checkUnnamed2336(o.creativeType); 2621 checkUnnamed2096(o.creativeType);
2543 checkUnnamed2337(o.dimensions); 2622 checkUnnamed2097(o.dimensions);
2544 checkUnnamed2338(o.excludedContentLabels); 2623 checkUnnamed2098(o.excludedContentLabels);
2545 checkUnnamed2339(o.excludedGeoCriteriaIds); 2624 checkUnnamed2099(o.excludedGeoCriteriaIds);
2546 checkUnnamed2340(o.excludedPlacements); 2625 checkUnnamed2100(o.excludedPlacements);
2547 checkUnnamed2341(o.excludedUserLists); 2626 checkUnnamed2101(o.excludedUserLists);
2548 checkUnnamed2342(o.excludedVerticals); 2627 checkUnnamed2102(o.excludedVerticals);
2549 checkUnnamed2343(o.geoCriteriaIds); 2628 checkUnnamed2103(o.geoCriteriaIds);
2550 unittest.expect(o.isActive, unittest.isTrue); 2629 unittest.expect(o.isActive, unittest.isTrue);
2551 unittest.expect(o.kind, unittest.equals('foo')); 2630 unittest.expect(o.kind, unittest.equals('foo'));
2552 checkUnnamed2344(o.languages); 2631 checkUnnamed2104(o.languages);
2553 checkUnnamed2345(o.mobileCarriers); 2632 checkUnnamed2105(o.mobileCarriers);
2554 checkUnnamed2346(o.mobileDevices); 2633 checkUnnamed2106(o.mobileDevices);
2555 checkUnnamed2347(o.mobileOperatingSystemVersions); 2634 checkUnnamed2107(o.mobileOperatingSystemVersions);
2556 checkUnnamed2348(o.placements); 2635 checkUnnamed2108(o.placements);
2557 checkUnnamed2349(o.platforms); 2636 checkUnnamed2109(o.platforms);
2558 checkUnnamed2350(o.supportedCreativeAttributes); 2637 checkUnnamed2110(o.supportedCreativeAttributes);
2559 checkUnnamed2351(o.userLists); 2638 checkUnnamed2111(o.userIdentifierDataRequired);
2560 checkUnnamed2352(o.vendorTypes); 2639 checkUnnamed2112(o.userLists);
2561 checkUnnamed2353(o.verticals); 2640 checkUnnamed2113(o.vendorTypes);
2562 checkUnnamed2354(o.videoPlayerSizes); 2641 checkUnnamed2114(o.verticals);
2642 checkUnnamed2115(o.videoPlayerSizes);
2563 } 2643 }
2564 buildCounterPretargetingConfig--; 2644 buildCounterPretargetingConfig--;
2565 } 2645 }
2566 2646
2567 buildUnnamed2355() { 2647 buildUnnamed2116() {
2568 var o = new core.List<api.PretargetingConfig>(); 2648 var o = new core.List<api.PretargetingConfig>();
2569 o.add(buildPretargetingConfig()); 2649 o.add(buildPretargetingConfig());
2570 o.add(buildPretargetingConfig()); 2650 o.add(buildPretargetingConfig());
2571 return o; 2651 return o;
2572 } 2652 }
2573 2653
2574 checkUnnamed2355(core.List<api.PretargetingConfig> o) { 2654 checkUnnamed2116(core.List<api.PretargetingConfig> o) {
2575 unittest.expect(o, unittest.hasLength(2)); 2655 unittest.expect(o, unittest.hasLength(2));
2576 checkPretargetingConfig(o[0]); 2656 checkPretargetingConfig(o[0]);
2577 checkPretargetingConfig(o[1]); 2657 checkPretargetingConfig(o[1]);
2578 } 2658 }
2579 2659
2580 core.int buildCounterPretargetingConfigList = 0; 2660 core.int buildCounterPretargetingConfigList = 0;
2581 buildPretargetingConfigList() { 2661 buildPretargetingConfigList() {
2582 var o = new api.PretargetingConfigList(); 2662 var o = new api.PretargetingConfigList();
2583 buildCounterPretargetingConfigList++; 2663 buildCounterPretargetingConfigList++;
2584 if (buildCounterPretargetingConfigList < 3) { 2664 if (buildCounterPretargetingConfigList < 3) {
2585 o.items = buildUnnamed2355(); 2665 o.items = buildUnnamed2116();
2586 o.kind = "foo"; 2666 o.kind = "foo";
2587 } 2667 }
2588 buildCounterPretargetingConfigList--; 2668 buildCounterPretargetingConfigList--;
2589 return o; 2669 return o;
2590 } 2670 }
2591 2671
2592 checkPretargetingConfigList(api.PretargetingConfigList o) { 2672 checkPretargetingConfigList(api.PretargetingConfigList o) {
2593 buildCounterPretargetingConfigList++; 2673 buildCounterPretargetingConfigList++;
2594 if (buildCounterPretargetingConfigList < 3) { 2674 if (buildCounterPretargetingConfigList < 3) {
2595 checkUnnamed2355(o.items); 2675 checkUnnamed2116(o.items);
2596 unittest.expect(o.kind, unittest.equals('foo')); 2676 unittest.expect(o.kind, unittest.equals('foo'));
2597 } 2677 }
2598 buildCounterPretargetingConfigList--; 2678 buildCounterPretargetingConfigList--;
2599 } 2679 }
2600 2680
2601 core.int buildCounterPrice = 0; 2681 core.int buildCounterPrice = 0;
2602 buildPrice() { 2682 buildPrice() {
2603 var o = new api.Price(); 2683 var o = new api.Price();
2604 buildCounterPrice++; 2684 buildCounterPrice++;
2605 if (buildCounterPrice < 3) { 2685 if (buildCounterPrice < 3) {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
2660 2740
2661 checkPrivateData(api.PrivateData o) { 2741 checkPrivateData(api.PrivateData o) {
2662 buildCounterPrivateData++; 2742 buildCounterPrivateData++;
2663 if (buildCounterPrivateData < 3) { 2743 if (buildCounterPrivateData < 3) {
2664 unittest.expect(o.referenceId, unittest.equals('foo')); 2744 unittest.expect(o.referenceId, unittest.equals('foo'));
2665 unittest.expect(o.referencePayload, unittest.equals('foo')); 2745 unittest.expect(o.referencePayload, unittest.equals('foo'));
2666 } 2746 }
2667 buildCounterPrivateData--; 2747 buildCounterPrivateData--;
2668 } 2748 }
2669 2749
2670 buildUnnamed2356() { 2750 buildUnnamed2117() {
2671 var o = new core.List<api.ContactInformation>(); 2751 var o = new core.List<api.ContactInformation>();
2672 o.add(buildContactInformation()); 2752 o.add(buildContactInformation());
2673 o.add(buildContactInformation()); 2753 o.add(buildContactInformation());
2674 return o; 2754 return o;
2675 } 2755 }
2676 2756
2677 checkUnnamed2356(core.List<api.ContactInformation> o) { 2757 checkUnnamed2117(core.List<api.ContactInformation> o) {
2678 unittest.expect(o, unittest.hasLength(2)); 2758 unittest.expect(o, unittest.hasLength(2));
2679 checkContactInformation(o[0]); 2759 checkContactInformation(o[0]);
2680 checkContactInformation(o[1]); 2760 checkContactInformation(o[1]);
2681 } 2761 }
2682 2762
2683 buildUnnamed2357() { 2763 buildUnnamed2118() {
2684 var o = new core.List<api.MarketplaceLabel>(); 2764 var o = new core.List<api.MarketplaceLabel>();
2685 o.add(buildMarketplaceLabel()); 2765 o.add(buildMarketplaceLabel());
2686 o.add(buildMarketplaceLabel()); 2766 o.add(buildMarketplaceLabel());
2687 return o; 2767 return o;
2688 } 2768 }
2689 2769
2690 checkUnnamed2357(core.List<api.MarketplaceLabel> o) { 2770 checkUnnamed2118(core.List<api.MarketplaceLabel> o) {
2691 unittest.expect(o, unittest.hasLength(2)); 2771 unittest.expect(o, unittest.hasLength(2));
2692 checkMarketplaceLabel(o[0]); 2772 checkMarketplaceLabel(o[0]);
2693 checkMarketplaceLabel(o[1]); 2773 checkMarketplaceLabel(o[1]);
2694 } 2774 }
2695 2775
2696 buildUnnamed2358() { 2776 buildUnnamed2119() {
2697 var o = new core.List<api.SharedTargeting>(); 2777 var o = new core.List<api.SharedTargeting>();
2698 o.add(buildSharedTargeting()); 2778 o.add(buildSharedTargeting());
2699 o.add(buildSharedTargeting()); 2779 o.add(buildSharedTargeting());
2700 return o; 2780 return o;
2701 } 2781 }
2702 2782
2703 checkUnnamed2358(core.List<api.SharedTargeting> o) { 2783 checkUnnamed2119(core.List<api.SharedTargeting> o) {
2704 unittest.expect(o, unittest.hasLength(2)); 2784 unittest.expect(o, unittest.hasLength(2));
2705 checkSharedTargeting(o[0]); 2785 checkSharedTargeting(o[0]);
2706 checkSharedTargeting(o[1]); 2786 checkSharedTargeting(o[1]);
2707 } 2787 }
2708 2788
2709 core.int buildCounterProduct = 0; 2789 core.int buildCounterProduct = 0;
2710 buildProduct() { 2790 buildProduct() {
2711 var o = new api.Product(); 2791 var o = new api.Product();
2712 buildCounterProduct++; 2792 buildCounterProduct++;
2713 if (buildCounterProduct < 3) { 2793 if (buildCounterProduct < 3) {
2714 o.creationTimeMs = "foo"; 2794 o.creationTimeMs = "foo";
2715 o.creatorContacts = buildUnnamed2356(); 2795 o.creatorContacts = buildUnnamed2117();
2716 o.deliveryControl = buildDeliveryControl(); 2796 o.deliveryControl = buildDeliveryControl();
2717 o.flightEndTimeMs = "foo"; 2797 o.flightEndTimeMs = "foo";
2718 o.flightStartTimeMs = "foo"; 2798 o.flightStartTimeMs = "foo";
2719 o.hasCreatorSignedOff = true; 2799 o.hasCreatorSignedOff = true;
2720 o.inventorySource = "foo"; 2800 o.inventorySource = "foo";
2721 o.kind = "foo"; 2801 o.kind = "foo";
2722 o.labels = buildUnnamed2357(); 2802 o.labels = buildUnnamed2118();
2723 o.lastUpdateTimeMs = "foo"; 2803 o.lastUpdateTimeMs = "foo";
2724 o.legacyOfferId = "foo"; 2804 o.legacyOfferId = "foo";
2725 o.name = "foo"; 2805 o.name = "foo";
2726 o.privateAuctionId = "foo"; 2806 o.privateAuctionId = "foo";
2727 o.productId = "foo"; 2807 o.productId = "foo";
2728 o.publisherProfileId = "foo"; 2808 o.publisherProfileId = "foo";
2729 o.publisherProvidedForecast = buildPublisherProvidedForecast(); 2809 o.publisherProvidedForecast = buildPublisherProvidedForecast();
2730 o.revisionNumber = "foo"; 2810 o.revisionNumber = "foo";
2731 o.seller = buildSeller(); 2811 o.seller = buildSeller();
2732 o.sharedTargetings = buildUnnamed2358(); 2812 o.sharedTargetings = buildUnnamed2119();
2733 o.state = "foo"; 2813 o.state = "foo";
2734 o.syndicationProduct = "foo"; 2814 o.syndicationProduct = "foo";
2735 o.terms = buildDealTerms(); 2815 o.terms = buildDealTerms();
2736 o.webPropertyCode = "foo"; 2816 o.webPropertyCode = "foo";
2737 } 2817 }
2738 buildCounterProduct--; 2818 buildCounterProduct--;
2739 return o; 2819 return o;
2740 } 2820 }
2741 2821
2742 checkProduct(api.Product o) { 2822 checkProduct(api.Product o) {
2743 buildCounterProduct++; 2823 buildCounterProduct++;
2744 if (buildCounterProduct < 3) { 2824 if (buildCounterProduct < 3) {
2745 unittest.expect(o.creationTimeMs, unittest.equals('foo')); 2825 unittest.expect(o.creationTimeMs, unittest.equals('foo'));
2746 checkUnnamed2356(o.creatorContacts); 2826 checkUnnamed2117(o.creatorContacts);
2747 checkDeliveryControl(o.deliveryControl); 2827 checkDeliveryControl(o.deliveryControl);
2748 unittest.expect(o.flightEndTimeMs, unittest.equals('foo')); 2828 unittest.expect(o.flightEndTimeMs, unittest.equals('foo'));
2749 unittest.expect(o.flightStartTimeMs, unittest.equals('foo')); 2829 unittest.expect(o.flightStartTimeMs, unittest.equals('foo'));
2750 unittest.expect(o.hasCreatorSignedOff, unittest.isTrue); 2830 unittest.expect(o.hasCreatorSignedOff, unittest.isTrue);
2751 unittest.expect(o.inventorySource, unittest.equals('foo')); 2831 unittest.expect(o.inventorySource, unittest.equals('foo'));
2752 unittest.expect(o.kind, unittest.equals('foo')); 2832 unittest.expect(o.kind, unittest.equals('foo'));
2753 checkUnnamed2357(o.labels); 2833 checkUnnamed2118(o.labels);
2754 unittest.expect(o.lastUpdateTimeMs, unittest.equals('foo')); 2834 unittest.expect(o.lastUpdateTimeMs, unittest.equals('foo'));
2755 unittest.expect(o.legacyOfferId, unittest.equals('foo')); 2835 unittest.expect(o.legacyOfferId, unittest.equals('foo'));
2756 unittest.expect(o.name, unittest.equals('foo')); 2836 unittest.expect(o.name, unittest.equals('foo'));
2757 unittest.expect(o.privateAuctionId, unittest.equals('foo')); 2837 unittest.expect(o.privateAuctionId, unittest.equals('foo'));
2758 unittest.expect(o.productId, unittest.equals('foo')); 2838 unittest.expect(o.productId, unittest.equals('foo'));
2759 unittest.expect(o.publisherProfileId, unittest.equals('foo')); 2839 unittest.expect(o.publisherProfileId, unittest.equals('foo'));
2760 checkPublisherProvidedForecast(o.publisherProvidedForecast); 2840 checkPublisherProvidedForecast(o.publisherProvidedForecast);
2761 unittest.expect(o.revisionNumber, unittest.equals('foo')); 2841 unittest.expect(o.revisionNumber, unittest.equals('foo'));
2762 checkSeller(o.seller); 2842 checkSeller(o.seller);
2763 checkUnnamed2358(o.sharedTargetings); 2843 checkUnnamed2119(o.sharedTargetings);
2764 unittest.expect(o.state, unittest.equals('foo')); 2844 unittest.expect(o.state, unittest.equals('foo'));
2765 unittest.expect(o.syndicationProduct, unittest.equals('foo')); 2845 unittest.expect(o.syndicationProduct, unittest.equals('foo'));
2766 checkDealTerms(o.terms); 2846 checkDealTerms(o.terms);
2767 unittest.expect(o.webPropertyCode, unittest.equals('foo')); 2847 unittest.expect(o.webPropertyCode, unittest.equals('foo'));
2768 } 2848 }
2769 buildCounterProduct--; 2849 buildCounterProduct--;
2770 } 2850 }
2771 2851
2772 buildUnnamed2359() { 2852 buildUnnamed2120() {
2773 var o = new core.List<api.ContactInformation>(); 2853 var o = new core.List<api.ContactInformation>();
2774 o.add(buildContactInformation()); 2854 o.add(buildContactInformation());
2775 o.add(buildContactInformation()); 2855 o.add(buildContactInformation());
2776 return o; 2856 return o;
2777 } 2857 }
2778 2858
2779 checkUnnamed2359(core.List<api.ContactInformation> o) { 2859 checkUnnamed2120(core.List<api.ContactInformation> o) {
2780 unittest.expect(o, unittest.hasLength(2)); 2860 unittest.expect(o, unittest.hasLength(2));
2781 checkContactInformation(o[0]); 2861 checkContactInformation(o[0]);
2782 checkContactInformation(o[1]); 2862 checkContactInformation(o[1]);
2783 } 2863 }
2784 2864
2785 buildUnnamed2360() { 2865 buildUnnamed2121() {
2866 var o = new core.List<core.String>();
2867 o.add("foo");
2868 o.add("foo");
2869 return o;
2870 }
2871
2872 checkUnnamed2121(core.List<core.String> o) {
2873 unittest.expect(o, unittest.hasLength(2));
2874 unittest.expect(o[0], unittest.equals('foo'));
2875 unittest.expect(o[1], unittest.equals('foo'));
2876 }
2877
2878 buildUnnamed2122() {
2786 var o = new core.List<api.MarketplaceLabel>(); 2879 var o = new core.List<api.MarketplaceLabel>();
2787 o.add(buildMarketplaceLabel()); 2880 o.add(buildMarketplaceLabel());
2788 o.add(buildMarketplaceLabel()); 2881 o.add(buildMarketplaceLabel());
2789 return o; 2882 return o;
2790 } 2883 }
2791 2884
2792 checkUnnamed2360(core.List<api.MarketplaceLabel> o) { 2885 checkUnnamed2122(core.List<api.MarketplaceLabel> o) {
2793 unittest.expect(o, unittest.hasLength(2)); 2886 unittest.expect(o, unittest.hasLength(2));
2794 checkMarketplaceLabel(o[0]); 2887 checkMarketplaceLabel(o[0]);
2795 checkMarketplaceLabel(o[1]); 2888 checkMarketplaceLabel(o[1]);
2796 } 2889 }
2797 2890
2798 buildUnnamed2361() { 2891 buildUnnamed2123() {
2799 var o = new core.List<api.ContactInformation>(); 2892 var o = new core.List<api.ContactInformation>();
2800 o.add(buildContactInformation()); 2893 o.add(buildContactInformation());
2801 o.add(buildContactInformation()); 2894 o.add(buildContactInformation());
2802 return o; 2895 return o;
2803 } 2896 }
2804 2897
2805 checkUnnamed2361(core.List<api.ContactInformation> o) { 2898 checkUnnamed2123(core.List<api.ContactInformation> o) {
2806 unittest.expect(o, unittest.hasLength(2)); 2899 unittest.expect(o, unittest.hasLength(2));
2807 checkContactInformation(o[0]); 2900 checkContactInformation(o[0]);
2808 checkContactInformation(o[1]); 2901 checkContactInformation(o[1]);
2809 } 2902 }
2810 2903
2811 core.int buildCounterProposal = 0; 2904 core.int buildCounterProposal = 0;
2812 buildProposal() { 2905 buildProposal() {
2813 var o = new api.Proposal(); 2906 var o = new api.Proposal();
2814 buildCounterProposal++; 2907 buildCounterProposal++;
2815 if (buildCounterProposal < 3) { 2908 if (buildCounterProposal < 3) {
2816 o.billedBuyer = buildBuyer(); 2909 o.billedBuyer = buildBuyer();
2817 o.buyer = buildBuyer(); 2910 o.buyer = buildBuyer();
2818 o.buyerContacts = buildUnnamed2359(); 2911 o.buyerContacts = buildUnnamed2120();
2819 o.buyerPrivateData = buildPrivateData(); 2912 o.buyerPrivateData = buildPrivateData();
2913 o.dbmAdvertiserIds = buildUnnamed2121();
2820 o.hasBuyerSignedOff = true; 2914 o.hasBuyerSignedOff = true;
2821 o.hasSellerSignedOff = true; 2915 o.hasSellerSignedOff = true;
2822 o.inventorySource = "foo"; 2916 o.inventorySource = "foo";
2823 o.isRenegotiating = true; 2917 o.isRenegotiating = true;
2824 o.isSetupComplete = true; 2918 o.isSetupComplete = true;
2825 o.kind = "foo"; 2919 o.kind = "foo";
2826 o.labels = buildUnnamed2360(); 2920 o.labels = buildUnnamed2122();
2827 o.lastUpdaterOrCommentorRole = "foo"; 2921 o.lastUpdaterOrCommentorRole = "foo";
2828 o.name = "foo"; 2922 o.name = "foo";
2829 o.negotiationId = "foo"; 2923 o.negotiationId = "foo";
2830 o.originatorRole = "foo"; 2924 o.originatorRole = "foo";
2831 o.privateAuctionId = "foo"; 2925 o.privateAuctionId = "foo";
2832 o.proposalId = "foo"; 2926 o.proposalId = "foo";
2833 o.proposalState = "foo"; 2927 o.proposalState = "foo";
2834 o.revisionNumber = "foo"; 2928 o.revisionNumber = "foo";
2835 o.revisionTimeMs = "foo"; 2929 o.revisionTimeMs = "foo";
2836 o.seller = buildSeller(); 2930 o.seller = buildSeller();
2837 o.sellerContacts = buildUnnamed2361(); 2931 o.sellerContacts = buildUnnamed2123();
2838 } 2932 }
2839 buildCounterProposal--; 2933 buildCounterProposal--;
2840 return o; 2934 return o;
2841 } 2935 }
2842 2936
2843 checkProposal(api.Proposal o) { 2937 checkProposal(api.Proposal o) {
2844 buildCounterProposal++; 2938 buildCounterProposal++;
2845 if (buildCounterProposal < 3) { 2939 if (buildCounterProposal < 3) {
2846 checkBuyer(o.billedBuyer); 2940 checkBuyer(o.billedBuyer);
2847 checkBuyer(o.buyer); 2941 checkBuyer(o.buyer);
2848 checkUnnamed2359(o.buyerContacts); 2942 checkUnnamed2120(o.buyerContacts);
2849 checkPrivateData(o.buyerPrivateData); 2943 checkPrivateData(o.buyerPrivateData);
2944 checkUnnamed2121(o.dbmAdvertiserIds);
2850 unittest.expect(o.hasBuyerSignedOff, unittest.isTrue); 2945 unittest.expect(o.hasBuyerSignedOff, unittest.isTrue);
2851 unittest.expect(o.hasSellerSignedOff, unittest.isTrue); 2946 unittest.expect(o.hasSellerSignedOff, unittest.isTrue);
2852 unittest.expect(o.inventorySource, unittest.equals('foo')); 2947 unittest.expect(o.inventorySource, unittest.equals('foo'));
2853 unittest.expect(o.isRenegotiating, unittest.isTrue); 2948 unittest.expect(o.isRenegotiating, unittest.isTrue);
2854 unittest.expect(o.isSetupComplete, unittest.isTrue); 2949 unittest.expect(o.isSetupComplete, unittest.isTrue);
2855 unittest.expect(o.kind, unittest.equals('foo')); 2950 unittest.expect(o.kind, unittest.equals('foo'));
2856 checkUnnamed2360(o.labels); 2951 checkUnnamed2122(o.labels);
2857 unittest.expect(o.lastUpdaterOrCommentorRole, unittest.equals('foo')); 2952 unittest.expect(o.lastUpdaterOrCommentorRole, unittest.equals('foo'));
2858 unittest.expect(o.name, unittest.equals('foo')); 2953 unittest.expect(o.name, unittest.equals('foo'));
2859 unittest.expect(o.negotiationId, unittest.equals('foo')); 2954 unittest.expect(o.negotiationId, unittest.equals('foo'));
2860 unittest.expect(o.originatorRole, unittest.equals('foo')); 2955 unittest.expect(o.originatorRole, unittest.equals('foo'));
2861 unittest.expect(o.privateAuctionId, unittest.equals('foo')); 2956 unittest.expect(o.privateAuctionId, unittest.equals('foo'));
2862 unittest.expect(o.proposalId, unittest.equals('foo')); 2957 unittest.expect(o.proposalId, unittest.equals('foo'));
2863 unittest.expect(o.proposalState, unittest.equals('foo')); 2958 unittest.expect(o.proposalState, unittest.equals('foo'));
2864 unittest.expect(o.revisionNumber, unittest.equals('foo')); 2959 unittest.expect(o.revisionNumber, unittest.equals('foo'));
2865 unittest.expect(o.revisionTimeMs, unittest.equals('foo')); 2960 unittest.expect(o.revisionTimeMs, unittest.equals('foo'));
2866 checkSeller(o.seller); 2961 checkSeller(o.seller);
2867 checkUnnamed2361(o.sellerContacts); 2962 checkUnnamed2123(o.sellerContacts);
2868 } 2963 }
2869 buildCounterProposal--; 2964 buildCounterProposal--;
2870 } 2965 }
2871 2966
2872 buildUnnamed2362() { 2967 buildUnnamed2124() {
2873 var o = new core.List<core.String>(); 2968 var o = new core.List<core.String>();
2874 o.add("foo"); 2969 o.add("foo");
2875 o.add("foo"); 2970 o.add("foo");
2876 return o; 2971 return o;
2877 } 2972 }
2878 2973
2879 checkUnnamed2362(core.List<core.String> o) { 2974 checkUnnamed2124(core.List<core.String> o) {
2880 unittest.expect(o, unittest.hasLength(2)); 2975 unittest.expect(o, unittest.hasLength(2));
2881 unittest.expect(o[0], unittest.equals('foo')); 2976 unittest.expect(o[0], unittest.equals('foo'));
2882 unittest.expect(o[1], unittest.equals('foo')); 2977 unittest.expect(o[1], unittest.equals('foo'));
2883 } 2978 }
2884 2979
2885 buildUnnamed2363() { 2980 buildUnnamed2125() {
2886 var o = new core.List<core.String>(); 2981 var o = new core.List<core.String>();
2887 o.add("foo"); 2982 o.add("foo");
2888 o.add("foo"); 2983 o.add("foo");
2889 return o; 2984 return o;
2890 } 2985 }
2891 2986
2892 checkUnnamed2363(core.List<core.String> o) { 2987 checkUnnamed2125(core.List<core.String> o) {
2893 unittest.expect(o, unittest.hasLength(2)); 2988 unittest.expect(o, unittest.hasLength(2));
2894 unittest.expect(o[0], unittest.equals('foo')); 2989 unittest.expect(o[0], unittest.equals('foo'));
2895 unittest.expect(o[1], unittest.equals('foo')); 2990 unittest.expect(o[1], unittest.equals('foo'));
2896 } 2991 }
2897 2992
2898 core.int buildCounterPublisherProfileApiProto = 0; 2993 core.int buildCounterPublisherProfileApiProto = 0;
2899 buildPublisherProfileApiProto() { 2994 buildPublisherProfileApiProto() {
2900 var o = new api.PublisherProfileApiProto(); 2995 var o = new api.PublisherProfileApiProto();
2901 buildCounterPublisherProfileApiProto++; 2996 buildCounterPublisherProfileApiProto++;
2902 if (buildCounterPublisherProfileApiProto < 3) { 2997 if (buildCounterPublisherProfileApiProto < 3) {
2903 o.accountId = "foo"; 2998 o.accountId = "foo";
2904 o.audience = "foo"; 2999 o.audience = "foo";
2905 o.buyerPitchStatement = "foo"; 3000 o.buyerPitchStatement = "foo";
2906 o.directContact = "foo"; 3001 o.directContact = "foo";
2907 o.exchange = "foo"; 3002 o.exchange = "foo";
2908 o.googlePlusLink = "foo"; 3003 o.googlePlusLink = "foo";
2909 o.isParent = true; 3004 o.isParent = true;
2910 o.isPublished = true; 3005 o.isPublished = true;
2911 o.kind = "foo"; 3006 o.kind = "foo";
2912 o.logoUrl = "foo"; 3007 o.logoUrl = "foo";
2913 o.mediaKitLink = "foo"; 3008 o.mediaKitLink = "foo";
2914 o.name = "foo"; 3009 o.name = "foo";
2915 o.overview = "foo"; 3010 o.overview = "foo";
2916 o.profileId = 42; 3011 o.profileId = 42;
2917 o.programmaticContact = "foo"; 3012 o.programmaticContact = "foo";
2918 o.publisherDomains = buildUnnamed2362(); 3013 o.publisherDomains = buildUnnamed2124();
2919 o.publisherProfileId = "foo"; 3014 o.publisherProfileId = "foo";
2920 o.publisherProvidedForecast = buildPublisherProvidedForecast(); 3015 o.publisherProvidedForecast = buildPublisherProvidedForecast();
2921 o.rateCardInfoLink = "foo"; 3016 o.rateCardInfoLink = "foo";
2922 o.samplePageLink = "foo"; 3017 o.samplePageLink = "foo";
2923 o.seller = buildSeller(); 3018 o.seller = buildSeller();
2924 o.state = "foo"; 3019 o.state = "foo";
2925 o.topHeadlines = buildUnnamed2363(); 3020 o.topHeadlines = buildUnnamed2125();
2926 } 3021 }
2927 buildCounterPublisherProfileApiProto--; 3022 buildCounterPublisherProfileApiProto--;
2928 return o; 3023 return o;
2929 } 3024 }
2930 3025
2931 checkPublisherProfileApiProto(api.PublisherProfileApiProto o) { 3026 checkPublisherProfileApiProto(api.PublisherProfileApiProto o) {
2932 buildCounterPublisherProfileApiProto++; 3027 buildCounterPublisherProfileApiProto++;
2933 if (buildCounterPublisherProfileApiProto < 3) { 3028 if (buildCounterPublisherProfileApiProto < 3) {
2934 unittest.expect(o.accountId, unittest.equals('foo')); 3029 unittest.expect(o.accountId, unittest.equals('foo'));
2935 unittest.expect(o.audience, unittest.equals('foo')); 3030 unittest.expect(o.audience, unittest.equals('foo'));
2936 unittest.expect(o.buyerPitchStatement, unittest.equals('foo')); 3031 unittest.expect(o.buyerPitchStatement, unittest.equals('foo'));
2937 unittest.expect(o.directContact, unittest.equals('foo')); 3032 unittest.expect(o.directContact, unittest.equals('foo'));
2938 unittest.expect(o.exchange, unittest.equals('foo')); 3033 unittest.expect(o.exchange, unittest.equals('foo'));
2939 unittest.expect(o.googlePlusLink, unittest.equals('foo')); 3034 unittest.expect(o.googlePlusLink, unittest.equals('foo'));
2940 unittest.expect(o.isParent, unittest.isTrue); 3035 unittest.expect(o.isParent, unittest.isTrue);
2941 unittest.expect(o.isPublished, unittest.isTrue); 3036 unittest.expect(o.isPublished, unittest.isTrue);
2942 unittest.expect(o.kind, unittest.equals('foo')); 3037 unittest.expect(o.kind, unittest.equals('foo'));
2943 unittest.expect(o.logoUrl, unittest.equals('foo')); 3038 unittest.expect(o.logoUrl, unittest.equals('foo'));
2944 unittest.expect(o.mediaKitLink, unittest.equals('foo')); 3039 unittest.expect(o.mediaKitLink, unittest.equals('foo'));
2945 unittest.expect(o.name, unittest.equals('foo')); 3040 unittest.expect(o.name, unittest.equals('foo'));
2946 unittest.expect(o.overview, unittest.equals('foo')); 3041 unittest.expect(o.overview, unittest.equals('foo'));
2947 unittest.expect(o.profileId, unittest.equals(42)); 3042 unittest.expect(o.profileId, unittest.equals(42));
2948 unittest.expect(o.programmaticContact, unittest.equals('foo')); 3043 unittest.expect(o.programmaticContact, unittest.equals('foo'));
2949 checkUnnamed2362(o.publisherDomains); 3044 checkUnnamed2124(o.publisherDomains);
2950 unittest.expect(o.publisherProfileId, unittest.equals('foo')); 3045 unittest.expect(o.publisherProfileId, unittest.equals('foo'));
2951 checkPublisherProvidedForecast(o.publisherProvidedForecast); 3046 checkPublisherProvidedForecast(o.publisherProvidedForecast);
2952 unittest.expect(o.rateCardInfoLink, unittest.equals('foo')); 3047 unittest.expect(o.rateCardInfoLink, unittest.equals('foo'));
2953 unittest.expect(o.samplePageLink, unittest.equals('foo')); 3048 unittest.expect(o.samplePageLink, unittest.equals('foo'));
2954 checkSeller(o.seller); 3049 checkSeller(o.seller);
2955 unittest.expect(o.state, unittest.equals('foo')); 3050 unittest.expect(o.state, unittest.equals('foo'));
2956 checkUnnamed2363(o.topHeadlines); 3051 checkUnnamed2125(o.topHeadlines);
2957 } 3052 }
2958 buildCounterPublisherProfileApiProto--; 3053 buildCounterPublisherProfileApiProto--;
2959 } 3054 }
2960 3055
2961 buildUnnamed2364() { 3056 buildUnnamed2126() {
2962 var o = new core.List<api.Dimension>(); 3057 var o = new core.List<api.Dimension>();
2963 o.add(buildDimension()); 3058 o.add(buildDimension());
2964 o.add(buildDimension()); 3059 o.add(buildDimension());
2965 return o; 3060 return o;
2966 } 3061 }
2967 3062
2968 checkUnnamed2364(core.List<api.Dimension> o) { 3063 checkUnnamed2126(core.List<api.Dimension> o) {
2969 unittest.expect(o, unittest.hasLength(2)); 3064 unittest.expect(o, unittest.hasLength(2));
2970 checkDimension(o[0]); 3065 checkDimension(o[0]);
2971 checkDimension(o[1]); 3066 checkDimension(o[1]);
2972 } 3067 }
2973 3068
2974 core.int buildCounterPublisherProvidedForecast = 0; 3069 core.int buildCounterPublisherProvidedForecast = 0;
2975 buildPublisherProvidedForecast() { 3070 buildPublisherProvidedForecast() {
2976 var o = new api.PublisherProvidedForecast(); 3071 var o = new api.PublisherProvidedForecast();
2977 buildCounterPublisherProvidedForecast++; 3072 buildCounterPublisherProvidedForecast++;
2978 if (buildCounterPublisherProvidedForecast < 3) { 3073 if (buildCounterPublisherProvidedForecast < 3) {
2979 o.dimensions = buildUnnamed2364(); 3074 o.dimensions = buildUnnamed2126();
2980 o.weeklyImpressions = "foo"; 3075 o.weeklyImpressions = "foo";
2981 o.weeklyUniques = "foo"; 3076 o.weeklyUniques = "foo";
2982 } 3077 }
2983 buildCounterPublisherProvidedForecast--; 3078 buildCounterPublisherProvidedForecast--;
2984 return o; 3079 return o;
2985 } 3080 }
2986 3081
2987 checkPublisherProvidedForecast(api.PublisherProvidedForecast o) { 3082 checkPublisherProvidedForecast(api.PublisherProvidedForecast o) {
2988 buildCounterPublisherProvidedForecast++; 3083 buildCounterPublisherProvidedForecast++;
2989 if (buildCounterPublisherProvidedForecast < 3) { 3084 if (buildCounterPublisherProvidedForecast < 3) {
2990 checkUnnamed2364(o.dimensions); 3085 checkUnnamed2126(o.dimensions);
2991 unittest.expect(o.weeklyImpressions, unittest.equals('foo')); 3086 unittest.expect(o.weeklyImpressions, unittest.equals('foo'));
2992 unittest.expect(o.weeklyUniques, unittest.equals('foo')); 3087 unittest.expect(o.weeklyUniques, unittest.equals('foo'));
2993 } 3088 }
2994 buildCounterPublisherProvidedForecast--; 3089 buildCounterPublisherProvidedForecast--;
2995 } 3090 }
2996 3091
2997 core.int buildCounterSeller = 0; 3092 core.int buildCounterSeller = 0;
2998 buildSeller() { 3093 buildSeller() {
2999 var o = new api.Seller(); 3094 var o = new api.Seller();
3000 buildCounterSeller++; 3095 buildCounterSeller++;
3001 if (buildCounterSeller < 3) { 3096 if (buildCounterSeller < 3) {
3002 o.accountId = "foo"; 3097 o.accountId = "foo";
3003 o.subAccountId = "foo"; 3098 o.subAccountId = "foo";
3004 } 3099 }
3005 buildCounterSeller--; 3100 buildCounterSeller--;
3006 return o; 3101 return o;
3007 } 3102 }
3008 3103
3009 checkSeller(api.Seller o) { 3104 checkSeller(api.Seller o) {
3010 buildCounterSeller++; 3105 buildCounterSeller++;
3011 if (buildCounterSeller < 3) { 3106 if (buildCounterSeller < 3) {
3012 unittest.expect(o.accountId, unittest.equals('foo')); 3107 unittest.expect(o.accountId, unittest.equals('foo'));
3013 unittest.expect(o.subAccountId, unittest.equals('foo')); 3108 unittest.expect(o.subAccountId, unittest.equals('foo'));
3014 } 3109 }
3015 buildCounterSeller--; 3110 buildCounterSeller--;
3016 } 3111 }
3017 3112
3018 buildUnnamed2365() { 3113 buildUnnamed2127() {
3019 var o = new core.List<api.TargetingValue>(); 3114 var o = new core.List<api.TargetingValue>();
3020 o.add(buildTargetingValue()); 3115 o.add(buildTargetingValue());
3021 o.add(buildTargetingValue()); 3116 o.add(buildTargetingValue());
3022 return o; 3117 return o;
3023 } 3118 }
3024 3119
3025 checkUnnamed2365(core.List<api.TargetingValue> o) { 3120 checkUnnamed2127(core.List<api.TargetingValue> o) {
3026 unittest.expect(o, unittest.hasLength(2)); 3121 unittest.expect(o, unittest.hasLength(2));
3027 checkTargetingValue(o[0]); 3122 checkTargetingValue(o[0]);
3028 checkTargetingValue(o[1]); 3123 checkTargetingValue(o[1]);
3029 } 3124 }
3030 3125
3031 buildUnnamed2366() { 3126 buildUnnamed2128() {
3032 var o = new core.List<api.TargetingValue>(); 3127 var o = new core.List<api.TargetingValue>();
3033 o.add(buildTargetingValue()); 3128 o.add(buildTargetingValue());
3034 o.add(buildTargetingValue()); 3129 o.add(buildTargetingValue());
3035 return o; 3130 return o;
3036 } 3131 }
3037 3132
3038 checkUnnamed2366(core.List<api.TargetingValue> o) { 3133 checkUnnamed2128(core.List<api.TargetingValue> o) {
3039 unittest.expect(o, unittest.hasLength(2)); 3134 unittest.expect(o, unittest.hasLength(2));
3040 checkTargetingValue(o[0]); 3135 checkTargetingValue(o[0]);
3041 checkTargetingValue(o[1]); 3136 checkTargetingValue(o[1]);
3042 } 3137 }
3043 3138
3044 core.int buildCounterSharedTargeting = 0; 3139 core.int buildCounterSharedTargeting = 0;
3045 buildSharedTargeting() { 3140 buildSharedTargeting() {
3046 var o = new api.SharedTargeting(); 3141 var o = new api.SharedTargeting();
3047 buildCounterSharedTargeting++; 3142 buildCounterSharedTargeting++;
3048 if (buildCounterSharedTargeting < 3) { 3143 if (buildCounterSharedTargeting < 3) {
3049 o.exclusions = buildUnnamed2365(); 3144 o.exclusions = buildUnnamed2127();
3050 o.inclusions = buildUnnamed2366(); 3145 o.inclusions = buildUnnamed2128();
3051 o.key = "foo"; 3146 o.key = "foo";
3052 } 3147 }
3053 buildCounterSharedTargeting--; 3148 buildCounterSharedTargeting--;
3054 return o; 3149 return o;
3055 } 3150 }
3056 3151
3057 checkSharedTargeting(api.SharedTargeting o) { 3152 checkSharedTargeting(api.SharedTargeting o) {
3058 buildCounterSharedTargeting++; 3153 buildCounterSharedTargeting++;
3059 if (buildCounterSharedTargeting < 3) { 3154 if (buildCounterSharedTargeting < 3) {
3060 checkUnnamed2365(o.exclusions); 3155 checkUnnamed2127(o.exclusions);
3061 checkUnnamed2366(o.inclusions); 3156 checkUnnamed2128(o.inclusions);
3062 unittest.expect(o.key, unittest.equals('foo')); 3157 unittest.expect(o.key, unittest.equals('foo'));
3063 } 3158 }
3064 buildCounterSharedTargeting--; 3159 buildCounterSharedTargeting--;
3065 } 3160 }
3066 3161
3067 core.int buildCounterTargetingValue = 0; 3162 core.int buildCounterTargetingValue = 0;
3068 buildTargetingValue() { 3163 buildTargetingValue() {
3069 var o = new api.TargetingValue(); 3164 var o = new api.TargetingValue();
3070 buildCounterTargetingValue++; 3165 buildCounterTargetingValue++;
3071 if (buildCounterTargetingValue < 3) { 3166 if (buildCounterTargetingValue < 3) {
(...skipping 10 matching lines...) Expand all
3082 buildCounterTargetingValue++; 3177 buildCounterTargetingValue++;
3083 if (buildCounterTargetingValue < 3) { 3178 if (buildCounterTargetingValue < 3) {
3084 checkTargetingValueCreativeSize(o.creativeSizeValue); 3179 checkTargetingValueCreativeSize(o.creativeSizeValue);
3085 checkTargetingValueDayPartTargeting(o.dayPartTargetingValue); 3180 checkTargetingValueDayPartTargeting(o.dayPartTargetingValue);
3086 unittest.expect(o.longValue, unittest.equals('foo')); 3181 unittest.expect(o.longValue, unittest.equals('foo'));
3087 unittest.expect(o.stringValue, unittest.equals('foo')); 3182 unittest.expect(o.stringValue, unittest.equals('foo'));
3088 } 3183 }
3089 buildCounterTargetingValue--; 3184 buildCounterTargetingValue--;
3090 } 3185 }
3091 3186
3092 buildUnnamed2367() { 3187 buildUnnamed2129() {
3093 var o = new core.List<api.TargetingValueSize>(); 3188 var o = new core.List<api.TargetingValueSize>();
3094 o.add(buildTargetingValueSize()); 3189 o.add(buildTargetingValueSize());
3095 o.add(buildTargetingValueSize()); 3190 o.add(buildTargetingValueSize());
3096 return o; 3191 return o;
3097 } 3192 }
3098 3193
3099 checkUnnamed2367(core.List<api.TargetingValueSize> o) { 3194 checkUnnamed2129(core.List<api.TargetingValueSize> o) {
3100 unittest.expect(o, unittest.hasLength(2)); 3195 unittest.expect(o, unittest.hasLength(2));
3101 checkTargetingValueSize(o[0]); 3196 checkTargetingValueSize(o[0]);
3102 checkTargetingValueSize(o[1]); 3197 checkTargetingValueSize(o[1]);
3103 } 3198 }
3104 3199
3105 core.int buildCounterTargetingValueCreativeSize = 0; 3200 core.int buildCounterTargetingValueCreativeSize = 0;
3106 buildTargetingValueCreativeSize() { 3201 buildTargetingValueCreativeSize() {
3107 var o = new api.TargetingValueCreativeSize(); 3202 var o = new api.TargetingValueCreativeSize();
3108 buildCounterTargetingValueCreativeSize++; 3203 buildCounterTargetingValueCreativeSize++;
3109 if (buildCounterTargetingValueCreativeSize < 3) { 3204 if (buildCounterTargetingValueCreativeSize < 3) {
3110 o.companionSizes = buildUnnamed2367(); 3205 o.companionSizes = buildUnnamed2129();
3111 o.creativeSizeType = "foo"; 3206 o.creativeSizeType = "foo";
3112 o.size = buildTargetingValueSize(); 3207 o.size = buildTargetingValueSize();
3113 o.skippableAdType = "foo"; 3208 o.skippableAdType = "foo";
3114 } 3209 }
3115 buildCounterTargetingValueCreativeSize--; 3210 buildCounterTargetingValueCreativeSize--;
3116 return o; 3211 return o;
3117 } 3212 }
3118 3213
3119 checkTargetingValueCreativeSize(api.TargetingValueCreativeSize o) { 3214 checkTargetingValueCreativeSize(api.TargetingValueCreativeSize o) {
3120 buildCounterTargetingValueCreativeSize++; 3215 buildCounterTargetingValueCreativeSize++;
3121 if (buildCounterTargetingValueCreativeSize < 3) { 3216 if (buildCounterTargetingValueCreativeSize < 3) {
3122 checkUnnamed2367(o.companionSizes); 3217 checkUnnamed2129(o.companionSizes);
3123 unittest.expect(o.creativeSizeType, unittest.equals('foo')); 3218 unittest.expect(o.creativeSizeType, unittest.equals('foo'));
3124 checkTargetingValueSize(o.size); 3219 checkTargetingValueSize(o.size);
3125 unittest.expect(o.skippableAdType, unittest.equals('foo')); 3220 unittest.expect(o.skippableAdType, unittest.equals('foo'));
3126 } 3221 }
3127 buildCounterTargetingValueCreativeSize--; 3222 buildCounterTargetingValueCreativeSize--;
3128 } 3223 }
3129 3224
3130 buildUnnamed2368() { 3225 buildUnnamed2130() {
3131 var o = new core.List<api.TargetingValueDayPartTargetingDayPart>(); 3226 var o = new core.List<api.TargetingValueDayPartTargetingDayPart>();
3132 o.add(buildTargetingValueDayPartTargetingDayPart()); 3227 o.add(buildTargetingValueDayPartTargetingDayPart());
3133 o.add(buildTargetingValueDayPartTargetingDayPart()); 3228 o.add(buildTargetingValueDayPartTargetingDayPart());
3134 return o; 3229 return o;
3135 } 3230 }
3136 3231
3137 checkUnnamed2368(core.List<api.TargetingValueDayPartTargetingDayPart> o) { 3232 checkUnnamed2130(core.List<api.TargetingValueDayPartTargetingDayPart> o) {
3138 unittest.expect(o, unittest.hasLength(2)); 3233 unittest.expect(o, unittest.hasLength(2));
3139 checkTargetingValueDayPartTargetingDayPart(o[0]); 3234 checkTargetingValueDayPartTargetingDayPart(o[0]);
3140 checkTargetingValueDayPartTargetingDayPart(o[1]); 3235 checkTargetingValueDayPartTargetingDayPart(o[1]);
3141 } 3236 }
3142 3237
3143 core.int buildCounterTargetingValueDayPartTargeting = 0; 3238 core.int buildCounterTargetingValueDayPartTargeting = 0;
3144 buildTargetingValueDayPartTargeting() { 3239 buildTargetingValueDayPartTargeting() {
3145 var o = new api.TargetingValueDayPartTargeting(); 3240 var o = new api.TargetingValueDayPartTargeting();
3146 buildCounterTargetingValueDayPartTargeting++; 3241 buildCounterTargetingValueDayPartTargeting++;
3147 if (buildCounterTargetingValueDayPartTargeting < 3) { 3242 if (buildCounterTargetingValueDayPartTargeting < 3) {
3148 o.dayParts = buildUnnamed2368(); 3243 o.dayParts = buildUnnamed2130();
3149 o.timeZoneType = "foo"; 3244 o.timeZoneType = "foo";
3150 } 3245 }
3151 buildCounterTargetingValueDayPartTargeting--; 3246 buildCounterTargetingValueDayPartTargeting--;
3152 return o; 3247 return o;
3153 } 3248 }
3154 3249
3155 checkTargetingValueDayPartTargeting(api.TargetingValueDayPartTargeting o) { 3250 checkTargetingValueDayPartTargeting(api.TargetingValueDayPartTargeting o) {
3156 buildCounterTargetingValueDayPartTargeting++; 3251 buildCounterTargetingValueDayPartTargeting++;
3157 if (buildCounterTargetingValueDayPartTargeting < 3) { 3252 if (buildCounterTargetingValueDayPartTargeting < 3) {
3158 checkUnnamed2368(o.dayParts); 3253 checkUnnamed2130(o.dayParts);
3159 unittest.expect(o.timeZoneType, unittest.equals('foo')); 3254 unittest.expect(o.timeZoneType, unittest.equals('foo'));
3160 } 3255 }
3161 buildCounterTargetingValueDayPartTargeting--; 3256 buildCounterTargetingValueDayPartTargeting--;
3162 } 3257 }
3163 3258
3164 core.int buildCounterTargetingValueDayPartTargetingDayPart = 0; 3259 core.int buildCounterTargetingValueDayPartTargetingDayPart = 0;
3165 buildTargetingValueDayPartTargetingDayPart() { 3260 buildTargetingValueDayPartTargetingDayPart() {
3166 var o = new api.TargetingValueDayPartTargetingDayPart(); 3261 var o = new api.TargetingValueDayPartTargetingDayPart();
3167 buildCounterTargetingValueDayPartTargetingDayPart++; 3262 buildCounterTargetingValueDayPartTargetingDayPart++;
3168 if (buildCounterTargetingValueDayPartTargetingDayPart < 3) { 3263 if (buildCounterTargetingValueDayPartTargetingDayPart < 3) {
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
3227 buildCounterUpdatePrivateAuctionProposalRequest++; 3322 buildCounterUpdatePrivateAuctionProposalRequest++;
3228 if (buildCounterUpdatePrivateAuctionProposalRequest < 3) { 3323 if (buildCounterUpdatePrivateAuctionProposalRequest < 3) {
3229 unittest.expect(o.externalDealId, unittest.equals('foo')); 3324 unittest.expect(o.externalDealId, unittest.equals('foo'));
3230 checkMarketplaceNote(o.note); 3325 checkMarketplaceNote(o.note);
3231 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); 3326 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo'));
3232 unittest.expect(o.updateAction, unittest.equals('foo')); 3327 unittest.expect(o.updateAction, unittest.equals('foo'));
3233 } 3328 }
3234 buildCounterUpdatePrivateAuctionProposalRequest--; 3329 buildCounterUpdatePrivateAuctionProposalRequest--;
3235 } 3330 }
3236 3331
3237 buildUnnamed2369() { 3332 buildUnnamed2131() {
3238 var o = new core.List<core.int>(); 3333 var o = new core.List<core.int>();
3239 o.add(42); 3334 o.add(42);
3240 o.add(42); 3335 o.add(42);
3241 return o; 3336 return o;
3242 } 3337 }
3243 3338
3244 checkUnnamed2369(core.List<core.int> o) { 3339 checkUnnamed2131(core.List<core.int> o) {
3245 unittest.expect(o, unittest.hasLength(2)); 3340 unittest.expect(o, unittest.hasLength(2));
3246 unittest.expect(o[0], unittest.equals(42)); 3341 unittest.expect(o[0], unittest.equals(42));
3247 unittest.expect(o[1], unittest.equals(42)); 3342 unittest.expect(o[1], unittest.equals(42));
3248 } 3343 }
3249 3344
3250 buildUnnamed2370() { 3345 buildUnnamed2132() {
3251 var o = new core.List<core.String>(); 3346 var o = new core.List<core.String>();
3252 o.add("foo"); 3347 o.add("foo");
3253 o.add("foo"); 3348 o.add("foo");
3254 return o; 3349 return o;
3255 } 3350 }
3256 3351
3257 checkUnnamed2370(core.List<core.String> o) { 3352 checkUnnamed2132(core.List<core.String> o) {
3258 unittest.expect(o, unittest.hasLength(2)); 3353 unittest.expect(o, unittest.hasLength(2));
3259 unittest.expect(o[0], unittest.equals('foo')); 3354 unittest.expect(o[0], unittest.equals('foo'));
3260 unittest.expect(o[1], unittest.equals('foo')); 3355 unittest.expect(o[1], unittest.equals('foo'));
3261 } 3356 }
3262 3357
3263 3358
3264 main() { 3359 main() {
3265 unittest.group("obj-schema-AccountBidderLocation", () { 3360 unittest.group("obj-schema-AccountBidderLocation", () {
3266 unittest.test("to-json--from-json", () { 3361 unittest.test("to-json--from-json", () {
3267 var o = buildAccountBidderLocation(); 3362 var o = buildAccountBidderLocation();
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
3489 3584
3490 unittest.group("obj-schema-Creative", () { 3585 unittest.group("obj-schema-Creative", () {
3491 unittest.test("to-json--from-json", () { 3586 unittest.test("to-json--from-json", () {
3492 var o = buildCreative(); 3587 var o = buildCreative();
3493 var od = new api.Creative.fromJson(o.toJson()); 3588 var od = new api.Creative.fromJson(o.toJson());
3494 checkCreative(od); 3589 checkCreative(od);
3495 }); 3590 });
3496 }); 3591 });
3497 3592
3498 3593
3594 unittest.group("obj-schema-CreativeDealIdsDealStatuses", () {
3595 unittest.test("to-json--from-json", () {
3596 var o = buildCreativeDealIdsDealStatuses();
3597 var od = new api.CreativeDealIdsDealStatuses.fromJson(o.toJson());
3598 checkCreativeDealIdsDealStatuses(od);
3599 });
3600 });
3601
3602
3603 unittest.group("obj-schema-CreativeDealIds", () {
3604 unittest.test("to-json--from-json", () {
3605 var o = buildCreativeDealIds();
3606 var od = new api.CreativeDealIds.fromJson(o.toJson());
3607 checkCreativeDealIds(od);
3608 });
3609 });
3610
3611
3499 unittest.group("obj-schema-CreativesList", () { 3612 unittest.group("obj-schema-CreativesList", () {
3500 unittest.test("to-json--from-json", () { 3613 unittest.test("to-json--from-json", () {
3501 var o = buildCreativesList(); 3614 var o = buildCreativesList();
3502 var od = new api.CreativesList.fromJson(o.toJson()); 3615 var od = new api.CreativesList.fromJson(o.toJson());
3503 checkCreativesList(od); 3616 checkCreativesList(od);
3504 }); 3617 });
3505 }); 3618 });
3506 3619
3507 3620
3508 unittest.group("obj-schema-DealServingMetadata", () { 3621 unittest.group("obj-schema-DealServingMetadata", () {
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
4031 checkAccountsList(response); 4144 checkAccountsList(response);
4032 }))); 4145 })));
4033 }); 4146 });
4034 4147
4035 unittest.test("method--patch", () { 4148 unittest.test("method--patch", () {
4036 4149
4037 var mock = new HttpServerMock(); 4150 var mock = new HttpServerMock();
4038 api.AccountsResourceApi res = new api.AdexchangebuyerApi(mock).accounts; 4151 api.AccountsResourceApi res = new api.AdexchangebuyerApi(mock).accounts;
4039 var arg_request = buildAccount(); 4152 var arg_request = buildAccount();
4040 var arg_id = 42; 4153 var arg_id = 42;
4154 var arg_confirmUnsafeAccountChange = true;
4041 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 4155 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
4042 var obj = new api.Account.fromJson(json); 4156 var obj = new api.Account.fromJson(json);
4043 checkAccount(obj); 4157 checkAccount(obj);
4044 4158
4045 var path = (req.url).path; 4159 var path = (req.url).path;
4046 var pathOffset = 0; 4160 var pathOffset = 0;
4047 var index; 4161 var index;
4048 var subPart; 4162 var subPart;
4049 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 4163 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
4050 pathOffset += 1; 4164 pathOffset += 1;
(...skipping 14 matching lines...) Expand all
4065 if (n == "false") return false; 4179 if (n == "false") return false;
4066 if (n == null) return null; 4180 if (n == null) return null;
4067 throw new core.ArgumentError("Invalid boolean: $n"); 4181 throw new core.ArgumentError("Invalid boolean: $n");
4068 } 4182 }
4069 if (query.length > 0) { 4183 if (query.length > 0) {
4070 for (var part in query.split("&")) { 4184 for (var part in query.split("&")) {
4071 var keyvalue = part.split("="); 4185 var keyvalue = part.split("=");
4072 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 4186 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
4073 } 4187 }
4074 } 4188 }
4189 unittest.expect(queryMap["confirmUnsafeAccountChange"].first, unittest.e quals("$arg_confirmUnsafeAccountChange"));
4075 4190
4076 4191
4077 var h = { 4192 var h = {
4078 "content-type" : "application/json; charset=utf-8", 4193 "content-type" : "application/json; charset=utf-8",
4079 }; 4194 };
4080 var resp = convert.JSON.encode(buildAccount()); 4195 var resp = convert.JSON.encode(buildAccount());
4081 return new async.Future.value(stringResponse(200, h, resp)); 4196 return new async.Future.value(stringResponse(200, h, resp));
4082 }), true); 4197 }), true);
4083 res.patch(arg_request, arg_id).then(unittest.expectAsync(((api.Account res ponse) { 4198 res.patch(arg_request, arg_id, confirmUnsafeAccountChange: arg_confirmUnsa feAccountChange).then(unittest.expectAsync(((api.Account response) {
4084 checkAccount(response); 4199 checkAccount(response);
4085 }))); 4200 })));
4086 }); 4201 });
4087 4202
4088 unittest.test("method--update", () { 4203 unittest.test("method--update", () {
4089 4204
4090 var mock = new HttpServerMock(); 4205 var mock = new HttpServerMock();
4091 api.AccountsResourceApi res = new api.AdexchangebuyerApi(mock).accounts; 4206 api.AccountsResourceApi res = new api.AdexchangebuyerApi(mock).accounts;
4092 var arg_request = buildAccount(); 4207 var arg_request = buildAccount();
4093 var arg_id = 42; 4208 var arg_id = 42;
4209 var arg_confirmUnsafeAccountChange = true;
4094 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 4210 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
4095 var obj = new api.Account.fromJson(json); 4211 var obj = new api.Account.fromJson(json);
4096 checkAccount(obj); 4212 checkAccount(obj);
4097 4213
4098 var path = (req.url).path; 4214 var path = (req.url).path;
4099 var pathOffset = 0; 4215 var pathOffset = 0;
4100 var index; 4216 var index;
4101 var subPart; 4217 var subPart;
4102 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 4218 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
4103 pathOffset += 1; 4219 pathOffset += 1;
(...skipping 14 matching lines...) Expand all
4118 if (n == "false") return false; 4234 if (n == "false") return false;
4119 if (n == null) return null; 4235 if (n == null) return null;
4120 throw new core.ArgumentError("Invalid boolean: $n"); 4236 throw new core.ArgumentError("Invalid boolean: $n");
4121 } 4237 }
4122 if (query.length > 0) { 4238 if (query.length > 0) {
4123 for (var part in query.split("&")) { 4239 for (var part in query.split("&")) {
4124 var keyvalue = part.split("="); 4240 var keyvalue = part.split("=");
4125 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 4241 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
4126 } 4242 }
4127 } 4243 }
4244 unittest.expect(queryMap["confirmUnsafeAccountChange"].first, unittest.e quals("$arg_confirmUnsafeAccountChange"));
4128 4245
4129 4246
4130 var h = { 4247 var h = {
4131 "content-type" : "application/json; charset=utf-8", 4248 "content-type" : "application/json; charset=utf-8",
4132 }; 4249 };
4133 var resp = convert.JSON.encode(buildAccount()); 4250 var resp = convert.JSON.encode(buildAccount());
4134 return new async.Future.value(stringResponse(200, h, resp)); 4251 return new async.Future.value(stringResponse(200, h, resp));
4135 }), true); 4252 }), true);
4136 res.update(arg_request, arg_id).then(unittest.expectAsync(((api.Account re sponse) { 4253 res.update(arg_request, arg_id, confirmUnsafeAccountChange: arg_confirmUns afeAccountChange).then(unittest.expectAsync(((api.Account response) {
4137 checkAccount(response); 4254 checkAccount(response);
4138 }))); 4255 })));
4139 }); 4256 });
4140 4257
4141 }); 4258 });
4142 4259
4143 4260
4144 unittest.group("resource-BillingInfoResourceApi", () { 4261 unittest.group("resource-BillingInfoResourceApi", () {
4145 unittest.test("method--get", () { 4262 unittest.test("method--get", () {
4146 4263
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
4589 }), true); 4706 }), true);
4590 res.insert(arg_request).then(unittest.expectAsync(((api.Creative response) { 4707 res.insert(arg_request).then(unittest.expectAsync(((api.Creative response) {
4591 checkCreative(response); 4708 checkCreative(response);
4592 }))); 4709 })));
4593 }); 4710 });
4594 4711
4595 unittest.test("method--list", () { 4712 unittest.test("method--list", () {
4596 4713
4597 var mock = new HttpServerMock(); 4714 var mock = new HttpServerMock();
4598 api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives; 4715 api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives;
4599 var arg_accountId = buildUnnamed2369(); 4716 var arg_accountId = buildUnnamed2131();
4600 var arg_buyerCreativeId = buildUnnamed2370(); 4717 var arg_buyerCreativeId = buildUnnamed2132();
4601 var arg_dealsStatusFilter = "foo"; 4718 var arg_dealsStatusFilter = "foo";
4602 var arg_maxResults = 42; 4719 var arg_maxResults = 42;
4603 var arg_openAuctionStatusFilter = "foo"; 4720 var arg_openAuctionStatusFilter = "foo";
4604 var arg_pageToken = "foo"; 4721 var arg_pageToken = "foo";
4605 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 4722 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
4606 var path = (req.url).path; 4723 var path = (req.url).path;
4607 var pathOffset = 0; 4724 var pathOffset = 0;
4608 var index; 4725 var index;
4609 var subPart; 4726 var subPart;
4610 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 4727 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
4642 "content-type" : "application/json; charset=utf-8", 4759 "content-type" : "application/json; charset=utf-8",
4643 }; 4760 };
4644 var resp = convert.JSON.encode(buildCreativesList()); 4761 var resp = convert.JSON.encode(buildCreativesList());
4645 return new async.Future.value(stringResponse(200, h, resp)); 4762 return new async.Future.value(stringResponse(200, h, resp));
4646 }), true); 4763 }), true);
4647 res.list(accountId: arg_accountId, buyerCreativeId: arg_buyerCreativeId, d ealsStatusFilter: arg_dealsStatusFilter, maxResults: arg_maxResults, openAuction StatusFilter: arg_openAuctionStatusFilter, pageToken: arg_pageToken).then(unitte st.expectAsync(((api.CreativesList response) { 4764 res.list(accountId: arg_accountId, buyerCreativeId: arg_buyerCreativeId, d ealsStatusFilter: arg_dealsStatusFilter, maxResults: arg_maxResults, openAuction StatusFilter: arg_openAuctionStatusFilter, pageToken: arg_pageToken).then(unitte st.expectAsync(((api.CreativesList response) {
4648 checkCreativesList(response); 4765 checkCreativesList(response);
4649 }))); 4766 })));
4650 }); 4767 });
4651 4768
4769 unittest.test("method--listDeals", () {
4770
4771 var mock = new HttpServerMock();
4772 api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives;
4773 var arg_accountId = 42;
4774 var arg_buyerCreativeId = "foo";
4775 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
4776 var path = (req.url).path;
4777 var pathOffset = 0;
4778 var index;
4779 var subPart;
4780 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
4781 pathOffset += 1;
4782 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq uals("adexchangebuyer/v1.4/"));
4783 pathOffset += 21;
4784 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq uals("creatives/"));
4785 pathOffset += 10;
4786 index = path.indexOf("/", pathOffset);
4787 unittest.expect(index >= 0, unittest.isTrue);
4788 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index ));
4789 pathOffset = index;
4790 unittest.expect(subPart, unittest.equals("$arg_accountId"));
4791 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
4792 pathOffset += 1;
4793 index = path.indexOf("/listDeals", pathOffset);
4794 unittest.expect(index >= 0, unittest.isTrue);
4795 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index ));
4796 pathOffset = index;
4797 unittest.expect(subPart, unittest.equals("$arg_buyerCreativeId"));
4798 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq uals("/listDeals"));
4799 pathOffset += 10;
4800
4801 var query = (req.url).query;
4802 var queryOffset = 0;
4803 var queryMap = {};
4804 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
4805 parseBool(n) {
4806 if (n == "true") return true;
4807 if (n == "false") return false;
4808 if (n == null) return null;
4809 throw new core.ArgumentError("Invalid boolean: $n");
4810 }
4811 if (query.length > 0) {
4812 for (var part in query.split("&")) {
4813 var keyvalue = part.split("=");
4814 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
4815 }
4816 }
4817
4818
4819 var h = {
4820 "content-type" : "application/json; charset=utf-8",
4821 };
4822 var resp = convert.JSON.encode(buildCreativeDealIds());
4823 return new async.Future.value(stringResponse(200, h, resp));
4824 }), true);
4825 res.listDeals(arg_accountId, arg_buyerCreativeId).then(unittest.expectAsyn c(((api.CreativeDealIds response) {
4826 checkCreativeDealIds(response);
4827 })));
4828 });
4829
4652 unittest.test("method--removeDeal", () { 4830 unittest.test("method--removeDeal", () {
4653 4831
4654 var mock = new HttpServerMock(); 4832 var mock = new HttpServerMock();
4655 api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives; 4833 api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives;
4656 var arg_accountId = 42; 4834 var arg_accountId = 42;
4657 var arg_buyerCreativeId = "foo"; 4835 var arg_buyerCreativeId = "foo";
4658 var arg_dealId = "foo"; 4836 var arg_dealId = "foo";
4659 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 4837 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
4660 var path = (req.url).path; 4838 var path = (req.url).path;
4661 var pathOffset = 0; 4839 var pathOffset = 0;
(...skipping 1347 matching lines...) Expand 10 before | Expand all | Expand 10 after
6009 res.list(arg_accountId).then(unittest.expectAsync(((api.GetPublisherProfil esByAccountIdResponse response) { 6187 res.list(arg_accountId).then(unittest.expectAsync(((api.GetPublisherProfil esByAccountIdResponse response) {
6010 checkGetPublisherProfilesByAccountIdResponse(response); 6188 checkGetPublisherProfilesByAccountIdResponse(response);
6011 }))); 6189 })));
6012 }); 6190 });
6013 6191
6014 }); 6192 });
6015 6193
6016 6194
6017 } 6195 }
6018 6196
OLDNEW
« no previous file with comments | « generated/googleapis/test/adexchangebuyer/v1_3_test.dart ('k') | generated/googleapis/test/adexchangeseller/v1_1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698