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

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

Issue 1797933002: Api-roll 33: 2016-03-14 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Added resources/*/CHANGELOG.md, addresssed comments Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 library googleapis.adexchangebuyer.v1_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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 core.int status, core.Map headers, core.String body) { 49 core.int status, core.Map headers, core.String body) {
50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]);
51 return new http.StreamedResponse(stream, status, headers: headers); 51 return new http.StreamedResponse(stream, status, headers: headers);
52 } 52 }
53 53
54 core.int buildCounterAccountBidderLocation = 0; 54 core.int buildCounterAccountBidderLocation = 0;
55 buildAccountBidderLocation() { 55 buildAccountBidderLocation() {
56 var o = new api.AccountBidderLocation(); 56 var o = new api.AccountBidderLocation();
57 buildCounterAccountBidderLocation++; 57 buildCounterAccountBidderLocation++;
58 if (buildCounterAccountBidderLocation < 3) { 58 if (buildCounterAccountBidderLocation < 3) {
59 o.bidProtocol = "foo";
59 o.maximumQps = 42; 60 o.maximumQps = 42;
60 o.region = "foo"; 61 o.region = "foo";
61 o.url = "foo"; 62 o.url = "foo";
62 } 63 }
63 buildCounterAccountBidderLocation--; 64 buildCounterAccountBidderLocation--;
64 return o; 65 return o;
65 } 66 }
66 67
67 checkAccountBidderLocation(api.AccountBidderLocation o) { 68 checkAccountBidderLocation(api.AccountBidderLocation o) {
68 buildCounterAccountBidderLocation++; 69 buildCounterAccountBidderLocation++;
69 if (buildCounterAccountBidderLocation < 3) { 70 if (buildCounterAccountBidderLocation < 3) {
71 unittest.expect(o.bidProtocol, unittest.equals('foo'));
70 unittest.expect(o.maximumQps, unittest.equals(42)); 72 unittest.expect(o.maximumQps, unittest.equals(42));
71 unittest.expect(o.region, unittest.equals('foo')); 73 unittest.expect(o.region, unittest.equals('foo'));
72 unittest.expect(o.url, unittest.equals('foo')); 74 unittest.expect(o.url, unittest.equals('foo'));
73 } 75 }
74 buildCounterAccountBidderLocation--; 76 buildCounterAccountBidderLocation--;
75 } 77 }
76 78
77 buildUnnamed1919() { 79 buildUnnamed2231() {
78 var o = new core.List<api.AccountBidderLocation>(); 80 var o = new core.List<api.AccountBidderLocation>();
79 o.add(buildAccountBidderLocation()); 81 o.add(buildAccountBidderLocation());
80 o.add(buildAccountBidderLocation()); 82 o.add(buildAccountBidderLocation());
81 return o; 83 return o;
82 } 84 }
83 85
84 checkUnnamed1919(core.List<api.AccountBidderLocation> o) { 86 checkUnnamed2231(core.List<api.AccountBidderLocation> o) {
85 unittest.expect(o, unittest.hasLength(2)); 87 unittest.expect(o, unittest.hasLength(2));
86 checkAccountBidderLocation(o[0]); 88 checkAccountBidderLocation(o[0]);
87 checkAccountBidderLocation(o[1]); 89 checkAccountBidderLocation(o[1]);
88 } 90 }
89 91
90 core.int buildCounterAccount = 0; 92 core.int buildCounterAccount = 0;
91 buildAccount() { 93 buildAccount() {
92 var o = new api.Account(); 94 var o = new api.Account();
93 buildCounterAccount++; 95 buildCounterAccount++;
94 if (buildCounterAccount < 3) { 96 if (buildCounterAccount < 3) {
95 o.bidderLocation = buildUnnamed1919(); 97 o.bidderLocation = buildUnnamed2231();
96 o.cookieMatchingNid = "foo"; 98 o.cookieMatchingNid = "foo";
97 o.cookieMatchingUrl = "foo"; 99 o.cookieMatchingUrl = "foo";
98 o.id = 42; 100 o.id = 42;
99 o.kind = "foo"; 101 o.kind = "foo";
100 o.maximumActiveCreatives = 42; 102 o.maximumActiveCreatives = 42;
101 o.maximumTotalQps = 42; 103 o.maximumTotalQps = 42;
102 o.numberActiveCreatives = 42; 104 o.numberActiveCreatives = 42;
103 } 105 }
104 buildCounterAccount--; 106 buildCounterAccount--;
105 return o; 107 return o;
106 } 108 }
107 109
108 checkAccount(api.Account o) { 110 checkAccount(api.Account o) {
109 buildCounterAccount++; 111 buildCounterAccount++;
110 if (buildCounterAccount < 3) { 112 if (buildCounterAccount < 3) {
111 checkUnnamed1919(o.bidderLocation); 113 checkUnnamed2231(o.bidderLocation);
112 unittest.expect(o.cookieMatchingNid, unittest.equals('foo')); 114 unittest.expect(o.cookieMatchingNid, unittest.equals('foo'));
113 unittest.expect(o.cookieMatchingUrl, unittest.equals('foo')); 115 unittest.expect(o.cookieMatchingUrl, unittest.equals('foo'));
114 unittest.expect(o.id, unittest.equals(42)); 116 unittest.expect(o.id, unittest.equals(42));
115 unittest.expect(o.kind, unittest.equals('foo')); 117 unittest.expect(o.kind, unittest.equals('foo'));
116 unittest.expect(o.maximumActiveCreatives, unittest.equals(42)); 118 unittest.expect(o.maximumActiveCreatives, unittest.equals(42));
117 unittest.expect(o.maximumTotalQps, unittest.equals(42)); 119 unittest.expect(o.maximumTotalQps, unittest.equals(42));
118 unittest.expect(o.numberActiveCreatives, unittest.equals(42)); 120 unittest.expect(o.numberActiveCreatives, unittest.equals(42));
119 } 121 }
120 buildCounterAccount--; 122 buildCounterAccount--;
121 } 123 }
122 124
123 buildUnnamed1920() { 125 buildUnnamed2232() {
124 var o = new core.List<api.Account>(); 126 var o = new core.List<api.Account>();
125 o.add(buildAccount()); 127 o.add(buildAccount());
126 o.add(buildAccount()); 128 o.add(buildAccount());
127 return o; 129 return o;
128 } 130 }
129 131
130 checkUnnamed1920(core.List<api.Account> o) { 132 checkUnnamed2232(core.List<api.Account> o) {
131 unittest.expect(o, unittest.hasLength(2)); 133 unittest.expect(o, unittest.hasLength(2));
132 checkAccount(o[0]); 134 checkAccount(o[0]);
133 checkAccount(o[1]); 135 checkAccount(o[1]);
134 } 136 }
135 137
136 core.int buildCounterAccountsList = 0; 138 core.int buildCounterAccountsList = 0;
137 buildAccountsList() { 139 buildAccountsList() {
138 var o = new api.AccountsList(); 140 var o = new api.AccountsList();
139 buildCounterAccountsList++; 141 buildCounterAccountsList++;
140 if (buildCounterAccountsList < 3) { 142 if (buildCounterAccountsList < 3) {
141 o.items = buildUnnamed1920(); 143 o.items = buildUnnamed2232();
142 o.kind = "foo"; 144 o.kind = "foo";
143 } 145 }
144 buildCounterAccountsList--; 146 buildCounterAccountsList--;
145 return o; 147 return o;
146 } 148 }
147 149
148 checkAccountsList(api.AccountsList o) { 150 checkAccountsList(api.AccountsList o) {
149 buildCounterAccountsList++; 151 buildCounterAccountsList++;
150 if (buildCounterAccountsList < 3) { 152 if (buildCounterAccountsList < 3) {
151 checkUnnamed1920(o.items); 153 checkUnnamed2232(o.items);
152 unittest.expect(o.kind, unittest.equals('foo')); 154 unittest.expect(o.kind, unittest.equals('foo'));
153 } 155 }
154 buildCounterAccountsList--; 156 buildCounterAccountsList--;
155 } 157 }
156 158
157 buildUnnamed1921() { 159 buildUnnamed2233() {
158 var o = new core.List<api.MarketplaceDeal>(); 160 var o = new core.List<api.MarketplaceDeal>();
159 o.add(buildMarketplaceDeal()); 161 o.add(buildMarketplaceDeal());
160 o.add(buildMarketplaceDeal()); 162 o.add(buildMarketplaceDeal());
161 return o; 163 return o;
162 } 164 }
163 165
164 checkUnnamed1921(core.List<api.MarketplaceDeal> o) { 166 checkUnnamed2233(core.List<api.MarketplaceDeal> o) {
165 unittest.expect(o, unittest.hasLength(2)); 167 unittest.expect(o, unittest.hasLength(2));
166 checkMarketplaceDeal(o[0]); 168 checkMarketplaceDeal(o[0]);
167 checkMarketplaceDeal(o[1]); 169 checkMarketplaceDeal(o[1]);
168 } 170 }
169 171
170 core.int buildCounterAddOrderDealsRequest = 0; 172 core.int buildCounterAddOrderDealsRequest = 0;
171 buildAddOrderDealsRequest() { 173 buildAddOrderDealsRequest() {
172 var o = new api.AddOrderDealsRequest(); 174 var o = new api.AddOrderDealsRequest();
173 buildCounterAddOrderDealsRequest++; 175 buildCounterAddOrderDealsRequest++;
174 if (buildCounterAddOrderDealsRequest < 3) { 176 if (buildCounterAddOrderDealsRequest < 3) {
175 o.deals = buildUnnamed1921(); 177 o.deals = buildUnnamed2233();
176 o.proposalRevisionNumber = "foo"; 178 o.proposalRevisionNumber = "foo";
177 o.updateAction = "foo"; 179 o.updateAction = "foo";
178 } 180 }
179 buildCounterAddOrderDealsRequest--; 181 buildCounterAddOrderDealsRequest--;
180 return o; 182 return o;
181 } 183 }
182 184
183 checkAddOrderDealsRequest(api.AddOrderDealsRequest o) { 185 checkAddOrderDealsRequest(api.AddOrderDealsRequest o) {
184 buildCounterAddOrderDealsRequest++; 186 buildCounterAddOrderDealsRequest++;
185 if (buildCounterAddOrderDealsRequest < 3) { 187 if (buildCounterAddOrderDealsRequest < 3) {
186 checkUnnamed1921(o.deals); 188 checkUnnamed2233(o.deals);
187 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); 189 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo'));
188 unittest.expect(o.updateAction, unittest.equals('foo')); 190 unittest.expect(o.updateAction, unittest.equals('foo'));
189 } 191 }
190 buildCounterAddOrderDealsRequest--; 192 buildCounterAddOrderDealsRequest--;
191 } 193 }
192 194
193 buildUnnamed1922() { 195 buildUnnamed2234() {
194 var o = new core.List<api.MarketplaceDeal>(); 196 var o = new core.List<api.MarketplaceDeal>();
195 o.add(buildMarketplaceDeal()); 197 o.add(buildMarketplaceDeal());
196 o.add(buildMarketplaceDeal()); 198 o.add(buildMarketplaceDeal());
197 return o; 199 return o;
198 } 200 }
199 201
200 checkUnnamed1922(core.List<api.MarketplaceDeal> o) { 202 checkUnnamed2234(core.List<api.MarketplaceDeal> o) {
201 unittest.expect(o, unittest.hasLength(2)); 203 unittest.expect(o, unittest.hasLength(2));
202 checkMarketplaceDeal(o[0]); 204 checkMarketplaceDeal(o[0]);
203 checkMarketplaceDeal(o[1]); 205 checkMarketplaceDeal(o[1]);
204 } 206 }
205 207
206 core.int buildCounterAddOrderDealsResponse = 0; 208 core.int buildCounterAddOrderDealsResponse = 0;
207 buildAddOrderDealsResponse() { 209 buildAddOrderDealsResponse() {
208 var o = new api.AddOrderDealsResponse(); 210 var o = new api.AddOrderDealsResponse();
209 buildCounterAddOrderDealsResponse++; 211 buildCounterAddOrderDealsResponse++;
210 if (buildCounterAddOrderDealsResponse < 3) { 212 if (buildCounterAddOrderDealsResponse < 3) {
211 o.deals = buildUnnamed1922(); 213 o.deals = buildUnnamed2234();
212 o.proposalRevisionNumber = "foo"; 214 o.proposalRevisionNumber = "foo";
213 } 215 }
214 buildCounterAddOrderDealsResponse--; 216 buildCounterAddOrderDealsResponse--;
215 return o; 217 return o;
216 } 218 }
217 219
218 checkAddOrderDealsResponse(api.AddOrderDealsResponse o) { 220 checkAddOrderDealsResponse(api.AddOrderDealsResponse o) {
219 buildCounterAddOrderDealsResponse++; 221 buildCounterAddOrderDealsResponse++;
220 if (buildCounterAddOrderDealsResponse < 3) { 222 if (buildCounterAddOrderDealsResponse < 3) {
221 checkUnnamed1922(o.deals); 223 checkUnnamed2234(o.deals);
222 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); 224 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo'));
223 } 225 }
224 buildCounterAddOrderDealsResponse--; 226 buildCounterAddOrderDealsResponse--;
225 } 227 }
226 228
227 buildUnnamed1923() { 229 buildUnnamed2235() {
228 var o = new core.List<api.MarketplaceNote>(); 230 var o = new core.List<api.MarketplaceNote>();
229 o.add(buildMarketplaceNote()); 231 o.add(buildMarketplaceNote());
230 o.add(buildMarketplaceNote()); 232 o.add(buildMarketplaceNote());
231 return o; 233 return o;
232 } 234 }
233 235
234 checkUnnamed1923(core.List<api.MarketplaceNote> o) { 236 checkUnnamed2235(core.List<api.MarketplaceNote> o) {
235 unittest.expect(o, unittest.hasLength(2)); 237 unittest.expect(o, unittest.hasLength(2));
236 checkMarketplaceNote(o[0]); 238 checkMarketplaceNote(o[0]);
237 checkMarketplaceNote(o[1]); 239 checkMarketplaceNote(o[1]);
238 } 240 }
239 241
240 core.int buildCounterAddOrderNotesRequest = 0; 242 core.int buildCounterAddOrderNotesRequest = 0;
241 buildAddOrderNotesRequest() { 243 buildAddOrderNotesRequest() {
242 var o = new api.AddOrderNotesRequest(); 244 var o = new api.AddOrderNotesRequest();
243 buildCounterAddOrderNotesRequest++; 245 buildCounterAddOrderNotesRequest++;
244 if (buildCounterAddOrderNotesRequest < 3) { 246 if (buildCounterAddOrderNotesRequest < 3) {
245 o.notes = buildUnnamed1923(); 247 o.notes = buildUnnamed2235();
246 } 248 }
247 buildCounterAddOrderNotesRequest--; 249 buildCounterAddOrderNotesRequest--;
248 return o; 250 return o;
249 } 251 }
250 252
251 checkAddOrderNotesRequest(api.AddOrderNotesRequest o) { 253 checkAddOrderNotesRequest(api.AddOrderNotesRequest o) {
252 buildCounterAddOrderNotesRequest++; 254 buildCounterAddOrderNotesRequest++;
253 if (buildCounterAddOrderNotesRequest < 3) { 255 if (buildCounterAddOrderNotesRequest < 3) {
254 checkUnnamed1923(o.notes); 256 checkUnnamed2235(o.notes);
255 } 257 }
256 buildCounterAddOrderNotesRequest--; 258 buildCounterAddOrderNotesRequest--;
257 } 259 }
258 260
259 buildUnnamed1924() { 261 buildUnnamed2236() {
260 var o = new core.List<api.MarketplaceNote>(); 262 var o = new core.List<api.MarketplaceNote>();
261 o.add(buildMarketplaceNote()); 263 o.add(buildMarketplaceNote());
262 o.add(buildMarketplaceNote()); 264 o.add(buildMarketplaceNote());
263 return o; 265 return o;
264 } 266 }
265 267
266 checkUnnamed1924(core.List<api.MarketplaceNote> o) { 268 checkUnnamed2236(core.List<api.MarketplaceNote> o) {
267 unittest.expect(o, unittest.hasLength(2)); 269 unittest.expect(o, unittest.hasLength(2));
268 checkMarketplaceNote(o[0]); 270 checkMarketplaceNote(o[0]);
269 checkMarketplaceNote(o[1]); 271 checkMarketplaceNote(o[1]);
270 } 272 }
271 273
272 core.int buildCounterAddOrderNotesResponse = 0; 274 core.int buildCounterAddOrderNotesResponse = 0;
273 buildAddOrderNotesResponse() { 275 buildAddOrderNotesResponse() {
274 var o = new api.AddOrderNotesResponse(); 276 var o = new api.AddOrderNotesResponse();
275 buildCounterAddOrderNotesResponse++; 277 buildCounterAddOrderNotesResponse++;
276 if (buildCounterAddOrderNotesResponse < 3) { 278 if (buildCounterAddOrderNotesResponse < 3) {
277 o.notes = buildUnnamed1924(); 279 o.notes = buildUnnamed2236();
278 } 280 }
279 buildCounterAddOrderNotesResponse--; 281 buildCounterAddOrderNotesResponse--;
280 return o; 282 return o;
281 } 283 }
282 284
283 checkAddOrderNotesResponse(api.AddOrderNotesResponse o) { 285 checkAddOrderNotesResponse(api.AddOrderNotesResponse o) {
284 buildCounterAddOrderNotesResponse++; 286 buildCounterAddOrderNotesResponse++;
285 if (buildCounterAddOrderNotesResponse < 3) { 287 if (buildCounterAddOrderNotesResponse < 3) {
286 checkUnnamed1924(o.notes); 288 checkUnnamed2236(o.notes);
287 } 289 }
288 buildCounterAddOrderNotesResponse--; 290 buildCounterAddOrderNotesResponse--;
289 } 291 }
290 292
291 buildUnnamed1925() { 293 buildUnnamed2237() {
292 var o = new core.List<core.String>(); 294 var o = new core.List<core.String>();
293 o.add("foo"); 295 o.add("foo");
294 o.add("foo"); 296 o.add("foo");
295 return o; 297 return o;
296 } 298 }
297 299
298 checkUnnamed1925(core.List<core.String> o) { 300 checkUnnamed2237(core.List<core.String> o) {
299 unittest.expect(o, unittest.hasLength(2)); 301 unittest.expect(o, unittest.hasLength(2));
300 unittest.expect(o[0], unittest.equals('foo')); 302 unittest.expect(o[0], unittest.equals('foo'));
301 unittest.expect(o[1], unittest.equals('foo')); 303 unittest.expect(o[1], unittest.equals('foo'));
302 } 304 }
303 305
304 core.int buildCounterBillingInfo = 0; 306 core.int buildCounterBillingInfo = 0;
305 buildBillingInfo() { 307 buildBillingInfo() {
306 var o = new api.BillingInfo(); 308 var o = new api.BillingInfo();
307 buildCounterBillingInfo++; 309 buildCounterBillingInfo++;
308 if (buildCounterBillingInfo < 3) { 310 if (buildCounterBillingInfo < 3) {
309 o.accountId = 42; 311 o.accountId = 42;
310 o.accountName = "foo"; 312 o.accountName = "foo";
311 o.billingId = buildUnnamed1925(); 313 o.billingId = buildUnnamed2237();
312 o.kind = "foo"; 314 o.kind = "foo";
313 } 315 }
314 buildCounterBillingInfo--; 316 buildCounterBillingInfo--;
315 return o; 317 return o;
316 } 318 }
317 319
318 checkBillingInfo(api.BillingInfo o) { 320 checkBillingInfo(api.BillingInfo o) {
319 buildCounterBillingInfo++; 321 buildCounterBillingInfo++;
320 if (buildCounterBillingInfo < 3) { 322 if (buildCounterBillingInfo < 3) {
321 unittest.expect(o.accountId, unittest.equals(42)); 323 unittest.expect(o.accountId, unittest.equals(42));
322 unittest.expect(o.accountName, unittest.equals('foo')); 324 unittest.expect(o.accountName, unittest.equals('foo'));
323 checkUnnamed1925(o.billingId); 325 checkUnnamed2237(o.billingId);
324 unittest.expect(o.kind, unittest.equals('foo')); 326 unittest.expect(o.kind, unittest.equals('foo'));
325 } 327 }
326 buildCounterBillingInfo--; 328 buildCounterBillingInfo--;
327 } 329 }
328 330
329 buildUnnamed1926() { 331 buildUnnamed2238() {
330 var o = new core.List<api.BillingInfo>(); 332 var o = new core.List<api.BillingInfo>();
331 o.add(buildBillingInfo()); 333 o.add(buildBillingInfo());
332 o.add(buildBillingInfo()); 334 o.add(buildBillingInfo());
333 return o; 335 return o;
334 } 336 }
335 337
336 checkUnnamed1926(core.List<api.BillingInfo> o) { 338 checkUnnamed2238(core.List<api.BillingInfo> o) {
337 unittest.expect(o, unittest.hasLength(2)); 339 unittest.expect(o, unittest.hasLength(2));
338 checkBillingInfo(o[0]); 340 checkBillingInfo(o[0]);
339 checkBillingInfo(o[1]); 341 checkBillingInfo(o[1]);
340 } 342 }
341 343
342 core.int buildCounterBillingInfoList = 0; 344 core.int buildCounterBillingInfoList = 0;
343 buildBillingInfoList() { 345 buildBillingInfoList() {
344 var o = new api.BillingInfoList(); 346 var o = new api.BillingInfoList();
345 buildCounterBillingInfoList++; 347 buildCounterBillingInfoList++;
346 if (buildCounterBillingInfoList < 3) { 348 if (buildCounterBillingInfoList < 3) {
347 o.items = buildUnnamed1926(); 349 o.items = buildUnnamed2238();
348 o.kind = "foo"; 350 o.kind = "foo";
349 } 351 }
350 buildCounterBillingInfoList--; 352 buildCounterBillingInfoList--;
351 return o; 353 return o;
352 } 354 }
353 355
354 checkBillingInfoList(api.BillingInfoList o) { 356 checkBillingInfoList(api.BillingInfoList o) {
355 buildCounterBillingInfoList++; 357 buildCounterBillingInfoList++;
356 if (buildCounterBillingInfoList < 3) { 358 if (buildCounterBillingInfoList < 3) {
357 checkUnnamed1926(o.items); 359 checkUnnamed2238(o.items);
358 unittest.expect(o.kind, unittest.equals('foo')); 360 unittest.expect(o.kind, unittest.equals('foo'));
359 } 361 }
360 buildCounterBillingInfoList--; 362 buildCounterBillingInfoList--;
361 } 363 }
362 364
363 core.int buildCounterBudget = 0; 365 core.int buildCounterBudget = 0;
364 buildBudget() { 366 buildBudget() {
365 var o = new api.Budget(); 367 var o = new api.Budget();
366 buildCounterBudget++; 368 buildCounterBudget++;
367 if (buildCounterBudget < 3) { 369 if (buildCounterBudget < 3) {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 424
423 checkContactInformation(api.ContactInformation o) { 425 checkContactInformation(api.ContactInformation o) {
424 buildCounterContactInformation++; 426 buildCounterContactInformation++;
425 if (buildCounterContactInformation < 3) { 427 if (buildCounterContactInformation < 3) {
426 unittest.expect(o.email, unittest.equals('foo')); 428 unittest.expect(o.email, unittest.equals('foo'));
427 unittest.expect(o.name, unittest.equals('foo')); 429 unittest.expect(o.name, unittest.equals('foo'));
428 } 430 }
429 buildCounterContactInformation--; 431 buildCounterContactInformation--;
430 } 432 }
431 433
432 buildUnnamed1927() { 434 buildUnnamed2239() {
433 var o = new core.List<api.Proposal>(); 435 var o = new core.List<api.Proposal>();
434 o.add(buildProposal()); 436 o.add(buildProposal());
435 o.add(buildProposal()); 437 o.add(buildProposal());
436 return o; 438 return o;
437 } 439 }
438 440
439 checkUnnamed1927(core.List<api.Proposal> o) { 441 checkUnnamed2239(core.List<api.Proposal> o) {
440 unittest.expect(o, unittest.hasLength(2)); 442 unittest.expect(o, unittest.hasLength(2));
441 checkProposal(o[0]); 443 checkProposal(o[0]);
442 checkProposal(o[1]); 444 checkProposal(o[1]);
443 } 445 }
444 446
445 core.int buildCounterCreateOrdersRequest = 0; 447 core.int buildCounterCreateOrdersRequest = 0;
446 buildCreateOrdersRequest() { 448 buildCreateOrdersRequest() {
447 var o = new api.CreateOrdersRequest(); 449 var o = new api.CreateOrdersRequest();
448 buildCounterCreateOrdersRequest++; 450 buildCounterCreateOrdersRequest++;
449 if (buildCounterCreateOrdersRequest < 3) { 451 if (buildCounterCreateOrdersRequest < 3) {
450 o.proposals = buildUnnamed1927(); 452 o.proposals = buildUnnamed2239();
451 o.webPropertyCode = "foo"; 453 o.webPropertyCode = "foo";
452 } 454 }
453 buildCounterCreateOrdersRequest--; 455 buildCounterCreateOrdersRequest--;
454 return o; 456 return o;
455 } 457 }
456 458
457 checkCreateOrdersRequest(api.CreateOrdersRequest o) { 459 checkCreateOrdersRequest(api.CreateOrdersRequest o) {
458 buildCounterCreateOrdersRequest++; 460 buildCounterCreateOrdersRequest++;
459 if (buildCounterCreateOrdersRequest < 3) { 461 if (buildCounterCreateOrdersRequest < 3) {
460 checkUnnamed1927(o.proposals); 462 checkUnnamed2239(o.proposals);
461 unittest.expect(o.webPropertyCode, unittest.equals('foo')); 463 unittest.expect(o.webPropertyCode, unittest.equals('foo'));
462 } 464 }
463 buildCounterCreateOrdersRequest--; 465 buildCounterCreateOrdersRequest--;
464 } 466 }
465 467
466 buildUnnamed1928() { 468 buildUnnamed2240() {
467 var o = new core.List<api.Proposal>(); 469 var o = new core.List<api.Proposal>();
468 o.add(buildProposal()); 470 o.add(buildProposal());
469 o.add(buildProposal()); 471 o.add(buildProposal());
470 return o; 472 return o;
471 } 473 }
472 474
473 checkUnnamed1928(core.List<api.Proposal> o) { 475 checkUnnamed2240(core.List<api.Proposal> o) {
474 unittest.expect(o, unittest.hasLength(2)); 476 unittest.expect(o, unittest.hasLength(2));
475 checkProposal(o[0]); 477 checkProposal(o[0]);
476 checkProposal(o[1]); 478 checkProposal(o[1]);
477 } 479 }
478 480
479 core.int buildCounterCreateOrdersResponse = 0; 481 core.int buildCounterCreateOrdersResponse = 0;
480 buildCreateOrdersResponse() { 482 buildCreateOrdersResponse() {
481 var o = new api.CreateOrdersResponse(); 483 var o = new api.CreateOrdersResponse();
482 buildCounterCreateOrdersResponse++; 484 buildCounterCreateOrdersResponse++;
483 if (buildCounterCreateOrdersResponse < 3) { 485 if (buildCounterCreateOrdersResponse < 3) {
484 o.proposals = buildUnnamed1928(); 486 o.proposals = buildUnnamed2240();
485 } 487 }
486 buildCounterCreateOrdersResponse--; 488 buildCounterCreateOrdersResponse--;
487 return o; 489 return o;
488 } 490 }
489 491
490 checkCreateOrdersResponse(api.CreateOrdersResponse o) { 492 checkCreateOrdersResponse(api.CreateOrdersResponse o) {
491 buildCounterCreateOrdersResponse++; 493 buildCounterCreateOrdersResponse++;
492 if (buildCounterCreateOrdersResponse < 3) { 494 if (buildCounterCreateOrdersResponse < 3) {
493 checkUnnamed1928(o.proposals); 495 checkUnnamed2240(o.proposals);
494 } 496 }
495 buildCounterCreateOrdersResponse--; 497 buildCounterCreateOrdersResponse--;
496 } 498 }
497 499
498 buildUnnamed1929() { 500 buildUnnamed2241() {
499 var o = new core.List<core.String>(); 501 var o = new core.List<core.String>();
500 o.add("foo"); 502 o.add("foo");
501 o.add("foo"); 503 o.add("foo");
502 return o; 504 return o;
503 } 505 }
504 506
505 checkUnnamed1929(core.List<core.String> o) { 507 checkUnnamed2241(core.List<core.String> o) {
506 unittest.expect(o, unittest.hasLength(2)); 508 unittest.expect(o, unittest.hasLength(2));
507 unittest.expect(o[0], unittest.equals('foo')); 509 unittest.expect(o[0], unittest.equals('foo'));
508 unittest.expect(o[1], unittest.equals('foo')); 510 unittest.expect(o[1], unittest.equals('foo'));
509 } 511 }
510 512
511 buildUnnamed1930() { 513 buildUnnamed2242() {
512 var o = new core.List<core.int>(); 514 var o = new core.List<core.int>();
513 o.add(42); 515 o.add(42);
514 o.add(42); 516 o.add(42);
515 return o; 517 return o;
516 } 518 }
517 519
518 checkUnnamed1930(core.List<core.int> o) { 520 checkUnnamed2242(core.List<core.int> o) {
519 unittest.expect(o, unittest.hasLength(2)); 521 unittest.expect(o, unittest.hasLength(2));
520 unittest.expect(o[0], unittest.equals(42)); 522 unittest.expect(o[0], unittest.equals(42));
521 unittest.expect(o[1], unittest.equals(42)); 523 unittest.expect(o[1], unittest.equals(42));
522 } 524 }
523 525
524 buildUnnamed1931() { 526 buildUnnamed2243() {
525 var o = new core.List<core.String>(); 527 var o = new core.List<core.String>();
526 o.add("foo"); 528 o.add("foo");
527 o.add("foo"); 529 o.add("foo");
528 return o; 530 return o;
529 } 531 }
530 532
531 checkUnnamed1931(core.List<core.String> o) { 533 checkUnnamed2243(core.List<core.String> o) {
532 unittest.expect(o, unittest.hasLength(2)); 534 unittest.expect(o, unittest.hasLength(2));
533 unittest.expect(o[0], unittest.equals('foo')); 535 unittest.expect(o[0], unittest.equals('foo'));
534 unittest.expect(o[1], unittest.equals('foo')); 536 unittest.expect(o[1], unittest.equals('foo'));
535 } 537 }
536 538
537 buildUnnamed1932() { 539 buildUnnamed2244() {
538 var o = new core.List<core.String>(); 540 var o = new core.List<core.String>();
539 o.add("foo"); 541 o.add("foo");
540 o.add("foo"); 542 o.add("foo");
541 return o; 543 return o;
542 } 544 }
543 545
544 checkUnnamed1932(core.List<core.String> o) { 546 checkUnnamed2244(core.List<core.String> o) {
545 unittest.expect(o, unittest.hasLength(2)); 547 unittest.expect(o, unittest.hasLength(2));
546 unittest.expect(o[0], unittest.equals('foo')); 548 unittest.expect(o[0], unittest.equals('foo'));
547 unittest.expect(o[1], unittest.equals('foo')); 549 unittest.expect(o[1], unittest.equals('foo'));
548 } 550 }
549 551
550 core.int buildCounterCreativeCorrections = 0; 552 core.int buildCounterCreativeCorrections = 0;
551 buildCreativeCorrections() { 553 buildCreativeCorrections() {
552 var o = new api.CreativeCorrections(); 554 var o = new api.CreativeCorrections();
553 buildCounterCreativeCorrections++; 555 buildCounterCreativeCorrections++;
554 if (buildCounterCreativeCorrections < 3) { 556 if (buildCounterCreativeCorrections < 3) {
555 o.details = buildUnnamed1932(); 557 o.details = buildUnnamed2244();
556 o.reason = "foo"; 558 o.reason = "foo";
557 } 559 }
558 buildCounterCreativeCorrections--; 560 buildCounterCreativeCorrections--;
559 return o; 561 return o;
560 } 562 }
561 563
562 checkCreativeCorrections(api.CreativeCorrections o) { 564 checkCreativeCorrections(api.CreativeCorrections o) {
563 buildCounterCreativeCorrections++; 565 buildCounterCreativeCorrections++;
564 if (buildCounterCreativeCorrections < 3) { 566 if (buildCounterCreativeCorrections < 3) {
565 checkUnnamed1932(o.details); 567 checkUnnamed2244(o.details);
566 unittest.expect(o.reason, unittest.equals('foo')); 568 unittest.expect(o.reason, unittest.equals('foo'));
567 } 569 }
568 buildCounterCreativeCorrections--; 570 buildCounterCreativeCorrections--;
569 } 571 }
570 572
571 buildUnnamed1933() { 573 buildUnnamed2245() {
572 var o = new core.List<api.CreativeCorrections>(); 574 var o = new core.List<api.CreativeCorrections>();
573 o.add(buildCreativeCorrections()); 575 o.add(buildCreativeCorrections());
574 o.add(buildCreativeCorrections()); 576 o.add(buildCreativeCorrections());
575 return o; 577 return o;
576 } 578 }
577 579
578 checkUnnamed1933(core.List<api.CreativeCorrections> o) { 580 checkUnnamed2245(core.List<api.CreativeCorrections> o) {
579 unittest.expect(o, unittest.hasLength(2)); 581 unittest.expect(o, unittest.hasLength(2));
580 checkCreativeCorrections(o[0]); 582 checkCreativeCorrections(o[0]);
581 checkCreativeCorrections(o[1]); 583 checkCreativeCorrections(o[1]);
582 } 584 }
583 585
584 core.int buildCounterCreativeFilteringReasonsReasons = 0; 586 core.int buildCounterCreativeFilteringReasonsReasons = 0;
585 buildCreativeFilteringReasonsReasons() { 587 buildCreativeFilteringReasonsReasons() {
586 var o = new api.CreativeFilteringReasonsReasons(); 588 var o = new api.CreativeFilteringReasonsReasons();
587 buildCounterCreativeFilteringReasonsReasons++; 589 buildCounterCreativeFilteringReasonsReasons++;
588 if (buildCounterCreativeFilteringReasonsReasons < 3) { 590 if (buildCounterCreativeFilteringReasonsReasons < 3) {
589 o.filteringCount = "foo"; 591 o.filteringCount = "foo";
590 o.filteringStatus = 42; 592 o.filteringStatus = 42;
591 } 593 }
592 buildCounterCreativeFilteringReasonsReasons--; 594 buildCounterCreativeFilteringReasonsReasons--;
593 return o; 595 return o;
594 } 596 }
595 597
596 checkCreativeFilteringReasonsReasons(api.CreativeFilteringReasonsReasons o) { 598 checkCreativeFilteringReasonsReasons(api.CreativeFilteringReasonsReasons o) {
597 buildCounterCreativeFilteringReasonsReasons++; 599 buildCounterCreativeFilteringReasonsReasons++;
598 if (buildCounterCreativeFilteringReasonsReasons < 3) { 600 if (buildCounterCreativeFilteringReasonsReasons < 3) {
599 unittest.expect(o.filteringCount, unittest.equals('foo')); 601 unittest.expect(o.filteringCount, unittest.equals('foo'));
600 unittest.expect(o.filteringStatus, unittest.equals(42)); 602 unittest.expect(o.filteringStatus, unittest.equals(42));
601 } 603 }
602 buildCounterCreativeFilteringReasonsReasons--; 604 buildCounterCreativeFilteringReasonsReasons--;
603 } 605 }
604 606
605 buildUnnamed1934() { 607 buildUnnamed2246() {
606 var o = new core.List<api.CreativeFilteringReasonsReasons>(); 608 var o = new core.List<api.CreativeFilteringReasonsReasons>();
607 o.add(buildCreativeFilteringReasonsReasons()); 609 o.add(buildCreativeFilteringReasonsReasons());
608 o.add(buildCreativeFilteringReasonsReasons()); 610 o.add(buildCreativeFilteringReasonsReasons());
609 return o; 611 return o;
610 } 612 }
611 613
612 checkUnnamed1934(core.List<api.CreativeFilteringReasonsReasons> o) { 614 checkUnnamed2246(core.List<api.CreativeFilteringReasonsReasons> o) {
613 unittest.expect(o, unittest.hasLength(2)); 615 unittest.expect(o, unittest.hasLength(2));
614 checkCreativeFilteringReasonsReasons(o[0]); 616 checkCreativeFilteringReasonsReasons(o[0]);
615 checkCreativeFilteringReasonsReasons(o[1]); 617 checkCreativeFilteringReasonsReasons(o[1]);
616 } 618 }
617 619
618 core.int buildCounterCreativeFilteringReasons = 0; 620 core.int buildCounterCreativeFilteringReasons = 0;
619 buildCreativeFilteringReasons() { 621 buildCreativeFilteringReasons() {
620 var o = new api.CreativeFilteringReasons(); 622 var o = new api.CreativeFilteringReasons();
621 buildCounterCreativeFilteringReasons++; 623 buildCounterCreativeFilteringReasons++;
622 if (buildCounterCreativeFilteringReasons < 3) { 624 if (buildCounterCreativeFilteringReasons < 3) {
623 o.date = "foo"; 625 o.date = "foo";
624 o.reasons = buildUnnamed1934(); 626 o.reasons = buildUnnamed2246();
625 } 627 }
626 buildCounterCreativeFilteringReasons--; 628 buildCounterCreativeFilteringReasons--;
627 return o; 629 return o;
628 } 630 }
629 631
630 checkCreativeFilteringReasons(api.CreativeFilteringReasons o) { 632 checkCreativeFilteringReasons(api.CreativeFilteringReasons o) {
631 buildCounterCreativeFilteringReasons++; 633 buildCounterCreativeFilteringReasons++;
632 if (buildCounterCreativeFilteringReasons < 3) { 634 if (buildCounterCreativeFilteringReasons < 3) {
633 unittest.expect(o.date, unittest.equals('foo')); 635 unittest.expect(o.date, unittest.equals('foo'));
634 checkUnnamed1934(o.reasons); 636 checkUnnamed2246(o.reasons);
635 } 637 }
636 buildCounterCreativeFilteringReasons--; 638 buildCounterCreativeFilteringReasons--;
637 } 639 }
638 640
639 buildUnnamed1935() { 641 buildUnnamed2247() {
640 var o = new core.List<core.String>(); 642 var o = new core.List<core.String>();
641 o.add("foo"); 643 o.add("foo");
642 o.add("foo"); 644 o.add("foo");
643 return o; 645 return o;
644 } 646 }
645 647
646 checkUnnamed1935(core.List<core.String> o) { 648 checkUnnamed2247(core.List<core.String> o) {
647 unittest.expect(o, unittest.hasLength(2)); 649 unittest.expect(o, unittest.hasLength(2));
648 unittest.expect(o[0], unittest.equals('foo')); 650 unittest.expect(o[0], unittest.equals('foo'));
649 unittest.expect(o[1], unittest.equals('foo')); 651 unittest.expect(o[1], unittest.equals('foo'));
650 } 652 }
651 653
652 core.int buildCounterCreativeNativeAdAppIcon = 0; 654 core.int buildCounterCreativeNativeAdAppIcon = 0;
653 buildCreativeNativeAdAppIcon() { 655 buildCreativeNativeAdAppIcon() {
654 var o = new api.CreativeNativeAdAppIcon(); 656 var o = new api.CreativeNativeAdAppIcon();
655 buildCounterCreativeNativeAdAppIcon++; 657 buildCounterCreativeNativeAdAppIcon++;
656 if (buildCounterCreativeNativeAdAppIcon < 3) { 658 if (buildCounterCreativeNativeAdAppIcon < 3) {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
688 checkCreativeNativeAdImage(api.CreativeNativeAdImage o) { 690 checkCreativeNativeAdImage(api.CreativeNativeAdImage o) {
689 buildCounterCreativeNativeAdImage++; 691 buildCounterCreativeNativeAdImage++;
690 if (buildCounterCreativeNativeAdImage < 3) { 692 if (buildCounterCreativeNativeAdImage < 3) {
691 unittest.expect(o.height, unittest.equals(42)); 693 unittest.expect(o.height, unittest.equals(42));
692 unittest.expect(o.url, unittest.equals('foo')); 694 unittest.expect(o.url, unittest.equals('foo'));
693 unittest.expect(o.width, unittest.equals(42)); 695 unittest.expect(o.width, unittest.equals(42));
694 } 696 }
695 buildCounterCreativeNativeAdImage--; 697 buildCounterCreativeNativeAdImage--;
696 } 698 }
697 699
698 buildUnnamed1936() { 700 buildUnnamed2248() {
699 var o = new core.List<core.String>(); 701 var o = new core.List<core.String>();
700 o.add("foo"); 702 o.add("foo");
701 o.add("foo"); 703 o.add("foo");
702 return o; 704 return o;
703 } 705 }
704 706
705 checkUnnamed1936(core.List<core.String> o) { 707 checkUnnamed2248(core.List<core.String> o) {
706 unittest.expect(o, unittest.hasLength(2)); 708 unittest.expect(o, unittest.hasLength(2));
707 unittest.expect(o[0], unittest.equals('foo')); 709 unittest.expect(o[0], unittest.equals('foo'));
708 unittest.expect(o[1], unittest.equals('foo')); 710 unittest.expect(o[1], unittest.equals('foo'));
709 } 711 }
710 712
711 core.int buildCounterCreativeNativeAdLogo = 0; 713 core.int buildCounterCreativeNativeAdLogo = 0;
712 buildCreativeNativeAdLogo() { 714 buildCreativeNativeAdLogo() {
713 var o = new api.CreativeNativeAdLogo(); 715 var o = new api.CreativeNativeAdLogo();
714 buildCounterCreativeNativeAdLogo++; 716 buildCounterCreativeNativeAdLogo++;
715 if (buildCounterCreativeNativeAdLogo < 3) { 717 if (buildCounterCreativeNativeAdLogo < 3) {
(...skipping 20 matching lines...) Expand all
736 var o = new api.CreativeNativeAd(); 738 var o = new api.CreativeNativeAd();
737 buildCounterCreativeNativeAd++; 739 buildCounterCreativeNativeAd++;
738 if (buildCounterCreativeNativeAd < 3) { 740 if (buildCounterCreativeNativeAd < 3) {
739 o.advertiser = "foo"; 741 o.advertiser = "foo";
740 o.appIcon = buildCreativeNativeAdAppIcon(); 742 o.appIcon = buildCreativeNativeAdAppIcon();
741 o.body = "foo"; 743 o.body = "foo";
742 o.callToAction = "foo"; 744 o.callToAction = "foo";
743 o.clickTrackingUrl = "foo"; 745 o.clickTrackingUrl = "foo";
744 o.headline = "foo"; 746 o.headline = "foo";
745 o.image = buildCreativeNativeAdImage(); 747 o.image = buildCreativeNativeAdImage();
746 o.impressionTrackingUrl = buildUnnamed1936(); 748 o.impressionTrackingUrl = buildUnnamed2248();
747 o.logo = buildCreativeNativeAdLogo(); 749 o.logo = buildCreativeNativeAdLogo();
748 o.price = "foo"; 750 o.price = "foo";
749 o.starRating = 42.0; 751 o.starRating = 42.0;
750 o.store = "foo"; 752 o.store = "foo";
751 } 753 }
752 buildCounterCreativeNativeAd--; 754 buildCounterCreativeNativeAd--;
753 return o; 755 return o;
754 } 756 }
755 757
756 checkCreativeNativeAd(api.CreativeNativeAd o) { 758 checkCreativeNativeAd(api.CreativeNativeAd o) {
757 buildCounterCreativeNativeAd++; 759 buildCounterCreativeNativeAd++;
758 if (buildCounterCreativeNativeAd < 3) { 760 if (buildCounterCreativeNativeAd < 3) {
759 unittest.expect(o.advertiser, unittest.equals('foo')); 761 unittest.expect(o.advertiser, unittest.equals('foo'));
760 checkCreativeNativeAdAppIcon(o.appIcon); 762 checkCreativeNativeAdAppIcon(o.appIcon);
761 unittest.expect(o.body, unittest.equals('foo')); 763 unittest.expect(o.body, unittest.equals('foo'));
762 unittest.expect(o.callToAction, unittest.equals('foo')); 764 unittest.expect(o.callToAction, unittest.equals('foo'));
763 unittest.expect(o.clickTrackingUrl, unittest.equals('foo')); 765 unittest.expect(o.clickTrackingUrl, unittest.equals('foo'));
764 unittest.expect(o.headline, unittest.equals('foo')); 766 unittest.expect(o.headline, unittest.equals('foo'));
765 checkCreativeNativeAdImage(o.image); 767 checkCreativeNativeAdImage(o.image);
766 checkUnnamed1936(o.impressionTrackingUrl); 768 checkUnnamed2248(o.impressionTrackingUrl);
767 checkCreativeNativeAdLogo(o.logo); 769 checkCreativeNativeAdLogo(o.logo);
768 unittest.expect(o.price, unittest.equals('foo')); 770 unittest.expect(o.price, unittest.equals('foo'));
769 unittest.expect(o.starRating, unittest.equals(42.0)); 771 unittest.expect(o.starRating, unittest.equals(42.0));
770 unittest.expect(o.store, unittest.equals('foo')); 772 unittest.expect(o.store, unittest.equals('foo'));
771 } 773 }
772 buildCounterCreativeNativeAd--; 774 buildCounterCreativeNativeAd--;
773 } 775 }
774 776
775 buildUnnamed1937() { 777 buildUnnamed2249() {
776 var o = new core.List<core.int>(); 778 var o = new core.List<core.int>();
777 o.add(42); 779 o.add(42);
778 o.add(42); 780 o.add(42);
779 return o; 781 return o;
780 } 782 }
781 783
782 checkUnnamed1937(core.List<core.int> o) { 784 checkUnnamed2249(core.List<core.int> o) {
783 unittest.expect(o, unittest.hasLength(2)); 785 unittest.expect(o, unittest.hasLength(2));
784 unittest.expect(o[0], unittest.equals(42)); 786 unittest.expect(o[0], unittest.equals(42));
785 unittest.expect(o[1], unittest.equals(42)); 787 unittest.expect(o[1], unittest.equals(42));
786 } 788 }
787 789
788 buildUnnamed1938() { 790 buildUnnamed2250() {
789 var o = new core.List<core.int>(); 791 var o = new core.List<core.int>();
790 o.add(42); 792 o.add(42);
791 o.add(42); 793 o.add(42);
792 return o; 794 return o;
793 } 795 }
794 796
795 checkUnnamed1938(core.List<core.int> o) { 797 checkUnnamed2250(core.List<core.int> o) {
796 unittest.expect(o, unittest.hasLength(2)); 798 unittest.expect(o, unittest.hasLength(2));
797 unittest.expect(o[0], unittest.equals(42)); 799 unittest.expect(o[0], unittest.equals(42));
798 unittest.expect(o[1], unittest.equals(42)); 800 unittest.expect(o[1], unittest.equals(42));
799 } 801 }
800 802
801 buildUnnamed1939() { 803 buildUnnamed2251() {
802 var o = new core.List<core.int>(); 804 var o = new core.List<core.int>();
803 o.add(42); 805 o.add(42);
804 o.add(42); 806 o.add(42);
805 return o; 807 return o;
806 } 808 }
807 809
808 checkUnnamed1939(core.List<core.int> o) { 810 checkUnnamed2251(core.List<core.int> o) {
809 unittest.expect(o, unittest.hasLength(2)); 811 unittest.expect(o, unittest.hasLength(2));
810 unittest.expect(o[0], unittest.equals(42)); 812 unittest.expect(o[0], unittest.equals(42));
811 unittest.expect(o[1], unittest.equals(42)); 813 unittest.expect(o[1], unittest.equals(42));
812 } 814 }
813 815
814 buildUnnamed1940() { 816 buildUnnamed2252() {
815 var o = new core.List<core.String>(); 817 var o = new core.List<core.String>();
816 o.add("foo"); 818 o.add("foo");
817 o.add("foo"); 819 o.add("foo");
818 return o; 820 return o;
819 } 821 }
820 822
821 checkUnnamed1940(core.List<core.String> o) { 823 checkUnnamed2252(core.List<core.String> o) {
822 unittest.expect(o, unittest.hasLength(2)); 824 unittest.expect(o, unittest.hasLength(2));
823 unittest.expect(o[0], unittest.equals('foo')); 825 unittest.expect(o[0], unittest.equals('foo'));
824 unittest.expect(o[1], unittest.equals('foo')); 826 unittest.expect(o[1], unittest.equals('foo'));
825 } 827 }
826 828
827 buildUnnamed1941() { 829 buildUnnamed2253() {
828 var o = new core.List<core.int>(); 830 var o = new core.List<core.int>();
829 o.add(42); 831 o.add(42);
830 o.add(42); 832 o.add(42);
831 return o; 833 return o;
832 } 834 }
833 835
834 checkUnnamed1941(core.List<core.int> o) { 836 checkUnnamed2253(core.List<core.int> o) {
835 unittest.expect(o, unittest.hasLength(2)); 837 unittest.expect(o, unittest.hasLength(2));
836 unittest.expect(o[0], unittest.equals(42)); 838 unittest.expect(o[0], unittest.equals(42));
837 unittest.expect(o[1], unittest.equals(42)); 839 unittest.expect(o[1], unittest.equals(42));
838 } 840 }
839 841
840 buildUnnamed1942() { 842 buildUnnamed2254() {
841 var o = new core.List<core.String>(); 843 var o = new core.List<core.String>();
842 o.add("foo"); 844 o.add("foo");
843 o.add("foo"); 845 o.add("foo");
844 return o; 846 return o;
845 } 847 }
846 848
847 checkUnnamed1942(core.List<core.String> o) { 849 checkUnnamed2254(core.List<core.String> o) {
848 unittest.expect(o, unittest.hasLength(2)); 850 unittest.expect(o, unittest.hasLength(2));
849 unittest.expect(o[0], unittest.equals('foo')); 851 unittest.expect(o[0], unittest.equals('foo'));
850 unittest.expect(o[1], unittest.equals('foo')); 852 unittest.expect(o[1], unittest.equals('foo'));
851 } 853 }
852 854
853 core.int buildCounterCreativeServingRestrictionsContexts = 0; 855 core.int buildCounterCreativeServingRestrictionsContexts = 0;
854 buildCreativeServingRestrictionsContexts() { 856 buildCreativeServingRestrictionsContexts() {
855 var o = new api.CreativeServingRestrictionsContexts(); 857 var o = new api.CreativeServingRestrictionsContexts();
856 buildCounterCreativeServingRestrictionsContexts++; 858 buildCounterCreativeServingRestrictionsContexts++;
857 if (buildCounterCreativeServingRestrictionsContexts < 3) { 859 if (buildCounterCreativeServingRestrictionsContexts < 3) {
858 o.auctionType = buildUnnamed1940(); 860 o.auctionType = buildUnnamed2252();
859 o.contextType = "foo"; 861 o.contextType = "foo";
860 o.geoCriteriaId = buildUnnamed1941(); 862 o.geoCriteriaId = buildUnnamed2253();
861 o.platform = buildUnnamed1942(); 863 o.platform = buildUnnamed2254();
862 } 864 }
863 buildCounterCreativeServingRestrictionsContexts--; 865 buildCounterCreativeServingRestrictionsContexts--;
864 return o; 866 return o;
865 } 867 }
866 868
867 checkCreativeServingRestrictionsContexts(api.CreativeServingRestrictionsContexts o) { 869 checkCreativeServingRestrictionsContexts(api.CreativeServingRestrictionsContexts o) {
868 buildCounterCreativeServingRestrictionsContexts++; 870 buildCounterCreativeServingRestrictionsContexts++;
869 if (buildCounterCreativeServingRestrictionsContexts < 3) { 871 if (buildCounterCreativeServingRestrictionsContexts < 3) {
870 checkUnnamed1940(o.auctionType); 872 checkUnnamed2252(o.auctionType);
871 unittest.expect(o.contextType, unittest.equals('foo')); 873 unittest.expect(o.contextType, unittest.equals('foo'));
872 checkUnnamed1941(o.geoCriteriaId); 874 checkUnnamed2253(o.geoCriteriaId);
873 checkUnnamed1942(o.platform); 875 checkUnnamed2254(o.platform);
874 } 876 }
875 buildCounterCreativeServingRestrictionsContexts--; 877 buildCounterCreativeServingRestrictionsContexts--;
876 } 878 }
877 879
878 buildUnnamed1943() { 880 buildUnnamed2255() {
879 var o = new core.List<api.CreativeServingRestrictionsContexts>(); 881 var o = new core.List<api.CreativeServingRestrictionsContexts>();
880 o.add(buildCreativeServingRestrictionsContexts()); 882 o.add(buildCreativeServingRestrictionsContexts());
881 o.add(buildCreativeServingRestrictionsContexts()); 883 o.add(buildCreativeServingRestrictionsContexts());
882 return o; 884 return o;
883 } 885 }
884 886
885 checkUnnamed1943(core.List<api.CreativeServingRestrictionsContexts> o) { 887 checkUnnamed2255(core.List<api.CreativeServingRestrictionsContexts> o) {
886 unittest.expect(o, unittest.hasLength(2)); 888 unittest.expect(o, unittest.hasLength(2));
887 checkCreativeServingRestrictionsContexts(o[0]); 889 checkCreativeServingRestrictionsContexts(o[0]);
888 checkCreativeServingRestrictionsContexts(o[1]); 890 checkCreativeServingRestrictionsContexts(o[1]);
889 } 891 }
890 892
891 buildUnnamed1944() { 893 buildUnnamed2256() {
892 var o = new core.List<core.String>(); 894 var o = new core.List<core.String>();
893 o.add("foo"); 895 o.add("foo");
894 o.add("foo"); 896 o.add("foo");
895 return o; 897 return o;
896 } 898 }
897 899
898 checkUnnamed1944(core.List<core.String> o) { 900 checkUnnamed2256(core.List<core.String> o) {
899 unittest.expect(o, unittest.hasLength(2)); 901 unittest.expect(o, unittest.hasLength(2));
900 unittest.expect(o[0], unittest.equals('foo')); 902 unittest.expect(o[0], unittest.equals('foo'));
901 unittest.expect(o[1], unittest.equals('foo')); 903 unittest.expect(o[1], unittest.equals('foo'));
902 } 904 }
903 905
904 core.int buildCounterCreativeServingRestrictionsDisapprovalReasons = 0; 906 core.int buildCounterCreativeServingRestrictionsDisapprovalReasons = 0;
905 buildCreativeServingRestrictionsDisapprovalReasons() { 907 buildCreativeServingRestrictionsDisapprovalReasons() {
906 var o = new api.CreativeServingRestrictionsDisapprovalReasons(); 908 var o = new api.CreativeServingRestrictionsDisapprovalReasons();
907 buildCounterCreativeServingRestrictionsDisapprovalReasons++; 909 buildCounterCreativeServingRestrictionsDisapprovalReasons++;
908 if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) { 910 if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) {
909 o.details = buildUnnamed1944(); 911 o.details = buildUnnamed2256();
910 o.reason = "foo"; 912 o.reason = "foo";
911 } 913 }
912 buildCounterCreativeServingRestrictionsDisapprovalReasons--; 914 buildCounterCreativeServingRestrictionsDisapprovalReasons--;
913 return o; 915 return o;
914 } 916 }
915 917
916 checkCreativeServingRestrictionsDisapprovalReasons(api.CreativeServingRestrictio nsDisapprovalReasons o) { 918 checkCreativeServingRestrictionsDisapprovalReasons(api.CreativeServingRestrictio nsDisapprovalReasons o) {
917 buildCounterCreativeServingRestrictionsDisapprovalReasons++; 919 buildCounterCreativeServingRestrictionsDisapprovalReasons++;
918 if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) { 920 if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) {
919 checkUnnamed1944(o.details); 921 checkUnnamed2256(o.details);
920 unittest.expect(o.reason, unittest.equals('foo')); 922 unittest.expect(o.reason, unittest.equals('foo'));
921 } 923 }
922 buildCounterCreativeServingRestrictionsDisapprovalReasons--; 924 buildCounterCreativeServingRestrictionsDisapprovalReasons--;
923 } 925 }
924 926
925 buildUnnamed1945() { 927 buildUnnamed2257() {
926 var o = new core.List<api.CreativeServingRestrictionsDisapprovalReasons>(); 928 var o = new core.List<api.CreativeServingRestrictionsDisapprovalReasons>();
927 o.add(buildCreativeServingRestrictionsDisapprovalReasons()); 929 o.add(buildCreativeServingRestrictionsDisapprovalReasons());
928 o.add(buildCreativeServingRestrictionsDisapprovalReasons()); 930 o.add(buildCreativeServingRestrictionsDisapprovalReasons());
929 return o; 931 return o;
930 } 932 }
931 933
932 checkUnnamed1945(core.List<api.CreativeServingRestrictionsDisapprovalReasons> o) { 934 checkUnnamed2257(core.List<api.CreativeServingRestrictionsDisapprovalReasons> o) {
933 unittest.expect(o, unittest.hasLength(2)); 935 unittest.expect(o, unittest.hasLength(2));
934 checkCreativeServingRestrictionsDisapprovalReasons(o[0]); 936 checkCreativeServingRestrictionsDisapprovalReasons(o[0]);
935 checkCreativeServingRestrictionsDisapprovalReasons(o[1]); 937 checkCreativeServingRestrictionsDisapprovalReasons(o[1]);
936 } 938 }
937 939
938 core.int buildCounterCreativeServingRestrictions = 0; 940 core.int buildCounterCreativeServingRestrictions = 0;
939 buildCreativeServingRestrictions() { 941 buildCreativeServingRestrictions() {
940 var o = new api.CreativeServingRestrictions(); 942 var o = new api.CreativeServingRestrictions();
941 buildCounterCreativeServingRestrictions++; 943 buildCounterCreativeServingRestrictions++;
942 if (buildCounterCreativeServingRestrictions < 3) { 944 if (buildCounterCreativeServingRestrictions < 3) {
943 o.contexts = buildUnnamed1943(); 945 o.contexts = buildUnnamed2255();
944 o.disapprovalReasons = buildUnnamed1945(); 946 o.disapprovalReasons = buildUnnamed2257();
945 o.reason = "foo"; 947 o.reason = "foo";
946 } 948 }
947 buildCounterCreativeServingRestrictions--; 949 buildCounterCreativeServingRestrictions--;
948 return o; 950 return o;
949 } 951 }
950 952
951 checkCreativeServingRestrictions(api.CreativeServingRestrictions o) { 953 checkCreativeServingRestrictions(api.CreativeServingRestrictions o) {
952 buildCounterCreativeServingRestrictions++; 954 buildCounterCreativeServingRestrictions++;
953 if (buildCounterCreativeServingRestrictions < 3) { 955 if (buildCounterCreativeServingRestrictions < 3) {
954 checkUnnamed1943(o.contexts); 956 checkUnnamed2255(o.contexts);
955 checkUnnamed1945(o.disapprovalReasons); 957 checkUnnamed2257(o.disapprovalReasons);
956 unittest.expect(o.reason, unittest.equals('foo')); 958 unittest.expect(o.reason, unittest.equals('foo'));
957 } 959 }
958 buildCounterCreativeServingRestrictions--; 960 buildCounterCreativeServingRestrictions--;
959 } 961 }
960 962
961 buildUnnamed1946() { 963 buildUnnamed2258() {
962 var o = new core.List<api.CreativeServingRestrictions>(); 964 var o = new core.List<api.CreativeServingRestrictions>();
963 o.add(buildCreativeServingRestrictions()); 965 o.add(buildCreativeServingRestrictions());
964 o.add(buildCreativeServingRestrictions()); 966 o.add(buildCreativeServingRestrictions());
965 return o; 967 return o;
966 } 968 }
967 969
968 checkUnnamed1946(core.List<api.CreativeServingRestrictions> o) { 970 checkUnnamed2258(core.List<api.CreativeServingRestrictions> o) {
969 unittest.expect(o, unittest.hasLength(2)); 971 unittest.expect(o, unittest.hasLength(2));
970 checkCreativeServingRestrictions(o[0]); 972 checkCreativeServingRestrictions(o[0]);
971 checkCreativeServingRestrictions(o[1]); 973 checkCreativeServingRestrictions(o[1]);
972 } 974 }
973 975
974 buildUnnamed1947() { 976 buildUnnamed2259() {
975 var o = new core.List<core.int>(); 977 var o = new core.List<core.int>();
976 o.add(42); 978 o.add(42);
977 o.add(42); 979 o.add(42);
978 return o; 980 return o;
979 } 981 }
980 982
981 checkUnnamed1947(core.List<core.int> o) { 983 checkUnnamed2259(core.List<core.int> o) {
982 unittest.expect(o, unittest.hasLength(2)); 984 unittest.expect(o, unittest.hasLength(2));
983 unittest.expect(o[0], unittest.equals(42)); 985 unittest.expect(o[0], unittest.equals(42));
984 unittest.expect(o[1], unittest.equals(42)); 986 unittest.expect(o[1], unittest.equals(42));
985 } 987 }
986 988
987 core.int buildCounterCreative = 0; 989 core.int buildCounterCreative = 0;
988 buildCreative() { 990 buildCreative() {
989 var o = new api.Creative(); 991 var o = new api.Creative();
990 buildCounterCreative++; 992 buildCounterCreative++;
991 if (buildCounterCreative < 3) { 993 if (buildCounterCreative < 3) {
992 o.HTMLSnippet = "foo"; 994 o.HTMLSnippet = "foo";
993 o.accountId = 42; 995 o.accountId = 42;
994 o.advertiserId = buildUnnamed1929(); 996 o.advertiserId = buildUnnamed2241();
995 o.advertiserName = "foo"; 997 o.advertiserName = "foo";
996 o.agencyId = "foo"; 998 o.agencyId = "foo";
997 o.apiUploadTimestamp = core.DateTime.parse("2002-02-27T14:01:02"); 999 o.apiUploadTimestamp = core.DateTime.parse("2002-02-27T14:01:02");
998 o.attribute = buildUnnamed1930(); 1000 o.attribute = buildUnnamed2242();
999 o.buyerCreativeId = "foo"; 1001 o.buyerCreativeId = "foo";
1000 o.clickThroughUrl = buildUnnamed1931(); 1002 o.clickThroughUrl = buildUnnamed2243();
1001 o.corrections = buildUnnamed1933(); 1003 o.corrections = buildUnnamed2245();
1002 o.dealsStatus = "foo"; 1004 o.dealsStatus = "foo";
1003 o.filteringReasons = buildCreativeFilteringReasons(); 1005 o.filteringReasons = buildCreativeFilteringReasons();
1004 o.height = 42; 1006 o.height = 42;
1005 o.impressionTrackingUrl = buildUnnamed1935(); 1007 o.impressionTrackingUrl = buildUnnamed2247();
1006 o.kind = "foo"; 1008 o.kind = "foo";
1007 o.nativeAd = buildCreativeNativeAd(); 1009 o.nativeAd = buildCreativeNativeAd();
1008 o.openAuctionStatus = "foo"; 1010 o.openAuctionStatus = "foo";
1009 o.productCategories = buildUnnamed1937(); 1011 o.productCategories = buildUnnamed2249();
1010 o.restrictedCategories = buildUnnamed1938(); 1012 o.restrictedCategories = buildUnnamed2250();
1011 o.sensitiveCategories = buildUnnamed1939(); 1013 o.sensitiveCategories = buildUnnamed2251();
1012 o.servingRestrictions = buildUnnamed1946(); 1014 o.servingRestrictions = buildUnnamed2258();
1013 o.vendorType = buildUnnamed1947(); 1015 o.vendorType = buildUnnamed2259();
1014 o.version = 42; 1016 o.version = 42;
1015 o.videoURL = "foo"; 1017 o.videoURL = "foo";
1016 o.width = 42; 1018 o.width = 42;
1017 } 1019 }
1018 buildCounterCreative--; 1020 buildCounterCreative--;
1019 return o; 1021 return o;
1020 } 1022 }
1021 1023
1022 checkCreative(api.Creative o) { 1024 checkCreative(api.Creative o) {
1023 buildCounterCreative++; 1025 buildCounterCreative++;
1024 if (buildCounterCreative < 3) { 1026 if (buildCounterCreative < 3) {
1025 unittest.expect(o.HTMLSnippet, unittest.equals('foo')); 1027 unittest.expect(o.HTMLSnippet, unittest.equals('foo'));
1026 unittest.expect(o.accountId, unittest.equals(42)); 1028 unittest.expect(o.accountId, unittest.equals(42));
1027 checkUnnamed1929(o.advertiserId); 1029 checkUnnamed2241(o.advertiserId);
1028 unittest.expect(o.advertiserName, unittest.equals('foo')); 1030 unittest.expect(o.advertiserName, unittest.equals('foo'));
1029 unittest.expect(o.agencyId, unittest.equals('foo')); 1031 unittest.expect(o.agencyId, unittest.equals('foo'));
1030 unittest.expect(o.apiUploadTimestamp, unittest.equals(core.DateTime.parse("2 002-02-27T14:01:02"))); 1032 unittest.expect(o.apiUploadTimestamp, unittest.equals(core.DateTime.parse("2 002-02-27T14:01:02")));
1031 checkUnnamed1930(o.attribute); 1033 checkUnnamed2242(o.attribute);
1032 unittest.expect(o.buyerCreativeId, unittest.equals('foo')); 1034 unittest.expect(o.buyerCreativeId, unittest.equals('foo'));
1033 checkUnnamed1931(o.clickThroughUrl); 1035 checkUnnamed2243(o.clickThroughUrl);
1034 checkUnnamed1933(o.corrections); 1036 checkUnnamed2245(o.corrections);
1035 unittest.expect(o.dealsStatus, unittest.equals('foo')); 1037 unittest.expect(o.dealsStatus, unittest.equals('foo'));
1036 checkCreativeFilteringReasons(o.filteringReasons); 1038 checkCreativeFilteringReasons(o.filteringReasons);
1037 unittest.expect(o.height, unittest.equals(42)); 1039 unittest.expect(o.height, unittest.equals(42));
1038 checkUnnamed1935(o.impressionTrackingUrl); 1040 checkUnnamed2247(o.impressionTrackingUrl);
1039 unittest.expect(o.kind, unittest.equals('foo')); 1041 unittest.expect(o.kind, unittest.equals('foo'));
1040 checkCreativeNativeAd(o.nativeAd); 1042 checkCreativeNativeAd(o.nativeAd);
1041 unittest.expect(o.openAuctionStatus, unittest.equals('foo')); 1043 unittest.expect(o.openAuctionStatus, unittest.equals('foo'));
1042 checkUnnamed1937(o.productCategories); 1044 checkUnnamed2249(o.productCategories);
1043 checkUnnamed1938(o.restrictedCategories); 1045 checkUnnamed2250(o.restrictedCategories);
1044 checkUnnamed1939(o.sensitiveCategories); 1046 checkUnnamed2251(o.sensitiveCategories);
1045 checkUnnamed1946(o.servingRestrictions); 1047 checkUnnamed2258(o.servingRestrictions);
1046 checkUnnamed1947(o.vendorType); 1048 checkUnnamed2259(o.vendorType);
1047 unittest.expect(o.version, unittest.equals(42)); 1049 unittest.expect(o.version, unittest.equals(42));
1048 unittest.expect(o.videoURL, unittest.equals('foo')); 1050 unittest.expect(o.videoURL, unittest.equals('foo'));
1049 unittest.expect(o.width, unittest.equals(42)); 1051 unittest.expect(o.width, unittest.equals(42));
1050 } 1052 }
1051 buildCounterCreative--; 1053 buildCounterCreative--;
1052 } 1054 }
1053 1055
1054 buildUnnamed1948() { 1056 buildUnnamed2260() {
1055 var o = new core.List<api.Creative>(); 1057 var o = new core.List<api.Creative>();
1056 o.add(buildCreative()); 1058 o.add(buildCreative());
1057 o.add(buildCreative()); 1059 o.add(buildCreative());
1058 return o; 1060 return o;
1059 } 1061 }
1060 1062
1061 checkUnnamed1948(core.List<api.Creative> o) { 1063 checkUnnamed2260(core.List<api.Creative> o) {
1062 unittest.expect(o, unittest.hasLength(2)); 1064 unittest.expect(o, unittest.hasLength(2));
1063 checkCreative(o[0]); 1065 checkCreative(o[0]);
1064 checkCreative(o[1]); 1066 checkCreative(o[1]);
1065 } 1067 }
1066 1068
1067 core.int buildCounterCreativesList = 0; 1069 core.int buildCounterCreativesList = 0;
1068 buildCreativesList() { 1070 buildCreativesList() {
1069 var o = new api.CreativesList(); 1071 var o = new api.CreativesList();
1070 buildCounterCreativesList++; 1072 buildCounterCreativesList++;
1071 if (buildCounterCreativesList < 3) { 1073 if (buildCounterCreativesList < 3) {
1072 o.items = buildUnnamed1948(); 1074 o.items = buildUnnamed2260();
1073 o.kind = "foo"; 1075 o.kind = "foo";
1074 o.nextPageToken = "foo"; 1076 o.nextPageToken = "foo";
1075 } 1077 }
1076 buildCounterCreativesList--; 1078 buildCounterCreativesList--;
1077 return o; 1079 return o;
1078 } 1080 }
1079 1081
1080 checkCreativesList(api.CreativesList o) { 1082 checkCreativesList(api.CreativesList o) {
1081 buildCounterCreativesList++; 1083 buildCounterCreativesList++;
1082 if (buildCounterCreativesList < 3) { 1084 if (buildCounterCreativesList < 3) {
1083 checkUnnamed1948(o.items); 1085 checkUnnamed2260(o.items);
1084 unittest.expect(o.kind, unittest.equals('foo')); 1086 unittest.expect(o.kind, unittest.equals('foo'));
1085 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1087 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1086 } 1088 }
1087 buildCounterCreativesList--; 1089 buildCounterCreativesList--;
1088 } 1090 }
1089 1091
1092 core.int buildCounterDealServingMetadata = 0;
1093 buildDealServingMetadata() {
1094 var o = new api.DealServingMetadata();
1095 buildCounterDealServingMetadata++;
1096 if (buildCounterDealServingMetadata < 3) {
1097 o.dealPauseStatus = buildDealServingMetadataDealPauseStatus();
1098 }
1099 buildCounterDealServingMetadata--;
1100 return o;
1101 }
1102
1103 checkDealServingMetadata(api.DealServingMetadata o) {
1104 buildCounterDealServingMetadata++;
1105 if (buildCounterDealServingMetadata < 3) {
1106 checkDealServingMetadataDealPauseStatus(o.dealPauseStatus);
1107 }
1108 buildCounterDealServingMetadata--;
1109 }
1110
1111 core.int buildCounterDealServingMetadataDealPauseStatus = 0;
1112 buildDealServingMetadataDealPauseStatus() {
1113 var o = new api.DealServingMetadataDealPauseStatus();
1114 buildCounterDealServingMetadataDealPauseStatus++;
1115 if (buildCounterDealServingMetadataDealPauseStatus < 3) {
1116 o.hasBuyerPaused = true;
1117 o.hasSellerPaused = true;
1118 }
1119 buildCounterDealServingMetadataDealPauseStatus--;
1120 return o;
1121 }
1122
1123 checkDealServingMetadataDealPauseStatus(api.DealServingMetadataDealPauseStatus o ) {
1124 buildCounterDealServingMetadataDealPauseStatus++;
1125 if (buildCounterDealServingMetadataDealPauseStatus < 3) {
1126 unittest.expect(o.hasBuyerPaused, unittest.isTrue);
1127 unittest.expect(o.hasSellerPaused, unittest.isTrue);
1128 }
1129 buildCounterDealServingMetadataDealPauseStatus--;
1130 }
1131
1090 core.int buildCounterDealTerms = 0; 1132 core.int buildCounterDealTerms = 0;
1091 buildDealTerms() { 1133 buildDealTerms() {
1092 var o = new api.DealTerms(); 1134 var o = new api.DealTerms();
1093 buildCounterDealTerms++; 1135 buildCounterDealTerms++;
1094 if (buildCounterDealTerms < 3) { 1136 if (buildCounterDealTerms < 3) {
1095 o.brandingType = "foo"; 1137 o.brandingType = "foo";
1096 o.description = "foo"; 1138 o.description = "foo";
1097 o.estimatedGrossSpend = buildPrice(); 1139 o.estimatedGrossSpend = buildPrice();
1098 o.estimatedImpressionsPerDay = "foo"; 1140 o.estimatedImpressionsPerDay = "foo";
1099 o.guaranteedFixedPriceTerms = buildDealTermsGuaranteedFixedPriceTerms(); 1141 o.guaranteedFixedPriceTerms = buildDealTermsGuaranteedFixedPriceTerms();
(...skipping 11 matching lines...) Expand all
1111 unittest.expect(o.description, unittest.equals('foo')); 1153 unittest.expect(o.description, unittest.equals('foo'));
1112 checkPrice(o.estimatedGrossSpend); 1154 checkPrice(o.estimatedGrossSpend);
1113 unittest.expect(o.estimatedImpressionsPerDay, unittest.equals('foo')); 1155 unittest.expect(o.estimatedImpressionsPerDay, unittest.equals('foo'));
1114 checkDealTermsGuaranteedFixedPriceTerms(o.guaranteedFixedPriceTerms); 1156 checkDealTermsGuaranteedFixedPriceTerms(o.guaranteedFixedPriceTerms);
1115 checkDealTermsNonGuaranteedAuctionTerms(o.nonGuaranteedAuctionTerms); 1157 checkDealTermsNonGuaranteedAuctionTerms(o.nonGuaranteedAuctionTerms);
1116 checkDealTermsNonGuaranteedFixedPriceTerms(o.nonGuaranteedFixedPriceTerms); 1158 checkDealTermsNonGuaranteedFixedPriceTerms(o.nonGuaranteedFixedPriceTerms);
1117 } 1159 }
1118 buildCounterDealTerms--; 1160 buildCounterDealTerms--;
1119 } 1161 }
1120 1162
1121 buildUnnamed1949() { 1163 buildUnnamed2261() {
1122 var o = new core.List<api.PricePerBuyer>(); 1164 var o = new core.List<api.PricePerBuyer>();
1123 o.add(buildPricePerBuyer()); 1165 o.add(buildPricePerBuyer());
1124 o.add(buildPricePerBuyer()); 1166 o.add(buildPricePerBuyer());
1125 return o; 1167 return o;
1126 } 1168 }
1127 1169
1128 checkUnnamed1949(core.List<api.PricePerBuyer> o) { 1170 checkUnnamed2261(core.List<api.PricePerBuyer> o) {
1129 unittest.expect(o, unittest.hasLength(2)); 1171 unittest.expect(o, unittest.hasLength(2));
1130 checkPricePerBuyer(o[0]); 1172 checkPricePerBuyer(o[0]);
1131 checkPricePerBuyer(o[1]); 1173 checkPricePerBuyer(o[1]);
1132 } 1174 }
1133 1175
1134 core.int buildCounterDealTermsGuaranteedFixedPriceTerms = 0; 1176 core.int buildCounterDealTermsGuaranteedFixedPriceTerms = 0;
1135 buildDealTermsGuaranteedFixedPriceTerms() { 1177 buildDealTermsGuaranteedFixedPriceTerms() {
1136 var o = new api.DealTermsGuaranteedFixedPriceTerms(); 1178 var o = new api.DealTermsGuaranteedFixedPriceTerms();
1137 buildCounterDealTermsGuaranteedFixedPriceTerms++; 1179 buildCounterDealTermsGuaranteedFixedPriceTerms++;
1138 if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) { 1180 if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) {
1139 o.fixedPrices = buildUnnamed1949(); 1181 o.fixedPrices = buildUnnamed2261();
1140 o.guaranteedImpressions = "foo"; 1182 o.guaranteedImpressions = "foo";
1141 o.guaranteedLooks = "foo"; 1183 o.guaranteedLooks = "foo";
1142 } 1184 }
1143 buildCounterDealTermsGuaranteedFixedPriceTerms--; 1185 buildCounterDealTermsGuaranteedFixedPriceTerms--;
1144 return o; 1186 return o;
1145 } 1187 }
1146 1188
1147 checkDealTermsGuaranteedFixedPriceTerms(api.DealTermsGuaranteedFixedPriceTerms o ) { 1189 checkDealTermsGuaranteedFixedPriceTerms(api.DealTermsGuaranteedFixedPriceTerms o ) {
1148 buildCounterDealTermsGuaranteedFixedPriceTerms++; 1190 buildCounterDealTermsGuaranteedFixedPriceTerms++;
1149 if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) { 1191 if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) {
1150 checkUnnamed1949(o.fixedPrices); 1192 checkUnnamed2261(o.fixedPrices);
1151 unittest.expect(o.guaranteedImpressions, unittest.equals('foo')); 1193 unittest.expect(o.guaranteedImpressions, unittest.equals('foo'));
1152 unittest.expect(o.guaranteedLooks, unittest.equals('foo')); 1194 unittest.expect(o.guaranteedLooks, unittest.equals('foo'));
1153 } 1195 }
1154 buildCounterDealTermsGuaranteedFixedPriceTerms--; 1196 buildCounterDealTermsGuaranteedFixedPriceTerms--;
1155 } 1197 }
1156 1198
1157 buildUnnamed1950() { 1199 buildUnnamed2262() {
1158 var o = new core.List<api.PricePerBuyer>(); 1200 var o = new core.List<api.PricePerBuyer>();
1159 o.add(buildPricePerBuyer()); 1201 o.add(buildPricePerBuyer());
1160 o.add(buildPricePerBuyer()); 1202 o.add(buildPricePerBuyer());
1161 return o; 1203 return o;
1162 } 1204 }
1163 1205
1164 checkUnnamed1950(core.List<api.PricePerBuyer> o) { 1206 checkUnnamed2262(core.List<api.PricePerBuyer> o) {
1165 unittest.expect(o, unittest.hasLength(2)); 1207 unittest.expect(o, unittest.hasLength(2));
1166 checkPricePerBuyer(o[0]); 1208 checkPricePerBuyer(o[0]);
1167 checkPricePerBuyer(o[1]); 1209 checkPricePerBuyer(o[1]);
1168 } 1210 }
1169 1211
1170 core.int buildCounterDealTermsNonGuaranteedAuctionTerms = 0; 1212 core.int buildCounterDealTermsNonGuaranteedAuctionTerms = 0;
1171 buildDealTermsNonGuaranteedAuctionTerms() { 1213 buildDealTermsNonGuaranteedAuctionTerms() {
1172 var o = new api.DealTermsNonGuaranteedAuctionTerms(); 1214 var o = new api.DealTermsNonGuaranteedAuctionTerms();
1173 buildCounterDealTermsNonGuaranteedAuctionTerms++; 1215 buildCounterDealTermsNonGuaranteedAuctionTerms++;
1174 if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) { 1216 if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) {
1175 o.privateAuctionId = "foo"; 1217 o.autoOptimizePrivateAuction = true;
1176 o.reservePricePerBuyers = buildUnnamed1950(); 1218 o.reservePricePerBuyers = buildUnnamed2262();
1177 } 1219 }
1178 buildCounterDealTermsNonGuaranteedAuctionTerms--; 1220 buildCounterDealTermsNonGuaranteedAuctionTerms--;
1179 return o; 1221 return o;
1180 } 1222 }
1181 1223
1182 checkDealTermsNonGuaranteedAuctionTerms(api.DealTermsNonGuaranteedAuctionTerms o ) { 1224 checkDealTermsNonGuaranteedAuctionTerms(api.DealTermsNonGuaranteedAuctionTerms o ) {
1183 buildCounterDealTermsNonGuaranteedAuctionTerms++; 1225 buildCounterDealTermsNonGuaranteedAuctionTerms++;
1184 if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) { 1226 if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) {
1185 unittest.expect(o.privateAuctionId, unittest.equals('foo')); 1227 unittest.expect(o.autoOptimizePrivateAuction, unittest.isTrue);
1186 checkUnnamed1950(o.reservePricePerBuyers); 1228 checkUnnamed2262(o.reservePricePerBuyers);
1187 } 1229 }
1188 buildCounterDealTermsNonGuaranteedAuctionTerms--; 1230 buildCounterDealTermsNonGuaranteedAuctionTerms--;
1189 } 1231 }
1190 1232
1191 buildUnnamed1951() { 1233 buildUnnamed2263() {
1192 var o = new core.List<api.PricePerBuyer>(); 1234 var o = new core.List<api.PricePerBuyer>();
1193 o.add(buildPricePerBuyer()); 1235 o.add(buildPricePerBuyer());
1194 o.add(buildPricePerBuyer()); 1236 o.add(buildPricePerBuyer());
1195 return o; 1237 return o;
1196 } 1238 }
1197 1239
1198 checkUnnamed1951(core.List<api.PricePerBuyer> o) { 1240 checkUnnamed2263(core.List<api.PricePerBuyer> o) {
1199 unittest.expect(o, unittest.hasLength(2)); 1241 unittest.expect(o, unittest.hasLength(2));
1200 checkPricePerBuyer(o[0]); 1242 checkPricePerBuyer(o[0]);
1201 checkPricePerBuyer(o[1]); 1243 checkPricePerBuyer(o[1]);
1202 } 1244 }
1203 1245
1204 core.int buildCounterDealTermsNonGuaranteedFixedPriceTerms = 0; 1246 core.int buildCounterDealTermsNonGuaranteedFixedPriceTerms = 0;
1205 buildDealTermsNonGuaranteedFixedPriceTerms() { 1247 buildDealTermsNonGuaranteedFixedPriceTerms() {
1206 var o = new api.DealTermsNonGuaranteedFixedPriceTerms(); 1248 var o = new api.DealTermsNonGuaranteedFixedPriceTerms();
1207 buildCounterDealTermsNonGuaranteedFixedPriceTerms++; 1249 buildCounterDealTermsNonGuaranteedFixedPriceTerms++;
1208 if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) { 1250 if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) {
1209 o.fixedPrices = buildUnnamed1951(); 1251 o.fixedPrices = buildUnnamed2263();
1210 } 1252 }
1211 buildCounterDealTermsNonGuaranteedFixedPriceTerms--; 1253 buildCounterDealTermsNonGuaranteedFixedPriceTerms--;
1212 return o; 1254 return o;
1213 } 1255 }
1214 1256
1215 checkDealTermsNonGuaranteedFixedPriceTerms(api.DealTermsNonGuaranteedFixedPriceT erms o) { 1257 checkDealTermsNonGuaranteedFixedPriceTerms(api.DealTermsNonGuaranteedFixedPriceT erms o) {
1216 buildCounterDealTermsNonGuaranteedFixedPriceTerms++; 1258 buildCounterDealTermsNonGuaranteedFixedPriceTerms++;
1217 if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) { 1259 if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) {
1218 checkUnnamed1951(o.fixedPrices); 1260 checkUnnamed2263(o.fixedPrices);
1219 } 1261 }
1220 buildCounterDealTermsNonGuaranteedFixedPriceTerms--; 1262 buildCounterDealTermsNonGuaranteedFixedPriceTerms--;
1221 } 1263 }
1222 1264
1223 buildUnnamed1952() { 1265 buildUnnamed2264() {
1224 var o = new core.List<core.String>(); 1266 var o = new core.List<core.String>();
1225 o.add("foo"); 1267 o.add("foo");
1226 o.add("foo"); 1268 o.add("foo");
1227 return o; 1269 return o;
1228 } 1270 }
1229 1271
1230 checkUnnamed1952(core.List<core.String> o) { 1272 checkUnnamed2264(core.List<core.String> o) {
1231 unittest.expect(o, unittest.hasLength(2)); 1273 unittest.expect(o, unittest.hasLength(2));
1232 unittest.expect(o[0], unittest.equals('foo')); 1274 unittest.expect(o[0], unittest.equals('foo'));
1233 unittest.expect(o[1], unittest.equals('foo')); 1275 unittest.expect(o[1], unittest.equals('foo'));
1234 } 1276 }
1235 1277
1236 core.int buildCounterDeleteOrderDealsRequest = 0; 1278 core.int buildCounterDeleteOrderDealsRequest = 0;
1237 buildDeleteOrderDealsRequest() { 1279 buildDeleteOrderDealsRequest() {
1238 var o = new api.DeleteOrderDealsRequest(); 1280 var o = new api.DeleteOrderDealsRequest();
1239 buildCounterDeleteOrderDealsRequest++; 1281 buildCounterDeleteOrderDealsRequest++;
1240 if (buildCounterDeleteOrderDealsRequest < 3) { 1282 if (buildCounterDeleteOrderDealsRequest < 3) {
1241 o.dealIds = buildUnnamed1952(); 1283 o.dealIds = buildUnnamed2264();
1242 o.proposalRevisionNumber = "foo"; 1284 o.proposalRevisionNumber = "foo";
1243 o.updateAction = "foo"; 1285 o.updateAction = "foo";
1244 } 1286 }
1245 buildCounterDeleteOrderDealsRequest--; 1287 buildCounterDeleteOrderDealsRequest--;
1246 return o; 1288 return o;
1247 } 1289 }
1248 1290
1249 checkDeleteOrderDealsRequest(api.DeleteOrderDealsRequest o) { 1291 checkDeleteOrderDealsRequest(api.DeleteOrderDealsRequest o) {
1250 buildCounterDeleteOrderDealsRequest++; 1292 buildCounterDeleteOrderDealsRequest++;
1251 if (buildCounterDeleteOrderDealsRequest < 3) { 1293 if (buildCounterDeleteOrderDealsRequest < 3) {
1252 checkUnnamed1952(o.dealIds); 1294 checkUnnamed2264(o.dealIds);
1253 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); 1295 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo'));
1254 unittest.expect(o.updateAction, unittest.equals('foo')); 1296 unittest.expect(o.updateAction, unittest.equals('foo'));
1255 } 1297 }
1256 buildCounterDeleteOrderDealsRequest--; 1298 buildCounterDeleteOrderDealsRequest--;
1257 } 1299 }
1258 1300
1259 buildUnnamed1953() { 1301 buildUnnamed2265() {
1260 var o = new core.List<api.MarketplaceDeal>(); 1302 var o = new core.List<api.MarketplaceDeal>();
1261 o.add(buildMarketplaceDeal()); 1303 o.add(buildMarketplaceDeal());
1262 o.add(buildMarketplaceDeal()); 1304 o.add(buildMarketplaceDeal());
1263 return o; 1305 return o;
1264 } 1306 }
1265 1307
1266 checkUnnamed1953(core.List<api.MarketplaceDeal> o) { 1308 checkUnnamed2265(core.List<api.MarketplaceDeal> o) {
1267 unittest.expect(o, unittest.hasLength(2)); 1309 unittest.expect(o, unittest.hasLength(2));
1268 checkMarketplaceDeal(o[0]); 1310 checkMarketplaceDeal(o[0]);
1269 checkMarketplaceDeal(o[1]); 1311 checkMarketplaceDeal(o[1]);
1270 } 1312 }
1271 1313
1272 core.int buildCounterDeleteOrderDealsResponse = 0; 1314 core.int buildCounterDeleteOrderDealsResponse = 0;
1273 buildDeleteOrderDealsResponse() { 1315 buildDeleteOrderDealsResponse() {
1274 var o = new api.DeleteOrderDealsResponse(); 1316 var o = new api.DeleteOrderDealsResponse();
1275 buildCounterDeleteOrderDealsResponse++; 1317 buildCounterDeleteOrderDealsResponse++;
1276 if (buildCounterDeleteOrderDealsResponse < 3) { 1318 if (buildCounterDeleteOrderDealsResponse < 3) {
1277 o.deals = buildUnnamed1953(); 1319 o.deals = buildUnnamed2265();
1278 o.proposalRevisionNumber = "foo"; 1320 o.proposalRevisionNumber = "foo";
1279 } 1321 }
1280 buildCounterDeleteOrderDealsResponse--; 1322 buildCounterDeleteOrderDealsResponse--;
1281 return o; 1323 return o;
1282 } 1324 }
1283 1325
1284 checkDeleteOrderDealsResponse(api.DeleteOrderDealsResponse o) { 1326 checkDeleteOrderDealsResponse(api.DeleteOrderDealsResponse o) {
1285 buildCounterDeleteOrderDealsResponse++; 1327 buildCounterDeleteOrderDealsResponse++;
1286 if (buildCounterDeleteOrderDealsResponse < 3) { 1328 if (buildCounterDeleteOrderDealsResponse < 3) {
1287 checkUnnamed1953(o.deals); 1329 checkUnnamed2265(o.deals);
1288 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); 1330 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo'));
1289 } 1331 }
1290 buildCounterDeleteOrderDealsResponse--; 1332 buildCounterDeleteOrderDealsResponse--;
1291 } 1333 }
1292 1334
1293 buildUnnamed1954() { 1335 buildUnnamed2266() {
1294 var o = new core.List<api.DeliveryControlFrequencyCap>(); 1336 var o = new core.List<api.DeliveryControlFrequencyCap>();
1295 o.add(buildDeliveryControlFrequencyCap()); 1337 o.add(buildDeliveryControlFrequencyCap());
1296 o.add(buildDeliveryControlFrequencyCap()); 1338 o.add(buildDeliveryControlFrequencyCap());
1297 return o; 1339 return o;
1298 } 1340 }
1299 1341
1300 checkUnnamed1954(core.List<api.DeliveryControlFrequencyCap> o) { 1342 checkUnnamed2266(core.List<api.DeliveryControlFrequencyCap> o) {
1301 unittest.expect(o, unittest.hasLength(2)); 1343 unittest.expect(o, unittest.hasLength(2));
1302 checkDeliveryControlFrequencyCap(o[0]); 1344 checkDeliveryControlFrequencyCap(o[0]);
1303 checkDeliveryControlFrequencyCap(o[1]); 1345 checkDeliveryControlFrequencyCap(o[1]);
1304 } 1346 }
1305 1347
1306 core.int buildCounterDeliveryControl = 0; 1348 core.int buildCounterDeliveryControl = 0;
1307 buildDeliveryControl() { 1349 buildDeliveryControl() {
1308 var o = new api.DeliveryControl(); 1350 var o = new api.DeliveryControl();
1309 buildCounterDeliveryControl++; 1351 buildCounterDeliveryControl++;
1310 if (buildCounterDeliveryControl < 3) { 1352 if (buildCounterDeliveryControl < 3) {
1311 o.creativeBlockingLevel = "foo"; 1353 o.creativeBlockingLevel = "foo";
1312 o.deliveryRateType = "foo"; 1354 o.deliveryRateType = "foo";
1313 o.frequencyCaps = buildUnnamed1954(); 1355 o.frequencyCaps = buildUnnamed2266();
1314 } 1356 }
1315 buildCounterDeliveryControl--; 1357 buildCounterDeliveryControl--;
1316 return o; 1358 return o;
1317 } 1359 }
1318 1360
1319 checkDeliveryControl(api.DeliveryControl o) { 1361 checkDeliveryControl(api.DeliveryControl o) {
1320 buildCounterDeliveryControl++; 1362 buildCounterDeliveryControl++;
1321 if (buildCounterDeliveryControl < 3) { 1363 if (buildCounterDeliveryControl < 3) {
1322 unittest.expect(o.creativeBlockingLevel, unittest.equals('foo')); 1364 unittest.expect(o.creativeBlockingLevel, unittest.equals('foo'));
1323 unittest.expect(o.deliveryRateType, unittest.equals('foo')); 1365 unittest.expect(o.deliveryRateType, unittest.equals('foo'));
1324 checkUnnamed1954(o.frequencyCaps); 1366 checkUnnamed2266(o.frequencyCaps);
1325 } 1367 }
1326 buildCounterDeliveryControl--; 1368 buildCounterDeliveryControl--;
1327 } 1369 }
1328 1370
1329 core.int buildCounterDeliveryControlFrequencyCap = 0; 1371 core.int buildCounterDeliveryControlFrequencyCap = 0;
1330 buildDeliveryControlFrequencyCap() { 1372 buildDeliveryControlFrequencyCap() {
1331 var o = new api.DeliveryControlFrequencyCap(); 1373 var o = new api.DeliveryControlFrequencyCap();
1332 buildCounterDeliveryControlFrequencyCap++; 1374 buildCounterDeliveryControlFrequencyCap++;
1333 if (buildCounterDeliveryControlFrequencyCap < 3) { 1375 if (buildCounterDeliveryControlFrequencyCap < 3) {
1334 o.maxImpressions = 42; 1376 o.maxImpressions = 42;
1335 o.numTimeUnits = 42; 1377 o.numTimeUnits = 42;
1336 o.timeUnitType = "foo"; 1378 o.timeUnitType = "foo";
1337 } 1379 }
1338 buildCounterDeliveryControlFrequencyCap--; 1380 buildCounterDeliveryControlFrequencyCap--;
1339 return o; 1381 return o;
1340 } 1382 }
1341 1383
1342 checkDeliveryControlFrequencyCap(api.DeliveryControlFrequencyCap o) { 1384 checkDeliveryControlFrequencyCap(api.DeliveryControlFrequencyCap o) {
1343 buildCounterDeliveryControlFrequencyCap++; 1385 buildCounterDeliveryControlFrequencyCap++;
1344 if (buildCounterDeliveryControlFrequencyCap < 3) { 1386 if (buildCounterDeliveryControlFrequencyCap < 3) {
1345 unittest.expect(o.maxImpressions, unittest.equals(42)); 1387 unittest.expect(o.maxImpressions, unittest.equals(42));
1346 unittest.expect(o.numTimeUnits, unittest.equals(42)); 1388 unittest.expect(o.numTimeUnits, unittest.equals(42));
1347 unittest.expect(o.timeUnitType, unittest.equals('foo')); 1389 unittest.expect(o.timeUnitType, unittest.equals('foo'));
1348 } 1390 }
1349 buildCounterDeliveryControlFrequencyCap--; 1391 buildCounterDeliveryControlFrequencyCap--;
1350 } 1392 }
1351 1393
1352 buildUnnamed1955() { 1394 buildUnnamed2267() {
1353 var o = new core.List<api.MarketplaceDeal>(); 1395 var o = new core.List<api.MarketplaceDeal>();
1354 o.add(buildMarketplaceDeal()); 1396 o.add(buildMarketplaceDeal());
1355 o.add(buildMarketplaceDeal()); 1397 o.add(buildMarketplaceDeal());
1356 return o; 1398 return o;
1357 } 1399 }
1358 1400
1359 checkUnnamed1955(core.List<api.MarketplaceDeal> o) { 1401 checkUnnamed2267(core.List<api.MarketplaceDeal> o) {
1360 unittest.expect(o, unittest.hasLength(2)); 1402 unittest.expect(o, unittest.hasLength(2));
1361 checkMarketplaceDeal(o[0]); 1403 checkMarketplaceDeal(o[0]);
1362 checkMarketplaceDeal(o[1]); 1404 checkMarketplaceDeal(o[1]);
1363 } 1405 }
1364 1406
1365 core.int buildCounterEditAllOrderDealsRequest = 0; 1407 core.int buildCounterEditAllOrderDealsRequest = 0;
1366 buildEditAllOrderDealsRequest() { 1408 buildEditAllOrderDealsRequest() {
1367 var o = new api.EditAllOrderDealsRequest(); 1409 var o = new api.EditAllOrderDealsRequest();
1368 buildCounterEditAllOrderDealsRequest++; 1410 buildCounterEditAllOrderDealsRequest++;
1369 if (buildCounterEditAllOrderDealsRequest < 3) { 1411 if (buildCounterEditAllOrderDealsRequest < 3) {
1370 o.deals = buildUnnamed1955(); 1412 o.deals = buildUnnamed2267();
1371 o.proposal = buildProposal(); 1413 o.proposal = buildProposal();
1372 o.proposalRevisionNumber = "foo"; 1414 o.proposalRevisionNumber = "foo";
1373 o.updateAction = "foo"; 1415 o.updateAction = "foo";
1374 } 1416 }
1375 buildCounterEditAllOrderDealsRequest--; 1417 buildCounterEditAllOrderDealsRequest--;
1376 return o; 1418 return o;
1377 } 1419 }
1378 1420
1379 checkEditAllOrderDealsRequest(api.EditAllOrderDealsRequest o) { 1421 checkEditAllOrderDealsRequest(api.EditAllOrderDealsRequest o) {
1380 buildCounterEditAllOrderDealsRequest++; 1422 buildCounterEditAllOrderDealsRequest++;
1381 if (buildCounterEditAllOrderDealsRequest < 3) { 1423 if (buildCounterEditAllOrderDealsRequest < 3) {
1382 checkUnnamed1955(o.deals); 1424 checkUnnamed2267(o.deals);
1383 checkProposal(o.proposal); 1425 checkProposal(o.proposal);
1384 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); 1426 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo'));
1385 unittest.expect(o.updateAction, unittest.equals('foo')); 1427 unittest.expect(o.updateAction, unittest.equals('foo'));
1386 } 1428 }
1387 buildCounterEditAllOrderDealsRequest--; 1429 buildCounterEditAllOrderDealsRequest--;
1388 } 1430 }
1389 1431
1390 buildUnnamed1956() { 1432 buildUnnamed2268() {
1391 var o = new core.List<api.MarketplaceDeal>(); 1433 var o = new core.List<api.MarketplaceDeal>();
1392 o.add(buildMarketplaceDeal()); 1434 o.add(buildMarketplaceDeal());
1393 o.add(buildMarketplaceDeal()); 1435 o.add(buildMarketplaceDeal());
1394 return o; 1436 return o;
1395 } 1437 }
1396 1438
1397 checkUnnamed1956(core.List<api.MarketplaceDeal> o) { 1439 checkUnnamed2268(core.List<api.MarketplaceDeal> o) {
1398 unittest.expect(o, unittest.hasLength(2)); 1440 unittest.expect(o, unittest.hasLength(2));
1399 checkMarketplaceDeal(o[0]); 1441 checkMarketplaceDeal(o[0]);
1400 checkMarketplaceDeal(o[1]); 1442 checkMarketplaceDeal(o[1]);
1401 } 1443 }
1402 1444
1403 core.int buildCounterEditAllOrderDealsResponse = 0; 1445 core.int buildCounterEditAllOrderDealsResponse = 0;
1404 buildEditAllOrderDealsResponse() { 1446 buildEditAllOrderDealsResponse() {
1405 var o = new api.EditAllOrderDealsResponse(); 1447 var o = new api.EditAllOrderDealsResponse();
1406 buildCounterEditAllOrderDealsResponse++; 1448 buildCounterEditAllOrderDealsResponse++;
1407 if (buildCounterEditAllOrderDealsResponse < 3) { 1449 if (buildCounterEditAllOrderDealsResponse < 3) {
1408 o.deals = buildUnnamed1956(); 1450 o.deals = buildUnnamed2268();
1451 o.orderRevisionNumber = "foo";
1409 } 1452 }
1410 buildCounterEditAllOrderDealsResponse--; 1453 buildCounterEditAllOrderDealsResponse--;
1411 return o; 1454 return o;
1412 } 1455 }
1413 1456
1414 checkEditAllOrderDealsResponse(api.EditAllOrderDealsResponse o) { 1457 checkEditAllOrderDealsResponse(api.EditAllOrderDealsResponse o) {
1415 buildCounterEditAllOrderDealsResponse++; 1458 buildCounterEditAllOrderDealsResponse++;
1416 if (buildCounterEditAllOrderDealsResponse < 3) { 1459 if (buildCounterEditAllOrderDealsResponse < 3) {
1417 checkUnnamed1956(o.deals); 1460 checkUnnamed2268(o.deals);
1461 unittest.expect(o.orderRevisionNumber, unittest.equals('foo'));
1418 } 1462 }
1419 buildCounterEditAllOrderDealsResponse--; 1463 buildCounterEditAllOrderDealsResponse--;
1420 } 1464 }
1421 1465
1422 buildUnnamed1957() { 1466 buildUnnamed2269() {
1423 var o = new core.List<api.Product>(); 1467 var o = new core.List<api.Product>();
1424 o.add(buildProduct()); 1468 o.add(buildProduct());
1425 o.add(buildProduct()); 1469 o.add(buildProduct());
1426 return o; 1470 return o;
1427 } 1471 }
1428 1472
1429 checkUnnamed1957(core.List<api.Product> o) { 1473 checkUnnamed2269(core.List<api.Product> o) {
1430 unittest.expect(o, unittest.hasLength(2)); 1474 unittest.expect(o, unittest.hasLength(2));
1431 checkProduct(o[0]); 1475 checkProduct(o[0]);
1432 checkProduct(o[1]); 1476 checkProduct(o[1]);
1433 } 1477 }
1434 1478
1435 core.int buildCounterGetOffersResponse = 0; 1479 core.int buildCounterGetOffersResponse = 0;
1436 buildGetOffersResponse() { 1480 buildGetOffersResponse() {
1437 var o = new api.GetOffersResponse(); 1481 var o = new api.GetOffersResponse();
1438 buildCounterGetOffersResponse++; 1482 buildCounterGetOffersResponse++;
1439 if (buildCounterGetOffersResponse < 3) { 1483 if (buildCounterGetOffersResponse < 3) {
1440 o.products = buildUnnamed1957(); 1484 o.products = buildUnnamed2269();
1441 } 1485 }
1442 buildCounterGetOffersResponse--; 1486 buildCounterGetOffersResponse--;
1443 return o; 1487 return o;
1444 } 1488 }
1445 1489
1446 checkGetOffersResponse(api.GetOffersResponse o) { 1490 checkGetOffersResponse(api.GetOffersResponse o) {
1447 buildCounterGetOffersResponse++; 1491 buildCounterGetOffersResponse++;
1448 if (buildCounterGetOffersResponse < 3) { 1492 if (buildCounterGetOffersResponse < 3) {
1449 checkUnnamed1957(o.products); 1493 checkUnnamed2269(o.products);
1450 } 1494 }
1451 buildCounterGetOffersResponse--; 1495 buildCounterGetOffersResponse--;
1452 } 1496 }
1453 1497
1454 buildUnnamed1958() { 1498 buildUnnamed2270() {
1455 var o = new core.List<api.MarketplaceDeal>(); 1499 var o = new core.List<api.MarketplaceDeal>();
1456 o.add(buildMarketplaceDeal()); 1500 o.add(buildMarketplaceDeal());
1457 o.add(buildMarketplaceDeal()); 1501 o.add(buildMarketplaceDeal());
1458 return o; 1502 return o;
1459 } 1503 }
1460 1504
1461 checkUnnamed1958(core.List<api.MarketplaceDeal> o) { 1505 checkUnnamed2270(core.List<api.MarketplaceDeal> o) {
1462 unittest.expect(o, unittest.hasLength(2)); 1506 unittest.expect(o, unittest.hasLength(2));
1463 checkMarketplaceDeal(o[0]); 1507 checkMarketplaceDeal(o[0]);
1464 checkMarketplaceDeal(o[1]); 1508 checkMarketplaceDeal(o[1]);
1465 } 1509 }
1466 1510
1467 core.int buildCounterGetOrderDealsResponse = 0; 1511 core.int buildCounterGetOrderDealsResponse = 0;
1468 buildGetOrderDealsResponse() { 1512 buildGetOrderDealsResponse() {
1469 var o = new api.GetOrderDealsResponse(); 1513 var o = new api.GetOrderDealsResponse();
1470 buildCounterGetOrderDealsResponse++; 1514 buildCounterGetOrderDealsResponse++;
1471 if (buildCounterGetOrderDealsResponse < 3) { 1515 if (buildCounterGetOrderDealsResponse < 3) {
1472 o.deals = buildUnnamed1958(); 1516 o.deals = buildUnnamed2270();
1473 } 1517 }
1474 buildCounterGetOrderDealsResponse--; 1518 buildCounterGetOrderDealsResponse--;
1475 return o; 1519 return o;
1476 } 1520 }
1477 1521
1478 checkGetOrderDealsResponse(api.GetOrderDealsResponse o) { 1522 checkGetOrderDealsResponse(api.GetOrderDealsResponse o) {
1479 buildCounterGetOrderDealsResponse++; 1523 buildCounterGetOrderDealsResponse++;
1480 if (buildCounterGetOrderDealsResponse < 3) { 1524 if (buildCounterGetOrderDealsResponse < 3) {
1481 checkUnnamed1958(o.deals); 1525 checkUnnamed2270(o.deals);
1482 } 1526 }
1483 buildCounterGetOrderDealsResponse--; 1527 buildCounterGetOrderDealsResponse--;
1484 } 1528 }
1485 1529
1486 buildUnnamed1959() { 1530 buildUnnamed2271() {
1487 var o = new core.List<api.MarketplaceNote>(); 1531 var o = new core.List<api.MarketplaceNote>();
1488 o.add(buildMarketplaceNote()); 1532 o.add(buildMarketplaceNote());
1489 o.add(buildMarketplaceNote()); 1533 o.add(buildMarketplaceNote());
1490 return o; 1534 return o;
1491 } 1535 }
1492 1536
1493 checkUnnamed1959(core.List<api.MarketplaceNote> o) { 1537 checkUnnamed2271(core.List<api.MarketplaceNote> o) {
1494 unittest.expect(o, unittest.hasLength(2)); 1538 unittest.expect(o, unittest.hasLength(2));
1495 checkMarketplaceNote(o[0]); 1539 checkMarketplaceNote(o[0]);
1496 checkMarketplaceNote(o[1]); 1540 checkMarketplaceNote(o[1]);
1497 } 1541 }
1498 1542
1499 core.int buildCounterGetOrderNotesResponse = 0; 1543 core.int buildCounterGetOrderNotesResponse = 0;
1500 buildGetOrderNotesResponse() { 1544 buildGetOrderNotesResponse() {
1501 var o = new api.GetOrderNotesResponse(); 1545 var o = new api.GetOrderNotesResponse();
1502 buildCounterGetOrderNotesResponse++; 1546 buildCounterGetOrderNotesResponse++;
1503 if (buildCounterGetOrderNotesResponse < 3) { 1547 if (buildCounterGetOrderNotesResponse < 3) {
1504 o.notes = buildUnnamed1959(); 1548 o.notes = buildUnnamed2271();
1505 } 1549 }
1506 buildCounterGetOrderNotesResponse--; 1550 buildCounterGetOrderNotesResponse--;
1507 return o; 1551 return o;
1508 } 1552 }
1509 1553
1510 checkGetOrderNotesResponse(api.GetOrderNotesResponse o) { 1554 checkGetOrderNotesResponse(api.GetOrderNotesResponse o) {
1511 buildCounterGetOrderNotesResponse++; 1555 buildCounterGetOrderNotesResponse++;
1512 if (buildCounterGetOrderNotesResponse < 3) { 1556 if (buildCounterGetOrderNotesResponse < 3) {
1513 checkUnnamed1959(o.notes); 1557 checkUnnamed2271(o.notes);
1514 } 1558 }
1515 buildCounterGetOrderNotesResponse--; 1559 buildCounterGetOrderNotesResponse--;
1516 } 1560 }
1517 1561
1518 buildUnnamed1960() { 1562 buildUnnamed2272() {
1519 var o = new core.List<api.Proposal>(); 1563 var o = new core.List<api.Proposal>();
1520 o.add(buildProposal()); 1564 o.add(buildProposal());
1521 o.add(buildProposal()); 1565 o.add(buildProposal());
1522 return o; 1566 return o;
1523 } 1567 }
1524 1568
1525 checkUnnamed1960(core.List<api.Proposal> o) { 1569 checkUnnamed2272(core.List<api.Proposal> o) {
1526 unittest.expect(o, unittest.hasLength(2)); 1570 unittest.expect(o, unittest.hasLength(2));
1527 checkProposal(o[0]); 1571 checkProposal(o[0]);
1528 checkProposal(o[1]); 1572 checkProposal(o[1]);
1529 } 1573 }
1530 1574
1531 core.int buildCounterGetOrdersResponse = 0; 1575 core.int buildCounterGetOrdersResponse = 0;
1532 buildGetOrdersResponse() { 1576 buildGetOrdersResponse() {
1533 var o = new api.GetOrdersResponse(); 1577 var o = new api.GetOrdersResponse();
1534 buildCounterGetOrdersResponse++; 1578 buildCounterGetOrdersResponse++;
1535 if (buildCounterGetOrdersResponse < 3) { 1579 if (buildCounterGetOrdersResponse < 3) {
1536 o.proposals = buildUnnamed1960(); 1580 o.proposals = buildUnnamed2272();
1537 } 1581 }
1538 buildCounterGetOrdersResponse--; 1582 buildCounterGetOrdersResponse--;
1539 return o; 1583 return o;
1540 } 1584 }
1541 1585
1542 checkGetOrdersResponse(api.GetOrdersResponse o) { 1586 checkGetOrdersResponse(api.GetOrdersResponse o) {
1543 buildCounterGetOrdersResponse++; 1587 buildCounterGetOrdersResponse++;
1544 if (buildCounterGetOrdersResponse < 3) { 1588 if (buildCounterGetOrdersResponse < 3) {
1545 checkUnnamed1960(o.proposals); 1589 checkUnnamed2272(o.proposals);
1546 } 1590 }
1547 buildCounterGetOrdersResponse--; 1591 buildCounterGetOrdersResponse--;
1548 } 1592 }
1549 1593
1550 buildUnnamed1961() { 1594 buildUnnamed2273() {
1595 var o = new core.List<api.PublisherProfileApiProto>();
1596 o.add(buildPublisherProfileApiProto());
1597 o.add(buildPublisherProfileApiProto());
1598 return o;
1599 }
1600
1601 checkUnnamed2273(core.List<api.PublisherProfileApiProto> o) {
1602 unittest.expect(o, unittest.hasLength(2));
1603 checkPublisherProfileApiProto(o[0]);
1604 checkPublisherProfileApiProto(o[1]);
1605 }
1606
1607 core.int buildCounterGetPublisherProfilesByAccountIdResponse = 0;
1608 buildGetPublisherProfilesByAccountIdResponse() {
1609 var o = new api.GetPublisherProfilesByAccountIdResponse();
1610 buildCounterGetPublisherProfilesByAccountIdResponse++;
1611 if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) {
1612 o.profiles = buildUnnamed2273();
1613 }
1614 buildCounterGetPublisherProfilesByAccountIdResponse--;
1615 return o;
1616 }
1617
1618 checkGetPublisherProfilesByAccountIdResponse(api.GetPublisherProfilesByAccountId Response o) {
1619 buildCounterGetPublisherProfilesByAccountIdResponse++;
1620 if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) {
1621 checkUnnamed2273(o.profiles);
1622 }
1623 buildCounterGetPublisherProfilesByAccountIdResponse--;
1624 }
1625
1626 buildUnnamed2274() {
1551 var o = new core.List<api.ContactInformation>(); 1627 var o = new core.List<api.ContactInformation>();
1552 o.add(buildContactInformation()); 1628 o.add(buildContactInformation());
1553 o.add(buildContactInformation()); 1629 o.add(buildContactInformation());
1554 return o; 1630 return o;
1555 } 1631 }
1556 1632
1557 checkUnnamed1961(core.List<api.ContactInformation> o) { 1633 checkUnnamed2274(core.List<api.ContactInformation> o) {
1558 unittest.expect(o, unittest.hasLength(2)); 1634 unittest.expect(o, unittest.hasLength(2));
1559 checkContactInformation(o[0]); 1635 checkContactInformation(o[0]);
1560 checkContactInformation(o[1]); 1636 checkContactInformation(o[1]);
1561 } 1637 }
1562 1638
1563 buildUnnamed1962() { 1639 buildUnnamed2275() {
1564 var o = new core.List<api.SharedTargeting>(); 1640 var o = new core.List<api.SharedTargeting>();
1565 o.add(buildSharedTargeting()); 1641 o.add(buildSharedTargeting());
1566 o.add(buildSharedTargeting()); 1642 o.add(buildSharedTargeting());
1567 return o; 1643 return o;
1568 } 1644 }
1569 1645
1570 checkUnnamed1962(core.List<api.SharedTargeting> o) { 1646 checkUnnamed2275(core.List<api.SharedTargeting> o) {
1571 unittest.expect(o, unittest.hasLength(2)); 1647 unittest.expect(o, unittest.hasLength(2));
1572 checkSharedTargeting(o[0]); 1648 checkSharedTargeting(o[0]);
1573 checkSharedTargeting(o[1]); 1649 checkSharedTargeting(o[1]);
1574 } 1650 }
1575 1651
1576 core.int buildCounterMarketplaceDeal = 0; 1652 core.int buildCounterMarketplaceDeal = 0;
1577 buildMarketplaceDeal() { 1653 buildMarketplaceDeal() {
1578 var o = new api.MarketplaceDeal(); 1654 var o = new api.MarketplaceDeal();
1579 buildCounterMarketplaceDeal++; 1655 buildCounterMarketplaceDeal++;
1580 if (buildCounterMarketplaceDeal < 3) { 1656 if (buildCounterMarketplaceDeal < 3) {
1581 o.buyerPrivateData = buildPrivateData(); 1657 o.buyerPrivateData = buildPrivateData();
1582 o.creationTimeMs = "foo"; 1658 o.creationTimeMs = "foo";
1583 o.creativePreApprovalPolicy = "foo"; 1659 o.creativePreApprovalPolicy = "foo";
1660 o.creativeSafeFrameCompatibility = "foo";
1584 o.dealId = "foo"; 1661 o.dealId = "foo";
1662 o.dealServingMetadata = buildDealServingMetadata();
1585 o.deliveryControl = buildDeliveryControl(); 1663 o.deliveryControl = buildDeliveryControl();
1586 o.externalDealId = "foo"; 1664 o.externalDealId = "foo";
1587 o.flightEndTimeMs = "foo"; 1665 o.flightEndTimeMs = "foo";
1588 o.flightStartTimeMs = "foo"; 1666 o.flightStartTimeMs = "foo";
1589 o.inventoryDescription = "foo"; 1667 o.inventoryDescription = "foo";
1590 o.kind = "foo"; 1668 o.kind = "foo";
1591 o.lastUpdateTimeMs = "foo"; 1669 o.lastUpdateTimeMs = "foo";
1592 o.name = "foo"; 1670 o.name = "foo";
1593 o.productId = "foo"; 1671 o.productId = "foo";
1594 o.productRevisionNumber = "foo"; 1672 o.productRevisionNumber = "foo";
1673 o.programmaticCreativeSource = "foo";
1595 o.proposalId = "foo"; 1674 o.proposalId = "foo";
1596 o.sellerContacts = buildUnnamed1961(); 1675 o.sellerContacts = buildUnnamed2274();
1597 o.sharedTargetings = buildUnnamed1962(); 1676 o.sharedTargetings = buildUnnamed2275();
1598 o.syndicationProduct = "foo"; 1677 o.syndicationProduct = "foo";
1599 o.terms = buildDealTerms(); 1678 o.terms = buildDealTerms();
1600 o.webPropertyCode = "foo"; 1679 o.webPropertyCode = "foo";
1601 } 1680 }
1602 buildCounterMarketplaceDeal--; 1681 buildCounterMarketplaceDeal--;
1603 return o; 1682 return o;
1604 } 1683 }
1605 1684
1606 checkMarketplaceDeal(api.MarketplaceDeal o) { 1685 checkMarketplaceDeal(api.MarketplaceDeal o) {
1607 buildCounterMarketplaceDeal++; 1686 buildCounterMarketplaceDeal++;
1608 if (buildCounterMarketplaceDeal < 3) { 1687 if (buildCounterMarketplaceDeal < 3) {
1609 checkPrivateData(o.buyerPrivateData); 1688 checkPrivateData(o.buyerPrivateData);
1610 unittest.expect(o.creationTimeMs, unittest.equals('foo')); 1689 unittest.expect(o.creationTimeMs, unittest.equals('foo'));
1611 unittest.expect(o.creativePreApprovalPolicy, unittest.equals('foo')); 1690 unittest.expect(o.creativePreApprovalPolicy, unittest.equals('foo'));
1691 unittest.expect(o.creativeSafeFrameCompatibility, unittest.equals('foo'));
1612 unittest.expect(o.dealId, unittest.equals('foo')); 1692 unittest.expect(o.dealId, unittest.equals('foo'));
1693 checkDealServingMetadata(o.dealServingMetadata);
1613 checkDeliveryControl(o.deliveryControl); 1694 checkDeliveryControl(o.deliveryControl);
1614 unittest.expect(o.externalDealId, unittest.equals('foo')); 1695 unittest.expect(o.externalDealId, unittest.equals('foo'));
1615 unittest.expect(o.flightEndTimeMs, unittest.equals('foo')); 1696 unittest.expect(o.flightEndTimeMs, unittest.equals('foo'));
1616 unittest.expect(o.flightStartTimeMs, unittest.equals('foo')); 1697 unittest.expect(o.flightStartTimeMs, unittest.equals('foo'));
1617 unittest.expect(o.inventoryDescription, unittest.equals('foo')); 1698 unittest.expect(o.inventoryDescription, unittest.equals('foo'));
1618 unittest.expect(o.kind, unittest.equals('foo')); 1699 unittest.expect(o.kind, unittest.equals('foo'));
1619 unittest.expect(o.lastUpdateTimeMs, unittest.equals('foo')); 1700 unittest.expect(o.lastUpdateTimeMs, unittest.equals('foo'));
1620 unittest.expect(o.name, unittest.equals('foo')); 1701 unittest.expect(o.name, unittest.equals('foo'));
1621 unittest.expect(o.productId, unittest.equals('foo')); 1702 unittest.expect(o.productId, unittest.equals('foo'));
1622 unittest.expect(o.productRevisionNumber, unittest.equals('foo')); 1703 unittest.expect(o.productRevisionNumber, unittest.equals('foo'));
1704 unittest.expect(o.programmaticCreativeSource, unittest.equals('foo'));
1623 unittest.expect(o.proposalId, unittest.equals('foo')); 1705 unittest.expect(o.proposalId, unittest.equals('foo'));
1624 checkUnnamed1961(o.sellerContacts); 1706 checkUnnamed2274(o.sellerContacts);
1625 checkUnnamed1962(o.sharedTargetings); 1707 checkUnnamed2275(o.sharedTargetings);
1626 unittest.expect(o.syndicationProduct, unittest.equals('foo')); 1708 unittest.expect(o.syndicationProduct, unittest.equals('foo'));
1627 checkDealTerms(o.terms); 1709 checkDealTerms(o.terms);
1628 unittest.expect(o.webPropertyCode, unittest.equals('foo')); 1710 unittest.expect(o.webPropertyCode, unittest.equals('foo'));
1629 } 1711 }
1630 buildCounterMarketplaceDeal--; 1712 buildCounterMarketplaceDeal--;
1631 } 1713 }
1632 1714
1633 core.int buildCounterMarketplaceDealParty = 0; 1715 core.int buildCounterMarketplaceDealParty = 0;
1634 buildMarketplaceDealParty() { 1716 buildMarketplaceDealParty() {
1635 var o = new api.MarketplaceDealParty(); 1717 var o = new api.MarketplaceDealParty();
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
1702 unittest.expect(o.kind, unittest.equals('foo')); 1784 unittest.expect(o.kind, unittest.equals('foo'));
1703 unittest.expect(o.note, unittest.equals('foo')); 1785 unittest.expect(o.note, unittest.equals('foo'));
1704 unittest.expect(o.noteId, unittest.equals('foo')); 1786 unittest.expect(o.noteId, unittest.equals('foo'));
1705 unittest.expect(o.proposalId, unittest.equals('foo')); 1787 unittest.expect(o.proposalId, unittest.equals('foo'));
1706 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); 1788 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo'));
1707 unittest.expect(o.timestampMs, unittest.equals('foo')); 1789 unittest.expect(o.timestampMs, unittest.equals('foo'));
1708 } 1790 }
1709 buildCounterMarketplaceNote--; 1791 buildCounterMarketplaceNote--;
1710 } 1792 }
1711 1793
1712 buildUnnamed1963() { 1794 buildUnnamed2276() {
1713 var o = new core.List<core.Object>(); 1795 var o = new core.List<core.Object>();
1714 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 1796 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
1715 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 1797 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
1716 return o; 1798 return o;
1717 } 1799 }
1718 1800
1719 checkUnnamed1963(core.List<core.Object> o) { 1801 checkUnnamed2276(core.List<core.Object> o) {
1720 unittest.expect(o, unittest.hasLength(2)); 1802 unittest.expect(o, unittest.hasLength(2));
1721 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')); 1803 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'));
1722 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')); 1804 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'));
1723 } 1805 }
1724 1806
1725 buildUnnamed1964() { 1807 buildUnnamed2277() {
1726 var o = new core.List<core.Object>(); 1808 var o = new core.List<core.Object>();
1727 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 1809 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
1728 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 1810 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
1729 return o; 1811 return o;
1730 } 1812 }
1731 1813
1732 checkUnnamed1964(core.List<core.Object> o) { 1814 checkUnnamed2277(core.List<core.Object> o) {
1733 unittest.expect(o, unittest.hasLength(2)); 1815 unittest.expect(o, unittest.hasLength(2));
1734 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')); 1816 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'));
1735 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')); 1817 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'));
1736 } 1818 }
1737 1819
1738 buildUnnamed1965() { 1820 buildUnnamed2278() {
1739 var o = new core.List<core.Object>(); 1821 var o = new core.List<core.Object>();
1740 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 1822 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
1741 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 1823 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
1742 return o; 1824 return o;
1743 } 1825 }
1744 1826
1745 checkUnnamed1965(core.List<core.Object> o) { 1827 checkUnnamed2278(core.List<core.Object> o) {
1746 unittest.expect(o, unittest.hasLength(2)); 1828 unittest.expect(o, unittest.hasLength(2));
1747 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')); 1829 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'));
1748 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')); 1830 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'));
1749 } 1831 }
1750 1832
1751 buildUnnamed1966() { 1833 buildUnnamed2279() {
1752 var o = new core.List<core.Object>(); 1834 var o = new core.List<core.Object>();
1753 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 1835 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
1754 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 1836 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
1755 return o; 1837 return o;
1756 } 1838 }
1757 1839
1758 checkUnnamed1966(core.List<core.Object> o) { 1840 checkUnnamed2279(core.List<core.Object> o) {
1759 unittest.expect(o, unittest.hasLength(2)); 1841 unittest.expect(o, unittest.hasLength(2));
1760 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')); 1842 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'));
1761 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')); 1843 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'));
1762 } 1844 }
1763 1845
1764 core.int buildCounterPerformanceReport = 0; 1846 core.int buildCounterPerformanceReport = 0;
1765 buildPerformanceReport() { 1847 buildPerformanceReport() {
1766 var o = new api.PerformanceReport(); 1848 var o = new api.PerformanceReport();
1767 buildCounterPerformanceReport++; 1849 buildCounterPerformanceReport++;
1768 if (buildCounterPerformanceReport < 3) { 1850 if (buildCounterPerformanceReport < 3) {
1769 o.bidRate = 42.0; 1851 o.bidRate = 42.0;
1770 o.bidRequestRate = 42.0; 1852 o.bidRequestRate = 42.0;
1771 o.calloutStatusRate = buildUnnamed1963(); 1853 o.calloutStatusRate = buildUnnamed2276();
1772 o.cookieMatcherStatusRate = buildUnnamed1964(); 1854 o.cookieMatcherStatusRate = buildUnnamed2277();
1773 o.creativeStatusRate = buildUnnamed1965(); 1855 o.creativeStatusRate = buildUnnamed2278();
1774 o.filteredBidRate = 42.0; 1856 o.filteredBidRate = 42.0;
1775 o.hostedMatchStatusRate = buildUnnamed1966(); 1857 o.hostedMatchStatusRate = buildUnnamed2279();
1776 o.inventoryMatchRate = 42.0; 1858 o.inventoryMatchRate = 42.0;
1777 o.kind = "foo"; 1859 o.kind = "foo";
1778 o.latency50thPercentile = 42.0; 1860 o.latency50thPercentile = 42.0;
1779 o.latency85thPercentile = 42.0; 1861 o.latency85thPercentile = 42.0;
1780 o.latency95thPercentile = 42.0; 1862 o.latency95thPercentile = 42.0;
1781 o.noQuotaInRegion = 42.0; 1863 o.noQuotaInRegion = 42.0;
1782 o.outOfQuota = 42.0; 1864 o.outOfQuota = 42.0;
1783 o.pixelMatchRequests = 42.0; 1865 o.pixelMatchRequests = 42.0;
1784 o.pixelMatchResponses = 42.0; 1866 o.pixelMatchResponses = 42.0;
1785 o.quotaConfiguredLimit = 42.0; 1867 o.quotaConfiguredLimit = 42.0;
1786 o.quotaThrottledLimit = 42.0; 1868 o.quotaThrottledLimit = 42.0;
1787 o.region = "foo"; 1869 o.region = "foo";
1788 o.successfulRequestRate = 42.0; 1870 o.successfulRequestRate = 42.0;
1789 o.timestamp = "foo"; 1871 o.timestamp = "foo";
1790 o.unsuccessfulRequestRate = 42.0; 1872 o.unsuccessfulRequestRate = 42.0;
1791 } 1873 }
1792 buildCounterPerformanceReport--; 1874 buildCounterPerformanceReport--;
1793 return o; 1875 return o;
1794 } 1876 }
1795 1877
1796 checkPerformanceReport(api.PerformanceReport o) { 1878 checkPerformanceReport(api.PerformanceReport o) {
1797 buildCounterPerformanceReport++; 1879 buildCounterPerformanceReport++;
1798 if (buildCounterPerformanceReport < 3) { 1880 if (buildCounterPerformanceReport < 3) {
1799 unittest.expect(o.bidRate, unittest.equals(42.0)); 1881 unittest.expect(o.bidRate, unittest.equals(42.0));
1800 unittest.expect(o.bidRequestRate, unittest.equals(42.0)); 1882 unittest.expect(o.bidRequestRate, unittest.equals(42.0));
1801 checkUnnamed1963(o.calloutStatusRate); 1883 checkUnnamed2276(o.calloutStatusRate);
1802 checkUnnamed1964(o.cookieMatcherStatusRate); 1884 checkUnnamed2277(o.cookieMatcherStatusRate);
1803 checkUnnamed1965(o.creativeStatusRate); 1885 checkUnnamed2278(o.creativeStatusRate);
1804 unittest.expect(o.filteredBidRate, unittest.equals(42.0)); 1886 unittest.expect(o.filteredBidRate, unittest.equals(42.0));
1805 checkUnnamed1966(o.hostedMatchStatusRate); 1887 checkUnnamed2279(o.hostedMatchStatusRate);
1806 unittest.expect(o.inventoryMatchRate, unittest.equals(42.0)); 1888 unittest.expect(o.inventoryMatchRate, unittest.equals(42.0));
1807 unittest.expect(o.kind, unittest.equals('foo')); 1889 unittest.expect(o.kind, unittest.equals('foo'));
1808 unittest.expect(o.latency50thPercentile, unittest.equals(42.0)); 1890 unittest.expect(o.latency50thPercentile, unittest.equals(42.0));
1809 unittest.expect(o.latency85thPercentile, unittest.equals(42.0)); 1891 unittest.expect(o.latency85thPercentile, unittest.equals(42.0));
1810 unittest.expect(o.latency95thPercentile, unittest.equals(42.0)); 1892 unittest.expect(o.latency95thPercentile, unittest.equals(42.0));
1811 unittest.expect(o.noQuotaInRegion, unittest.equals(42.0)); 1893 unittest.expect(o.noQuotaInRegion, unittest.equals(42.0));
1812 unittest.expect(o.outOfQuota, unittest.equals(42.0)); 1894 unittest.expect(o.outOfQuota, unittest.equals(42.0));
1813 unittest.expect(o.pixelMatchRequests, unittest.equals(42.0)); 1895 unittest.expect(o.pixelMatchRequests, unittest.equals(42.0));
1814 unittest.expect(o.pixelMatchResponses, unittest.equals(42.0)); 1896 unittest.expect(o.pixelMatchResponses, unittest.equals(42.0));
1815 unittest.expect(o.quotaConfiguredLimit, unittest.equals(42.0)); 1897 unittest.expect(o.quotaConfiguredLimit, unittest.equals(42.0));
1816 unittest.expect(o.quotaThrottledLimit, unittest.equals(42.0)); 1898 unittest.expect(o.quotaThrottledLimit, unittest.equals(42.0));
1817 unittest.expect(o.region, unittest.equals('foo')); 1899 unittest.expect(o.region, unittest.equals('foo'));
1818 unittest.expect(o.successfulRequestRate, unittest.equals(42.0)); 1900 unittest.expect(o.successfulRequestRate, unittest.equals(42.0));
1819 unittest.expect(o.timestamp, unittest.equals('foo')); 1901 unittest.expect(o.timestamp, unittest.equals('foo'));
1820 unittest.expect(o.unsuccessfulRequestRate, unittest.equals(42.0)); 1902 unittest.expect(o.unsuccessfulRequestRate, unittest.equals(42.0));
1821 } 1903 }
1822 buildCounterPerformanceReport--; 1904 buildCounterPerformanceReport--;
1823 } 1905 }
1824 1906
1825 buildUnnamed1967() { 1907 buildUnnamed2280() {
1826 var o = new core.List<api.PerformanceReport>(); 1908 var o = new core.List<api.PerformanceReport>();
1827 o.add(buildPerformanceReport()); 1909 o.add(buildPerformanceReport());
1828 o.add(buildPerformanceReport()); 1910 o.add(buildPerformanceReport());
1829 return o; 1911 return o;
1830 } 1912 }
1831 1913
1832 checkUnnamed1967(core.List<api.PerformanceReport> o) { 1914 checkUnnamed2280(core.List<api.PerformanceReport> o) {
1833 unittest.expect(o, unittest.hasLength(2)); 1915 unittest.expect(o, unittest.hasLength(2));
1834 checkPerformanceReport(o[0]); 1916 checkPerformanceReport(o[0]);
1835 checkPerformanceReport(o[1]); 1917 checkPerformanceReport(o[1]);
1836 } 1918 }
1837 1919
1838 core.int buildCounterPerformanceReportList = 0; 1920 core.int buildCounterPerformanceReportList = 0;
1839 buildPerformanceReportList() { 1921 buildPerformanceReportList() {
1840 var o = new api.PerformanceReportList(); 1922 var o = new api.PerformanceReportList();
1841 buildCounterPerformanceReportList++; 1923 buildCounterPerformanceReportList++;
1842 if (buildCounterPerformanceReportList < 3) { 1924 if (buildCounterPerformanceReportList < 3) {
1843 o.kind = "foo"; 1925 o.kind = "foo";
1844 o.performanceReport = buildUnnamed1967(); 1926 o.performanceReport = buildUnnamed2280();
1845 } 1927 }
1846 buildCounterPerformanceReportList--; 1928 buildCounterPerformanceReportList--;
1847 return o; 1929 return o;
1848 } 1930 }
1849 1931
1850 checkPerformanceReportList(api.PerformanceReportList o) { 1932 checkPerformanceReportList(api.PerformanceReportList o) {
1851 buildCounterPerformanceReportList++; 1933 buildCounterPerformanceReportList++;
1852 if (buildCounterPerformanceReportList < 3) { 1934 if (buildCounterPerformanceReportList < 3) {
1853 unittest.expect(o.kind, unittest.equals('foo')); 1935 unittest.expect(o.kind, unittest.equals('foo'));
1854 checkUnnamed1967(o.performanceReport); 1936 checkUnnamed2280(o.performanceReport);
1855 } 1937 }
1856 buildCounterPerformanceReportList--; 1938 buildCounterPerformanceReportList--;
1857 } 1939 }
1858 1940
1859 buildUnnamed1968() { 1941 buildUnnamed2281() {
1860 var o = new core.List<core.String>(); 1942 var o = new core.List<core.String>();
1861 o.add("foo"); 1943 o.add("foo");
1862 o.add("foo"); 1944 o.add("foo");
1863 return o; 1945 return o;
1864 } 1946 }
1865 1947
1866 checkUnnamed1968(core.List<core.String> o) { 1948 checkUnnamed2281(core.List<core.String> o) {
1867 unittest.expect(o, unittest.hasLength(2)); 1949 unittest.expect(o, unittest.hasLength(2));
1868 unittest.expect(o[0], unittest.equals('foo')); 1950 unittest.expect(o[0], unittest.equals('foo'));
1869 unittest.expect(o[1], unittest.equals('foo')); 1951 unittest.expect(o[1], unittest.equals('foo'));
1870 } 1952 }
1871 1953
1872 core.int buildCounterPretargetingConfigDimensions = 0; 1954 core.int buildCounterPretargetingConfigDimensions = 0;
1873 buildPretargetingConfigDimensions() { 1955 buildPretargetingConfigDimensions() {
1874 var o = new api.PretargetingConfigDimensions(); 1956 var o = new api.PretargetingConfigDimensions();
1875 buildCounterPretargetingConfigDimensions++; 1957 buildCounterPretargetingConfigDimensions++;
1876 if (buildCounterPretargetingConfigDimensions < 3) { 1958 if (buildCounterPretargetingConfigDimensions < 3) {
1877 o.height = "foo"; 1959 o.height = "foo";
1878 o.width = "foo"; 1960 o.width = "foo";
1879 } 1961 }
1880 buildCounterPretargetingConfigDimensions--; 1962 buildCounterPretargetingConfigDimensions--;
1881 return o; 1963 return o;
1882 } 1964 }
1883 1965
1884 checkPretargetingConfigDimensions(api.PretargetingConfigDimensions o) { 1966 checkPretargetingConfigDimensions(api.PretargetingConfigDimensions o) {
1885 buildCounterPretargetingConfigDimensions++; 1967 buildCounterPretargetingConfigDimensions++;
1886 if (buildCounterPretargetingConfigDimensions < 3) { 1968 if (buildCounterPretargetingConfigDimensions < 3) {
1887 unittest.expect(o.height, unittest.equals('foo')); 1969 unittest.expect(o.height, unittest.equals('foo'));
1888 unittest.expect(o.width, unittest.equals('foo')); 1970 unittest.expect(o.width, unittest.equals('foo'));
1889 } 1971 }
1890 buildCounterPretargetingConfigDimensions--; 1972 buildCounterPretargetingConfigDimensions--;
1891 } 1973 }
1892 1974
1893 buildUnnamed1969() { 1975 buildUnnamed2282() {
1894 var o = new core.List<api.PretargetingConfigDimensions>(); 1976 var o = new core.List<api.PretargetingConfigDimensions>();
1895 o.add(buildPretargetingConfigDimensions()); 1977 o.add(buildPretargetingConfigDimensions());
1896 o.add(buildPretargetingConfigDimensions()); 1978 o.add(buildPretargetingConfigDimensions());
1897 return o; 1979 return o;
1898 } 1980 }
1899 1981
1900 checkUnnamed1969(core.List<api.PretargetingConfigDimensions> o) { 1982 checkUnnamed2282(core.List<api.PretargetingConfigDimensions> o) {
1901 unittest.expect(o, unittest.hasLength(2)); 1983 unittest.expect(o, unittest.hasLength(2));
1902 checkPretargetingConfigDimensions(o[0]); 1984 checkPretargetingConfigDimensions(o[0]);
1903 checkPretargetingConfigDimensions(o[1]); 1985 checkPretargetingConfigDimensions(o[1]);
1904 } 1986 }
1905 1987
1906 buildUnnamed1970() { 1988 buildUnnamed2283() {
1907 var o = new core.List<core.String>(); 1989 var o = new core.List<core.String>();
1908 o.add("foo"); 1990 o.add("foo");
1909 o.add("foo"); 1991 o.add("foo");
1910 return o; 1992 return o;
1911 } 1993 }
1912 1994
1913 checkUnnamed1970(core.List<core.String> o) { 1995 checkUnnamed2283(core.List<core.String> o) {
1914 unittest.expect(o, unittest.hasLength(2)); 1996 unittest.expect(o, unittest.hasLength(2));
1915 unittest.expect(o[0], unittest.equals('foo')); 1997 unittest.expect(o[0], unittest.equals('foo'));
1916 unittest.expect(o[1], unittest.equals('foo')); 1998 unittest.expect(o[1], unittest.equals('foo'));
1917 } 1999 }
1918 2000
1919 buildUnnamed1971() { 2001 buildUnnamed2284() {
1920 var o = new core.List<core.String>(); 2002 var o = new core.List<core.String>();
1921 o.add("foo"); 2003 o.add("foo");
1922 o.add("foo"); 2004 o.add("foo");
1923 return o; 2005 return o;
1924 } 2006 }
1925 2007
1926 checkUnnamed1971(core.List<core.String> o) { 2008 checkUnnamed2284(core.List<core.String> o) {
1927 unittest.expect(o, unittest.hasLength(2)); 2009 unittest.expect(o, unittest.hasLength(2));
1928 unittest.expect(o[0], unittest.equals('foo')); 2010 unittest.expect(o[0], unittest.equals('foo'));
1929 unittest.expect(o[1], unittest.equals('foo')); 2011 unittest.expect(o[1], unittest.equals('foo'));
1930 } 2012 }
1931 2013
1932 core.int buildCounterPretargetingConfigExcludedPlacements = 0; 2014 core.int buildCounterPretargetingConfigExcludedPlacements = 0;
1933 buildPretargetingConfigExcludedPlacements() { 2015 buildPretargetingConfigExcludedPlacements() {
1934 var o = new api.PretargetingConfigExcludedPlacements(); 2016 var o = new api.PretargetingConfigExcludedPlacements();
1935 buildCounterPretargetingConfigExcludedPlacements++; 2017 buildCounterPretargetingConfigExcludedPlacements++;
1936 if (buildCounterPretargetingConfigExcludedPlacements < 3) { 2018 if (buildCounterPretargetingConfigExcludedPlacements < 3) {
1937 o.token = "foo"; 2019 o.token = "foo";
1938 o.type = "foo"; 2020 o.type = "foo";
1939 } 2021 }
1940 buildCounterPretargetingConfigExcludedPlacements--; 2022 buildCounterPretargetingConfigExcludedPlacements--;
1941 return o; 2023 return o;
1942 } 2024 }
1943 2025
1944 checkPretargetingConfigExcludedPlacements(api.PretargetingConfigExcludedPlacemen ts o) { 2026 checkPretargetingConfigExcludedPlacements(api.PretargetingConfigExcludedPlacemen ts o) {
1945 buildCounterPretargetingConfigExcludedPlacements++; 2027 buildCounterPretargetingConfigExcludedPlacements++;
1946 if (buildCounterPretargetingConfigExcludedPlacements < 3) { 2028 if (buildCounterPretargetingConfigExcludedPlacements < 3) {
1947 unittest.expect(o.token, unittest.equals('foo')); 2029 unittest.expect(o.token, unittest.equals('foo'));
1948 unittest.expect(o.type, unittest.equals('foo')); 2030 unittest.expect(o.type, unittest.equals('foo'));
1949 } 2031 }
1950 buildCounterPretargetingConfigExcludedPlacements--; 2032 buildCounterPretargetingConfigExcludedPlacements--;
1951 } 2033 }
1952 2034
1953 buildUnnamed1972() { 2035 buildUnnamed2285() {
1954 var o = new core.List<api.PretargetingConfigExcludedPlacements>(); 2036 var o = new core.List<api.PretargetingConfigExcludedPlacements>();
1955 o.add(buildPretargetingConfigExcludedPlacements()); 2037 o.add(buildPretargetingConfigExcludedPlacements());
1956 o.add(buildPretargetingConfigExcludedPlacements()); 2038 o.add(buildPretargetingConfigExcludedPlacements());
1957 return o; 2039 return o;
1958 } 2040 }
1959 2041
1960 checkUnnamed1972(core.List<api.PretargetingConfigExcludedPlacements> o) { 2042 checkUnnamed2285(core.List<api.PretargetingConfigExcludedPlacements> o) {
1961 unittest.expect(o, unittest.hasLength(2)); 2043 unittest.expect(o, unittest.hasLength(2));
1962 checkPretargetingConfigExcludedPlacements(o[0]); 2044 checkPretargetingConfigExcludedPlacements(o[0]);
1963 checkPretargetingConfigExcludedPlacements(o[1]); 2045 checkPretargetingConfigExcludedPlacements(o[1]);
1964 } 2046 }
1965 2047
1966 buildUnnamed1973() { 2048 buildUnnamed2286() {
1967 var o = new core.List<core.String>(); 2049 var o = new core.List<core.String>();
1968 o.add("foo"); 2050 o.add("foo");
1969 o.add("foo"); 2051 o.add("foo");
1970 return o; 2052 return o;
1971 } 2053 }
1972 2054
1973 checkUnnamed1973(core.List<core.String> o) { 2055 checkUnnamed2286(core.List<core.String> o) {
1974 unittest.expect(o, unittest.hasLength(2)); 2056 unittest.expect(o, unittest.hasLength(2));
1975 unittest.expect(o[0], unittest.equals('foo')); 2057 unittest.expect(o[0], unittest.equals('foo'));
1976 unittest.expect(o[1], unittest.equals('foo')); 2058 unittest.expect(o[1], unittest.equals('foo'));
1977 } 2059 }
1978 2060
1979 buildUnnamed1974() { 2061 buildUnnamed2287() {
1980 var o = new core.List<core.String>(); 2062 var o = new core.List<core.String>();
1981 o.add("foo"); 2063 o.add("foo");
1982 o.add("foo"); 2064 o.add("foo");
1983 return o; 2065 return o;
1984 } 2066 }
1985 2067
1986 checkUnnamed1974(core.List<core.String> o) { 2068 checkUnnamed2287(core.List<core.String> o) {
1987 unittest.expect(o, unittest.hasLength(2)); 2069 unittest.expect(o, unittest.hasLength(2));
1988 unittest.expect(o[0], unittest.equals('foo')); 2070 unittest.expect(o[0], unittest.equals('foo'));
1989 unittest.expect(o[1], unittest.equals('foo')); 2071 unittest.expect(o[1], unittest.equals('foo'));
1990 } 2072 }
1991 2073
1992 buildUnnamed1975() { 2074 buildUnnamed2288() {
1993 var o = new core.List<core.String>(); 2075 var o = new core.List<core.String>();
1994 o.add("foo"); 2076 o.add("foo");
1995 o.add("foo"); 2077 o.add("foo");
1996 return o; 2078 return o;
1997 } 2079 }
1998 2080
1999 checkUnnamed1975(core.List<core.String> o) { 2081 checkUnnamed2288(core.List<core.String> o) {
2000 unittest.expect(o, unittest.hasLength(2)); 2082 unittest.expect(o, unittest.hasLength(2));
2001 unittest.expect(o[0], unittest.equals('foo')); 2083 unittest.expect(o[0], unittest.equals('foo'));
2002 unittest.expect(o[1], unittest.equals('foo')); 2084 unittest.expect(o[1], unittest.equals('foo'));
2003 } 2085 }
2004 2086
2005 buildUnnamed1976() { 2087 buildUnnamed2289() {
2006 var o = new core.List<core.String>(); 2088 var o = new core.List<core.String>();
2007 o.add("foo"); 2089 o.add("foo");
2008 o.add("foo"); 2090 o.add("foo");
2009 return o; 2091 return o;
2010 } 2092 }
2011 2093
2012 checkUnnamed1976(core.List<core.String> o) { 2094 checkUnnamed2289(core.List<core.String> o) {
2013 unittest.expect(o, unittest.hasLength(2)); 2095 unittest.expect(o, unittest.hasLength(2));
2014 unittest.expect(o[0], unittest.equals('foo')); 2096 unittest.expect(o[0], unittest.equals('foo'));
2015 unittest.expect(o[1], unittest.equals('foo')); 2097 unittest.expect(o[1], unittest.equals('foo'));
2016 } 2098 }
2017 2099
2018 buildUnnamed1977() { 2100 buildUnnamed2290() {
2019 var o = new core.List<core.String>(); 2101 var o = new core.List<core.String>();
2020 o.add("foo"); 2102 o.add("foo");
2021 o.add("foo"); 2103 o.add("foo");
2022 return o; 2104 return o;
2023 } 2105 }
2024 2106
2025 checkUnnamed1977(core.List<core.String> o) { 2107 checkUnnamed2290(core.List<core.String> o) {
2026 unittest.expect(o, unittest.hasLength(2)); 2108 unittest.expect(o, unittest.hasLength(2));
2027 unittest.expect(o[0], unittest.equals('foo')); 2109 unittest.expect(o[0], unittest.equals('foo'));
2028 unittest.expect(o[1], unittest.equals('foo')); 2110 unittest.expect(o[1], unittest.equals('foo'));
2029 } 2111 }
2030 2112
2031 buildUnnamed1978() { 2113 buildUnnamed2291() {
2032 var o = new core.List<core.String>(); 2114 var o = new core.List<core.String>();
2033 o.add("foo"); 2115 o.add("foo");
2034 o.add("foo"); 2116 o.add("foo");
2035 return o; 2117 return o;
2036 } 2118 }
2037 2119
2038 checkUnnamed1978(core.List<core.String> o) { 2120 checkUnnamed2291(core.List<core.String> o) {
2039 unittest.expect(o, unittest.hasLength(2)); 2121 unittest.expect(o, unittest.hasLength(2));
2040 unittest.expect(o[0], unittest.equals('foo')); 2122 unittest.expect(o[0], unittest.equals('foo'));
2041 unittest.expect(o[1], unittest.equals('foo')); 2123 unittest.expect(o[1], unittest.equals('foo'));
2042 } 2124 }
2043 2125
2044 buildUnnamed1979() { 2126 buildUnnamed2292() {
2045 var o = new core.List<core.String>(); 2127 var o = new core.List<core.String>();
2046 o.add("foo"); 2128 o.add("foo");
2047 o.add("foo"); 2129 o.add("foo");
2048 return o; 2130 return o;
2049 } 2131 }
2050 2132
2051 checkUnnamed1979(core.List<core.String> o) { 2133 checkUnnamed2292(core.List<core.String> o) {
2052 unittest.expect(o, unittest.hasLength(2)); 2134 unittest.expect(o, unittest.hasLength(2));
2053 unittest.expect(o[0], unittest.equals('foo')); 2135 unittest.expect(o[0], unittest.equals('foo'));
2054 unittest.expect(o[1], unittest.equals('foo')); 2136 unittest.expect(o[1], unittest.equals('foo'));
2055 } 2137 }
2056 2138
2057 core.int buildCounterPretargetingConfigPlacements = 0; 2139 core.int buildCounterPretargetingConfigPlacements = 0;
2058 buildPretargetingConfigPlacements() { 2140 buildPretargetingConfigPlacements() {
2059 var o = new api.PretargetingConfigPlacements(); 2141 var o = new api.PretargetingConfigPlacements();
2060 buildCounterPretargetingConfigPlacements++; 2142 buildCounterPretargetingConfigPlacements++;
2061 if (buildCounterPretargetingConfigPlacements < 3) { 2143 if (buildCounterPretargetingConfigPlacements < 3) {
2062 o.token = "foo"; 2144 o.token = "foo";
2063 o.type = "foo"; 2145 o.type = "foo";
2064 } 2146 }
2065 buildCounterPretargetingConfigPlacements--; 2147 buildCounterPretargetingConfigPlacements--;
2066 return o; 2148 return o;
2067 } 2149 }
2068 2150
2069 checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) { 2151 checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) {
2070 buildCounterPretargetingConfigPlacements++; 2152 buildCounterPretargetingConfigPlacements++;
2071 if (buildCounterPretargetingConfigPlacements < 3) { 2153 if (buildCounterPretargetingConfigPlacements < 3) {
2072 unittest.expect(o.token, unittest.equals('foo')); 2154 unittest.expect(o.token, unittest.equals('foo'));
2073 unittest.expect(o.type, unittest.equals('foo')); 2155 unittest.expect(o.type, unittest.equals('foo'));
2074 } 2156 }
2075 buildCounterPretargetingConfigPlacements--; 2157 buildCounterPretargetingConfigPlacements--;
2076 } 2158 }
2077 2159
2078 buildUnnamed1980() { 2160 buildUnnamed2293() {
2079 var o = new core.List<api.PretargetingConfigPlacements>(); 2161 var o = new core.List<api.PretargetingConfigPlacements>();
2080 o.add(buildPretargetingConfigPlacements()); 2162 o.add(buildPretargetingConfigPlacements());
2081 o.add(buildPretargetingConfigPlacements()); 2163 o.add(buildPretargetingConfigPlacements());
2082 return o; 2164 return o;
2083 } 2165 }
2084 2166
2085 checkUnnamed1980(core.List<api.PretargetingConfigPlacements> o) { 2167 checkUnnamed2293(core.List<api.PretargetingConfigPlacements> o) {
2086 unittest.expect(o, unittest.hasLength(2)); 2168 unittest.expect(o, unittest.hasLength(2));
2087 checkPretargetingConfigPlacements(o[0]); 2169 checkPretargetingConfigPlacements(o[0]);
2088 checkPretargetingConfigPlacements(o[1]); 2170 checkPretargetingConfigPlacements(o[1]);
2089 } 2171 }
2090 2172
2091 buildUnnamed1981() { 2173 buildUnnamed2294() {
2092 var o = new core.List<core.String>(); 2174 var o = new core.List<core.String>();
2093 o.add("foo"); 2175 o.add("foo");
2094 o.add("foo"); 2176 o.add("foo");
2095 return o; 2177 return o;
2096 } 2178 }
2097 2179
2098 checkUnnamed1981(core.List<core.String> o) { 2180 checkUnnamed2294(core.List<core.String> o) {
2099 unittest.expect(o, unittest.hasLength(2)); 2181 unittest.expect(o, unittest.hasLength(2));
2100 unittest.expect(o[0], unittest.equals('foo')); 2182 unittest.expect(o[0], unittest.equals('foo'));
2101 unittest.expect(o[1], unittest.equals('foo')); 2183 unittest.expect(o[1], unittest.equals('foo'));
2102 } 2184 }
2103 2185
2104 buildUnnamed1982() { 2186 buildUnnamed2295() {
2105 var o = new core.List<core.String>(); 2187 var o = new core.List<core.String>();
2106 o.add("foo"); 2188 o.add("foo");
2107 o.add("foo"); 2189 o.add("foo");
2108 return o; 2190 return o;
2109 } 2191 }
2110 2192
2111 checkUnnamed1982(core.List<core.String> o) { 2193 checkUnnamed2295(core.List<core.String> o) {
2112 unittest.expect(o, unittest.hasLength(2)); 2194 unittest.expect(o, unittest.hasLength(2));
2113 unittest.expect(o[0], unittest.equals('foo')); 2195 unittest.expect(o[0], unittest.equals('foo'));
2114 unittest.expect(o[1], unittest.equals('foo')); 2196 unittest.expect(o[1], unittest.equals('foo'));
2115 } 2197 }
2116 2198
2117 buildUnnamed1983() { 2199 buildUnnamed2296() {
2118 var o = new core.List<core.String>(); 2200 var o = new core.List<core.String>();
2119 o.add("foo"); 2201 o.add("foo");
2120 o.add("foo"); 2202 o.add("foo");
2121 return o; 2203 return o;
2122 } 2204 }
2123 2205
2124 checkUnnamed1983(core.List<core.String> o) { 2206 checkUnnamed2296(core.List<core.String> o) {
2125 unittest.expect(o, unittest.hasLength(2)); 2207 unittest.expect(o, unittest.hasLength(2));
2126 unittest.expect(o[0], unittest.equals('foo')); 2208 unittest.expect(o[0], unittest.equals('foo'));
2127 unittest.expect(o[1], unittest.equals('foo')); 2209 unittest.expect(o[1], unittest.equals('foo'));
2128 } 2210 }
2129 2211
2130 buildUnnamed1984() { 2212 buildUnnamed2297() {
2131 var o = new core.List<core.String>(); 2213 var o = new core.List<core.String>();
2132 o.add("foo"); 2214 o.add("foo");
2133 o.add("foo"); 2215 o.add("foo");
2134 return o; 2216 return o;
2135 } 2217 }
2136 2218
2137 checkUnnamed1984(core.List<core.String> o) { 2219 checkUnnamed2297(core.List<core.String> o) {
2138 unittest.expect(o, unittest.hasLength(2)); 2220 unittest.expect(o, unittest.hasLength(2));
2139 unittest.expect(o[0], unittest.equals('foo')); 2221 unittest.expect(o[0], unittest.equals('foo'));
2140 unittest.expect(o[1], unittest.equals('foo')); 2222 unittest.expect(o[1], unittest.equals('foo'));
2141 } 2223 }
2142 2224
2143 buildUnnamed1985() { 2225 buildUnnamed2298() {
2144 var o = new core.List<core.String>(); 2226 var o = new core.List<core.String>();
2145 o.add("foo"); 2227 o.add("foo");
2146 o.add("foo"); 2228 o.add("foo");
2147 return o; 2229 return o;
2148 } 2230 }
2149 2231
2150 checkUnnamed1985(core.List<core.String> o) { 2232 checkUnnamed2298(core.List<core.String> o) {
2151 unittest.expect(o, unittest.hasLength(2)); 2233 unittest.expect(o, unittest.hasLength(2));
2152 unittest.expect(o[0], unittest.equals('foo')); 2234 unittest.expect(o[0], unittest.equals('foo'));
2153 unittest.expect(o[1], unittest.equals('foo')); 2235 unittest.expect(o[1], unittest.equals('foo'));
2154 } 2236 }
2155 2237
2156 core.int buildCounterPretargetingConfigVideoPlayerSizes = 0; 2238 core.int buildCounterPretargetingConfigVideoPlayerSizes = 0;
2157 buildPretargetingConfigVideoPlayerSizes() { 2239 buildPretargetingConfigVideoPlayerSizes() {
2158 var o = new api.PretargetingConfigVideoPlayerSizes(); 2240 var o = new api.PretargetingConfigVideoPlayerSizes();
2159 buildCounterPretargetingConfigVideoPlayerSizes++; 2241 buildCounterPretargetingConfigVideoPlayerSizes++;
2160 if (buildCounterPretargetingConfigVideoPlayerSizes < 3) { 2242 if (buildCounterPretargetingConfigVideoPlayerSizes < 3) {
2161 o.aspectRatio = "foo"; 2243 o.aspectRatio = "foo";
2162 o.minHeight = "foo"; 2244 o.minHeight = "foo";
2163 o.minWidth = "foo"; 2245 o.minWidth = "foo";
2164 } 2246 }
2165 buildCounterPretargetingConfigVideoPlayerSizes--; 2247 buildCounterPretargetingConfigVideoPlayerSizes--;
2166 return o; 2248 return o;
2167 } 2249 }
2168 2250
2169 checkPretargetingConfigVideoPlayerSizes(api.PretargetingConfigVideoPlayerSizes o ) { 2251 checkPretargetingConfigVideoPlayerSizes(api.PretargetingConfigVideoPlayerSizes o ) {
2170 buildCounterPretargetingConfigVideoPlayerSizes++; 2252 buildCounterPretargetingConfigVideoPlayerSizes++;
2171 if (buildCounterPretargetingConfigVideoPlayerSizes < 3) { 2253 if (buildCounterPretargetingConfigVideoPlayerSizes < 3) {
2172 unittest.expect(o.aspectRatio, unittest.equals('foo')); 2254 unittest.expect(o.aspectRatio, unittest.equals('foo'));
2173 unittest.expect(o.minHeight, unittest.equals('foo')); 2255 unittest.expect(o.minHeight, unittest.equals('foo'));
2174 unittest.expect(o.minWidth, unittest.equals('foo')); 2256 unittest.expect(o.minWidth, unittest.equals('foo'));
2175 } 2257 }
2176 buildCounterPretargetingConfigVideoPlayerSizes--; 2258 buildCounterPretargetingConfigVideoPlayerSizes--;
2177 } 2259 }
2178 2260
2179 buildUnnamed1986() { 2261 buildUnnamed2299() {
2180 var o = new core.List<api.PretargetingConfigVideoPlayerSizes>(); 2262 var o = new core.List<api.PretargetingConfigVideoPlayerSizes>();
2181 o.add(buildPretargetingConfigVideoPlayerSizes()); 2263 o.add(buildPretargetingConfigVideoPlayerSizes());
2182 o.add(buildPretargetingConfigVideoPlayerSizes()); 2264 o.add(buildPretargetingConfigVideoPlayerSizes());
2183 return o; 2265 return o;
2184 } 2266 }
2185 2267
2186 checkUnnamed1986(core.List<api.PretargetingConfigVideoPlayerSizes> o) { 2268 checkUnnamed2299(core.List<api.PretargetingConfigVideoPlayerSizes> o) {
2187 unittest.expect(o, unittest.hasLength(2)); 2269 unittest.expect(o, unittest.hasLength(2));
2188 checkPretargetingConfigVideoPlayerSizes(o[0]); 2270 checkPretargetingConfigVideoPlayerSizes(o[0]);
2189 checkPretargetingConfigVideoPlayerSizes(o[1]); 2271 checkPretargetingConfigVideoPlayerSizes(o[1]);
2190 } 2272 }
2191 2273
2192 core.int buildCounterPretargetingConfig = 0; 2274 core.int buildCounterPretargetingConfig = 0;
2193 buildPretargetingConfig() { 2275 buildPretargetingConfig() {
2194 var o = new api.PretargetingConfig(); 2276 var o = new api.PretargetingConfig();
2195 buildCounterPretargetingConfig++; 2277 buildCounterPretargetingConfig++;
2196 if (buildCounterPretargetingConfig < 3) { 2278 if (buildCounterPretargetingConfig < 3) {
2197 o.billingId = "foo"; 2279 o.billingId = "foo";
2198 o.configId = "foo"; 2280 o.configId = "foo";
2199 o.configName = "foo"; 2281 o.configName = "foo";
2200 o.creativeType = buildUnnamed1968(); 2282 o.creativeType = buildUnnamed2281();
2201 o.dimensions = buildUnnamed1969(); 2283 o.dimensions = buildUnnamed2282();
2202 o.excludedContentLabels = buildUnnamed1970(); 2284 o.excludedContentLabels = buildUnnamed2283();
2203 o.excludedGeoCriteriaIds = buildUnnamed1971(); 2285 o.excludedGeoCriteriaIds = buildUnnamed2284();
2204 o.excludedPlacements = buildUnnamed1972(); 2286 o.excludedPlacements = buildUnnamed2285();
2205 o.excludedUserLists = buildUnnamed1973(); 2287 o.excludedUserLists = buildUnnamed2286();
2206 o.excludedVerticals = buildUnnamed1974(); 2288 o.excludedVerticals = buildUnnamed2287();
2207 o.geoCriteriaIds = buildUnnamed1975(); 2289 o.geoCriteriaIds = buildUnnamed2288();
2208 o.isActive = true; 2290 o.isActive = true;
2209 o.kind = "foo"; 2291 o.kind = "foo";
2210 o.languages = buildUnnamed1976(); 2292 o.languages = buildUnnamed2289();
2211 o.mobileCarriers = buildUnnamed1977(); 2293 o.mobileCarriers = buildUnnamed2290();
2212 o.mobileDevices = buildUnnamed1978(); 2294 o.mobileDevices = buildUnnamed2291();
2213 o.mobileOperatingSystemVersions = buildUnnamed1979(); 2295 o.mobileOperatingSystemVersions = buildUnnamed2292();
2214 o.placements = buildUnnamed1980(); 2296 o.placements = buildUnnamed2293();
2215 o.platforms = buildUnnamed1981(); 2297 o.platforms = buildUnnamed2294();
2216 o.supportedCreativeAttributes = buildUnnamed1982(); 2298 o.supportedCreativeAttributes = buildUnnamed2295();
2217 o.userLists = buildUnnamed1983(); 2299 o.userLists = buildUnnamed2296();
2218 o.vendorTypes = buildUnnamed1984(); 2300 o.vendorTypes = buildUnnamed2297();
2219 o.verticals = buildUnnamed1985(); 2301 o.verticals = buildUnnamed2298();
2220 o.videoPlayerSizes = buildUnnamed1986(); 2302 o.videoPlayerSizes = buildUnnamed2299();
2221 } 2303 }
2222 buildCounterPretargetingConfig--; 2304 buildCounterPretargetingConfig--;
2223 return o; 2305 return o;
2224 } 2306 }
2225 2307
2226 checkPretargetingConfig(api.PretargetingConfig o) { 2308 checkPretargetingConfig(api.PretargetingConfig o) {
2227 buildCounterPretargetingConfig++; 2309 buildCounterPretargetingConfig++;
2228 if (buildCounterPretargetingConfig < 3) { 2310 if (buildCounterPretargetingConfig < 3) {
2229 unittest.expect(o.billingId, unittest.equals('foo')); 2311 unittest.expect(o.billingId, unittest.equals('foo'));
2230 unittest.expect(o.configId, unittest.equals('foo')); 2312 unittest.expect(o.configId, unittest.equals('foo'));
2231 unittest.expect(o.configName, unittest.equals('foo')); 2313 unittest.expect(o.configName, unittest.equals('foo'));
2232 checkUnnamed1968(o.creativeType); 2314 checkUnnamed2281(o.creativeType);
2233 checkUnnamed1969(o.dimensions); 2315 checkUnnamed2282(o.dimensions);
2234 checkUnnamed1970(o.excludedContentLabels); 2316 checkUnnamed2283(o.excludedContentLabels);
2235 checkUnnamed1971(o.excludedGeoCriteriaIds); 2317 checkUnnamed2284(o.excludedGeoCriteriaIds);
2236 checkUnnamed1972(o.excludedPlacements); 2318 checkUnnamed2285(o.excludedPlacements);
2237 checkUnnamed1973(o.excludedUserLists); 2319 checkUnnamed2286(o.excludedUserLists);
2238 checkUnnamed1974(o.excludedVerticals); 2320 checkUnnamed2287(o.excludedVerticals);
2239 checkUnnamed1975(o.geoCriteriaIds); 2321 checkUnnamed2288(o.geoCriteriaIds);
2240 unittest.expect(o.isActive, unittest.isTrue); 2322 unittest.expect(o.isActive, unittest.isTrue);
2241 unittest.expect(o.kind, unittest.equals('foo')); 2323 unittest.expect(o.kind, unittest.equals('foo'));
2242 checkUnnamed1976(o.languages); 2324 checkUnnamed2289(o.languages);
2243 checkUnnamed1977(o.mobileCarriers); 2325 checkUnnamed2290(o.mobileCarriers);
2244 checkUnnamed1978(o.mobileDevices); 2326 checkUnnamed2291(o.mobileDevices);
2245 checkUnnamed1979(o.mobileOperatingSystemVersions); 2327 checkUnnamed2292(o.mobileOperatingSystemVersions);
2246 checkUnnamed1980(o.placements); 2328 checkUnnamed2293(o.placements);
2247 checkUnnamed1981(o.platforms); 2329 checkUnnamed2294(o.platforms);
2248 checkUnnamed1982(o.supportedCreativeAttributes); 2330 checkUnnamed2295(o.supportedCreativeAttributes);
2249 checkUnnamed1983(o.userLists); 2331 checkUnnamed2296(o.userLists);
2250 checkUnnamed1984(o.vendorTypes); 2332 checkUnnamed2297(o.vendorTypes);
2251 checkUnnamed1985(o.verticals); 2333 checkUnnamed2298(o.verticals);
2252 checkUnnamed1986(o.videoPlayerSizes); 2334 checkUnnamed2299(o.videoPlayerSizes);
2253 } 2335 }
2254 buildCounterPretargetingConfig--; 2336 buildCounterPretargetingConfig--;
2255 } 2337 }
2256 2338
2257 buildUnnamed1987() { 2339 buildUnnamed2300() {
2258 var o = new core.List<api.PretargetingConfig>(); 2340 var o = new core.List<api.PretargetingConfig>();
2259 o.add(buildPretargetingConfig()); 2341 o.add(buildPretargetingConfig());
2260 o.add(buildPretargetingConfig()); 2342 o.add(buildPretargetingConfig());
2261 return o; 2343 return o;
2262 } 2344 }
2263 2345
2264 checkUnnamed1987(core.List<api.PretargetingConfig> o) { 2346 checkUnnamed2300(core.List<api.PretargetingConfig> o) {
2265 unittest.expect(o, unittest.hasLength(2)); 2347 unittest.expect(o, unittest.hasLength(2));
2266 checkPretargetingConfig(o[0]); 2348 checkPretargetingConfig(o[0]);
2267 checkPretargetingConfig(o[1]); 2349 checkPretargetingConfig(o[1]);
2268 } 2350 }
2269 2351
2270 core.int buildCounterPretargetingConfigList = 0; 2352 core.int buildCounterPretargetingConfigList = 0;
2271 buildPretargetingConfigList() { 2353 buildPretargetingConfigList() {
2272 var o = new api.PretargetingConfigList(); 2354 var o = new api.PretargetingConfigList();
2273 buildCounterPretargetingConfigList++; 2355 buildCounterPretargetingConfigList++;
2274 if (buildCounterPretargetingConfigList < 3) { 2356 if (buildCounterPretargetingConfigList < 3) {
2275 o.items = buildUnnamed1987(); 2357 o.items = buildUnnamed2300();
2276 o.kind = "foo"; 2358 o.kind = "foo";
2277 } 2359 }
2278 buildCounterPretargetingConfigList--; 2360 buildCounterPretargetingConfigList--;
2279 return o; 2361 return o;
2280 } 2362 }
2281 2363
2282 checkPretargetingConfigList(api.PretargetingConfigList o) { 2364 checkPretargetingConfigList(api.PretargetingConfigList o) {
2283 buildCounterPretargetingConfigList++; 2365 buildCounterPretargetingConfigList++;
2284 if (buildCounterPretargetingConfigList < 3) { 2366 if (buildCounterPretargetingConfigList < 3) {
2285 checkUnnamed1987(o.items); 2367 checkUnnamed2300(o.items);
2286 unittest.expect(o.kind, unittest.equals('foo')); 2368 unittest.expect(o.kind, unittest.equals('foo'));
2287 } 2369 }
2288 buildCounterPretargetingConfigList--; 2370 buildCounterPretargetingConfigList--;
2289 } 2371 }
2290 2372
2291 core.int buildCounterPrice = 0; 2373 core.int buildCounterPrice = 0;
2292 buildPrice() { 2374 buildPrice() {
2293 var o = new api.Price(); 2375 var o = new api.Price();
2294 buildCounterPrice++; 2376 buildCounterPrice++;
2295 if (buildCounterPrice < 3) { 2377 if (buildCounterPrice < 3) {
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
2346 2428
2347 checkPrivateData(api.PrivateData o) { 2429 checkPrivateData(api.PrivateData o) {
2348 buildCounterPrivateData++; 2430 buildCounterPrivateData++;
2349 if (buildCounterPrivateData < 3) { 2431 if (buildCounterPrivateData < 3) {
2350 unittest.expect(o.referenceId, unittest.equals('foo')); 2432 unittest.expect(o.referenceId, unittest.equals('foo'));
2351 unittest.expect(o.referencePayload, unittest.equals('foo')); 2433 unittest.expect(o.referencePayload, unittest.equals('foo'));
2352 } 2434 }
2353 buildCounterPrivateData--; 2435 buildCounterPrivateData--;
2354 } 2436 }
2355 2437
2356 buildUnnamed1988() { 2438 buildUnnamed2301() {
2357 var o = new core.List<api.ContactInformation>(); 2439 var o = new core.List<api.ContactInformation>();
2358 o.add(buildContactInformation()); 2440 o.add(buildContactInformation());
2359 o.add(buildContactInformation()); 2441 o.add(buildContactInformation());
2360 return o; 2442 return o;
2361 } 2443 }
2362 2444
2363 checkUnnamed1988(core.List<api.ContactInformation> o) { 2445 checkUnnamed2301(core.List<api.ContactInformation> o) {
2364 unittest.expect(o, unittest.hasLength(2)); 2446 unittest.expect(o, unittest.hasLength(2));
2365 checkContactInformation(o[0]); 2447 checkContactInformation(o[0]);
2366 checkContactInformation(o[1]); 2448 checkContactInformation(o[1]);
2367 } 2449 }
2368 2450
2369 buildUnnamed1989() { 2451 buildUnnamed2302() {
2370 var o = new core.List<api.MarketplaceLabel>(); 2452 var o = new core.List<api.MarketplaceLabel>();
2371 o.add(buildMarketplaceLabel()); 2453 o.add(buildMarketplaceLabel());
2372 o.add(buildMarketplaceLabel()); 2454 o.add(buildMarketplaceLabel());
2373 return o; 2455 return o;
2374 } 2456 }
2375 2457
2376 checkUnnamed1989(core.List<api.MarketplaceLabel> o) { 2458 checkUnnamed2302(core.List<api.MarketplaceLabel> o) {
2377 unittest.expect(o, unittest.hasLength(2)); 2459 unittest.expect(o, unittest.hasLength(2));
2378 checkMarketplaceLabel(o[0]); 2460 checkMarketplaceLabel(o[0]);
2379 checkMarketplaceLabel(o[1]); 2461 checkMarketplaceLabel(o[1]);
2380 } 2462 }
2381 2463
2382 buildUnnamed1990() { 2464 buildUnnamed2303() {
2383 var o = new core.List<api.SharedTargeting>(); 2465 var o = new core.List<api.SharedTargeting>();
2384 o.add(buildSharedTargeting()); 2466 o.add(buildSharedTargeting());
2385 o.add(buildSharedTargeting()); 2467 o.add(buildSharedTargeting());
2386 return o; 2468 return o;
2387 } 2469 }
2388 2470
2389 checkUnnamed1990(core.List<api.SharedTargeting> o) { 2471 checkUnnamed2303(core.List<api.SharedTargeting> o) {
2390 unittest.expect(o, unittest.hasLength(2)); 2472 unittest.expect(o, unittest.hasLength(2));
2391 checkSharedTargeting(o[0]); 2473 checkSharedTargeting(o[0]);
2392 checkSharedTargeting(o[1]); 2474 checkSharedTargeting(o[1]);
2393 } 2475 }
2394 2476
2395 core.int buildCounterProduct = 0; 2477 core.int buildCounterProduct = 0;
2396 buildProduct() { 2478 buildProduct() {
2397 var o = new api.Product(); 2479 var o = new api.Product();
2398 buildCounterProduct++; 2480 buildCounterProduct++;
2399 if (buildCounterProduct < 3) { 2481 if (buildCounterProduct < 3) {
2400 o.creationTimeMs = "foo"; 2482 o.creationTimeMs = "foo";
2401 o.creatorContacts = buildUnnamed1988(); 2483 o.creatorContacts = buildUnnamed2301();
2484 o.deliveryControl = buildDeliveryControl();
2402 o.flightEndTimeMs = "foo"; 2485 o.flightEndTimeMs = "foo";
2403 o.flightStartTimeMs = "foo"; 2486 o.flightStartTimeMs = "foo";
2404 o.hasCreatorSignedOff = true; 2487 o.hasCreatorSignedOff = true;
2405 o.inventorySource = "foo"; 2488 o.inventorySource = "foo";
2406 o.kind = "foo"; 2489 o.kind = "foo";
2407 o.labels = buildUnnamed1989(); 2490 o.labels = buildUnnamed2302();
2408 o.lastUpdateTimeMs = "foo"; 2491 o.lastUpdateTimeMs = "foo";
2492 o.legacyOfferId = "foo";
2409 o.name = "foo"; 2493 o.name = "foo";
2494 o.privateAuctionId = "foo";
2410 o.productId = "foo"; 2495 o.productId = "foo";
2411 o.revisionNumber = "foo"; 2496 o.revisionNumber = "foo";
2412 o.seller = buildSeller(); 2497 o.seller = buildSeller();
2413 o.sharedTargetings = buildUnnamed1990(); 2498 o.sharedTargetings = buildUnnamed2303();
2414 o.state = "foo"; 2499 o.state = "foo";
2415 o.syndicationProduct = "foo"; 2500 o.syndicationProduct = "foo";
2416 o.terms = buildDealTerms(); 2501 o.terms = buildDealTerms();
2417 o.webPropertyCode = "foo"; 2502 o.webPropertyCode = "foo";
2418 } 2503 }
2419 buildCounterProduct--; 2504 buildCounterProduct--;
2420 return o; 2505 return o;
2421 } 2506 }
2422 2507
2423 checkProduct(api.Product o) { 2508 checkProduct(api.Product o) {
2424 buildCounterProduct++; 2509 buildCounterProduct++;
2425 if (buildCounterProduct < 3) { 2510 if (buildCounterProduct < 3) {
2426 unittest.expect(o.creationTimeMs, unittest.equals('foo')); 2511 unittest.expect(o.creationTimeMs, unittest.equals('foo'));
2427 checkUnnamed1988(o.creatorContacts); 2512 checkUnnamed2301(o.creatorContacts);
2513 checkDeliveryControl(o.deliveryControl);
2428 unittest.expect(o.flightEndTimeMs, unittest.equals('foo')); 2514 unittest.expect(o.flightEndTimeMs, unittest.equals('foo'));
2429 unittest.expect(o.flightStartTimeMs, unittest.equals('foo')); 2515 unittest.expect(o.flightStartTimeMs, unittest.equals('foo'));
2430 unittest.expect(o.hasCreatorSignedOff, unittest.isTrue); 2516 unittest.expect(o.hasCreatorSignedOff, unittest.isTrue);
2431 unittest.expect(o.inventorySource, unittest.equals('foo')); 2517 unittest.expect(o.inventorySource, unittest.equals('foo'));
2432 unittest.expect(o.kind, unittest.equals('foo')); 2518 unittest.expect(o.kind, unittest.equals('foo'));
2433 checkUnnamed1989(o.labels); 2519 checkUnnamed2302(o.labels);
2434 unittest.expect(o.lastUpdateTimeMs, unittest.equals('foo')); 2520 unittest.expect(o.lastUpdateTimeMs, unittest.equals('foo'));
2521 unittest.expect(o.legacyOfferId, unittest.equals('foo'));
2435 unittest.expect(o.name, unittest.equals('foo')); 2522 unittest.expect(o.name, unittest.equals('foo'));
2523 unittest.expect(o.privateAuctionId, unittest.equals('foo'));
2436 unittest.expect(o.productId, unittest.equals('foo')); 2524 unittest.expect(o.productId, unittest.equals('foo'));
2437 unittest.expect(o.revisionNumber, unittest.equals('foo')); 2525 unittest.expect(o.revisionNumber, unittest.equals('foo'));
2438 checkSeller(o.seller); 2526 checkSeller(o.seller);
2439 checkUnnamed1990(o.sharedTargetings); 2527 checkUnnamed2303(o.sharedTargetings);
2440 unittest.expect(o.state, unittest.equals('foo')); 2528 unittest.expect(o.state, unittest.equals('foo'));
2441 unittest.expect(o.syndicationProduct, unittest.equals('foo')); 2529 unittest.expect(o.syndicationProduct, unittest.equals('foo'));
2442 checkDealTerms(o.terms); 2530 checkDealTerms(o.terms);
2443 unittest.expect(o.webPropertyCode, unittest.equals('foo')); 2531 unittest.expect(o.webPropertyCode, unittest.equals('foo'));
2444 } 2532 }
2445 buildCounterProduct--; 2533 buildCounterProduct--;
2446 } 2534 }
2447 2535
2448 buildUnnamed1991() { 2536 buildUnnamed2304() {
2449 var o = new core.List<api.ContactInformation>(); 2537 var o = new core.List<api.ContactInformation>();
2450 o.add(buildContactInformation()); 2538 o.add(buildContactInformation());
2451 o.add(buildContactInformation()); 2539 o.add(buildContactInformation());
2452 return o; 2540 return o;
2453 } 2541 }
2454 2542
2455 checkUnnamed1991(core.List<api.ContactInformation> o) { 2543 checkUnnamed2304(core.List<api.ContactInformation> o) {
2456 unittest.expect(o, unittest.hasLength(2)); 2544 unittest.expect(o, unittest.hasLength(2));
2457 checkContactInformation(o[0]); 2545 checkContactInformation(o[0]);
2458 checkContactInformation(o[1]); 2546 checkContactInformation(o[1]);
2459 } 2547 }
2460 2548
2461 buildUnnamed1992() { 2549 buildUnnamed2305() {
2462 var o = new core.List<api.MarketplaceLabel>(); 2550 var o = new core.List<api.MarketplaceLabel>();
2463 o.add(buildMarketplaceLabel()); 2551 o.add(buildMarketplaceLabel());
2464 o.add(buildMarketplaceLabel()); 2552 o.add(buildMarketplaceLabel());
2465 return o; 2553 return o;
2466 } 2554 }
2467 2555
2468 checkUnnamed1992(core.List<api.MarketplaceLabel> o) { 2556 checkUnnamed2305(core.List<api.MarketplaceLabel> o) {
2469 unittest.expect(o, unittest.hasLength(2)); 2557 unittest.expect(o, unittest.hasLength(2));
2470 checkMarketplaceLabel(o[0]); 2558 checkMarketplaceLabel(o[0]);
2471 checkMarketplaceLabel(o[1]); 2559 checkMarketplaceLabel(o[1]);
2472 } 2560 }
2473 2561
2474 buildUnnamed1993() { 2562 buildUnnamed2306() {
2475 var o = new core.List<api.ContactInformation>(); 2563 var o = new core.List<api.ContactInformation>();
2476 o.add(buildContactInformation()); 2564 o.add(buildContactInformation());
2477 o.add(buildContactInformation()); 2565 o.add(buildContactInformation());
2478 return o; 2566 return o;
2479 } 2567 }
2480 2568
2481 checkUnnamed1993(core.List<api.ContactInformation> o) { 2569 checkUnnamed2306(core.List<api.ContactInformation> o) {
2482 unittest.expect(o, unittest.hasLength(2)); 2570 unittest.expect(o, unittest.hasLength(2));
2483 checkContactInformation(o[0]); 2571 checkContactInformation(o[0]);
2484 checkContactInformation(o[1]); 2572 checkContactInformation(o[1]);
2485 } 2573 }
2486 2574
2487 core.int buildCounterProposal = 0; 2575 core.int buildCounterProposal = 0;
2488 buildProposal() { 2576 buildProposal() {
2489 var o = new api.Proposal(); 2577 var o = new api.Proposal();
2490 buildCounterProposal++; 2578 buildCounterProposal++;
2491 if (buildCounterProposal < 3) { 2579 if (buildCounterProposal < 3) {
2492 o.billedBuyer = buildBuyer(); 2580 o.billedBuyer = buildBuyer();
2493 o.buyer = buildBuyer(); 2581 o.buyer = buildBuyer();
2494 o.buyerContacts = buildUnnamed1991(); 2582 o.buyerContacts = buildUnnamed2304();
2495 o.buyerPrivateData = buildPrivateData(); 2583 o.buyerPrivateData = buildPrivateData();
2496 o.hasBuyerSignedOff = true; 2584 o.hasBuyerSignedOff = true;
2497 o.hasSellerSignedOff = true; 2585 o.hasSellerSignedOff = true;
2498 o.inventorySource = "foo"; 2586 o.inventorySource = "foo";
2499 o.isRenegotiating = true; 2587 o.isRenegotiating = true;
2500 o.isSetupComplete = true; 2588 o.isSetupComplete = true;
2501 o.kind = "foo"; 2589 o.kind = "foo";
2502 o.labels = buildUnnamed1992(); 2590 o.labels = buildUnnamed2305();
2503 o.lastUpdaterOrCommentorRole = "foo"; 2591 o.lastUpdaterOrCommentorRole = "foo";
2504 o.lastUpdaterRole = "foo"; 2592 o.lastUpdaterRole = "foo";
2505 o.name = "foo"; 2593 o.name = "foo";
2594 o.negotiationId = "foo";
2506 o.originatorRole = "foo"; 2595 o.originatorRole = "foo";
2596 o.privateAuctionId = "foo";
2507 o.proposalId = "foo"; 2597 o.proposalId = "foo";
2508 o.proposalState = "foo"; 2598 o.proposalState = "foo";
2509 o.revisionNumber = "foo"; 2599 o.revisionNumber = "foo";
2510 o.revisionTimeMs = "foo"; 2600 o.revisionTimeMs = "foo";
2511 o.seller = buildSeller(); 2601 o.seller = buildSeller();
2512 o.sellerContacts = buildUnnamed1993(); 2602 o.sellerContacts = buildUnnamed2306();
2513 } 2603 }
2514 buildCounterProposal--; 2604 buildCounterProposal--;
2515 return o; 2605 return o;
2516 } 2606 }
2517 2607
2518 checkProposal(api.Proposal o) { 2608 checkProposal(api.Proposal o) {
2519 buildCounterProposal++; 2609 buildCounterProposal++;
2520 if (buildCounterProposal < 3) { 2610 if (buildCounterProposal < 3) {
2521 checkBuyer(o.billedBuyer); 2611 checkBuyer(o.billedBuyer);
2522 checkBuyer(o.buyer); 2612 checkBuyer(o.buyer);
2523 checkUnnamed1991(o.buyerContacts); 2613 checkUnnamed2304(o.buyerContacts);
2524 checkPrivateData(o.buyerPrivateData); 2614 checkPrivateData(o.buyerPrivateData);
2525 unittest.expect(o.hasBuyerSignedOff, unittest.isTrue); 2615 unittest.expect(o.hasBuyerSignedOff, unittest.isTrue);
2526 unittest.expect(o.hasSellerSignedOff, unittest.isTrue); 2616 unittest.expect(o.hasSellerSignedOff, unittest.isTrue);
2527 unittest.expect(o.inventorySource, unittest.equals('foo')); 2617 unittest.expect(o.inventorySource, unittest.equals('foo'));
2528 unittest.expect(o.isRenegotiating, unittest.isTrue); 2618 unittest.expect(o.isRenegotiating, unittest.isTrue);
2529 unittest.expect(o.isSetupComplete, unittest.isTrue); 2619 unittest.expect(o.isSetupComplete, unittest.isTrue);
2530 unittest.expect(o.kind, unittest.equals('foo')); 2620 unittest.expect(o.kind, unittest.equals('foo'));
2531 checkUnnamed1992(o.labels); 2621 checkUnnamed2305(o.labels);
2532 unittest.expect(o.lastUpdaterOrCommentorRole, unittest.equals('foo')); 2622 unittest.expect(o.lastUpdaterOrCommentorRole, unittest.equals('foo'));
2533 unittest.expect(o.lastUpdaterRole, unittest.equals('foo')); 2623 unittest.expect(o.lastUpdaterRole, unittest.equals('foo'));
2534 unittest.expect(o.name, unittest.equals('foo')); 2624 unittest.expect(o.name, unittest.equals('foo'));
2625 unittest.expect(o.negotiationId, unittest.equals('foo'));
2535 unittest.expect(o.originatorRole, unittest.equals('foo')); 2626 unittest.expect(o.originatorRole, unittest.equals('foo'));
2627 unittest.expect(o.privateAuctionId, unittest.equals('foo'));
2536 unittest.expect(o.proposalId, unittest.equals('foo')); 2628 unittest.expect(o.proposalId, unittest.equals('foo'));
2537 unittest.expect(o.proposalState, unittest.equals('foo')); 2629 unittest.expect(o.proposalState, unittest.equals('foo'));
2538 unittest.expect(o.revisionNumber, unittest.equals('foo')); 2630 unittest.expect(o.revisionNumber, unittest.equals('foo'));
2539 unittest.expect(o.revisionTimeMs, unittest.equals('foo')); 2631 unittest.expect(o.revisionTimeMs, unittest.equals('foo'));
2540 checkSeller(o.seller); 2632 checkSeller(o.seller);
2541 checkUnnamed1993(o.sellerContacts); 2633 checkUnnamed2306(o.sellerContacts);
2542 } 2634 }
2543 buildCounterProposal--; 2635 buildCounterProposal--;
2544 } 2636 }
2545 2637
2638 buildUnnamed2307() {
2639 var o = new core.List<core.String>();
2640 o.add("foo");
2641 o.add("foo");
2642 return o;
2643 }
2644
2645 checkUnnamed2307(core.List<core.String> o) {
2646 unittest.expect(o, unittest.hasLength(2));
2647 unittest.expect(o[0], unittest.equals('foo'));
2648 unittest.expect(o[1], unittest.equals('foo'));
2649 }
2650
2651 buildUnnamed2308() {
2652 var o = new core.List<core.String>();
2653 o.add("foo");
2654 o.add("foo");
2655 return o;
2656 }
2657
2658 checkUnnamed2308(core.List<core.String> o) {
2659 unittest.expect(o, unittest.hasLength(2));
2660 unittest.expect(o[0], unittest.equals('foo'));
2661 unittest.expect(o[1], unittest.equals('foo'));
2662 }
2663
2664 core.int buildCounterPublisherProfileApiProto = 0;
2665 buildPublisherProfileApiProto() {
2666 var o = new api.PublisherProfileApiProto();
2667 buildCounterPublisherProfileApiProto++;
2668 if (buildCounterPublisherProfileApiProto < 3) {
2669 o.buyerPitchStatement = "foo";
2670 o.googlePlusLink = "foo";
2671 o.isParent = true;
2672 o.kind = "foo";
2673 o.logoUrl = "foo";
2674 o.mediaKitLink = "foo";
2675 o.name = "foo";
2676 o.overview = "foo";
2677 o.profileId = 42;
2678 o.publisherDomains = buildUnnamed2307();
2679 o.rateCardInfoLink = "foo";
2680 o.samplePageLink = "foo";
2681 o.topHeadlines = buildUnnamed2308();
2682 }
2683 buildCounterPublisherProfileApiProto--;
2684 return o;
2685 }
2686
2687 checkPublisherProfileApiProto(api.PublisherProfileApiProto o) {
2688 buildCounterPublisherProfileApiProto++;
2689 if (buildCounterPublisherProfileApiProto < 3) {
2690 unittest.expect(o.buyerPitchStatement, unittest.equals('foo'));
2691 unittest.expect(o.googlePlusLink, unittest.equals('foo'));
2692 unittest.expect(o.isParent, unittest.isTrue);
2693 unittest.expect(o.kind, unittest.equals('foo'));
2694 unittest.expect(o.logoUrl, unittest.equals('foo'));
2695 unittest.expect(o.mediaKitLink, unittest.equals('foo'));
2696 unittest.expect(o.name, unittest.equals('foo'));
2697 unittest.expect(o.overview, unittest.equals('foo'));
2698 unittest.expect(o.profileId, unittest.equals(42));
2699 checkUnnamed2307(o.publisherDomains);
2700 unittest.expect(o.rateCardInfoLink, unittest.equals('foo'));
2701 unittest.expect(o.samplePageLink, unittest.equals('foo'));
2702 checkUnnamed2308(o.topHeadlines);
2703 }
2704 buildCounterPublisherProfileApiProto--;
2705 }
2706
2546 core.int buildCounterSeller = 0; 2707 core.int buildCounterSeller = 0;
2547 buildSeller() { 2708 buildSeller() {
2548 var o = new api.Seller(); 2709 var o = new api.Seller();
2549 buildCounterSeller++; 2710 buildCounterSeller++;
2550 if (buildCounterSeller < 3) { 2711 if (buildCounterSeller < 3) {
2551 o.accountId = "foo"; 2712 o.accountId = "foo";
2552 o.subAccountId = "foo"; 2713 o.subAccountId = "foo";
2553 } 2714 }
2554 buildCounterSeller--; 2715 buildCounterSeller--;
2555 return o; 2716 return o;
2556 } 2717 }
2557 2718
2558 checkSeller(api.Seller o) { 2719 checkSeller(api.Seller o) {
2559 buildCounterSeller++; 2720 buildCounterSeller++;
2560 if (buildCounterSeller < 3) { 2721 if (buildCounterSeller < 3) {
2561 unittest.expect(o.accountId, unittest.equals('foo')); 2722 unittest.expect(o.accountId, unittest.equals('foo'));
2562 unittest.expect(o.subAccountId, unittest.equals('foo')); 2723 unittest.expect(o.subAccountId, unittest.equals('foo'));
2563 } 2724 }
2564 buildCounterSeller--; 2725 buildCounterSeller--;
2565 } 2726 }
2566 2727
2567 buildUnnamed1994() { 2728 buildUnnamed2309() {
2568 var o = new core.List<api.TargetingValue>(); 2729 var o = new core.List<api.TargetingValue>();
2569 o.add(buildTargetingValue()); 2730 o.add(buildTargetingValue());
2570 o.add(buildTargetingValue()); 2731 o.add(buildTargetingValue());
2571 return o; 2732 return o;
2572 } 2733 }
2573 2734
2574 checkUnnamed1994(core.List<api.TargetingValue> o) { 2735 checkUnnamed2309(core.List<api.TargetingValue> o) {
2575 unittest.expect(o, unittest.hasLength(2)); 2736 unittest.expect(o, unittest.hasLength(2));
2576 checkTargetingValue(o[0]); 2737 checkTargetingValue(o[0]);
2577 checkTargetingValue(o[1]); 2738 checkTargetingValue(o[1]);
2578 } 2739 }
2579 2740
2580 buildUnnamed1995() { 2741 buildUnnamed2310() {
2581 var o = new core.List<api.TargetingValue>(); 2742 var o = new core.List<api.TargetingValue>();
2582 o.add(buildTargetingValue()); 2743 o.add(buildTargetingValue());
2583 o.add(buildTargetingValue()); 2744 o.add(buildTargetingValue());
2584 return o; 2745 return o;
2585 } 2746 }
2586 2747
2587 checkUnnamed1995(core.List<api.TargetingValue> o) { 2748 checkUnnamed2310(core.List<api.TargetingValue> o) {
2588 unittest.expect(o, unittest.hasLength(2)); 2749 unittest.expect(o, unittest.hasLength(2));
2589 checkTargetingValue(o[0]); 2750 checkTargetingValue(o[0]);
2590 checkTargetingValue(o[1]); 2751 checkTargetingValue(o[1]);
2591 } 2752 }
2592 2753
2593 core.int buildCounterSharedTargeting = 0; 2754 core.int buildCounterSharedTargeting = 0;
2594 buildSharedTargeting() { 2755 buildSharedTargeting() {
2595 var o = new api.SharedTargeting(); 2756 var o = new api.SharedTargeting();
2596 buildCounterSharedTargeting++; 2757 buildCounterSharedTargeting++;
2597 if (buildCounterSharedTargeting < 3) { 2758 if (buildCounterSharedTargeting < 3) {
2598 o.exclusions = buildUnnamed1994(); 2759 o.exclusions = buildUnnamed2309();
2599 o.inclusions = buildUnnamed1995(); 2760 o.inclusions = buildUnnamed2310();
2600 o.key = "foo"; 2761 o.key = "foo";
2601 } 2762 }
2602 buildCounterSharedTargeting--; 2763 buildCounterSharedTargeting--;
2603 return o; 2764 return o;
2604 } 2765 }
2605 2766
2606 checkSharedTargeting(api.SharedTargeting o) { 2767 checkSharedTargeting(api.SharedTargeting o) {
2607 buildCounterSharedTargeting++; 2768 buildCounterSharedTargeting++;
2608 if (buildCounterSharedTargeting < 3) { 2769 if (buildCounterSharedTargeting < 3) {
2609 checkUnnamed1994(o.exclusions); 2770 checkUnnamed2309(o.exclusions);
2610 checkUnnamed1995(o.inclusions); 2771 checkUnnamed2310(o.inclusions);
2611 unittest.expect(o.key, unittest.equals('foo')); 2772 unittest.expect(o.key, unittest.equals('foo'));
2612 } 2773 }
2613 buildCounterSharedTargeting--; 2774 buildCounterSharedTargeting--;
2614 } 2775 }
2615 2776
2616 core.int buildCounterTargetingValue = 0; 2777 core.int buildCounterTargetingValue = 0;
2617 buildTargetingValue() { 2778 buildTargetingValue() {
2618 var o = new api.TargetingValue(); 2779 var o = new api.TargetingValue();
2619 buildCounterTargetingValue++; 2780 buildCounterTargetingValue++;
2620 if (buildCounterTargetingValue < 3) { 2781 if (buildCounterTargetingValue < 3) {
(...skipping 10 matching lines...) Expand all
2631 buildCounterTargetingValue++; 2792 buildCounterTargetingValue++;
2632 if (buildCounterTargetingValue < 3) { 2793 if (buildCounterTargetingValue < 3) {
2633 checkTargetingValueCreativeSize(o.creativeSizeValue); 2794 checkTargetingValueCreativeSize(o.creativeSizeValue);
2634 checkTargetingValueDayPartTargeting(o.dayPartTargetingValue); 2795 checkTargetingValueDayPartTargeting(o.dayPartTargetingValue);
2635 unittest.expect(o.longValue, unittest.equals('foo')); 2796 unittest.expect(o.longValue, unittest.equals('foo'));
2636 unittest.expect(o.stringValue, unittest.equals('foo')); 2797 unittest.expect(o.stringValue, unittest.equals('foo'));
2637 } 2798 }
2638 buildCounterTargetingValue--; 2799 buildCounterTargetingValue--;
2639 } 2800 }
2640 2801
2641 buildUnnamed1996() { 2802 buildUnnamed2311() {
2642 var o = new core.List<api.TargetingValueSize>(); 2803 var o = new core.List<api.TargetingValueSize>();
2643 o.add(buildTargetingValueSize()); 2804 o.add(buildTargetingValueSize());
2644 o.add(buildTargetingValueSize()); 2805 o.add(buildTargetingValueSize());
2645 return o; 2806 return o;
2646 } 2807 }
2647 2808
2648 checkUnnamed1996(core.List<api.TargetingValueSize> o) { 2809 checkUnnamed2311(core.List<api.TargetingValueSize> o) {
2649 unittest.expect(o, unittest.hasLength(2)); 2810 unittest.expect(o, unittest.hasLength(2));
2650 checkTargetingValueSize(o[0]); 2811 checkTargetingValueSize(o[0]);
2651 checkTargetingValueSize(o[1]); 2812 checkTargetingValueSize(o[1]);
2652 } 2813 }
2653 2814
2654 core.int buildCounterTargetingValueCreativeSize = 0; 2815 core.int buildCounterTargetingValueCreativeSize = 0;
2655 buildTargetingValueCreativeSize() { 2816 buildTargetingValueCreativeSize() {
2656 var o = new api.TargetingValueCreativeSize(); 2817 var o = new api.TargetingValueCreativeSize();
2657 buildCounterTargetingValueCreativeSize++; 2818 buildCounterTargetingValueCreativeSize++;
2658 if (buildCounterTargetingValueCreativeSize < 3) { 2819 if (buildCounterTargetingValueCreativeSize < 3) {
2659 o.companionSizes = buildUnnamed1996(); 2820 o.companionSizes = buildUnnamed2311();
2660 o.creativeSizeType = "foo"; 2821 o.creativeSizeType = "foo";
2661 o.size = buildTargetingValueSize(); 2822 o.size = buildTargetingValueSize();
2662 } 2823 }
2663 buildCounterTargetingValueCreativeSize--; 2824 buildCounterTargetingValueCreativeSize--;
2664 return o; 2825 return o;
2665 } 2826 }
2666 2827
2667 checkTargetingValueCreativeSize(api.TargetingValueCreativeSize o) { 2828 checkTargetingValueCreativeSize(api.TargetingValueCreativeSize o) {
2668 buildCounterTargetingValueCreativeSize++; 2829 buildCounterTargetingValueCreativeSize++;
2669 if (buildCounterTargetingValueCreativeSize < 3) { 2830 if (buildCounterTargetingValueCreativeSize < 3) {
2670 checkUnnamed1996(o.companionSizes); 2831 checkUnnamed2311(o.companionSizes);
2671 unittest.expect(o.creativeSizeType, unittest.equals('foo')); 2832 unittest.expect(o.creativeSizeType, unittest.equals('foo'));
2672 checkTargetingValueSize(o.size); 2833 checkTargetingValueSize(o.size);
2673 } 2834 }
2674 buildCounterTargetingValueCreativeSize--; 2835 buildCounterTargetingValueCreativeSize--;
2675 } 2836 }
2676 2837
2677 buildUnnamed1997() { 2838 buildUnnamed2312() {
2678 var o = new core.List<api.TargetingValueDayPartTargetingDayPart>(); 2839 var o = new core.List<api.TargetingValueDayPartTargetingDayPart>();
2679 o.add(buildTargetingValueDayPartTargetingDayPart()); 2840 o.add(buildTargetingValueDayPartTargetingDayPart());
2680 o.add(buildTargetingValueDayPartTargetingDayPart()); 2841 o.add(buildTargetingValueDayPartTargetingDayPart());
2681 return o; 2842 return o;
2682 } 2843 }
2683 2844
2684 checkUnnamed1997(core.List<api.TargetingValueDayPartTargetingDayPart> o) { 2845 checkUnnamed2312(core.List<api.TargetingValueDayPartTargetingDayPart> o) {
2685 unittest.expect(o, unittest.hasLength(2)); 2846 unittest.expect(o, unittest.hasLength(2));
2686 checkTargetingValueDayPartTargetingDayPart(o[0]); 2847 checkTargetingValueDayPartTargetingDayPart(o[0]);
2687 checkTargetingValueDayPartTargetingDayPart(o[1]); 2848 checkTargetingValueDayPartTargetingDayPart(o[1]);
2688 } 2849 }
2689 2850
2690 core.int buildCounterTargetingValueDayPartTargeting = 0; 2851 core.int buildCounterTargetingValueDayPartTargeting = 0;
2691 buildTargetingValueDayPartTargeting() { 2852 buildTargetingValueDayPartTargeting() {
2692 var o = new api.TargetingValueDayPartTargeting(); 2853 var o = new api.TargetingValueDayPartTargeting();
2693 buildCounterTargetingValueDayPartTargeting++; 2854 buildCounterTargetingValueDayPartTargeting++;
2694 if (buildCounterTargetingValueDayPartTargeting < 3) { 2855 if (buildCounterTargetingValueDayPartTargeting < 3) {
2695 o.dayParts = buildUnnamed1997(); 2856 o.dayParts = buildUnnamed2312();
2696 o.timeZoneType = "foo"; 2857 o.timeZoneType = "foo";
2697 } 2858 }
2698 buildCounterTargetingValueDayPartTargeting--; 2859 buildCounterTargetingValueDayPartTargeting--;
2699 return o; 2860 return o;
2700 } 2861 }
2701 2862
2702 checkTargetingValueDayPartTargeting(api.TargetingValueDayPartTargeting o) { 2863 checkTargetingValueDayPartTargeting(api.TargetingValueDayPartTargeting o) {
2703 buildCounterTargetingValueDayPartTargeting++; 2864 buildCounterTargetingValueDayPartTargeting++;
2704 if (buildCounterTargetingValueDayPartTargeting < 3) { 2865 if (buildCounterTargetingValueDayPartTargeting < 3) {
2705 checkUnnamed1997(o.dayParts); 2866 checkUnnamed2312(o.dayParts);
2706 unittest.expect(o.timeZoneType, unittest.equals('foo')); 2867 unittest.expect(o.timeZoneType, unittest.equals('foo'));
2707 } 2868 }
2708 buildCounterTargetingValueDayPartTargeting--; 2869 buildCounterTargetingValueDayPartTargeting--;
2709 } 2870 }
2710 2871
2711 core.int buildCounterTargetingValueDayPartTargetingDayPart = 0; 2872 core.int buildCounterTargetingValueDayPartTargetingDayPart = 0;
2712 buildTargetingValueDayPartTargetingDayPart() { 2873 buildTargetingValueDayPartTargetingDayPart() {
2713 var o = new api.TargetingValueDayPartTargetingDayPart(); 2874 var o = new api.TargetingValueDayPartTargetingDayPart();
2714 buildCounterTargetingValueDayPartTargetingDayPart++; 2875 buildCounterTargetingValueDayPartTargetingDayPart++;
2715 if (buildCounterTargetingValueDayPartTargetingDayPart < 3) { 2876 if (buildCounterTargetingValueDayPartTargetingDayPart < 3) {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
2749 2910
2750 checkTargetingValueSize(api.TargetingValueSize o) { 2911 checkTargetingValueSize(api.TargetingValueSize o) {
2751 buildCounterTargetingValueSize++; 2912 buildCounterTargetingValueSize++;
2752 if (buildCounterTargetingValueSize < 3) { 2913 if (buildCounterTargetingValueSize < 3) {
2753 unittest.expect(o.height, unittest.equals(42)); 2914 unittest.expect(o.height, unittest.equals(42));
2754 unittest.expect(o.width, unittest.equals(42)); 2915 unittest.expect(o.width, unittest.equals(42));
2755 } 2916 }
2756 buildCounterTargetingValueSize--; 2917 buildCounterTargetingValueSize--;
2757 } 2918 }
2758 2919
2759 buildUnnamed1998() { 2920 buildUnnamed2313() {
2760 var o = new core.List<core.int>(); 2921 var o = new core.List<core.int>();
2761 o.add(42); 2922 o.add(42);
2762 o.add(42); 2923 o.add(42);
2763 return o; 2924 return o;
2764 } 2925 }
2765 2926
2766 checkUnnamed1998(core.List<core.int> o) { 2927 checkUnnamed2313(core.List<core.int> o) {
2767 unittest.expect(o, unittest.hasLength(2)); 2928 unittest.expect(o, unittest.hasLength(2));
2768 unittest.expect(o[0], unittest.equals(42)); 2929 unittest.expect(o[0], unittest.equals(42));
2769 unittest.expect(o[1], unittest.equals(42)); 2930 unittest.expect(o[1], unittest.equals(42));
2770 } 2931 }
2771 2932
2772 buildUnnamed1999() { 2933 buildUnnamed2314() {
2773 var o = new core.List<core.String>(); 2934 var o = new core.List<core.String>();
2774 o.add("foo"); 2935 o.add("foo");
2775 o.add("foo"); 2936 o.add("foo");
2776 return o; 2937 return o;
2777 } 2938 }
2778 2939
2779 checkUnnamed1999(core.List<core.String> o) { 2940 checkUnnamed2314(core.List<core.String> o) {
2780 unittest.expect(o, unittest.hasLength(2)); 2941 unittest.expect(o, unittest.hasLength(2));
2781 unittest.expect(o[0], unittest.equals('foo')); 2942 unittest.expect(o[0], unittest.equals('foo'));
2782 unittest.expect(o[1], unittest.equals('foo')); 2943 unittest.expect(o[1], unittest.equals('foo'));
2783 } 2944 }
2784 2945
2785 2946
2786 main() { 2947 main() {
2787 unittest.group("obj-schema-AccountBidderLocation", () { 2948 unittest.group("obj-schema-AccountBidderLocation", () {
2788 unittest.test("to-json--from-json", () { 2949 unittest.test("to-json--from-json", () {
2789 var o = buildAccountBidderLocation(); 2950 var o = buildAccountBidderLocation();
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
3011 3172
3012 unittest.group("obj-schema-CreativesList", () { 3173 unittest.group("obj-schema-CreativesList", () {
3013 unittest.test("to-json--from-json", () { 3174 unittest.test("to-json--from-json", () {
3014 var o = buildCreativesList(); 3175 var o = buildCreativesList();
3015 var od = new api.CreativesList.fromJson(o.toJson()); 3176 var od = new api.CreativesList.fromJson(o.toJson());
3016 checkCreativesList(od); 3177 checkCreativesList(od);
3017 }); 3178 });
3018 }); 3179 });
3019 3180
3020 3181
3182 unittest.group("obj-schema-DealServingMetadata", () {
3183 unittest.test("to-json--from-json", () {
3184 var o = buildDealServingMetadata();
3185 var od = new api.DealServingMetadata.fromJson(o.toJson());
3186 checkDealServingMetadata(od);
3187 });
3188 });
3189
3190
3191 unittest.group("obj-schema-DealServingMetadataDealPauseStatus", () {
3192 unittest.test("to-json--from-json", () {
3193 var o = buildDealServingMetadataDealPauseStatus();
3194 var od = new api.DealServingMetadataDealPauseStatus.fromJson(o.toJson());
3195 checkDealServingMetadataDealPauseStatus(od);
3196 });
3197 });
3198
3199
3021 unittest.group("obj-schema-DealTerms", () { 3200 unittest.group("obj-schema-DealTerms", () {
3022 unittest.test("to-json--from-json", () { 3201 unittest.test("to-json--from-json", () {
3023 var o = buildDealTerms(); 3202 var o = buildDealTerms();
3024 var od = new api.DealTerms.fromJson(o.toJson()); 3203 var od = new api.DealTerms.fromJson(o.toJson());
3025 checkDealTerms(od); 3204 checkDealTerms(od);
3026 }); 3205 });
3027 }); 3206 });
3028 3207
3029 3208
3030 unittest.group("obj-schema-DealTermsGuaranteedFixedPriceTerms", () { 3209 unittest.group("obj-schema-DealTermsGuaranteedFixedPriceTerms", () {
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
3137 3316
3138 unittest.group("obj-schema-GetOrdersResponse", () { 3317 unittest.group("obj-schema-GetOrdersResponse", () {
3139 unittest.test("to-json--from-json", () { 3318 unittest.test("to-json--from-json", () {
3140 var o = buildGetOrdersResponse(); 3319 var o = buildGetOrdersResponse();
3141 var od = new api.GetOrdersResponse.fromJson(o.toJson()); 3320 var od = new api.GetOrdersResponse.fromJson(o.toJson());
3142 checkGetOrdersResponse(od); 3321 checkGetOrdersResponse(od);
3143 }); 3322 });
3144 }); 3323 });
3145 3324
3146 3325
3326 unittest.group("obj-schema-GetPublisherProfilesByAccountIdResponse", () {
3327 unittest.test("to-json--from-json", () {
3328 var o = buildGetPublisherProfilesByAccountIdResponse();
3329 var od = new api.GetPublisherProfilesByAccountIdResponse.fromJson(o.toJson ());
3330 checkGetPublisherProfilesByAccountIdResponse(od);
3331 });
3332 });
3333
3334
3147 unittest.group("obj-schema-MarketplaceDeal", () { 3335 unittest.group("obj-schema-MarketplaceDeal", () {
3148 unittest.test("to-json--from-json", () { 3336 unittest.test("to-json--from-json", () {
3149 var o = buildMarketplaceDeal(); 3337 var o = buildMarketplaceDeal();
3150 var od = new api.MarketplaceDeal.fromJson(o.toJson()); 3338 var od = new api.MarketplaceDeal.fromJson(o.toJson());
3151 checkMarketplaceDeal(od); 3339 checkMarketplaceDeal(od);
3152 }); 3340 });
3153 }); 3341 });
3154 3342
3155 3343
3156 unittest.group("obj-schema-MarketplaceDealParty", () { 3344 unittest.group("obj-schema-MarketplaceDealParty", () {
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
3290 3478
3291 unittest.group("obj-schema-Proposal", () { 3479 unittest.group("obj-schema-Proposal", () {
3292 unittest.test("to-json--from-json", () { 3480 unittest.test("to-json--from-json", () {
3293 var o = buildProposal(); 3481 var o = buildProposal();
3294 var od = new api.Proposal.fromJson(o.toJson()); 3482 var od = new api.Proposal.fromJson(o.toJson());
3295 checkProposal(od); 3483 checkProposal(od);
3296 }); 3484 });
3297 }); 3485 });
3298 3486
3299 3487
3488 unittest.group("obj-schema-PublisherProfileApiProto", () {
3489 unittest.test("to-json--from-json", () {
3490 var o = buildPublisherProfileApiProto();
3491 var od = new api.PublisherProfileApiProto.fromJson(o.toJson());
3492 checkPublisherProfileApiProto(od);
3493 });
3494 });
3495
3496
3300 unittest.group("obj-schema-Seller", () { 3497 unittest.group("obj-schema-Seller", () {
3301 unittest.test("to-json--from-json", () { 3498 unittest.test("to-json--from-json", () {
3302 var o = buildSeller(); 3499 var o = buildSeller();
3303 var od = new api.Seller.fromJson(o.toJson()); 3500 var od = new api.Seller.fromJson(o.toJson());
3304 checkSeller(od); 3501 checkSeller(od);
3305 }); 3502 });
3306 }); 3503 });
3307 3504
3308 3505
3309 unittest.group("obj-schema-SharedTargeting", () { 3506 unittest.group("obj-schema-SharedTargeting", () {
(...skipping 702 matching lines...) Expand 10 before | Expand all | Expand 10 after
4012 }), true); 4209 }), true);
4013 res.insert(arg_request).then(unittest.expectAsync(((api.Creative response) { 4210 res.insert(arg_request).then(unittest.expectAsync(((api.Creative response) {
4014 checkCreative(response); 4211 checkCreative(response);
4015 }))); 4212 })));
4016 }); 4213 });
4017 4214
4018 unittest.test("method--list", () { 4215 unittest.test("method--list", () {
4019 4216
4020 var mock = new HttpServerMock(); 4217 var mock = new HttpServerMock();
4021 api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives; 4218 api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives;
4022 var arg_accountId = buildUnnamed1998(); 4219 var arg_accountId = buildUnnamed2313();
4023 var arg_buyerCreativeId = buildUnnamed1999(); 4220 var arg_buyerCreativeId = buildUnnamed2314();
4024 var arg_dealsStatusFilter = "foo"; 4221 var arg_dealsStatusFilter = "foo";
4025 var arg_maxResults = 42; 4222 var arg_maxResults = 42;
4026 var arg_openAuctionStatusFilter = "foo"; 4223 var arg_openAuctionStatusFilter = "foo";
4027 var arg_pageToken = "foo"; 4224 var arg_pageToken = "foo";
4028 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 4225 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
4029 var path = (req.url).path; 4226 var path = (req.url).path;
4030 var pathOffset = 0; 4227 var pathOffset = 0;
4031 var index; 4228 var index;
4032 var subPart; 4229 var subPart;
4033 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 4230 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
(...skipping 1153 matching lines...) Expand 10 before | Expand all | Expand 10 after
5187 "content-type" : "application/json; charset=utf-8", 5384 "content-type" : "application/json; charset=utf-8",
5188 }; 5385 };
5189 var resp = convert.JSON.encode(buildGetOrdersResponse()); 5386 var resp = convert.JSON.encode(buildGetOrdersResponse());
5190 return new async.Future.value(stringResponse(200, h, resp)); 5387 return new async.Future.value(stringResponse(200, h, resp));
5191 }), true); 5388 }), true);
5192 res.search(pqlQuery: arg_pqlQuery).then(unittest.expectAsync(((api.GetOrde rsResponse response) { 5389 res.search(pqlQuery: arg_pqlQuery).then(unittest.expectAsync(((api.GetOrde rsResponse response) {
5193 checkGetOrdersResponse(response); 5390 checkGetOrdersResponse(response);
5194 }))); 5391 })));
5195 }); 5392 });
5196 5393
5394 unittest.test("method--setupcomplete", () {
5395
5396 var mock = new HttpServerMock();
5397 api.ProposalsResourceApi res = new api.AdexchangebuyerApi(mock).proposals;
5398 var arg_proposalId = "foo";
5399 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
5400 var path = (req.url).path;
5401 var pathOffset = 0;
5402 var index;
5403 var subPart;
5404 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
5405 pathOffset += 1;
5406 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq uals("adexchangebuyer/v1.4/"));
5407 pathOffset += 21;
5408 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq uals("proposals/"));
5409 pathOffset += 10;
5410 index = path.indexOf("/setupcomplete", pathOffset);
5411 unittest.expect(index >= 0, unittest.isTrue);
5412 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index ));
5413 pathOffset = index;
5414 unittest.expect(subPart, unittest.equals("$arg_proposalId"));
5415 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq uals("/setupcomplete"));
5416 pathOffset += 14;
5417
5418 var query = (req.url).query;
5419 var queryOffset = 0;
5420 var queryMap = {};
5421 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
5422 parseBool(n) {
5423 if (n == "true") return true;
5424 if (n == "false") return false;
5425 if (n == null) return null;
5426 throw new core.ArgumentError("Invalid boolean: $n");
5427 }
5428 if (query.length > 0) {
5429 for (var part in query.split("&")) {
5430 var keyvalue = part.split("=");
5431 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
5432 }
5433 }
5434
5435
5436 var h = {
5437 "content-type" : "application/json; charset=utf-8",
5438 };
5439 var resp = "";
5440 return new async.Future.value(stringResponse(200, h, resp));
5441 }), true);
5442 res.setupcomplete(arg_proposalId).then(unittest.expectAsync((_) {}));
5443 });
5444
5197 unittest.test("method--update", () { 5445 unittest.test("method--update", () {
5198 5446
5199 var mock = new HttpServerMock(); 5447 var mock = new HttpServerMock();
5200 api.ProposalsResourceApi res = new api.AdexchangebuyerApi(mock).proposals; 5448 api.ProposalsResourceApi res = new api.AdexchangebuyerApi(mock).proposals;
5201 var arg_request = buildProposal(); 5449 var arg_request = buildProposal();
5202 var arg_proposalId = "foo"; 5450 var arg_proposalId = "foo";
5203 var arg_revisionNumber = "foo"; 5451 var arg_revisionNumber = "foo";
5204 var arg_updateAction = "foo"; 5452 var arg_updateAction = "foo";
5205 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 5453 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
5206 var obj = new api.Proposal.fromJson(json); 5454 var obj = new api.Proposal.fromJson(json);
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
5259 return new async.Future.value(stringResponse(200, h, resp)); 5507 return new async.Future.value(stringResponse(200, h, resp));
5260 }), true); 5508 }), true);
5261 res.update(arg_request, arg_proposalId, arg_revisionNumber, arg_updateActi on).then(unittest.expectAsync(((api.Proposal response) { 5509 res.update(arg_request, arg_proposalId, arg_revisionNumber, arg_updateActi on).then(unittest.expectAsync(((api.Proposal response) {
5262 checkProposal(response); 5510 checkProposal(response);
5263 }))); 5511 })));
5264 }); 5512 });
5265 5513
5266 }); 5514 });
5267 5515
5268 5516
5517 unittest.group("resource-PubprofilesResourceApi", () {
5518 unittest.test("method--list", () {
5519
5520 var mock = new HttpServerMock();
5521 api.PubprofilesResourceApi res = new api.AdexchangebuyerApi(mock).pubprofi les;
5522 var arg_accountId = 42;
5523 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
5524 var path = (req.url).path;
5525 var pathOffset = 0;
5526 var index;
5527 var subPart;
5528 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
5529 pathOffset += 1;
5530 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq uals("adexchangebuyer/v1.4/"));
5531 pathOffset += 21;
5532 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq uals("publisher/"));
5533 pathOffset += 10;
5534 index = path.indexOf("/profiles", pathOffset);
5535 unittest.expect(index >= 0, unittest.isTrue);
5536 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index ));
5537 pathOffset = index;
5538 unittest.expect(subPart, unittest.equals("$arg_accountId"));
5539 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ als("/profiles"));
5540 pathOffset += 9;
5541
5542 var query = (req.url).query;
5543 var queryOffset = 0;
5544 var queryMap = {};
5545 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
5546 parseBool(n) {
5547 if (n == "true") return true;
5548 if (n == "false") return false;
5549 if (n == null) return null;
5550 throw new core.ArgumentError("Invalid boolean: $n");
5551 }
5552 if (query.length > 0) {
5553 for (var part in query.split("&")) {
5554 var keyvalue = part.split("=");
5555 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
5556 }
5557 }
5558
5559
5560 var h = {
5561 "content-type" : "application/json; charset=utf-8",
5562 };
5563 var resp = convert.JSON.encode(buildGetPublisherProfilesByAccountIdRespo nse());
5564 return new async.Future.value(stringResponse(200, h, resp));
5565 }), true);
5566 res.list(arg_accountId).then(unittest.expectAsync(((api.GetPublisherProfil esByAccountIdResponse response) {
5567 checkGetPublisherProfilesByAccountIdResponse(response);
5568 })));
5569 });
5570
5571 });
5572
5573
5269 } 5574 }
5270 5575
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