OLD | NEW |
1 library googleapis.adexchangebuyer.v1_4.test; | 1 library googleapis.adexchangebuyer.v1_4.test; |
2 | 2 |
3 import "dart:core" as core; | 3 import "dart:core" as core; |
4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
5 import "dart:async" as async; | 5 import "dart:async" as async; |
6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
7 | 7 |
8 import 'package:http/http.dart' as http; | 8 import 'package:http/http.dart' as http; |
9 import 'package:http/testing.dart' as http_testing; | 9 import 'package:http/testing.dart' as http_testing; |
10 import 'package:unittest/unittest.dart' as unittest; | 10 import 'package:unittest/unittest.dart' as unittest; |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 buildCounterAccountBidderLocation++; | 69 buildCounterAccountBidderLocation++; |
70 if (buildCounterAccountBidderLocation < 3) { | 70 if (buildCounterAccountBidderLocation < 3) { |
71 unittest.expect(o.bidProtocol, unittest.equals('foo')); | 71 unittest.expect(o.bidProtocol, unittest.equals('foo')); |
72 unittest.expect(o.maximumQps, unittest.equals(42)); | 72 unittest.expect(o.maximumQps, unittest.equals(42)); |
73 unittest.expect(o.region, unittest.equals('foo')); | 73 unittest.expect(o.region, unittest.equals('foo')); |
74 unittest.expect(o.url, unittest.equals('foo')); | 74 unittest.expect(o.url, unittest.equals('foo')); |
75 } | 75 } |
76 buildCounterAccountBidderLocation--; | 76 buildCounterAccountBidderLocation--; |
77 } | 77 } |
78 | 78 |
79 buildUnnamed46() { | 79 buildUnnamed2122() { |
80 var o = new core.List<api.AccountBidderLocation>(); | 80 var o = new core.List<api.AccountBidderLocation>(); |
81 o.add(buildAccountBidderLocation()); | 81 o.add(buildAccountBidderLocation()); |
82 o.add(buildAccountBidderLocation()); | 82 o.add(buildAccountBidderLocation()); |
83 return o; | 83 return o; |
84 } | 84 } |
85 | 85 |
86 checkUnnamed46(core.List<api.AccountBidderLocation> o) { | 86 checkUnnamed2122(core.List<api.AccountBidderLocation> o) { |
87 unittest.expect(o, unittest.hasLength(2)); | 87 unittest.expect(o, unittest.hasLength(2)); |
88 checkAccountBidderLocation(o[0]); | 88 checkAccountBidderLocation(o[0]); |
89 checkAccountBidderLocation(o[1]); | 89 checkAccountBidderLocation(o[1]); |
90 } | 90 } |
91 | 91 |
92 core.int buildCounterAccount = 0; | 92 core.int buildCounterAccount = 0; |
93 buildAccount() { | 93 buildAccount() { |
94 var o = new api.Account(); | 94 var o = new api.Account(); |
95 buildCounterAccount++; | 95 buildCounterAccount++; |
96 if (buildCounterAccount < 3) { | 96 if (buildCounterAccount < 3) { |
97 o.bidderLocation = buildUnnamed46(); | 97 o.bidderLocation = buildUnnamed2122(); |
98 o.cookieMatchingNid = "foo"; | 98 o.cookieMatchingNid = "foo"; |
99 o.cookieMatchingUrl = "foo"; | 99 o.cookieMatchingUrl = "foo"; |
100 o.id = 42; | 100 o.id = 42; |
101 o.kind = "foo"; | 101 o.kind = "foo"; |
102 o.maximumActiveCreatives = 42; | 102 o.maximumActiveCreatives = 42; |
103 o.maximumTotalQps = 42; | 103 o.maximumTotalQps = 42; |
104 o.numberActiveCreatives = 42; | 104 o.numberActiveCreatives = 42; |
105 } | 105 } |
106 buildCounterAccount--; | 106 buildCounterAccount--; |
107 return o; | 107 return o; |
108 } | 108 } |
109 | 109 |
110 checkAccount(api.Account o) { | 110 checkAccount(api.Account o) { |
111 buildCounterAccount++; | 111 buildCounterAccount++; |
112 if (buildCounterAccount < 3) { | 112 if (buildCounterAccount < 3) { |
113 checkUnnamed46(o.bidderLocation); | 113 checkUnnamed2122(o.bidderLocation); |
114 unittest.expect(o.cookieMatchingNid, unittest.equals('foo')); | 114 unittest.expect(o.cookieMatchingNid, unittest.equals('foo')); |
115 unittest.expect(o.cookieMatchingUrl, unittest.equals('foo')); | 115 unittest.expect(o.cookieMatchingUrl, unittest.equals('foo')); |
116 unittest.expect(o.id, unittest.equals(42)); | 116 unittest.expect(o.id, unittest.equals(42)); |
117 unittest.expect(o.kind, unittest.equals('foo')); | 117 unittest.expect(o.kind, unittest.equals('foo')); |
118 unittest.expect(o.maximumActiveCreatives, unittest.equals(42)); | 118 unittest.expect(o.maximumActiveCreatives, unittest.equals(42)); |
119 unittest.expect(o.maximumTotalQps, unittest.equals(42)); | 119 unittest.expect(o.maximumTotalQps, unittest.equals(42)); |
120 unittest.expect(o.numberActiveCreatives, unittest.equals(42)); | 120 unittest.expect(o.numberActiveCreatives, unittest.equals(42)); |
121 } | 121 } |
122 buildCounterAccount--; | 122 buildCounterAccount--; |
123 } | 123 } |
124 | 124 |
125 buildUnnamed47() { | 125 buildUnnamed2123() { |
126 var o = new core.List<api.Account>(); | 126 var o = new core.List<api.Account>(); |
127 o.add(buildAccount()); | 127 o.add(buildAccount()); |
128 o.add(buildAccount()); | 128 o.add(buildAccount()); |
129 return o; | 129 return o; |
130 } | 130 } |
131 | 131 |
132 checkUnnamed47(core.List<api.Account> o) { | 132 checkUnnamed2123(core.List<api.Account> o) { |
133 unittest.expect(o, unittest.hasLength(2)); | 133 unittest.expect(o, unittest.hasLength(2)); |
134 checkAccount(o[0]); | 134 checkAccount(o[0]); |
135 checkAccount(o[1]); | 135 checkAccount(o[1]); |
136 } | 136 } |
137 | 137 |
138 core.int buildCounterAccountsList = 0; | 138 core.int buildCounterAccountsList = 0; |
139 buildAccountsList() { | 139 buildAccountsList() { |
140 var o = new api.AccountsList(); | 140 var o = new api.AccountsList(); |
141 buildCounterAccountsList++; | 141 buildCounterAccountsList++; |
142 if (buildCounterAccountsList < 3) { | 142 if (buildCounterAccountsList < 3) { |
143 o.items = buildUnnamed47(); | 143 o.items = buildUnnamed2123(); |
144 o.kind = "foo"; | 144 o.kind = "foo"; |
145 } | 145 } |
146 buildCounterAccountsList--; | 146 buildCounterAccountsList--; |
147 return o; | 147 return o; |
148 } | 148 } |
149 | 149 |
150 checkAccountsList(api.AccountsList o) { | 150 checkAccountsList(api.AccountsList o) { |
151 buildCounterAccountsList++; | 151 buildCounterAccountsList++; |
152 if (buildCounterAccountsList < 3) { | 152 if (buildCounterAccountsList < 3) { |
153 checkUnnamed47(o.items); | 153 checkUnnamed2123(o.items); |
154 unittest.expect(o.kind, unittest.equals('foo')); | 154 unittest.expect(o.kind, unittest.equals('foo')); |
155 } | 155 } |
156 buildCounterAccountsList--; | 156 buildCounterAccountsList--; |
157 } | 157 } |
158 | 158 |
159 buildUnnamed48() { | 159 buildUnnamed2124() { |
160 var o = new core.List<api.MarketplaceDeal>(); | 160 var o = new core.List<api.MarketplaceDeal>(); |
161 o.add(buildMarketplaceDeal()); | 161 o.add(buildMarketplaceDeal()); |
162 o.add(buildMarketplaceDeal()); | 162 o.add(buildMarketplaceDeal()); |
163 return o; | 163 return o; |
164 } | 164 } |
165 | 165 |
166 checkUnnamed48(core.List<api.MarketplaceDeal> o) { | 166 checkUnnamed2124(core.List<api.MarketplaceDeal> o) { |
167 unittest.expect(o, unittest.hasLength(2)); | 167 unittest.expect(o, unittest.hasLength(2)); |
168 checkMarketplaceDeal(o[0]); | 168 checkMarketplaceDeal(o[0]); |
169 checkMarketplaceDeal(o[1]); | 169 checkMarketplaceDeal(o[1]); |
170 } | 170 } |
171 | 171 |
172 core.int buildCounterAddOrderDealsRequest = 0; | 172 core.int buildCounterAddOrderDealsRequest = 0; |
173 buildAddOrderDealsRequest() { | 173 buildAddOrderDealsRequest() { |
174 var o = new api.AddOrderDealsRequest(); | 174 var o = new api.AddOrderDealsRequest(); |
175 buildCounterAddOrderDealsRequest++; | 175 buildCounterAddOrderDealsRequest++; |
176 if (buildCounterAddOrderDealsRequest < 3) { | 176 if (buildCounterAddOrderDealsRequest < 3) { |
177 o.deals = buildUnnamed48(); | 177 o.deals = buildUnnamed2124(); |
178 o.proposalRevisionNumber = "foo"; | 178 o.proposalRevisionNumber = "foo"; |
179 o.updateAction = "foo"; | 179 o.updateAction = "foo"; |
180 } | 180 } |
181 buildCounterAddOrderDealsRequest--; | 181 buildCounterAddOrderDealsRequest--; |
182 return o; | 182 return o; |
183 } | 183 } |
184 | 184 |
185 checkAddOrderDealsRequest(api.AddOrderDealsRequest o) { | 185 checkAddOrderDealsRequest(api.AddOrderDealsRequest o) { |
186 buildCounterAddOrderDealsRequest++; | 186 buildCounterAddOrderDealsRequest++; |
187 if (buildCounterAddOrderDealsRequest < 3) { | 187 if (buildCounterAddOrderDealsRequest < 3) { |
188 checkUnnamed48(o.deals); | 188 checkUnnamed2124(o.deals); |
189 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); | 189 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); |
190 unittest.expect(o.updateAction, unittest.equals('foo')); | 190 unittest.expect(o.updateAction, unittest.equals('foo')); |
191 } | 191 } |
192 buildCounterAddOrderDealsRequest--; | 192 buildCounterAddOrderDealsRequest--; |
193 } | 193 } |
194 | 194 |
195 buildUnnamed49() { | 195 buildUnnamed2125() { |
196 var o = new core.List<api.MarketplaceDeal>(); | 196 var o = new core.List<api.MarketplaceDeal>(); |
197 o.add(buildMarketplaceDeal()); | 197 o.add(buildMarketplaceDeal()); |
198 o.add(buildMarketplaceDeal()); | 198 o.add(buildMarketplaceDeal()); |
199 return o; | 199 return o; |
200 } | 200 } |
201 | 201 |
202 checkUnnamed49(core.List<api.MarketplaceDeal> o) { | 202 checkUnnamed2125(core.List<api.MarketplaceDeal> o) { |
203 unittest.expect(o, unittest.hasLength(2)); | 203 unittest.expect(o, unittest.hasLength(2)); |
204 checkMarketplaceDeal(o[0]); | 204 checkMarketplaceDeal(o[0]); |
205 checkMarketplaceDeal(o[1]); | 205 checkMarketplaceDeal(o[1]); |
206 } | 206 } |
207 | 207 |
208 core.int buildCounterAddOrderDealsResponse = 0; | 208 core.int buildCounterAddOrderDealsResponse = 0; |
209 buildAddOrderDealsResponse() { | 209 buildAddOrderDealsResponse() { |
210 var o = new api.AddOrderDealsResponse(); | 210 var o = new api.AddOrderDealsResponse(); |
211 buildCounterAddOrderDealsResponse++; | 211 buildCounterAddOrderDealsResponse++; |
212 if (buildCounterAddOrderDealsResponse < 3) { | 212 if (buildCounterAddOrderDealsResponse < 3) { |
213 o.deals = buildUnnamed49(); | 213 o.deals = buildUnnamed2125(); |
214 o.proposalRevisionNumber = "foo"; | 214 o.proposalRevisionNumber = "foo"; |
215 } | 215 } |
216 buildCounterAddOrderDealsResponse--; | 216 buildCounterAddOrderDealsResponse--; |
217 return o; | 217 return o; |
218 } | 218 } |
219 | 219 |
220 checkAddOrderDealsResponse(api.AddOrderDealsResponse o) { | 220 checkAddOrderDealsResponse(api.AddOrderDealsResponse o) { |
221 buildCounterAddOrderDealsResponse++; | 221 buildCounterAddOrderDealsResponse++; |
222 if (buildCounterAddOrderDealsResponse < 3) { | 222 if (buildCounterAddOrderDealsResponse < 3) { |
223 checkUnnamed49(o.deals); | 223 checkUnnamed2125(o.deals); |
224 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); | 224 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); |
225 } | 225 } |
226 buildCounterAddOrderDealsResponse--; | 226 buildCounterAddOrderDealsResponse--; |
227 } | 227 } |
228 | 228 |
229 buildUnnamed50() { | 229 buildUnnamed2126() { |
230 var o = new core.List<api.MarketplaceNote>(); | 230 var o = new core.List<api.MarketplaceNote>(); |
231 o.add(buildMarketplaceNote()); | 231 o.add(buildMarketplaceNote()); |
232 o.add(buildMarketplaceNote()); | 232 o.add(buildMarketplaceNote()); |
233 return o; | 233 return o; |
234 } | 234 } |
235 | 235 |
236 checkUnnamed50(core.List<api.MarketplaceNote> o) { | 236 checkUnnamed2126(core.List<api.MarketplaceNote> o) { |
237 unittest.expect(o, unittest.hasLength(2)); | 237 unittest.expect(o, unittest.hasLength(2)); |
238 checkMarketplaceNote(o[0]); | 238 checkMarketplaceNote(o[0]); |
239 checkMarketplaceNote(o[1]); | 239 checkMarketplaceNote(o[1]); |
240 } | 240 } |
241 | 241 |
242 core.int buildCounterAddOrderNotesRequest = 0; | 242 core.int buildCounterAddOrderNotesRequest = 0; |
243 buildAddOrderNotesRequest() { | 243 buildAddOrderNotesRequest() { |
244 var o = new api.AddOrderNotesRequest(); | 244 var o = new api.AddOrderNotesRequest(); |
245 buildCounterAddOrderNotesRequest++; | 245 buildCounterAddOrderNotesRequest++; |
246 if (buildCounterAddOrderNotesRequest < 3) { | 246 if (buildCounterAddOrderNotesRequest < 3) { |
247 o.notes = buildUnnamed50(); | 247 o.notes = buildUnnamed2126(); |
248 } | 248 } |
249 buildCounterAddOrderNotesRequest--; | 249 buildCounterAddOrderNotesRequest--; |
250 return o; | 250 return o; |
251 } | 251 } |
252 | 252 |
253 checkAddOrderNotesRequest(api.AddOrderNotesRequest o) { | 253 checkAddOrderNotesRequest(api.AddOrderNotesRequest o) { |
254 buildCounterAddOrderNotesRequest++; | 254 buildCounterAddOrderNotesRequest++; |
255 if (buildCounterAddOrderNotesRequest < 3) { | 255 if (buildCounterAddOrderNotesRequest < 3) { |
256 checkUnnamed50(o.notes); | 256 checkUnnamed2126(o.notes); |
257 } | 257 } |
258 buildCounterAddOrderNotesRequest--; | 258 buildCounterAddOrderNotesRequest--; |
259 } | 259 } |
260 | 260 |
261 buildUnnamed51() { | 261 buildUnnamed2127() { |
262 var o = new core.List<api.MarketplaceNote>(); | 262 var o = new core.List<api.MarketplaceNote>(); |
263 o.add(buildMarketplaceNote()); | 263 o.add(buildMarketplaceNote()); |
264 o.add(buildMarketplaceNote()); | 264 o.add(buildMarketplaceNote()); |
265 return o; | 265 return o; |
266 } | 266 } |
267 | 267 |
268 checkUnnamed51(core.List<api.MarketplaceNote> o) { | 268 checkUnnamed2127(core.List<api.MarketplaceNote> o) { |
269 unittest.expect(o, unittest.hasLength(2)); | 269 unittest.expect(o, unittest.hasLength(2)); |
270 checkMarketplaceNote(o[0]); | 270 checkMarketplaceNote(o[0]); |
271 checkMarketplaceNote(o[1]); | 271 checkMarketplaceNote(o[1]); |
272 } | 272 } |
273 | 273 |
274 core.int buildCounterAddOrderNotesResponse = 0; | 274 core.int buildCounterAddOrderNotesResponse = 0; |
275 buildAddOrderNotesResponse() { | 275 buildAddOrderNotesResponse() { |
276 var o = new api.AddOrderNotesResponse(); | 276 var o = new api.AddOrderNotesResponse(); |
277 buildCounterAddOrderNotesResponse++; | 277 buildCounterAddOrderNotesResponse++; |
278 if (buildCounterAddOrderNotesResponse < 3) { | 278 if (buildCounterAddOrderNotesResponse < 3) { |
279 o.notes = buildUnnamed51(); | 279 o.notes = buildUnnamed2127(); |
280 } | 280 } |
281 buildCounterAddOrderNotesResponse--; | 281 buildCounterAddOrderNotesResponse--; |
282 return o; | 282 return o; |
283 } | 283 } |
284 | 284 |
285 checkAddOrderNotesResponse(api.AddOrderNotesResponse o) { | 285 checkAddOrderNotesResponse(api.AddOrderNotesResponse o) { |
286 buildCounterAddOrderNotesResponse++; | 286 buildCounterAddOrderNotesResponse++; |
287 if (buildCounterAddOrderNotesResponse < 3) { | 287 if (buildCounterAddOrderNotesResponse < 3) { |
288 checkUnnamed51(o.notes); | 288 checkUnnamed2127(o.notes); |
289 } | 289 } |
290 buildCounterAddOrderNotesResponse--; | 290 buildCounterAddOrderNotesResponse--; |
291 } | 291 } |
292 | 292 |
293 buildUnnamed52() { | 293 buildUnnamed2128() { |
294 var o = new core.List<core.String>(); | 294 var o = new core.List<core.String>(); |
295 o.add("foo"); | 295 o.add("foo"); |
296 o.add("foo"); | 296 o.add("foo"); |
297 return o; | 297 return o; |
298 } | 298 } |
299 | 299 |
300 checkUnnamed52(core.List<core.String> o) { | 300 checkUnnamed2128(core.List<core.String> o) { |
301 unittest.expect(o, unittest.hasLength(2)); | 301 unittest.expect(o, unittest.hasLength(2)); |
302 unittest.expect(o[0], unittest.equals('foo')); | 302 unittest.expect(o[0], unittest.equals('foo')); |
303 unittest.expect(o[1], unittest.equals('foo')); | 303 unittest.expect(o[1], unittest.equals('foo')); |
304 } | 304 } |
305 | 305 |
306 core.int buildCounterBillingInfo = 0; | 306 core.int buildCounterBillingInfo = 0; |
307 buildBillingInfo() { | 307 buildBillingInfo() { |
308 var o = new api.BillingInfo(); | 308 var o = new api.BillingInfo(); |
309 buildCounterBillingInfo++; | 309 buildCounterBillingInfo++; |
310 if (buildCounterBillingInfo < 3) { | 310 if (buildCounterBillingInfo < 3) { |
311 o.accountId = 42; | 311 o.accountId = 42; |
312 o.accountName = "foo"; | 312 o.accountName = "foo"; |
313 o.billingId = buildUnnamed52(); | 313 o.billingId = buildUnnamed2128(); |
314 o.kind = "foo"; | 314 o.kind = "foo"; |
315 } | 315 } |
316 buildCounterBillingInfo--; | 316 buildCounterBillingInfo--; |
317 return o; | 317 return o; |
318 } | 318 } |
319 | 319 |
320 checkBillingInfo(api.BillingInfo o) { | 320 checkBillingInfo(api.BillingInfo o) { |
321 buildCounterBillingInfo++; | 321 buildCounterBillingInfo++; |
322 if (buildCounterBillingInfo < 3) { | 322 if (buildCounterBillingInfo < 3) { |
323 unittest.expect(o.accountId, unittest.equals(42)); | 323 unittest.expect(o.accountId, unittest.equals(42)); |
324 unittest.expect(o.accountName, unittest.equals('foo')); | 324 unittest.expect(o.accountName, unittest.equals('foo')); |
325 checkUnnamed52(o.billingId); | 325 checkUnnamed2128(o.billingId); |
326 unittest.expect(o.kind, unittest.equals('foo')); | 326 unittest.expect(o.kind, unittest.equals('foo')); |
327 } | 327 } |
328 buildCounterBillingInfo--; | 328 buildCounterBillingInfo--; |
329 } | 329 } |
330 | 330 |
331 buildUnnamed53() { | 331 buildUnnamed2129() { |
332 var o = new core.List<api.BillingInfo>(); | 332 var o = new core.List<api.BillingInfo>(); |
333 o.add(buildBillingInfo()); | 333 o.add(buildBillingInfo()); |
334 o.add(buildBillingInfo()); | 334 o.add(buildBillingInfo()); |
335 return o; | 335 return o; |
336 } | 336 } |
337 | 337 |
338 checkUnnamed53(core.List<api.BillingInfo> o) { | 338 checkUnnamed2129(core.List<api.BillingInfo> o) { |
339 unittest.expect(o, unittest.hasLength(2)); | 339 unittest.expect(o, unittest.hasLength(2)); |
340 checkBillingInfo(o[0]); | 340 checkBillingInfo(o[0]); |
341 checkBillingInfo(o[1]); | 341 checkBillingInfo(o[1]); |
342 } | 342 } |
343 | 343 |
344 core.int buildCounterBillingInfoList = 0; | 344 core.int buildCounterBillingInfoList = 0; |
345 buildBillingInfoList() { | 345 buildBillingInfoList() { |
346 var o = new api.BillingInfoList(); | 346 var o = new api.BillingInfoList(); |
347 buildCounterBillingInfoList++; | 347 buildCounterBillingInfoList++; |
348 if (buildCounterBillingInfoList < 3) { | 348 if (buildCounterBillingInfoList < 3) { |
349 o.items = buildUnnamed53(); | 349 o.items = buildUnnamed2129(); |
350 o.kind = "foo"; | 350 o.kind = "foo"; |
351 } | 351 } |
352 buildCounterBillingInfoList--; | 352 buildCounterBillingInfoList--; |
353 return o; | 353 return o; |
354 } | 354 } |
355 | 355 |
356 checkBillingInfoList(api.BillingInfoList o) { | 356 checkBillingInfoList(api.BillingInfoList o) { |
357 buildCounterBillingInfoList++; | 357 buildCounterBillingInfoList++; |
358 if (buildCounterBillingInfoList < 3) { | 358 if (buildCounterBillingInfoList < 3) { |
359 checkUnnamed53(o.items); | 359 checkUnnamed2129(o.items); |
360 unittest.expect(o.kind, unittest.equals('foo')); | 360 unittest.expect(o.kind, unittest.equals('foo')); |
361 } | 361 } |
362 buildCounterBillingInfoList--; | 362 buildCounterBillingInfoList--; |
363 } | 363 } |
364 | 364 |
365 core.int buildCounterBudget = 0; | 365 core.int buildCounterBudget = 0; |
366 buildBudget() { | 366 buildBudget() { |
367 var o = new api.Budget(); | 367 var o = new api.Budget(); |
368 buildCounterBudget++; | 368 buildCounterBudget++; |
369 if (buildCounterBudget < 3) { | 369 if (buildCounterBudget < 3) { |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
424 | 424 |
425 checkContactInformation(api.ContactInformation o) { | 425 checkContactInformation(api.ContactInformation o) { |
426 buildCounterContactInformation++; | 426 buildCounterContactInformation++; |
427 if (buildCounterContactInformation < 3) { | 427 if (buildCounterContactInformation < 3) { |
428 unittest.expect(o.email, unittest.equals('foo')); | 428 unittest.expect(o.email, unittest.equals('foo')); |
429 unittest.expect(o.name, unittest.equals('foo')); | 429 unittest.expect(o.name, unittest.equals('foo')); |
430 } | 430 } |
431 buildCounterContactInformation--; | 431 buildCounterContactInformation--; |
432 } | 432 } |
433 | 433 |
434 buildUnnamed54() { | 434 buildUnnamed2130() { |
435 var o = new core.List<api.Proposal>(); | 435 var o = new core.List<api.Proposal>(); |
436 o.add(buildProposal()); | 436 o.add(buildProposal()); |
437 o.add(buildProposal()); | 437 o.add(buildProposal()); |
438 return o; | 438 return o; |
439 } | 439 } |
440 | 440 |
441 checkUnnamed54(core.List<api.Proposal> o) { | 441 checkUnnamed2130(core.List<api.Proposal> o) { |
442 unittest.expect(o, unittest.hasLength(2)); | 442 unittest.expect(o, unittest.hasLength(2)); |
443 checkProposal(o[0]); | 443 checkProposal(o[0]); |
444 checkProposal(o[1]); | 444 checkProposal(o[1]); |
445 } | 445 } |
446 | 446 |
447 core.int buildCounterCreateOrdersRequest = 0; | 447 core.int buildCounterCreateOrdersRequest = 0; |
448 buildCreateOrdersRequest() { | 448 buildCreateOrdersRequest() { |
449 var o = new api.CreateOrdersRequest(); | 449 var o = new api.CreateOrdersRequest(); |
450 buildCounterCreateOrdersRequest++; | 450 buildCounterCreateOrdersRequest++; |
451 if (buildCounterCreateOrdersRequest < 3) { | 451 if (buildCounterCreateOrdersRequest < 3) { |
452 o.proposals = buildUnnamed54(); | 452 o.proposals = buildUnnamed2130(); |
453 o.webPropertyCode = "foo"; | 453 o.webPropertyCode = "foo"; |
454 } | 454 } |
455 buildCounterCreateOrdersRequest--; | 455 buildCounterCreateOrdersRequest--; |
456 return o; | 456 return o; |
457 } | 457 } |
458 | 458 |
459 checkCreateOrdersRequest(api.CreateOrdersRequest o) { | 459 checkCreateOrdersRequest(api.CreateOrdersRequest o) { |
460 buildCounterCreateOrdersRequest++; | 460 buildCounterCreateOrdersRequest++; |
461 if (buildCounterCreateOrdersRequest < 3) { | 461 if (buildCounterCreateOrdersRequest < 3) { |
462 checkUnnamed54(o.proposals); | 462 checkUnnamed2130(o.proposals); |
463 unittest.expect(o.webPropertyCode, unittest.equals('foo')); | 463 unittest.expect(o.webPropertyCode, unittest.equals('foo')); |
464 } | 464 } |
465 buildCounterCreateOrdersRequest--; | 465 buildCounterCreateOrdersRequest--; |
466 } | 466 } |
467 | 467 |
468 buildUnnamed55() { | 468 buildUnnamed2131() { |
469 var o = new core.List<api.Proposal>(); | 469 var o = new core.List<api.Proposal>(); |
470 o.add(buildProposal()); | 470 o.add(buildProposal()); |
471 o.add(buildProposal()); | 471 o.add(buildProposal()); |
472 return o; | 472 return o; |
473 } | 473 } |
474 | 474 |
475 checkUnnamed55(core.List<api.Proposal> o) { | 475 checkUnnamed2131(core.List<api.Proposal> o) { |
476 unittest.expect(o, unittest.hasLength(2)); | 476 unittest.expect(o, unittest.hasLength(2)); |
477 checkProposal(o[0]); | 477 checkProposal(o[0]); |
478 checkProposal(o[1]); | 478 checkProposal(o[1]); |
479 } | 479 } |
480 | 480 |
481 core.int buildCounterCreateOrdersResponse = 0; | 481 core.int buildCounterCreateOrdersResponse = 0; |
482 buildCreateOrdersResponse() { | 482 buildCreateOrdersResponse() { |
483 var o = new api.CreateOrdersResponse(); | 483 var o = new api.CreateOrdersResponse(); |
484 buildCounterCreateOrdersResponse++; | 484 buildCounterCreateOrdersResponse++; |
485 if (buildCounterCreateOrdersResponse < 3) { | 485 if (buildCounterCreateOrdersResponse < 3) { |
486 o.proposals = buildUnnamed55(); | 486 o.proposals = buildUnnamed2131(); |
487 } | 487 } |
488 buildCounterCreateOrdersResponse--; | 488 buildCounterCreateOrdersResponse--; |
489 return o; | 489 return o; |
490 } | 490 } |
491 | 491 |
492 checkCreateOrdersResponse(api.CreateOrdersResponse o) { | 492 checkCreateOrdersResponse(api.CreateOrdersResponse o) { |
493 buildCounterCreateOrdersResponse++; | 493 buildCounterCreateOrdersResponse++; |
494 if (buildCounterCreateOrdersResponse < 3) { | 494 if (buildCounterCreateOrdersResponse < 3) { |
495 checkUnnamed55(o.proposals); | 495 checkUnnamed2131(o.proposals); |
496 } | 496 } |
497 buildCounterCreateOrdersResponse--; | 497 buildCounterCreateOrdersResponse--; |
498 } | 498 } |
499 | 499 |
500 buildUnnamed56() { | 500 buildUnnamed2132() { |
501 var o = new core.List<core.String>(); | 501 var o = new core.List<core.String>(); |
502 o.add("foo"); | 502 o.add("foo"); |
503 o.add("foo"); | 503 o.add("foo"); |
504 return o; | 504 return o; |
505 } | 505 } |
506 | 506 |
507 checkUnnamed56(core.List<core.String> o) { | 507 checkUnnamed2132(core.List<core.String> o) { |
508 unittest.expect(o, unittest.hasLength(2)); | 508 unittest.expect(o, unittest.hasLength(2)); |
509 unittest.expect(o[0], unittest.equals('foo')); | 509 unittest.expect(o[0], unittest.equals('foo')); |
510 unittest.expect(o[1], unittest.equals('foo')); | 510 unittest.expect(o[1], unittest.equals('foo')); |
511 } | 511 } |
512 | 512 |
513 buildUnnamed57() { | 513 buildUnnamed2133() { |
514 var o = new core.List<core.int>(); | 514 var o = new core.List<core.int>(); |
515 o.add(42); | 515 o.add(42); |
516 o.add(42); | 516 o.add(42); |
517 return o; | 517 return o; |
518 } | 518 } |
519 | 519 |
520 checkUnnamed57(core.List<core.int> o) { | 520 checkUnnamed2133(core.List<core.int> o) { |
521 unittest.expect(o, unittest.hasLength(2)); | 521 unittest.expect(o, unittest.hasLength(2)); |
522 unittest.expect(o[0], unittest.equals(42)); | 522 unittest.expect(o[0], unittest.equals(42)); |
523 unittest.expect(o[1], unittest.equals(42)); | 523 unittest.expect(o[1], unittest.equals(42)); |
524 } | 524 } |
525 | 525 |
526 buildUnnamed58() { | 526 buildUnnamed2134() { |
527 var o = new core.List<core.String>(); | 527 var o = new core.List<core.String>(); |
528 o.add("foo"); | 528 o.add("foo"); |
529 o.add("foo"); | 529 o.add("foo"); |
530 return o; | 530 return o; |
531 } | 531 } |
532 | 532 |
533 checkUnnamed58(core.List<core.String> o) { | 533 checkUnnamed2134(core.List<core.String> o) { |
534 unittest.expect(o, unittest.hasLength(2)); | 534 unittest.expect(o, unittest.hasLength(2)); |
535 unittest.expect(o[0], unittest.equals('foo')); | 535 unittest.expect(o[0], unittest.equals('foo')); |
536 unittest.expect(o[1], unittest.equals('foo')); | 536 unittest.expect(o[1], unittest.equals('foo')); |
537 } | 537 } |
538 | 538 |
539 buildUnnamed59() { | 539 buildUnnamed2135() { |
540 var o = new core.List<core.String>(); | 540 var o = new core.List<core.String>(); |
541 o.add("foo"); | 541 o.add("foo"); |
542 o.add("foo"); | 542 o.add("foo"); |
543 return o; | 543 return o; |
544 } | 544 } |
545 | 545 |
546 checkUnnamed59(core.List<core.String> o) { | 546 checkUnnamed2135(core.List<core.String> o) { |
547 unittest.expect(o, unittest.hasLength(2)); | 547 unittest.expect(o, unittest.hasLength(2)); |
548 unittest.expect(o[0], unittest.equals('foo')); | 548 unittest.expect(o[0], unittest.equals('foo')); |
549 unittest.expect(o[1], unittest.equals('foo')); | 549 unittest.expect(o[1], unittest.equals('foo')); |
550 } | 550 } |
551 | 551 |
552 core.int buildCounterCreativeCorrections = 0; | 552 core.int buildCounterCreativeCorrections = 0; |
553 buildCreativeCorrections() { | 553 buildCreativeCorrections() { |
554 var o = new api.CreativeCorrections(); | 554 var o = new api.CreativeCorrections(); |
555 buildCounterCreativeCorrections++; | 555 buildCounterCreativeCorrections++; |
556 if (buildCounterCreativeCorrections < 3) { | 556 if (buildCounterCreativeCorrections < 3) { |
557 o.details = buildUnnamed59(); | 557 o.details = buildUnnamed2135(); |
558 o.reason = "foo"; | 558 o.reason = "foo"; |
559 } | 559 } |
560 buildCounterCreativeCorrections--; | 560 buildCounterCreativeCorrections--; |
561 return o; | 561 return o; |
562 } | 562 } |
563 | 563 |
564 checkCreativeCorrections(api.CreativeCorrections o) { | 564 checkCreativeCorrections(api.CreativeCorrections o) { |
565 buildCounterCreativeCorrections++; | 565 buildCounterCreativeCorrections++; |
566 if (buildCounterCreativeCorrections < 3) { | 566 if (buildCounterCreativeCorrections < 3) { |
567 checkUnnamed59(o.details); | 567 checkUnnamed2135(o.details); |
568 unittest.expect(o.reason, unittest.equals('foo')); | 568 unittest.expect(o.reason, unittest.equals('foo')); |
569 } | 569 } |
570 buildCounterCreativeCorrections--; | 570 buildCounterCreativeCorrections--; |
571 } | 571 } |
572 | 572 |
573 buildUnnamed60() { | 573 buildUnnamed2136() { |
574 var o = new core.List<api.CreativeCorrections>(); | 574 var o = new core.List<api.CreativeCorrections>(); |
575 o.add(buildCreativeCorrections()); | 575 o.add(buildCreativeCorrections()); |
576 o.add(buildCreativeCorrections()); | 576 o.add(buildCreativeCorrections()); |
577 return o; | 577 return o; |
578 } | 578 } |
579 | 579 |
580 checkUnnamed60(core.List<api.CreativeCorrections> o) { | 580 checkUnnamed2136(core.List<api.CreativeCorrections> o) { |
581 unittest.expect(o, unittest.hasLength(2)); | 581 unittest.expect(o, unittest.hasLength(2)); |
582 checkCreativeCorrections(o[0]); | 582 checkCreativeCorrections(o[0]); |
583 checkCreativeCorrections(o[1]); | 583 checkCreativeCorrections(o[1]); |
584 } | 584 } |
585 | 585 |
586 core.int buildCounterCreativeFilteringReasonsReasons = 0; | 586 core.int buildCounterCreativeFilteringReasonsReasons = 0; |
587 buildCreativeFilteringReasonsReasons() { | 587 buildCreativeFilteringReasonsReasons() { |
588 var o = new api.CreativeFilteringReasonsReasons(); | 588 var o = new api.CreativeFilteringReasonsReasons(); |
589 buildCounterCreativeFilteringReasonsReasons++; | 589 buildCounterCreativeFilteringReasonsReasons++; |
590 if (buildCounterCreativeFilteringReasonsReasons < 3) { | 590 if (buildCounterCreativeFilteringReasonsReasons < 3) { |
591 o.filteringCount = "foo"; | 591 o.filteringCount = "foo"; |
592 o.filteringStatus = 42; | 592 o.filteringStatus = 42; |
593 } | 593 } |
594 buildCounterCreativeFilteringReasonsReasons--; | 594 buildCounterCreativeFilteringReasonsReasons--; |
595 return o; | 595 return o; |
596 } | 596 } |
597 | 597 |
598 checkCreativeFilteringReasonsReasons(api.CreativeFilteringReasonsReasons o) { | 598 checkCreativeFilteringReasonsReasons(api.CreativeFilteringReasonsReasons o) { |
599 buildCounterCreativeFilteringReasonsReasons++; | 599 buildCounterCreativeFilteringReasonsReasons++; |
600 if (buildCounterCreativeFilteringReasonsReasons < 3) { | 600 if (buildCounterCreativeFilteringReasonsReasons < 3) { |
601 unittest.expect(o.filteringCount, unittest.equals('foo')); | 601 unittest.expect(o.filteringCount, unittest.equals('foo')); |
602 unittest.expect(o.filteringStatus, unittest.equals(42)); | 602 unittest.expect(o.filteringStatus, unittest.equals(42)); |
603 } | 603 } |
604 buildCounterCreativeFilteringReasonsReasons--; | 604 buildCounterCreativeFilteringReasonsReasons--; |
605 } | 605 } |
606 | 606 |
607 buildUnnamed61() { | 607 buildUnnamed2137() { |
608 var o = new core.List<api.CreativeFilteringReasonsReasons>(); | 608 var o = new core.List<api.CreativeFilteringReasonsReasons>(); |
609 o.add(buildCreativeFilteringReasonsReasons()); | 609 o.add(buildCreativeFilteringReasonsReasons()); |
610 o.add(buildCreativeFilteringReasonsReasons()); | 610 o.add(buildCreativeFilteringReasonsReasons()); |
611 return o; | 611 return o; |
612 } | 612 } |
613 | 613 |
614 checkUnnamed61(core.List<api.CreativeFilteringReasonsReasons> o) { | 614 checkUnnamed2137(core.List<api.CreativeFilteringReasonsReasons> o) { |
615 unittest.expect(o, unittest.hasLength(2)); | 615 unittest.expect(o, unittest.hasLength(2)); |
616 checkCreativeFilteringReasonsReasons(o[0]); | 616 checkCreativeFilteringReasonsReasons(o[0]); |
617 checkCreativeFilteringReasonsReasons(o[1]); | 617 checkCreativeFilteringReasonsReasons(o[1]); |
618 } | 618 } |
619 | 619 |
620 core.int buildCounterCreativeFilteringReasons = 0; | 620 core.int buildCounterCreativeFilteringReasons = 0; |
621 buildCreativeFilteringReasons() { | 621 buildCreativeFilteringReasons() { |
622 var o = new api.CreativeFilteringReasons(); | 622 var o = new api.CreativeFilteringReasons(); |
623 buildCounterCreativeFilteringReasons++; | 623 buildCounterCreativeFilteringReasons++; |
624 if (buildCounterCreativeFilteringReasons < 3) { | 624 if (buildCounterCreativeFilteringReasons < 3) { |
625 o.date = "foo"; | 625 o.date = "foo"; |
626 o.reasons = buildUnnamed61(); | 626 o.reasons = buildUnnamed2137(); |
627 } | 627 } |
628 buildCounterCreativeFilteringReasons--; | 628 buildCounterCreativeFilteringReasons--; |
629 return o; | 629 return o; |
630 } | 630 } |
631 | 631 |
632 checkCreativeFilteringReasons(api.CreativeFilteringReasons o) { | 632 checkCreativeFilteringReasons(api.CreativeFilteringReasons o) { |
633 buildCounterCreativeFilteringReasons++; | 633 buildCounterCreativeFilteringReasons++; |
634 if (buildCounterCreativeFilteringReasons < 3) { | 634 if (buildCounterCreativeFilteringReasons < 3) { |
635 unittest.expect(o.date, unittest.equals('foo')); | 635 unittest.expect(o.date, unittest.equals('foo')); |
636 checkUnnamed61(o.reasons); | 636 checkUnnamed2137(o.reasons); |
637 } | 637 } |
638 buildCounterCreativeFilteringReasons--; | 638 buildCounterCreativeFilteringReasons--; |
639 } | 639 } |
640 | 640 |
641 buildUnnamed62() { | 641 buildUnnamed2138() { |
642 var o = new core.List<core.String>(); | 642 var o = new core.List<core.String>(); |
643 o.add("foo"); | 643 o.add("foo"); |
644 o.add("foo"); | 644 o.add("foo"); |
645 return o; | 645 return o; |
646 } | 646 } |
647 | 647 |
648 checkUnnamed62(core.List<core.String> o) { | 648 checkUnnamed2138(core.List<core.String> o) { |
649 unittest.expect(o, unittest.hasLength(2)); | 649 unittest.expect(o, unittest.hasLength(2)); |
650 unittest.expect(o[0], unittest.equals('foo')); | 650 unittest.expect(o[0], unittest.equals('foo')); |
651 unittest.expect(o[1], unittest.equals('foo')); | 651 unittest.expect(o[1], unittest.equals('foo')); |
652 } | 652 } |
653 | 653 |
654 core.int buildCounterCreativeNativeAdAppIcon = 0; | 654 core.int buildCounterCreativeNativeAdAppIcon = 0; |
655 buildCreativeNativeAdAppIcon() { | 655 buildCreativeNativeAdAppIcon() { |
656 var o = new api.CreativeNativeAdAppIcon(); | 656 var o = new api.CreativeNativeAdAppIcon(); |
657 buildCounterCreativeNativeAdAppIcon++; | 657 buildCounterCreativeNativeAdAppIcon++; |
658 if (buildCounterCreativeNativeAdAppIcon < 3) { | 658 if (buildCounterCreativeNativeAdAppIcon < 3) { |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
690 checkCreativeNativeAdImage(api.CreativeNativeAdImage o) { | 690 checkCreativeNativeAdImage(api.CreativeNativeAdImage o) { |
691 buildCounterCreativeNativeAdImage++; | 691 buildCounterCreativeNativeAdImage++; |
692 if (buildCounterCreativeNativeAdImage < 3) { | 692 if (buildCounterCreativeNativeAdImage < 3) { |
693 unittest.expect(o.height, unittest.equals(42)); | 693 unittest.expect(o.height, unittest.equals(42)); |
694 unittest.expect(o.url, unittest.equals('foo')); | 694 unittest.expect(o.url, unittest.equals('foo')); |
695 unittest.expect(o.width, unittest.equals(42)); | 695 unittest.expect(o.width, unittest.equals(42)); |
696 } | 696 } |
697 buildCounterCreativeNativeAdImage--; | 697 buildCounterCreativeNativeAdImage--; |
698 } | 698 } |
699 | 699 |
700 buildUnnamed63() { | 700 buildUnnamed2139() { |
701 var o = new core.List<core.String>(); | 701 var o = new core.List<core.String>(); |
702 o.add("foo"); | 702 o.add("foo"); |
703 o.add("foo"); | 703 o.add("foo"); |
704 return o; | 704 return o; |
705 } | 705 } |
706 | 706 |
707 checkUnnamed63(core.List<core.String> o) { | 707 checkUnnamed2139(core.List<core.String> o) { |
708 unittest.expect(o, unittest.hasLength(2)); | 708 unittest.expect(o, unittest.hasLength(2)); |
709 unittest.expect(o[0], unittest.equals('foo')); | 709 unittest.expect(o[0], unittest.equals('foo')); |
710 unittest.expect(o[1], unittest.equals('foo')); | 710 unittest.expect(o[1], unittest.equals('foo')); |
711 } | 711 } |
712 | 712 |
713 core.int buildCounterCreativeNativeAdLogo = 0; | 713 core.int buildCounterCreativeNativeAdLogo = 0; |
714 buildCreativeNativeAdLogo() { | 714 buildCreativeNativeAdLogo() { |
715 var o = new api.CreativeNativeAdLogo(); | 715 var o = new api.CreativeNativeAdLogo(); |
716 buildCounterCreativeNativeAdLogo++; | 716 buildCounterCreativeNativeAdLogo++; |
717 if (buildCounterCreativeNativeAdLogo < 3) { | 717 if (buildCounterCreativeNativeAdLogo < 3) { |
(...skipping 20 matching lines...) Expand all Loading... |
738 var o = new api.CreativeNativeAd(); | 738 var o = new api.CreativeNativeAd(); |
739 buildCounterCreativeNativeAd++; | 739 buildCounterCreativeNativeAd++; |
740 if (buildCounterCreativeNativeAd < 3) { | 740 if (buildCounterCreativeNativeAd < 3) { |
741 o.advertiser = "foo"; | 741 o.advertiser = "foo"; |
742 o.appIcon = buildCreativeNativeAdAppIcon(); | 742 o.appIcon = buildCreativeNativeAdAppIcon(); |
743 o.body = "foo"; | 743 o.body = "foo"; |
744 o.callToAction = "foo"; | 744 o.callToAction = "foo"; |
745 o.clickTrackingUrl = "foo"; | 745 o.clickTrackingUrl = "foo"; |
746 o.headline = "foo"; | 746 o.headline = "foo"; |
747 o.image = buildCreativeNativeAdImage(); | 747 o.image = buildCreativeNativeAdImage(); |
748 o.impressionTrackingUrl = buildUnnamed63(); | 748 o.impressionTrackingUrl = buildUnnamed2139(); |
749 o.logo = buildCreativeNativeAdLogo(); | 749 o.logo = buildCreativeNativeAdLogo(); |
750 o.price = "foo"; | 750 o.price = "foo"; |
751 o.starRating = 42.0; | 751 o.starRating = 42.0; |
752 o.store = "foo"; | 752 o.store = "foo"; |
753 } | 753 } |
754 buildCounterCreativeNativeAd--; | 754 buildCounterCreativeNativeAd--; |
755 return o; | 755 return o; |
756 } | 756 } |
757 | 757 |
758 checkCreativeNativeAd(api.CreativeNativeAd o) { | 758 checkCreativeNativeAd(api.CreativeNativeAd o) { |
759 buildCounterCreativeNativeAd++; | 759 buildCounterCreativeNativeAd++; |
760 if (buildCounterCreativeNativeAd < 3) { | 760 if (buildCounterCreativeNativeAd < 3) { |
761 unittest.expect(o.advertiser, unittest.equals('foo')); | 761 unittest.expect(o.advertiser, unittest.equals('foo')); |
762 checkCreativeNativeAdAppIcon(o.appIcon); | 762 checkCreativeNativeAdAppIcon(o.appIcon); |
763 unittest.expect(o.body, unittest.equals('foo')); | 763 unittest.expect(o.body, unittest.equals('foo')); |
764 unittest.expect(o.callToAction, unittest.equals('foo')); | 764 unittest.expect(o.callToAction, unittest.equals('foo')); |
765 unittest.expect(o.clickTrackingUrl, unittest.equals('foo')); | 765 unittest.expect(o.clickTrackingUrl, unittest.equals('foo')); |
766 unittest.expect(o.headline, unittest.equals('foo')); | 766 unittest.expect(o.headline, unittest.equals('foo')); |
767 checkCreativeNativeAdImage(o.image); | 767 checkCreativeNativeAdImage(o.image); |
768 checkUnnamed63(o.impressionTrackingUrl); | 768 checkUnnamed2139(o.impressionTrackingUrl); |
769 checkCreativeNativeAdLogo(o.logo); | 769 checkCreativeNativeAdLogo(o.logo); |
770 unittest.expect(o.price, unittest.equals('foo')); | 770 unittest.expect(o.price, unittest.equals('foo')); |
771 unittest.expect(o.starRating, unittest.equals(42.0)); | 771 unittest.expect(o.starRating, unittest.equals(42.0)); |
772 unittest.expect(o.store, unittest.equals('foo')); | 772 unittest.expect(o.store, unittest.equals('foo')); |
773 } | 773 } |
774 buildCounterCreativeNativeAd--; | 774 buildCounterCreativeNativeAd--; |
775 } | 775 } |
776 | 776 |
777 buildUnnamed64() { | 777 buildUnnamed2140() { |
778 var o = new core.List<core.int>(); | 778 var o = new core.List<core.int>(); |
779 o.add(42); | 779 o.add(42); |
780 o.add(42); | 780 o.add(42); |
781 return o; | 781 return o; |
782 } | 782 } |
783 | 783 |
784 checkUnnamed64(core.List<core.int> o) { | 784 checkUnnamed2140(core.List<core.int> o) { |
785 unittest.expect(o, unittest.hasLength(2)); | 785 unittest.expect(o, unittest.hasLength(2)); |
786 unittest.expect(o[0], unittest.equals(42)); | 786 unittest.expect(o[0], unittest.equals(42)); |
787 unittest.expect(o[1], unittest.equals(42)); | 787 unittest.expect(o[1], unittest.equals(42)); |
788 } | 788 } |
789 | 789 |
790 buildUnnamed65() { | 790 buildUnnamed2141() { |
791 var o = new core.List<core.int>(); | 791 var o = new core.List<core.int>(); |
792 o.add(42); | 792 o.add(42); |
793 o.add(42); | 793 o.add(42); |
794 return o; | 794 return o; |
795 } | 795 } |
796 | 796 |
797 checkUnnamed65(core.List<core.int> o) { | 797 checkUnnamed2141(core.List<core.int> o) { |
798 unittest.expect(o, unittest.hasLength(2)); | 798 unittest.expect(o, unittest.hasLength(2)); |
799 unittest.expect(o[0], unittest.equals(42)); | 799 unittest.expect(o[0], unittest.equals(42)); |
800 unittest.expect(o[1], unittest.equals(42)); | 800 unittest.expect(o[1], unittest.equals(42)); |
801 } | 801 } |
802 | 802 |
803 buildUnnamed66() { | 803 buildUnnamed2142() { |
804 var o = new core.List<core.int>(); | 804 var o = new core.List<core.int>(); |
805 o.add(42); | 805 o.add(42); |
806 o.add(42); | 806 o.add(42); |
807 return o; | 807 return o; |
808 } | 808 } |
809 | 809 |
810 checkUnnamed66(core.List<core.int> o) { | 810 checkUnnamed2142(core.List<core.int> o) { |
811 unittest.expect(o, unittest.hasLength(2)); | 811 unittest.expect(o, unittest.hasLength(2)); |
812 unittest.expect(o[0], unittest.equals(42)); | 812 unittest.expect(o[0], unittest.equals(42)); |
813 unittest.expect(o[1], unittest.equals(42)); | 813 unittest.expect(o[1], unittest.equals(42)); |
814 } | 814 } |
815 | 815 |
816 buildUnnamed67() { | 816 buildUnnamed2143() { |
817 var o = new core.List<core.String>(); | 817 var o = new core.List<core.String>(); |
818 o.add("foo"); | 818 o.add("foo"); |
819 o.add("foo"); | 819 o.add("foo"); |
820 return o; | 820 return o; |
821 } | 821 } |
822 | 822 |
823 checkUnnamed67(core.List<core.String> o) { | 823 checkUnnamed2143(core.List<core.String> o) { |
824 unittest.expect(o, unittest.hasLength(2)); | 824 unittest.expect(o, unittest.hasLength(2)); |
825 unittest.expect(o[0], unittest.equals('foo')); | 825 unittest.expect(o[0], unittest.equals('foo')); |
826 unittest.expect(o[1], unittest.equals('foo')); | 826 unittest.expect(o[1], unittest.equals('foo')); |
827 } | 827 } |
828 | 828 |
829 buildUnnamed68() { | 829 buildUnnamed2144() { |
830 var o = new core.List<core.int>(); | 830 var o = new core.List<core.int>(); |
831 o.add(42); | 831 o.add(42); |
832 o.add(42); | 832 o.add(42); |
833 return o; | 833 return o; |
834 } | 834 } |
835 | 835 |
836 checkUnnamed68(core.List<core.int> o) { | 836 checkUnnamed2144(core.List<core.int> o) { |
837 unittest.expect(o, unittest.hasLength(2)); | 837 unittest.expect(o, unittest.hasLength(2)); |
838 unittest.expect(o[0], unittest.equals(42)); | 838 unittest.expect(o[0], unittest.equals(42)); |
839 unittest.expect(o[1], unittest.equals(42)); | 839 unittest.expect(o[1], unittest.equals(42)); |
840 } | 840 } |
841 | 841 |
842 buildUnnamed69() { | 842 buildUnnamed2145() { |
843 var o = new core.List<core.String>(); | 843 var o = new core.List<core.String>(); |
844 o.add("foo"); | 844 o.add("foo"); |
845 o.add("foo"); | 845 o.add("foo"); |
846 return o; | 846 return o; |
847 } | 847 } |
848 | 848 |
849 checkUnnamed69(core.List<core.String> o) { | 849 checkUnnamed2145(core.List<core.String> o) { |
850 unittest.expect(o, unittest.hasLength(2)); | 850 unittest.expect(o, unittest.hasLength(2)); |
851 unittest.expect(o[0], unittest.equals('foo')); | 851 unittest.expect(o[0], unittest.equals('foo')); |
852 unittest.expect(o[1], unittest.equals('foo')); | 852 unittest.expect(o[1], unittest.equals('foo')); |
853 } | 853 } |
854 | 854 |
855 core.int buildCounterCreativeServingRestrictionsContexts = 0; | 855 core.int buildCounterCreativeServingRestrictionsContexts = 0; |
856 buildCreativeServingRestrictionsContexts() { | 856 buildCreativeServingRestrictionsContexts() { |
857 var o = new api.CreativeServingRestrictionsContexts(); | 857 var o = new api.CreativeServingRestrictionsContexts(); |
858 buildCounterCreativeServingRestrictionsContexts++; | 858 buildCounterCreativeServingRestrictionsContexts++; |
859 if (buildCounterCreativeServingRestrictionsContexts < 3) { | 859 if (buildCounterCreativeServingRestrictionsContexts < 3) { |
860 o.auctionType = buildUnnamed67(); | 860 o.auctionType = buildUnnamed2143(); |
861 o.contextType = "foo"; | 861 o.contextType = "foo"; |
862 o.geoCriteriaId = buildUnnamed68(); | 862 o.geoCriteriaId = buildUnnamed2144(); |
863 o.platform = buildUnnamed69(); | 863 o.platform = buildUnnamed2145(); |
864 } | 864 } |
865 buildCounterCreativeServingRestrictionsContexts--; | 865 buildCounterCreativeServingRestrictionsContexts--; |
866 return o; | 866 return o; |
867 } | 867 } |
868 | 868 |
869 checkCreativeServingRestrictionsContexts(api.CreativeServingRestrictionsContexts
o) { | 869 checkCreativeServingRestrictionsContexts(api.CreativeServingRestrictionsContexts
o) { |
870 buildCounterCreativeServingRestrictionsContexts++; | 870 buildCounterCreativeServingRestrictionsContexts++; |
871 if (buildCounterCreativeServingRestrictionsContexts < 3) { | 871 if (buildCounterCreativeServingRestrictionsContexts < 3) { |
872 checkUnnamed67(o.auctionType); | 872 checkUnnamed2143(o.auctionType); |
873 unittest.expect(o.contextType, unittest.equals('foo')); | 873 unittest.expect(o.contextType, unittest.equals('foo')); |
874 checkUnnamed68(o.geoCriteriaId); | 874 checkUnnamed2144(o.geoCriteriaId); |
875 checkUnnamed69(o.platform); | 875 checkUnnamed2145(o.platform); |
876 } | 876 } |
877 buildCounterCreativeServingRestrictionsContexts--; | 877 buildCounterCreativeServingRestrictionsContexts--; |
878 } | 878 } |
879 | 879 |
880 buildUnnamed70() { | 880 buildUnnamed2146() { |
881 var o = new core.List<api.CreativeServingRestrictionsContexts>(); | 881 var o = new core.List<api.CreativeServingRestrictionsContexts>(); |
882 o.add(buildCreativeServingRestrictionsContexts()); | 882 o.add(buildCreativeServingRestrictionsContexts()); |
883 o.add(buildCreativeServingRestrictionsContexts()); | 883 o.add(buildCreativeServingRestrictionsContexts()); |
884 return o; | 884 return o; |
885 } | 885 } |
886 | 886 |
887 checkUnnamed70(core.List<api.CreativeServingRestrictionsContexts> o) { | 887 checkUnnamed2146(core.List<api.CreativeServingRestrictionsContexts> o) { |
888 unittest.expect(o, unittest.hasLength(2)); | 888 unittest.expect(o, unittest.hasLength(2)); |
889 checkCreativeServingRestrictionsContexts(o[0]); | 889 checkCreativeServingRestrictionsContexts(o[0]); |
890 checkCreativeServingRestrictionsContexts(o[1]); | 890 checkCreativeServingRestrictionsContexts(o[1]); |
891 } | 891 } |
892 | 892 |
893 buildUnnamed71() { | 893 buildUnnamed2147() { |
894 var o = new core.List<core.String>(); | 894 var o = new core.List<core.String>(); |
895 o.add("foo"); | 895 o.add("foo"); |
896 o.add("foo"); | 896 o.add("foo"); |
897 return o; | 897 return o; |
898 } | 898 } |
899 | 899 |
900 checkUnnamed71(core.List<core.String> o) { | 900 checkUnnamed2147(core.List<core.String> o) { |
901 unittest.expect(o, unittest.hasLength(2)); | 901 unittest.expect(o, unittest.hasLength(2)); |
902 unittest.expect(o[0], unittest.equals('foo')); | 902 unittest.expect(o[0], unittest.equals('foo')); |
903 unittest.expect(o[1], unittest.equals('foo')); | 903 unittest.expect(o[1], unittest.equals('foo')); |
904 } | 904 } |
905 | 905 |
906 core.int buildCounterCreativeServingRestrictionsDisapprovalReasons = 0; | 906 core.int buildCounterCreativeServingRestrictionsDisapprovalReasons = 0; |
907 buildCreativeServingRestrictionsDisapprovalReasons() { | 907 buildCreativeServingRestrictionsDisapprovalReasons() { |
908 var o = new api.CreativeServingRestrictionsDisapprovalReasons(); | 908 var o = new api.CreativeServingRestrictionsDisapprovalReasons(); |
909 buildCounterCreativeServingRestrictionsDisapprovalReasons++; | 909 buildCounterCreativeServingRestrictionsDisapprovalReasons++; |
910 if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) { | 910 if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) { |
911 o.details = buildUnnamed71(); | 911 o.details = buildUnnamed2147(); |
912 o.reason = "foo"; | 912 o.reason = "foo"; |
913 } | 913 } |
914 buildCounterCreativeServingRestrictionsDisapprovalReasons--; | 914 buildCounterCreativeServingRestrictionsDisapprovalReasons--; |
915 return o; | 915 return o; |
916 } | 916 } |
917 | 917 |
918 checkCreativeServingRestrictionsDisapprovalReasons(api.CreativeServingRestrictio
nsDisapprovalReasons o) { | 918 checkCreativeServingRestrictionsDisapprovalReasons(api.CreativeServingRestrictio
nsDisapprovalReasons o) { |
919 buildCounterCreativeServingRestrictionsDisapprovalReasons++; | 919 buildCounterCreativeServingRestrictionsDisapprovalReasons++; |
920 if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) { | 920 if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) { |
921 checkUnnamed71(o.details); | 921 checkUnnamed2147(o.details); |
922 unittest.expect(o.reason, unittest.equals('foo')); | 922 unittest.expect(o.reason, unittest.equals('foo')); |
923 } | 923 } |
924 buildCounterCreativeServingRestrictionsDisapprovalReasons--; | 924 buildCounterCreativeServingRestrictionsDisapprovalReasons--; |
925 } | 925 } |
926 | 926 |
927 buildUnnamed72() { | 927 buildUnnamed2148() { |
928 var o = new core.List<api.CreativeServingRestrictionsDisapprovalReasons>(); | 928 var o = new core.List<api.CreativeServingRestrictionsDisapprovalReasons>(); |
929 o.add(buildCreativeServingRestrictionsDisapprovalReasons()); | 929 o.add(buildCreativeServingRestrictionsDisapprovalReasons()); |
930 o.add(buildCreativeServingRestrictionsDisapprovalReasons()); | 930 o.add(buildCreativeServingRestrictionsDisapprovalReasons()); |
931 return o; | 931 return o; |
932 } | 932 } |
933 | 933 |
934 checkUnnamed72(core.List<api.CreativeServingRestrictionsDisapprovalReasons> o) { | 934 checkUnnamed2148(core.List<api.CreativeServingRestrictionsDisapprovalReasons> o)
{ |
935 unittest.expect(o, unittest.hasLength(2)); | 935 unittest.expect(o, unittest.hasLength(2)); |
936 checkCreativeServingRestrictionsDisapprovalReasons(o[0]); | 936 checkCreativeServingRestrictionsDisapprovalReasons(o[0]); |
937 checkCreativeServingRestrictionsDisapprovalReasons(o[1]); | 937 checkCreativeServingRestrictionsDisapprovalReasons(o[1]); |
938 } | 938 } |
939 | 939 |
940 core.int buildCounterCreativeServingRestrictions = 0; | 940 core.int buildCounterCreativeServingRestrictions = 0; |
941 buildCreativeServingRestrictions() { | 941 buildCreativeServingRestrictions() { |
942 var o = new api.CreativeServingRestrictions(); | 942 var o = new api.CreativeServingRestrictions(); |
943 buildCounterCreativeServingRestrictions++; | 943 buildCounterCreativeServingRestrictions++; |
944 if (buildCounterCreativeServingRestrictions < 3) { | 944 if (buildCounterCreativeServingRestrictions < 3) { |
945 o.contexts = buildUnnamed70(); | 945 o.contexts = buildUnnamed2146(); |
946 o.disapprovalReasons = buildUnnamed72(); | 946 o.disapprovalReasons = buildUnnamed2148(); |
947 o.reason = "foo"; | 947 o.reason = "foo"; |
948 } | 948 } |
949 buildCounterCreativeServingRestrictions--; | 949 buildCounterCreativeServingRestrictions--; |
950 return o; | 950 return o; |
951 } | 951 } |
952 | 952 |
953 checkCreativeServingRestrictions(api.CreativeServingRestrictions o) { | 953 checkCreativeServingRestrictions(api.CreativeServingRestrictions o) { |
954 buildCounterCreativeServingRestrictions++; | 954 buildCounterCreativeServingRestrictions++; |
955 if (buildCounterCreativeServingRestrictions < 3) { | 955 if (buildCounterCreativeServingRestrictions < 3) { |
956 checkUnnamed70(o.contexts); | 956 checkUnnamed2146(o.contexts); |
957 checkUnnamed72(o.disapprovalReasons); | 957 checkUnnamed2148(o.disapprovalReasons); |
958 unittest.expect(o.reason, unittest.equals('foo')); | 958 unittest.expect(o.reason, unittest.equals('foo')); |
959 } | 959 } |
960 buildCounterCreativeServingRestrictions--; | 960 buildCounterCreativeServingRestrictions--; |
961 } | 961 } |
962 | 962 |
963 buildUnnamed73() { | 963 buildUnnamed2149() { |
964 var o = new core.List<api.CreativeServingRestrictions>(); | 964 var o = new core.List<api.CreativeServingRestrictions>(); |
965 o.add(buildCreativeServingRestrictions()); | 965 o.add(buildCreativeServingRestrictions()); |
966 o.add(buildCreativeServingRestrictions()); | 966 o.add(buildCreativeServingRestrictions()); |
967 return o; | 967 return o; |
968 } | 968 } |
969 | 969 |
970 checkUnnamed73(core.List<api.CreativeServingRestrictions> o) { | 970 checkUnnamed2149(core.List<api.CreativeServingRestrictions> o) { |
971 unittest.expect(o, unittest.hasLength(2)); | 971 unittest.expect(o, unittest.hasLength(2)); |
972 checkCreativeServingRestrictions(o[0]); | 972 checkCreativeServingRestrictions(o[0]); |
973 checkCreativeServingRestrictions(o[1]); | 973 checkCreativeServingRestrictions(o[1]); |
974 } | 974 } |
975 | 975 |
976 buildUnnamed74() { | 976 buildUnnamed2150() { |
977 var o = new core.List<core.int>(); | 977 var o = new core.List<core.int>(); |
978 o.add(42); | 978 o.add(42); |
979 o.add(42); | 979 o.add(42); |
980 return o; | 980 return o; |
981 } | 981 } |
982 | 982 |
983 checkUnnamed74(core.List<core.int> o) { | 983 checkUnnamed2150(core.List<core.int> o) { |
984 unittest.expect(o, unittest.hasLength(2)); | 984 unittest.expect(o, unittest.hasLength(2)); |
985 unittest.expect(o[0], unittest.equals(42)); | 985 unittest.expect(o[0], unittest.equals(42)); |
986 unittest.expect(o[1], unittest.equals(42)); | 986 unittest.expect(o[1], unittest.equals(42)); |
987 } | 987 } |
988 | 988 |
989 core.int buildCounterCreative = 0; | 989 core.int buildCounterCreative = 0; |
990 buildCreative() { | 990 buildCreative() { |
991 var o = new api.Creative(); | 991 var o = new api.Creative(); |
992 buildCounterCreative++; | 992 buildCounterCreative++; |
993 if (buildCounterCreative < 3) { | 993 if (buildCounterCreative < 3) { |
994 o.HTMLSnippet = "foo"; | 994 o.HTMLSnippet = "foo"; |
995 o.accountId = 42; | 995 o.accountId = 42; |
996 o.adChoicesDestinationUrl = "foo"; | 996 o.adChoicesDestinationUrl = "foo"; |
997 o.advertiserId = buildUnnamed56(); | 997 o.advertiserId = buildUnnamed2132(); |
998 o.advertiserName = "foo"; | 998 o.advertiserName = "foo"; |
999 o.agencyId = "foo"; | 999 o.agencyId = "foo"; |
1000 o.apiUploadTimestamp = core.DateTime.parse("2002-02-27T14:01:02"); | 1000 o.apiUploadTimestamp = core.DateTime.parse("2002-02-27T14:01:02"); |
1001 o.attribute = buildUnnamed57(); | 1001 o.attribute = buildUnnamed2133(); |
1002 o.buyerCreativeId = "foo"; | 1002 o.buyerCreativeId = "foo"; |
1003 o.clickThroughUrl = buildUnnamed58(); | 1003 o.clickThroughUrl = buildUnnamed2134(); |
1004 o.corrections = buildUnnamed60(); | 1004 o.corrections = buildUnnamed2136(); |
1005 o.dealsStatus = "foo"; | 1005 o.dealsStatus = "foo"; |
1006 o.filteringReasons = buildCreativeFilteringReasons(); | 1006 o.filteringReasons = buildCreativeFilteringReasons(); |
1007 o.height = 42; | 1007 o.height = 42; |
1008 o.impressionTrackingUrl = buildUnnamed62(); | 1008 o.impressionTrackingUrl = buildUnnamed2138(); |
1009 o.kind = "foo"; | 1009 o.kind = "foo"; |
1010 o.nativeAd = buildCreativeNativeAd(); | 1010 o.nativeAd = buildCreativeNativeAd(); |
1011 o.openAuctionStatus = "foo"; | 1011 o.openAuctionStatus = "foo"; |
1012 o.productCategories = buildUnnamed64(); | 1012 o.productCategories = buildUnnamed2140(); |
1013 o.restrictedCategories = buildUnnamed65(); | 1013 o.restrictedCategories = buildUnnamed2141(); |
1014 o.sensitiveCategories = buildUnnamed66(); | 1014 o.sensitiveCategories = buildUnnamed2142(); |
1015 o.servingRestrictions = buildUnnamed73(); | 1015 o.servingRestrictions = buildUnnamed2149(); |
1016 o.vendorType = buildUnnamed74(); | 1016 o.vendorType = buildUnnamed2150(); |
1017 o.version = 42; | 1017 o.version = 42; |
1018 o.videoURL = "foo"; | 1018 o.videoURL = "foo"; |
1019 o.width = 42; | 1019 o.width = 42; |
1020 } | 1020 } |
1021 buildCounterCreative--; | 1021 buildCounterCreative--; |
1022 return o; | 1022 return o; |
1023 } | 1023 } |
1024 | 1024 |
1025 checkCreative(api.Creative o) { | 1025 checkCreative(api.Creative o) { |
1026 buildCounterCreative++; | 1026 buildCounterCreative++; |
1027 if (buildCounterCreative < 3) { | 1027 if (buildCounterCreative < 3) { |
1028 unittest.expect(o.HTMLSnippet, unittest.equals('foo')); | 1028 unittest.expect(o.HTMLSnippet, unittest.equals('foo')); |
1029 unittest.expect(o.accountId, unittest.equals(42)); | 1029 unittest.expect(o.accountId, unittest.equals(42)); |
1030 unittest.expect(o.adChoicesDestinationUrl, unittest.equals('foo')); | 1030 unittest.expect(o.adChoicesDestinationUrl, unittest.equals('foo')); |
1031 checkUnnamed56(o.advertiserId); | 1031 checkUnnamed2132(o.advertiserId); |
1032 unittest.expect(o.advertiserName, unittest.equals('foo')); | 1032 unittest.expect(o.advertiserName, unittest.equals('foo')); |
1033 unittest.expect(o.agencyId, unittest.equals('foo')); | 1033 unittest.expect(o.agencyId, unittest.equals('foo')); |
1034 unittest.expect(o.apiUploadTimestamp, unittest.equals(core.DateTime.parse("2
002-02-27T14:01:02"))); | 1034 unittest.expect(o.apiUploadTimestamp, unittest.equals(core.DateTime.parse("2
002-02-27T14:01:02"))); |
1035 checkUnnamed57(o.attribute); | 1035 checkUnnamed2133(o.attribute); |
1036 unittest.expect(o.buyerCreativeId, unittest.equals('foo')); | 1036 unittest.expect(o.buyerCreativeId, unittest.equals('foo')); |
1037 checkUnnamed58(o.clickThroughUrl); | 1037 checkUnnamed2134(o.clickThroughUrl); |
1038 checkUnnamed60(o.corrections); | 1038 checkUnnamed2136(o.corrections); |
1039 unittest.expect(o.dealsStatus, unittest.equals('foo')); | 1039 unittest.expect(o.dealsStatus, unittest.equals('foo')); |
1040 checkCreativeFilteringReasons(o.filteringReasons); | 1040 checkCreativeFilteringReasons(o.filteringReasons); |
1041 unittest.expect(o.height, unittest.equals(42)); | 1041 unittest.expect(o.height, unittest.equals(42)); |
1042 checkUnnamed62(o.impressionTrackingUrl); | 1042 checkUnnamed2138(o.impressionTrackingUrl); |
1043 unittest.expect(o.kind, unittest.equals('foo')); | 1043 unittest.expect(o.kind, unittest.equals('foo')); |
1044 checkCreativeNativeAd(o.nativeAd); | 1044 checkCreativeNativeAd(o.nativeAd); |
1045 unittest.expect(o.openAuctionStatus, unittest.equals('foo')); | 1045 unittest.expect(o.openAuctionStatus, unittest.equals('foo')); |
1046 checkUnnamed64(o.productCategories); | 1046 checkUnnamed2140(o.productCategories); |
1047 checkUnnamed65(o.restrictedCategories); | 1047 checkUnnamed2141(o.restrictedCategories); |
1048 checkUnnamed66(o.sensitiveCategories); | 1048 checkUnnamed2142(o.sensitiveCategories); |
1049 checkUnnamed73(o.servingRestrictions); | 1049 checkUnnamed2149(o.servingRestrictions); |
1050 checkUnnamed74(o.vendorType); | 1050 checkUnnamed2150(o.vendorType); |
1051 unittest.expect(o.version, unittest.equals(42)); | 1051 unittest.expect(o.version, unittest.equals(42)); |
1052 unittest.expect(o.videoURL, unittest.equals('foo')); | 1052 unittest.expect(o.videoURL, unittest.equals('foo')); |
1053 unittest.expect(o.width, unittest.equals(42)); | 1053 unittest.expect(o.width, unittest.equals(42)); |
1054 } | 1054 } |
1055 buildCounterCreative--; | 1055 buildCounterCreative--; |
1056 } | 1056 } |
1057 | 1057 |
1058 buildUnnamed75() { | 1058 buildUnnamed2151() { |
1059 var o = new core.List<api.Creative>(); | 1059 var o = new core.List<api.Creative>(); |
1060 o.add(buildCreative()); | 1060 o.add(buildCreative()); |
1061 o.add(buildCreative()); | 1061 o.add(buildCreative()); |
1062 return o; | 1062 return o; |
1063 } | 1063 } |
1064 | 1064 |
1065 checkUnnamed75(core.List<api.Creative> o) { | 1065 checkUnnamed2151(core.List<api.Creative> o) { |
1066 unittest.expect(o, unittest.hasLength(2)); | 1066 unittest.expect(o, unittest.hasLength(2)); |
1067 checkCreative(o[0]); | 1067 checkCreative(o[0]); |
1068 checkCreative(o[1]); | 1068 checkCreative(o[1]); |
1069 } | 1069 } |
1070 | 1070 |
1071 core.int buildCounterCreativesList = 0; | 1071 core.int buildCounterCreativesList = 0; |
1072 buildCreativesList() { | 1072 buildCreativesList() { |
1073 var o = new api.CreativesList(); | 1073 var o = new api.CreativesList(); |
1074 buildCounterCreativesList++; | 1074 buildCounterCreativesList++; |
1075 if (buildCounterCreativesList < 3) { | 1075 if (buildCounterCreativesList < 3) { |
1076 o.items = buildUnnamed75(); | 1076 o.items = buildUnnamed2151(); |
1077 o.kind = "foo"; | 1077 o.kind = "foo"; |
1078 o.nextPageToken = "foo"; | 1078 o.nextPageToken = "foo"; |
1079 } | 1079 } |
1080 buildCounterCreativesList--; | 1080 buildCounterCreativesList--; |
1081 return o; | 1081 return o; |
1082 } | 1082 } |
1083 | 1083 |
1084 checkCreativesList(api.CreativesList o) { | 1084 checkCreativesList(api.CreativesList o) { |
1085 buildCounterCreativesList++; | 1085 buildCounterCreativesList++; |
1086 if (buildCounterCreativesList < 3) { | 1086 if (buildCounterCreativesList < 3) { |
1087 checkUnnamed75(o.items); | 1087 checkUnnamed2151(o.items); |
1088 unittest.expect(o.kind, unittest.equals('foo')); | 1088 unittest.expect(o.kind, unittest.equals('foo')); |
1089 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1089 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1090 } | 1090 } |
1091 buildCounterCreativesList--; | 1091 buildCounterCreativesList--; |
1092 } | 1092 } |
1093 | 1093 |
1094 core.int buildCounterDealServingMetadata = 0; | 1094 core.int buildCounterDealServingMetadata = 0; |
1095 buildDealServingMetadata() { | 1095 buildDealServingMetadata() { |
1096 var o = new api.DealServingMetadata(); | 1096 var o = new api.DealServingMetadata(); |
1097 buildCounterDealServingMetadata++; | 1097 buildCounterDealServingMetadata++; |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1159 checkPrice(o.estimatedGrossSpend); | 1159 checkPrice(o.estimatedGrossSpend); |
1160 unittest.expect(o.estimatedImpressionsPerDay, unittest.equals('foo')); | 1160 unittest.expect(o.estimatedImpressionsPerDay, unittest.equals('foo')); |
1161 checkDealTermsGuaranteedFixedPriceTerms(o.guaranteedFixedPriceTerms); | 1161 checkDealTermsGuaranteedFixedPriceTerms(o.guaranteedFixedPriceTerms); |
1162 checkDealTermsNonGuaranteedAuctionTerms(o.nonGuaranteedAuctionTerms); | 1162 checkDealTermsNonGuaranteedAuctionTerms(o.nonGuaranteedAuctionTerms); |
1163 checkDealTermsNonGuaranteedFixedPriceTerms(o.nonGuaranteedFixedPriceTerms); | 1163 checkDealTermsNonGuaranteedFixedPriceTerms(o.nonGuaranteedFixedPriceTerms); |
1164 unittest.expect(o.sellerTimeZone, unittest.equals('foo')); | 1164 unittest.expect(o.sellerTimeZone, unittest.equals('foo')); |
1165 } | 1165 } |
1166 buildCounterDealTerms--; | 1166 buildCounterDealTerms--; |
1167 } | 1167 } |
1168 | 1168 |
1169 buildUnnamed76() { | 1169 buildUnnamed2152() { |
1170 var o = new core.List<api.PricePerBuyer>(); | 1170 var o = new core.List<api.PricePerBuyer>(); |
1171 o.add(buildPricePerBuyer()); | 1171 o.add(buildPricePerBuyer()); |
1172 o.add(buildPricePerBuyer()); | 1172 o.add(buildPricePerBuyer()); |
1173 return o; | 1173 return o; |
1174 } | 1174 } |
1175 | 1175 |
1176 checkUnnamed76(core.List<api.PricePerBuyer> o) { | 1176 checkUnnamed2152(core.List<api.PricePerBuyer> o) { |
1177 unittest.expect(o, unittest.hasLength(2)); | 1177 unittest.expect(o, unittest.hasLength(2)); |
1178 checkPricePerBuyer(o[0]); | 1178 checkPricePerBuyer(o[0]); |
1179 checkPricePerBuyer(o[1]); | 1179 checkPricePerBuyer(o[1]); |
1180 } | 1180 } |
1181 | 1181 |
1182 core.int buildCounterDealTermsGuaranteedFixedPriceTerms = 0; | 1182 core.int buildCounterDealTermsGuaranteedFixedPriceTerms = 0; |
1183 buildDealTermsGuaranteedFixedPriceTerms() { | 1183 buildDealTermsGuaranteedFixedPriceTerms() { |
1184 var o = new api.DealTermsGuaranteedFixedPriceTerms(); | 1184 var o = new api.DealTermsGuaranteedFixedPriceTerms(); |
1185 buildCounterDealTermsGuaranteedFixedPriceTerms++; | 1185 buildCounterDealTermsGuaranteedFixedPriceTerms++; |
1186 if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) { | 1186 if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) { |
1187 o.billingInfo = buildDealTermsGuaranteedFixedPriceTermsBillingInfo(); | 1187 o.billingInfo = buildDealTermsGuaranteedFixedPriceTermsBillingInfo(); |
1188 o.fixedPrices = buildUnnamed76(); | 1188 o.fixedPrices = buildUnnamed2152(); |
1189 o.guaranteedImpressions = "foo"; | 1189 o.guaranteedImpressions = "foo"; |
1190 o.guaranteedLooks = "foo"; | 1190 o.guaranteedLooks = "foo"; |
1191 } | 1191 } |
1192 buildCounterDealTermsGuaranteedFixedPriceTerms--; | 1192 buildCounterDealTermsGuaranteedFixedPriceTerms--; |
1193 return o; | 1193 return o; |
1194 } | 1194 } |
1195 | 1195 |
1196 checkDealTermsGuaranteedFixedPriceTerms(api.DealTermsGuaranteedFixedPriceTerms o
) { | 1196 checkDealTermsGuaranteedFixedPriceTerms(api.DealTermsGuaranteedFixedPriceTerms o
) { |
1197 buildCounterDealTermsGuaranteedFixedPriceTerms++; | 1197 buildCounterDealTermsGuaranteedFixedPriceTerms++; |
1198 if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) { | 1198 if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) { |
1199 checkDealTermsGuaranteedFixedPriceTermsBillingInfo(o.billingInfo); | 1199 checkDealTermsGuaranteedFixedPriceTermsBillingInfo(o.billingInfo); |
1200 checkUnnamed76(o.fixedPrices); | 1200 checkUnnamed2152(o.fixedPrices); |
1201 unittest.expect(o.guaranteedImpressions, unittest.equals('foo')); | 1201 unittest.expect(o.guaranteedImpressions, unittest.equals('foo')); |
1202 unittest.expect(o.guaranteedLooks, unittest.equals('foo')); | 1202 unittest.expect(o.guaranteedLooks, unittest.equals('foo')); |
1203 } | 1203 } |
1204 buildCounterDealTermsGuaranteedFixedPriceTerms--; | 1204 buildCounterDealTermsGuaranteedFixedPriceTerms--; |
1205 } | 1205 } |
1206 | 1206 |
1207 core.int buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo = 0; | 1207 core.int buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo = 0; |
1208 buildDealTermsGuaranteedFixedPriceTermsBillingInfo() { | 1208 buildDealTermsGuaranteedFixedPriceTermsBillingInfo() { |
1209 var o = new api.DealTermsGuaranteedFixedPriceTermsBillingInfo(); | 1209 var o = new api.DealTermsGuaranteedFixedPriceTermsBillingInfo(); |
1210 buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo++; | 1210 buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo++; |
1211 if (buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo < 3) { | 1211 if (buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo < 3) { |
1212 o.currencyConversionTimeMs = "foo"; | 1212 o.currencyConversionTimeMs = "foo"; |
1213 o.originalContractedQuantity = "foo"; | 1213 o.originalContractedQuantity = "foo"; |
1214 o.price = buildPrice(); | 1214 o.price = buildPrice(); |
1215 } | 1215 } |
1216 buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo--; | 1216 buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo--; |
1217 return o; | 1217 return o; |
1218 } | 1218 } |
1219 | 1219 |
1220 checkDealTermsGuaranteedFixedPriceTermsBillingInfo(api.DealTermsGuaranteedFixedP
riceTermsBillingInfo o) { | 1220 checkDealTermsGuaranteedFixedPriceTermsBillingInfo(api.DealTermsGuaranteedFixedP
riceTermsBillingInfo o) { |
1221 buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo++; | 1221 buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo++; |
1222 if (buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo < 3) { | 1222 if (buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo < 3) { |
1223 unittest.expect(o.currencyConversionTimeMs, unittest.equals('foo')); | 1223 unittest.expect(o.currencyConversionTimeMs, unittest.equals('foo')); |
1224 unittest.expect(o.originalContractedQuantity, unittest.equals('foo')); | 1224 unittest.expect(o.originalContractedQuantity, unittest.equals('foo')); |
1225 checkPrice(o.price); | 1225 checkPrice(o.price); |
1226 } | 1226 } |
1227 buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo--; | 1227 buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo--; |
1228 } | 1228 } |
1229 | 1229 |
1230 buildUnnamed77() { | 1230 buildUnnamed2153() { |
1231 var o = new core.List<api.PricePerBuyer>(); | 1231 var o = new core.List<api.PricePerBuyer>(); |
1232 o.add(buildPricePerBuyer()); | 1232 o.add(buildPricePerBuyer()); |
1233 o.add(buildPricePerBuyer()); | 1233 o.add(buildPricePerBuyer()); |
1234 return o; | 1234 return o; |
1235 } | 1235 } |
1236 | 1236 |
1237 checkUnnamed77(core.List<api.PricePerBuyer> o) { | 1237 checkUnnamed2153(core.List<api.PricePerBuyer> o) { |
1238 unittest.expect(o, unittest.hasLength(2)); | 1238 unittest.expect(o, unittest.hasLength(2)); |
1239 checkPricePerBuyer(o[0]); | 1239 checkPricePerBuyer(o[0]); |
1240 checkPricePerBuyer(o[1]); | 1240 checkPricePerBuyer(o[1]); |
1241 } | 1241 } |
1242 | 1242 |
1243 core.int buildCounterDealTermsNonGuaranteedAuctionTerms = 0; | 1243 core.int buildCounterDealTermsNonGuaranteedAuctionTerms = 0; |
1244 buildDealTermsNonGuaranteedAuctionTerms() { | 1244 buildDealTermsNonGuaranteedAuctionTerms() { |
1245 var o = new api.DealTermsNonGuaranteedAuctionTerms(); | 1245 var o = new api.DealTermsNonGuaranteedAuctionTerms(); |
1246 buildCounterDealTermsNonGuaranteedAuctionTerms++; | 1246 buildCounterDealTermsNonGuaranteedAuctionTerms++; |
1247 if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) { | 1247 if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) { |
1248 o.autoOptimizePrivateAuction = true; | 1248 o.autoOptimizePrivateAuction = true; |
1249 o.reservePricePerBuyers = buildUnnamed77(); | 1249 o.reservePricePerBuyers = buildUnnamed2153(); |
1250 } | 1250 } |
1251 buildCounterDealTermsNonGuaranteedAuctionTerms--; | 1251 buildCounterDealTermsNonGuaranteedAuctionTerms--; |
1252 return o; | 1252 return o; |
1253 } | 1253 } |
1254 | 1254 |
1255 checkDealTermsNonGuaranteedAuctionTerms(api.DealTermsNonGuaranteedAuctionTerms o
) { | 1255 checkDealTermsNonGuaranteedAuctionTerms(api.DealTermsNonGuaranteedAuctionTerms o
) { |
1256 buildCounterDealTermsNonGuaranteedAuctionTerms++; | 1256 buildCounterDealTermsNonGuaranteedAuctionTerms++; |
1257 if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) { | 1257 if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) { |
1258 unittest.expect(o.autoOptimizePrivateAuction, unittest.isTrue); | 1258 unittest.expect(o.autoOptimizePrivateAuction, unittest.isTrue); |
1259 checkUnnamed77(o.reservePricePerBuyers); | 1259 checkUnnamed2153(o.reservePricePerBuyers); |
1260 } | 1260 } |
1261 buildCounterDealTermsNonGuaranteedAuctionTerms--; | 1261 buildCounterDealTermsNonGuaranteedAuctionTerms--; |
1262 } | 1262 } |
1263 | 1263 |
1264 buildUnnamed78() { | 1264 buildUnnamed2154() { |
1265 var o = new core.List<api.PricePerBuyer>(); | 1265 var o = new core.List<api.PricePerBuyer>(); |
1266 o.add(buildPricePerBuyer()); | 1266 o.add(buildPricePerBuyer()); |
1267 o.add(buildPricePerBuyer()); | 1267 o.add(buildPricePerBuyer()); |
1268 return o; | 1268 return o; |
1269 } | 1269 } |
1270 | 1270 |
1271 checkUnnamed78(core.List<api.PricePerBuyer> o) { | 1271 checkUnnamed2154(core.List<api.PricePerBuyer> o) { |
1272 unittest.expect(o, unittest.hasLength(2)); | 1272 unittest.expect(o, unittest.hasLength(2)); |
1273 checkPricePerBuyer(o[0]); | 1273 checkPricePerBuyer(o[0]); |
1274 checkPricePerBuyer(o[1]); | 1274 checkPricePerBuyer(o[1]); |
1275 } | 1275 } |
1276 | 1276 |
1277 core.int buildCounterDealTermsNonGuaranteedFixedPriceTerms = 0; | 1277 core.int buildCounterDealTermsNonGuaranteedFixedPriceTerms = 0; |
1278 buildDealTermsNonGuaranteedFixedPriceTerms() { | 1278 buildDealTermsNonGuaranteedFixedPriceTerms() { |
1279 var o = new api.DealTermsNonGuaranteedFixedPriceTerms(); | 1279 var o = new api.DealTermsNonGuaranteedFixedPriceTerms(); |
1280 buildCounterDealTermsNonGuaranteedFixedPriceTerms++; | 1280 buildCounterDealTermsNonGuaranteedFixedPriceTerms++; |
1281 if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) { | 1281 if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) { |
1282 o.fixedPrices = buildUnnamed78(); | 1282 o.fixedPrices = buildUnnamed2154(); |
1283 } | 1283 } |
1284 buildCounterDealTermsNonGuaranteedFixedPriceTerms--; | 1284 buildCounterDealTermsNonGuaranteedFixedPriceTerms--; |
1285 return o; | 1285 return o; |
1286 } | 1286 } |
1287 | 1287 |
1288 checkDealTermsNonGuaranteedFixedPriceTerms(api.DealTermsNonGuaranteedFixedPriceT
erms o) { | 1288 checkDealTermsNonGuaranteedFixedPriceTerms(api.DealTermsNonGuaranteedFixedPriceT
erms o) { |
1289 buildCounterDealTermsNonGuaranteedFixedPriceTerms++; | 1289 buildCounterDealTermsNonGuaranteedFixedPriceTerms++; |
1290 if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) { | 1290 if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) { |
1291 checkUnnamed78(o.fixedPrices); | 1291 checkUnnamed2154(o.fixedPrices); |
1292 } | 1292 } |
1293 buildCounterDealTermsNonGuaranteedFixedPriceTerms--; | 1293 buildCounterDealTermsNonGuaranteedFixedPriceTerms--; |
1294 } | 1294 } |
1295 | 1295 |
1296 buildUnnamed79() { | 1296 buildUnnamed2155() { |
1297 var o = new core.List<core.String>(); | 1297 var o = new core.List<core.String>(); |
1298 o.add("foo"); | 1298 o.add("foo"); |
1299 o.add("foo"); | 1299 o.add("foo"); |
1300 return o; | 1300 return o; |
1301 } | 1301 } |
1302 | 1302 |
1303 checkUnnamed79(core.List<core.String> o) { | 1303 checkUnnamed2155(core.List<core.String> o) { |
1304 unittest.expect(o, unittest.hasLength(2)); | 1304 unittest.expect(o, unittest.hasLength(2)); |
1305 unittest.expect(o[0], unittest.equals('foo')); | 1305 unittest.expect(o[0], unittest.equals('foo')); |
1306 unittest.expect(o[1], unittest.equals('foo')); | 1306 unittest.expect(o[1], unittest.equals('foo')); |
1307 } | 1307 } |
1308 | 1308 |
1309 core.int buildCounterDeleteOrderDealsRequest = 0; | 1309 core.int buildCounterDeleteOrderDealsRequest = 0; |
1310 buildDeleteOrderDealsRequest() { | 1310 buildDeleteOrderDealsRequest() { |
1311 var o = new api.DeleteOrderDealsRequest(); | 1311 var o = new api.DeleteOrderDealsRequest(); |
1312 buildCounterDeleteOrderDealsRequest++; | 1312 buildCounterDeleteOrderDealsRequest++; |
1313 if (buildCounterDeleteOrderDealsRequest < 3) { | 1313 if (buildCounterDeleteOrderDealsRequest < 3) { |
1314 o.dealIds = buildUnnamed79(); | 1314 o.dealIds = buildUnnamed2155(); |
1315 o.proposalRevisionNumber = "foo"; | 1315 o.proposalRevisionNumber = "foo"; |
1316 o.updateAction = "foo"; | 1316 o.updateAction = "foo"; |
1317 } | 1317 } |
1318 buildCounterDeleteOrderDealsRequest--; | 1318 buildCounterDeleteOrderDealsRequest--; |
1319 return o; | 1319 return o; |
1320 } | 1320 } |
1321 | 1321 |
1322 checkDeleteOrderDealsRequest(api.DeleteOrderDealsRequest o) { | 1322 checkDeleteOrderDealsRequest(api.DeleteOrderDealsRequest o) { |
1323 buildCounterDeleteOrderDealsRequest++; | 1323 buildCounterDeleteOrderDealsRequest++; |
1324 if (buildCounterDeleteOrderDealsRequest < 3) { | 1324 if (buildCounterDeleteOrderDealsRequest < 3) { |
1325 checkUnnamed79(o.dealIds); | 1325 checkUnnamed2155(o.dealIds); |
1326 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); | 1326 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); |
1327 unittest.expect(o.updateAction, unittest.equals('foo')); | 1327 unittest.expect(o.updateAction, unittest.equals('foo')); |
1328 } | 1328 } |
1329 buildCounterDeleteOrderDealsRequest--; | 1329 buildCounterDeleteOrderDealsRequest--; |
1330 } | 1330 } |
1331 | 1331 |
1332 buildUnnamed80() { | 1332 buildUnnamed2156() { |
1333 var o = new core.List<api.MarketplaceDeal>(); | 1333 var o = new core.List<api.MarketplaceDeal>(); |
1334 o.add(buildMarketplaceDeal()); | 1334 o.add(buildMarketplaceDeal()); |
1335 o.add(buildMarketplaceDeal()); | 1335 o.add(buildMarketplaceDeal()); |
1336 return o; | 1336 return o; |
1337 } | 1337 } |
1338 | 1338 |
1339 checkUnnamed80(core.List<api.MarketplaceDeal> o) { | 1339 checkUnnamed2156(core.List<api.MarketplaceDeal> o) { |
1340 unittest.expect(o, unittest.hasLength(2)); | 1340 unittest.expect(o, unittest.hasLength(2)); |
1341 checkMarketplaceDeal(o[0]); | 1341 checkMarketplaceDeal(o[0]); |
1342 checkMarketplaceDeal(o[1]); | 1342 checkMarketplaceDeal(o[1]); |
1343 } | 1343 } |
1344 | 1344 |
1345 core.int buildCounterDeleteOrderDealsResponse = 0; | 1345 core.int buildCounterDeleteOrderDealsResponse = 0; |
1346 buildDeleteOrderDealsResponse() { | 1346 buildDeleteOrderDealsResponse() { |
1347 var o = new api.DeleteOrderDealsResponse(); | 1347 var o = new api.DeleteOrderDealsResponse(); |
1348 buildCounterDeleteOrderDealsResponse++; | 1348 buildCounterDeleteOrderDealsResponse++; |
1349 if (buildCounterDeleteOrderDealsResponse < 3) { | 1349 if (buildCounterDeleteOrderDealsResponse < 3) { |
1350 o.deals = buildUnnamed80(); | 1350 o.deals = buildUnnamed2156(); |
1351 o.proposalRevisionNumber = "foo"; | 1351 o.proposalRevisionNumber = "foo"; |
1352 } | 1352 } |
1353 buildCounterDeleteOrderDealsResponse--; | 1353 buildCounterDeleteOrderDealsResponse--; |
1354 return o; | 1354 return o; |
1355 } | 1355 } |
1356 | 1356 |
1357 checkDeleteOrderDealsResponse(api.DeleteOrderDealsResponse o) { | 1357 checkDeleteOrderDealsResponse(api.DeleteOrderDealsResponse o) { |
1358 buildCounterDeleteOrderDealsResponse++; | 1358 buildCounterDeleteOrderDealsResponse++; |
1359 if (buildCounterDeleteOrderDealsResponse < 3) { | 1359 if (buildCounterDeleteOrderDealsResponse < 3) { |
1360 checkUnnamed80(o.deals); | 1360 checkUnnamed2156(o.deals); |
1361 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); | 1361 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); |
1362 } | 1362 } |
1363 buildCounterDeleteOrderDealsResponse--; | 1363 buildCounterDeleteOrderDealsResponse--; |
1364 } | 1364 } |
1365 | 1365 |
1366 buildUnnamed81() { | 1366 buildUnnamed2157() { |
1367 var o = new core.List<api.DeliveryControlFrequencyCap>(); | 1367 var o = new core.List<api.DeliveryControlFrequencyCap>(); |
1368 o.add(buildDeliveryControlFrequencyCap()); | 1368 o.add(buildDeliveryControlFrequencyCap()); |
1369 o.add(buildDeliveryControlFrequencyCap()); | 1369 o.add(buildDeliveryControlFrequencyCap()); |
1370 return o; | 1370 return o; |
1371 } | 1371 } |
1372 | 1372 |
1373 checkUnnamed81(core.List<api.DeliveryControlFrequencyCap> o) { | 1373 checkUnnamed2157(core.List<api.DeliveryControlFrequencyCap> o) { |
1374 unittest.expect(o, unittest.hasLength(2)); | 1374 unittest.expect(o, unittest.hasLength(2)); |
1375 checkDeliveryControlFrequencyCap(o[0]); | 1375 checkDeliveryControlFrequencyCap(o[0]); |
1376 checkDeliveryControlFrequencyCap(o[1]); | 1376 checkDeliveryControlFrequencyCap(o[1]); |
1377 } | 1377 } |
1378 | 1378 |
1379 core.int buildCounterDeliveryControl = 0; | 1379 core.int buildCounterDeliveryControl = 0; |
1380 buildDeliveryControl() { | 1380 buildDeliveryControl() { |
1381 var o = new api.DeliveryControl(); | 1381 var o = new api.DeliveryControl(); |
1382 buildCounterDeliveryControl++; | 1382 buildCounterDeliveryControl++; |
1383 if (buildCounterDeliveryControl < 3) { | 1383 if (buildCounterDeliveryControl < 3) { |
1384 o.creativeBlockingLevel = "foo"; | 1384 o.creativeBlockingLevel = "foo"; |
1385 o.deliveryRateType = "foo"; | 1385 o.deliveryRateType = "foo"; |
1386 o.frequencyCaps = buildUnnamed81(); | 1386 o.frequencyCaps = buildUnnamed2157(); |
1387 } | 1387 } |
1388 buildCounterDeliveryControl--; | 1388 buildCounterDeliveryControl--; |
1389 return o; | 1389 return o; |
1390 } | 1390 } |
1391 | 1391 |
1392 checkDeliveryControl(api.DeliveryControl o) { | 1392 checkDeliveryControl(api.DeliveryControl o) { |
1393 buildCounterDeliveryControl++; | 1393 buildCounterDeliveryControl++; |
1394 if (buildCounterDeliveryControl < 3) { | 1394 if (buildCounterDeliveryControl < 3) { |
1395 unittest.expect(o.creativeBlockingLevel, unittest.equals('foo')); | 1395 unittest.expect(o.creativeBlockingLevel, unittest.equals('foo')); |
1396 unittest.expect(o.deliveryRateType, unittest.equals('foo')); | 1396 unittest.expect(o.deliveryRateType, unittest.equals('foo')); |
1397 checkUnnamed81(o.frequencyCaps); | 1397 checkUnnamed2157(o.frequencyCaps); |
1398 } | 1398 } |
1399 buildCounterDeliveryControl--; | 1399 buildCounterDeliveryControl--; |
1400 } | 1400 } |
1401 | 1401 |
1402 core.int buildCounterDeliveryControlFrequencyCap = 0; | 1402 core.int buildCounterDeliveryControlFrequencyCap = 0; |
1403 buildDeliveryControlFrequencyCap() { | 1403 buildDeliveryControlFrequencyCap() { |
1404 var o = new api.DeliveryControlFrequencyCap(); | 1404 var o = new api.DeliveryControlFrequencyCap(); |
1405 buildCounterDeliveryControlFrequencyCap++; | 1405 buildCounterDeliveryControlFrequencyCap++; |
1406 if (buildCounterDeliveryControlFrequencyCap < 3) { | 1406 if (buildCounterDeliveryControlFrequencyCap < 3) { |
1407 o.maxImpressions = 42; | 1407 o.maxImpressions = 42; |
1408 o.numTimeUnits = 42; | 1408 o.numTimeUnits = 42; |
1409 o.timeUnitType = "foo"; | 1409 o.timeUnitType = "foo"; |
1410 } | 1410 } |
1411 buildCounterDeliveryControlFrequencyCap--; | 1411 buildCounterDeliveryControlFrequencyCap--; |
1412 return o; | 1412 return o; |
1413 } | 1413 } |
1414 | 1414 |
1415 checkDeliveryControlFrequencyCap(api.DeliveryControlFrequencyCap o) { | 1415 checkDeliveryControlFrequencyCap(api.DeliveryControlFrequencyCap o) { |
1416 buildCounterDeliveryControlFrequencyCap++; | 1416 buildCounterDeliveryControlFrequencyCap++; |
1417 if (buildCounterDeliveryControlFrequencyCap < 3) { | 1417 if (buildCounterDeliveryControlFrequencyCap < 3) { |
1418 unittest.expect(o.maxImpressions, unittest.equals(42)); | 1418 unittest.expect(o.maxImpressions, unittest.equals(42)); |
1419 unittest.expect(o.numTimeUnits, unittest.equals(42)); | 1419 unittest.expect(o.numTimeUnits, unittest.equals(42)); |
1420 unittest.expect(o.timeUnitType, unittest.equals('foo')); | 1420 unittest.expect(o.timeUnitType, unittest.equals('foo')); |
1421 } | 1421 } |
1422 buildCounterDeliveryControlFrequencyCap--; | 1422 buildCounterDeliveryControlFrequencyCap--; |
1423 } | 1423 } |
1424 | 1424 |
1425 buildUnnamed82() { | 1425 buildUnnamed2158() { |
1426 var o = new core.List<api.DimensionDimensionValue>(); | 1426 var o = new core.List<api.DimensionDimensionValue>(); |
1427 o.add(buildDimensionDimensionValue()); | 1427 o.add(buildDimensionDimensionValue()); |
1428 o.add(buildDimensionDimensionValue()); | 1428 o.add(buildDimensionDimensionValue()); |
1429 return o; | 1429 return o; |
1430 } | 1430 } |
1431 | 1431 |
1432 checkUnnamed82(core.List<api.DimensionDimensionValue> o) { | 1432 checkUnnamed2158(core.List<api.DimensionDimensionValue> o) { |
1433 unittest.expect(o, unittest.hasLength(2)); | 1433 unittest.expect(o, unittest.hasLength(2)); |
1434 checkDimensionDimensionValue(o[0]); | 1434 checkDimensionDimensionValue(o[0]); |
1435 checkDimensionDimensionValue(o[1]); | 1435 checkDimensionDimensionValue(o[1]); |
1436 } | 1436 } |
1437 | 1437 |
1438 core.int buildCounterDimension = 0; | 1438 core.int buildCounterDimension = 0; |
1439 buildDimension() { | 1439 buildDimension() { |
1440 var o = new api.Dimension(); | 1440 var o = new api.Dimension(); |
1441 buildCounterDimension++; | 1441 buildCounterDimension++; |
1442 if (buildCounterDimension < 3) { | 1442 if (buildCounterDimension < 3) { |
1443 o.dimensionType = "foo"; | 1443 o.dimensionType = "foo"; |
1444 o.dimensionValues = buildUnnamed82(); | 1444 o.dimensionValues = buildUnnamed2158(); |
1445 } | 1445 } |
1446 buildCounterDimension--; | 1446 buildCounterDimension--; |
1447 return o; | 1447 return o; |
1448 } | 1448 } |
1449 | 1449 |
1450 checkDimension(api.Dimension o) { | 1450 checkDimension(api.Dimension o) { |
1451 buildCounterDimension++; | 1451 buildCounterDimension++; |
1452 if (buildCounterDimension < 3) { | 1452 if (buildCounterDimension < 3) { |
1453 unittest.expect(o.dimensionType, unittest.equals('foo')); | 1453 unittest.expect(o.dimensionType, unittest.equals('foo')); |
1454 checkUnnamed82(o.dimensionValues); | 1454 checkUnnamed2158(o.dimensionValues); |
1455 } | 1455 } |
1456 buildCounterDimension--; | 1456 buildCounterDimension--; |
1457 } | 1457 } |
1458 | 1458 |
1459 core.int buildCounterDimensionDimensionValue = 0; | 1459 core.int buildCounterDimensionDimensionValue = 0; |
1460 buildDimensionDimensionValue() { | 1460 buildDimensionDimensionValue() { |
1461 var o = new api.DimensionDimensionValue(); | 1461 var o = new api.DimensionDimensionValue(); |
1462 buildCounterDimensionDimensionValue++; | 1462 buildCounterDimensionDimensionValue++; |
1463 if (buildCounterDimensionDimensionValue < 3) { | 1463 if (buildCounterDimensionDimensionValue < 3) { |
1464 o.id = 42; | 1464 o.id = 42; |
1465 o.name = "foo"; | 1465 o.name = "foo"; |
1466 } | 1466 } |
1467 buildCounterDimensionDimensionValue--; | 1467 buildCounterDimensionDimensionValue--; |
1468 return o; | 1468 return o; |
1469 } | 1469 } |
1470 | 1470 |
1471 checkDimensionDimensionValue(api.DimensionDimensionValue o) { | 1471 checkDimensionDimensionValue(api.DimensionDimensionValue o) { |
1472 buildCounterDimensionDimensionValue++; | 1472 buildCounterDimensionDimensionValue++; |
1473 if (buildCounterDimensionDimensionValue < 3) { | 1473 if (buildCounterDimensionDimensionValue < 3) { |
1474 unittest.expect(o.id, unittest.equals(42)); | 1474 unittest.expect(o.id, unittest.equals(42)); |
1475 unittest.expect(o.name, unittest.equals('foo')); | 1475 unittest.expect(o.name, unittest.equals('foo')); |
1476 } | 1476 } |
1477 buildCounterDimensionDimensionValue--; | 1477 buildCounterDimensionDimensionValue--; |
1478 } | 1478 } |
1479 | 1479 |
1480 buildUnnamed83() { | 1480 buildUnnamed2159() { |
1481 var o = new core.List<api.MarketplaceDeal>(); | 1481 var o = new core.List<api.MarketplaceDeal>(); |
1482 o.add(buildMarketplaceDeal()); | 1482 o.add(buildMarketplaceDeal()); |
1483 o.add(buildMarketplaceDeal()); | 1483 o.add(buildMarketplaceDeal()); |
1484 return o; | 1484 return o; |
1485 } | 1485 } |
1486 | 1486 |
1487 checkUnnamed83(core.List<api.MarketplaceDeal> o) { | 1487 checkUnnamed2159(core.List<api.MarketplaceDeal> o) { |
1488 unittest.expect(o, unittest.hasLength(2)); | 1488 unittest.expect(o, unittest.hasLength(2)); |
1489 checkMarketplaceDeal(o[0]); | 1489 checkMarketplaceDeal(o[0]); |
1490 checkMarketplaceDeal(o[1]); | 1490 checkMarketplaceDeal(o[1]); |
1491 } | 1491 } |
1492 | 1492 |
1493 core.int buildCounterEditAllOrderDealsRequest = 0; | 1493 core.int buildCounterEditAllOrderDealsRequest = 0; |
1494 buildEditAllOrderDealsRequest() { | 1494 buildEditAllOrderDealsRequest() { |
1495 var o = new api.EditAllOrderDealsRequest(); | 1495 var o = new api.EditAllOrderDealsRequest(); |
1496 buildCounterEditAllOrderDealsRequest++; | 1496 buildCounterEditAllOrderDealsRequest++; |
1497 if (buildCounterEditAllOrderDealsRequest < 3) { | 1497 if (buildCounterEditAllOrderDealsRequest < 3) { |
1498 o.deals = buildUnnamed83(); | 1498 o.deals = buildUnnamed2159(); |
1499 o.proposal = buildProposal(); | 1499 o.proposal = buildProposal(); |
1500 o.proposalRevisionNumber = "foo"; | 1500 o.proposalRevisionNumber = "foo"; |
1501 o.updateAction = "foo"; | 1501 o.updateAction = "foo"; |
1502 } | 1502 } |
1503 buildCounterEditAllOrderDealsRequest--; | 1503 buildCounterEditAllOrderDealsRequest--; |
1504 return o; | 1504 return o; |
1505 } | 1505 } |
1506 | 1506 |
1507 checkEditAllOrderDealsRequest(api.EditAllOrderDealsRequest o) { | 1507 checkEditAllOrderDealsRequest(api.EditAllOrderDealsRequest o) { |
1508 buildCounterEditAllOrderDealsRequest++; | 1508 buildCounterEditAllOrderDealsRequest++; |
1509 if (buildCounterEditAllOrderDealsRequest < 3) { | 1509 if (buildCounterEditAllOrderDealsRequest < 3) { |
1510 checkUnnamed83(o.deals); | 1510 checkUnnamed2159(o.deals); |
1511 checkProposal(o.proposal); | 1511 checkProposal(o.proposal); |
1512 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); | 1512 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); |
1513 unittest.expect(o.updateAction, unittest.equals('foo')); | 1513 unittest.expect(o.updateAction, unittest.equals('foo')); |
1514 } | 1514 } |
1515 buildCounterEditAllOrderDealsRequest--; | 1515 buildCounterEditAllOrderDealsRequest--; |
1516 } | 1516 } |
1517 | 1517 |
1518 buildUnnamed84() { | 1518 buildUnnamed2160() { |
1519 var o = new core.List<api.MarketplaceDeal>(); | 1519 var o = new core.List<api.MarketplaceDeal>(); |
1520 o.add(buildMarketplaceDeal()); | 1520 o.add(buildMarketplaceDeal()); |
1521 o.add(buildMarketplaceDeal()); | 1521 o.add(buildMarketplaceDeal()); |
1522 return o; | 1522 return o; |
1523 } | 1523 } |
1524 | 1524 |
1525 checkUnnamed84(core.List<api.MarketplaceDeal> o) { | 1525 checkUnnamed2160(core.List<api.MarketplaceDeal> o) { |
1526 unittest.expect(o, unittest.hasLength(2)); | 1526 unittest.expect(o, unittest.hasLength(2)); |
1527 checkMarketplaceDeal(o[0]); | 1527 checkMarketplaceDeal(o[0]); |
1528 checkMarketplaceDeal(o[1]); | 1528 checkMarketplaceDeal(o[1]); |
1529 } | 1529 } |
1530 | 1530 |
1531 core.int buildCounterEditAllOrderDealsResponse = 0; | 1531 core.int buildCounterEditAllOrderDealsResponse = 0; |
1532 buildEditAllOrderDealsResponse() { | 1532 buildEditAllOrderDealsResponse() { |
1533 var o = new api.EditAllOrderDealsResponse(); | 1533 var o = new api.EditAllOrderDealsResponse(); |
1534 buildCounterEditAllOrderDealsResponse++; | 1534 buildCounterEditAllOrderDealsResponse++; |
1535 if (buildCounterEditAllOrderDealsResponse < 3) { | 1535 if (buildCounterEditAllOrderDealsResponse < 3) { |
1536 o.deals = buildUnnamed84(); | 1536 o.deals = buildUnnamed2160(); |
1537 o.orderRevisionNumber = "foo"; | 1537 o.orderRevisionNumber = "foo"; |
1538 } | 1538 } |
1539 buildCounterEditAllOrderDealsResponse--; | 1539 buildCounterEditAllOrderDealsResponse--; |
1540 return o; | 1540 return o; |
1541 } | 1541 } |
1542 | 1542 |
1543 checkEditAllOrderDealsResponse(api.EditAllOrderDealsResponse o) { | 1543 checkEditAllOrderDealsResponse(api.EditAllOrderDealsResponse o) { |
1544 buildCounterEditAllOrderDealsResponse++; | 1544 buildCounterEditAllOrderDealsResponse++; |
1545 if (buildCounterEditAllOrderDealsResponse < 3) { | 1545 if (buildCounterEditAllOrderDealsResponse < 3) { |
1546 checkUnnamed84(o.deals); | 1546 checkUnnamed2160(o.deals); |
1547 unittest.expect(o.orderRevisionNumber, unittest.equals('foo')); | 1547 unittest.expect(o.orderRevisionNumber, unittest.equals('foo')); |
1548 } | 1548 } |
1549 buildCounterEditAllOrderDealsResponse--; | 1549 buildCounterEditAllOrderDealsResponse--; |
1550 } | 1550 } |
1551 | 1551 |
1552 buildUnnamed85() { | 1552 buildUnnamed2161() { |
1553 var o = new core.List<api.Product>(); | 1553 var o = new core.List<api.Product>(); |
1554 o.add(buildProduct()); | 1554 o.add(buildProduct()); |
1555 o.add(buildProduct()); | 1555 o.add(buildProduct()); |
1556 return o; | 1556 return o; |
1557 } | 1557 } |
1558 | 1558 |
1559 checkUnnamed85(core.List<api.Product> o) { | 1559 checkUnnamed2161(core.List<api.Product> o) { |
1560 unittest.expect(o, unittest.hasLength(2)); | 1560 unittest.expect(o, unittest.hasLength(2)); |
1561 checkProduct(o[0]); | 1561 checkProduct(o[0]); |
1562 checkProduct(o[1]); | 1562 checkProduct(o[1]); |
1563 } | 1563 } |
1564 | 1564 |
1565 core.int buildCounterGetOffersResponse = 0; | 1565 core.int buildCounterGetOffersResponse = 0; |
1566 buildGetOffersResponse() { | 1566 buildGetOffersResponse() { |
1567 var o = new api.GetOffersResponse(); | 1567 var o = new api.GetOffersResponse(); |
1568 buildCounterGetOffersResponse++; | 1568 buildCounterGetOffersResponse++; |
1569 if (buildCounterGetOffersResponse < 3) { | 1569 if (buildCounterGetOffersResponse < 3) { |
1570 o.products = buildUnnamed85(); | 1570 o.products = buildUnnamed2161(); |
1571 } | 1571 } |
1572 buildCounterGetOffersResponse--; | 1572 buildCounterGetOffersResponse--; |
1573 return o; | 1573 return o; |
1574 } | 1574 } |
1575 | 1575 |
1576 checkGetOffersResponse(api.GetOffersResponse o) { | 1576 checkGetOffersResponse(api.GetOffersResponse o) { |
1577 buildCounterGetOffersResponse++; | 1577 buildCounterGetOffersResponse++; |
1578 if (buildCounterGetOffersResponse < 3) { | 1578 if (buildCounterGetOffersResponse < 3) { |
1579 checkUnnamed85(o.products); | 1579 checkUnnamed2161(o.products); |
1580 } | 1580 } |
1581 buildCounterGetOffersResponse--; | 1581 buildCounterGetOffersResponse--; |
1582 } | 1582 } |
1583 | 1583 |
1584 buildUnnamed86() { | 1584 buildUnnamed2162() { |
1585 var o = new core.List<api.MarketplaceDeal>(); | 1585 var o = new core.List<api.MarketplaceDeal>(); |
1586 o.add(buildMarketplaceDeal()); | 1586 o.add(buildMarketplaceDeal()); |
1587 o.add(buildMarketplaceDeal()); | 1587 o.add(buildMarketplaceDeal()); |
1588 return o; | 1588 return o; |
1589 } | 1589 } |
1590 | 1590 |
1591 checkUnnamed86(core.List<api.MarketplaceDeal> o) { | 1591 checkUnnamed2162(core.List<api.MarketplaceDeal> o) { |
1592 unittest.expect(o, unittest.hasLength(2)); | 1592 unittest.expect(o, unittest.hasLength(2)); |
1593 checkMarketplaceDeal(o[0]); | 1593 checkMarketplaceDeal(o[0]); |
1594 checkMarketplaceDeal(o[1]); | 1594 checkMarketplaceDeal(o[1]); |
1595 } | 1595 } |
1596 | 1596 |
1597 core.int buildCounterGetOrderDealsResponse = 0; | 1597 core.int buildCounterGetOrderDealsResponse = 0; |
1598 buildGetOrderDealsResponse() { | 1598 buildGetOrderDealsResponse() { |
1599 var o = new api.GetOrderDealsResponse(); | 1599 var o = new api.GetOrderDealsResponse(); |
1600 buildCounterGetOrderDealsResponse++; | 1600 buildCounterGetOrderDealsResponse++; |
1601 if (buildCounterGetOrderDealsResponse < 3) { | 1601 if (buildCounterGetOrderDealsResponse < 3) { |
1602 o.deals = buildUnnamed86(); | 1602 o.deals = buildUnnamed2162(); |
1603 } | 1603 } |
1604 buildCounterGetOrderDealsResponse--; | 1604 buildCounterGetOrderDealsResponse--; |
1605 return o; | 1605 return o; |
1606 } | 1606 } |
1607 | 1607 |
1608 checkGetOrderDealsResponse(api.GetOrderDealsResponse o) { | 1608 checkGetOrderDealsResponse(api.GetOrderDealsResponse o) { |
1609 buildCounterGetOrderDealsResponse++; | 1609 buildCounterGetOrderDealsResponse++; |
1610 if (buildCounterGetOrderDealsResponse < 3) { | 1610 if (buildCounterGetOrderDealsResponse < 3) { |
1611 checkUnnamed86(o.deals); | 1611 checkUnnamed2162(o.deals); |
1612 } | 1612 } |
1613 buildCounterGetOrderDealsResponse--; | 1613 buildCounterGetOrderDealsResponse--; |
1614 } | 1614 } |
1615 | 1615 |
1616 buildUnnamed87() { | 1616 buildUnnamed2163() { |
1617 var o = new core.List<api.MarketplaceNote>(); | 1617 var o = new core.List<api.MarketplaceNote>(); |
1618 o.add(buildMarketplaceNote()); | 1618 o.add(buildMarketplaceNote()); |
1619 o.add(buildMarketplaceNote()); | 1619 o.add(buildMarketplaceNote()); |
1620 return o; | 1620 return o; |
1621 } | 1621 } |
1622 | 1622 |
1623 checkUnnamed87(core.List<api.MarketplaceNote> o) { | 1623 checkUnnamed2163(core.List<api.MarketplaceNote> o) { |
1624 unittest.expect(o, unittest.hasLength(2)); | 1624 unittest.expect(o, unittest.hasLength(2)); |
1625 checkMarketplaceNote(o[0]); | 1625 checkMarketplaceNote(o[0]); |
1626 checkMarketplaceNote(o[1]); | 1626 checkMarketplaceNote(o[1]); |
1627 } | 1627 } |
1628 | 1628 |
1629 core.int buildCounterGetOrderNotesResponse = 0; | 1629 core.int buildCounterGetOrderNotesResponse = 0; |
1630 buildGetOrderNotesResponse() { | 1630 buildGetOrderNotesResponse() { |
1631 var o = new api.GetOrderNotesResponse(); | 1631 var o = new api.GetOrderNotesResponse(); |
1632 buildCounterGetOrderNotesResponse++; | 1632 buildCounterGetOrderNotesResponse++; |
1633 if (buildCounterGetOrderNotesResponse < 3) { | 1633 if (buildCounterGetOrderNotesResponse < 3) { |
1634 o.notes = buildUnnamed87(); | 1634 o.notes = buildUnnamed2163(); |
1635 } | 1635 } |
1636 buildCounterGetOrderNotesResponse--; | 1636 buildCounterGetOrderNotesResponse--; |
1637 return o; | 1637 return o; |
1638 } | 1638 } |
1639 | 1639 |
1640 checkGetOrderNotesResponse(api.GetOrderNotesResponse o) { | 1640 checkGetOrderNotesResponse(api.GetOrderNotesResponse o) { |
1641 buildCounterGetOrderNotesResponse++; | 1641 buildCounterGetOrderNotesResponse++; |
1642 if (buildCounterGetOrderNotesResponse < 3) { | 1642 if (buildCounterGetOrderNotesResponse < 3) { |
1643 checkUnnamed87(o.notes); | 1643 checkUnnamed2163(o.notes); |
1644 } | 1644 } |
1645 buildCounterGetOrderNotesResponse--; | 1645 buildCounterGetOrderNotesResponse--; |
1646 } | 1646 } |
1647 | 1647 |
1648 buildUnnamed88() { | 1648 buildUnnamed2164() { |
1649 var o = new core.List<api.Proposal>(); | 1649 var o = new core.List<api.Proposal>(); |
1650 o.add(buildProposal()); | 1650 o.add(buildProposal()); |
1651 o.add(buildProposal()); | 1651 o.add(buildProposal()); |
1652 return o; | 1652 return o; |
1653 } | 1653 } |
1654 | 1654 |
1655 checkUnnamed88(core.List<api.Proposal> o) { | 1655 checkUnnamed2164(core.List<api.Proposal> o) { |
1656 unittest.expect(o, unittest.hasLength(2)); | 1656 unittest.expect(o, unittest.hasLength(2)); |
1657 checkProposal(o[0]); | 1657 checkProposal(o[0]); |
1658 checkProposal(o[1]); | 1658 checkProposal(o[1]); |
1659 } | 1659 } |
1660 | 1660 |
1661 core.int buildCounterGetOrdersResponse = 0; | 1661 core.int buildCounterGetOrdersResponse = 0; |
1662 buildGetOrdersResponse() { | 1662 buildGetOrdersResponse() { |
1663 var o = new api.GetOrdersResponse(); | 1663 var o = new api.GetOrdersResponse(); |
1664 buildCounterGetOrdersResponse++; | 1664 buildCounterGetOrdersResponse++; |
1665 if (buildCounterGetOrdersResponse < 3) { | 1665 if (buildCounterGetOrdersResponse < 3) { |
1666 o.proposals = buildUnnamed88(); | 1666 o.proposals = buildUnnamed2164(); |
1667 } | 1667 } |
1668 buildCounterGetOrdersResponse--; | 1668 buildCounterGetOrdersResponse--; |
1669 return o; | 1669 return o; |
1670 } | 1670 } |
1671 | 1671 |
1672 checkGetOrdersResponse(api.GetOrdersResponse o) { | 1672 checkGetOrdersResponse(api.GetOrdersResponse o) { |
1673 buildCounterGetOrdersResponse++; | 1673 buildCounterGetOrdersResponse++; |
1674 if (buildCounterGetOrdersResponse < 3) { | 1674 if (buildCounterGetOrdersResponse < 3) { |
1675 checkUnnamed88(o.proposals); | 1675 checkUnnamed2164(o.proposals); |
1676 } | 1676 } |
1677 buildCounterGetOrdersResponse--; | 1677 buildCounterGetOrdersResponse--; |
1678 } | 1678 } |
1679 | 1679 |
1680 buildUnnamed89() { | 1680 buildUnnamed2165() { |
1681 var o = new core.List<api.PublisherProfileApiProto>(); | 1681 var o = new core.List<api.PublisherProfileApiProto>(); |
1682 o.add(buildPublisherProfileApiProto()); | 1682 o.add(buildPublisherProfileApiProto()); |
1683 o.add(buildPublisherProfileApiProto()); | 1683 o.add(buildPublisherProfileApiProto()); |
1684 return o; | 1684 return o; |
1685 } | 1685 } |
1686 | 1686 |
1687 checkUnnamed89(core.List<api.PublisherProfileApiProto> o) { | 1687 checkUnnamed2165(core.List<api.PublisherProfileApiProto> o) { |
1688 unittest.expect(o, unittest.hasLength(2)); | 1688 unittest.expect(o, unittest.hasLength(2)); |
1689 checkPublisherProfileApiProto(o[0]); | 1689 checkPublisherProfileApiProto(o[0]); |
1690 checkPublisherProfileApiProto(o[1]); | 1690 checkPublisherProfileApiProto(o[1]); |
1691 } | 1691 } |
1692 | 1692 |
1693 core.int buildCounterGetPublisherProfilesByAccountIdResponse = 0; | 1693 core.int buildCounterGetPublisherProfilesByAccountIdResponse = 0; |
1694 buildGetPublisherProfilesByAccountIdResponse() { | 1694 buildGetPublisherProfilesByAccountIdResponse() { |
1695 var o = new api.GetPublisherProfilesByAccountIdResponse(); | 1695 var o = new api.GetPublisherProfilesByAccountIdResponse(); |
1696 buildCounterGetPublisherProfilesByAccountIdResponse++; | 1696 buildCounterGetPublisherProfilesByAccountIdResponse++; |
1697 if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) { | 1697 if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) { |
1698 o.profiles = buildUnnamed89(); | 1698 o.profiles = buildUnnamed2165(); |
1699 } | 1699 } |
1700 buildCounterGetPublisherProfilesByAccountIdResponse--; | 1700 buildCounterGetPublisherProfilesByAccountIdResponse--; |
1701 return o; | 1701 return o; |
1702 } | 1702 } |
1703 | 1703 |
1704 checkGetPublisherProfilesByAccountIdResponse(api.GetPublisherProfilesByAccountId
Response o) { | 1704 checkGetPublisherProfilesByAccountIdResponse(api.GetPublisherProfilesByAccountId
Response o) { |
1705 buildCounterGetPublisherProfilesByAccountIdResponse++; | 1705 buildCounterGetPublisherProfilesByAccountIdResponse++; |
1706 if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) { | 1706 if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) { |
1707 checkUnnamed89(o.profiles); | 1707 checkUnnamed2165(o.profiles); |
1708 } | 1708 } |
1709 buildCounterGetPublisherProfilesByAccountIdResponse--; | 1709 buildCounterGetPublisherProfilesByAccountIdResponse--; |
1710 } | 1710 } |
1711 | 1711 |
1712 buildUnnamed90() { | 1712 buildUnnamed2166() { |
1713 var o = new core.List<api.ContactInformation>(); | 1713 var o = new core.List<api.ContactInformation>(); |
1714 o.add(buildContactInformation()); | 1714 o.add(buildContactInformation()); |
1715 o.add(buildContactInformation()); | 1715 o.add(buildContactInformation()); |
1716 return o; | 1716 return o; |
1717 } | 1717 } |
1718 | 1718 |
1719 checkUnnamed90(core.List<api.ContactInformation> o) { | 1719 checkUnnamed2166(core.List<api.ContactInformation> o) { |
1720 unittest.expect(o, unittest.hasLength(2)); | 1720 unittest.expect(o, unittest.hasLength(2)); |
1721 checkContactInformation(o[0]); | 1721 checkContactInformation(o[0]); |
1722 checkContactInformation(o[1]); | 1722 checkContactInformation(o[1]); |
1723 } | 1723 } |
1724 | 1724 |
1725 buildUnnamed91() { | 1725 buildUnnamed2167() { |
1726 var o = new core.List<api.SharedTargeting>(); | 1726 var o = new core.List<api.SharedTargeting>(); |
1727 o.add(buildSharedTargeting()); | 1727 o.add(buildSharedTargeting()); |
1728 o.add(buildSharedTargeting()); | 1728 o.add(buildSharedTargeting()); |
1729 return o; | 1729 return o; |
1730 } | 1730 } |
1731 | 1731 |
1732 checkUnnamed91(core.List<api.SharedTargeting> o) { | 1732 checkUnnamed2167(core.List<api.SharedTargeting> o) { |
1733 unittest.expect(o, unittest.hasLength(2)); | 1733 unittest.expect(o, unittest.hasLength(2)); |
1734 checkSharedTargeting(o[0]); | 1734 checkSharedTargeting(o[0]); |
1735 checkSharedTargeting(o[1]); | 1735 checkSharedTargeting(o[1]); |
1736 } | 1736 } |
1737 | 1737 |
1738 core.int buildCounterMarketplaceDeal = 0; | 1738 core.int buildCounterMarketplaceDeal = 0; |
1739 buildMarketplaceDeal() { | 1739 buildMarketplaceDeal() { |
1740 var o = new api.MarketplaceDeal(); | 1740 var o = new api.MarketplaceDeal(); |
1741 buildCounterMarketplaceDeal++; | 1741 buildCounterMarketplaceDeal++; |
1742 if (buildCounterMarketplaceDeal < 3) { | 1742 if (buildCounterMarketplaceDeal < 3) { |
1743 o.buyerPrivateData = buildPrivateData(); | 1743 o.buyerPrivateData = buildPrivateData(); |
1744 o.creationTimeMs = "foo"; | 1744 o.creationTimeMs = "foo"; |
1745 o.creativePreApprovalPolicy = "foo"; | 1745 o.creativePreApprovalPolicy = "foo"; |
1746 o.creativeSafeFrameCompatibility = "foo"; | 1746 o.creativeSafeFrameCompatibility = "foo"; |
1747 o.dealId = "foo"; | 1747 o.dealId = "foo"; |
1748 o.dealServingMetadata = buildDealServingMetadata(); | 1748 o.dealServingMetadata = buildDealServingMetadata(); |
1749 o.deliveryControl = buildDeliveryControl(); | 1749 o.deliveryControl = buildDeliveryControl(); |
1750 o.externalDealId = "foo"; | 1750 o.externalDealId = "foo"; |
1751 o.flightEndTimeMs = "foo"; | 1751 o.flightEndTimeMs = "foo"; |
1752 o.flightStartTimeMs = "foo"; | 1752 o.flightStartTimeMs = "foo"; |
1753 o.inventoryDescription = "foo"; | 1753 o.inventoryDescription = "foo"; |
1754 o.kind = "foo"; | 1754 o.kind = "foo"; |
1755 o.lastUpdateTimeMs = "foo"; | 1755 o.lastUpdateTimeMs = "foo"; |
1756 o.name = "foo"; | 1756 o.name = "foo"; |
1757 o.productId = "foo"; | 1757 o.productId = "foo"; |
1758 o.productRevisionNumber = "foo"; | 1758 o.productRevisionNumber = "foo"; |
1759 o.programmaticCreativeSource = "foo"; | 1759 o.programmaticCreativeSource = "foo"; |
1760 o.proposalId = "foo"; | 1760 o.proposalId = "foo"; |
1761 o.sellerContacts = buildUnnamed90(); | 1761 o.sellerContacts = buildUnnamed2166(); |
1762 o.sharedTargetings = buildUnnamed91(); | 1762 o.sharedTargetings = buildUnnamed2167(); |
1763 o.syndicationProduct = "foo"; | 1763 o.syndicationProduct = "foo"; |
1764 o.terms = buildDealTerms(); | 1764 o.terms = buildDealTerms(); |
1765 o.webPropertyCode = "foo"; | 1765 o.webPropertyCode = "foo"; |
1766 } | 1766 } |
1767 buildCounterMarketplaceDeal--; | 1767 buildCounterMarketplaceDeal--; |
1768 return o; | 1768 return o; |
1769 } | 1769 } |
1770 | 1770 |
1771 checkMarketplaceDeal(api.MarketplaceDeal o) { | 1771 checkMarketplaceDeal(api.MarketplaceDeal o) { |
1772 buildCounterMarketplaceDeal++; | 1772 buildCounterMarketplaceDeal++; |
1773 if (buildCounterMarketplaceDeal < 3) { | 1773 if (buildCounterMarketplaceDeal < 3) { |
1774 checkPrivateData(o.buyerPrivateData); | 1774 checkPrivateData(o.buyerPrivateData); |
1775 unittest.expect(o.creationTimeMs, unittest.equals('foo')); | 1775 unittest.expect(o.creationTimeMs, unittest.equals('foo')); |
1776 unittest.expect(o.creativePreApprovalPolicy, unittest.equals('foo')); | 1776 unittest.expect(o.creativePreApprovalPolicy, unittest.equals('foo')); |
1777 unittest.expect(o.creativeSafeFrameCompatibility, unittest.equals('foo')); | 1777 unittest.expect(o.creativeSafeFrameCompatibility, unittest.equals('foo')); |
1778 unittest.expect(o.dealId, unittest.equals('foo')); | 1778 unittest.expect(o.dealId, unittest.equals('foo')); |
1779 checkDealServingMetadata(o.dealServingMetadata); | 1779 checkDealServingMetadata(o.dealServingMetadata); |
1780 checkDeliveryControl(o.deliveryControl); | 1780 checkDeliveryControl(o.deliveryControl); |
1781 unittest.expect(o.externalDealId, unittest.equals('foo')); | 1781 unittest.expect(o.externalDealId, unittest.equals('foo')); |
1782 unittest.expect(o.flightEndTimeMs, unittest.equals('foo')); | 1782 unittest.expect(o.flightEndTimeMs, unittest.equals('foo')); |
1783 unittest.expect(o.flightStartTimeMs, unittest.equals('foo')); | 1783 unittest.expect(o.flightStartTimeMs, unittest.equals('foo')); |
1784 unittest.expect(o.inventoryDescription, unittest.equals('foo')); | 1784 unittest.expect(o.inventoryDescription, unittest.equals('foo')); |
1785 unittest.expect(o.kind, unittest.equals('foo')); | 1785 unittest.expect(o.kind, unittest.equals('foo')); |
1786 unittest.expect(o.lastUpdateTimeMs, unittest.equals('foo')); | 1786 unittest.expect(o.lastUpdateTimeMs, unittest.equals('foo')); |
1787 unittest.expect(o.name, unittest.equals('foo')); | 1787 unittest.expect(o.name, unittest.equals('foo')); |
1788 unittest.expect(o.productId, unittest.equals('foo')); | 1788 unittest.expect(o.productId, unittest.equals('foo')); |
1789 unittest.expect(o.productRevisionNumber, unittest.equals('foo')); | 1789 unittest.expect(o.productRevisionNumber, unittest.equals('foo')); |
1790 unittest.expect(o.programmaticCreativeSource, unittest.equals('foo')); | 1790 unittest.expect(o.programmaticCreativeSource, unittest.equals('foo')); |
1791 unittest.expect(o.proposalId, unittest.equals('foo')); | 1791 unittest.expect(o.proposalId, unittest.equals('foo')); |
1792 checkUnnamed90(o.sellerContacts); | 1792 checkUnnamed2166(o.sellerContacts); |
1793 checkUnnamed91(o.sharedTargetings); | 1793 checkUnnamed2167(o.sharedTargetings); |
1794 unittest.expect(o.syndicationProduct, unittest.equals('foo')); | 1794 unittest.expect(o.syndicationProduct, unittest.equals('foo')); |
1795 checkDealTerms(o.terms); | 1795 checkDealTerms(o.terms); |
1796 unittest.expect(o.webPropertyCode, unittest.equals('foo')); | 1796 unittest.expect(o.webPropertyCode, unittest.equals('foo')); |
1797 } | 1797 } |
1798 buildCounterMarketplaceDeal--; | 1798 buildCounterMarketplaceDeal--; |
1799 } | 1799 } |
1800 | 1800 |
1801 core.int buildCounterMarketplaceDealParty = 0; | 1801 core.int buildCounterMarketplaceDealParty = 0; |
1802 buildMarketplaceDealParty() { | 1802 buildMarketplaceDealParty() { |
1803 var o = new api.MarketplaceDealParty(); | 1803 var o = new api.MarketplaceDealParty(); |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1870 unittest.expect(o.kind, unittest.equals('foo')); | 1870 unittest.expect(o.kind, unittest.equals('foo')); |
1871 unittest.expect(o.note, unittest.equals('foo')); | 1871 unittest.expect(o.note, unittest.equals('foo')); |
1872 unittest.expect(o.noteId, unittest.equals('foo')); | 1872 unittest.expect(o.noteId, unittest.equals('foo')); |
1873 unittest.expect(o.proposalId, unittest.equals('foo')); | 1873 unittest.expect(o.proposalId, unittest.equals('foo')); |
1874 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); | 1874 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); |
1875 unittest.expect(o.timestampMs, unittest.equals('foo')); | 1875 unittest.expect(o.timestampMs, unittest.equals('foo')); |
1876 } | 1876 } |
1877 buildCounterMarketplaceNote--; | 1877 buildCounterMarketplaceNote--; |
1878 } | 1878 } |
1879 | 1879 |
1880 buildUnnamed92() { | 1880 buildUnnamed2168() { |
1881 var o = new core.List<core.Object>(); | 1881 var o = new core.List<core.Object>(); |
1882 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 1882 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
1883 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 1883 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
1884 return o; | 1884 return o; |
1885 } | 1885 } |
1886 | 1886 |
1887 checkUnnamed92(core.List<core.Object> o) { | 1887 checkUnnamed2168(core.List<core.Object> o) { |
1888 unittest.expect(o, unittest.hasLength(2)); | 1888 unittest.expect(o, unittest.hasLength(2)); |
1889 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')); | 1889 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')); |
1890 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')); | 1890 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')); |
1891 } | 1891 } |
1892 | 1892 |
1893 buildUnnamed93() { | 1893 buildUnnamed2169() { |
1894 var o = new core.List<core.Object>(); | 1894 var o = new core.List<core.Object>(); |
1895 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 1895 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
1896 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 1896 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
1897 return o; | 1897 return o; |
1898 } | 1898 } |
1899 | 1899 |
1900 checkUnnamed93(core.List<core.Object> o) { | 1900 checkUnnamed2169(core.List<core.Object> o) { |
1901 unittest.expect(o, unittest.hasLength(2)); | 1901 unittest.expect(o, unittest.hasLength(2)); |
1902 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')); | 1902 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')); |
1903 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')); | 1903 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')); |
1904 } | 1904 } |
1905 | 1905 |
1906 buildUnnamed94() { | 1906 buildUnnamed2170() { |
1907 var o = new core.List<core.Object>(); | 1907 var o = new core.List<core.Object>(); |
1908 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 1908 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
1909 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 1909 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
1910 return o; | 1910 return o; |
1911 } | 1911 } |
1912 | 1912 |
1913 checkUnnamed94(core.List<core.Object> o) { | 1913 checkUnnamed2170(core.List<core.Object> o) { |
1914 unittest.expect(o, unittest.hasLength(2)); | 1914 unittest.expect(o, unittest.hasLength(2)); |
1915 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')); | 1915 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')); |
1916 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')); | 1916 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')); |
1917 } | 1917 } |
1918 | 1918 |
1919 buildUnnamed95() { | 1919 buildUnnamed2171() { |
1920 var o = new core.List<core.Object>(); | 1920 var o = new core.List<core.Object>(); |
1921 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 1921 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
1922 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 1922 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
1923 return o; | 1923 return o; |
1924 } | 1924 } |
1925 | 1925 |
1926 checkUnnamed95(core.List<core.Object> o) { | 1926 checkUnnamed2171(core.List<core.Object> o) { |
1927 unittest.expect(o, unittest.hasLength(2)); | 1927 unittest.expect(o, unittest.hasLength(2)); |
1928 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')); | 1928 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')); |
1929 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')); | 1929 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')); |
1930 } | 1930 } |
1931 | 1931 |
1932 core.int buildCounterPerformanceReport = 0; | 1932 core.int buildCounterPerformanceReport = 0; |
1933 buildPerformanceReport() { | 1933 buildPerformanceReport() { |
1934 var o = new api.PerformanceReport(); | 1934 var o = new api.PerformanceReport(); |
1935 buildCounterPerformanceReport++; | 1935 buildCounterPerformanceReport++; |
1936 if (buildCounterPerformanceReport < 3) { | 1936 if (buildCounterPerformanceReport < 3) { |
1937 o.bidRate = 42.0; | 1937 o.bidRate = 42.0; |
1938 o.bidRequestRate = 42.0; | 1938 o.bidRequestRate = 42.0; |
1939 o.calloutStatusRate = buildUnnamed92(); | 1939 o.calloutStatusRate = buildUnnamed2168(); |
1940 o.cookieMatcherStatusRate = buildUnnamed93(); | 1940 o.cookieMatcherStatusRate = buildUnnamed2169(); |
1941 o.creativeStatusRate = buildUnnamed94(); | 1941 o.creativeStatusRate = buildUnnamed2170(); |
1942 o.filteredBidRate = 42.0; | 1942 o.filteredBidRate = 42.0; |
1943 o.hostedMatchStatusRate = buildUnnamed95(); | 1943 o.hostedMatchStatusRate = buildUnnamed2171(); |
1944 o.inventoryMatchRate = 42.0; | 1944 o.inventoryMatchRate = 42.0; |
1945 o.kind = "foo"; | 1945 o.kind = "foo"; |
1946 o.latency50thPercentile = 42.0; | 1946 o.latency50thPercentile = 42.0; |
1947 o.latency85thPercentile = 42.0; | 1947 o.latency85thPercentile = 42.0; |
1948 o.latency95thPercentile = 42.0; | 1948 o.latency95thPercentile = 42.0; |
1949 o.noQuotaInRegion = 42.0; | 1949 o.noQuotaInRegion = 42.0; |
1950 o.outOfQuota = 42.0; | 1950 o.outOfQuota = 42.0; |
1951 o.pixelMatchRequests = 42.0; | 1951 o.pixelMatchRequests = 42.0; |
1952 o.pixelMatchResponses = 42.0; | 1952 o.pixelMatchResponses = 42.0; |
1953 o.quotaConfiguredLimit = 42.0; | 1953 o.quotaConfiguredLimit = 42.0; |
1954 o.quotaThrottledLimit = 42.0; | 1954 o.quotaThrottledLimit = 42.0; |
1955 o.region = "foo"; | 1955 o.region = "foo"; |
1956 o.successfulRequestRate = 42.0; | 1956 o.successfulRequestRate = 42.0; |
1957 o.timestamp = "foo"; | 1957 o.timestamp = "foo"; |
1958 o.unsuccessfulRequestRate = 42.0; | 1958 o.unsuccessfulRequestRate = 42.0; |
1959 } | 1959 } |
1960 buildCounterPerformanceReport--; | 1960 buildCounterPerformanceReport--; |
1961 return o; | 1961 return o; |
1962 } | 1962 } |
1963 | 1963 |
1964 checkPerformanceReport(api.PerformanceReport o) { | 1964 checkPerformanceReport(api.PerformanceReport o) { |
1965 buildCounterPerformanceReport++; | 1965 buildCounterPerformanceReport++; |
1966 if (buildCounterPerformanceReport < 3) { | 1966 if (buildCounterPerformanceReport < 3) { |
1967 unittest.expect(o.bidRate, unittest.equals(42.0)); | 1967 unittest.expect(o.bidRate, unittest.equals(42.0)); |
1968 unittest.expect(o.bidRequestRate, unittest.equals(42.0)); | 1968 unittest.expect(o.bidRequestRate, unittest.equals(42.0)); |
1969 checkUnnamed92(o.calloutStatusRate); | 1969 checkUnnamed2168(o.calloutStatusRate); |
1970 checkUnnamed93(o.cookieMatcherStatusRate); | 1970 checkUnnamed2169(o.cookieMatcherStatusRate); |
1971 checkUnnamed94(o.creativeStatusRate); | 1971 checkUnnamed2170(o.creativeStatusRate); |
1972 unittest.expect(o.filteredBidRate, unittest.equals(42.0)); | 1972 unittest.expect(o.filteredBidRate, unittest.equals(42.0)); |
1973 checkUnnamed95(o.hostedMatchStatusRate); | 1973 checkUnnamed2171(o.hostedMatchStatusRate); |
1974 unittest.expect(o.inventoryMatchRate, unittest.equals(42.0)); | 1974 unittest.expect(o.inventoryMatchRate, unittest.equals(42.0)); |
1975 unittest.expect(o.kind, unittest.equals('foo')); | 1975 unittest.expect(o.kind, unittest.equals('foo')); |
1976 unittest.expect(o.latency50thPercentile, unittest.equals(42.0)); | 1976 unittest.expect(o.latency50thPercentile, unittest.equals(42.0)); |
1977 unittest.expect(o.latency85thPercentile, unittest.equals(42.0)); | 1977 unittest.expect(o.latency85thPercentile, unittest.equals(42.0)); |
1978 unittest.expect(o.latency95thPercentile, unittest.equals(42.0)); | 1978 unittest.expect(o.latency95thPercentile, unittest.equals(42.0)); |
1979 unittest.expect(o.noQuotaInRegion, unittest.equals(42.0)); | 1979 unittest.expect(o.noQuotaInRegion, unittest.equals(42.0)); |
1980 unittest.expect(o.outOfQuota, unittest.equals(42.0)); | 1980 unittest.expect(o.outOfQuota, unittest.equals(42.0)); |
1981 unittest.expect(o.pixelMatchRequests, unittest.equals(42.0)); | 1981 unittest.expect(o.pixelMatchRequests, unittest.equals(42.0)); |
1982 unittest.expect(o.pixelMatchResponses, unittest.equals(42.0)); | 1982 unittest.expect(o.pixelMatchResponses, unittest.equals(42.0)); |
1983 unittest.expect(o.quotaConfiguredLimit, unittest.equals(42.0)); | 1983 unittest.expect(o.quotaConfiguredLimit, unittest.equals(42.0)); |
1984 unittest.expect(o.quotaThrottledLimit, unittest.equals(42.0)); | 1984 unittest.expect(o.quotaThrottledLimit, unittest.equals(42.0)); |
1985 unittest.expect(o.region, unittest.equals('foo')); | 1985 unittest.expect(o.region, unittest.equals('foo')); |
1986 unittest.expect(o.successfulRequestRate, unittest.equals(42.0)); | 1986 unittest.expect(o.successfulRequestRate, unittest.equals(42.0)); |
1987 unittest.expect(o.timestamp, unittest.equals('foo')); | 1987 unittest.expect(o.timestamp, unittest.equals('foo')); |
1988 unittest.expect(o.unsuccessfulRequestRate, unittest.equals(42.0)); | 1988 unittest.expect(o.unsuccessfulRequestRate, unittest.equals(42.0)); |
1989 } | 1989 } |
1990 buildCounterPerformanceReport--; | 1990 buildCounterPerformanceReport--; |
1991 } | 1991 } |
1992 | 1992 |
1993 buildUnnamed96() { | 1993 buildUnnamed2172() { |
1994 var o = new core.List<api.PerformanceReport>(); | 1994 var o = new core.List<api.PerformanceReport>(); |
1995 o.add(buildPerformanceReport()); | 1995 o.add(buildPerformanceReport()); |
1996 o.add(buildPerformanceReport()); | 1996 o.add(buildPerformanceReport()); |
1997 return o; | 1997 return o; |
1998 } | 1998 } |
1999 | 1999 |
2000 checkUnnamed96(core.List<api.PerformanceReport> o) { | 2000 checkUnnamed2172(core.List<api.PerformanceReport> o) { |
2001 unittest.expect(o, unittest.hasLength(2)); | 2001 unittest.expect(o, unittest.hasLength(2)); |
2002 checkPerformanceReport(o[0]); | 2002 checkPerformanceReport(o[0]); |
2003 checkPerformanceReport(o[1]); | 2003 checkPerformanceReport(o[1]); |
2004 } | 2004 } |
2005 | 2005 |
2006 core.int buildCounterPerformanceReportList = 0; | 2006 core.int buildCounterPerformanceReportList = 0; |
2007 buildPerformanceReportList() { | 2007 buildPerformanceReportList() { |
2008 var o = new api.PerformanceReportList(); | 2008 var o = new api.PerformanceReportList(); |
2009 buildCounterPerformanceReportList++; | 2009 buildCounterPerformanceReportList++; |
2010 if (buildCounterPerformanceReportList < 3) { | 2010 if (buildCounterPerformanceReportList < 3) { |
2011 o.kind = "foo"; | 2011 o.kind = "foo"; |
2012 o.performanceReport = buildUnnamed96(); | 2012 o.performanceReport = buildUnnamed2172(); |
2013 } | 2013 } |
2014 buildCounterPerformanceReportList--; | 2014 buildCounterPerformanceReportList--; |
2015 return o; | 2015 return o; |
2016 } | 2016 } |
2017 | 2017 |
2018 checkPerformanceReportList(api.PerformanceReportList o) { | 2018 checkPerformanceReportList(api.PerformanceReportList o) { |
2019 buildCounterPerformanceReportList++; | 2019 buildCounterPerformanceReportList++; |
2020 if (buildCounterPerformanceReportList < 3) { | 2020 if (buildCounterPerformanceReportList < 3) { |
2021 unittest.expect(o.kind, unittest.equals('foo')); | 2021 unittest.expect(o.kind, unittest.equals('foo')); |
2022 checkUnnamed96(o.performanceReport); | 2022 checkUnnamed2172(o.performanceReport); |
2023 } | 2023 } |
2024 buildCounterPerformanceReportList--; | 2024 buildCounterPerformanceReportList--; |
2025 } | 2025 } |
2026 | 2026 |
2027 buildUnnamed97() { | 2027 buildUnnamed2173() { |
2028 var o = new core.List<core.String>(); | 2028 var o = new core.List<core.String>(); |
2029 o.add("foo"); | 2029 o.add("foo"); |
2030 o.add("foo"); | 2030 o.add("foo"); |
2031 return o; | 2031 return o; |
2032 } | 2032 } |
2033 | 2033 |
2034 checkUnnamed97(core.List<core.String> o) { | 2034 checkUnnamed2173(core.List<core.String> o) { |
2035 unittest.expect(o, unittest.hasLength(2)); | 2035 unittest.expect(o, unittest.hasLength(2)); |
2036 unittest.expect(o[0], unittest.equals('foo')); | 2036 unittest.expect(o[0], unittest.equals('foo')); |
2037 unittest.expect(o[1], unittest.equals('foo')); | 2037 unittest.expect(o[1], unittest.equals('foo')); |
2038 } | 2038 } |
2039 | 2039 |
2040 core.int buildCounterPretargetingConfigDimensions = 0; | 2040 core.int buildCounterPretargetingConfigDimensions = 0; |
2041 buildPretargetingConfigDimensions() { | 2041 buildPretargetingConfigDimensions() { |
2042 var o = new api.PretargetingConfigDimensions(); | 2042 var o = new api.PretargetingConfigDimensions(); |
2043 buildCounterPretargetingConfigDimensions++; | 2043 buildCounterPretargetingConfigDimensions++; |
2044 if (buildCounterPretargetingConfigDimensions < 3) { | 2044 if (buildCounterPretargetingConfigDimensions < 3) { |
2045 o.height = "foo"; | 2045 o.height = "foo"; |
2046 o.width = "foo"; | 2046 o.width = "foo"; |
2047 } | 2047 } |
2048 buildCounterPretargetingConfigDimensions--; | 2048 buildCounterPretargetingConfigDimensions--; |
2049 return o; | 2049 return o; |
2050 } | 2050 } |
2051 | 2051 |
2052 checkPretargetingConfigDimensions(api.PretargetingConfigDimensions o) { | 2052 checkPretargetingConfigDimensions(api.PretargetingConfigDimensions o) { |
2053 buildCounterPretargetingConfigDimensions++; | 2053 buildCounterPretargetingConfigDimensions++; |
2054 if (buildCounterPretargetingConfigDimensions < 3) { | 2054 if (buildCounterPretargetingConfigDimensions < 3) { |
2055 unittest.expect(o.height, unittest.equals('foo')); | 2055 unittest.expect(o.height, unittest.equals('foo')); |
2056 unittest.expect(o.width, unittest.equals('foo')); | 2056 unittest.expect(o.width, unittest.equals('foo')); |
2057 } | 2057 } |
2058 buildCounterPretargetingConfigDimensions--; | 2058 buildCounterPretargetingConfigDimensions--; |
2059 } | 2059 } |
2060 | 2060 |
2061 buildUnnamed98() { | 2061 buildUnnamed2174() { |
2062 var o = new core.List<api.PretargetingConfigDimensions>(); | 2062 var o = new core.List<api.PretargetingConfigDimensions>(); |
2063 o.add(buildPretargetingConfigDimensions()); | 2063 o.add(buildPretargetingConfigDimensions()); |
2064 o.add(buildPretargetingConfigDimensions()); | 2064 o.add(buildPretargetingConfigDimensions()); |
2065 return o; | 2065 return o; |
2066 } | 2066 } |
2067 | 2067 |
2068 checkUnnamed98(core.List<api.PretargetingConfigDimensions> o) { | 2068 checkUnnamed2174(core.List<api.PretargetingConfigDimensions> o) { |
2069 unittest.expect(o, unittest.hasLength(2)); | 2069 unittest.expect(o, unittest.hasLength(2)); |
2070 checkPretargetingConfigDimensions(o[0]); | 2070 checkPretargetingConfigDimensions(o[0]); |
2071 checkPretargetingConfigDimensions(o[1]); | 2071 checkPretargetingConfigDimensions(o[1]); |
2072 } | 2072 } |
2073 | 2073 |
2074 buildUnnamed99() { | 2074 buildUnnamed2175() { |
2075 var o = new core.List<core.String>(); | 2075 var o = new core.List<core.String>(); |
2076 o.add("foo"); | 2076 o.add("foo"); |
2077 o.add("foo"); | 2077 o.add("foo"); |
2078 return o; | 2078 return o; |
2079 } | 2079 } |
2080 | 2080 |
2081 checkUnnamed99(core.List<core.String> o) { | 2081 checkUnnamed2175(core.List<core.String> o) { |
2082 unittest.expect(o, unittest.hasLength(2)); | 2082 unittest.expect(o, unittest.hasLength(2)); |
2083 unittest.expect(o[0], unittest.equals('foo')); | 2083 unittest.expect(o[0], unittest.equals('foo')); |
2084 unittest.expect(o[1], unittest.equals('foo')); | 2084 unittest.expect(o[1], unittest.equals('foo')); |
2085 } | 2085 } |
2086 | 2086 |
2087 buildUnnamed100() { | 2087 buildUnnamed2176() { |
2088 var o = new core.List<core.String>(); | 2088 var o = new core.List<core.String>(); |
2089 o.add("foo"); | 2089 o.add("foo"); |
2090 o.add("foo"); | 2090 o.add("foo"); |
2091 return o; | 2091 return o; |
2092 } | 2092 } |
2093 | 2093 |
2094 checkUnnamed100(core.List<core.String> o) { | 2094 checkUnnamed2176(core.List<core.String> o) { |
2095 unittest.expect(o, unittest.hasLength(2)); | 2095 unittest.expect(o, unittest.hasLength(2)); |
2096 unittest.expect(o[0], unittest.equals('foo')); | 2096 unittest.expect(o[0], unittest.equals('foo')); |
2097 unittest.expect(o[1], unittest.equals('foo')); | 2097 unittest.expect(o[1], unittest.equals('foo')); |
2098 } | 2098 } |
2099 | 2099 |
2100 core.int buildCounterPretargetingConfigExcludedPlacements = 0; | 2100 core.int buildCounterPretargetingConfigExcludedPlacements = 0; |
2101 buildPretargetingConfigExcludedPlacements() { | 2101 buildPretargetingConfigExcludedPlacements() { |
2102 var o = new api.PretargetingConfigExcludedPlacements(); | 2102 var o = new api.PretargetingConfigExcludedPlacements(); |
2103 buildCounterPretargetingConfigExcludedPlacements++; | 2103 buildCounterPretargetingConfigExcludedPlacements++; |
2104 if (buildCounterPretargetingConfigExcludedPlacements < 3) { | 2104 if (buildCounterPretargetingConfigExcludedPlacements < 3) { |
2105 o.token = "foo"; | 2105 o.token = "foo"; |
2106 o.type = "foo"; | 2106 o.type = "foo"; |
2107 } | 2107 } |
2108 buildCounterPretargetingConfigExcludedPlacements--; | 2108 buildCounterPretargetingConfigExcludedPlacements--; |
2109 return o; | 2109 return o; |
2110 } | 2110 } |
2111 | 2111 |
2112 checkPretargetingConfigExcludedPlacements(api.PretargetingConfigExcludedPlacemen
ts o) { | 2112 checkPretargetingConfigExcludedPlacements(api.PretargetingConfigExcludedPlacemen
ts o) { |
2113 buildCounterPretargetingConfigExcludedPlacements++; | 2113 buildCounterPretargetingConfigExcludedPlacements++; |
2114 if (buildCounterPretargetingConfigExcludedPlacements < 3) { | 2114 if (buildCounterPretargetingConfigExcludedPlacements < 3) { |
2115 unittest.expect(o.token, unittest.equals('foo')); | 2115 unittest.expect(o.token, unittest.equals('foo')); |
2116 unittest.expect(o.type, unittest.equals('foo')); | 2116 unittest.expect(o.type, unittest.equals('foo')); |
2117 } | 2117 } |
2118 buildCounterPretargetingConfigExcludedPlacements--; | 2118 buildCounterPretargetingConfigExcludedPlacements--; |
2119 } | 2119 } |
2120 | 2120 |
2121 buildUnnamed101() { | 2121 buildUnnamed2177() { |
2122 var o = new core.List<api.PretargetingConfigExcludedPlacements>(); | 2122 var o = new core.List<api.PretargetingConfigExcludedPlacements>(); |
2123 o.add(buildPretargetingConfigExcludedPlacements()); | 2123 o.add(buildPretargetingConfigExcludedPlacements()); |
2124 o.add(buildPretargetingConfigExcludedPlacements()); | 2124 o.add(buildPretargetingConfigExcludedPlacements()); |
2125 return o; | 2125 return o; |
2126 } | 2126 } |
2127 | 2127 |
2128 checkUnnamed101(core.List<api.PretargetingConfigExcludedPlacements> o) { | 2128 checkUnnamed2177(core.List<api.PretargetingConfigExcludedPlacements> o) { |
2129 unittest.expect(o, unittest.hasLength(2)); | 2129 unittest.expect(o, unittest.hasLength(2)); |
2130 checkPretargetingConfigExcludedPlacements(o[0]); | 2130 checkPretargetingConfigExcludedPlacements(o[0]); |
2131 checkPretargetingConfigExcludedPlacements(o[1]); | 2131 checkPretargetingConfigExcludedPlacements(o[1]); |
2132 } | 2132 } |
2133 | 2133 |
2134 buildUnnamed102() { | 2134 buildUnnamed2178() { |
2135 var o = new core.List<core.String>(); | 2135 var o = new core.List<core.String>(); |
2136 o.add("foo"); | 2136 o.add("foo"); |
2137 o.add("foo"); | 2137 o.add("foo"); |
2138 return o; | 2138 return o; |
2139 } | 2139 } |
2140 | 2140 |
2141 checkUnnamed102(core.List<core.String> o) { | 2141 checkUnnamed2178(core.List<core.String> o) { |
2142 unittest.expect(o, unittest.hasLength(2)); | 2142 unittest.expect(o, unittest.hasLength(2)); |
2143 unittest.expect(o[0], unittest.equals('foo')); | 2143 unittest.expect(o[0], unittest.equals('foo')); |
2144 unittest.expect(o[1], unittest.equals('foo')); | 2144 unittest.expect(o[1], unittest.equals('foo')); |
2145 } | 2145 } |
2146 | 2146 |
2147 buildUnnamed103() { | 2147 buildUnnamed2179() { |
2148 var o = new core.List<core.String>(); | 2148 var o = new core.List<core.String>(); |
2149 o.add("foo"); | 2149 o.add("foo"); |
2150 o.add("foo"); | 2150 o.add("foo"); |
2151 return o; | 2151 return o; |
2152 } | 2152 } |
2153 | 2153 |
2154 checkUnnamed103(core.List<core.String> o) { | 2154 checkUnnamed2179(core.List<core.String> o) { |
2155 unittest.expect(o, unittest.hasLength(2)); | 2155 unittest.expect(o, unittest.hasLength(2)); |
2156 unittest.expect(o[0], unittest.equals('foo')); | 2156 unittest.expect(o[0], unittest.equals('foo')); |
2157 unittest.expect(o[1], unittest.equals('foo')); | 2157 unittest.expect(o[1], unittest.equals('foo')); |
2158 } | 2158 } |
2159 | 2159 |
2160 buildUnnamed104() { | 2160 buildUnnamed2180() { |
2161 var o = new core.List<core.String>(); | 2161 var o = new core.List<core.String>(); |
2162 o.add("foo"); | 2162 o.add("foo"); |
2163 o.add("foo"); | 2163 o.add("foo"); |
2164 return o; | 2164 return o; |
2165 } | 2165 } |
2166 | 2166 |
2167 checkUnnamed104(core.List<core.String> o) { | 2167 checkUnnamed2180(core.List<core.String> o) { |
2168 unittest.expect(o, unittest.hasLength(2)); | 2168 unittest.expect(o, unittest.hasLength(2)); |
2169 unittest.expect(o[0], unittest.equals('foo')); | 2169 unittest.expect(o[0], unittest.equals('foo')); |
2170 unittest.expect(o[1], unittest.equals('foo')); | 2170 unittest.expect(o[1], unittest.equals('foo')); |
2171 } | 2171 } |
2172 | 2172 |
2173 buildUnnamed105() { | 2173 buildUnnamed2181() { |
2174 var o = new core.List<core.String>(); | 2174 var o = new core.List<core.String>(); |
2175 o.add("foo"); | 2175 o.add("foo"); |
2176 o.add("foo"); | 2176 o.add("foo"); |
2177 return o; | 2177 return o; |
2178 } | 2178 } |
2179 | 2179 |
2180 checkUnnamed105(core.List<core.String> o) { | 2180 checkUnnamed2181(core.List<core.String> o) { |
2181 unittest.expect(o, unittest.hasLength(2)); | 2181 unittest.expect(o, unittest.hasLength(2)); |
2182 unittest.expect(o[0], unittest.equals('foo')); | 2182 unittest.expect(o[0], unittest.equals('foo')); |
2183 unittest.expect(o[1], unittest.equals('foo')); | 2183 unittest.expect(o[1], unittest.equals('foo')); |
2184 } | 2184 } |
2185 | 2185 |
2186 buildUnnamed106() { | 2186 buildUnnamed2182() { |
2187 var o = new core.List<core.String>(); | 2187 var o = new core.List<core.String>(); |
2188 o.add("foo"); | 2188 o.add("foo"); |
2189 o.add("foo"); | 2189 o.add("foo"); |
2190 return o; | 2190 return o; |
2191 } | 2191 } |
2192 | 2192 |
2193 checkUnnamed106(core.List<core.String> o) { | 2193 checkUnnamed2182(core.List<core.String> o) { |
2194 unittest.expect(o, unittest.hasLength(2)); | 2194 unittest.expect(o, unittest.hasLength(2)); |
2195 unittest.expect(o[0], unittest.equals('foo')); | 2195 unittest.expect(o[0], unittest.equals('foo')); |
2196 unittest.expect(o[1], unittest.equals('foo')); | 2196 unittest.expect(o[1], unittest.equals('foo')); |
2197 } | 2197 } |
2198 | 2198 |
2199 buildUnnamed107() { | 2199 buildUnnamed2183() { |
2200 var o = new core.List<core.String>(); | 2200 var o = new core.List<core.String>(); |
2201 o.add("foo"); | 2201 o.add("foo"); |
2202 o.add("foo"); | 2202 o.add("foo"); |
2203 return o; | 2203 return o; |
2204 } | 2204 } |
2205 | 2205 |
2206 checkUnnamed107(core.List<core.String> o) { | 2206 checkUnnamed2183(core.List<core.String> o) { |
2207 unittest.expect(o, unittest.hasLength(2)); | 2207 unittest.expect(o, unittest.hasLength(2)); |
2208 unittest.expect(o[0], unittest.equals('foo')); | 2208 unittest.expect(o[0], unittest.equals('foo')); |
2209 unittest.expect(o[1], unittest.equals('foo')); | 2209 unittest.expect(o[1], unittest.equals('foo')); |
2210 } | 2210 } |
2211 | 2211 |
2212 buildUnnamed108() { | 2212 buildUnnamed2184() { |
2213 var o = new core.List<core.String>(); | 2213 var o = new core.List<core.String>(); |
2214 o.add("foo"); | 2214 o.add("foo"); |
2215 o.add("foo"); | 2215 o.add("foo"); |
2216 return o; | 2216 return o; |
2217 } | 2217 } |
2218 | 2218 |
2219 checkUnnamed108(core.List<core.String> o) { | 2219 checkUnnamed2184(core.List<core.String> o) { |
2220 unittest.expect(o, unittest.hasLength(2)); | 2220 unittest.expect(o, unittest.hasLength(2)); |
2221 unittest.expect(o[0], unittest.equals('foo')); | 2221 unittest.expect(o[0], unittest.equals('foo')); |
2222 unittest.expect(o[1], unittest.equals('foo')); | 2222 unittest.expect(o[1], unittest.equals('foo')); |
2223 } | 2223 } |
2224 | 2224 |
2225 core.int buildCounterPretargetingConfigPlacements = 0; | 2225 core.int buildCounterPretargetingConfigPlacements = 0; |
2226 buildPretargetingConfigPlacements() { | 2226 buildPretargetingConfigPlacements() { |
2227 var o = new api.PretargetingConfigPlacements(); | 2227 var o = new api.PretargetingConfigPlacements(); |
2228 buildCounterPretargetingConfigPlacements++; | 2228 buildCounterPretargetingConfigPlacements++; |
2229 if (buildCounterPretargetingConfigPlacements < 3) { | 2229 if (buildCounterPretargetingConfigPlacements < 3) { |
2230 o.token = "foo"; | 2230 o.token = "foo"; |
2231 o.type = "foo"; | 2231 o.type = "foo"; |
2232 } | 2232 } |
2233 buildCounterPretargetingConfigPlacements--; | 2233 buildCounterPretargetingConfigPlacements--; |
2234 return o; | 2234 return o; |
2235 } | 2235 } |
2236 | 2236 |
2237 checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) { | 2237 checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) { |
2238 buildCounterPretargetingConfigPlacements++; | 2238 buildCounterPretargetingConfigPlacements++; |
2239 if (buildCounterPretargetingConfigPlacements < 3) { | 2239 if (buildCounterPretargetingConfigPlacements < 3) { |
2240 unittest.expect(o.token, unittest.equals('foo')); | 2240 unittest.expect(o.token, unittest.equals('foo')); |
2241 unittest.expect(o.type, unittest.equals('foo')); | 2241 unittest.expect(o.type, unittest.equals('foo')); |
2242 } | 2242 } |
2243 buildCounterPretargetingConfigPlacements--; | 2243 buildCounterPretargetingConfigPlacements--; |
2244 } | 2244 } |
2245 | 2245 |
2246 buildUnnamed109() { | 2246 buildUnnamed2185() { |
2247 var o = new core.List<api.PretargetingConfigPlacements>(); | 2247 var o = new core.List<api.PretargetingConfigPlacements>(); |
2248 o.add(buildPretargetingConfigPlacements()); | 2248 o.add(buildPretargetingConfigPlacements()); |
2249 o.add(buildPretargetingConfigPlacements()); | 2249 o.add(buildPretargetingConfigPlacements()); |
2250 return o; | 2250 return o; |
2251 } | 2251 } |
2252 | 2252 |
2253 checkUnnamed109(core.List<api.PretargetingConfigPlacements> o) { | 2253 checkUnnamed2185(core.List<api.PretargetingConfigPlacements> o) { |
2254 unittest.expect(o, unittest.hasLength(2)); | 2254 unittest.expect(o, unittest.hasLength(2)); |
2255 checkPretargetingConfigPlacements(o[0]); | 2255 checkPretargetingConfigPlacements(o[0]); |
2256 checkPretargetingConfigPlacements(o[1]); | 2256 checkPretargetingConfigPlacements(o[1]); |
2257 } | 2257 } |
2258 | 2258 |
2259 buildUnnamed110() { | 2259 buildUnnamed2186() { |
2260 var o = new core.List<core.String>(); | 2260 var o = new core.List<core.String>(); |
2261 o.add("foo"); | 2261 o.add("foo"); |
2262 o.add("foo"); | 2262 o.add("foo"); |
2263 return o; | 2263 return o; |
2264 } | 2264 } |
2265 | 2265 |
2266 checkUnnamed110(core.List<core.String> o) { | 2266 checkUnnamed2186(core.List<core.String> o) { |
2267 unittest.expect(o, unittest.hasLength(2)); | 2267 unittest.expect(o, unittest.hasLength(2)); |
2268 unittest.expect(o[0], unittest.equals('foo')); | 2268 unittest.expect(o[0], unittest.equals('foo')); |
2269 unittest.expect(o[1], unittest.equals('foo')); | 2269 unittest.expect(o[1], unittest.equals('foo')); |
2270 } | 2270 } |
2271 | 2271 |
2272 buildUnnamed111() { | 2272 buildUnnamed2187() { |
2273 var o = new core.List<core.String>(); | 2273 var o = new core.List<core.String>(); |
2274 o.add("foo"); | 2274 o.add("foo"); |
2275 o.add("foo"); | 2275 o.add("foo"); |
2276 return o; | 2276 return o; |
2277 } | 2277 } |
2278 | 2278 |
2279 checkUnnamed111(core.List<core.String> o) { | 2279 checkUnnamed2187(core.List<core.String> o) { |
2280 unittest.expect(o, unittest.hasLength(2)); | 2280 unittest.expect(o, unittest.hasLength(2)); |
2281 unittest.expect(o[0], unittest.equals('foo')); | 2281 unittest.expect(o[0], unittest.equals('foo')); |
2282 unittest.expect(o[1], unittest.equals('foo')); | 2282 unittest.expect(o[1], unittest.equals('foo')); |
2283 } | 2283 } |
2284 | 2284 |
2285 buildUnnamed112() { | 2285 buildUnnamed2188() { |
2286 var o = new core.List<core.String>(); | 2286 var o = new core.List<core.String>(); |
2287 o.add("foo"); | 2287 o.add("foo"); |
2288 o.add("foo"); | 2288 o.add("foo"); |
2289 return o; | 2289 return o; |
2290 } | 2290 } |
2291 | 2291 |
2292 checkUnnamed112(core.List<core.String> o) { | 2292 checkUnnamed2188(core.List<core.String> o) { |
2293 unittest.expect(o, unittest.hasLength(2)); | 2293 unittest.expect(o, unittest.hasLength(2)); |
2294 unittest.expect(o[0], unittest.equals('foo')); | 2294 unittest.expect(o[0], unittest.equals('foo')); |
2295 unittest.expect(o[1], unittest.equals('foo')); | 2295 unittest.expect(o[1], unittest.equals('foo')); |
2296 } | 2296 } |
2297 | 2297 |
2298 buildUnnamed113() { | 2298 buildUnnamed2189() { |
2299 var o = new core.List<core.String>(); | 2299 var o = new core.List<core.String>(); |
2300 o.add("foo"); | 2300 o.add("foo"); |
2301 o.add("foo"); | 2301 o.add("foo"); |
2302 return o; | 2302 return o; |
2303 } | 2303 } |
2304 | 2304 |
2305 checkUnnamed113(core.List<core.String> o) { | 2305 checkUnnamed2189(core.List<core.String> o) { |
2306 unittest.expect(o, unittest.hasLength(2)); | 2306 unittest.expect(o, unittest.hasLength(2)); |
2307 unittest.expect(o[0], unittest.equals('foo')); | 2307 unittest.expect(o[0], unittest.equals('foo')); |
2308 unittest.expect(o[1], unittest.equals('foo')); | 2308 unittest.expect(o[1], unittest.equals('foo')); |
2309 } | 2309 } |
2310 | 2310 |
2311 buildUnnamed114() { | 2311 buildUnnamed2190() { |
2312 var o = new core.List<core.String>(); | 2312 var o = new core.List<core.String>(); |
2313 o.add("foo"); | 2313 o.add("foo"); |
2314 o.add("foo"); | 2314 o.add("foo"); |
2315 return o; | 2315 return o; |
2316 } | 2316 } |
2317 | 2317 |
2318 checkUnnamed114(core.List<core.String> o) { | 2318 checkUnnamed2190(core.List<core.String> o) { |
2319 unittest.expect(o, unittest.hasLength(2)); | 2319 unittest.expect(o, unittest.hasLength(2)); |
2320 unittest.expect(o[0], unittest.equals('foo')); | 2320 unittest.expect(o[0], unittest.equals('foo')); |
2321 unittest.expect(o[1], unittest.equals('foo')); | 2321 unittest.expect(o[1], unittest.equals('foo')); |
2322 } | 2322 } |
2323 | 2323 |
2324 core.int buildCounterPretargetingConfigVideoPlayerSizes = 0; | 2324 core.int buildCounterPretargetingConfigVideoPlayerSizes = 0; |
2325 buildPretargetingConfigVideoPlayerSizes() { | 2325 buildPretargetingConfigVideoPlayerSizes() { |
2326 var o = new api.PretargetingConfigVideoPlayerSizes(); | 2326 var o = new api.PretargetingConfigVideoPlayerSizes(); |
2327 buildCounterPretargetingConfigVideoPlayerSizes++; | 2327 buildCounterPretargetingConfigVideoPlayerSizes++; |
2328 if (buildCounterPretargetingConfigVideoPlayerSizes < 3) { | 2328 if (buildCounterPretargetingConfigVideoPlayerSizes < 3) { |
2329 o.aspectRatio = "foo"; | 2329 o.aspectRatio = "foo"; |
2330 o.minHeight = "foo"; | 2330 o.minHeight = "foo"; |
2331 o.minWidth = "foo"; | 2331 o.minWidth = "foo"; |
2332 } | 2332 } |
2333 buildCounterPretargetingConfigVideoPlayerSizes--; | 2333 buildCounterPretargetingConfigVideoPlayerSizes--; |
2334 return o; | 2334 return o; |
2335 } | 2335 } |
2336 | 2336 |
2337 checkPretargetingConfigVideoPlayerSizes(api.PretargetingConfigVideoPlayerSizes o
) { | 2337 checkPretargetingConfigVideoPlayerSizes(api.PretargetingConfigVideoPlayerSizes o
) { |
2338 buildCounterPretargetingConfigVideoPlayerSizes++; | 2338 buildCounterPretargetingConfigVideoPlayerSizes++; |
2339 if (buildCounterPretargetingConfigVideoPlayerSizes < 3) { | 2339 if (buildCounterPretargetingConfigVideoPlayerSizes < 3) { |
2340 unittest.expect(o.aspectRatio, unittest.equals('foo')); | 2340 unittest.expect(o.aspectRatio, unittest.equals('foo')); |
2341 unittest.expect(o.minHeight, unittest.equals('foo')); | 2341 unittest.expect(o.minHeight, unittest.equals('foo')); |
2342 unittest.expect(o.minWidth, unittest.equals('foo')); | 2342 unittest.expect(o.minWidth, unittest.equals('foo')); |
2343 } | 2343 } |
2344 buildCounterPretargetingConfigVideoPlayerSizes--; | 2344 buildCounterPretargetingConfigVideoPlayerSizes--; |
2345 } | 2345 } |
2346 | 2346 |
2347 buildUnnamed115() { | 2347 buildUnnamed2191() { |
2348 var o = new core.List<api.PretargetingConfigVideoPlayerSizes>(); | 2348 var o = new core.List<api.PretargetingConfigVideoPlayerSizes>(); |
2349 o.add(buildPretargetingConfigVideoPlayerSizes()); | 2349 o.add(buildPretargetingConfigVideoPlayerSizes()); |
2350 o.add(buildPretargetingConfigVideoPlayerSizes()); | 2350 o.add(buildPretargetingConfigVideoPlayerSizes()); |
2351 return o; | 2351 return o; |
2352 } | 2352 } |
2353 | 2353 |
2354 checkUnnamed115(core.List<api.PretargetingConfigVideoPlayerSizes> o) { | 2354 checkUnnamed2191(core.List<api.PretargetingConfigVideoPlayerSizes> o) { |
2355 unittest.expect(o, unittest.hasLength(2)); | 2355 unittest.expect(o, unittest.hasLength(2)); |
2356 checkPretargetingConfigVideoPlayerSizes(o[0]); | 2356 checkPretargetingConfigVideoPlayerSizes(o[0]); |
2357 checkPretargetingConfigVideoPlayerSizes(o[1]); | 2357 checkPretargetingConfigVideoPlayerSizes(o[1]); |
2358 } | 2358 } |
2359 | 2359 |
2360 core.int buildCounterPretargetingConfig = 0; | 2360 core.int buildCounterPretargetingConfig = 0; |
2361 buildPretargetingConfig() { | 2361 buildPretargetingConfig() { |
2362 var o = new api.PretargetingConfig(); | 2362 var o = new api.PretargetingConfig(); |
2363 buildCounterPretargetingConfig++; | 2363 buildCounterPretargetingConfig++; |
2364 if (buildCounterPretargetingConfig < 3) { | 2364 if (buildCounterPretargetingConfig < 3) { |
2365 o.billingId = "foo"; | 2365 o.billingId = "foo"; |
2366 o.configId = "foo"; | 2366 o.configId = "foo"; |
2367 o.configName = "foo"; | 2367 o.configName = "foo"; |
2368 o.creativeType = buildUnnamed97(); | 2368 o.creativeType = buildUnnamed2173(); |
2369 o.dimensions = buildUnnamed98(); | 2369 o.dimensions = buildUnnamed2174(); |
2370 o.excludedContentLabels = buildUnnamed99(); | 2370 o.excludedContentLabels = buildUnnamed2175(); |
2371 o.excludedGeoCriteriaIds = buildUnnamed100(); | 2371 o.excludedGeoCriteriaIds = buildUnnamed2176(); |
2372 o.excludedPlacements = buildUnnamed101(); | 2372 o.excludedPlacements = buildUnnamed2177(); |
2373 o.excludedUserLists = buildUnnamed102(); | 2373 o.excludedUserLists = buildUnnamed2178(); |
2374 o.excludedVerticals = buildUnnamed103(); | 2374 o.excludedVerticals = buildUnnamed2179(); |
2375 o.geoCriteriaIds = buildUnnamed104(); | 2375 o.geoCriteriaIds = buildUnnamed2180(); |
2376 o.isActive = true; | 2376 o.isActive = true; |
2377 o.kind = "foo"; | 2377 o.kind = "foo"; |
2378 o.languages = buildUnnamed105(); | 2378 o.languages = buildUnnamed2181(); |
2379 o.mobileCarriers = buildUnnamed106(); | 2379 o.mobileCarriers = buildUnnamed2182(); |
2380 o.mobileDevices = buildUnnamed107(); | 2380 o.mobileDevices = buildUnnamed2183(); |
2381 o.mobileOperatingSystemVersions = buildUnnamed108(); | 2381 o.mobileOperatingSystemVersions = buildUnnamed2184(); |
2382 o.placements = buildUnnamed109(); | 2382 o.placements = buildUnnamed2185(); |
2383 o.platforms = buildUnnamed110(); | 2383 o.platforms = buildUnnamed2186(); |
2384 o.supportedCreativeAttributes = buildUnnamed111(); | 2384 o.supportedCreativeAttributes = buildUnnamed2187(); |
2385 o.userLists = buildUnnamed112(); | 2385 o.userLists = buildUnnamed2188(); |
2386 o.vendorTypes = buildUnnamed113(); | 2386 o.vendorTypes = buildUnnamed2189(); |
2387 o.verticals = buildUnnamed114(); | 2387 o.verticals = buildUnnamed2190(); |
2388 o.videoPlayerSizes = buildUnnamed115(); | 2388 o.videoPlayerSizes = buildUnnamed2191(); |
2389 } | 2389 } |
2390 buildCounterPretargetingConfig--; | 2390 buildCounterPretargetingConfig--; |
2391 return o; | 2391 return o; |
2392 } | 2392 } |
2393 | 2393 |
2394 checkPretargetingConfig(api.PretargetingConfig o) { | 2394 checkPretargetingConfig(api.PretargetingConfig o) { |
2395 buildCounterPretargetingConfig++; | 2395 buildCounterPretargetingConfig++; |
2396 if (buildCounterPretargetingConfig < 3) { | 2396 if (buildCounterPretargetingConfig < 3) { |
2397 unittest.expect(o.billingId, unittest.equals('foo')); | 2397 unittest.expect(o.billingId, unittest.equals('foo')); |
2398 unittest.expect(o.configId, unittest.equals('foo')); | 2398 unittest.expect(o.configId, unittest.equals('foo')); |
2399 unittest.expect(o.configName, unittest.equals('foo')); | 2399 unittest.expect(o.configName, unittest.equals('foo')); |
2400 checkUnnamed97(o.creativeType); | 2400 checkUnnamed2173(o.creativeType); |
2401 checkUnnamed98(o.dimensions); | 2401 checkUnnamed2174(o.dimensions); |
2402 checkUnnamed99(o.excludedContentLabels); | 2402 checkUnnamed2175(o.excludedContentLabels); |
2403 checkUnnamed100(o.excludedGeoCriteriaIds); | 2403 checkUnnamed2176(o.excludedGeoCriteriaIds); |
2404 checkUnnamed101(o.excludedPlacements); | 2404 checkUnnamed2177(o.excludedPlacements); |
2405 checkUnnamed102(o.excludedUserLists); | 2405 checkUnnamed2178(o.excludedUserLists); |
2406 checkUnnamed103(o.excludedVerticals); | 2406 checkUnnamed2179(o.excludedVerticals); |
2407 checkUnnamed104(o.geoCriteriaIds); | 2407 checkUnnamed2180(o.geoCriteriaIds); |
2408 unittest.expect(o.isActive, unittest.isTrue); | 2408 unittest.expect(o.isActive, unittest.isTrue); |
2409 unittest.expect(o.kind, unittest.equals('foo')); | 2409 unittest.expect(o.kind, unittest.equals('foo')); |
2410 checkUnnamed105(o.languages); | 2410 checkUnnamed2181(o.languages); |
2411 checkUnnamed106(o.mobileCarriers); | 2411 checkUnnamed2182(o.mobileCarriers); |
2412 checkUnnamed107(o.mobileDevices); | 2412 checkUnnamed2183(o.mobileDevices); |
2413 checkUnnamed108(o.mobileOperatingSystemVersions); | 2413 checkUnnamed2184(o.mobileOperatingSystemVersions); |
2414 checkUnnamed109(o.placements); | 2414 checkUnnamed2185(o.placements); |
2415 checkUnnamed110(o.platforms); | 2415 checkUnnamed2186(o.platforms); |
2416 checkUnnamed111(o.supportedCreativeAttributes); | 2416 checkUnnamed2187(o.supportedCreativeAttributes); |
2417 checkUnnamed112(o.userLists); | 2417 checkUnnamed2188(o.userLists); |
2418 checkUnnamed113(o.vendorTypes); | 2418 checkUnnamed2189(o.vendorTypes); |
2419 checkUnnamed114(o.verticals); | 2419 checkUnnamed2190(o.verticals); |
2420 checkUnnamed115(o.videoPlayerSizes); | 2420 checkUnnamed2191(o.videoPlayerSizes); |
2421 } | 2421 } |
2422 buildCounterPretargetingConfig--; | 2422 buildCounterPretargetingConfig--; |
2423 } | 2423 } |
2424 | 2424 |
2425 buildUnnamed116() { | 2425 buildUnnamed2192() { |
2426 var o = new core.List<api.PretargetingConfig>(); | 2426 var o = new core.List<api.PretargetingConfig>(); |
2427 o.add(buildPretargetingConfig()); | 2427 o.add(buildPretargetingConfig()); |
2428 o.add(buildPretargetingConfig()); | 2428 o.add(buildPretargetingConfig()); |
2429 return o; | 2429 return o; |
2430 } | 2430 } |
2431 | 2431 |
2432 checkUnnamed116(core.List<api.PretargetingConfig> o) { | 2432 checkUnnamed2192(core.List<api.PretargetingConfig> o) { |
2433 unittest.expect(o, unittest.hasLength(2)); | 2433 unittest.expect(o, unittest.hasLength(2)); |
2434 checkPretargetingConfig(o[0]); | 2434 checkPretargetingConfig(o[0]); |
2435 checkPretargetingConfig(o[1]); | 2435 checkPretargetingConfig(o[1]); |
2436 } | 2436 } |
2437 | 2437 |
2438 core.int buildCounterPretargetingConfigList = 0; | 2438 core.int buildCounterPretargetingConfigList = 0; |
2439 buildPretargetingConfigList() { | 2439 buildPretargetingConfigList() { |
2440 var o = new api.PretargetingConfigList(); | 2440 var o = new api.PretargetingConfigList(); |
2441 buildCounterPretargetingConfigList++; | 2441 buildCounterPretargetingConfigList++; |
2442 if (buildCounterPretargetingConfigList < 3) { | 2442 if (buildCounterPretargetingConfigList < 3) { |
2443 o.items = buildUnnamed116(); | 2443 o.items = buildUnnamed2192(); |
2444 o.kind = "foo"; | 2444 o.kind = "foo"; |
2445 } | 2445 } |
2446 buildCounterPretargetingConfigList--; | 2446 buildCounterPretargetingConfigList--; |
2447 return o; | 2447 return o; |
2448 } | 2448 } |
2449 | 2449 |
2450 checkPretargetingConfigList(api.PretargetingConfigList o) { | 2450 checkPretargetingConfigList(api.PretargetingConfigList o) { |
2451 buildCounterPretargetingConfigList++; | 2451 buildCounterPretargetingConfigList++; |
2452 if (buildCounterPretargetingConfigList < 3) { | 2452 if (buildCounterPretargetingConfigList < 3) { |
2453 checkUnnamed116(o.items); | 2453 checkUnnamed2192(o.items); |
2454 unittest.expect(o.kind, unittest.equals('foo')); | 2454 unittest.expect(o.kind, unittest.equals('foo')); |
2455 } | 2455 } |
2456 buildCounterPretargetingConfigList--; | 2456 buildCounterPretargetingConfigList--; |
2457 } | 2457 } |
2458 | 2458 |
2459 core.int buildCounterPrice = 0; | 2459 core.int buildCounterPrice = 0; |
2460 buildPrice() { | 2460 buildPrice() { |
2461 var o = new api.Price(); | 2461 var o = new api.Price(); |
2462 buildCounterPrice++; | 2462 buildCounterPrice++; |
2463 if (buildCounterPrice < 3) { | 2463 if (buildCounterPrice < 3) { |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2516 | 2516 |
2517 checkPrivateData(api.PrivateData o) { | 2517 checkPrivateData(api.PrivateData o) { |
2518 buildCounterPrivateData++; | 2518 buildCounterPrivateData++; |
2519 if (buildCounterPrivateData < 3) { | 2519 if (buildCounterPrivateData < 3) { |
2520 unittest.expect(o.referenceId, unittest.equals('foo')); | 2520 unittest.expect(o.referenceId, unittest.equals('foo')); |
2521 unittest.expect(o.referencePayload, unittest.equals('foo')); | 2521 unittest.expect(o.referencePayload, unittest.equals('foo')); |
2522 } | 2522 } |
2523 buildCounterPrivateData--; | 2523 buildCounterPrivateData--; |
2524 } | 2524 } |
2525 | 2525 |
2526 buildUnnamed117() { | 2526 buildUnnamed2193() { |
2527 var o = new core.List<api.ContactInformation>(); | 2527 var o = new core.List<api.ContactInformation>(); |
2528 o.add(buildContactInformation()); | 2528 o.add(buildContactInformation()); |
2529 o.add(buildContactInformation()); | 2529 o.add(buildContactInformation()); |
2530 return o; | 2530 return o; |
2531 } | 2531 } |
2532 | 2532 |
2533 checkUnnamed117(core.List<api.ContactInformation> o) { | 2533 checkUnnamed2193(core.List<api.ContactInformation> o) { |
2534 unittest.expect(o, unittest.hasLength(2)); | 2534 unittest.expect(o, unittest.hasLength(2)); |
2535 checkContactInformation(o[0]); | 2535 checkContactInformation(o[0]); |
2536 checkContactInformation(o[1]); | 2536 checkContactInformation(o[1]); |
2537 } | 2537 } |
2538 | 2538 |
2539 buildUnnamed118() { | 2539 buildUnnamed2194() { |
2540 var o = new core.List<api.MarketplaceLabel>(); | 2540 var o = new core.List<api.MarketplaceLabel>(); |
2541 o.add(buildMarketplaceLabel()); | 2541 o.add(buildMarketplaceLabel()); |
2542 o.add(buildMarketplaceLabel()); | 2542 o.add(buildMarketplaceLabel()); |
2543 return o; | 2543 return o; |
2544 } | 2544 } |
2545 | 2545 |
2546 checkUnnamed118(core.List<api.MarketplaceLabel> o) { | 2546 checkUnnamed2194(core.List<api.MarketplaceLabel> o) { |
2547 unittest.expect(o, unittest.hasLength(2)); | 2547 unittest.expect(o, unittest.hasLength(2)); |
2548 checkMarketplaceLabel(o[0]); | 2548 checkMarketplaceLabel(o[0]); |
2549 checkMarketplaceLabel(o[1]); | 2549 checkMarketplaceLabel(o[1]); |
2550 } | 2550 } |
2551 | 2551 |
2552 buildUnnamed119() { | 2552 buildUnnamed2195() { |
2553 var o = new core.List<api.SharedTargeting>(); | 2553 var o = new core.List<api.SharedTargeting>(); |
2554 o.add(buildSharedTargeting()); | 2554 o.add(buildSharedTargeting()); |
2555 o.add(buildSharedTargeting()); | 2555 o.add(buildSharedTargeting()); |
2556 return o; | 2556 return o; |
2557 } | 2557 } |
2558 | 2558 |
2559 checkUnnamed119(core.List<api.SharedTargeting> o) { | 2559 checkUnnamed2195(core.List<api.SharedTargeting> o) { |
2560 unittest.expect(o, unittest.hasLength(2)); | 2560 unittest.expect(o, unittest.hasLength(2)); |
2561 checkSharedTargeting(o[0]); | 2561 checkSharedTargeting(o[0]); |
2562 checkSharedTargeting(o[1]); | 2562 checkSharedTargeting(o[1]); |
2563 } | 2563 } |
2564 | 2564 |
2565 core.int buildCounterProduct = 0; | 2565 core.int buildCounterProduct = 0; |
2566 buildProduct() { | 2566 buildProduct() { |
2567 var o = new api.Product(); | 2567 var o = new api.Product(); |
2568 buildCounterProduct++; | 2568 buildCounterProduct++; |
2569 if (buildCounterProduct < 3) { | 2569 if (buildCounterProduct < 3) { |
2570 o.creationTimeMs = "foo"; | 2570 o.creationTimeMs = "foo"; |
2571 o.creatorContacts = buildUnnamed117(); | 2571 o.creatorContacts = buildUnnamed2193(); |
2572 o.deliveryControl = buildDeliveryControl(); | 2572 o.deliveryControl = buildDeliveryControl(); |
2573 o.flightEndTimeMs = "foo"; | 2573 o.flightEndTimeMs = "foo"; |
2574 o.flightStartTimeMs = "foo"; | 2574 o.flightStartTimeMs = "foo"; |
2575 o.hasCreatorSignedOff = true; | 2575 o.hasCreatorSignedOff = true; |
2576 o.inventorySource = "foo"; | 2576 o.inventorySource = "foo"; |
2577 o.kind = "foo"; | 2577 o.kind = "foo"; |
2578 o.labels = buildUnnamed118(); | 2578 o.labels = buildUnnamed2194(); |
2579 o.lastUpdateTimeMs = "foo"; | 2579 o.lastUpdateTimeMs = "foo"; |
2580 o.legacyOfferId = "foo"; | 2580 o.legacyOfferId = "foo"; |
2581 o.name = "foo"; | 2581 o.name = "foo"; |
2582 o.privateAuctionId = "foo"; | 2582 o.privateAuctionId = "foo"; |
2583 o.productId = "foo"; | 2583 o.productId = "foo"; |
2584 o.publisherProfileId = "foo"; | 2584 o.publisherProfileId = "foo"; |
2585 o.publisherProvidedForecast = buildPublisherProvidedForecast(); | 2585 o.publisherProvidedForecast = buildPublisherProvidedForecast(); |
2586 o.revisionNumber = "foo"; | 2586 o.revisionNumber = "foo"; |
2587 o.seller = buildSeller(); | 2587 o.seller = buildSeller(); |
2588 o.sharedTargetings = buildUnnamed119(); | 2588 o.sharedTargetings = buildUnnamed2195(); |
2589 o.state = "foo"; | 2589 o.state = "foo"; |
2590 o.syndicationProduct = "foo"; | 2590 o.syndicationProduct = "foo"; |
2591 o.terms = buildDealTerms(); | 2591 o.terms = buildDealTerms(); |
2592 o.webPropertyCode = "foo"; | 2592 o.webPropertyCode = "foo"; |
2593 } | 2593 } |
2594 buildCounterProduct--; | 2594 buildCounterProduct--; |
2595 return o; | 2595 return o; |
2596 } | 2596 } |
2597 | 2597 |
2598 checkProduct(api.Product o) { | 2598 checkProduct(api.Product o) { |
2599 buildCounterProduct++; | 2599 buildCounterProduct++; |
2600 if (buildCounterProduct < 3) { | 2600 if (buildCounterProduct < 3) { |
2601 unittest.expect(o.creationTimeMs, unittest.equals('foo')); | 2601 unittest.expect(o.creationTimeMs, unittest.equals('foo')); |
2602 checkUnnamed117(o.creatorContacts); | 2602 checkUnnamed2193(o.creatorContacts); |
2603 checkDeliveryControl(o.deliveryControl); | 2603 checkDeliveryControl(o.deliveryControl); |
2604 unittest.expect(o.flightEndTimeMs, unittest.equals('foo')); | 2604 unittest.expect(o.flightEndTimeMs, unittest.equals('foo')); |
2605 unittest.expect(o.flightStartTimeMs, unittest.equals('foo')); | 2605 unittest.expect(o.flightStartTimeMs, unittest.equals('foo')); |
2606 unittest.expect(o.hasCreatorSignedOff, unittest.isTrue); | 2606 unittest.expect(o.hasCreatorSignedOff, unittest.isTrue); |
2607 unittest.expect(o.inventorySource, unittest.equals('foo')); | 2607 unittest.expect(o.inventorySource, unittest.equals('foo')); |
2608 unittest.expect(o.kind, unittest.equals('foo')); | 2608 unittest.expect(o.kind, unittest.equals('foo')); |
2609 checkUnnamed118(o.labels); | 2609 checkUnnamed2194(o.labels); |
2610 unittest.expect(o.lastUpdateTimeMs, unittest.equals('foo')); | 2610 unittest.expect(o.lastUpdateTimeMs, unittest.equals('foo')); |
2611 unittest.expect(o.legacyOfferId, unittest.equals('foo')); | 2611 unittest.expect(o.legacyOfferId, unittest.equals('foo')); |
2612 unittest.expect(o.name, unittest.equals('foo')); | 2612 unittest.expect(o.name, unittest.equals('foo')); |
2613 unittest.expect(o.privateAuctionId, unittest.equals('foo')); | 2613 unittest.expect(o.privateAuctionId, unittest.equals('foo')); |
2614 unittest.expect(o.productId, unittest.equals('foo')); | 2614 unittest.expect(o.productId, unittest.equals('foo')); |
2615 unittest.expect(o.publisherProfileId, unittest.equals('foo')); | 2615 unittest.expect(o.publisherProfileId, unittest.equals('foo')); |
2616 checkPublisherProvidedForecast(o.publisherProvidedForecast); | 2616 checkPublisherProvidedForecast(o.publisherProvidedForecast); |
2617 unittest.expect(o.revisionNumber, unittest.equals('foo')); | 2617 unittest.expect(o.revisionNumber, unittest.equals('foo')); |
2618 checkSeller(o.seller); | 2618 checkSeller(o.seller); |
2619 checkUnnamed119(o.sharedTargetings); | 2619 checkUnnamed2195(o.sharedTargetings); |
2620 unittest.expect(o.state, unittest.equals('foo')); | 2620 unittest.expect(o.state, unittest.equals('foo')); |
2621 unittest.expect(o.syndicationProduct, unittest.equals('foo')); | 2621 unittest.expect(o.syndicationProduct, unittest.equals('foo')); |
2622 checkDealTerms(o.terms); | 2622 checkDealTerms(o.terms); |
2623 unittest.expect(o.webPropertyCode, unittest.equals('foo')); | 2623 unittest.expect(o.webPropertyCode, unittest.equals('foo')); |
2624 } | 2624 } |
2625 buildCounterProduct--; | 2625 buildCounterProduct--; |
2626 } | 2626 } |
2627 | 2627 |
2628 buildUnnamed120() { | 2628 buildUnnamed2196() { |
2629 var o = new core.List<api.ContactInformation>(); | 2629 var o = new core.List<api.ContactInformation>(); |
2630 o.add(buildContactInformation()); | 2630 o.add(buildContactInformation()); |
2631 o.add(buildContactInformation()); | 2631 o.add(buildContactInformation()); |
2632 return o; | 2632 return o; |
2633 } | 2633 } |
2634 | 2634 |
2635 checkUnnamed120(core.List<api.ContactInformation> o) { | 2635 checkUnnamed2196(core.List<api.ContactInformation> o) { |
2636 unittest.expect(o, unittest.hasLength(2)); | 2636 unittest.expect(o, unittest.hasLength(2)); |
2637 checkContactInformation(o[0]); | 2637 checkContactInformation(o[0]); |
2638 checkContactInformation(o[1]); | 2638 checkContactInformation(o[1]); |
2639 } | 2639 } |
2640 | 2640 |
2641 buildUnnamed121() { | 2641 buildUnnamed2197() { |
2642 var o = new core.List<api.MarketplaceLabel>(); | 2642 var o = new core.List<api.MarketplaceLabel>(); |
2643 o.add(buildMarketplaceLabel()); | 2643 o.add(buildMarketplaceLabel()); |
2644 o.add(buildMarketplaceLabel()); | 2644 o.add(buildMarketplaceLabel()); |
2645 return o; | 2645 return o; |
2646 } | 2646 } |
2647 | 2647 |
2648 checkUnnamed121(core.List<api.MarketplaceLabel> o) { | 2648 checkUnnamed2197(core.List<api.MarketplaceLabel> o) { |
2649 unittest.expect(o, unittest.hasLength(2)); | 2649 unittest.expect(o, unittest.hasLength(2)); |
2650 checkMarketplaceLabel(o[0]); | 2650 checkMarketplaceLabel(o[0]); |
2651 checkMarketplaceLabel(o[1]); | 2651 checkMarketplaceLabel(o[1]); |
2652 } | 2652 } |
2653 | 2653 |
2654 buildUnnamed122() { | 2654 buildUnnamed2198() { |
2655 var o = new core.List<api.ContactInformation>(); | 2655 var o = new core.List<api.ContactInformation>(); |
2656 o.add(buildContactInformation()); | 2656 o.add(buildContactInformation()); |
2657 o.add(buildContactInformation()); | 2657 o.add(buildContactInformation()); |
2658 return o; | 2658 return o; |
2659 } | 2659 } |
2660 | 2660 |
2661 checkUnnamed122(core.List<api.ContactInformation> o) { | 2661 checkUnnamed2198(core.List<api.ContactInformation> o) { |
2662 unittest.expect(o, unittest.hasLength(2)); | 2662 unittest.expect(o, unittest.hasLength(2)); |
2663 checkContactInformation(o[0]); | 2663 checkContactInformation(o[0]); |
2664 checkContactInformation(o[1]); | 2664 checkContactInformation(o[1]); |
2665 } | 2665 } |
2666 | 2666 |
2667 core.int buildCounterProposal = 0; | 2667 core.int buildCounterProposal = 0; |
2668 buildProposal() { | 2668 buildProposal() { |
2669 var o = new api.Proposal(); | 2669 var o = new api.Proposal(); |
2670 buildCounterProposal++; | 2670 buildCounterProposal++; |
2671 if (buildCounterProposal < 3) { | 2671 if (buildCounterProposal < 3) { |
2672 o.billedBuyer = buildBuyer(); | 2672 o.billedBuyer = buildBuyer(); |
2673 o.buyer = buildBuyer(); | 2673 o.buyer = buildBuyer(); |
2674 o.buyerContacts = buildUnnamed120(); | 2674 o.buyerContacts = buildUnnamed2196(); |
2675 o.buyerPrivateData = buildPrivateData(); | 2675 o.buyerPrivateData = buildPrivateData(); |
2676 o.hasBuyerSignedOff = true; | 2676 o.hasBuyerSignedOff = true; |
2677 o.hasSellerSignedOff = true; | 2677 o.hasSellerSignedOff = true; |
2678 o.inventorySource = "foo"; | 2678 o.inventorySource = "foo"; |
2679 o.isRenegotiating = true; | 2679 o.isRenegotiating = true; |
2680 o.isSetupComplete = true; | 2680 o.isSetupComplete = true; |
2681 o.kind = "foo"; | 2681 o.kind = "foo"; |
2682 o.labels = buildUnnamed121(); | 2682 o.labels = buildUnnamed2197(); |
2683 o.lastUpdaterOrCommentorRole = "foo"; | 2683 o.lastUpdaterOrCommentorRole = "foo"; |
2684 o.name = "foo"; | 2684 o.name = "foo"; |
2685 o.negotiationId = "foo"; | 2685 o.negotiationId = "foo"; |
2686 o.originatorRole = "foo"; | 2686 o.originatorRole = "foo"; |
2687 o.privateAuctionId = "foo"; | 2687 o.privateAuctionId = "foo"; |
2688 o.proposalId = "foo"; | 2688 o.proposalId = "foo"; |
2689 o.proposalState = "foo"; | 2689 o.proposalState = "foo"; |
2690 o.revisionNumber = "foo"; | 2690 o.revisionNumber = "foo"; |
2691 o.revisionTimeMs = "foo"; | 2691 o.revisionTimeMs = "foo"; |
2692 o.seller = buildSeller(); | 2692 o.seller = buildSeller(); |
2693 o.sellerContacts = buildUnnamed122(); | 2693 o.sellerContacts = buildUnnamed2198(); |
2694 } | 2694 } |
2695 buildCounterProposal--; | 2695 buildCounterProposal--; |
2696 return o; | 2696 return o; |
2697 } | 2697 } |
2698 | 2698 |
2699 checkProposal(api.Proposal o) { | 2699 checkProposal(api.Proposal o) { |
2700 buildCounterProposal++; | 2700 buildCounterProposal++; |
2701 if (buildCounterProposal < 3) { | 2701 if (buildCounterProposal < 3) { |
2702 checkBuyer(o.billedBuyer); | 2702 checkBuyer(o.billedBuyer); |
2703 checkBuyer(o.buyer); | 2703 checkBuyer(o.buyer); |
2704 checkUnnamed120(o.buyerContacts); | 2704 checkUnnamed2196(o.buyerContacts); |
2705 checkPrivateData(o.buyerPrivateData); | 2705 checkPrivateData(o.buyerPrivateData); |
2706 unittest.expect(o.hasBuyerSignedOff, unittest.isTrue); | 2706 unittest.expect(o.hasBuyerSignedOff, unittest.isTrue); |
2707 unittest.expect(o.hasSellerSignedOff, unittest.isTrue); | 2707 unittest.expect(o.hasSellerSignedOff, unittest.isTrue); |
2708 unittest.expect(o.inventorySource, unittest.equals('foo')); | 2708 unittest.expect(o.inventorySource, unittest.equals('foo')); |
2709 unittest.expect(o.isRenegotiating, unittest.isTrue); | 2709 unittest.expect(o.isRenegotiating, unittest.isTrue); |
2710 unittest.expect(o.isSetupComplete, unittest.isTrue); | 2710 unittest.expect(o.isSetupComplete, unittest.isTrue); |
2711 unittest.expect(o.kind, unittest.equals('foo')); | 2711 unittest.expect(o.kind, unittest.equals('foo')); |
2712 checkUnnamed121(o.labels); | 2712 checkUnnamed2197(o.labels); |
2713 unittest.expect(o.lastUpdaterOrCommentorRole, unittest.equals('foo')); | 2713 unittest.expect(o.lastUpdaterOrCommentorRole, unittest.equals('foo')); |
2714 unittest.expect(o.name, unittest.equals('foo')); | 2714 unittest.expect(o.name, unittest.equals('foo')); |
2715 unittest.expect(o.negotiationId, unittest.equals('foo')); | 2715 unittest.expect(o.negotiationId, unittest.equals('foo')); |
2716 unittest.expect(o.originatorRole, unittest.equals('foo')); | 2716 unittest.expect(o.originatorRole, unittest.equals('foo')); |
2717 unittest.expect(o.privateAuctionId, unittest.equals('foo')); | 2717 unittest.expect(o.privateAuctionId, unittest.equals('foo')); |
2718 unittest.expect(o.proposalId, unittest.equals('foo')); | 2718 unittest.expect(o.proposalId, unittest.equals('foo')); |
2719 unittest.expect(o.proposalState, unittest.equals('foo')); | 2719 unittest.expect(o.proposalState, unittest.equals('foo')); |
2720 unittest.expect(o.revisionNumber, unittest.equals('foo')); | 2720 unittest.expect(o.revisionNumber, unittest.equals('foo')); |
2721 unittest.expect(o.revisionTimeMs, unittest.equals('foo')); | 2721 unittest.expect(o.revisionTimeMs, unittest.equals('foo')); |
2722 checkSeller(o.seller); | 2722 checkSeller(o.seller); |
2723 checkUnnamed122(o.sellerContacts); | 2723 checkUnnamed2198(o.sellerContacts); |
2724 } | 2724 } |
2725 buildCounterProposal--; | 2725 buildCounterProposal--; |
2726 } | 2726 } |
2727 | 2727 |
2728 buildUnnamed123() { | 2728 buildUnnamed2199() { |
2729 var o = new core.List<core.String>(); | 2729 var o = new core.List<core.String>(); |
2730 o.add("foo"); | 2730 o.add("foo"); |
2731 o.add("foo"); | 2731 o.add("foo"); |
2732 return o; | 2732 return o; |
2733 } | 2733 } |
2734 | 2734 |
2735 checkUnnamed123(core.List<core.String> o) { | 2735 checkUnnamed2199(core.List<core.String> o) { |
2736 unittest.expect(o, unittest.hasLength(2)); | 2736 unittest.expect(o, unittest.hasLength(2)); |
2737 unittest.expect(o[0], unittest.equals('foo')); | 2737 unittest.expect(o[0], unittest.equals('foo')); |
2738 unittest.expect(o[1], unittest.equals('foo')); | 2738 unittest.expect(o[1], unittest.equals('foo')); |
2739 } | 2739 } |
2740 | 2740 |
2741 buildUnnamed124() { | 2741 buildUnnamed2200() { |
2742 var o = new core.List<core.String>(); | 2742 var o = new core.List<core.String>(); |
2743 o.add("foo"); | 2743 o.add("foo"); |
2744 o.add("foo"); | 2744 o.add("foo"); |
2745 return o; | 2745 return o; |
2746 } | 2746 } |
2747 | 2747 |
2748 checkUnnamed124(core.List<core.String> o) { | 2748 checkUnnamed2200(core.List<core.String> o) { |
2749 unittest.expect(o, unittest.hasLength(2)); | 2749 unittest.expect(o, unittest.hasLength(2)); |
2750 unittest.expect(o[0], unittest.equals('foo')); | 2750 unittest.expect(o[0], unittest.equals('foo')); |
2751 unittest.expect(o[1], unittest.equals('foo')); | 2751 unittest.expect(o[1], unittest.equals('foo')); |
2752 } | 2752 } |
2753 | 2753 |
2754 core.int buildCounterPublisherProfileApiProto = 0; | 2754 core.int buildCounterPublisherProfileApiProto = 0; |
2755 buildPublisherProfileApiProto() { | 2755 buildPublisherProfileApiProto() { |
2756 var o = new api.PublisherProfileApiProto(); | 2756 var o = new api.PublisherProfileApiProto(); |
2757 buildCounterPublisherProfileApiProto++; | 2757 buildCounterPublisherProfileApiProto++; |
2758 if (buildCounterPublisherProfileApiProto < 3) { | 2758 if (buildCounterPublisherProfileApiProto < 3) { |
2759 o.accountId = "foo"; | 2759 o.accountId = "foo"; |
2760 o.audience = "foo"; | 2760 o.audience = "foo"; |
2761 o.buyerPitchStatement = "foo"; | 2761 o.buyerPitchStatement = "foo"; |
2762 o.directContact = "foo"; | 2762 o.directContact = "foo"; |
2763 o.exchange = "foo"; | 2763 o.exchange = "foo"; |
2764 o.googlePlusLink = "foo"; | 2764 o.googlePlusLink = "foo"; |
2765 o.isParent = true; | 2765 o.isParent = true; |
2766 o.isPublished = true; | 2766 o.isPublished = true; |
2767 o.kind = "foo"; | 2767 o.kind = "foo"; |
2768 o.logoUrl = "foo"; | 2768 o.logoUrl = "foo"; |
2769 o.mediaKitLink = "foo"; | 2769 o.mediaKitLink = "foo"; |
2770 o.name = "foo"; | 2770 o.name = "foo"; |
2771 o.overview = "foo"; | 2771 o.overview = "foo"; |
2772 o.profileId = 42; | 2772 o.profileId = 42; |
2773 o.programmaticContact = "foo"; | 2773 o.programmaticContact = "foo"; |
2774 o.publisherDomains = buildUnnamed123(); | 2774 o.publisherDomains = buildUnnamed2199(); |
2775 o.publisherProfileId = "foo"; | 2775 o.publisherProfileId = "foo"; |
2776 o.publisherProvidedForecast = buildPublisherProvidedForecast(); | 2776 o.publisherProvidedForecast = buildPublisherProvidedForecast(); |
2777 o.rateCardInfoLink = "foo"; | 2777 o.rateCardInfoLink = "foo"; |
2778 o.samplePageLink = "foo"; | 2778 o.samplePageLink = "foo"; |
2779 o.seller = buildSeller(); | 2779 o.seller = buildSeller(); |
2780 o.state = "foo"; | 2780 o.state = "foo"; |
2781 o.topHeadlines = buildUnnamed124(); | 2781 o.topHeadlines = buildUnnamed2200(); |
2782 } | 2782 } |
2783 buildCounterPublisherProfileApiProto--; | 2783 buildCounterPublisherProfileApiProto--; |
2784 return o; | 2784 return o; |
2785 } | 2785 } |
2786 | 2786 |
2787 checkPublisherProfileApiProto(api.PublisherProfileApiProto o) { | 2787 checkPublisherProfileApiProto(api.PublisherProfileApiProto o) { |
2788 buildCounterPublisherProfileApiProto++; | 2788 buildCounterPublisherProfileApiProto++; |
2789 if (buildCounterPublisherProfileApiProto < 3) { | 2789 if (buildCounterPublisherProfileApiProto < 3) { |
2790 unittest.expect(o.accountId, unittest.equals('foo')); | 2790 unittest.expect(o.accountId, unittest.equals('foo')); |
2791 unittest.expect(o.audience, unittest.equals('foo')); | 2791 unittest.expect(o.audience, unittest.equals('foo')); |
2792 unittest.expect(o.buyerPitchStatement, unittest.equals('foo')); | 2792 unittest.expect(o.buyerPitchStatement, unittest.equals('foo')); |
2793 unittest.expect(o.directContact, unittest.equals('foo')); | 2793 unittest.expect(o.directContact, unittest.equals('foo')); |
2794 unittest.expect(o.exchange, unittest.equals('foo')); | 2794 unittest.expect(o.exchange, unittest.equals('foo')); |
2795 unittest.expect(o.googlePlusLink, unittest.equals('foo')); | 2795 unittest.expect(o.googlePlusLink, unittest.equals('foo')); |
2796 unittest.expect(o.isParent, unittest.isTrue); | 2796 unittest.expect(o.isParent, unittest.isTrue); |
2797 unittest.expect(o.isPublished, unittest.isTrue); | 2797 unittest.expect(o.isPublished, unittest.isTrue); |
2798 unittest.expect(o.kind, unittest.equals('foo')); | 2798 unittest.expect(o.kind, unittest.equals('foo')); |
2799 unittest.expect(o.logoUrl, unittest.equals('foo')); | 2799 unittest.expect(o.logoUrl, unittest.equals('foo')); |
2800 unittest.expect(o.mediaKitLink, unittest.equals('foo')); | 2800 unittest.expect(o.mediaKitLink, unittest.equals('foo')); |
2801 unittest.expect(o.name, unittest.equals('foo')); | 2801 unittest.expect(o.name, unittest.equals('foo')); |
2802 unittest.expect(o.overview, unittest.equals('foo')); | 2802 unittest.expect(o.overview, unittest.equals('foo')); |
2803 unittest.expect(o.profileId, unittest.equals(42)); | 2803 unittest.expect(o.profileId, unittest.equals(42)); |
2804 unittest.expect(o.programmaticContact, unittest.equals('foo')); | 2804 unittest.expect(o.programmaticContact, unittest.equals('foo')); |
2805 checkUnnamed123(o.publisherDomains); | 2805 checkUnnamed2199(o.publisherDomains); |
2806 unittest.expect(o.publisherProfileId, unittest.equals('foo')); | 2806 unittest.expect(o.publisherProfileId, unittest.equals('foo')); |
2807 checkPublisherProvidedForecast(o.publisherProvidedForecast); | 2807 checkPublisherProvidedForecast(o.publisherProvidedForecast); |
2808 unittest.expect(o.rateCardInfoLink, unittest.equals('foo')); | 2808 unittest.expect(o.rateCardInfoLink, unittest.equals('foo')); |
2809 unittest.expect(o.samplePageLink, unittest.equals('foo')); | 2809 unittest.expect(o.samplePageLink, unittest.equals('foo')); |
2810 checkSeller(o.seller); | 2810 checkSeller(o.seller); |
2811 unittest.expect(o.state, unittest.equals('foo')); | 2811 unittest.expect(o.state, unittest.equals('foo')); |
2812 checkUnnamed124(o.topHeadlines); | 2812 checkUnnamed2200(o.topHeadlines); |
2813 } | 2813 } |
2814 buildCounterPublisherProfileApiProto--; | 2814 buildCounterPublisherProfileApiProto--; |
2815 } | 2815 } |
2816 | 2816 |
2817 buildUnnamed125() { | 2817 buildUnnamed2201() { |
2818 var o = new core.List<api.Dimension>(); | 2818 var o = new core.List<api.Dimension>(); |
2819 o.add(buildDimension()); | 2819 o.add(buildDimension()); |
2820 o.add(buildDimension()); | 2820 o.add(buildDimension()); |
2821 return o; | 2821 return o; |
2822 } | 2822 } |
2823 | 2823 |
2824 checkUnnamed125(core.List<api.Dimension> o) { | 2824 checkUnnamed2201(core.List<api.Dimension> o) { |
2825 unittest.expect(o, unittest.hasLength(2)); | 2825 unittest.expect(o, unittest.hasLength(2)); |
2826 checkDimension(o[0]); | 2826 checkDimension(o[0]); |
2827 checkDimension(o[1]); | 2827 checkDimension(o[1]); |
2828 } | 2828 } |
2829 | 2829 |
2830 core.int buildCounterPublisherProvidedForecast = 0; | 2830 core.int buildCounterPublisherProvidedForecast = 0; |
2831 buildPublisherProvidedForecast() { | 2831 buildPublisherProvidedForecast() { |
2832 var o = new api.PublisherProvidedForecast(); | 2832 var o = new api.PublisherProvidedForecast(); |
2833 buildCounterPublisherProvidedForecast++; | 2833 buildCounterPublisherProvidedForecast++; |
2834 if (buildCounterPublisherProvidedForecast < 3) { | 2834 if (buildCounterPublisherProvidedForecast < 3) { |
2835 o.dimensions = buildUnnamed125(); | 2835 o.dimensions = buildUnnamed2201(); |
2836 o.weeklyImpressions = "foo"; | 2836 o.weeklyImpressions = "foo"; |
2837 o.weeklyUniques = "foo"; | 2837 o.weeklyUniques = "foo"; |
2838 } | 2838 } |
2839 buildCounterPublisherProvidedForecast--; | 2839 buildCounterPublisherProvidedForecast--; |
2840 return o; | 2840 return o; |
2841 } | 2841 } |
2842 | 2842 |
2843 checkPublisherProvidedForecast(api.PublisherProvidedForecast o) { | 2843 checkPublisherProvidedForecast(api.PublisherProvidedForecast o) { |
2844 buildCounterPublisherProvidedForecast++; | 2844 buildCounterPublisherProvidedForecast++; |
2845 if (buildCounterPublisherProvidedForecast < 3) { | 2845 if (buildCounterPublisherProvidedForecast < 3) { |
2846 checkUnnamed125(o.dimensions); | 2846 checkUnnamed2201(o.dimensions); |
2847 unittest.expect(o.weeklyImpressions, unittest.equals('foo')); | 2847 unittest.expect(o.weeklyImpressions, unittest.equals('foo')); |
2848 unittest.expect(o.weeklyUniques, unittest.equals('foo')); | 2848 unittest.expect(o.weeklyUniques, unittest.equals('foo')); |
2849 } | 2849 } |
2850 buildCounterPublisherProvidedForecast--; | 2850 buildCounterPublisherProvidedForecast--; |
2851 } | 2851 } |
2852 | 2852 |
2853 core.int buildCounterSeller = 0; | 2853 core.int buildCounterSeller = 0; |
2854 buildSeller() { | 2854 buildSeller() { |
2855 var o = new api.Seller(); | 2855 var o = new api.Seller(); |
2856 buildCounterSeller++; | 2856 buildCounterSeller++; |
2857 if (buildCounterSeller < 3) { | 2857 if (buildCounterSeller < 3) { |
2858 o.accountId = "foo"; | 2858 o.accountId = "foo"; |
2859 o.subAccountId = "foo"; | 2859 o.subAccountId = "foo"; |
2860 } | 2860 } |
2861 buildCounterSeller--; | 2861 buildCounterSeller--; |
2862 return o; | 2862 return o; |
2863 } | 2863 } |
2864 | 2864 |
2865 checkSeller(api.Seller o) { | 2865 checkSeller(api.Seller o) { |
2866 buildCounterSeller++; | 2866 buildCounterSeller++; |
2867 if (buildCounterSeller < 3) { | 2867 if (buildCounterSeller < 3) { |
2868 unittest.expect(o.accountId, unittest.equals('foo')); | 2868 unittest.expect(o.accountId, unittest.equals('foo')); |
2869 unittest.expect(o.subAccountId, unittest.equals('foo')); | 2869 unittest.expect(o.subAccountId, unittest.equals('foo')); |
2870 } | 2870 } |
2871 buildCounterSeller--; | 2871 buildCounterSeller--; |
2872 } | 2872 } |
2873 | 2873 |
2874 buildUnnamed126() { | 2874 buildUnnamed2202() { |
2875 var o = new core.List<api.TargetingValue>(); | 2875 var o = new core.List<api.TargetingValue>(); |
2876 o.add(buildTargetingValue()); | 2876 o.add(buildTargetingValue()); |
2877 o.add(buildTargetingValue()); | 2877 o.add(buildTargetingValue()); |
2878 return o; | 2878 return o; |
2879 } | 2879 } |
2880 | 2880 |
2881 checkUnnamed126(core.List<api.TargetingValue> o) { | 2881 checkUnnamed2202(core.List<api.TargetingValue> o) { |
2882 unittest.expect(o, unittest.hasLength(2)); | 2882 unittest.expect(o, unittest.hasLength(2)); |
2883 checkTargetingValue(o[0]); | 2883 checkTargetingValue(o[0]); |
2884 checkTargetingValue(o[1]); | 2884 checkTargetingValue(o[1]); |
2885 } | 2885 } |
2886 | 2886 |
2887 buildUnnamed127() { | 2887 buildUnnamed2203() { |
2888 var o = new core.List<api.TargetingValue>(); | 2888 var o = new core.List<api.TargetingValue>(); |
2889 o.add(buildTargetingValue()); | 2889 o.add(buildTargetingValue()); |
2890 o.add(buildTargetingValue()); | 2890 o.add(buildTargetingValue()); |
2891 return o; | 2891 return o; |
2892 } | 2892 } |
2893 | 2893 |
2894 checkUnnamed127(core.List<api.TargetingValue> o) { | 2894 checkUnnamed2203(core.List<api.TargetingValue> o) { |
2895 unittest.expect(o, unittest.hasLength(2)); | 2895 unittest.expect(o, unittest.hasLength(2)); |
2896 checkTargetingValue(o[0]); | 2896 checkTargetingValue(o[0]); |
2897 checkTargetingValue(o[1]); | 2897 checkTargetingValue(o[1]); |
2898 } | 2898 } |
2899 | 2899 |
2900 core.int buildCounterSharedTargeting = 0; | 2900 core.int buildCounterSharedTargeting = 0; |
2901 buildSharedTargeting() { | 2901 buildSharedTargeting() { |
2902 var o = new api.SharedTargeting(); | 2902 var o = new api.SharedTargeting(); |
2903 buildCounterSharedTargeting++; | 2903 buildCounterSharedTargeting++; |
2904 if (buildCounterSharedTargeting < 3) { | 2904 if (buildCounterSharedTargeting < 3) { |
2905 o.exclusions = buildUnnamed126(); | 2905 o.exclusions = buildUnnamed2202(); |
2906 o.inclusions = buildUnnamed127(); | 2906 o.inclusions = buildUnnamed2203(); |
2907 o.key = "foo"; | 2907 o.key = "foo"; |
2908 } | 2908 } |
2909 buildCounterSharedTargeting--; | 2909 buildCounterSharedTargeting--; |
2910 return o; | 2910 return o; |
2911 } | 2911 } |
2912 | 2912 |
2913 checkSharedTargeting(api.SharedTargeting o) { | 2913 checkSharedTargeting(api.SharedTargeting o) { |
2914 buildCounterSharedTargeting++; | 2914 buildCounterSharedTargeting++; |
2915 if (buildCounterSharedTargeting < 3) { | 2915 if (buildCounterSharedTargeting < 3) { |
2916 checkUnnamed126(o.exclusions); | 2916 checkUnnamed2202(o.exclusions); |
2917 checkUnnamed127(o.inclusions); | 2917 checkUnnamed2203(o.inclusions); |
2918 unittest.expect(o.key, unittest.equals('foo')); | 2918 unittest.expect(o.key, unittest.equals('foo')); |
2919 } | 2919 } |
2920 buildCounterSharedTargeting--; | 2920 buildCounterSharedTargeting--; |
2921 } | 2921 } |
2922 | 2922 |
2923 core.int buildCounterTargetingValue = 0; | 2923 core.int buildCounterTargetingValue = 0; |
2924 buildTargetingValue() { | 2924 buildTargetingValue() { |
2925 var o = new api.TargetingValue(); | 2925 var o = new api.TargetingValue(); |
2926 buildCounterTargetingValue++; | 2926 buildCounterTargetingValue++; |
2927 if (buildCounterTargetingValue < 3) { | 2927 if (buildCounterTargetingValue < 3) { |
(...skipping 10 matching lines...) Expand all Loading... |
2938 buildCounterTargetingValue++; | 2938 buildCounterTargetingValue++; |
2939 if (buildCounterTargetingValue < 3) { | 2939 if (buildCounterTargetingValue < 3) { |
2940 checkTargetingValueCreativeSize(o.creativeSizeValue); | 2940 checkTargetingValueCreativeSize(o.creativeSizeValue); |
2941 checkTargetingValueDayPartTargeting(o.dayPartTargetingValue); | 2941 checkTargetingValueDayPartTargeting(o.dayPartTargetingValue); |
2942 unittest.expect(o.longValue, unittest.equals('foo')); | 2942 unittest.expect(o.longValue, unittest.equals('foo')); |
2943 unittest.expect(o.stringValue, unittest.equals('foo')); | 2943 unittest.expect(o.stringValue, unittest.equals('foo')); |
2944 } | 2944 } |
2945 buildCounterTargetingValue--; | 2945 buildCounterTargetingValue--; |
2946 } | 2946 } |
2947 | 2947 |
2948 buildUnnamed128() { | 2948 buildUnnamed2204() { |
2949 var o = new core.List<api.TargetingValueSize>(); | 2949 var o = new core.List<api.TargetingValueSize>(); |
2950 o.add(buildTargetingValueSize()); | 2950 o.add(buildTargetingValueSize()); |
2951 o.add(buildTargetingValueSize()); | 2951 o.add(buildTargetingValueSize()); |
2952 return o; | 2952 return o; |
2953 } | 2953 } |
2954 | 2954 |
2955 checkUnnamed128(core.List<api.TargetingValueSize> o) { | 2955 checkUnnamed2204(core.List<api.TargetingValueSize> o) { |
2956 unittest.expect(o, unittest.hasLength(2)); | 2956 unittest.expect(o, unittest.hasLength(2)); |
2957 checkTargetingValueSize(o[0]); | 2957 checkTargetingValueSize(o[0]); |
2958 checkTargetingValueSize(o[1]); | 2958 checkTargetingValueSize(o[1]); |
2959 } | 2959 } |
2960 | 2960 |
2961 core.int buildCounterTargetingValueCreativeSize = 0; | 2961 core.int buildCounterTargetingValueCreativeSize = 0; |
2962 buildTargetingValueCreativeSize() { | 2962 buildTargetingValueCreativeSize() { |
2963 var o = new api.TargetingValueCreativeSize(); | 2963 var o = new api.TargetingValueCreativeSize(); |
2964 buildCounterTargetingValueCreativeSize++; | 2964 buildCounterTargetingValueCreativeSize++; |
2965 if (buildCounterTargetingValueCreativeSize < 3) { | 2965 if (buildCounterTargetingValueCreativeSize < 3) { |
2966 o.companionSizes = buildUnnamed128(); | 2966 o.companionSizes = buildUnnamed2204(); |
2967 o.creativeSizeType = "foo"; | 2967 o.creativeSizeType = "foo"; |
2968 o.size = buildTargetingValueSize(); | 2968 o.size = buildTargetingValueSize(); |
2969 } | 2969 } |
2970 buildCounterTargetingValueCreativeSize--; | 2970 buildCounterTargetingValueCreativeSize--; |
2971 return o; | 2971 return o; |
2972 } | 2972 } |
2973 | 2973 |
2974 checkTargetingValueCreativeSize(api.TargetingValueCreativeSize o) { | 2974 checkTargetingValueCreativeSize(api.TargetingValueCreativeSize o) { |
2975 buildCounterTargetingValueCreativeSize++; | 2975 buildCounterTargetingValueCreativeSize++; |
2976 if (buildCounterTargetingValueCreativeSize < 3) { | 2976 if (buildCounterTargetingValueCreativeSize < 3) { |
2977 checkUnnamed128(o.companionSizes); | 2977 checkUnnamed2204(o.companionSizes); |
2978 unittest.expect(o.creativeSizeType, unittest.equals('foo')); | 2978 unittest.expect(o.creativeSizeType, unittest.equals('foo')); |
2979 checkTargetingValueSize(o.size); | 2979 checkTargetingValueSize(o.size); |
2980 } | 2980 } |
2981 buildCounterTargetingValueCreativeSize--; | 2981 buildCounterTargetingValueCreativeSize--; |
2982 } | 2982 } |
2983 | 2983 |
2984 buildUnnamed129() { | 2984 buildUnnamed2205() { |
2985 var o = new core.List<api.TargetingValueDayPartTargetingDayPart>(); | 2985 var o = new core.List<api.TargetingValueDayPartTargetingDayPart>(); |
2986 o.add(buildTargetingValueDayPartTargetingDayPart()); | 2986 o.add(buildTargetingValueDayPartTargetingDayPart()); |
2987 o.add(buildTargetingValueDayPartTargetingDayPart()); | 2987 o.add(buildTargetingValueDayPartTargetingDayPart()); |
2988 return o; | 2988 return o; |
2989 } | 2989 } |
2990 | 2990 |
2991 checkUnnamed129(core.List<api.TargetingValueDayPartTargetingDayPart> o) { | 2991 checkUnnamed2205(core.List<api.TargetingValueDayPartTargetingDayPart> o) { |
2992 unittest.expect(o, unittest.hasLength(2)); | 2992 unittest.expect(o, unittest.hasLength(2)); |
2993 checkTargetingValueDayPartTargetingDayPart(o[0]); | 2993 checkTargetingValueDayPartTargetingDayPart(o[0]); |
2994 checkTargetingValueDayPartTargetingDayPart(o[1]); | 2994 checkTargetingValueDayPartTargetingDayPart(o[1]); |
2995 } | 2995 } |
2996 | 2996 |
2997 core.int buildCounterTargetingValueDayPartTargeting = 0; | 2997 core.int buildCounterTargetingValueDayPartTargeting = 0; |
2998 buildTargetingValueDayPartTargeting() { | 2998 buildTargetingValueDayPartTargeting() { |
2999 var o = new api.TargetingValueDayPartTargeting(); | 2999 var o = new api.TargetingValueDayPartTargeting(); |
3000 buildCounterTargetingValueDayPartTargeting++; | 3000 buildCounterTargetingValueDayPartTargeting++; |
3001 if (buildCounterTargetingValueDayPartTargeting < 3) { | 3001 if (buildCounterTargetingValueDayPartTargeting < 3) { |
3002 o.dayParts = buildUnnamed129(); | 3002 o.dayParts = buildUnnamed2205(); |
3003 o.timeZoneType = "foo"; | 3003 o.timeZoneType = "foo"; |
3004 } | 3004 } |
3005 buildCounterTargetingValueDayPartTargeting--; | 3005 buildCounterTargetingValueDayPartTargeting--; |
3006 return o; | 3006 return o; |
3007 } | 3007 } |
3008 | 3008 |
3009 checkTargetingValueDayPartTargeting(api.TargetingValueDayPartTargeting o) { | 3009 checkTargetingValueDayPartTargeting(api.TargetingValueDayPartTargeting o) { |
3010 buildCounterTargetingValueDayPartTargeting++; | 3010 buildCounterTargetingValueDayPartTargeting++; |
3011 if (buildCounterTargetingValueDayPartTargeting < 3) { | 3011 if (buildCounterTargetingValueDayPartTargeting < 3) { |
3012 checkUnnamed129(o.dayParts); | 3012 checkUnnamed2205(o.dayParts); |
3013 unittest.expect(o.timeZoneType, unittest.equals('foo')); | 3013 unittest.expect(o.timeZoneType, unittest.equals('foo')); |
3014 } | 3014 } |
3015 buildCounterTargetingValueDayPartTargeting--; | 3015 buildCounterTargetingValueDayPartTargeting--; |
3016 } | 3016 } |
3017 | 3017 |
3018 core.int buildCounterTargetingValueDayPartTargetingDayPart = 0; | 3018 core.int buildCounterTargetingValueDayPartTargetingDayPart = 0; |
3019 buildTargetingValueDayPartTargetingDayPart() { | 3019 buildTargetingValueDayPartTargetingDayPart() { |
3020 var o = new api.TargetingValueDayPartTargetingDayPart(); | 3020 var o = new api.TargetingValueDayPartTargetingDayPart(); |
3021 buildCounterTargetingValueDayPartTargetingDayPart++; | 3021 buildCounterTargetingValueDayPartTargetingDayPart++; |
3022 if (buildCounterTargetingValueDayPartTargetingDayPart < 3) { | 3022 if (buildCounterTargetingValueDayPartTargetingDayPart < 3) { |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3081 buildCounterUpdatePrivateAuctionProposalRequest++; | 3081 buildCounterUpdatePrivateAuctionProposalRequest++; |
3082 if (buildCounterUpdatePrivateAuctionProposalRequest < 3) { | 3082 if (buildCounterUpdatePrivateAuctionProposalRequest < 3) { |
3083 unittest.expect(o.externalDealId, unittest.equals('foo')); | 3083 unittest.expect(o.externalDealId, unittest.equals('foo')); |
3084 checkMarketplaceNote(o.note); | 3084 checkMarketplaceNote(o.note); |
3085 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); | 3085 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); |
3086 unittest.expect(o.updateAction, unittest.equals('foo')); | 3086 unittest.expect(o.updateAction, unittest.equals('foo')); |
3087 } | 3087 } |
3088 buildCounterUpdatePrivateAuctionProposalRequest--; | 3088 buildCounterUpdatePrivateAuctionProposalRequest--; |
3089 } | 3089 } |
3090 | 3090 |
3091 buildUnnamed130() { | 3091 buildUnnamed2206() { |
3092 var o = new core.List<core.int>(); | 3092 var o = new core.List<core.int>(); |
3093 o.add(42); | 3093 o.add(42); |
3094 o.add(42); | 3094 o.add(42); |
3095 return o; | 3095 return o; |
3096 } | 3096 } |
3097 | 3097 |
3098 checkUnnamed130(core.List<core.int> o) { | 3098 checkUnnamed2206(core.List<core.int> o) { |
3099 unittest.expect(o, unittest.hasLength(2)); | 3099 unittest.expect(o, unittest.hasLength(2)); |
3100 unittest.expect(o[0], unittest.equals(42)); | 3100 unittest.expect(o[0], unittest.equals(42)); |
3101 unittest.expect(o[1], unittest.equals(42)); | 3101 unittest.expect(o[1], unittest.equals(42)); |
3102 } | 3102 } |
3103 | 3103 |
3104 buildUnnamed131() { | 3104 buildUnnamed2207() { |
3105 var o = new core.List<core.String>(); | 3105 var o = new core.List<core.String>(); |
3106 o.add("foo"); | 3106 o.add("foo"); |
3107 o.add("foo"); | 3107 o.add("foo"); |
3108 return o; | 3108 return o; |
3109 } | 3109 } |
3110 | 3110 |
3111 checkUnnamed131(core.List<core.String> o) { | 3111 checkUnnamed2207(core.List<core.String> o) { |
3112 unittest.expect(o, unittest.hasLength(2)); | 3112 unittest.expect(o, unittest.hasLength(2)); |
3113 unittest.expect(o[0], unittest.equals('foo')); | 3113 unittest.expect(o[0], unittest.equals('foo')); |
3114 unittest.expect(o[1], unittest.equals('foo')); | 3114 unittest.expect(o[1], unittest.equals('foo')); |
3115 } | 3115 } |
3116 | 3116 |
3117 | 3117 |
3118 main() { | 3118 main() { |
3119 unittest.group("obj-schema-AccountBidderLocation", () { | 3119 unittest.group("obj-schema-AccountBidderLocation", () { |
3120 unittest.test("to-json--from-json", () { | 3120 unittest.test("to-json--from-json", () { |
3121 var o = buildAccountBidderLocation(); | 3121 var o = buildAccountBidderLocation(); |
(...skipping 1303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4425 }), true); | 4425 }), true); |
4426 res.insert(arg_request).then(unittest.expectAsync(((api.Creative response)
{ | 4426 res.insert(arg_request).then(unittest.expectAsync(((api.Creative response)
{ |
4427 checkCreative(response); | 4427 checkCreative(response); |
4428 }))); | 4428 }))); |
4429 }); | 4429 }); |
4430 | 4430 |
4431 unittest.test("method--list", () { | 4431 unittest.test("method--list", () { |
4432 | 4432 |
4433 var mock = new HttpServerMock(); | 4433 var mock = new HttpServerMock(); |
4434 api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives; | 4434 api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives; |
4435 var arg_accountId = buildUnnamed130(); | 4435 var arg_accountId = buildUnnamed2206(); |
4436 var arg_buyerCreativeId = buildUnnamed131(); | 4436 var arg_buyerCreativeId = buildUnnamed2207(); |
4437 var arg_dealsStatusFilter = "foo"; | 4437 var arg_dealsStatusFilter = "foo"; |
4438 var arg_maxResults = 42; | 4438 var arg_maxResults = 42; |
4439 var arg_openAuctionStatusFilter = "foo"; | 4439 var arg_openAuctionStatusFilter = "foo"; |
4440 var arg_pageToken = "foo"; | 4440 var arg_pageToken = "foo"; |
4441 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 4441 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
4442 var path = (req.url).path; | 4442 var path = (req.url).path; |
4443 var pathOffset = 0; | 4443 var pathOffset = 0; |
4444 var index; | 4444 var index; |
4445 var subPart; | 4445 var subPart; |
4446 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 4446 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
(...skipping 1396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5843 res.list(arg_accountId).then(unittest.expectAsync(((api.GetPublisherProfil
esByAccountIdResponse response) { | 5843 res.list(arg_accountId).then(unittest.expectAsync(((api.GetPublisherProfil
esByAccountIdResponse response) { |
5844 checkGetPublisherProfilesByAccountIdResponse(response); | 5844 checkGetPublisherProfilesByAccountIdResponse(response); |
5845 }))); | 5845 }))); |
5846 }); | 5846 }); |
5847 | 5847 |
5848 }); | 5848 }); |
5849 | 5849 |
5850 | 5850 |
5851 } | 5851 } |
5852 | 5852 |
OLD | NEW |