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 buildUnnamed2038() { | 79 buildUnnamed1809() { |
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 checkUnnamed2038(core.List<api.AccountBidderLocation> o) { | 86 checkUnnamed1809(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 = buildUnnamed2038(); | 97 o.bidderLocation = buildUnnamed1809(); |
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 checkUnnamed2038(o.bidderLocation); | 113 checkUnnamed1809(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 buildUnnamed2039() { | 125 buildUnnamed1810() { |
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 checkUnnamed2039(core.List<api.Account> o) { | 132 checkUnnamed1810(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 = buildUnnamed2039(); | 143 o.items = buildUnnamed1810(); |
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 checkUnnamed2039(o.items); | 153 checkUnnamed1810(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 buildUnnamed2040() { | 159 buildUnnamed1811() { |
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 checkUnnamed2040(core.List<api.MarketplaceDeal> o) { | 166 checkUnnamed1811(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 = buildUnnamed2040(); | 177 o.deals = buildUnnamed1811(); |
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 checkUnnamed2040(o.deals); | 188 checkUnnamed1811(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 buildUnnamed2041() { | 195 buildUnnamed1812() { |
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 checkUnnamed2041(core.List<api.MarketplaceDeal> o) { | 202 checkUnnamed1812(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 = buildUnnamed2041(); | 213 o.deals = buildUnnamed1812(); |
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 checkUnnamed2041(o.deals); | 223 checkUnnamed1812(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 buildUnnamed2042() { | 229 buildUnnamed1813() { |
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 checkUnnamed2042(core.List<api.MarketplaceNote> o) { | 236 checkUnnamed1813(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 = buildUnnamed2042(); | 247 o.notes = buildUnnamed1813(); |
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 checkUnnamed2042(o.notes); | 256 checkUnnamed1813(o.notes); |
257 } | 257 } |
258 buildCounterAddOrderNotesRequest--; | 258 buildCounterAddOrderNotesRequest--; |
259 } | 259 } |
260 | 260 |
261 buildUnnamed2043() { | 261 buildUnnamed1814() { |
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 checkUnnamed2043(core.List<api.MarketplaceNote> o) { | 268 checkUnnamed1814(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 = buildUnnamed2043(); | 279 o.notes = buildUnnamed1814(); |
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 checkUnnamed2043(o.notes); | 288 checkUnnamed1814(o.notes); |
289 } | 289 } |
290 buildCounterAddOrderNotesResponse--; | 290 buildCounterAddOrderNotesResponse--; |
291 } | 291 } |
292 | 292 |
293 buildUnnamed2044() { | 293 buildUnnamed1815() { |
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 checkUnnamed2044(core.List<core.String> o) { | 300 checkUnnamed1815(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 = buildUnnamed2044(); | 313 o.billingId = buildUnnamed1815(); |
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 checkUnnamed2044(o.billingId); | 325 checkUnnamed1815(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 buildUnnamed2045() { | 331 buildUnnamed1816() { |
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 checkUnnamed2045(core.List<api.BillingInfo> o) { | 338 checkUnnamed1816(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 = buildUnnamed2045(); | 349 o.items = buildUnnamed1816(); |
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 checkUnnamed2045(o.items); | 359 checkUnnamed1816(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 buildUnnamed2046() { | 434 buildUnnamed1817() { |
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 checkUnnamed2046(core.List<api.Proposal> o) { | 441 checkUnnamed1817(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 = buildUnnamed2046(); | 452 o.proposals = buildUnnamed1817(); |
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 checkUnnamed2046(o.proposals); | 462 checkUnnamed1817(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 buildUnnamed2047() { | 468 buildUnnamed1818() { |
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 checkUnnamed2047(core.List<api.Proposal> o) { | 475 checkUnnamed1818(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 = buildUnnamed2047(); | 486 o.proposals = buildUnnamed1818(); |
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 checkUnnamed2047(o.proposals); | 495 checkUnnamed1818(o.proposals); |
496 } | 496 } |
497 buildCounterCreateOrdersResponse--; | 497 buildCounterCreateOrdersResponse--; |
498 } | 498 } |
499 | 499 |
500 buildUnnamed2048() { | 500 buildUnnamed1819() { |
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 checkUnnamed2048(core.List<core.String> o) { | 507 checkUnnamed1819(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 buildUnnamed2049() { | 513 buildUnnamed1820() { |
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 checkUnnamed2049(core.List<core.int> o) { | 520 checkUnnamed1820(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 buildUnnamed2050() { | 526 buildUnnamed1821() { |
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 checkUnnamed2050(core.List<core.String> o) { | 533 checkUnnamed1821(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 buildUnnamed2051() { | 539 buildUnnamed1822() { |
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 checkUnnamed2051(core.List<core.String> o) { | 546 checkUnnamed1822(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 buildUnnamed2052() { | 552 buildUnnamed1823() { |
553 var o = new core.List<core.int>(); | 553 var o = new core.List<core.int>(); |
554 o.add(42); | 554 o.add(42); |
555 o.add(42); | 555 o.add(42); |
556 return o; | 556 return o; |
557 } | 557 } |
558 | 558 |
559 checkUnnamed2052(core.List<core.int> o) { | 559 checkUnnamed1823(core.List<core.int> o) { |
560 unittest.expect(o, unittest.hasLength(2)); | 560 unittest.expect(o, unittest.hasLength(2)); |
561 unittest.expect(o[0], unittest.equals(42)); | 561 unittest.expect(o[0], unittest.equals(42)); |
562 unittest.expect(o[1], unittest.equals(42)); | 562 unittest.expect(o[1], unittest.equals(42)); |
563 } | 563 } |
564 | 564 |
565 buildUnnamed2053() { | 565 buildUnnamed1824() { |
566 var o = new core.List<core.String>(); | 566 var o = new core.List<core.String>(); |
567 o.add("foo"); | 567 o.add("foo"); |
568 o.add("foo"); | 568 o.add("foo"); |
569 return o; | 569 return o; |
570 } | 570 } |
571 | 571 |
572 checkUnnamed2053(core.List<core.String> o) { | 572 checkUnnamed1824(core.List<core.String> o) { |
573 unittest.expect(o, unittest.hasLength(2)); | 573 unittest.expect(o, unittest.hasLength(2)); |
574 unittest.expect(o[0], unittest.equals('foo')); | 574 unittest.expect(o[0], unittest.equals('foo')); |
575 unittest.expect(o[1], unittest.equals('foo')); | 575 unittest.expect(o[1], unittest.equals('foo')); |
576 } | 576 } |
577 | 577 |
578 core.int buildCounterCreativeCorrectionsContexts = 0; | 578 core.int buildCounterCreativeCorrectionsContexts = 0; |
579 buildCreativeCorrectionsContexts() { | 579 buildCreativeCorrectionsContexts() { |
580 var o = new api.CreativeCorrectionsContexts(); | 580 var o = new api.CreativeCorrectionsContexts(); |
581 buildCounterCreativeCorrectionsContexts++; | 581 buildCounterCreativeCorrectionsContexts++; |
582 if (buildCounterCreativeCorrectionsContexts < 3) { | 582 if (buildCounterCreativeCorrectionsContexts < 3) { |
583 o.auctionType = buildUnnamed2051(); | 583 o.auctionType = buildUnnamed1822(); |
584 o.contextType = "foo"; | 584 o.contextType = "foo"; |
585 o.geoCriteriaId = buildUnnamed2052(); | 585 o.geoCriteriaId = buildUnnamed1823(); |
586 o.platform = buildUnnamed2053(); | 586 o.platform = buildUnnamed1824(); |
587 } | 587 } |
588 buildCounterCreativeCorrectionsContexts--; | 588 buildCounterCreativeCorrectionsContexts--; |
589 return o; | 589 return o; |
590 } | 590 } |
591 | 591 |
592 checkCreativeCorrectionsContexts(api.CreativeCorrectionsContexts o) { | 592 checkCreativeCorrectionsContexts(api.CreativeCorrectionsContexts o) { |
593 buildCounterCreativeCorrectionsContexts++; | 593 buildCounterCreativeCorrectionsContexts++; |
594 if (buildCounterCreativeCorrectionsContexts < 3) { | 594 if (buildCounterCreativeCorrectionsContexts < 3) { |
595 checkUnnamed2051(o.auctionType); | 595 checkUnnamed1822(o.auctionType); |
596 unittest.expect(o.contextType, unittest.equals('foo')); | 596 unittest.expect(o.contextType, unittest.equals('foo')); |
597 checkUnnamed2052(o.geoCriteriaId); | 597 checkUnnamed1823(o.geoCriteriaId); |
598 checkUnnamed2053(o.platform); | 598 checkUnnamed1824(o.platform); |
599 } | 599 } |
600 buildCounterCreativeCorrectionsContexts--; | 600 buildCounterCreativeCorrectionsContexts--; |
601 } | 601 } |
602 | 602 |
603 buildUnnamed2054() { | 603 buildUnnamed1825() { |
604 var o = new core.List<api.CreativeCorrectionsContexts>(); | 604 var o = new core.List<api.CreativeCorrectionsContexts>(); |
605 o.add(buildCreativeCorrectionsContexts()); | 605 o.add(buildCreativeCorrectionsContexts()); |
606 o.add(buildCreativeCorrectionsContexts()); | 606 o.add(buildCreativeCorrectionsContexts()); |
607 return o; | 607 return o; |
608 } | 608 } |
609 | 609 |
610 checkUnnamed2054(core.List<api.CreativeCorrectionsContexts> o) { | 610 checkUnnamed1825(core.List<api.CreativeCorrectionsContexts> o) { |
611 unittest.expect(o, unittest.hasLength(2)); | 611 unittest.expect(o, unittest.hasLength(2)); |
612 checkCreativeCorrectionsContexts(o[0]); | 612 checkCreativeCorrectionsContexts(o[0]); |
613 checkCreativeCorrectionsContexts(o[1]); | 613 checkCreativeCorrectionsContexts(o[1]); |
614 } | 614 } |
615 | 615 |
616 buildUnnamed2055() { | 616 buildUnnamed1826() { |
617 var o = new core.List<core.String>(); | 617 var o = new core.List<core.String>(); |
618 o.add("foo"); | 618 o.add("foo"); |
619 o.add("foo"); | 619 o.add("foo"); |
620 return o; | 620 return o; |
621 } | 621 } |
622 | 622 |
623 checkUnnamed2055(core.List<core.String> o) { | 623 checkUnnamed1826(core.List<core.String> o) { |
624 unittest.expect(o, unittest.hasLength(2)); | 624 unittest.expect(o, unittest.hasLength(2)); |
625 unittest.expect(o[0], unittest.equals('foo')); | 625 unittest.expect(o[0], unittest.equals('foo')); |
626 unittest.expect(o[1], unittest.equals('foo')); | 626 unittest.expect(o[1], unittest.equals('foo')); |
627 } | 627 } |
628 | 628 |
629 core.int buildCounterCreativeCorrections = 0; | 629 core.int buildCounterCreativeCorrections = 0; |
630 buildCreativeCorrections() { | 630 buildCreativeCorrections() { |
631 var o = new api.CreativeCorrections(); | 631 var o = new api.CreativeCorrections(); |
632 buildCounterCreativeCorrections++; | 632 buildCounterCreativeCorrections++; |
633 if (buildCounterCreativeCorrections < 3) { | 633 if (buildCounterCreativeCorrections < 3) { |
634 o.contexts = buildUnnamed2054(); | 634 o.contexts = buildUnnamed1825(); |
635 o.details = buildUnnamed2055(); | 635 o.details = buildUnnamed1826(); |
636 o.reason = "foo"; | 636 o.reason = "foo"; |
637 } | 637 } |
638 buildCounterCreativeCorrections--; | 638 buildCounterCreativeCorrections--; |
639 return o; | 639 return o; |
640 } | 640 } |
641 | 641 |
642 checkCreativeCorrections(api.CreativeCorrections o) { | 642 checkCreativeCorrections(api.CreativeCorrections o) { |
643 buildCounterCreativeCorrections++; | 643 buildCounterCreativeCorrections++; |
644 if (buildCounterCreativeCorrections < 3) { | 644 if (buildCounterCreativeCorrections < 3) { |
645 checkUnnamed2054(o.contexts); | 645 checkUnnamed1825(o.contexts); |
646 checkUnnamed2055(o.details); | 646 checkUnnamed1826(o.details); |
647 unittest.expect(o.reason, unittest.equals('foo')); | 647 unittest.expect(o.reason, unittest.equals('foo')); |
648 } | 648 } |
649 buildCounterCreativeCorrections--; | 649 buildCounterCreativeCorrections--; |
650 } | 650 } |
651 | 651 |
652 buildUnnamed2056() { | 652 buildUnnamed1827() { |
653 var o = new core.List<api.CreativeCorrections>(); | 653 var o = new core.List<api.CreativeCorrections>(); |
654 o.add(buildCreativeCorrections()); | 654 o.add(buildCreativeCorrections()); |
655 o.add(buildCreativeCorrections()); | 655 o.add(buildCreativeCorrections()); |
656 return o; | 656 return o; |
657 } | 657 } |
658 | 658 |
659 checkUnnamed2056(core.List<api.CreativeCorrections> o) { | 659 checkUnnamed1827(core.List<api.CreativeCorrections> o) { |
660 unittest.expect(o, unittest.hasLength(2)); | 660 unittest.expect(o, unittest.hasLength(2)); |
661 checkCreativeCorrections(o[0]); | 661 checkCreativeCorrections(o[0]); |
662 checkCreativeCorrections(o[1]); | 662 checkCreativeCorrections(o[1]); |
663 } | 663 } |
664 | 664 |
665 buildUnnamed2057() { | 665 buildUnnamed1828() { |
666 var o = new core.List<core.String>(); | 666 var o = new core.List<core.String>(); |
667 o.add("foo"); | 667 o.add("foo"); |
668 o.add("foo"); | 668 o.add("foo"); |
669 return o; | 669 return o; |
670 } | 670 } |
671 | 671 |
672 checkUnnamed2057(core.List<core.String> o) { | 672 checkUnnamed1828(core.List<core.String> o) { |
673 unittest.expect(o, unittest.hasLength(2)); | 673 unittest.expect(o, unittest.hasLength(2)); |
674 unittest.expect(o[0], unittest.equals('foo')); | 674 unittest.expect(o[0], unittest.equals('foo')); |
675 unittest.expect(o[1], unittest.equals('foo')); | 675 unittest.expect(o[1], unittest.equals('foo')); |
676 } | 676 } |
677 | 677 |
678 core.int buildCounterCreativeFilteringReasonsReasons = 0; | 678 core.int buildCounterCreativeFilteringReasonsReasons = 0; |
679 buildCreativeFilteringReasonsReasons() { | 679 buildCreativeFilteringReasonsReasons() { |
680 var o = new api.CreativeFilteringReasonsReasons(); | 680 var o = new api.CreativeFilteringReasonsReasons(); |
681 buildCounterCreativeFilteringReasonsReasons++; | 681 buildCounterCreativeFilteringReasonsReasons++; |
682 if (buildCounterCreativeFilteringReasonsReasons < 3) { | 682 if (buildCounterCreativeFilteringReasonsReasons < 3) { |
683 o.filteringCount = "foo"; | 683 o.filteringCount = "foo"; |
684 o.filteringStatus = 42; | 684 o.filteringStatus = 42; |
685 } | 685 } |
686 buildCounterCreativeFilteringReasonsReasons--; | 686 buildCounterCreativeFilteringReasonsReasons--; |
687 return o; | 687 return o; |
688 } | 688 } |
689 | 689 |
690 checkCreativeFilteringReasonsReasons(api.CreativeFilteringReasonsReasons o) { | 690 checkCreativeFilteringReasonsReasons(api.CreativeFilteringReasonsReasons o) { |
691 buildCounterCreativeFilteringReasonsReasons++; | 691 buildCounterCreativeFilteringReasonsReasons++; |
692 if (buildCounterCreativeFilteringReasonsReasons < 3) { | 692 if (buildCounterCreativeFilteringReasonsReasons < 3) { |
693 unittest.expect(o.filteringCount, unittest.equals('foo')); | 693 unittest.expect(o.filteringCount, unittest.equals('foo')); |
694 unittest.expect(o.filteringStatus, unittest.equals(42)); | 694 unittest.expect(o.filteringStatus, unittest.equals(42)); |
695 } | 695 } |
696 buildCounterCreativeFilteringReasonsReasons--; | 696 buildCounterCreativeFilteringReasonsReasons--; |
697 } | 697 } |
698 | 698 |
699 buildUnnamed2058() { | 699 buildUnnamed1829() { |
700 var o = new core.List<api.CreativeFilteringReasonsReasons>(); | 700 var o = new core.List<api.CreativeFilteringReasonsReasons>(); |
701 o.add(buildCreativeFilteringReasonsReasons()); | 701 o.add(buildCreativeFilteringReasonsReasons()); |
702 o.add(buildCreativeFilteringReasonsReasons()); | 702 o.add(buildCreativeFilteringReasonsReasons()); |
703 return o; | 703 return o; |
704 } | 704 } |
705 | 705 |
706 checkUnnamed2058(core.List<api.CreativeFilteringReasonsReasons> o) { | 706 checkUnnamed1829(core.List<api.CreativeFilteringReasonsReasons> o) { |
707 unittest.expect(o, unittest.hasLength(2)); | 707 unittest.expect(o, unittest.hasLength(2)); |
708 checkCreativeFilteringReasonsReasons(o[0]); | 708 checkCreativeFilteringReasonsReasons(o[0]); |
709 checkCreativeFilteringReasonsReasons(o[1]); | 709 checkCreativeFilteringReasonsReasons(o[1]); |
710 } | 710 } |
711 | 711 |
712 core.int buildCounterCreativeFilteringReasons = 0; | 712 core.int buildCounterCreativeFilteringReasons = 0; |
713 buildCreativeFilteringReasons() { | 713 buildCreativeFilteringReasons() { |
714 var o = new api.CreativeFilteringReasons(); | 714 var o = new api.CreativeFilteringReasons(); |
715 buildCounterCreativeFilteringReasons++; | 715 buildCounterCreativeFilteringReasons++; |
716 if (buildCounterCreativeFilteringReasons < 3) { | 716 if (buildCounterCreativeFilteringReasons < 3) { |
717 o.date = "foo"; | 717 o.date = "foo"; |
718 o.reasons = buildUnnamed2058(); | 718 o.reasons = buildUnnamed1829(); |
719 } | 719 } |
720 buildCounterCreativeFilteringReasons--; | 720 buildCounterCreativeFilteringReasons--; |
721 return o; | 721 return o; |
722 } | 722 } |
723 | 723 |
724 checkCreativeFilteringReasons(api.CreativeFilteringReasons o) { | 724 checkCreativeFilteringReasons(api.CreativeFilteringReasons o) { |
725 buildCounterCreativeFilteringReasons++; | 725 buildCounterCreativeFilteringReasons++; |
726 if (buildCounterCreativeFilteringReasons < 3) { | 726 if (buildCounterCreativeFilteringReasons < 3) { |
727 unittest.expect(o.date, unittest.equals('foo')); | 727 unittest.expect(o.date, unittest.equals('foo')); |
728 checkUnnamed2058(o.reasons); | 728 checkUnnamed1829(o.reasons); |
729 } | 729 } |
730 buildCounterCreativeFilteringReasons--; | 730 buildCounterCreativeFilteringReasons--; |
731 } | 731 } |
732 | 732 |
733 buildUnnamed2059() { | 733 buildUnnamed1830() { |
734 var o = new core.List<core.String>(); | 734 var o = new core.List<core.String>(); |
735 o.add("foo"); | 735 o.add("foo"); |
736 o.add("foo"); | 736 o.add("foo"); |
737 return o; | 737 return o; |
738 } | 738 } |
739 | 739 |
740 checkUnnamed2059(core.List<core.String> o) { | 740 checkUnnamed1830(core.List<core.String> o) { |
741 unittest.expect(o, unittest.hasLength(2)); | 741 unittest.expect(o, unittest.hasLength(2)); |
742 unittest.expect(o[0], unittest.equals('foo')); | 742 unittest.expect(o[0], unittest.equals('foo')); |
743 unittest.expect(o[1], unittest.equals('foo')); | 743 unittest.expect(o[1], unittest.equals('foo')); |
744 } | 744 } |
745 | 745 |
746 buildUnnamed2060() { | 746 buildUnnamed1831() { |
747 var o = new core.List<core.String>(); | 747 var o = new core.List<core.String>(); |
748 o.add("foo"); | 748 o.add("foo"); |
749 o.add("foo"); | 749 o.add("foo"); |
750 return o; | 750 return o; |
751 } | 751 } |
752 | 752 |
753 checkUnnamed2060(core.List<core.String> o) { | 753 checkUnnamed1831(core.List<core.String> o) { |
754 unittest.expect(o, unittest.hasLength(2)); | 754 unittest.expect(o, unittest.hasLength(2)); |
755 unittest.expect(o[0], unittest.equals('foo')); | 755 unittest.expect(o[0], unittest.equals('foo')); |
756 unittest.expect(o[1], unittest.equals('foo')); | 756 unittest.expect(o[1], unittest.equals('foo')); |
757 } | 757 } |
758 | 758 |
759 core.int buildCounterCreativeNativeAdAppIcon = 0; | 759 core.int buildCounterCreativeNativeAdAppIcon = 0; |
760 buildCreativeNativeAdAppIcon() { | 760 buildCreativeNativeAdAppIcon() { |
761 var o = new api.CreativeNativeAdAppIcon(); | 761 var o = new api.CreativeNativeAdAppIcon(); |
762 buildCounterCreativeNativeAdAppIcon++; | 762 buildCounterCreativeNativeAdAppIcon++; |
763 if (buildCounterCreativeNativeAdAppIcon < 3) { | 763 if (buildCounterCreativeNativeAdAppIcon < 3) { |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
795 checkCreativeNativeAdImage(api.CreativeNativeAdImage o) { | 795 checkCreativeNativeAdImage(api.CreativeNativeAdImage o) { |
796 buildCounterCreativeNativeAdImage++; | 796 buildCounterCreativeNativeAdImage++; |
797 if (buildCounterCreativeNativeAdImage < 3) { | 797 if (buildCounterCreativeNativeAdImage < 3) { |
798 unittest.expect(o.height, unittest.equals(42)); | 798 unittest.expect(o.height, unittest.equals(42)); |
799 unittest.expect(o.url, unittest.equals('foo')); | 799 unittest.expect(o.url, unittest.equals('foo')); |
800 unittest.expect(o.width, unittest.equals(42)); | 800 unittest.expect(o.width, unittest.equals(42)); |
801 } | 801 } |
802 buildCounterCreativeNativeAdImage--; | 802 buildCounterCreativeNativeAdImage--; |
803 } | 803 } |
804 | 804 |
805 buildUnnamed2061() { | 805 buildUnnamed1832() { |
806 var o = new core.List<core.String>(); | 806 var o = new core.List<core.String>(); |
807 o.add("foo"); | 807 o.add("foo"); |
808 o.add("foo"); | 808 o.add("foo"); |
809 return o; | 809 return o; |
810 } | 810 } |
811 | 811 |
812 checkUnnamed2061(core.List<core.String> o) { | 812 checkUnnamed1832(core.List<core.String> o) { |
813 unittest.expect(o, unittest.hasLength(2)); | 813 unittest.expect(o, unittest.hasLength(2)); |
814 unittest.expect(o[0], unittest.equals('foo')); | 814 unittest.expect(o[0], unittest.equals('foo')); |
815 unittest.expect(o[1], unittest.equals('foo')); | 815 unittest.expect(o[1], unittest.equals('foo')); |
816 } | 816 } |
817 | 817 |
818 core.int buildCounterCreativeNativeAdLogo = 0; | 818 core.int buildCounterCreativeNativeAdLogo = 0; |
819 buildCreativeNativeAdLogo() { | 819 buildCreativeNativeAdLogo() { |
820 var o = new api.CreativeNativeAdLogo(); | 820 var o = new api.CreativeNativeAdLogo(); |
821 buildCounterCreativeNativeAdLogo++; | 821 buildCounterCreativeNativeAdLogo++; |
822 if (buildCounterCreativeNativeAdLogo < 3) { | 822 if (buildCounterCreativeNativeAdLogo < 3) { |
(...skipping 21 matching lines...) Expand all Loading... |
844 buildCounterCreativeNativeAd++; | 844 buildCounterCreativeNativeAd++; |
845 if (buildCounterCreativeNativeAd < 3) { | 845 if (buildCounterCreativeNativeAd < 3) { |
846 o.advertiser = "foo"; | 846 o.advertiser = "foo"; |
847 o.appIcon = buildCreativeNativeAdAppIcon(); | 847 o.appIcon = buildCreativeNativeAdAppIcon(); |
848 o.body = "foo"; | 848 o.body = "foo"; |
849 o.callToAction = "foo"; | 849 o.callToAction = "foo"; |
850 o.clickLinkUrl = "foo"; | 850 o.clickLinkUrl = "foo"; |
851 o.clickTrackingUrl = "foo"; | 851 o.clickTrackingUrl = "foo"; |
852 o.headline = "foo"; | 852 o.headline = "foo"; |
853 o.image = buildCreativeNativeAdImage(); | 853 o.image = buildCreativeNativeAdImage(); |
854 o.impressionTrackingUrl = buildUnnamed2061(); | 854 o.impressionTrackingUrl = buildUnnamed1832(); |
855 o.logo = buildCreativeNativeAdLogo(); | 855 o.logo = buildCreativeNativeAdLogo(); |
856 o.price = "foo"; | 856 o.price = "foo"; |
857 o.starRating = 42.0; | 857 o.starRating = 42.0; |
858 o.store = "foo"; | 858 o.store = "foo"; |
859 o.videoURL = "foo"; | 859 o.videoURL = "foo"; |
860 } | 860 } |
861 buildCounterCreativeNativeAd--; | 861 buildCounterCreativeNativeAd--; |
862 return o; | 862 return o; |
863 } | 863 } |
864 | 864 |
865 checkCreativeNativeAd(api.CreativeNativeAd o) { | 865 checkCreativeNativeAd(api.CreativeNativeAd o) { |
866 buildCounterCreativeNativeAd++; | 866 buildCounterCreativeNativeAd++; |
867 if (buildCounterCreativeNativeAd < 3) { | 867 if (buildCounterCreativeNativeAd < 3) { |
868 unittest.expect(o.advertiser, unittest.equals('foo')); | 868 unittest.expect(o.advertiser, unittest.equals('foo')); |
869 checkCreativeNativeAdAppIcon(o.appIcon); | 869 checkCreativeNativeAdAppIcon(o.appIcon); |
870 unittest.expect(o.body, unittest.equals('foo')); | 870 unittest.expect(o.body, unittest.equals('foo')); |
871 unittest.expect(o.callToAction, unittest.equals('foo')); | 871 unittest.expect(o.callToAction, unittest.equals('foo')); |
872 unittest.expect(o.clickLinkUrl, unittest.equals('foo')); | 872 unittest.expect(o.clickLinkUrl, unittest.equals('foo')); |
873 unittest.expect(o.clickTrackingUrl, unittest.equals('foo')); | 873 unittest.expect(o.clickTrackingUrl, unittest.equals('foo')); |
874 unittest.expect(o.headline, unittest.equals('foo')); | 874 unittest.expect(o.headline, unittest.equals('foo')); |
875 checkCreativeNativeAdImage(o.image); | 875 checkCreativeNativeAdImage(o.image); |
876 checkUnnamed2061(o.impressionTrackingUrl); | 876 checkUnnamed1832(o.impressionTrackingUrl); |
877 checkCreativeNativeAdLogo(o.logo); | 877 checkCreativeNativeAdLogo(o.logo); |
878 unittest.expect(o.price, unittest.equals('foo')); | 878 unittest.expect(o.price, unittest.equals('foo')); |
879 unittest.expect(o.starRating, unittest.equals(42.0)); | 879 unittest.expect(o.starRating, unittest.equals(42.0)); |
880 unittest.expect(o.store, unittest.equals('foo')); | 880 unittest.expect(o.store, unittest.equals('foo')); |
881 unittest.expect(o.videoURL, unittest.equals('foo')); | 881 unittest.expect(o.videoURL, unittest.equals('foo')); |
882 } | 882 } |
883 buildCounterCreativeNativeAd--; | 883 buildCounterCreativeNativeAd--; |
884 } | 884 } |
885 | 885 |
886 buildUnnamed2062() { | 886 buildUnnamed1833() { |
887 var o = new core.List<core.int>(); | 887 var o = new core.List<core.int>(); |
888 o.add(42); | 888 o.add(42); |
889 o.add(42); | 889 o.add(42); |
890 return o; | 890 return o; |
891 } | 891 } |
892 | 892 |
893 checkUnnamed2062(core.List<core.int> o) { | 893 checkUnnamed1833(core.List<core.int> o) { |
894 unittest.expect(o, unittest.hasLength(2)); | 894 unittest.expect(o, unittest.hasLength(2)); |
895 unittest.expect(o[0], unittest.equals(42)); | 895 unittest.expect(o[0], unittest.equals(42)); |
896 unittest.expect(o[1], unittest.equals(42)); | 896 unittest.expect(o[1], unittest.equals(42)); |
897 } | 897 } |
898 | 898 |
899 buildUnnamed2063() { | 899 buildUnnamed1834() { |
900 var o = new core.List<core.int>(); | 900 var o = new core.List<core.int>(); |
901 o.add(42); | 901 o.add(42); |
902 o.add(42); | 902 o.add(42); |
903 return o; | 903 return o; |
904 } | 904 } |
905 | 905 |
906 checkUnnamed2063(core.List<core.int> o) { | 906 checkUnnamed1834(core.List<core.int> o) { |
907 unittest.expect(o, unittest.hasLength(2)); | 907 unittest.expect(o, unittest.hasLength(2)); |
908 unittest.expect(o[0], unittest.equals(42)); | 908 unittest.expect(o[0], unittest.equals(42)); |
909 unittest.expect(o[1], unittest.equals(42)); | 909 unittest.expect(o[1], unittest.equals(42)); |
910 } | 910 } |
911 | 911 |
912 buildUnnamed2064() { | 912 buildUnnamed1835() { |
913 var o = new core.List<core.int>(); | 913 var o = new core.List<core.int>(); |
914 o.add(42); | 914 o.add(42); |
915 o.add(42); | 915 o.add(42); |
916 return o; | 916 return o; |
917 } | 917 } |
918 | 918 |
919 checkUnnamed2064(core.List<core.int> o) { | 919 checkUnnamed1835(core.List<core.int> o) { |
920 unittest.expect(o, unittest.hasLength(2)); | 920 unittest.expect(o, unittest.hasLength(2)); |
921 unittest.expect(o[0], unittest.equals(42)); | 921 unittest.expect(o[0], unittest.equals(42)); |
922 unittest.expect(o[1], unittest.equals(42)); | 922 unittest.expect(o[1], unittest.equals(42)); |
923 } | 923 } |
924 | 924 |
925 buildUnnamed2065() { | 925 buildUnnamed1836() { |
926 var o = new core.List<core.String>(); | 926 var o = new core.List<core.String>(); |
927 o.add("foo"); | 927 o.add("foo"); |
928 o.add("foo"); | 928 o.add("foo"); |
929 return o; | 929 return o; |
930 } | 930 } |
931 | 931 |
932 checkUnnamed2065(core.List<core.String> o) { | 932 checkUnnamed1836(core.List<core.String> o) { |
933 unittest.expect(o, unittest.hasLength(2)); | 933 unittest.expect(o, unittest.hasLength(2)); |
934 unittest.expect(o[0], unittest.equals('foo')); | 934 unittest.expect(o[0], unittest.equals('foo')); |
935 unittest.expect(o[1], unittest.equals('foo')); | 935 unittest.expect(o[1], unittest.equals('foo')); |
936 } | 936 } |
937 | 937 |
938 buildUnnamed2066() { | 938 buildUnnamed1837() { |
939 var o = new core.List<core.int>(); | 939 var o = new core.List<core.int>(); |
940 o.add(42); | 940 o.add(42); |
941 o.add(42); | 941 o.add(42); |
942 return o; | 942 return o; |
943 } | 943 } |
944 | 944 |
945 checkUnnamed2066(core.List<core.int> o) { | 945 checkUnnamed1837(core.List<core.int> o) { |
946 unittest.expect(o, unittest.hasLength(2)); | 946 unittest.expect(o, unittest.hasLength(2)); |
947 unittest.expect(o[0], unittest.equals(42)); | 947 unittest.expect(o[0], unittest.equals(42)); |
948 unittest.expect(o[1], unittest.equals(42)); | 948 unittest.expect(o[1], unittest.equals(42)); |
949 } | 949 } |
950 | 950 |
951 buildUnnamed2067() { | 951 buildUnnamed1838() { |
952 var o = new core.List<core.String>(); | 952 var o = new core.List<core.String>(); |
953 o.add("foo"); | 953 o.add("foo"); |
954 o.add("foo"); | 954 o.add("foo"); |
955 return o; | 955 return o; |
956 } | 956 } |
957 | 957 |
958 checkUnnamed2067(core.List<core.String> o) { | 958 checkUnnamed1838(core.List<core.String> o) { |
959 unittest.expect(o, unittest.hasLength(2)); | 959 unittest.expect(o, unittest.hasLength(2)); |
960 unittest.expect(o[0], unittest.equals('foo')); | 960 unittest.expect(o[0], unittest.equals('foo')); |
961 unittest.expect(o[1], unittest.equals('foo')); | 961 unittest.expect(o[1], unittest.equals('foo')); |
962 } | 962 } |
963 | 963 |
964 core.int buildCounterCreativeServingRestrictionsContexts = 0; | 964 core.int buildCounterCreativeServingRestrictionsContexts = 0; |
965 buildCreativeServingRestrictionsContexts() { | 965 buildCreativeServingRestrictionsContexts() { |
966 var o = new api.CreativeServingRestrictionsContexts(); | 966 var o = new api.CreativeServingRestrictionsContexts(); |
967 buildCounterCreativeServingRestrictionsContexts++; | 967 buildCounterCreativeServingRestrictionsContexts++; |
968 if (buildCounterCreativeServingRestrictionsContexts < 3) { | 968 if (buildCounterCreativeServingRestrictionsContexts < 3) { |
969 o.auctionType = buildUnnamed2065(); | 969 o.auctionType = buildUnnamed1836(); |
970 o.contextType = "foo"; | 970 o.contextType = "foo"; |
971 o.geoCriteriaId = buildUnnamed2066(); | 971 o.geoCriteriaId = buildUnnamed1837(); |
972 o.platform = buildUnnamed2067(); | 972 o.platform = buildUnnamed1838(); |
973 } | 973 } |
974 buildCounterCreativeServingRestrictionsContexts--; | 974 buildCounterCreativeServingRestrictionsContexts--; |
975 return o; | 975 return o; |
976 } | 976 } |
977 | 977 |
978 checkCreativeServingRestrictionsContexts(api.CreativeServingRestrictionsContexts
o) { | 978 checkCreativeServingRestrictionsContexts(api.CreativeServingRestrictionsContexts
o) { |
979 buildCounterCreativeServingRestrictionsContexts++; | 979 buildCounterCreativeServingRestrictionsContexts++; |
980 if (buildCounterCreativeServingRestrictionsContexts < 3) { | 980 if (buildCounterCreativeServingRestrictionsContexts < 3) { |
981 checkUnnamed2065(o.auctionType); | 981 checkUnnamed1836(o.auctionType); |
982 unittest.expect(o.contextType, unittest.equals('foo')); | 982 unittest.expect(o.contextType, unittest.equals('foo')); |
983 checkUnnamed2066(o.geoCriteriaId); | 983 checkUnnamed1837(o.geoCriteriaId); |
984 checkUnnamed2067(o.platform); | 984 checkUnnamed1838(o.platform); |
985 } | 985 } |
986 buildCounterCreativeServingRestrictionsContexts--; | 986 buildCounterCreativeServingRestrictionsContexts--; |
987 } | 987 } |
988 | 988 |
989 buildUnnamed2068() { | 989 buildUnnamed1839() { |
990 var o = new core.List<api.CreativeServingRestrictionsContexts>(); | 990 var o = new core.List<api.CreativeServingRestrictionsContexts>(); |
991 o.add(buildCreativeServingRestrictionsContexts()); | 991 o.add(buildCreativeServingRestrictionsContexts()); |
992 o.add(buildCreativeServingRestrictionsContexts()); | 992 o.add(buildCreativeServingRestrictionsContexts()); |
993 return o; | 993 return o; |
994 } | 994 } |
995 | 995 |
996 checkUnnamed2068(core.List<api.CreativeServingRestrictionsContexts> o) { | 996 checkUnnamed1839(core.List<api.CreativeServingRestrictionsContexts> o) { |
997 unittest.expect(o, unittest.hasLength(2)); | 997 unittest.expect(o, unittest.hasLength(2)); |
998 checkCreativeServingRestrictionsContexts(o[0]); | 998 checkCreativeServingRestrictionsContexts(o[0]); |
999 checkCreativeServingRestrictionsContexts(o[1]); | 999 checkCreativeServingRestrictionsContexts(o[1]); |
1000 } | 1000 } |
1001 | 1001 |
1002 buildUnnamed2069() { | 1002 buildUnnamed1840() { |
1003 var o = new core.List<core.String>(); | 1003 var o = new core.List<core.String>(); |
1004 o.add("foo"); | 1004 o.add("foo"); |
1005 o.add("foo"); | 1005 o.add("foo"); |
1006 return o; | 1006 return o; |
1007 } | 1007 } |
1008 | 1008 |
1009 checkUnnamed2069(core.List<core.String> o) { | 1009 checkUnnamed1840(core.List<core.String> o) { |
1010 unittest.expect(o, unittest.hasLength(2)); | 1010 unittest.expect(o, unittest.hasLength(2)); |
1011 unittest.expect(o[0], unittest.equals('foo')); | 1011 unittest.expect(o[0], unittest.equals('foo')); |
1012 unittest.expect(o[1], unittest.equals('foo')); | 1012 unittest.expect(o[1], unittest.equals('foo')); |
1013 } | 1013 } |
1014 | 1014 |
1015 core.int buildCounterCreativeServingRestrictionsDisapprovalReasons = 0; | 1015 core.int buildCounterCreativeServingRestrictionsDisapprovalReasons = 0; |
1016 buildCreativeServingRestrictionsDisapprovalReasons() { | 1016 buildCreativeServingRestrictionsDisapprovalReasons() { |
1017 var o = new api.CreativeServingRestrictionsDisapprovalReasons(); | 1017 var o = new api.CreativeServingRestrictionsDisapprovalReasons(); |
1018 buildCounterCreativeServingRestrictionsDisapprovalReasons++; | 1018 buildCounterCreativeServingRestrictionsDisapprovalReasons++; |
1019 if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) { | 1019 if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) { |
1020 o.details = buildUnnamed2069(); | 1020 o.details = buildUnnamed1840(); |
1021 o.reason = "foo"; | 1021 o.reason = "foo"; |
1022 } | 1022 } |
1023 buildCounterCreativeServingRestrictionsDisapprovalReasons--; | 1023 buildCounterCreativeServingRestrictionsDisapprovalReasons--; |
1024 return o; | 1024 return o; |
1025 } | 1025 } |
1026 | 1026 |
1027 checkCreativeServingRestrictionsDisapprovalReasons(api.CreativeServingRestrictio
nsDisapprovalReasons o) { | 1027 checkCreativeServingRestrictionsDisapprovalReasons(api.CreativeServingRestrictio
nsDisapprovalReasons o) { |
1028 buildCounterCreativeServingRestrictionsDisapprovalReasons++; | 1028 buildCounterCreativeServingRestrictionsDisapprovalReasons++; |
1029 if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) { | 1029 if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) { |
1030 checkUnnamed2069(o.details); | 1030 checkUnnamed1840(o.details); |
1031 unittest.expect(o.reason, unittest.equals('foo')); | 1031 unittest.expect(o.reason, unittest.equals('foo')); |
1032 } | 1032 } |
1033 buildCounterCreativeServingRestrictionsDisapprovalReasons--; | 1033 buildCounterCreativeServingRestrictionsDisapprovalReasons--; |
1034 } | 1034 } |
1035 | 1035 |
1036 buildUnnamed2070() { | 1036 buildUnnamed1841() { |
1037 var o = new core.List<api.CreativeServingRestrictionsDisapprovalReasons>(); | 1037 var o = new core.List<api.CreativeServingRestrictionsDisapprovalReasons>(); |
1038 o.add(buildCreativeServingRestrictionsDisapprovalReasons()); | 1038 o.add(buildCreativeServingRestrictionsDisapprovalReasons()); |
1039 o.add(buildCreativeServingRestrictionsDisapprovalReasons()); | 1039 o.add(buildCreativeServingRestrictionsDisapprovalReasons()); |
1040 return o; | 1040 return o; |
1041 } | 1041 } |
1042 | 1042 |
1043 checkUnnamed2070(core.List<api.CreativeServingRestrictionsDisapprovalReasons> o)
{ | 1043 checkUnnamed1841(core.List<api.CreativeServingRestrictionsDisapprovalReasons> o)
{ |
1044 unittest.expect(o, unittest.hasLength(2)); | 1044 unittest.expect(o, unittest.hasLength(2)); |
1045 checkCreativeServingRestrictionsDisapprovalReasons(o[0]); | 1045 checkCreativeServingRestrictionsDisapprovalReasons(o[0]); |
1046 checkCreativeServingRestrictionsDisapprovalReasons(o[1]); | 1046 checkCreativeServingRestrictionsDisapprovalReasons(o[1]); |
1047 } | 1047 } |
1048 | 1048 |
1049 core.int buildCounterCreativeServingRestrictions = 0; | 1049 core.int buildCounterCreativeServingRestrictions = 0; |
1050 buildCreativeServingRestrictions() { | 1050 buildCreativeServingRestrictions() { |
1051 var o = new api.CreativeServingRestrictions(); | 1051 var o = new api.CreativeServingRestrictions(); |
1052 buildCounterCreativeServingRestrictions++; | 1052 buildCounterCreativeServingRestrictions++; |
1053 if (buildCounterCreativeServingRestrictions < 3) { | 1053 if (buildCounterCreativeServingRestrictions < 3) { |
1054 o.contexts = buildUnnamed2068(); | 1054 o.contexts = buildUnnamed1839(); |
1055 o.disapprovalReasons = buildUnnamed2070(); | 1055 o.disapprovalReasons = buildUnnamed1841(); |
1056 o.reason = "foo"; | 1056 o.reason = "foo"; |
1057 } | 1057 } |
1058 buildCounterCreativeServingRestrictions--; | 1058 buildCounterCreativeServingRestrictions--; |
1059 return o; | 1059 return o; |
1060 } | 1060 } |
1061 | 1061 |
1062 checkCreativeServingRestrictions(api.CreativeServingRestrictions o) { | 1062 checkCreativeServingRestrictions(api.CreativeServingRestrictions o) { |
1063 buildCounterCreativeServingRestrictions++; | 1063 buildCounterCreativeServingRestrictions++; |
1064 if (buildCounterCreativeServingRestrictions < 3) { | 1064 if (buildCounterCreativeServingRestrictions < 3) { |
1065 checkUnnamed2068(o.contexts); | 1065 checkUnnamed1839(o.contexts); |
1066 checkUnnamed2070(o.disapprovalReasons); | 1066 checkUnnamed1841(o.disapprovalReasons); |
1067 unittest.expect(o.reason, unittest.equals('foo')); | 1067 unittest.expect(o.reason, unittest.equals('foo')); |
1068 } | 1068 } |
1069 buildCounterCreativeServingRestrictions--; | 1069 buildCounterCreativeServingRestrictions--; |
1070 } | 1070 } |
1071 | 1071 |
1072 buildUnnamed2071() { | 1072 buildUnnamed1842() { |
1073 var o = new core.List<api.CreativeServingRestrictions>(); | 1073 var o = new core.List<api.CreativeServingRestrictions>(); |
1074 o.add(buildCreativeServingRestrictions()); | 1074 o.add(buildCreativeServingRestrictions()); |
1075 o.add(buildCreativeServingRestrictions()); | 1075 o.add(buildCreativeServingRestrictions()); |
1076 return o; | 1076 return o; |
1077 } | 1077 } |
1078 | 1078 |
1079 checkUnnamed2071(core.List<api.CreativeServingRestrictions> o) { | 1079 checkUnnamed1842(core.List<api.CreativeServingRestrictions> o) { |
1080 unittest.expect(o, unittest.hasLength(2)); | 1080 unittest.expect(o, unittest.hasLength(2)); |
1081 checkCreativeServingRestrictions(o[0]); | 1081 checkCreativeServingRestrictions(o[0]); |
1082 checkCreativeServingRestrictions(o[1]); | 1082 checkCreativeServingRestrictions(o[1]); |
1083 } | 1083 } |
1084 | 1084 |
1085 buildUnnamed2072() { | 1085 buildUnnamed1843() { |
1086 var o = new core.List<core.int>(); | 1086 var o = new core.List<core.int>(); |
1087 o.add(42); | 1087 o.add(42); |
1088 o.add(42); | 1088 o.add(42); |
1089 return o; | 1089 return o; |
1090 } | 1090 } |
1091 | 1091 |
1092 checkUnnamed2072(core.List<core.int> o) { | 1092 checkUnnamed1843(core.List<core.int> o) { |
1093 unittest.expect(o, unittest.hasLength(2)); | 1093 unittest.expect(o, unittest.hasLength(2)); |
1094 unittest.expect(o[0], unittest.equals(42)); | 1094 unittest.expect(o[0], unittest.equals(42)); |
1095 unittest.expect(o[1], unittest.equals(42)); | 1095 unittest.expect(o[1], unittest.equals(42)); |
1096 } | 1096 } |
1097 | 1097 |
1098 core.int buildCounterCreative = 0; | 1098 core.int buildCounterCreative = 0; |
1099 buildCreative() { | 1099 buildCreative() { |
1100 var o = new api.Creative(); | 1100 var o = new api.Creative(); |
1101 buildCounterCreative++; | 1101 buildCounterCreative++; |
1102 if (buildCounterCreative < 3) { | 1102 if (buildCounterCreative < 3) { |
1103 o.HTMLSnippet = "foo"; | 1103 o.HTMLSnippet = "foo"; |
1104 o.accountId = 42; | 1104 o.accountId = 42; |
1105 o.adChoicesDestinationUrl = "foo"; | 1105 o.adChoicesDestinationUrl = "foo"; |
1106 o.advertiserId = buildUnnamed2048(); | 1106 o.advertiserId = buildUnnamed1819(); |
1107 o.advertiserName = "foo"; | 1107 o.advertiserName = "foo"; |
1108 o.agencyId = "foo"; | 1108 o.agencyId = "foo"; |
1109 o.apiUploadTimestamp = core.DateTime.parse("2002-02-27T14:01:02"); | 1109 o.apiUploadTimestamp = core.DateTime.parse("2002-02-27T14:01:02"); |
1110 o.attribute = buildUnnamed2049(); | 1110 o.attribute = buildUnnamed1820(); |
1111 o.buyerCreativeId = "foo"; | 1111 o.buyerCreativeId = "foo"; |
1112 o.clickThroughUrl = buildUnnamed2050(); | 1112 o.clickThroughUrl = buildUnnamed1821(); |
1113 o.corrections = buildUnnamed2056(); | 1113 o.corrections = buildUnnamed1827(); |
1114 o.dealsStatus = "foo"; | 1114 o.dealsStatus = "foo"; |
1115 o.detectedDomains = buildUnnamed2057(); | 1115 o.detectedDomains = buildUnnamed1828(); |
1116 o.filteringReasons = buildCreativeFilteringReasons(); | 1116 o.filteringReasons = buildCreativeFilteringReasons(); |
1117 o.height = 42; | 1117 o.height = 42; |
1118 o.impressionTrackingUrl = buildUnnamed2059(); | 1118 o.impressionTrackingUrl = buildUnnamed1830(); |
1119 o.kind = "foo"; | 1119 o.kind = "foo"; |
1120 o.languages = buildUnnamed2060(); | 1120 o.languages = buildUnnamed1831(); |
1121 o.nativeAd = buildCreativeNativeAd(); | 1121 o.nativeAd = buildCreativeNativeAd(); |
1122 o.openAuctionStatus = "foo"; | 1122 o.openAuctionStatus = "foo"; |
1123 o.productCategories = buildUnnamed2062(); | 1123 o.productCategories = buildUnnamed1833(); |
1124 o.restrictedCategories = buildUnnamed2063(); | 1124 o.restrictedCategories = buildUnnamed1834(); |
1125 o.sensitiveCategories = buildUnnamed2064(); | 1125 o.sensitiveCategories = buildUnnamed1835(); |
1126 o.servingRestrictions = buildUnnamed2071(); | 1126 o.servingRestrictions = buildUnnamed1842(); |
1127 o.vendorType = buildUnnamed2072(); | 1127 o.vendorType = buildUnnamed1843(); |
1128 o.version = 42; | 1128 o.version = 42; |
1129 o.videoURL = "foo"; | 1129 o.videoURL = "foo"; |
1130 o.width = 42; | 1130 o.width = 42; |
1131 } | 1131 } |
1132 buildCounterCreative--; | 1132 buildCounterCreative--; |
1133 return o; | 1133 return o; |
1134 } | 1134 } |
1135 | 1135 |
1136 checkCreative(api.Creative o) { | 1136 checkCreative(api.Creative o) { |
1137 buildCounterCreative++; | 1137 buildCounterCreative++; |
1138 if (buildCounterCreative < 3) { | 1138 if (buildCounterCreative < 3) { |
1139 unittest.expect(o.HTMLSnippet, unittest.equals('foo')); | 1139 unittest.expect(o.HTMLSnippet, unittest.equals('foo')); |
1140 unittest.expect(o.accountId, unittest.equals(42)); | 1140 unittest.expect(o.accountId, unittest.equals(42)); |
1141 unittest.expect(o.adChoicesDestinationUrl, unittest.equals('foo')); | 1141 unittest.expect(o.adChoicesDestinationUrl, unittest.equals('foo')); |
1142 checkUnnamed2048(o.advertiserId); | 1142 checkUnnamed1819(o.advertiserId); |
1143 unittest.expect(o.advertiserName, unittest.equals('foo')); | 1143 unittest.expect(o.advertiserName, unittest.equals('foo')); |
1144 unittest.expect(o.agencyId, unittest.equals('foo')); | 1144 unittest.expect(o.agencyId, unittest.equals('foo')); |
1145 unittest.expect(o.apiUploadTimestamp, unittest.equals(core.DateTime.parse("2
002-02-27T14:01:02"))); | 1145 unittest.expect(o.apiUploadTimestamp, unittest.equals(core.DateTime.parse("2
002-02-27T14:01:02"))); |
1146 checkUnnamed2049(o.attribute); | 1146 checkUnnamed1820(o.attribute); |
1147 unittest.expect(o.buyerCreativeId, unittest.equals('foo')); | 1147 unittest.expect(o.buyerCreativeId, unittest.equals('foo')); |
1148 checkUnnamed2050(o.clickThroughUrl); | 1148 checkUnnamed1821(o.clickThroughUrl); |
1149 checkUnnamed2056(o.corrections); | 1149 checkUnnamed1827(o.corrections); |
1150 unittest.expect(o.dealsStatus, unittest.equals('foo')); | 1150 unittest.expect(o.dealsStatus, unittest.equals('foo')); |
1151 checkUnnamed2057(o.detectedDomains); | 1151 checkUnnamed1828(o.detectedDomains); |
1152 checkCreativeFilteringReasons(o.filteringReasons); | 1152 checkCreativeFilteringReasons(o.filteringReasons); |
1153 unittest.expect(o.height, unittest.equals(42)); | 1153 unittest.expect(o.height, unittest.equals(42)); |
1154 checkUnnamed2059(o.impressionTrackingUrl); | 1154 checkUnnamed1830(o.impressionTrackingUrl); |
1155 unittest.expect(o.kind, unittest.equals('foo')); | 1155 unittest.expect(o.kind, unittest.equals('foo')); |
1156 checkUnnamed2060(o.languages); | 1156 checkUnnamed1831(o.languages); |
1157 checkCreativeNativeAd(o.nativeAd); | 1157 checkCreativeNativeAd(o.nativeAd); |
1158 unittest.expect(o.openAuctionStatus, unittest.equals('foo')); | 1158 unittest.expect(o.openAuctionStatus, unittest.equals('foo')); |
1159 checkUnnamed2062(o.productCategories); | 1159 checkUnnamed1833(o.productCategories); |
1160 checkUnnamed2063(o.restrictedCategories); | 1160 checkUnnamed1834(o.restrictedCategories); |
1161 checkUnnamed2064(o.sensitiveCategories); | 1161 checkUnnamed1835(o.sensitiveCategories); |
1162 checkUnnamed2071(o.servingRestrictions); | 1162 checkUnnamed1842(o.servingRestrictions); |
1163 checkUnnamed2072(o.vendorType); | 1163 checkUnnamed1843(o.vendorType); |
1164 unittest.expect(o.version, unittest.equals(42)); | 1164 unittest.expect(o.version, unittest.equals(42)); |
1165 unittest.expect(o.videoURL, unittest.equals('foo')); | 1165 unittest.expect(o.videoURL, unittest.equals('foo')); |
1166 unittest.expect(o.width, unittest.equals(42)); | 1166 unittest.expect(o.width, unittest.equals(42)); |
1167 } | 1167 } |
1168 buildCounterCreative--; | 1168 buildCounterCreative--; |
1169 } | 1169 } |
1170 | 1170 |
1171 core.int buildCounterCreativeDealIdsDealStatuses = 0; | 1171 core.int buildCounterCreativeDealIdsDealStatuses = 0; |
1172 buildCreativeDealIdsDealStatuses() { | 1172 buildCreativeDealIdsDealStatuses() { |
1173 var o = new api.CreativeDealIdsDealStatuses(); | 1173 var o = new api.CreativeDealIdsDealStatuses(); |
(...skipping 10 matching lines...) Expand all Loading... |
1184 checkCreativeDealIdsDealStatuses(api.CreativeDealIdsDealStatuses o) { | 1184 checkCreativeDealIdsDealStatuses(api.CreativeDealIdsDealStatuses o) { |
1185 buildCounterCreativeDealIdsDealStatuses++; | 1185 buildCounterCreativeDealIdsDealStatuses++; |
1186 if (buildCounterCreativeDealIdsDealStatuses < 3) { | 1186 if (buildCounterCreativeDealIdsDealStatuses < 3) { |
1187 unittest.expect(o.arcStatus, unittest.equals('foo')); | 1187 unittest.expect(o.arcStatus, unittest.equals('foo')); |
1188 unittest.expect(o.dealId, unittest.equals('foo')); | 1188 unittest.expect(o.dealId, unittest.equals('foo')); |
1189 unittest.expect(o.webPropertyId, unittest.equals(42)); | 1189 unittest.expect(o.webPropertyId, unittest.equals(42)); |
1190 } | 1190 } |
1191 buildCounterCreativeDealIdsDealStatuses--; | 1191 buildCounterCreativeDealIdsDealStatuses--; |
1192 } | 1192 } |
1193 | 1193 |
1194 buildUnnamed2073() { | 1194 buildUnnamed1844() { |
1195 var o = new core.List<api.CreativeDealIdsDealStatuses>(); | 1195 var o = new core.List<api.CreativeDealIdsDealStatuses>(); |
1196 o.add(buildCreativeDealIdsDealStatuses()); | 1196 o.add(buildCreativeDealIdsDealStatuses()); |
1197 o.add(buildCreativeDealIdsDealStatuses()); | 1197 o.add(buildCreativeDealIdsDealStatuses()); |
1198 return o; | 1198 return o; |
1199 } | 1199 } |
1200 | 1200 |
1201 checkUnnamed2073(core.List<api.CreativeDealIdsDealStatuses> o) { | 1201 checkUnnamed1844(core.List<api.CreativeDealIdsDealStatuses> o) { |
1202 unittest.expect(o, unittest.hasLength(2)); | 1202 unittest.expect(o, unittest.hasLength(2)); |
1203 checkCreativeDealIdsDealStatuses(o[0]); | 1203 checkCreativeDealIdsDealStatuses(o[0]); |
1204 checkCreativeDealIdsDealStatuses(o[1]); | 1204 checkCreativeDealIdsDealStatuses(o[1]); |
1205 } | 1205 } |
1206 | 1206 |
1207 core.int buildCounterCreativeDealIds = 0; | 1207 core.int buildCounterCreativeDealIds = 0; |
1208 buildCreativeDealIds() { | 1208 buildCreativeDealIds() { |
1209 var o = new api.CreativeDealIds(); | 1209 var o = new api.CreativeDealIds(); |
1210 buildCounterCreativeDealIds++; | 1210 buildCounterCreativeDealIds++; |
1211 if (buildCounterCreativeDealIds < 3) { | 1211 if (buildCounterCreativeDealIds < 3) { |
1212 o.dealStatuses = buildUnnamed2073(); | 1212 o.dealStatuses = buildUnnamed1844(); |
1213 o.kind = "foo"; | 1213 o.kind = "foo"; |
1214 } | 1214 } |
1215 buildCounterCreativeDealIds--; | 1215 buildCounterCreativeDealIds--; |
1216 return o; | 1216 return o; |
1217 } | 1217 } |
1218 | 1218 |
1219 checkCreativeDealIds(api.CreativeDealIds o) { | 1219 checkCreativeDealIds(api.CreativeDealIds o) { |
1220 buildCounterCreativeDealIds++; | 1220 buildCounterCreativeDealIds++; |
1221 if (buildCounterCreativeDealIds < 3) { | 1221 if (buildCounterCreativeDealIds < 3) { |
1222 checkUnnamed2073(o.dealStatuses); | 1222 checkUnnamed1844(o.dealStatuses); |
1223 unittest.expect(o.kind, unittest.equals('foo')); | 1223 unittest.expect(o.kind, unittest.equals('foo')); |
1224 } | 1224 } |
1225 buildCounterCreativeDealIds--; | 1225 buildCounterCreativeDealIds--; |
1226 } | 1226 } |
1227 | 1227 |
1228 buildUnnamed2074() { | 1228 buildUnnamed1845() { |
1229 var o = new core.List<api.Creative>(); | 1229 var o = new core.List<api.Creative>(); |
1230 o.add(buildCreative()); | 1230 o.add(buildCreative()); |
1231 o.add(buildCreative()); | 1231 o.add(buildCreative()); |
1232 return o; | 1232 return o; |
1233 } | 1233 } |
1234 | 1234 |
1235 checkUnnamed2074(core.List<api.Creative> o) { | 1235 checkUnnamed1845(core.List<api.Creative> o) { |
1236 unittest.expect(o, unittest.hasLength(2)); | 1236 unittest.expect(o, unittest.hasLength(2)); |
1237 checkCreative(o[0]); | 1237 checkCreative(o[0]); |
1238 checkCreative(o[1]); | 1238 checkCreative(o[1]); |
1239 } | 1239 } |
1240 | 1240 |
1241 core.int buildCounterCreativesList = 0; | 1241 core.int buildCounterCreativesList = 0; |
1242 buildCreativesList() { | 1242 buildCreativesList() { |
1243 var o = new api.CreativesList(); | 1243 var o = new api.CreativesList(); |
1244 buildCounterCreativesList++; | 1244 buildCounterCreativesList++; |
1245 if (buildCounterCreativesList < 3) { | 1245 if (buildCounterCreativesList < 3) { |
1246 o.items = buildUnnamed2074(); | 1246 o.items = buildUnnamed1845(); |
1247 o.kind = "foo"; | 1247 o.kind = "foo"; |
1248 o.nextPageToken = "foo"; | 1248 o.nextPageToken = "foo"; |
1249 } | 1249 } |
1250 buildCounterCreativesList--; | 1250 buildCounterCreativesList--; |
1251 return o; | 1251 return o; |
1252 } | 1252 } |
1253 | 1253 |
1254 checkCreativesList(api.CreativesList o) { | 1254 checkCreativesList(api.CreativesList o) { |
1255 buildCounterCreativesList++; | 1255 buildCounterCreativesList++; |
1256 if (buildCounterCreativesList < 3) { | 1256 if (buildCounterCreativesList < 3) { |
1257 checkUnnamed2074(o.items); | 1257 checkUnnamed1845(o.items); |
1258 unittest.expect(o.kind, unittest.equals('foo')); | 1258 unittest.expect(o.kind, unittest.equals('foo')); |
1259 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1259 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1260 } | 1260 } |
1261 buildCounterCreativesList--; | 1261 buildCounterCreativesList--; |
1262 } | 1262 } |
1263 | 1263 |
1264 core.int buildCounterDealServingMetadata = 0; | 1264 core.int buildCounterDealServingMetadata = 0; |
1265 buildDealServingMetadata() { | 1265 buildDealServingMetadata() { |
1266 var o = new api.DealServingMetadata(); | 1266 var o = new api.DealServingMetadata(); |
1267 buildCounterDealServingMetadata++; | 1267 buildCounterDealServingMetadata++; |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1337 unittest.expect(o.estimatedImpressionsPerDay, unittest.equals('foo')); | 1337 unittest.expect(o.estimatedImpressionsPerDay, unittest.equals('foo')); |
1338 checkDealTermsGuaranteedFixedPriceTerms(o.guaranteedFixedPriceTerms); | 1338 checkDealTermsGuaranteedFixedPriceTerms(o.guaranteedFixedPriceTerms); |
1339 checkDealTermsNonGuaranteedAuctionTerms(o.nonGuaranteedAuctionTerms); | 1339 checkDealTermsNonGuaranteedAuctionTerms(o.nonGuaranteedAuctionTerms); |
1340 checkDealTermsNonGuaranteedFixedPriceTerms(o.nonGuaranteedFixedPriceTerms); | 1340 checkDealTermsNonGuaranteedFixedPriceTerms(o.nonGuaranteedFixedPriceTerms); |
1341 checkDealTermsRubiconNonGuaranteedTerms(o.rubiconNonGuaranteedTerms); | 1341 checkDealTermsRubiconNonGuaranteedTerms(o.rubiconNonGuaranteedTerms); |
1342 unittest.expect(o.sellerTimeZone, unittest.equals('foo')); | 1342 unittest.expect(o.sellerTimeZone, unittest.equals('foo')); |
1343 } | 1343 } |
1344 buildCounterDealTerms--; | 1344 buildCounterDealTerms--; |
1345 } | 1345 } |
1346 | 1346 |
1347 buildUnnamed2075() { | 1347 buildUnnamed1846() { |
1348 var o = new core.List<api.PricePerBuyer>(); | 1348 var o = new core.List<api.PricePerBuyer>(); |
1349 o.add(buildPricePerBuyer()); | 1349 o.add(buildPricePerBuyer()); |
1350 o.add(buildPricePerBuyer()); | 1350 o.add(buildPricePerBuyer()); |
1351 return o; | 1351 return o; |
1352 } | 1352 } |
1353 | 1353 |
1354 checkUnnamed2075(core.List<api.PricePerBuyer> o) { | 1354 checkUnnamed1846(core.List<api.PricePerBuyer> o) { |
1355 unittest.expect(o, unittest.hasLength(2)); | 1355 unittest.expect(o, unittest.hasLength(2)); |
1356 checkPricePerBuyer(o[0]); | 1356 checkPricePerBuyer(o[0]); |
1357 checkPricePerBuyer(o[1]); | 1357 checkPricePerBuyer(o[1]); |
1358 } | 1358 } |
1359 | 1359 |
1360 core.int buildCounterDealTermsGuaranteedFixedPriceTerms = 0; | 1360 core.int buildCounterDealTermsGuaranteedFixedPriceTerms = 0; |
1361 buildDealTermsGuaranteedFixedPriceTerms() { | 1361 buildDealTermsGuaranteedFixedPriceTerms() { |
1362 var o = new api.DealTermsGuaranteedFixedPriceTerms(); | 1362 var o = new api.DealTermsGuaranteedFixedPriceTerms(); |
1363 buildCounterDealTermsGuaranteedFixedPriceTerms++; | 1363 buildCounterDealTermsGuaranteedFixedPriceTerms++; |
1364 if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) { | 1364 if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) { |
1365 o.billingInfo = buildDealTermsGuaranteedFixedPriceTermsBillingInfo(); | 1365 o.billingInfo = buildDealTermsGuaranteedFixedPriceTermsBillingInfo(); |
1366 o.fixedPrices = buildUnnamed2075(); | 1366 o.fixedPrices = buildUnnamed1846(); |
1367 o.guaranteedImpressions = "foo"; | 1367 o.guaranteedImpressions = "foo"; |
1368 o.guaranteedLooks = "foo"; | 1368 o.guaranteedLooks = "foo"; |
1369 o.minimumDailyLooks = "foo"; | 1369 o.minimumDailyLooks = "foo"; |
1370 } | 1370 } |
1371 buildCounterDealTermsGuaranteedFixedPriceTerms--; | 1371 buildCounterDealTermsGuaranteedFixedPriceTerms--; |
1372 return o; | 1372 return o; |
1373 } | 1373 } |
1374 | 1374 |
1375 checkDealTermsGuaranteedFixedPriceTerms(api.DealTermsGuaranteedFixedPriceTerms o
) { | 1375 checkDealTermsGuaranteedFixedPriceTerms(api.DealTermsGuaranteedFixedPriceTerms o
) { |
1376 buildCounterDealTermsGuaranteedFixedPriceTerms++; | 1376 buildCounterDealTermsGuaranteedFixedPriceTerms++; |
1377 if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) { | 1377 if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) { |
1378 checkDealTermsGuaranteedFixedPriceTermsBillingInfo(o.billingInfo); | 1378 checkDealTermsGuaranteedFixedPriceTermsBillingInfo(o.billingInfo); |
1379 checkUnnamed2075(o.fixedPrices); | 1379 checkUnnamed1846(o.fixedPrices); |
1380 unittest.expect(o.guaranteedImpressions, unittest.equals('foo')); | 1380 unittest.expect(o.guaranteedImpressions, unittest.equals('foo')); |
1381 unittest.expect(o.guaranteedLooks, unittest.equals('foo')); | 1381 unittest.expect(o.guaranteedLooks, unittest.equals('foo')); |
1382 unittest.expect(o.minimumDailyLooks, unittest.equals('foo')); | 1382 unittest.expect(o.minimumDailyLooks, unittest.equals('foo')); |
1383 } | 1383 } |
1384 buildCounterDealTermsGuaranteedFixedPriceTerms--; | 1384 buildCounterDealTermsGuaranteedFixedPriceTerms--; |
1385 } | 1385 } |
1386 | 1386 |
1387 core.int buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo = 0; | 1387 core.int buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo = 0; |
1388 buildDealTermsGuaranteedFixedPriceTermsBillingInfo() { | 1388 buildDealTermsGuaranteedFixedPriceTermsBillingInfo() { |
1389 var o = new api.DealTermsGuaranteedFixedPriceTermsBillingInfo(); | 1389 var o = new api.DealTermsGuaranteedFixedPriceTermsBillingInfo(); |
(...skipping 12 matching lines...) Expand all Loading... |
1402 buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo++; | 1402 buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo++; |
1403 if (buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo < 3) { | 1403 if (buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo < 3) { |
1404 unittest.expect(o.currencyConversionTimeMs, unittest.equals('foo')); | 1404 unittest.expect(o.currencyConversionTimeMs, unittest.equals('foo')); |
1405 unittest.expect(o.dfpLineItemId, unittest.equals('foo')); | 1405 unittest.expect(o.dfpLineItemId, unittest.equals('foo')); |
1406 unittest.expect(o.originalContractedQuantity, unittest.equals('foo')); | 1406 unittest.expect(o.originalContractedQuantity, unittest.equals('foo')); |
1407 checkPrice(o.price); | 1407 checkPrice(o.price); |
1408 } | 1408 } |
1409 buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo--; | 1409 buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo--; |
1410 } | 1410 } |
1411 | 1411 |
1412 buildUnnamed2076() { | 1412 buildUnnamed1847() { |
1413 var o = new core.List<api.PricePerBuyer>(); | 1413 var o = new core.List<api.PricePerBuyer>(); |
1414 o.add(buildPricePerBuyer()); | 1414 o.add(buildPricePerBuyer()); |
1415 o.add(buildPricePerBuyer()); | 1415 o.add(buildPricePerBuyer()); |
1416 return o; | 1416 return o; |
1417 } | 1417 } |
1418 | 1418 |
1419 checkUnnamed2076(core.List<api.PricePerBuyer> o) { | 1419 checkUnnamed1847(core.List<api.PricePerBuyer> o) { |
1420 unittest.expect(o, unittest.hasLength(2)); | 1420 unittest.expect(o, unittest.hasLength(2)); |
1421 checkPricePerBuyer(o[0]); | 1421 checkPricePerBuyer(o[0]); |
1422 checkPricePerBuyer(o[1]); | 1422 checkPricePerBuyer(o[1]); |
1423 } | 1423 } |
1424 | 1424 |
1425 core.int buildCounterDealTermsNonGuaranteedAuctionTerms = 0; | 1425 core.int buildCounterDealTermsNonGuaranteedAuctionTerms = 0; |
1426 buildDealTermsNonGuaranteedAuctionTerms() { | 1426 buildDealTermsNonGuaranteedAuctionTerms() { |
1427 var o = new api.DealTermsNonGuaranteedAuctionTerms(); | 1427 var o = new api.DealTermsNonGuaranteedAuctionTerms(); |
1428 buildCounterDealTermsNonGuaranteedAuctionTerms++; | 1428 buildCounterDealTermsNonGuaranteedAuctionTerms++; |
1429 if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) { | 1429 if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) { |
1430 o.autoOptimizePrivateAuction = true; | 1430 o.autoOptimizePrivateAuction = true; |
1431 o.reservePricePerBuyers = buildUnnamed2076(); | 1431 o.reservePricePerBuyers = buildUnnamed1847(); |
1432 } | 1432 } |
1433 buildCounterDealTermsNonGuaranteedAuctionTerms--; | 1433 buildCounterDealTermsNonGuaranteedAuctionTerms--; |
1434 return o; | 1434 return o; |
1435 } | 1435 } |
1436 | 1436 |
1437 checkDealTermsNonGuaranteedAuctionTerms(api.DealTermsNonGuaranteedAuctionTerms o
) { | 1437 checkDealTermsNonGuaranteedAuctionTerms(api.DealTermsNonGuaranteedAuctionTerms o
) { |
1438 buildCounterDealTermsNonGuaranteedAuctionTerms++; | 1438 buildCounterDealTermsNonGuaranteedAuctionTerms++; |
1439 if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) { | 1439 if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) { |
1440 unittest.expect(o.autoOptimizePrivateAuction, unittest.isTrue); | 1440 unittest.expect(o.autoOptimizePrivateAuction, unittest.isTrue); |
1441 checkUnnamed2076(o.reservePricePerBuyers); | 1441 checkUnnamed1847(o.reservePricePerBuyers); |
1442 } | 1442 } |
1443 buildCounterDealTermsNonGuaranteedAuctionTerms--; | 1443 buildCounterDealTermsNonGuaranteedAuctionTerms--; |
1444 } | 1444 } |
1445 | 1445 |
1446 buildUnnamed2077() { | 1446 buildUnnamed1848() { |
1447 var o = new core.List<api.PricePerBuyer>(); | 1447 var o = new core.List<api.PricePerBuyer>(); |
1448 o.add(buildPricePerBuyer()); | 1448 o.add(buildPricePerBuyer()); |
1449 o.add(buildPricePerBuyer()); | 1449 o.add(buildPricePerBuyer()); |
1450 return o; | 1450 return o; |
1451 } | 1451 } |
1452 | 1452 |
1453 checkUnnamed2077(core.List<api.PricePerBuyer> o) { | 1453 checkUnnamed1848(core.List<api.PricePerBuyer> o) { |
1454 unittest.expect(o, unittest.hasLength(2)); | 1454 unittest.expect(o, unittest.hasLength(2)); |
1455 checkPricePerBuyer(o[0]); | 1455 checkPricePerBuyer(o[0]); |
1456 checkPricePerBuyer(o[1]); | 1456 checkPricePerBuyer(o[1]); |
1457 } | 1457 } |
1458 | 1458 |
1459 core.int buildCounterDealTermsNonGuaranteedFixedPriceTerms = 0; | 1459 core.int buildCounterDealTermsNonGuaranteedFixedPriceTerms = 0; |
1460 buildDealTermsNonGuaranteedFixedPriceTerms() { | 1460 buildDealTermsNonGuaranteedFixedPriceTerms() { |
1461 var o = new api.DealTermsNonGuaranteedFixedPriceTerms(); | 1461 var o = new api.DealTermsNonGuaranteedFixedPriceTerms(); |
1462 buildCounterDealTermsNonGuaranteedFixedPriceTerms++; | 1462 buildCounterDealTermsNonGuaranteedFixedPriceTerms++; |
1463 if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) { | 1463 if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) { |
1464 o.fixedPrices = buildUnnamed2077(); | 1464 o.fixedPrices = buildUnnamed1848(); |
1465 } | 1465 } |
1466 buildCounterDealTermsNonGuaranteedFixedPriceTerms--; | 1466 buildCounterDealTermsNonGuaranteedFixedPriceTerms--; |
1467 return o; | 1467 return o; |
1468 } | 1468 } |
1469 | 1469 |
1470 checkDealTermsNonGuaranteedFixedPriceTerms(api.DealTermsNonGuaranteedFixedPriceT
erms o) { | 1470 checkDealTermsNonGuaranteedFixedPriceTerms(api.DealTermsNonGuaranteedFixedPriceT
erms o) { |
1471 buildCounterDealTermsNonGuaranteedFixedPriceTerms++; | 1471 buildCounterDealTermsNonGuaranteedFixedPriceTerms++; |
1472 if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) { | 1472 if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) { |
1473 checkUnnamed2077(o.fixedPrices); | 1473 checkUnnamed1848(o.fixedPrices); |
1474 } | 1474 } |
1475 buildCounterDealTermsNonGuaranteedFixedPriceTerms--; | 1475 buildCounterDealTermsNonGuaranteedFixedPriceTerms--; |
1476 } | 1476 } |
1477 | 1477 |
1478 core.int buildCounterDealTermsRubiconNonGuaranteedTerms = 0; | 1478 core.int buildCounterDealTermsRubiconNonGuaranteedTerms = 0; |
1479 buildDealTermsRubiconNonGuaranteedTerms() { | 1479 buildDealTermsRubiconNonGuaranteedTerms() { |
1480 var o = new api.DealTermsRubiconNonGuaranteedTerms(); | 1480 var o = new api.DealTermsRubiconNonGuaranteedTerms(); |
1481 buildCounterDealTermsRubiconNonGuaranteedTerms++; | 1481 buildCounterDealTermsRubiconNonGuaranteedTerms++; |
1482 if (buildCounterDealTermsRubiconNonGuaranteedTerms < 3) { | 1482 if (buildCounterDealTermsRubiconNonGuaranteedTerms < 3) { |
1483 o.priorityPrice = buildPrice(); | 1483 o.priorityPrice = buildPrice(); |
1484 o.standardPrice = buildPrice(); | 1484 o.standardPrice = buildPrice(); |
1485 } | 1485 } |
1486 buildCounterDealTermsRubiconNonGuaranteedTerms--; | 1486 buildCounterDealTermsRubiconNonGuaranteedTerms--; |
1487 return o; | 1487 return o; |
1488 } | 1488 } |
1489 | 1489 |
1490 checkDealTermsRubiconNonGuaranteedTerms(api.DealTermsRubiconNonGuaranteedTerms o
) { | 1490 checkDealTermsRubiconNonGuaranteedTerms(api.DealTermsRubiconNonGuaranteedTerms o
) { |
1491 buildCounterDealTermsRubiconNonGuaranteedTerms++; | 1491 buildCounterDealTermsRubiconNonGuaranteedTerms++; |
1492 if (buildCounterDealTermsRubiconNonGuaranteedTerms < 3) { | 1492 if (buildCounterDealTermsRubiconNonGuaranteedTerms < 3) { |
1493 checkPrice(o.priorityPrice); | 1493 checkPrice(o.priorityPrice); |
1494 checkPrice(o.standardPrice); | 1494 checkPrice(o.standardPrice); |
1495 } | 1495 } |
1496 buildCounterDealTermsRubiconNonGuaranteedTerms--; | 1496 buildCounterDealTermsRubiconNonGuaranteedTerms--; |
1497 } | 1497 } |
1498 | 1498 |
1499 buildUnnamed2078() { | 1499 buildUnnamed1849() { |
1500 var o = new core.List<core.String>(); | 1500 var o = new core.List<core.String>(); |
1501 o.add("foo"); | 1501 o.add("foo"); |
1502 o.add("foo"); | 1502 o.add("foo"); |
1503 return o; | 1503 return o; |
1504 } | 1504 } |
1505 | 1505 |
1506 checkUnnamed2078(core.List<core.String> o) { | 1506 checkUnnamed1849(core.List<core.String> o) { |
1507 unittest.expect(o, unittest.hasLength(2)); | 1507 unittest.expect(o, unittest.hasLength(2)); |
1508 unittest.expect(o[0], unittest.equals('foo')); | 1508 unittest.expect(o[0], unittest.equals('foo')); |
1509 unittest.expect(o[1], unittest.equals('foo')); | 1509 unittest.expect(o[1], unittest.equals('foo')); |
1510 } | 1510 } |
1511 | 1511 |
1512 core.int buildCounterDeleteOrderDealsRequest = 0; | 1512 core.int buildCounterDeleteOrderDealsRequest = 0; |
1513 buildDeleteOrderDealsRequest() { | 1513 buildDeleteOrderDealsRequest() { |
1514 var o = new api.DeleteOrderDealsRequest(); | 1514 var o = new api.DeleteOrderDealsRequest(); |
1515 buildCounterDeleteOrderDealsRequest++; | 1515 buildCounterDeleteOrderDealsRequest++; |
1516 if (buildCounterDeleteOrderDealsRequest < 3) { | 1516 if (buildCounterDeleteOrderDealsRequest < 3) { |
1517 o.dealIds = buildUnnamed2078(); | 1517 o.dealIds = buildUnnamed1849(); |
1518 o.proposalRevisionNumber = "foo"; | 1518 o.proposalRevisionNumber = "foo"; |
1519 o.updateAction = "foo"; | 1519 o.updateAction = "foo"; |
1520 } | 1520 } |
1521 buildCounterDeleteOrderDealsRequest--; | 1521 buildCounterDeleteOrderDealsRequest--; |
1522 return o; | 1522 return o; |
1523 } | 1523 } |
1524 | 1524 |
1525 checkDeleteOrderDealsRequest(api.DeleteOrderDealsRequest o) { | 1525 checkDeleteOrderDealsRequest(api.DeleteOrderDealsRequest o) { |
1526 buildCounterDeleteOrderDealsRequest++; | 1526 buildCounterDeleteOrderDealsRequest++; |
1527 if (buildCounterDeleteOrderDealsRequest < 3) { | 1527 if (buildCounterDeleteOrderDealsRequest < 3) { |
1528 checkUnnamed2078(o.dealIds); | 1528 checkUnnamed1849(o.dealIds); |
1529 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); | 1529 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); |
1530 unittest.expect(o.updateAction, unittest.equals('foo')); | 1530 unittest.expect(o.updateAction, unittest.equals('foo')); |
1531 } | 1531 } |
1532 buildCounterDeleteOrderDealsRequest--; | 1532 buildCounterDeleteOrderDealsRequest--; |
1533 } | 1533 } |
1534 | 1534 |
1535 buildUnnamed2079() { | 1535 buildUnnamed1850() { |
1536 var o = new core.List<api.MarketplaceDeal>(); | 1536 var o = new core.List<api.MarketplaceDeal>(); |
1537 o.add(buildMarketplaceDeal()); | 1537 o.add(buildMarketplaceDeal()); |
1538 o.add(buildMarketplaceDeal()); | 1538 o.add(buildMarketplaceDeal()); |
1539 return o; | 1539 return o; |
1540 } | 1540 } |
1541 | 1541 |
1542 checkUnnamed2079(core.List<api.MarketplaceDeal> o) { | 1542 checkUnnamed1850(core.List<api.MarketplaceDeal> o) { |
1543 unittest.expect(o, unittest.hasLength(2)); | 1543 unittest.expect(o, unittest.hasLength(2)); |
1544 checkMarketplaceDeal(o[0]); | 1544 checkMarketplaceDeal(o[0]); |
1545 checkMarketplaceDeal(o[1]); | 1545 checkMarketplaceDeal(o[1]); |
1546 } | 1546 } |
1547 | 1547 |
1548 core.int buildCounterDeleteOrderDealsResponse = 0; | 1548 core.int buildCounterDeleteOrderDealsResponse = 0; |
1549 buildDeleteOrderDealsResponse() { | 1549 buildDeleteOrderDealsResponse() { |
1550 var o = new api.DeleteOrderDealsResponse(); | 1550 var o = new api.DeleteOrderDealsResponse(); |
1551 buildCounterDeleteOrderDealsResponse++; | 1551 buildCounterDeleteOrderDealsResponse++; |
1552 if (buildCounterDeleteOrderDealsResponse < 3) { | 1552 if (buildCounterDeleteOrderDealsResponse < 3) { |
1553 o.deals = buildUnnamed2079(); | 1553 o.deals = buildUnnamed1850(); |
1554 o.proposalRevisionNumber = "foo"; | 1554 o.proposalRevisionNumber = "foo"; |
1555 } | 1555 } |
1556 buildCounterDeleteOrderDealsResponse--; | 1556 buildCounterDeleteOrderDealsResponse--; |
1557 return o; | 1557 return o; |
1558 } | 1558 } |
1559 | 1559 |
1560 checkDeleteOrderDealsResponse(api.DeleteOrderDealsResponse o) { | 1560 checkDeleteOrderDealsResponse(api.DeleteOrderDealsResponse o) { |
1561 buildCounterDeleteOrderDealsResponse++; | 1561 buildCounterDeleteOrderDealsResponse++; |
1562 if (buildCounterDeleteOrderDealsResponse < 3) { | 1562 if (buildCounterDeleteOrderDealsResponse < 3) { |
1563 checkUnnamed2079(o.deals); | 1563 checkUnnamed1850(o.deals); |
1564 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); | 1564 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); |
1565 } | 1565 } |
1566 buildCounterDeleteOrderDealsResponse--; | 1566 buildCounterDeleteOrderDealsResponse--; |
1567 } | 1567 } |
1568 | 1568 |
1569 buildUnnamed2080() { | 1569 buildUnnamed1851() { |
1570 var o = new core.List<api.DeliveryControlFrequencyCap>(); | 1570 var o = new core.List<api.DeliveryControlFrequencyCap>(); |
1571 o.add(buildDeliveryControlFrequencyCap()); | 1571 o.add(buildDeliveryControlFrequencyCap()); |
1572 o.add(buildDeliveryControlFrequencyCap()); | 1572 o.add(buildDeliveryControlFrequencyCap()); |
1573 return o; | 1573 return o; |
1574 } | 1574 } |
1575 | 1575 |
1576 checkUnnamed2080(core.List<api.DeliveryControlFrequencyCap> o) { | 1576 checkUnnamed1851(core.List<api.DeliveryControlFrequencyCap> o) { |
1577 unittest.expect(o, unittest.hasLength(2)); | 1577 unittest.expect(o, unittest.hasLength(2)); |
1578 checkDeliveryControlFrequencyCap(o[0]); | 1578 checkDeliveryControlFrequencyCap(o[0]); |
1579 checkDeliveryControlFrequencyCap(o[1]); | 1579 checkDeliveryControlFrequencyCap(o[1]); |
1580 } | 1580 } |
1581 | 1581 |
1582 core.int buildCounterDeliveryControl = 0; | 1582 core.int buildCounterDeliveryControl = 0; |
1583 buildDeliveryControl() { | 1583 buildDeliveryControl() { |
1584 var o = new api.DeliveryControl(); | 1584 var o = new api.DeliveryControl(); |
1585 buildCounterDeliveryControl++; | 1585 buildCounterDeliveryControl++; |
1586 if (buildCounterDeliveryControl < 3) { | 1586 if (buildCounterDeliveryControl < 3) { |
1587 o.creativeBlockingLevel = "foo"; | 1587 o.creativeBlockingLevel = "foo"; |
1588 o.deliveryRateType = "foo"; | 1588 o.deliveryRateType = "foo"; |
1589 o.frequencyCaps = buildUnnamed2080(); | 1589 o.frequencyCaps = buildUnnamed1851(); |
1590 } | 1590 } |
1591 buildCounterDeliveryControl--; | 1591 buildCounterDeliveryControl--; |
1592 return o; | 1592 return o; |
1593 } | 1593 } |
1594 | 1594 |
1595 checkDeliveryControl(api.DeliveryControl o) { | 1595 checkDeliveryControl(api.DeliveryControl o) { |
1596 buildCounterDeliveryControl++; | 1596 buildCounterDeliveryControl++; |
1597 if (buildCounterDeliveryControl < 3) { | 1597 if (buildCounterDeliveryControl < 3) { |
1598 unittest.expect(o.creativeBlockingLevel, unittest.equals('foo')); | 1598 unittest.expect(o.creativeBlockingLevel, unittest.equals('foo')); |
1599 unittest.expect(o.deliveryRateType, unittest.equals('foo')); | 1599 unittest.expect(o.deliveryRateType, unittest.equals('foo')); |
1600 checkUnnamed2080(o.frequencyCaps); | 1600 checkUnnamed1851(o.frequencyCaps); |
1601 } | 1601 } |
1602 buildCounterDeliveryControl--; | 1602 buildCounterDeliveryControl--; |
1603 } | 1603 } |
1604 | 1604 |
1605 core.int buildCounterDeliveryControlFrequencyCap = 0; | 1605 core.int buildCounterDeliveryControlFrequencyCap = 0; |
1606 buildDeliveryControlFrequencyCap() { | 1606 buildDeliveryControlFrequencyCap() { |
1607 var o = new api.DeliveryControlFrequencyCap(); | 1607 var o = new api.DeliveryControlFrequencyCap(); |
1608 buildCounterDeliveryControlFrequencyCap++; | 1608 buildCounterDeliveryControlFrequencyCap++; |
1609 if (buildCounterDeliveryControlFrequencyCap < 3) { | 1609 if (buildCounterDeliveryControlFrequencyCap < 3) { |
1610 o.maxImpressions = 42; | 1610 o.maxImpressions = 42; |
1611 o.numTimeUnits = 42; | 1611 o.numTimeUnits = 42; |
1612 o.timeUnitType = "foo"; | 1612 o.timeUnitType = "foo"; |
1613 } | 1613 } |
1614 buildCounterDeliveryControlFrequencyCap--; | 1614 buildCounterDeliveryControlFrequencyCap--; |
1615 return o; | 1615 return o; |
1616 } | 1616 } |
1617 | 1617 |
1618 checkDeliveryControlFrequencyCap(api.DeliveryControlFrequencyCap o) { | 1618 checkDeliveryControlFrequencyCap(api.DeliveryControlFrequencyCap o) { |
1619 buildCounterDeliveryControlFrequencyCap++; | 1619 buildCounterDeliveryControlFrequencyCap++; |
1620 if (buildCounterDeliveryControlFrequencyCap < 3) { | 1620 if (buildCounterDeliveryControlFrequencyCap < 3) { |
1621 unittest.expect(o.maxImpressions, unittest.equals(42)); | 1621 unittest.expect(o.maxImpressions, unittest.equals(42)); |
1622 unittest.expect(o.numTimeUnits, unittest.equals(42)); | 1622 unittest.expect(o.numTimeUnits, unittest.equals(42)); |
1623 unittest.expect(o.timeUnitType, unittest.equals('foo')); | 1623 unittest.expect(o.timeUnitType, unittest.equals('foo')); |
1624 } | 1624 } |
1625 buildCounterDeliveryControlFrequencyCap--; | 1625 buildCounterDeliveryControlFrequencyCap--; |
1626 } | 1626 } |
1627 | 1627 |
1628 buildUnnamed2081() { | 1628 buildUnnamed1852() { |
1629 var o = new core.List<api.DimensionDimensionValue>(); | 1629 var o = new core.List<api.DimensionDimensionValue>(); |
1630 o.add(buildDimensionDimensionValue()); | 1630 o.add(buildDimensionDimensionValue()); |
1631 o.add(buildDimensionDimensionValue()); | 1631 o.add(buildDimensionDimensionValue()); |
1632 return o; | 1632 return o; |
1633 } | 1633 } |
1634 | 1634 |
1635 checkUnnamed2081(core.List<api.DimensionDimensionValue> o) { | 1635 checkUnnamed1852(core.List<api.DimensionDimensionValue> o) { |
1636 unittest.expect(o, unittest.hasLength(2)); | 1636 unittest.expect(o, unittest.hasLength(2)); |
1637 checkDimensionDimensionValue(o[0]); | 1637 checkDimensionDimensionValue(o[0]); |
1638 checkDimensionDimensionValue(o[1]); | 1638 checkDimensionDimensionValue(o[1]); |
1639 } | 1639 } |
1640 | 1640 |
1641 core.int buildCounterDimension = 0; | 1641 core.int buildCounterDimension = 0; |
1642 buildDimension() { | 1642 buildDimension() { |
1643 var o = new api.Dimension(); | 1643 var o = new api.Dimension(); |
1644 buildCounterDimension++; | 1644 buildCounterDimension++; |
1645 if (buildCounterDimension < 3) { | 1645 if (buildCounterDimension < 3) { |
1646 o.dimensionType = "foo"; | 1646 o.dimensionType = "foo"; |
1647 o.dimensionValues = buildUnnamed2081(); | 1647 o.dimensionValues = buildUnnamed1852(); |
1648 } | 1648 } |
1649 buildCounterDimension--; | 1649 buildCounterDimension--; |
1650 return o; | 1650 return o; |
1651 } | 1651 } |
1652 | 1652 |
1653 checkDimension(api.Dimension o) { | 1653 checkDimension(api.Dimension o) { |
1654 buildCounterDimension++; | 1654 buildCounterDimension++; |
1655 if (buildCounterDimension < 3) { | 1655 if (buildCounterDimension < 3) { |
1656 unittest.expect(o.dimensionType, unittest.equals('foo')); | 1656 unittest.expect(o.dimensionType, unittest.equals('foo')); |
1657 checkUnnamed2081(o.dimensionValues); | 1657 checkUnnamed1852(o.dimensionValues); |
1658 } | 1658 } |
1659 buildCounterDimension--; | 1659 buildCounterDimension--; |
1660 } | 1660 } |
1661 | 1661 |
1662 core.int buildCounterDimensionDimensionValue = 0; | 1662 core.int buildCounterDimensionDimensionValue = 0; |
1663 buildDimensionDimensionValue() { | 1663 buildDimensionDimensionValue() { |
1664 var o = new api.DimensionDimensionValue(); | 1664 var o = new api.DimensionDimensionValue(); |
1665 buildCounterDimensionDimensionValue++; | 1665 buildCounterDimensionDimensionValue++; |
1666 if (buildCounterDimensionDimensionValue < 3) { | 1666 if (buildCounterDimensionDimensionValue < 3) { |
1667 o.id = 42; | 1667 o.id = 42; |
1668 o.name = "foo"; | 1668 o.name = "foo"; |
1669 o.percentage = 42; | 1669 o.percentage = 42; |
1670 } | 1670 } |
1671 buildCounterDimensionDimensionValue--; | 1671 buildCounterDimensionDimensionValue--; |
1672 return o; | 1672 return o; |
1673 } | 1673 } |
1674 | 1674 |
1675 checkDimensionDimensionValue(api.DimensionDimensionValue o) { | 1675 checkDimensionDimensionValue(api.DimensionDimensionValue o) { |
1676 buildCounterDimensionDimensionValue++; | 1676 buildCounterDimensionDimensionValue++; |
1677 if (buildCounterDimensionDimensionValue < 3) { | 1677 if (buildCounterDimensionDimensionValue < 3) { |
1678 unittest.expect(o.id, unittest.equals(42)); | 1678 unittest.expect(o.id, unittest.equals(42)); |
1679 unittest.expect(o.name, unittest.equals('foo')); | 1679 unittest.expect(o.name, unittest.equals('foo')); |
1680 unittest.expect(o.percentage, unittest.equals(42)); | 1680 unittest.expect(o.percentage, unittest.equals(42)); |
1681 } | 1681 } |
1682 buildCounterDimensionDimensionValue--; | 1682 buildCounterDimensionDimensionValue--; |
1683 } | 1683 } |
1684 | 1684 |
1685 buildUnnamed2082() { | 1685 buildUnnamed1853() { |
1686 var o = new core.List<api.MarketplaceDeal>(); | 1686 var o = new core.List<api.MarketplaceDeal>(); |
1687 o.add(buildMarketplaceDeal()); | 1687 o.add(buildMarketplaceDeal()); |
1688 o.add(buildMarketplaceDeal()); | 1688 o.add(buildMarketplaceDeal()); |
1689 return o; | 1689 return o; |
1690 } | 1690 } |
1691 | 1691 |
1692 checkUnnamed2082(core.List<api.MarketplaceDeal> o) { | 1692 checkUnnamed1853(core.List<api.MarketplaceDeal> o) { |
1693 unittest.expect(o, unittest.hasLength(2)); | 1693 unittest.expect(o, unittest.hasLength(2)); |
1694 checkMarketplaceDeal(o[0]); | 1694 checkMarketplaceDeal(o[0]); |
1695 checkMarketplaceDeal(o[1]); | 1695 checkMarketplaceDeal(o[1]); |
1696 } | 1696 } |
1697 | 1697 |
1698 core.int buildCounterEditAllOrderDealsRequest = 0; | 1698 core.int buildCounterEditAllOrderDealsRequest = 0; |
1699 buildEditAllOrderDealsRequest() { | 1699 buildEditAllOrderDealsRequest() { |
1700 var o = new api.EditAllOrderDealsRequest(); | 1700 var o = new api.EditAllOrderDealsRequest(); |
1701 buildCounterEditAllOrderDealsRequest++; | 1701 buildCounterEditAllOrderDealsRequest++; |
1702 if (buildCounterEditAllOrderDealsRequest < 3) { | 1702 if (buildCounterEditAllOrderDealsRequest < 3) { |
1703 o.deals = buildUnnamed2082(); | 1703 o.deals = buildUnnamed1853(); |
1704 o.proposal = buildProposal(); | 1704 o.proposal = buildProposal(); |
1705 o.proposalRevisionNumber = "foo"; | 1705 o.proposalRevisionNumber = "foo"; |
1706 o.updateAction = "foo"; | 1706 o.updateAction = "foo"; |
1707 } | 1707 } |
1708 buildCounterEditAllOrderDealsRequest--; | 1708 buildCounterEditAllOrderDealsRequest--; |
1709 return o; | 1709 return o; |
1710 } | 1710 } |
1711 | 1711 |
1712 checkEditAllOrderDealsRequest(api.EditAllOrderDealsRequest o) { | 1712 checkEditAllOrderDealsRequest(api.EditAllOrderDealsRequest o) { |
1713 buildCounterEditAllOrderDealsRequest++; | 1713 buildCounterEditAllOrderDealsRequest++; |
1714 if (buildCounterEditAllOrderDealsRequest < 3) { | 1714 if (buildCounterEditAllOrderDealsRequest < 3) { |
1715 checkUnnamed2082(o.deals); | 1715 checkUnnamed1853(o.deals); |
1716 checkProposal(o.proposal); | 1716 checkProposal(o.proposal); |
1717 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); | 1717 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); |
1718 unittest.expect(o.updateAction, unittest.equals('foo')); | 1718 unittest.expect(o.updateAction, unittest.equals('foo')); |
1719 } | 1719 } |
1720 buildCounterEditAllOrderDealsRequest--; | 1720 buildCounterEditAllOrderDealsRequest--; |
1721 } | 1721 } |
1722 | 1722 |
1723 buildUnnamed2083() { | 1723 buildUnnamed1854() { |
1724 var o = new core.List<api.MarketplaceDeal>(); | 1724 var o = new core.List<api.MarketplaceDeal>(); |
1725 o.add(buildMarketplaceDeal()); | 1725 o.add(buildMarketplaceDeal()); |
1726 o.add(buildMarketplaceDeal()); | 1726 o.add(buildMarketplaceDeal()); |
1727 return o; | 1727 return o; |
1728 } | 1728 } |
1729 | 1729 |
1730 checkUnnamed2083(core.List<api.MarketplaceDeal> o) { | 1730 checkUnnamed1854(core.List<api.MarketplaceDeal> o) { |
1731 unittest.expect(o, unittest.hasLength(2)); | 1731 unittest.expect(o, unittest.hasLength(2)); |
1732 checkMarketplaceDeal(o[0]); | 1732 checkMarketplaceDeal(o[0]); |
1733 checkMarketplaceDeal(o[1]); | 1733 checkMarketplaceDeal(o[1]); |
1734 } | 1734 } |
1735 | 1735 |
1736 core.int buildCounterEditAllOrderDealsResponse = 0; | 1736 core.int buildCounterEditAllOrderDealsResponse = 0; |
1737 buildEditAllOrderDealsResponse() { | 1737 buildEditAllOrderDealsResponse() { |
1738 var o = new api.EditAllOrderDealsResponse(); | 1738 var o = new api.EditAllOrderDealsResponse(); |
1739 buildCounterEditAllOrderDealsResponse++; | 1739 buildCounterEditAllOrderDealsResponse++; |
1740 if (buildCounterEditAllOrderDealsResponse < 3) { | 1740 if (buildCounterEditAllOrderDealsResponse < 3) { |
1741 o.deals = buildUnnamed2083(); | 1741 o.deals = buildUnnamed1854(); |
1742 o.orderRevisionNumber = "foo"; | 1742 o.orderRevisionNumber = "foo"; |
1743 } | 1743 } |
1744 buildCounterEditAllOrderDealsResponse--; | 1744 buildCounterEditAllOrderDealsResponse--; |
1745 return o; | 1745 return o; |
1746 } | 1746 } |
1747 | 1747 |
1748 checkEditAllOrderDealsResponse(api.EditAllOrderDealsResponse o) { | 1748 checkEditAllOrderDealsResponse(api.EditAllOrderDealsResponse o) { |
1749 buildCounterEditAllOrderDealsResponse++; | 1749 buildCounterEditAllOrderDealsResponse++; |
1750 if (buildCounterEditAllOrderDealsResponse < 3) { | 1750 if (buildCounterEditAllOrderDealsResponse < 3) { |
1751 checkUnnamed2083(o.deals); | 1751 checkUnnamed1854(o.deals); |
1752 unittest.expect(o.orderRevisionNumber, unittest.equals('foo')); | 1752 unittest.expect(o.orderRevisionNumber, unittest.equals('foo')); |
1753 } | 1753 } |
1754 buildCounterEditAllOrderDealsResponse--; | 1754 buildCounterEditAllOrderDealsResponse--; |
1755 } | 1755 } |
1756 | 1756 |
1757 buildUnnamed2084() { | 1757 buildUnnamed1855() { |
1758 var o = new core.List<api.Product>(); | 1758 var o = new core.List<api.Product>(); |
1759 o.add(buildProduct()); | 1759 o.add(buildProduct()); |
1760 o.add(buildProduct()); | 1760 o.add(buildProduct()); |
1761 return o; | 1761 return o; |
1762 } | 1762 } |
1763 | 1763 |
1764 checkUnnamed2084(core.List<api.Product> o) { | 1764 checkUnnamed1855(core.List<api.Product> o) { |
1765 unittest.expect(o, unittest.hasLength(2)); | 1765 unittest.expect(o, unittest.hasLength(2)); |
1766 checkProduct(o[0]); | 1766 checkProduct(o[0]); |
1767 checkProduct(o[1]); | 1767 checkProduct(o[1]); |
1768 } | 1768 } |
1769 | 1769 |
1770 core.int buildCounterGetOffersResponse = 0; | 1770 core.int buildCounterGetOffersResponse = 0; |
1771 buildGetOffersResponse() { | 1771 buildGetOffersResponse() { |
1772 var o = new api.GetOffersResponse(); | 1772 var o = new api.GetOffersResponse(); |
1773 buildCounterGetOffersResponse++; | 1773 buildCounterGetOffersResponse++; |
1774 if (buildCounterGetOffersResponse < 3) { | 1774 if (buildCounterGetOffersResponse < 3) { |
1775 o.products = buildUnnamed2084(); | 1775 o.products = buildUnnamed1855(); |
1776 } | 1776 } |
1777 buildCounterGetOffersResponse--; | 1777 buildCounterGetOffersResponse--; |
1778 return o; | 1778 return o; |
1779 } | 1779 } |
1780 | 1780 |
1781 checkGetOffersResponse(api.GetOffersResponse o) { | 1781 checkGetOffersResponse(api.GetOffersResponse o) { |
1782 buildCounterGetOffersResponse++; | 1782 buildCounterGetOffersResponse++; |
1783 if (buildCounterGetOffersResponse < 3) { | 1783 if (buildCounterGetOffersResponse < 3) { |
1784 checkUnnamed2084(o.products); | 1784 checkUnnamed1855(o.products); |
1785 } | 1785 } |
1786 buildCounterGetOffersResponse--; | 1786 buildCounterGetOffersResponse--; |
1787 } | 1787 } |
1788 | 1788 |
1789 buildUnnamed2085() { | 1789 buildUnnamed1856() { |
1790 var o = new core.List<api.MarketplaceDeal>(); | 1790 var o = new core.List<api.MarketplaceDeal>(); |
1791 o.add(buildMarketplaceDeal()); | 1791 o.add(buildMarketplaceDeal()); |
1792 o.add(buildMarketplaceDeal()); | 1792 o.add(buildMarketplaceDeal()); |
1793 return o; | 1793 return o; |
1794 } | 1794 } |
1795 | 1795 |
1796 checkUnnamed2085(core.List<api.MarketplaceDeal> o) { | 1796 checkUnnamed1856(core.List<api.MarketplaceDeal> o) { |
1797 unittest.expect(o, unittest.hasLength(2)); | 1797 unittest.expect(o, unittest.hasLength(2)); |
1798 checkMarketplaceDeal(o[0]); | 1798 checkMarketplaceDeal(o[0]); |
1799 checkMarketplaceDeal(o[1]); | 1799 checkMarketplaceDeal(o[1]); |
1800 } | 1800 } |
1801 | 1801 |
1802 core.int buildCounterGetOrderDealsResponse = 0; | 1802 core.int buildCounterGetOrderDealsResponse = 0; |
1803 buildGetOrderDealsResponse() { | 1803 buildGetOrderDealsResponse() { |
1804 var o = new api.GetOrderDealsResponse(); | 1804 var o = new api.GetOrderDealsResponse(); |
1805 buildCounterGetOrderDealsResponse++; | 1805 buildCounterGetOrderDealsResponse++; |
1806 if (buildCounterGetOrderDealsResponse < 3) { | 1806 if (buildCounterGetOrderDealsResponse < 3) { |
1807 o.deals = buildUnnamed2085(); | 1807 o.deals = buildUnnamed1856(); |
1808 } | 1808 } |
1809 buildCounterGetOrderDealsResponse--; | 1809 buildCounterGetOrderDealsResponse--; |
1810 return o; | 1810 return o; |
1811 } | 1811 } |
1812 | 1812 |
1813 checkGetOrderDealsResponse(api.GetOrderDealsResponse o) { | 1813 checkGetOrderDealsResponse(api.GetOrderDealsResponse o) { |
1814 buildCounterGetOrderDealsResponse++; | 1814 buildCounterGetOrderDealsResponse++; |
1815 if (buildCounterGetOrderDealsResponse < 3) { | 1815 if (buildCounterGetOrderDealsResponse < 3) { |
1816 checkUnnamed2085(o.deals); | 1816 checkUnnamed1856(o.deals); |
1817 } | 1817 } |
1818 buildCounterGetOrderDealsResponse--; | 1818 buildCounterGetOrderDealsResponse--; |
1819 } | 1819 } |
1820 | 1820 |
1821 buildUnnamed2086() { | 1821 buildUnnamed1857() { |
1822 var o = new core.List<api.MarketplaceNote>(); | 1822 var o = new core.List<api.MarketplaceNote>(); |
1823 o.add(buildMarketplaceNote()); | 1823 o.add(buildMarketplaceNote()); |
1824 o.add(buildMarketplaceNote()); | 1824 o.add(buildMarketplaceNote()); |
1825 return o; | 1825 return o; |
1826 } | 1826 } |
1827 | 1827 |
1828 checkUnnamed2086(core.List<api.MarketplaceNote> o) { | 1828 checkUnnamed1857(core.List<api.MarketplaceNote> o) { |
1829 unittest.expect(o, unittest.hasLength(2)); | 1829 unittest.expect(o, unittest.hasLength(2)); |
1830 checkMarketplaceNote(o[0]); | 1830 checkMarketplaceNote(o[0]); |
1831 checkMarketplaceNote(o[1]); | 1831 checkMarketplaceNote(o[1]); |
1832 } | 1832 } |
1833 | 1833 |
1834 core.int buildCounterGetOrderNotesResponse = 0; | 1834 core.int buildCounterGetOrderNotesResponse = 0; |
1835 buildGetOrderNotesResponse() { | 1835 buildGetOrderNotesResponse() { |
1836 var o = new api.GetOrderNotesResponse(); | 1836 var o = new api.GetOrderNotesResponse(); |
1837 buildCounterGetOrderNotesResponse++; | 1837 buildCounterGetOrderNotesResponse++; |
1838 if (buildCounterGetOrderNotesResponse < 3) { | 1838 if (buildCounterGetOrderNotesResponse < 3) { |
1839 o.notes = buildUnnamed2086(); | 1839 o.notes = buildUnnamed1857(); |
1840 } | 1840 } |
1841 buildCounterGetOrderNotesResponse--; | 1841 buildCounterGetOrderNotesResponse--; |
1842 return o; | 1842 return o; |
1843 } | 1843 } |
1844 | 1844 |
1845 checkGetOrderNotesResponse(api.GetOrderNotesResponse o) { | 1845 checkGetOrderNotesResponse(api.GetOrderNotesResponse o) { |
1846 buildCounterGetOrderNotesResponse++; | 1846 buildCounterGetOrderNotesResponse++; |
1847 if (buildCounterGetOrderNotesResponse < 3) { | 1847 if (buildCounterGetOrderNotesResponse < 3) { |
1848 checkUnnamed2086(o.notes); | 1848 checkUnnamed1857(o.notes); |
1849 } | 1849 } |
1850 buildCounterGetOrderNotesResponse--; | 1850 buildCounterGetOrderNotesResponse--; |
1851 } | 1851 } |
1852 | 1852 |
1853 buildUnnamed2087() { | 1853 buildUnnamed1858() { |
1854 var o = new core.List<api.Proposal>(); | 1854 var o = new core.List<api.Proposal>(); |
1855 o.add(buildProposal()); | 1855 o.add(buildProposal()); |
1856 o.add(buildProposal()); | 1856 o.add(buildProposal()); |
1857 return o; | 1857 return o; |
1858 } | 1858 } |
1859 | 1859 |
1860 checkUnnamed2087(core.List<api.Proposal> o) { | 1860 checkUnnamed1858(core.List<api.Proposal> o) { |
1861 unittest.expect(o, unittest.hasLength(2)); | 1861 unittest.expect(o, unittest.hasLength(2)); |
1862 checkProposal(o[0]); | 1862 checkProposal(o[0]); |
1863 checkProposal(o[1]); | 1863 checkProposal(o[1]); |
1864 } | 1864 } |
1865 | 1865 |
1866 core.int buildCounterGetOrdersResponse = 0; | 1866 core.int buildCounterGetOrdersResponse = 0; |
1867 buildGetOrdersResponse() { | 1867 buildGetOrdersResponse() { |
1868 var o = new api.GetOrdersResponse(); | 1868 var o = new api.GetOrdersResponse(); |
1869 buildCounterGetOrdersResponse++; | 1869 buildCounterGetOrdersResponse++; |
1870 if (buildCounterGetOrdersResponse < 3) { | 1870 if (buildCounterGetOrdersResponse < 3) { |
1871 o.proposals = buildUnnamed2087(); | 1871 o.proposals = buildUnnamed1858(); |
1872 } | 1872 } |
1873 buildCounterGetOrdersResponse--; | 1873 buildCounterGetOrdersResponse--; |
1874 return o; | 1874 return o; |
1875 } | 1875 } |
1876 | 1876 |
1877 checkGetOrdersResponse(api.GetOrdersResponse o) { | 1877 checkGetOrdersResponse(api.GetOrdersResponse o) { |
1878 buildCounterGetOrdersResponse++; | 1878 buildCounterGetOrdersResponse++; |
1879 if (buildCounterGetOrdersResponse < 3) { | 1879 if (buildCounterGetOrdersResponse < 3) { |
1880 checkUnnamed2087(o.proposals); | 1880 checkUnnamed1858(o.proposals); |
1881 } | 1881 } |
1882 buildCounterGetOrdersResponse--; | 1882 buildCounterGetOrdersResponse--; |
1883 } | 1883 } |
1884 | 1884 |
1885 buildUnnamed2088() { | 1885 buildUnnamed1859() { |
1886 var o = new core.List<api.PublisherProfileApiProto>(); | 1886 var o = new core.List<api.PublisherProfileApiProto>(); |
1887 o.add(buildPublisherProfileApiProto()); | 1887 o.add(buildPublisherProfileApiProto()); |
1888 o.add(buildPublisherProfileApiProto()); | 1888 o.add(buildPublisherProfileApiProto()); |
1889 return o; | 1889 return o; |
1890 } | 1890 } |
1891 | 1891 |
1892 checkUnnamed2088(core.List<api.PublisherProfileApiProto> o) { | 1892 checkUnnamed1859(core.List<api.PublisherProfileApiProto> o) { |
1893 unittest.expect(o, unittest.hasLength(2)); | 1893 unittest.expect(o, unittest.hasLength(2)); |
1894 checkPublisherProfileApiProto(o[0]); | 1894 checkPublisherProfileApiProto(o[0]); |
1895 checkPublisherProfileApiProto(o[1]); | 1895 checkPublisherProfileApiProto(o[1]); |
1896 } | 1896 } |
1897 | 1897 |
1898 core.int buildCounterGetPublisherProfilesByAccountIdResponse = 0; | 1898 core.int buildCounterGetPublisherProfilesByAccountIdResponse = 0; |
1899 buildGetPublisherProfilesByAccountIdResponse() { | 1899 buildGetPublisherProfilesByAccountIdResponse() { |
1900 var o = new api.GetPublisherProfilesByAccountIdResponse(); | 1900 var o = new api.GetPublisherProfilesByAccountIdResponse(); |
1901 buildCounterGetPublisherProfilesByAccountIdResponse++; | 1901 buildCounterGetPublisherProfilesByAccountIdResponse++; |
1902 if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) { | 1902 if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) { |
1903 o.profiles = buildUnnamed2088(); | 1903 o.profiles = buildUnnamed1859(); |
1904 } | 1904 } |
1905 buildCounterGetPublisherProfilesByAccountIdResponse--; | 1905 buildCounterGetPublisherProfilesByAccountIdResponse--; |
1906 return o; | 1906 return o; |
1907 } | 1907 } |
1908 | 1908 |
1909 checkGetPublisherProfilesByAccountIdResponse(api.GetPublisherProfilesByAccountId
Response o) { | 1909 checkGetPublisherProfilesByAccountIdResponse(api.GetPublisherProfilesByAccountId
Response o) { |
1910 buildCounterGetPublisherProfilesByAccountIdResponse++; | 1910 buildCounterGetPublisherProfilesByAccountIdResponse++; |
1911 if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) { | 1911 if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) { |
1912 checkUnnamed2088(o.profiles); | 1912 checkUnnamed1859(o.profiles); |
1913 } | 1913 } |
1914 buildCounterGetPublisherProfilesByAccountIdResponse--; | 1914 buildCounterGetPublisherProfilesByAccountIdResponse--; |
1915 } | 1915 } |
1916 | 1916 |
1917 buildUnnamed2089() { | 1917 buildUnnamed1860() { |
1918 var o = new core.List<api.ContactInformation>(); | 1918 var o = new core.List<api.ContactInformation>(); |
1919 o.add(buildContactInformation()); | 1919 o.add(buildContactInformation()); |
1920 o.add(buildContactInformation()); | 1920 o.add(buildContactInformation()); |
1921 return o; | 1921 return o; |
1922 } | 1922 } |
1923 | 1923 |
1924 checkUnnamed2089(core.List<api.ContactInformation> o) { | 1924 checkUnnamed1860(core.List<api.ContactInformation> o) { |
1925 unittest.expect(o, unittest.hasLength(2)); | 1925 unittest.expect(o, unittest.hasLength(2)); |
1926 checkContactInformation(o[0]); | 1926 checkContactInformation(o[0]); |
1927 checkContactInformation(o[1]); | 1927 checkContactInformation(o[1]); |
1928 } | 1928 } |
1929 | 1929 |
1930 buildUnnamed2090() { | 1930 buildUnnamed1861() { |
1931 var o = new core.List<api.SharedTargeting>(); | 1931 var o = new core.List<api.SharedTargeting>(); |
1932 o.add(buildSharedTargeting()); | 1932 o.add(buildSharedTargeting()); |
1933 o.add(buildSharedTargeting()); | 1933 o.add(buildSharedTargeting()); |
1934 return o; | 1934 return o; |
1935 } | 1935 } |
1936 | 1936 |
1937 checkUnnamed2090(core.List<api.SharedTargeting> o) { | 1937 checkUnnamed1861(core.List<api.SharedTargeting> o) { |
1938 unittest.expect(o, unittest.hasLength(2)); | 1938 unittest.expect(o, unittest.hasLength(2)); |
1939 checkSharedTargeting(o[0]); | 1939 checkSharedTargeting(o[0]); |
1940 checkSharedTargeting(o[1]); | 1940 checkSharedTargeting(o[1]); |
1941 } | 1941 } |
1942 | 1942 |
1943 core.int buildCounterMarketplaceDeal = 0; | 1943 core.int buildCounterMarketplaceDeal = 0; |
1944 buildMarketplaceDeal() { | 1944 buildMarketplaceDeal() { |
1945 var o = new api.MarketplaceDeal(); | 1945 var o = new api.MarketplaceDeal(); |
1946 buildCounterMarketplaceDeal++; | 1946 buildCounterMarketplaceDeal++; |
1947 if (buildCounterMarketplaceDeal < 3) { | 1947 if (buildCounterMarketplaceDeal < 3) { |
1948 o.buyerPrivateData = buildPrivateData(); | 1948 o.buyerPrivateData = buildPrivateData(); |
1949 o.creationTimeMs = "foo"; | 1949 o.creationTimeMs = "foo"; |
1950 o.creativePreApprovalPolicy = "foo"; | 1950 o.creativePreApprovalPolicy = "foo"; |
1951 o.creativeSafeFrameCompatibility = "foo"; | 1951 o.creativeSafeFrameCompatibility = "foo"; |
1952 o.dealId = "foo"; | 1952 o.dealId = "foo"; |
1953 o.dealServingMetadata = buildDealServingMetadata(); | 1953 o.dealServingMetadata = buildDealServingMetadata(); |
1954 o.deliveryControl = buildDeliveryControl(); | 1954 o.deliveryControl = buildDeliveryControl(); |
1955 o.externalDealId = "foo"; | 1955 o.externalDealId = "foo"; |
1956 o.flightEndTimeMs = "foo"; | 1956 o.flightEndTimeMs = "foo"; |
1957 o.flightStartTimeMs = "foo"; | 1957 o.flightStartTimeMs = "foo"; |
1958 o.inventoryDescription = "foo"; | 1958 o.inventoryDescription = "foo"; |
1959 o.isRfpTemplate = true; | 1959 o.isRfpTemplate = true; |
1960 o.kind = "foo"; | 1960 o.kind = "foo"; |
1961 o.lastUpdateTimeMs = "foo"; | 1961 o.lastUpdateTimeMs = "foo"; |
1962 o.name = "foo"; | 1962 o.name = "foo"; |
1963 o.productId = "foo"; | 1963 o.productId = "foo"; |
1964 o.productRevisionNumber = "foo"; | 1964 o.productRevisionNumber = "foo"; |
1965 o.programmaticCreativeSource = "foo"; | 1965 o.programmaticCreativeSource = "foo"; |
1966 o.proposalId = "foo"; | 1966 o.proposalId = "foo"; |
1967 o.sellerContacts = buildUnnamed2089(); | 1967 o.sellerContacts = buildUnnamed1860(); |
1968 o.sharedTargetings = buildUnnamed2090(); | 1968 o.sharedTargetings = buildUnnamed1861(); |
1969 o.syndicationProduct = "foo"; | 1969 o.syndicationProduct = "foo"; |
1970 o.terms = buildDealTerms(); | 1970 o.terms = buildDealTerms(); |
1971 o.webPropertyCode = "foo"; | 1971 o.webPropertyCode = "foo"; |
1972 } | 1972 } |
1973 buildCounterMarketplaceDeal--; | 1973 buildCounterMarketplaceDeal--; |
1974 return o; | 1974 return o; |
1975 } | 1975 } |
1976 | 1976 |
1977 checkMarketplaceDeal(api.MarketplaceDeal o) { | 1977 checkMarketplaceDeal(api.MarketplaceDeal o) { |
1978 buildCounterMarketplaceDeal++; | 1978 buildCounterMarketplaceDeal++; |
(...skipping 10 matching lines...) Expand all Loading... |
1989 unittest.expect(o.flightStartTimeMs, unittest.equals('foo')); | 1989 unittest.expect(o.flightStartTimeMs, unittest.equals('foo')); |
1990 unittest.expect(o.inventoryDescription, unittest.equals('foo')); | 1990 unittest.expect(o.inventoryDescription, unittest.equals('foo')); |
1991 unittest.expect(o.isRfpTemplate, unittest.isTrue); | 1991 unittest.expect(o.isRfpTemplate, unittest.isTrue); |
1992 unittest.expect(o.kind, unittest.equals('foo')); | 1992 unittest.expect(o.kind, unittest.equals('foo')); |
1993 unittest.expect(o.lastUpdateTimeMs, unittest.equals('foo')); | 1993 unittest.expect(o.lastUpdateTimeMs, unittest.equals('foo')); |
1994 unittest.expect(o.name, unittest.equals('foo')); | 1994 unittest.expect(o.name, unittest.equals('foo')); |
1995 unittest.expect(o.productId, unittest.equals('foo')); | 1995 unittest.expect(o.productId, unittest.equals('foo')); |
1996 unittest.expect(o.productRevisionNumber, unittest.equals('foo')); | 1996 unittest.expect(o.productRevisionNumber, unittest.equals('foo')); |
1997 unittest.expect(o.programmaticCreativeSource, unittest.equals('foo')); | 1997 unittest.expect(o.programmaticCreativeSource, unittest.equals('foo')); |
1998 unittest.expect(o.proposalId, unittest.equals('foo')); | 1998 unittest.expect(o.proposalId, unittest.equals('foo')); |
1999 checkUnnamed2089(o.sellerContacts); | 1999 checkUnnamed1860(o.sellerContacts); |
2000 checkUnnamed2090(o.sharedTargetings); | 2000 checkUnnamed1861(o.sharedTargetings); |
2001 unittest.expect(o.syndicationProduct, unittest.equals('foo')); | 2001 unittest.expect(o.syndicationProduct, unittest.equals('foo')); |
2002 checkDealTerms(o.terms); | 2002 checkDealTerms(o.terms); |
2003 unittest.expect(o.webPropertyCode, unittest.equals('foo')); | 2003 unittest.expect(o.webPropertyCode, unittest.equals('foo')); |
2004 } | 2004 } |
2005 buildCounterMarketplaceDeal--; | 2005 buildCounterMarketplaceDeal--; |
2006 } | 2006 } |
2007 | 2007 |
2008 core.int buildCounterMarketplaceDealParty = 0; | 2008 core.int buildCounterMarketplaceDealParty = 0; |
2009 buildMarketplaceDealParty() { | 2009 buildMarketplaceDealParty() { |
2010 var o = new api.MarketplaceDealParty(); | 2010 var o = new api.MarketplaceDealParty(); |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2077 unittest.expect(o.kind, unittest.equals('foo')); | 2077 unittest.expect(o.kind, unittest.equals('foo')); |
2078 unittest.expect(o.note, unittest.equals('foo')); | 2078 unittest.expect(o.note, unittest.equals('foo')); |
2079 unittest.expect(o.noteId, unittest.equals('foo')); | 2079 unittest.expect(o.noteId, unittest.equals('foo')); |
2080 unittest.expect(o.proposalId, unittest.equals('foo')); | 2080 unittest.expect(o.proposalId, unittest.equals('foo')); |
2081 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); | 2081 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); |
2082 unittest.expect(o.timestampMs, unittest.equals('foo')); | 2082 unittest.expect(o.timestampMs, unittest.equals('foo')); |
2083 } | 2083 } |
2084 buildCounterMarketplaceNote--; | 2084 buildCounterMarketplaceNote--; |
2085 } | 2085 } |
2086 | 2086 |
2087 buildUnnamed2091() { | 2087 buildUnnamed1862() { |
2088 var o = new core.List<core.Object>(); | 2088 var o = new core.List<core.Object>(); |
2089 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2089 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
2090 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2090 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
2091 return o; | 2091 return o; |
2092 } | 2092 } |
2093 | 2093 |
2094 checkUnnamed2091(core.List<core.Object> o) { | 2094 checkUnnamed1862(core.List<core.Object> o) { |
2095 unittest.expect(o, unittest.hasLength(2)); | 2095 unittest.expect(o, unittest.hasLength(2)); |
2096 var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(
3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], u
nittest.equals('foo')); | 2096 var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(
3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], u
nittest.equals('foo')); |
2097 var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength(
3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], u
nittest.equals('foo')); | 2097 var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength(
3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], u
nittest.equals('foo')); |
2098 } | 2098 } |
2099 | 2099 |
2100 buildUnnamed2092() { | 2100 buildUnnamed1863() { |
2101 var o = new core.List<core.Object>(); | 2101 var o = new core.List<core.Object>(); |
2102 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2102 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
2103 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2103 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
2104 return o; | 2104 return o; |
2105 } | 2105 } |
2106 | 2106 |
2107 checkUnnamed2092(core.List<core.Object> o) { | 2107 checkUnnamed1863(core.List<core.Object> o) { |
2108 unittest.expect(o, unittest.hasLength(2)); | 2108 unittest.expect(o, unittest.hasLength(2)); |
2109 var casted3 = (o[0]) as core.Map; unittest.expect(casted3, unittest.hasLength(
3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"], u
nittest.equals('foo')); | 2109 var casted3 = (o[0]) as core.Map; unittest.expect(casted3, unittest.hasLength(
3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"], u
nittest.equals('foo')); |
2110 var casted4 = (o[1]) as core.Map; unittest.expect(casted4, unittest.hasLength(
3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], u
nittest.equals('foo')); | 2110 var casted4 = (o[1]) as core.Map; unittest.expect(casted4, unittest.hasLength(
3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], u
nittest.equals('foo')); |
2111 } | 2111 } |
2112 | 2112 |
2113 buildUnnamed2093() { | 2113 buildUnnamed1864() { |
2114 var o = new core.List<core.Object>(); | 2114 var o = new core.List<core.Object>(); |
2115 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2115 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
2116 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2116 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
2117 return o; | 2117 return o; |
2118 } | 2118 } |
2119 | 2119 |
2120 checkUnnamed2093(core.List<core.Object> o) { | 2120 checkUnnamed1864(core.List<core.Object> o) { |
2121 unittest.expect(o, unittest.hasLength(2)); | 2121 unittest.expect(o, unittest.hasLength(2)); |
2122 var casted5 = (o[0]) as core.Map; unittest.expect(casted5, unittest.hasLength(
3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"], u
nittest.equals('foo')); | 2122 var casted5 = (o[0]) as core.Map; unittest.expect(casted5, unittest.hasLength(
3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"], u
nittest.equals('foo')); |
2123 var casted6 = (o[1]) as core.Map; unittest.expect(casted6, unittest.hasLength(
3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"], u
nittest.equals('foo')); | 2123 var casted6 = (o[1]) as core.Map; unittest.expect(casted6, unittest.hasLength(
3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"], u
nittest.equals('foo')); |
2124 } | 2124 } |
2125 | 2125 |
2126 buildUnnamed2094() { | 2126 buildUnnamed1865() { |
2127 var o = new core.List<core.Object>(); | 2127 var o = new core.List<core.Object>(); |
2128 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2128 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
2129 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2129 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
2130 return o; | 2130 return o; |
2131 } | 2131 } |
2132 | 2132 |
2133 checkUnnamed2094(core.List<core.Object> o) { | 2133 checkUnnamed1865(core.List<core.Object> o) { |
2134 unittest.expect(o, unittest.hasLength(2)); | 2134 unittest.expect(o, unittest.hasLength(2)); |
2135 var casted7 = (o[0]) as core.Map; unittest.expect(casted7, unittest.hasLength(
3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string"], u
nittest.equals('foo')); | 2135 var casted7 = (o[0]) as core.Map; unittest.expect(casted7, unittest.hasLength(
3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string"], u
nittest.equals('foo')); |
2136 var casted8 = (o[1]) as core.Map; unittest.expect(casted8, unittest.hasLength(
3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"], u
nittest.equals('foo')); | 2136 var casted8 = (o[1]) as core.Map; unittest.expect(casted8, unittest.hasLength(
3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"], u
nittest.equals('foo')); |
2137 } | 2137 } |
2138 | 2138 |
2139 core.int buildCounterPerformanceReport = 0; | 2139 core.int buildCounterPerformanceReport = 0; |
2140 buildPerformanceReport() { | 2140 buildPerformanceReport() { |
2141 var o = new api.PerformanceReport(); | 2141 var o = new api.PerformanceReport(); |
2142 buildCounterPerformanceReport++; | 2142 buildCounterPerformanceReport++; |
2143 if (buildCounterPerformanceReport < 3) { | 2143 if (buildCounterPerformanceReport < 3) { |
2144 o.bidRate = 42.0; | 2144 o.bidRate = 42.0; |
2145 o.bidRequestRate = 42.0; | 2145 o.bidRequestRate = 42.0; |
2146 o.calloutStatusRate = buildUnnamed2091(); | 2146 o.calloutStatusRate = buildUnnamed1862(); |
2147 o.cookieMatcherStatusRate = buildUnnamed2092(); | 2147 o.cookieMatcherStatusRate = buildUnnamed1863(); |
2148 o.creativeStatusRate = buildUnnamed2093(); | 2148 o.creativeStatusRate = buildUnnamed1864(); |
2149 o.filteredBidRate = 42.0; | 2149 o.filteredBidRate = 42.0; |
2150 o.hostedMatchStatusRate = buildUnnamed2094(); | 2150 o.hostedMatchStatusRate = buildUnnamed1865(); |
2151 o.inventoryMatchRate = 42.0; | 2151 o.inventoryMatchRate = 42.0; |
2152 o.kind = "foo"; | 2152 o.kind = "foo"; |
2153 o.latency50thPercentile = 42.0; | 2153 o.latency50thPercentile = 42.0; |
2154 o.latency85thPercentile = 42.0; | 2154 o.latency85thPercentile = 42.0; |
2155 o.latency95thPercentile = 42.0; | 2155 o.latency95thPercentile = 42.0; |
2156 o.noQuotaInRegion = 42.0; | 2156 o.noQuotaInRegion = 42.0; |
2157 o.outOfQuota = 42.0; | 2157 o.outOfQuota = 42.0; |
2158 o.pixelMatchRequests = 42.0; | 2158 o.pixelMatchRequests = 42.0; |
2159 o.pixelMatchResponses = 42.0; | 2159 o.pixelMatchResponses = 42.0; |
2160 o.quotaConfiguredLimit = 42.0; | 2160 o.quotaConfiguredLimit = 42.0; |
2161 o.quotaThrottledLimit = 42.0; | 2161 o.quotaThrottledLimit = 42.0; |
2162 o.region = "foo"; | 2162 o.region = "foo"; |
2163 o.successfulRequestRate = 42.0; | 2163 o.successfulRequestRate = 42.0; |
2164 o.timestamp = "foo"; | 2164 o.timestamp = "foo"; |
2165 o.unsuccessfulRequestRate = 42.0; | 2165 o.unsuccessfulRequestRate = 42.0; |
2166 } | 2166 } |
2167 buildCounterPerformanceReport--; | 2167 buildCounterPerformanceReport--; |
2168 return o; | 2168 return o; |
2169 } | 2169 } |
2170 | 2170 |
2171 checkPerformanceReport(api.PerformanceReport o) { | 2171 checkPerformanceReport(api.PerformanceReport o) { |
2172 buildCounterPerformanceReport++; | 2172 buildCounterPerformanceReport++; |
2173 if (buildCounterPerformanceReport < 3) { | 2173 if (buildCounterPerformanceReport < 3) { |
2174 unittest.expect(o.bidRate, unittest.equals(42.0)); | 2174 unittest.expect(o.bidRate, unittest.equals(42.0)); |
2175 unittest.expect(o.bidRequestRate, unittest.equals(42.0)); | 2175 unittest.expect(o.bidRequestRate, unittest.equals(42.0)); |
2176 checkUnnamed2091(o.calloutStatusRate); | 2176 checkUnnamed1862(o.calloutStatusRate); |
2177 checkUnnamed2092(o.cookieMatcherStatusRate); | 2177 checkUnnamed1863(o.cookieMatcherStatusRate); |
2178 checkUnnamed2093(o.creativeStatusRate); | 2178 checkUnnamed1864(o.creativeStatusRate); |
2179 unittest.expect(o.filteredBidRate, unittest.equals(42.0)); | 2179 unittest.expect(o.filteredBidRate, unittest.equals(42.0)); |
2180 checkUnnamed2094(o.hostedMatchStatusRate); | 2180 checkUnnamed1865(o.hostedMatchStatusRate); |
2181 unittest.expect(o.inventoryMatchRate, unittest.equals(42.0)); | 2181 unittest.expect(o.inventoryMatchRate, unittest.equals(42.0)); |
2182 unittest.expect(o.kind, unittest.equals('foo')); | 2182 unittest.expect(o.kind, unittest.equals('foo')); |
2183 unittest.expect(o.latency50thPercentile, unittest.equals(42.0)); | 2183 unittest.expect(o.latency50thPercentile, unittest.equals(42.0)); |
2184 unittest.expect(o.latency85thPercentile, unittest.equals(42.0)); | 2184 unittest.expect(o.latency85thPercentile, unittest.equals(42.0)); |
2185 unittest.expect(o.latency95thPercentile, unittest.equals(42.0)); | 2185 unittest.expect(o.latency95thPercentile, unittest.equals(42.0)); |
2186 unittest.expect(o.noQuotaInRegion, unittest.equals(42.0)); | 2186 unittest.expect(o.noQuotaInRegion, unittest.equals(42.0)); |
2187 unittest.expect(o.outOfQuota, unittest.equals(42.0)); | 2187 unittest.expect(o.outOfQuota, unittest.equals(42.0)); |
2188 unittest.expect(o.pixelMatchRequests, unittest.equals(42.0)); | 2188 unittest.expect(o.pixelMatchRequests, unittest.equals(42.0)); |
2189 unittest.expect(o.pixelMatchResponses, unittest.equals(42.0)); | 2189 unittest.expect(o.pixelMatchResponses, unittest.equals(42.0)); |
2190 unittest.expect(o.quotaConfiguredLimit, unittest.equals(42.0)); | 2190 unittest.expect(o.quotaConfiguredLimit, unittest.equals(42.0)); |
2191 unittest.expect(o.quotaThrottledLimit, unittest.equals(42.0)); | 2191 unittest.expect(o.quotaThrottledLimit, unittest.equals(42.0)); |
2192 unittest.expect(o.region, unittest.equals('foo')); | 2192 unittest.expect(o.region, unittest.equals('foo')); |
2193 unittest.expect(o.successfulRequestRate, unittest.equals(42.0)); | 2193 unittest.expect(o.successfulRequestRate, unittest.equals(42.0)); |
2194 unittest.expect(o.timestamp, unittest.equals('foo')); | 2194 unittest.expect(o.timestamp, unittest.equals('foo')); |
2195 unittest.expect(o.unsuccessfulRequestRate, unittest.equals(42.0)); | 2195 unittest.expect(o.unsuccessfulRequestRate, unittest.equals(42.0)); |
2196 } | 2196 } |
2197 buildCounterPerformanceReport--; | 2197 buildCounterPerformanceReport--; |
2198 } | 2198 } |
2199 | 2199 |
2200 buildUnnamed2095() { | 2200 buildUnnamed1866() { |
2201 var o = new core.List<api.PerformanceReport>(); | 2201 var o = new core.List<api.PerformanceReport>(); |
2202 o.add(buildPerformanceReport()); | 2202 o.add(buildPerformanceReport()); |
2203 o.add(buildPerformanceReport()); | 2203 o.add(buildPerformanceReport()); |
2204 return o; | 2204 return o; |
2205 } | 2205 } |
2206 | 2206 |
2207 checkUnnamed2095(core.List<api.PerformanceReport> o) { | 2207 checkUnnamed1866(core.List<api.PerformanceReport> o) { |
2208 unittest.expect(o, unittest.hasLength(2)); | 2208 unittest.expect(o, unittest.hasLength(2)); |
2209 checkPerformanceReport(o[0]); | 2209 checkPerformanceReport(o[0]); |
2210 checkPerformanceReport(o[1]); | 2210 checkPerformanceReport(o[1]); |
2211 } | 2211 } |
2212 | 2212 |
2213 core.int buildCounterPerformanceReportList = 0; | 2213 core.int buildCounterPerformanceReportList = 0; |
2214 buildPerformanceReportList() { | 2214 buildPerformanceReportList() { |
2215 var o = new api.PerformanceReportList(); | 2215 var o = new api.PerformanceReportList(); |
2216 buildCounterPerformanceReportList++; | 2216 buildCounterPerformanceReportList++; |
2217 if (buildCounterPerformanceReportList < 3) { | 2217 if (buildCounterPerformanceReportList < 3) { |
2218 o.kind = "foo"; | 2218 o.kind = "foo"; |
2219 o.performanceReport = buildUnnamed2095(); | 2219 o.performanceReport = buildUnnamed1866(); |
2220 } | 2220 } |
2221 buildCounterPerformanceReportList--; | 2221 buildCounterPerformanceReportList--; |
2222 return o; | 2222 return o; |
2223 } | 2223 } |
2224 | 2224 |
2225 checkPerformanceReportList(api.PerformanceReportList o) { | 2225 checkPerformanceReportList(api.PerformanceReportList o) { |
2226 buildCounterPerformanceReportList++; | 2226 buildCounterPerformanceReportList++; |
2227 if (buildCounterPerformanceReportList < 3) { | 2227 if (buildCounterPerformanceReportList < 3) { |
2228 unittest.expect(o.kind, unittest.equals('foo')); | 2228 unittest.expect(o.kind, unittest.equals('foo')); |
2229 checkUnnamed2095(o.performanceReport); | 2229 checkUnnamed1866(o.performanceReport); |
2230 } | 2230 } |
2231 buildCounterPerformanceReportList--; | 2231 buildCounterPerformanceReportList--; |
2232 } | 2232 } |
2233 | 2233 |
2234 buildUnnamed2096() { | 2234 buildUnnamed1867() { |
2235 var o = new core.List<core.String>(); | 2235 var o = new core.List<core.String>(); |
2236 o.add("foo"); | 2236 o.add("foo"); |
2237 o.add("foo"); | 2237 o.add("foo"); |
2238 return o; | 2238 return o; |
2239 } | 2239 } |
2240 | 2240 |
2241 checkUnnamed2096(core.List<core.String> o) { | 2241 checkUnnamed1867(core.List<core.String> o) { |
2242 unittest.expect(o, unittest.hasLength(2)); | 2242 unittest.expect(o, unittest.hasLength(2)); |
2243 unittest.expect(o[0], unittest.equals('foo')); | 2243 unittest.expect(o[0], unittest.equals('foo')); |
2244 unittest.expect(o[1], unittest.equals('foo')); | 2244 unittest.expect(o[1], unittest.equals('foo')); |
2245 } | 2245 } |
2246 | 2246 |
2247 core.int buildCounterPretargetingConfigDimensions = 0; | 2247 core.int buildCounterPretargetingConfigDimensions = 0; |
2248 buildPretargetingConfigDimensions() { | 2248 buildPretargetingConfigDimensions() { |
2249 var o = new api.PretargetingConfigDimensions(); | 2249 var o = new api.PretargetingConfigDimensions(); |
2250 buildCounterPretargetingConfigDimensions++; | 2250 buildCounterPretargetingConfigDimensions++; |
2251 if (buildCounterPretargetingConfigDimensions < 3) { | 2251 if (buildCounterPretargetingConfigDimensions < 3) { |
2252 o.height = "foo"; | 2252 o.height = "foo"; |
2253 o.width = "foo"; | 2253 o.width = "foo"; |
2254 } | 2254 } |
2255 buildCounterPretargetingConfigDimensions--; | 2255 buildCounterPretargetingConfigDimensions--; |
2256 return o; | 2256 return o; |
2257 } | 2257 } |
2258 | 2258 |
2259 checkPretargetingConfigDimensions(api.PretargetingConfigDimensions o) { | 2259 checkPretargetingConfigDimensions(api.PretargetingConfigDimensions o) { |
2260 buildCounterPretargetingConfigDimensions++; | 2260 buildCounterPretargetingConfigDimensions++; |
2261 if (buildCounterPretargetingConfigDimensions < 3) { | 2261 if (buildCounterPretargetingConfigDimensions < 3) { |
2262 unittest.expect(o.height, unittest.equals('foo')); | 2262 unittest.expect(o.height, unittest.equals('foo')); |
2263 unittest.expect(o.width, unittest.equals('foo')); | 2263 unittest.expect(o.width, unittest.equals('foo')); |
2264 } | 2264 } |
2265 buildCounterPretargetingConfigDimensions--; | 2265 buildCounterPretargetingConfigDimensions--; |
2266 } | 2266 } |
2267 | 2267 |
2268 buildUnnamed2097() { | 2268 buildUnnamed1868() { |
2269 var o = new core.List<api.PretargetingConfigDimensions>(); | 2269 var o = new core.List<api.PretargetingConfigDimensions>(); |
2270 o.add(buildPretargetingConfigDimensions()); | 2270 o.add(buildPretargetingConfigDimensions()); |
2271 o.add(buildPretargetingConfigDimensions()); | 2271 o.add(buildPretargetingConfigDimensions()); |
2272 return o; | 2272 return o; |
2273 } | 2273 } |
2274 | 2274 |
2275 checkUnnamed2097(core.List<api.PretargetingConfigDimensions> o) { | 2275 checkUnnamed1868(core.List<api.PretargetingConfigDimensions> o) { |
2276 unittest.expect(o, unittest.hasLength(2)); | 2276 unittest.expect(o, unittest.hasLength(2)); |
2277 checkPretargetingConfigDimensions(o[0]); | 2277 checkPretargetingConfigDimensions(o[0]); |
2278 checkPretargetingConfigDimensions(o[1]); | 2278 checkPretargetingConfigDimensions(o[1]); |
2279 } | 2279 } |
2280 | 2280 |
2281 buildUnnamed2098() { | 2281 buildUnnamed1869() { |
2282 var o = new core.List<core.String>(); | 2282 var o = new core.List<core.String>(); |
2283 o.add("foo"); | 2283 o.add("foo"); |
2284 o.add("foo"); | 2284 o.add("foo"); |
2285 return o; | 2285 return o; |
2286 } | 2286 } |
2287 | 2287 |
2288 checkUnnamed2098(core.List<core.String> o) { | 2288 checkUnnamed1869(core.List<core.String> o) { |
2289 unittest.expect(o, unittest.hasLength(2)); | 2289 unittest.expect(o, unittest.hasLength(2)); |
2290 unittest.expect(o[0], unittest.equals('foo')); | 2290 unittest.expect(o[0], unittest.equals('foo')); |
2291 unittest.expect(o[1], unittest.equals('foo')); | 2291 unittest.expect(o[1], unittest.equals('foo')); |
2292 } | 2292 } |
2293 | 2293 |
2294 buildUnnamed2099() { | 2294 buildUnnamed1870() { |
2295 var o = new core.List<core.String>(); | 2295 var o = new core.List<core.String>(); |
2296 o.add("foo"); | 2296 o.add("foo"); |
2297 o.add("foo"); | 2297 o.add("foo"); |
2298 return o; | 2298 return o; |
2299 } | 2299 } |
2300 | 2300 |
2301 checkUnnamed2099(core.List<core.String> o) { | 2301 checkUnnamed1870(core.List<core.String> o) { |
2302 unittest.expect(o, unittest.hasLength(2)); | 2302 unittest.expect(o, unittest.hasLength(2)); |
2303 unittest.expect(o[0], unittest.equals('foo')); | 2303 unittest.expect(o[0], unittest.equals('foo')); |
2304 unittest.expect(o[1], unittest.equals('foo')); | 2304 unittest.expect(o[1], unittest.equals('foo')); |
2305 } | 2305 } |
2306 | 2306 |
2307 core.int buildCounterPretargetingConfigExcludedPlacements = 0; | 2307 core.int buildCounterPretargetingConfigExcludedPlacements = 0; |
2308 buildPretargetingConfigExcludedPlacements() { | 2308 buildPretargetingConfigExcludedPlacements() { |
2309 var o = new api.PretargetingConfigExcludedPlacements(); | 2309 var o = new api.PretargetingConfigExcludedPlacements(); |
2310 buildCounterPretargetingConfigExcludedPlacements++; | 2310 buildCounterPretargetingConfigExcludedPlacements++; |
2311 if (buildCounterPretargetingConfigExcludedPlacements < 3) { | 2311 if (buildCounterPretargetingConfigExcludedPlacements < 3) { |
2312 o.token = "foo"; | 2312 o.token = "foo"; |
2313 o.type = "foo"; | 2313 o.type = "foo"; |
2314 } | 2314 } |
2315 buildCounterPretargetingConfigExcludedPlacements--; | 2315 buildCounterPretargetingConfigExcludedPlacements--; |
2316 return o; | 2316 return o; |
2317 } | 2317 } |
2318 | 2318 |
2319 checkPretargetingConfigExcludedPlacements(api.PretargetingConfigExcludedPlacemen
ts o) { | 2319 checkPretargetingConfigExcludedPlacements(api.PretargetingConfigExcludedPlacemen
ts o) { |
2320 buildCounterPretargetingConfigExcludedPlacements++; | 2320 buildCounterPretargetingConfigExcludedPlacements++; |
2321 if (buildCounterPretargetingConfigExcludedPlacements < 3) { | 2321 if (buildCounterPretargetingConfigExcludedPlacements < 3) { |
2322 unittest.expect(o.token, unittest.equals('foo')); | 2322 unittest.expect(o.token, unittest.equals('foo')); |
2323 unittest.expect(o.type, unittest.equals('foo')); | 2323 unittest.expect(o.type, unittest.equals('foo')); |
2324 } | 2324 } |
2325 buildCounterPretargetingConfigExcludedPlacements--; | 2325 buildCounterPretargetingConfigExcludedPlacements--; |
2326 } | 2326 } |
2327 | 2327 |
2328 buildUnnamed2100() { | 2328 buildUnnamed1871() { |
2329 var o = new core.List<api.PretargetingConfigExcludedPlacements>(); | 2329 var o = new core.List<api.PretargetingConfigExcludedPlacements>(); |
2330 o.add(buildPretargetingConfigExcludedPlacements()); | 2330 o.add(buildPretargetingConfigExcludedPlacements()); |
2331 o.add(buildPretargetingConfigExcludedPlacements()); | 2331 o.add(buildPretargetingConfigExcludedPlacements()); |
2332 return o; | 2332 return o; |
2333 } | 2333 } |
2334 | 2334 |
2335 checkUnnamed2100(core.List<api.PretargetingConfigExcludedPlacements> o) { | 2335 checkUnnamed1871(core.List<api.PretargetingConfigExcludedPlacements> o) { |
2336 unittest.expect(o, unittest.hasLength(2)); | 2336 unittest.expect(o, unittest.hasLength(2)); |
2337 checkPretargetingConfigExcludedPlacements(o[0]); | 2337 checkPretargetingConfigExcludedPlacements(o[0]); |
2338 checkPretargetingConfigExcludedPlacements(o[1]); | 2338 checkPretargetingConfigExcludedPlacements(o[1]); |
2339 } | 2339 } |
2340 | 2340 |
2341 buildUnnamed2101() { | 2341 buildUnnamed1872() { |
2342 var o = new core.List<core.String>(); | 2342 var o = new core.List<core.String>(); |
2343 o.add("foo"); | 2343 o.add("foo"); |
2344 o.add("foo"); | 2344 o.add("foo"); |
2345 return o; | 2345 return o; |
2346 } | 2346 } |
2347 | 2347 |
2348 checkUnnamed2101(core.List<core.String> o) { | 2348 checkUnnamed1872(core.List<core.String> o) { |
2349 unittest.expect(o, unittest.hasLength(2)); | 2349 unittest.expect(o, unittest.hasLength(2)); |
2350 unittest.expect(o[0], unittest.equals('foo')); | 2350 unittest.expect(o[0], unittest.equals('foo')); |
2351 unittest.expect(o[1], unittest.equals('foo')); | 2351 unittest.expect(o[1], unittest.equals('foo')); |
2352 } | 2352 } |
2353 | 2353 |
2354 buildUnnamed2102() { | 2354 buildUnnamed1873() { |
2355 var o = new core.List<core.String>(); | 2355 var o = new core.List<core.String>(); |
2356 o.add("foo"); | 2356 o.add("foo"); |
2357 o.add("foo"); | 2357 o.add("foo"); |
2358 return o; | 2358 return o; |
2359 } | 2359 } |
2360 | 2360 |
2361 checkUnnamed2102(core.List<core.String> o) { | 2361 checkUnnamed1873(core.List<core.String> o) { |
2362 unittest.expect(o, unittest.hasLength(2)); | 2362 unittest.expect(o, unittest.hasLength(2)); |
2363 unittest.expect(o[0], unittest.equals('foo')); | 2363 unittest.expect(o[0], unittest.equals('foo')); |
2364 unittest.expect(o[1], unittest.equals('foo')); | 2364 unittest.expect(o[1], unittest.equals('foo')); |
2365 } | 2365 } |
2366 | 2366 |
2367 buildUnnamed2103() { | 2367 buildUnnamed1874() { |
2368 var o = new core.List<core.String>(); | 2368 var o = new core.List<core.String>(); |
2369 o.add("foo"); | 2369 o.add("foo"); |
2370 o.add("foo"); | 2370 o.add("foo"); |
2371 return o; | 2371 return o; |
2372 } | 2372 } |
2373 | 2373 |
2374 checkUnnamed2103(core.List<core.String> o) { | 2374 checkUnnamed1874(core.List<core.String> o) { |
2375 unittest.expect(o, unittest.hasLength(2)); | 2375 unittest.expect(o, unittest.hasLength(2)); |
2376 unittest.expect(o[0], unittest.equals('foo')); | 2376 unittest.expect(o[0], unittest.equals('foo')); |
2377 unittest.expect(o[1], unittest.equals('foo')); | 2377 unittest.expect(o[1], unittest.equals('foo')); |
2378 } | 2378 } |
2379 | 2379 |
2380 buildUnnamed2104() { | 2380 buildUnnamed1875() { |
2381 var o = new core.List<core.String>(); | 2381 var o = new core.List<core.String>(); |
2382 o.add("foo"); | 2382 o.add("foo"); |
2383 o.add("foo"); | 2383 o.add("foo"); |
2384 return o; | 2384 return o; |
2385 } | 2385 } |
2386 | 2386 |
2387 checkUnnamed2104(core.List<core.String> o) { | 2387 checkUnnamed1875(core.List<core.String> o) { |
2388 unittest.expect(o, unittest.hasLength(2)); | 2388 unittest.expect(o, unittest.hasLength(2)); |
2389 unittest.expect(o[0], unittest.equals('foo')); | 2389 unittest.expect(o[0], unittest.equals('foo')); |
2390 unittest.expect(o[1], unittest.equals('foo')); | 2390 unittest.expect(o[1], unittest.equals('foo')); |
2391 } | 2391 } |
2392 | 2392 |
2393 buildUnnamed2105() { | 2393 buildUnnamed1876() { |
2394 var o = new core.List<core.String>(); | 2394 var o = new core.List<core.String>(); |
2395 o.add("foo"); | 2395 o.add("foo"); |
2396 o.add("foo"); | 2396 o.add("foo"); |
2397 return o; | 2397 return o; |
2398 } | 2398 } |
2399 | 2399 |
2400 checkUnnamed2105(core.List<core.String> o) { | 2400 checkUnnamed1876(core.List<core.String> o) { |
2401 unittest.expect(o, unittest.hasLength(2)); | 2401 unittest.expect(o, unittest.hasLength(2)); |
2402 unittest.expect(o[0], unittest.equals('foo')); | 2402 unittest.expect(o[0], unittest.equals('foo')); |
2403 unittest.expect(o[1], unittest.equals('foo')); | 2403 unittest.expect(o[1], unittest.equals('foo')); |
2404 } | 2404 } |
2405 | 2405 |
2406 buildUnnamed2106() { | 2406 buildUnnamed1877() { |
2407 var o = new core.List<core.String>(); | 2407 var o = new core.List<core.String>(); |
2408 o.add("foo"); | 2408 o.add("foo"); |
2409 o.add("foo"); | 2409 o.add("foo"); |
2410 return o; | 2410 return o; |
2411 } | 2411 } |
2412 | 2412 |
2413 checkUnnamed2106(core.List<core.String> o) { | 2413 checkUnnamed1877(core.List<core.String> o) { |
2414 unittest.expect(o, unittest.hasLength(2)); | 2414 unittest.expect(o, unittest.hasLength(2)); |
2415 unittest.expect(o[0], unittest.equals('foo')); | 2415 unittest.expect(o[0], unittest.equals('foo')); |
2416 unittest.expect(o[1], unittest.equals('foo')); | 2416 unittest.expect(o[1], unittest.equals('foo')); |
2417 } | 2417 } |
2418 | 2418 |
2419 buildUnnamed2107() { | 2419 buildUnnamed1878() { |
2420 var o = new core.List<core.String>(); | 2420 var o = new core.List<core.String>(); |
2421 o.add("foo"); | 2421 o.add("foo"); |
2422 o.add("foo"); | 2422 o.add("foo"); |
2423 return o; | 2423 return o; |
2424 } | 2424 } |
2425 | 2425 |
2426 checkUnnamed2107(core.List<core.String> o) { | 2426 checkUnnamed1878(core.List<core.String> o) { |
2427 unittest.expect(o, unittest.hasLength(2)); | 2427 unittest.expect(o, unittest.hasLength(2)); |
2428 unittest.expect(o[0], unittest.equals('foo')); | 2428 unittest.expect(o[0], unittest.equals('foo')); |
2429 unittest.expect(o[1], unittest.equals('foo')); | 2429 unittest.expect(o[1], unittest.equals('foo')); |
2430 } | 2430 } |
2431 | 2431 |
2432 core.int buildCounterPretargetingConfigPlacements = 0; | 2432 core.int buildCounterPretargetingConfigPlacements = 0; |
2433 buildPretargetingConfigPlacements() { | 2433 buildPretargetingConfigPlacements() { |
2434 var o = new api.PretargetingConfigPlacements(); | 2434 var o = new api.PretargetingConfigPlacements(); |
2435 buildCounterPretargetingConfigPlacements++; | 2435 buildCounterPretargetingConfigPlacements++; |
2436 if (buildCounterPretargetingConfigPlacements < 3) { | 2436 if (buildCounterPretargetingConfigPlacements < 3) { |
2437 o.token = "foo"; | 2437 o.token = "foo"; |
2438 o.type = "foo"; | 2438 o.type = "foo"; |
2439 } | 2439 } |
2440 buildCounterPretargetingConfigPlacements--; | 2440 buildCounterPretargetingConfigPlacements--; |
2441 return o; | 2441 return o; |
2442 } | 2442 } |
2443 | 2443 |
2444 checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) { | 2444 checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) { |
2445 buildCounterPretargetingConfigPlacements++; | 2445 buildCounterPretargetingConfigPlacements++; |
2446 if (buildCounterPretargetingConfigPlacements < 3) { | 2446 if (buildCounterPretargetingConfigPlacements < 3) { |
2447 unittest.expect(o.token, unittest.equals('foo')); | 2447 unittest.expect(o.token, unittest.equals('foo')); |
2448 unittest.expect(o.type, unittest.equals('foo')); | 2448 unittest.expect(o.type, unittest.equals('foo')); |
2449 } | 2449 } |
2450 buildCounterPretargetingConfigPlacements--; | 2450 buildCounterPretargetingConfigPlacements--; |
2451 } | 2451 } |
2452 | 2452 |
2453 buildUnnamed2108() { | 2453 buildUnnamed1879() { |
2454 var o = new core.List<api.PretargetingConfigPlacements>(); | 2454 var o = new core.List<api.PretargetingConfigPlacements>(); |
2455 o.add(buildPretargetingConfigPlacements()); | 2455 o.add(buildPretargetingConfigPlacements()); |
2456 o.add(buildPretargetingConfigPlacements()); | 2456 o.add(buildPretargetingConfigPlacements()); |
2457 return o; | 2457 return o; |
2458 } | 2458 } |
2459 | 2459 |
2460 checkUnnamed2108(core.List<api.PretargetingConfigPlacements> o) { | 2460 checkUnnamed1879(core.List<api.PretargetingConfigPlacements> o) { |
2461 unittest.expect(o, unittest.hasLength(2)); | 2461 unittest.expect(o, unittest.hasLength(2)); |
2462 checkPretargetingConfigPlacements(o[0]); | 2462 checkPretargetingConfigPlacements(o[0]); |
2463 checkPretargetingConfigPlacements(o[1]); | 2463 checkPretargetingConfigPlacements(o[1]); |
2464 } | 2464 } |
2465 | 2465 |
2466 buildUnnamed2109() { | 2466 buildUnnamed1880() { |
2467 var o = new core.List<core.String>(); | 2467 var o = new core.List<core.String>(); |
2468 o.add("foo"); | 2468 o.add("foo"); |
2469 o.add("foo"); | 2469 o.add("foo"); |
2470 return o; | 2470 return o; |
2471 } | 2471 } |
2472 | 2472 |
2473 checkUnnamed2109(core.List<core.String> o) { | 2473 checkUnnamed1880(core.List<core.String> o) { |
2474 unittest.expect(o, unittest.hasLength(2)); | 2474 unittest.expect(o, unittest.hasLength(2)); |
2475 unittest.expect(o[0], unittest.equals('foo')); | 2475 unittest.expect(o[0], unittest.equals('foo')); |
2476 unittest.expect(o[1], unittest.equals('foo')); | 2476 unittest.expect(o[1], unittest.equals('foo')); |
2477 } | 2477 } |
2478 | 2478 |
2479 buildUnnamed2110() { | 2479 buildUnnamed1881() { |
2480 var o = new core.List<core.String>(); | 2480 var o = new core.List<core.String>(); |
2481 o.add("foo"); | 2481 o.add("foo"); |
2482 o.add("foo"); | 2482 o.add("foo"); |
2483 return o; | 2483 return o; |
2484 } | 2484 } |
2485 | 2485 |
2486 checkUnnamed2110(core.List<core.String> o) { | 2486 checkUnnamed1881(core.List<core.String> o) { |
2487 unittest.expect(o, unittest.hasLength(2)); | 2487 unittest.expect(o, unittest.hasLength(2)); |
2488 unittest.expect(o[0], unittest.equals('foo')); | 2488 unittest.expect(o[0], unittest.equals('foo')); |
2489 unittest.expect(o[1], unittest.equals('foo')); | 2489 unittest.expect(o[1], unittest.equals('foo')); |
2490 } | 2490 } |
2491 | 2491 |
2492 buildUnnamed2111() { | 2492 buildUnnamed1882() { |
2493 var o = new core.List<core.String>(); | 2493 var o = new core.List<core.String>(); |
2494 o.add("foo"); | 2494 o.add("foo"); |
2495 o.add("foo"); | 2495 o.add("foo"); |
2496 return o; | 2496 return o; |
2497 } | 2497 } |
2498 | 2498 |
2499 checkUnnamed2111(core.List<core.String> o) { | 2499 checkUnnamed1882(core.List<core.String> o) { |
2500 unittest.expect(o, unittest.hasLength(2)); | 2500 unittest.expect(o, unittest.hasLength(2)); |
2501 unittest.expect(o[0], unittest.equals('foo')); | 2501 unittest.expect(o[0], unittest.equals('foo')); |
2502 unittest.expect(o[1], unittest.equals('foo')); | 2502 unittest.expect(o[1], unittest.equals('foo')); |
2503 } | 2503 } |
2504 | 2504 |
2505 buildUnnamed2112() { | 2505 buildUnnamed1883() { |
2506 var o = new core.List<core.String>(); | 2506 var o = new core.List<core.String>(); |
2507 o.add("foo"); | 2507 o.add("foo"); |
2508 o.add("foo"); | 2508 o.add("foo"); |
2509 return o; | 2509 return o; |
2510 } | 2510 } |
2511 | 2511 |
2512 checkUnnamed2112(core.List<core.String> o) { | 2512 checkUnnamed1883(core.List<core.String> o) { |
2513 unittest.expect(o, unittest.hasLength(2)); | 2513 unittest.expect(o, unittest.hasLength(2)); |
2514 unittest.expect(o[0], unittest.equals('foo')); | 2514 unittest.expect(o[0], unittest.equals('foo')); |
2515 unittest.expect(o[1], unittest.equals('foo')); | 2515 unittest.expect(o[1], unittest.equals('foo')); |
2516 } | 2516 } |
2517 | 2517 |
2518 buildUnnamed2113() { | 2518 buildUnnamed1884() { |
2519 var o = new core.List<core.String>(); | 2519 var o = new core.List<core.String>(); |
2520 o.add("foo"); | 2520 o.add("foo"); |
2521 o.add("foo"); | 2521 o.add("foo"); |
2522 return o; | 2522 return o; |
2523 } | 2523 } |
2524 | 2524 |
2525 checkUnnamed2113(core.List<core.String> o) { | 2525 checkUnnamed1884(core.List<core.String> o) { |
2526 unittest.expect(o, unittest.hasLength(2)); | 2526 unittest.expect(o, unittest.hasLength(2)); |
2527 unittest.expect(o[0], unittest.equals('foo')); | 2527 unittest.expect(o[0], unittest.equals('foo')); |
2528 unittest.expect(o[1], unittest.equals('foo')); | 2528 unittest.expect(o[1], unittest.equals('foo')); |
2529 } | 2529 } |
2530 | 2530 |
2531 buildUnnamed2114() { | 2531 buildUnnamed1885() { |
2532 var o = new core.List<core.String>(); | 2532 var o = new core.List<core.String>(); |
2533 o.add("foo"); | 2533 o.add("foo"); |
2534 o.add("foo"); | 2534 o.add("foo"); |
2535 return o; | 2535 return o; |
2536 } | 2536 } |
2537 | 2537 |
2538 checkUnnamed2114(core.List<core.String> o) { | 2538 checkUnnamed1885(core.List<core.String> o) { |
2539 unittest.expect(o, unittest.hasLength(2)); | 2539 unittest.expect(o, unittest.hasLength(2)); |
2540 unittest.expect(o[0], unittest.equals('foo')); | 2540 unittest.expect(o[0], unittest.equals('foo')); |
2541 unittest.expect(o[1], unittest.equals('foo')); | 2541 unittest.expect(o[1], unittest.equals('foo')); |
2542 } | 2542 } |
2543 | 2543 |
2544 core.int buildCounterPretargetingConfigVideoPlayerSizes = 0; | 2544 core.int buildCounterPretargetingConfigVideoPlayerSizes = 0; |
2545 buildPretargetingConfigVideoPlayerSizes() { | 2545 buildPretargetingConfigVideoPlayerSizes() { |
2546 var o = new api.PretargetingConfigVideoPlayerSizes(); | 2546 var o = new api.PretargetingConfigVideoPlayerSizes(); |
2547 buildCounterPretargetingConfigVideoPlayerSizes++; | 2547 buildCounterPretargetingConfigVideoPlayerSizes++; |
2548 if (buildCounterPretargetingConfigVideoPlayerSizes < 3) { | 2548 if (buildCounterPretargetingConfigVideoPlayerSizes < 3) { |
2549 o.aspectRatio = "foo"; | 2549 o.aspectRatio = "foo"; |
2550 o.minHeight = "foo"; | 2550 o.minHeight = "foo"; |
2551 o.minWidth = "foo"; | 2551 o.minWidth = "foo"; |
2552 } | 2552 } |
2553 buildCounterPretargetingConfigVideoPlayerSizes--; | 2553 buildCounterPretargetingConfigVideoPlayerSizes--; |
2554 return o; | 2554 return o; |
2555 } | 2555 } |
2556 | 2556 |
2557 checkPretargetingConfigVideoPlayerSizes(api.PretargetingConfigVideoPlayerSizes o
) { | 2557 checkPretargetingConfigVideoPlayerSizes(api.PretargetingConfigVideoPlayerSizes o
) { |
2558 buildCounterPretargetingConfigVideoPlayerSizes++; | 2558 buildCounterPretargetingConfigVideoPlayerSizes++; |
2559 if (buildCounterPretargetingConfigVideoPlayerSizes < 3) { | 2559 if (buildCounterPretargetingConfigVideoPlayerSizes < 3) { |
2560 unittest.expect(o.aspectRatio, unittest.equals('foo')); | 2560 unittest.expect(o.aspectRatio, unittest.equals('foo')); |
2561 unittest.expect(o.minHeight, unittest.equals('foo')); | 2561 unittest.expect(o.minHeight, unittest.equals('foo')); |
2562 unittest.expect(o.minWidth, unittest.equals('foo')); | 2562 unittest.expect(o.minWidth, unittest.equals('foo')); |
2563 } | 2563 } |
2564 buildCounterPretargetingConfigVideoPlayerSizes--; | 2564 buildCounterPretargetingConfigVideoPlayerSizes--; |
2565 } | 2565 } |
2566 | 2566 |
2567 buildUnnamed2115() { | 2567 buildUnnamed1886() { |
2568 var o = new core.List<api.PretargetingConfigVideoPlayerSizes>(); | 2568 var o = new core.List<api.PretargetingConfigVideoPlayerSizes>(); |
2569 o.add(buildPretargetingConfigVideoPlayerSizes()); | 2569 o.add(buildPretargetingConfigVideoPlayerSizes()); |
2570 o.add(buildPretargetingConfigVideoPlayerSizes()); | 2570 o.add(buildPretargetingConfigVideoPlayerSizes()); |
2571 return o; | 2571 return o; |
2572 } | 2572 } |
2573 | 2573 |
2574 checkUnnamed2115(core.List<api.PretargetingConfigVideoPlayerSizes> o) { | 2574 checkUnnamed1886(core.List<api.PretargetingConfigVideoPlayerSizes> o) { |
2575 unittest.expect(o, unittest.hasLength(2)); | 2575 unittest.expect(o, unittest.hasLength(2)); |
2576 checkPretargetingConfigVideoPlayerSizes(o[0]); | 2576 checkPretargetingConfigVideoPlayerSizes(o[0]); |
2577 checkPretargetingConfigVideoPlayerSizes(o[1]); | 2577 checkPretargetingConfigVideoPlayerSizes(o[1]); |
2578 } | 2578 } |
2579 | 2579 |
2580 core.int buildCounterPretargetingConfig = 0; | 2580 core.int buildCounterPretargetingConfig = 0; |
2581 buildPretargetingConfig() { | 2581 buildPretargetingConfig() { |
2582 var o = new api.PretargetingConfig(); | 2582 var o = new api.PretargetingConfig(); |
2583 buildCounterPretargetingConfig++; | 2583 buildCounterPretargetingConfig++; |
2584 if (buildCounterPretargetingConfig < 3) { | 2584 if (buildCounterPretargetingConfig < 3) { |
2585 o.billingId = "foo"; | 2585 o.billingId = "foo"; |
2586 o.configId = "foo"; | 2586 o.configId = "foo"; |
2587 o.configName = "foo"; | 2587 o.configName = "foo"; |
2588 o.creativeType = buildUnnamed2096(); | 2588 o.creativeType = buildUnnamed1867(); |
2589 o.dimensions = buildUnnamed2097(); | 2589 o.dimensions = buildUnnamed1868(); |
2590 o.excludedContentLabels = buildUnnamed2098(); | 2590 o.excludedContentLabels = buildUnnamed1869(); |
2591 o.excludedGeoCriteriaIds = buildUnnamed2099(); | 2591 o.excludedGeoCriteriaIds = buildUnnamed1870(); |
2592 o.excludedPlacements = buildUnnamed2100(); | 2592 o.excludedPlacements = buildUnnamed1871(); |
2593 o.excludedUserLists = buildUnnamed2101(); | 2593 o.excludedUserLists = buildUnnamed1872(); |
2594 o.excludedVerticals = buildUnnamed2102(); | 2594 o.excludedVerticals = buildUnnamed1873(); |
2595 o.geoCriteriaIds = buildUnnamed2103(); | 2595 o.geoCriteriaIds = buildUnnamed1874(); |
2596 o.isActive = true; | 2596 o.isActive = true; |
2597 o.kind = "foo"; | 2597 o.kind = "foo"; |
2598 o.languages = buildUnnamed2104(); | 2598 o.languages = buildUnnamed1875(); |
2599 o.mobileCarriers = buildUnnamed2105(); | 2599 o.mobileCarriers = buildUnnamed1876(); |
2600 o.mobileDevices = buildUnnamed2106(); | 2600 o.mobileDevices = buildUnnamed1877(); |
2601 o.mobileOperatingSystemVersions = buildUnnamed2107(); | 2601 o.mobileOperatingSystemVersions = buildUnnamed1878(); |
2602 o.placements = buildUnnamed2108(); | 2602 o.placements = buildUnnamed1879(); |
2603 o.platforms = buildUnnamed2109(); | 2603 o.platforms = buildUnnamed1880(); |
2604 o.supportedCreativeAttributes = buildUnnamed2110(); | 2604 o.supportedCreativeAttributes = buildUnnamed1881(); |
2605 o.userIdentifierDataRequired = buildUnnamed2111(); | 2605 o.userIdentifierDataRequired = buildUnnamed1882(); |
2606 o.userLists = buildUnnamed2112(); | 2606 o.userLists = buildUnnamed1883(); |
2607 o.vendorTypes = buildUnnamed2113(); | 2607 o.vendorTypes = buildUnnamed1884(); |
2608 o.verticals = buildUnnamed2114(); | 2608 o.verticals = buildUnnamed1885(); |
2609 o.videoPlayerSizes = buildUnnamed2115(); | 2609 o.videoPlayerSizes = buildUnnamed1886(); |
2610 } | 2610 } |
2611 buildCounterPretargetingConfig--; | 2611 buildCounterPretargetingConfig--; |
2612 return o; | 2612 return o; |
2613 } | 2613 } |
2614 | 2614 |
2615 checkPretargetingConfig(api.PretargetingConfig o) { | 2615 checkPretargetingConfig(api.PretargetingConfig o) { |
2616 buildCounterPretargetingConfig++; | 2616 buildCounterPretargetingConfig++; |
2617 if (buildCounterPretargetingConfig < 3) { | 2617 if (buildCounterPretargetingConfig < 3) { |
2618 unittest.expect(o.billingId, unittest.equals('foo')); | 2618 unittest.expect(o.billingId, unittest.equals('foo')); |
2619 unittest.expect(o.configId, unittest.equals('foo')); | 2619 unittest.expect(o.configId, unittest.equals('foo')); |
2620 unittest.expect(o.configName, unittest.equals('foo')); | 2620 unittest.expect(o.configName, unittest.equals('foo')); |
2621 checkUnnamed2096(o.creativeType); | 2621 checkUnnamed1867(o.creativeType); |
2622 checkUnnamed2097(o.dimensions); | 2622 checkUnnamed1868(o.dimensions); |
2623 checkUnnamed2098(o.excludedContentLabels); | 2623 checkUnnamed1869(o.excludedContentLabels); |
2624 checkUnnamed2099(o.excludedGeoCriteriaIds); | 2624 checkUnnamed1870(o.excludedGeoCriteriaIds); |
2625 checkUnnamed2100(o.excludedPlacements); | 2625 checkUnnamed1871(o.excludedPlacements); |
2626 checkUnnamed2101(o.excludedUserLists); | 2626 checkUnnamed1872(o.excludedUserLists); |
2627 checkUnnamed2102(o.excludedVerticals); | 2627 checkUnnamed1873(o.excludedVerticals); |
2628 checkUnnamed2103(o.geoCriteriaIds); | 2628 checkUnnamed1874(o.geoCriteriaIds); |
2629 unittest.expect(o.isActive, unittest.isTrue); | 2629 unittest.expect(o.isActive, unittest.isTrue); |
2630 unittest.expect(o.kind, unittest.equals('foo')); | 2630 unittest.expect(o.kind, unittest.equals('foo')); |
2631 checkUnnamed2104(o.languages); | 2631 checkUnnamed1875(o.languages); |
2632 checkUnnamed2105(o.mobileCarriers); | 2632 checkUnnamed1876(o.mobileCarriers); |
2633 checkUnnamed2106(o.mobileDevices); | 2633 checkUnnamed1877(o.mobileDevices); |
2634 checkUnnamed2107(o.mobileOperatingSystemVersions); | 2634 checkUnnamed1878(o.mobileOperatingSystemVersions); |
2635 checkUnnamed2108(o.placements); | 2635 checkUnnamed1879(o.placements); |
2636 checkUnnamed2109(o.platforms); | 2636 checkUnnamed1880(o.platforms); |
2637 checkUnnamed2110(o.supportedCreativeAttributes); | 2637 checkUnnamed1881(o.supportedCreativeAttributes); |
2638 checkUnnamed2111(o.userIdentifierDataRequired); | 2638 checkUnnamed1882(o.userIdentifierDataRequired); |
2639 checkUnnamed2112(o.userLists); | 2639 checkUnnamed1883(o.userLists); |
2640 checkUnnamed2113(o.vendorTypes); | 2640 checkUnnamed1884(o.vendorTypes); |
2641 checkUnnamed2114(o.verticals); | 2641 checkUnnamed1885(o.verticals); |
2642 checkUnnamed2115(o.videoPlayerSizes); | 2642 checkUnnamed1886(o.videoPlayerSizes); |
2643 } | 2643 } |
2644 buildCounterPretargetingConfig--; | 2644 buildCounterPretargetingConfig--; |
2645 } | 2645 } |
2646 | 2646 |
2647 buildUnnamed2116() { | 2647 buildUnnamed1887() { |
2648 var o = new core.List<api.PretargetingConfig>(); | 2648 var o = new core.List<api.PretargetingConfig>(); |
2649 o.add(buildPretargetingConfig()); | 2649 o.add(buildPretargetingConfig()); |
2650 o.add(buildPretargetingConfig()); | 2650 o.add(buildPretargetingConfig()); |
2651 return o; | 2651 return o; |
2652 } | 2652 } |
2653 | 2653 |
2654 checkUnnamed2116(core.List<api.PretargetingConfig> o) { | 2654 checkUnnamed1887(core.List<api.PretargetingConfig> o) { |
2655 unittest.expect(o, unittest.hasLength(2)); | 2655 unittest.expect(o, unittest.hasLength(2)); |
2656 checkPretargetingConfig(o[0]); | 2656 checkPretargetingConfig(o[0]); |
2657 checkPretargetingConfig(o[1]); | 2657 checkPretargetingConfig(o[1]); |
2658 } | 2658 } |
2659 | 2659 |
2660 core.int buildCounterPretargetingConfigList = 0; | 2660 core.int buildCounterPretargetingConfigList = 0; |
2661 buildPretargetingConfigList() { | 2661 buildPretargetingConfigList() { |
2662 var o = new api.PretargetingConfigList(); | 2662 var o = new api.PretargetingConfigList(); |
2663 buildCounterPretargetingConfigList++; | 2663 buildCounterPretargetingConfigList++; |
2664 if (buildCounterPretargetingConfigList < 3) { | 2664 if (buildCounterPretargetingConfigList < 3) { |
2665 o.items = buildUnnamed2116(); | 2665 o.items = buildUnnamed1887(); |
2666 o.kind = "foo"; | 2666 o.kind = "foo"; |
2667 } | 2667 } |
2668 buildCounterPretargetingConfigList--; | 2668 buildCounterPretargetingConfigList--; |
2669 return o; | 2669 return o; |
2670 } | 2670 } |
2671 | 2671 |
2672 checkPretargetingConfigList(api.PretargetingConfigList o) { | 2672 checkPretargetingConfigList(api.PretargetingConfigList o) { |
2673 buildCounterPretargetingConfigList++; | 2673 buildCounterPretargetingConfigList++; |
2674 if (buildCounterPretargetingConfigList < 3) { | 2674 if (buildCounterPretargetingConfigList < 3) { |
2675 checkUnnamed2116(o.items); | 2675 checkUnnamed1887(o.items); |
2676 unittest.expect(o.kind, unittest.equals('foo')); | 2676 unittest.expect(o.kind, unittest.equals('foo')); |
2677 } | 2677 } |
2678 buildCounterPretargetingConfigList--; | 2678 buildCounterPretargetingConfigList--; |
2679 } | 2679 } |
2680 | 2680 |
2681 core.int buildCounterPrice = 0; | 2681 core.int buildCounterPrice = 0; |
2682 buildPrice() { | 2682 buildPrice() { |
2683 var o = new api.Price(); | 2683 var o = new api.Price(); |
2684 buildCounterPrice++; | 2684 buildCounterPrice++; |
2685 if (buildCounterPrice < 3) { | 2685 if (buildCounterPrice < 3) { |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2740 | 2740 |
2741 checkPrivateData(api.PrivateData o) { | 2741 checkPrivateData(api.PrivateData o) { |
2742 buildCounterPrivateData++; | 2742 buildCounterPrivateData++; |
2743 if (buildCounterPrivateData < 3) { | 2743 if (buildCounterPrivateData < 3) { |
2744 unittest.expect(o.referenceId, unittest.equals('foo')); | 2744 unittest.expect(o.referenceId, unittest.equals('foo')); |
2745 unittest.expect(o.referencePayload, unittest.equals('foo')); | 2745 unittest.expect(o.referencePayload, unittest.equals('foo')); |
2746 } | 2746 } |
2747 buildCounterPrivateData--; | 2747 buildCounterPrivateData--; |
2748 } | 2748 } |
2749 | 2749 |
2750 buildUnnamed2117() { | 2750 buildUnnamed1888() { |
2751 var o = new core.List<api.ContactInformation>(); | 2751 var o = new core.List<api.ContactInformation>(); |
2752 o.add(buildContactInformation()); | 2752 o.add(buildContactInformation()); |
2753 o.add(buildContactInformation()); | 2753 o.add(buildContactInformation()); |
2754 return o; | 2754 return o; |
2755 } | 2755 } |
2756 | 2756 |
2757 checkUnnamed2117(core.List<api.ContactInformation> o) { | 2757 checkUnnamed1888(core.List<api.ContactInformation> o) { |
2758 unittest.expect(o, unittest.hasLength(2)); | 2758 unittest.expect(o, unittest.hasLength(2)); |
2759 checkContactInformation(o[0]); | 2759 checkContactInformation(o[0]); |
2760 checkContactInformation(o[1]); | 2760 checkContactInformation(o[1]); |
2761 } | 2761 } |
2762 | 2762 |
2763 buildUnnamed2118() { | 2763 buildUnnamed1889() { |
2764 var o = new core.List<api.MarketplaceLabel>(); | 2764 var o = new core.List<api.MarketplaceLabel>(); |
2765 o.add(buildMarketplaceLabel()); | 2765 o.add(buildMarketplaceLabel()); |
2766 o.add(buildMarketplaceLabel()); | 2766 o.add(buildMarketplaceLabel()); |
2767 return o; | 2767 return o; |
2768 } | 2768 } |
2769 | 2769 |
2770 checkUnnamed2118(core.List<api.MarketplaceLabel> o) { | 2770 checkUnnamed1889(core.List<api.MarketplaceLabel> o) { |
2771 unittest.expect(o, unittest.hasLength(2)); | 2771 unittest.expect(o, unittest.hasLength(2)); |
2772 checkMarketplaceLabel(o[0]); | 2772 checkMarketplaceLabel(o[0]); |
2773 checkMarketplaceLabel(o[1]); | 2773 checkMarketplaceLabel(o[1]); |
2774 } | 2774 } |
2775 | 2775 |
2776 buildUnnamed2119() { | 2776 buildUnnamed1890() { |
2777 var o = new core.List<api.SharedTargeting>(); | 2777 var o = new core.List<api.SharedTargeting>(); |
2778 o.add(buildSharedTargeting()); | 2778 o.add(buildSharedTargeting()); |
2779 o.add(buildSharedTargeting()); | 2779 o.add(buildSharedTargeting()); |
2780 return o; | 2780 return o; |
2781 } | 2781 } |
2782 | 2782 |
2783 checkUnnamed2119(core.List<api.SharedTargeting> o) { | 2783 checkUnnamed1890(core.List<api.SharedTargeting> o) { |
2784 unittest.expect(o, unittest.hasLength(2)); | 2784 unittest.expect(o, unittest.hasLength(2)); |
2785 checkSharedTargeting(o[0]); | 2785 checkSharedTargeting(o[0]); |
2786 checkSharedTargeting(o[1]); | 2786 checkSharedTargeting(o[1]); |
2787 } | 2787 } |
2788 | 2788 |
2789 core.int buildCounterProduct = 0; | 2789 core.int buildCounterProduct = 0; |
2790 buildProduct() { | 2790 buildProduct() { |
2791 var o = new api.Product(); | 2791 var o = new api.Product(); |
2792 buildCounterProduct++; | 2792 buildCounterProduct++; |
2793 if (buildCounterProduct < 3) { | 2793 if (buildCounterProduct < 3) { |
2794 o.creationTimeMs = "foo"; | 2794 o.creationTimeMs = "foo"; |
2795 o.creatorContacts = buildUnnamed2117(); | 2795 o.creatorContacts = buildUnnamed1888(); |
2796 o.deliveryControl = buildDeliveryControl(); | 2796 o.deliveryControl = buildDeliveryControl(); |
2797 o.flightEndTimeMs = "foo"; | 2797 o.flightEndTimeMs = "foo"; |
2798 o.flightStartTimeMs = "foo"; | 2798 o.flightStartTimeMs = "foo"; |
2799 o.hasCreatorSignedOff = true; | 2799 o.hasCreatorSignedOff = true; |
2800 o.inventorySource = "foo"; | 2800 o.inventorySource = "foo"; |
2801 o.kind = "foo"; | 2801 o.kind = "foo"; |
2802 o.labels = buildUnnamed2118(); | 2802 o.labels = buildUnnamed1889(); |
2803 o.lastUpdateTimeMs = "foo"; | 2803 o.lastUpdateTimeMs = "foo"; |
2804 o.legacyOfferId = "foo"; | 2804 o.legacyOfferId = "foo"; |
2805 o.name = "foo"; | 2805 o.name = "foo"; |
2806 o.privateAuctionId = "foo"; | 2806 o.privateAuctionId = "foo"; |
2807 o.productId = "foo"; | 2807 o.productId = "foo"; |
2808 o.publisherProfileId = "foo"; | 2808 o.publisherProfileId = "foo"; |
2809 o.publisherProvidedForecast = buildPublisherProvidedForecast(); | 2809 o.publisherProvidedForecast = buildPublisherProvidedForecast(); |
2810 o.revisionNumber = "foo"; | 2810 o.revisionNumber = "foo"; |
2811 o.seller = buildSeller(); | 2811 o.seller = buildSeller(); |
2812 o.sharedTargetings = buildUnnamed2119(); | 2812 o.sharedTargetings = buildUnnamed1890(); |
2813 o.state = "foo"; | 2813 o.state = "foo"; |
2814 o.syndicationProduct = "foo"; | 2814 o.syndicationProduct = "foo"; |
2815 o.terms = buildDealTerms(); | 2815 o.terms = buildDealTerms(); |
2816 o.webPropertyCode = "foo"; | 2816 o.webPropertyCode = "foo"; |
2817 } | 2817 } |
2818 buildCounterProduct--; | 2818 buildCounterProduct--; |
2819 return o; | 2819 return o; |
2820 } | 2820 } |
2821 | 2821 |
2822 checkProduct(api.Product o) { | 2822 checkProduct(api.Product o) { |
2823 buildCounterProduct++; | 2823 buildCounterProduct++; |
2824 if (buildCounterProduct < 3) { | 2824 if (buildCounterProduct < 3) { |
2825 unittest.expect(o.creationTimeMs, unittest.equals('foo')); | 2825 unittest.expect(o.creationTimeMs, unittest.equals('foo')); |
2826 checkUnnamed2117(o.creatorContacts); | 2826 checkUnnamed1888(o.creatorContacts); |
2827 checkDeliveryControl(o.deliveryControl); | 2827 checkDeliveryControl(o.deliveryControl); |
2828 unittest.expect(o.flightEndTimeMs, unittest.equals('foo')); | 2828 unittest.expect(o.flightEndTimeMs, unittest.equals('foo')); |
2829 unittest.expect(o.flightStartTimeMs, unittest.equals('foo')); | 2829 unittest.expect(o.flightStartTimeMs, unittest.equals('foo')); |
2830 unittest.expect(o.hasCreatorSignedOff, unittest.isTrue); | 2830 unittest.expect(o.hasCreatorSignedOff, unittest.isTrue); |
2831 unittest.expect(o.inventorySource, unittest.equals('foo')); | 2831 unittest.expect(o.inventorySource, unittest.equals('foo')); |
2832 unittest.expect(o.kind, unittest.equals('foo')); | 2832 unittest.expect(o.kind, unittest.equals('foo')); |
2833 checkUnnamed2118(o.labels); | 2833 checkUnnamed1889(o.labels); |
2834 unittest.expect(o.lastUpdateTimeMs, unittest.equals('foo')); | 2834 unittest.expect(o.lastUpdateTimeMs, unittest.equals('foo')); |
2835 unittest.expect(o.legacyOfferId, unittest.equals('foo')); | 2835 unittest.expect(o.legacyOfferId, unittest.equals('foo')); |
2836 unittest.expect(o.name, unittest.equals('foo')); | 2836 unittest.expect(o.name, unittest.equals('foo')); |
2837 unittest.expect(o.privateAuctionId, unittest.equals('foo')); | 2837 unittest.expect(o.privateAuctionId, unittest.equals('foo')); |
2838 unittest.expect(o.productId, unittest.equals('foo')); | 2838 unittest.expect(o.productId, unittest.equals('foo')); |
2839 unittest.expect(o.publisherProfileId, unittest.equals('foo')); | 2839 unittest.expect(o.publisherProfileId, unittest.equals('foo')); |
2840 checkPublisherProvidedForecast(o.publisherProvidedForecast); | 2840 checkPublisherProvidedForecast(o.publisherProvidedForecast); |
2841 unittest.expect(o.revisionNumber, unittest.equals('foo')); | 2841 unittest.expect(o.revisionNumber, unittest.equals('foo')); |
2842 checkSeller(o.seller); | 2842 checkSeller(o.seller); |
2843 checkUnnamed2119(o.sharedTargetings); | 2843 checkUnnamed1890(o.sharedTargetings); |
2844 unittest.expect(o.state, unittest.equals('foo')); | 2844 unittest.expect(o.state, unittest.equals('foo')); |
2845 unittest.expect(o.syndicationProduct, unittest.equals('foo')); | 2845 unittest.expect(o.syndicationProduct, unittest.equals('foo')); |
2846 checkDealTerms(o.terms); | 2846 checkDealTerms(o.terms); |
2847 unittest.expect(o.webPropertyCode, unittest.equals('foo')); | 2847 unittest.expect(o.webPropertyCode, unittest.equals('foo')); |
2848 } | 2848 } |
2849 buildCounterProduct--; | 2849 buildCounterProduct--; |
2850 } | 2850 } |
2851 | 2851 |
2852 buildUnnamed2120() { | 2852 buildUnnamed1891() { |
2853 var o = new core.List<api.ContactInformation>(); | 2853 var o = new core.List<api.ContactInformation>(); |
2854 o.add(buildContactInformation()); | 2854 o.add(buildContactInformation()); |
2855 o.add(buildContactInformation()); | 2855 o.add(buildContactInformation()); |
2856 return o; | 2856 return o; |
2857 } | 2857 } |
2858 | 2858 |
2859 checkUnnamed2120(core.List<api.ContactInformation> o) { | 2859 checkUnnamed1891(core.List<api.ContactInformation> o) { |
2860 unittest.expect(o, unittest.hasLength(2)); | 2860 unittest.expect(o, unittest.hasLength(2)); |
2861 checkContactInformation(o[0]); | 2861 checkContactInformation(o[0]); |
2862 checkContactInformation(o[1]); | 2862 checkContactInformation(o[1]); |
2863 } | 2863 } |
2864 | 2864 |
2865 buildUnnamed2121() { | 2865 buildUnnamed1892() { |
2866 var o = new core.List<core.String>(); | 2866 var o = new core.List<core.String>(); |
2867 o.add("foo"); | 2867 o.add("foo"); |
2868 o.add("foo"); | 2868 o.add("foo"); |
2869 return o; | 2869 return o; |
2870 } | 2870 } |
2871 | 2871 |
2872 checkUnnamed2121(core.List<core.String> o) { | 2872 checkUnnamed1892(core.List<core.String> o) { |
2873 unittest.expect(o, unittest.hasLength(2)); | 2873 unittest.expect(o, unittest.hasLength(2)); |
2874 unittest.expect(o[0], unittest.equals('foo')); | 2874 unittest.expect(o[0], unittest.equals('foo')); |
2875 unittest.expect(o[1], unittest.equals('foo')); | 2875 unittest.expect(o[1], unittest.equals('foo')); |
2876 } | 2876 } |
2877 | 2877 |
2878 buildUnnamed2122() { | 2878 buildUnnamed1893() { |
2879 var o = new core.List<api.MarketplaceLabel>(); | 2879 var o = new core.List<api.MarketplaceLabel>(); |
2880 o.add(buildMarketplaceLabel()); | 2880 o.add(buildMarketplaceLabel()); |
2881 o.add(buildMarketplaceLabel()); | 2881 o.add(buildMarketplaceLabel()); |
2882 return o; | 2882 return o; |
2883 } | 2883 } |
2884 | 2884 |
2885 checkUnnamed2122(core.List<api.MarketplaceLabel> o) { | 2885 checkUnnamed1893(core.List<api.MarketplaceLabel> o) { |
2886 unittest.expect(o, unittest.hasLength(2)); | 2886 unittest.expect(o, unittest.hasLength(2)); |
2887 checkMarketplaceLabel(o[0]); | 2887 checkMarketplaceLabel(o[0]); |
2888 checkMarketplaceLabel(o[1]); | 2888 checkMarketplaceLabel(o[1]); |
2889 } | 2889 } |
2890 | 2890 |
2891 buildUnnamed2123() { | 2891 buildUnnamed1894() { |
2892 var o = new core.List<api.ContactInformation>(); | 2892 var o = new core.List<api.ContactInformation>(); |
2893 o.add(buildContactInformation()); | 2893 o.add(buildContactInformation()); |
2894 o.add(buildContactInformation()); | 2894 o.add(buildContactInformation()); |
2895 return o; | 2895 return o; |
2896 } | 2896 } |
2897 | 2897 |
2898 checkUnnamed2123(core.List<api.ContactInformation> o) { | 2898 checkUnnamed1894(core.List<api.ContactInformation> o) { |
2899 unittest.expect(o, unittest.hasLength(2)); | 2899 unittest.expect(o, unittest.hasLength(2)); |
2900 checkContactInformation(o[0]); | 2900 checkContactInformation(o[0]); |
2901 checkContactInformation(o[1]); | 2901 checkContactInformation(o[1]); |
2902 } | 2902 } |
2903 | 2903 |
2904 core.int buildCounterProposal = 0; | 2904 core.int buildCounterProposal = 0; |
2905 buildProposal() { | 2905 buildProposal() { |
2906 var o = new api.Proposal(); | 2906 var o = new api.Proposal(); |
2907 buildCounterProposal++; | 2907 buildCounterProposal++; |
2908 if (buildCounterProposal < 3) { | 2908 if (buildCounterProposal < 3) { |
2909 o.billedBuyer = buildBuyer(); | 2909 o.billedBuyer = buildBuyer(); |
2910 o.buyer = buildBuyer(); | 2910 o.buyer = buildBuyer(); |
2911 o.buyerContacts = buildUnnamed2120(); | 2911 o.buyerContacts = buildUnnamed1891(); |
2912 o.buyerPrivateData = buildPrivateData(); | 2912 o.buyerPrivateData = buildPrivateData(); |
2913 o.dbmAdvertiserIds = buildUnnamed2121(); | 2913 o.dbmAdvertiserIds = buildUnnamed1892(); |
2914 o.hasBuyerSignedOff = true; | 2914 o.hasBuyerSignedOff = true; |
2915 o.hasSellerSignedOff = true; | 2915 o.hasSellerSignedOff = true; |
2916 o.inventorySource = "foo"; | 2916 o.inventorySource = "foo"; |
2917 o.isRenegotiating = true; | 2917 o.isRenegotiating = true; |
2918 o.isSetupComplete = true; | 2918 o.isSetupComplete = true; |
2919 o.kind = "foo"; | 2919 o.kind = "foo"; |
2920 o.labels = buildUnnamed2122(); | 2920 o.labels = buildUnnamed1893(); |
2921 o.lastUpdaterOrCommentorRole = "foo"; | 2921 o.lastUpdaterOrCommentorRole = "foo"; |
2922 o.name = "foo"; | 2922 o.name = "foo"; |
2923 o.negotiationId = "foo"; | 2923 o.negotiationId = "foo"; |
2924 o.originatorRole = "foo"; | 2924 o.originatorRole = "foo"; |
2925 o.privateAuctionId = "foo"; | 2925 o.privateAuctionId = "foo"; |
2926 o.proposalId = "foo"; | 2926 o.proposalId = "foo"; |
2927 o.proposalState = "foo"; | 2927 o.proposalState = "foo"; |
2928 o.revisionNumber = "foo"; | 2928 o.revisionNumber = "foo"; |
2929 o.revisionTimeMs = "foo"; | 2929 o.revisionTimeMs = "foo"; |
2930 o.seller = buildSeller(); | 2930 o.seller = buildSeller(); |
2931 o.sellerContacts = buildUnnamed2123(); | 2931 o.sellerContacts = buildUnnamed1894(); |
2932 } | 2932 } |
2933 buildCounterProposal--; | 2933 buildCounterProposal--; |
2934 return o; | 2934 return o; |
2935 } | 2935 } |
2936 | 2936 |
2937 checkProposal(api.Proposal o) { | 2937 checkProposal(api.Proposal o) { |
2938 buildCounterProposal++; | 2938 buildCounterProposal++; |
2939 if (buildCounterProposal < 3) { | 2939 if (buildCounterProposal < 3) { |
2940 checkBuyer(o.billedBuyer); | 2940 checkBuyer(o.billedBuyer); |
2941 checkBuyer(o.buyer); | 2941 checkBuyer(o.buyer); |
2942 checkUnnamed2120(o.buyerContacts); | 2942 checkUnnamed1891(o.buyerContacts); |
2943 checkPrivateData(o.buyerPrivateData); | 2943 checkPrivateData(o.buyerPrivateData); |
2944 checkUnnamed2121(o.dbmAdvertiserIds); | 2944 checkUnnamed1892(o.dbmAdvertiserIds); |
2945 unittest.expect(o.hasBuyerSignedOff, unittest.isTrue); | 2945 unittest.expect(o.hasBuyerSignedOff, unittest.isTrue); |
2946 unittest.expect(o.hasSellerSignedOff, unittest.isTrue); | 2946 unittest.expect(o.hasSellerSignedOff, unittest.isTrue); |
2947 unittest.expect(o.inventorySource, unittest.equals('foo')); | 2947 unittest.expect(o.inventorySource, unittest.equals('foo')); |
2948 unittest.expect(o.isRenegotiating, unittest.isTrue); | 2948 unittest.expect(o.isRenegotiating, unittest.isTrue); |
2949 unittest.expect(o.isSetupComplete, unittest.isTrue); | 2949 unittest.expect(o.isSetupComplete, unittest.isTrue); |
2950 unittest.expect(o.kind, unittest.equals('foo')); | 2950 unittest.expect(o.kind, unittest.equals('foo')); |
2951 checkUnnamed2122(o.labels); | 2951 checkUnnamed1893(o.labels); |
2952 unittest.expect(o.lastUpdaterOrCommentorRole, unittest.equals('foo')); | 2952 unittest.expect(o.lastUpdaterOrCommentorRole, unittest.equals('foo')); |
2953 unittest.expect(o.name, unittest.equals('foo')); | 2953 unittest.expect(o.name, unittest.equals('foo')); |
2954 unittest.expect(o.negotiationId, unittest.equals('foo')); | 2954 unittest.expect(o.negotiationId, unittest.equals('foo')); |
2955 unittest.expect(o.originatorRole, unittest.equals('foo')); | 2955 unittest.expect(o.originatorRole, unittest.equals('foo')); |
2956 unittest.expect(o.privateAuctionId, unittest.equals('foo')); | 2956 unittest.expect(o.privateAuctionId, unittest.equals('foo')); |
2957 unittest.expect(o.proposalId, unittest.equals('foo')); | 2957 unittest.expect(o.proposalId, unittest.equals('foo')); |
2958 unittest.expect(o.proposalState, unittest.equals('foo')); | 2958 unittest.expect(o.proposalState, unittest.equals('foo')); |
2959 unittest.expect(o.revisionNumber, unittest.equals('foo')); | 2959 unittest.expect(o.revisionNumber, unittest.equals('foo')); |
2960 unittest.expect(o.revisionTimeMs, unittest.equals('foo')); | 2960 unittest.expect(o.revisionTimeMs, unittest.equals('foo')); |
2961 checkSeller(o.seller); | 2961 checkSeller(o.seller); |
2962 checkUnnamed2123(o.sellerContacts); | 2962 checkUnnamed1894(o.sellerContacts); |
2963 } | 2963 } |
2964 buildCounterProposal--; | 2964 buildCounterProposal--; |
2965 } | 2965 } |
2966 | 2966 |
2967 buildUnnamed2124() { | 2967 buildUnnamed1895() { |
2968 var o = new core.List<core.String>(); | 2968 var o = new core.List<core.String>(); |
2969 o.add("foo"); | 2969 o.add("foo"); |
2970 o.add("foo"); | 2970 o.add("foo"); |
2971 return o; | 2971 return o; |
2972 } | 2972 } |
2973 | 2973 |
2974 checkUnnamed2124(core.List<core.String> o) { | 2974 checkUnnamed1895(core.List<core.String> o) { |
2975 unittest.expect(o, unittest.hasLength(2)); | 2975 unittest.expect(o, unittest.hasLength(2)); |
2976 unittest.expect(o[0], unittest.equals('foo')); | 2976 unittest.expect(o[0], unittest.equals('foo')); |
2977 unittest.expect(o[1], unittest.equals('foo')); | 2977 unittest.expect(o[1], unittest.equals('foo')); |
2978 } | 2978 } |
2979 | 2979 |
2980 buildUnnamed2125() { | 2980 buildUnnamed1896() { |
2981 var o = new core.List<core.String>(); | 2981 var o = new core.List<core.String>(); |
2982 o.add("foo"); | 2982 o.add("foo"); |
2983 o.add("foo"); | 2983 o.add("foo"); |
2984 return o; | 2984 return o; |
2985 } | 2985 } |
2986 | 2986 |
2987 checkUnnamed2125(core.List<core.String> o) { | 2987 checkUnnamed1896(core.List<core.String> o) { |
2988 unittest.expect(o, unittest.hasLength(2)); | 2988 unittest.expect(o, unittest.hasLength(2)); |
2989 unittest.expect(o[0], unittest.equals('foo')); | 2989 unittest.expect(o[0], unittest.equals('foo')); |
2990 unittest.expect(o[1], unittest.equals('foo')); | 2990 unittest.expect(o[1], unittest.equals('foo')); |
2991 } | 2991 } |
2992 | 2992 |
2993 core.int buildCounterPublisherProfileApiProto = 0; | 2993 core.int buildCounterPublisherProfileApiProto = 0; |
2994 buildPublisherProfileApiProto() { | 2994 buildPublisherProfileApiProto() { |
2995 var o = new api.PublisherProfileApiProto(); | 2995 var o = new api.PublisherProfileApiProto(); |
2996 buildCounterPublisherProfileApiProto++; | 2996 buildCounterPublisherProfileApiProto++; |
2997 if (buildCounterPublisherProfileApiProto < 3) { | 2997 if (buildCounterPublisherProfileApiProto < 3) { |
2998 o.accountId = "foo"; | 2998 o.accountId = "foo"; |
2999 o.audience = "foo"; | 2999 o.audience = "foo"; |
3000 o.buyerPitchStatement = "foo"; | 3000 o.buyerPitchStatement = "foo"; |
3001 o.directContact = "foo"; | 3001 o.directContact = "foo"; |
3002 o.exchange = "foo"; | 3002 o.exchange = "foo"; |
3003 o.googlePlusLink = "foo"; | 3003 o.googlePlusLink = "foo"; |
3004 o.isParent = true; | 3004 o.isParent = true; |
3005 o.isPublished = true; | 3005 o.isPublished = true; |
3006 o.kind = "foo"; | 3006 o.kind = "foo"; |
3007 o.logoUrl = "foo"; | 3007 o.logoUrl = "foo"; |
3008 o.mediaKitLink = "foo"; | 3008 o.mediaKitLink = "foo"; |
3009 o.name = "foo"; | 3009 o.name = "foo"; |
3010 o.overview = "foo"; | 3010 o.overview = "foo"; |
3011 o.profileId = 42; | 3011 o.profileId = 42; |
3012 o.programmaticContact = "foo"; | 3012 o.programmaticContact = "foo"; |
3013 o.publisherDomains = buildUnnamed2124(); | 3013 o.publisherDomains = buildUnnamed1895(); |
3014 o.publisherProfileId = "foo"; | 3014 o.publisherProfileId = "foo"; |
3015 o.publisherProvidedForecast = buildPublisherProvidedForecast(); | 3015 o.publisherProvidedForecast = buildPublisherProvidedForecast(); |
3016 o.rateCardInfoLink = "foo"; | 3016 o.rateCardInfoLink = "foo"; |
3017 o.samplePageLink = "foo"; | 3017 o.samplePageLink = "foo"; |
3018 o.seller = buildSeller(); | 3018 o.seller = buildSeller(); |
3019 o.state = "foo"; | 3019 o.state = "foo"; |
3020 o.topHeadlines = buildUnnamed2125(); | 3020 o.topHeadlines = buildUnnamed1896(); |
3021 } | 3021 } |
3022 buildCounterPublisherProfileApiProto--; | 3022 buildCounterPublisherProfileApiProto--; |
3023 return o; | 3023 return o; |
3024 } | 3024 } |
3025 | 3025 |
3026 checkPublisherProfileApiProto(api.PublisherProfileApiProto o) { | 3026 checkPublisherProfileApiProto(api.PublisherProfileApiProto o) { |
3027 buildCounterPublisherProfileApiProto++; | 3027 buildCounterPublisherProfileApiProto++; |
3028 if (buildCounterPublisherProfileApiProto < 3) { | 3028 if (buildCounterPublisherProfileApiProto < 3) { |
3029 unittest.expect(o.accountId, unittest.equals('foo')); | 3029 unittest.expect(o.accountId, unittest.equals('foo')); |
3030 unittest.expect(o.audience, unittest.equals('foo')); | 3030 unittest.expect(o.audience, unittest.equals('foo')); |
3031 unittest.expect(o.buyerPitchStatement, unittest.equals('foo')); | 3031 unittest.expect(o.buyerPitchStatement, unittest.equals('foo')); |
3032 unittest.expect(o.directContact, unittest.equals('foo')); | 3032 unittest.expect(o.directContact, unittest.equals('foo')); |
3033 unittest.expect(o.exchange, unittest.equals('foo')); | 3033 unittest.expect(o.exchange, unittest.equals('foo')); |
3034 unittest.expect(o.googlePlusLink, unittest.equals('foo')); | 3034 unittest.expect(o.googlePlusLink, unittest.equals('foo')); |
3035 unittest.expect(o.isParent, unittest.isTrue); | 3035 unittest.expect(o.isParent, unittest.isTrue); |
3036 unittest.expect(o.isPublished, unittest.isTrue); | 3036 unittest.expect(o.isPublished, unittest.isTrue); |
3037 unittest.expect(o.kind, unittest.equals('foo')); | 3037 unittest.expect(o.kind, unittest.equals('foo')); |
3038 unittest.expect(o.logoUrl, unittest.equals('foo')); | 3038 unittest.expect(o.logoUrl, unittest.equals('foo')); |
3039 unittest.expect(o.mediaKitLink, unittest.equals('foo')); | 3039 unittest.expect(o.mediaKitLink, unittest.equals('foo')); |
3040 unittest.expect(o.name, unittest.equals('foo')); | 3040 unittest.expect(o.name, unittest.equals('foo')); |
3041 unittest.expect(o.overview, unittest.equals('foo')); | 3041 unittest.expect(o.overview, unittest.equals('foo')); |
3042 unittest.expect(o.profileId, unittest.equals(42)); | 3042 unittest.expect(o.profileId, unittest.equals(42)); |
3043 unittest.expect(o.programmaticContact, unittest.equals('foo')); | 3043 unittest.expect(o.programmaticContact, unittest.equals('foo')); |
3044 checkUnnamed2124(o.publisherDomains); | 3044 checkUnnamed1895(o.publisherDomains); |
3045 unittest.expect(o.publisherProfileId, unittest.equals('foo')); | 3045 unittest.expect(o.publisherProfileId, unittest.equals('foo')); |
3046 checkPublisherProvidedForecast(o.publisherProvidedForecast); | 3046 checkPublisherProvidedForecast(o.publisherProvidedForecast); |
3047 unittest.expect(o.rateCardInfoLink, unittest.equals('foo')); | 3047 unittest.expect(o.rateCardInfoLink, unittest.equals('foo')); |
3048 unittest.expect(o.samplePageLink, unittest.equals('foo')); | 3048 unittest.expect(o.samplePageLink, unittest.equals('foo')); |
3049 checkSeller(o.seller); | 3049 checkSeller(o.seller); |
3050 unittest.expect(o.state, unittest.equals('foo')); | 3050 unittest.expect(o.state, unittest.equals('foo')); |
3051 checkUnnamed2125(o.topHeadlines); | 3051 checkUnnamed1896(o.topHeadlines); |
3052 } | 3052 } |
3053 buildCounterPublisherProfileApiProto--; | 3053 buildCounterPublisherProfileApiProto--; |
3054 } | 3054 } |
3055 | 3055 |
3056 buildUnnamed2126() { | 3056 buildUnnamed1897() { |
3057 var o = new core.List<api.Dimension>(); | 3057 var o = new core.List<api.Dimension>(); |
3058 o.add(buildDimension()); | 3058 o.add(buildDimension()); |
3059 o.add(buildDimension()); | 3059 o.add(buildDimension()); |
3060 return o; | 3060 return o; |
3061 } | 3061 } |
3062 | 3062 |
3063 checkUnnamed2126(core.List<api.Dimension> o) { | 3063 checkUnnamed1897(core.List<api.Dimension> o) { |
3064 unittest.expect(o, unittest.hasLength(2)); | 3064 unittest.expect(o, unittest.hasLength(2)); |
3065 checkDimension(o[0]); | 3065 checkDimension(o[0]); |
3066 checkDimension(o[1]); | 3066 checkDimension(o[1]); |
3067 } | 3067 } |
3068 | 3068 |
3069 core.int buildCounterPublisherProvidedForecast = 0; | 3069 core.int buildCounterPublisherProvidedForecast = 0; |
3070 buildPublisherProvidedForecast() { | 3070 buildPublisherProvidedForecast() { |
3071 var o = new api.PublisherProvidedForecast(); | 3071 var o = new api.PublisherProvidedForecast(); |
3072 buildCounterPublisherProvidedForecast++; | 3072 buildCounterPublisherProvidedForecast++; |
3073 if (buildCounterPublisherProvidedForecast < 3) { | 3073 if (buildCounterPublisherProvidedForecast < 3) { |
3074 o.dimensions = buildUnnamed2126(); | 3074 o.dimensions = buildUnnamed1897(); |
3075 o.weeklyImpressions = "foo"; | 3075 o.weeklyImpressions = "foo"; |
3076 o.weeklyUniques = "foo"; | 3076 o.weeklyUniques = "foo"; |
3077 } | 3077 } |
3078 buildCounterPublisherProvidedForecast--; | 3078 buildCounterPublisherProvidedForecast--; |
3079 return o; | 3079 return o; |
3080 } | 3080 } |
3081 | 3081 |
3082 checkPublisherProvidedForecast(api.PublisherProvidedForecast o) { | 3082 checkPublisherProvidedForecast(api.PublisherProvidedForecast o) { |
3083 buildCounterPublisherProvidedForecast++; | 3083 buildCounterPublisherProvidedForecast++; |
3084 if (buildCounterPublisherProvidedForecast < 3) { | 3084 if (buildCounterPublisherProvidedForecast < 3) { |
3085 checkUnnamed2126(o.dimensions); | 3085 checkUnnamed1897(o.dimensions); |
3086 unittest.expect(o.weeklyImpressions, unittest.equals('foo')); | 3086 unittest.expect(o.weeklyImpressions, unittest.equals('foo')); |
3087 unittest.expect(o.weeklyUniques, unittest.equals('foo')); | 3087 unittest.expect(o.weeklyUniques, unittest.equals('foo')); |
3088 } | 3088 } |
3089 buildCounterPublisherProvidedForecast--; | 3089 buildCounterPublisherProvidedForecast--; |
3090 } | 3090 } |
3091 | 3091 |
3092 core.int buildCounterSeller = 0; | 3092 core.int buildCounterSeller = 0; |
3093 buildSeller() { | 3093 buildSeller() { |
3094 var o = new api.Seller(); | 3094 var o = new api.Seller(); |
3095 buildCounterSeller++; | 3095 buildCounterSeller++; |
3096 if (buildCounterSeller < 3) { | 3096 if (buildCounterSeller < 3) { |
3097 o.accountId = "foo"; | 3097 o.accountId = "foo"; |
3098 o.subAccountId = "foo"; | 3098 o.subAccountId = "foo"; |
3099 } | 3099 } |
3100 buildCounterSeller--; | 3100 buildCounterSeller--; |
3101 return o; | 3101 return o; |
3102 } | 3102 } |
3103 | 3103 |
3104 checkSeller(api.Seller o) { | 3104 checkSeller(api.Seller o) { |
3105 buildCounterSeller++; | 3105 buildCounterSeller++; |
3106 if (buildCounterSeller < 3) { | 3106 if (buildCounterSeller < 3) { |
3107 unittest.expect(o.accountId, unittest.equals('foo')); | 3107 unittest.expect(o.accountId, unittest.equals('foo')); |
3108 unittest.expect(o.subAccountId, unittest.equals('foo')); | 3108 unittest.expect(o.subAccountId, unittest.equals('foo')); |
3109 } | 3109 } |
3110 buildCounterSeller--; | 3110 buildCounterSeller--; |
3111 } | 3111 } |
3112 | 3112 |
3113 buildUnnamed2127() { | 3113 buildUnnamed1898() { |
3114 var o = new core.List<api.TargetingValue>(); | 3114 var o = new core.List<api.TargetingValue>(); |
3115 o.add(buildTargetingValue()); | 3115 o.add(buildTargetingValue()); |
3116 o.add(buildTargetingValue()); | 3116 o.add(buildTargetingValue()); |
3117 return o; | 3117 return o; |
3118 } | 3118 } |
3119 | 3119 |
3120 checkUnnamed2127(core.List<api.TargetingValue> o) { | 3120 checkUnnamed1898(core.List<api.TargetingValue> o) { |
3121 unittest.expect(o, unittest.hasLength(2)); | 3121 unittest.expect(o, unittest.hasLength(2)); |
3122 checkTargetingValue(o[0]); | 3122 checkTargetingValue(o[0]); |
3123 checkTargetingValue(o[1]); | 3123 checkTargetingValue(o[1]); |
3124 } | 3124 } |
3125 | 3125 |
3126 buildUnnamed2128() { | 3126 buildUnnamed1899() { |
3127 var o = new core.List<api.TargetingValue>(); | 3127 var o = new core.List<api.TargetingValue>(); |
3128 o.add(buildTargetingValue()); | 3128 o.add(buildTargetingValue()); |
3129 o.add(buildTargetingValue()); | 3129 o.add(buildTargetingValue()); |
3130 return o; | 3130 return o; |
3131 } | 3131 } |
3132 | 3132 |
3133 checkUnnamed2128(core.List<api.TargetingValue> o) { | 3133 checkUnnamed1899(core.List<api.TargetingValue> o) { |
3134 unittest.expect(o, unittest.hasLength(2)); | 3134 unittest.expect(o, unittest.hasLength(2)); |
3135 checkTargetingValue(o[0]); | 3135 checkTargetingValue(o[0]); |
3136 checkTargetingValue(o[1]); | 3136 checkTargetingValue(o[1]); |
3137 } | 3137 } |
3138 | 3138 |
3139 core.int buildCounterSharedTargeting = 0; | 3139 core.int buildCounterSharedTargeting = 0; |
3140 buildSharedTargeting() { | 3140 buildSharedTargeting() { |
3141 var o = new api.SharedTargeting(); | 3141 var o = new api.SharedTargeting(); |
3142 buildCounterSharedTargeting++; | 3142 buildCounterSharedTargeting++; |
3143 if (buildCounterSharedTargeting < 3) { | 3143 if (buildCounterSharedTargeting < 3) { |
3144 o.exclusions = buildUnnamed2127(); | 3144 o.exclusions = buildUnnamed1898(); |
3145 o.inclusions = buildUnnamed2128(); | 3145 o.inclusions = buildUnnamed1899(); |
3146 o.key = "foo"; | 3146 o.key = "foo"; |
3147 } | 3147 } |
3148 buildCounterSharedTargeting--; | 3148 buildCounterSharedTargeting--; |
3149 return o; | 3149 return o; |
3150 } | 3150 } |
3151 | 3151 |
3152 checkSharedTargeting(api.SharedTargeting o) { | 3152 checkSharedTargeting(api.SharedTargeting o) { |
3153 buildCounterSharedTargeting++; | 3153 buildCounterSharedTargeting++; |
3154 if (buildCounterSharedTargeting < 3) { | 3154 if (buildCounterSharedTargeting < 3) { |
3155 checkUnnamed2127(o.exclusions); | 3155 checkUnnamed1898(o.exclusions); |
3156 checkUnnamed2128(o.inclusions); | 3156 checkUnnamed1899(o.inclusions); |
3157 unittest.expect(o.key, unittest.equals('foo')); | 3157 unittest.expect(o.key, unittest.equals('foo')); |
3158 } | 3158 } |
3159 buildCounterSharedTargeting--; | 3159 buildCounterSharedTargeting--; |
3160 } | 3160 } |
3161 | 3161 |
3162 core.int buildCounterTargetingValue = 0; | 3162 core.int buildCounterTargetingValue = 0; |
3163 buildTargetingValue() { | 3163 buildTargetingValue() { |
3164 var o = new api.TargetingValue(); | 3164 var o = new api.TargetingValue(); |
3165 buildCounterTargetingValue++; | 3165 buildCounterTargetingValue++; |
3166 if (buildCounterTargetingValue < 3) { | 3166 if (buildCounterTargetingValue < 3) { |
(...skipping 10 matching lines...) Expand all Loading... |
3177 buildCounterTargetingValue++; | 3177 buildCounterTargetingValue++; |
3178 if (buildCounterTargetingValue < 3) { | 3178 if (buildCounterTargetingValue < 3) { |
3179 checkTargetingValueCreativeSize(o.creativeSizeValue); | 3179 checkTargetingValueCreativeSize(o.creativeSizeValue); |
3180 checkTargetingValueDayPartTargeting(o.dayPartTargetingValue); | 3180 checkTargetingValueDayPartTargeting(o.dayPartTargetingValue); |
3181 unittest.expect(o.longValue, unittest.equals('foo')); | 3181 unittest.expect(o.longValue, unittest.equals('foo')); |
3182 unittest.expect(o.stringValue, unittest.equals('foo')); | 3182 unittest.expect(o.stringValue, unittest.equals('foo')); |
3183 } | 3183 } |
3184 buildCounterTargetingValue--; | 3184 buildCounterTargetingValue--; |
3185 } | 3185 } |
3186 | 3186 |
3187 buildUnnamed2129() { | 3187 buildUnnamed1900() { |
3188 var o = new core.List<api.TargetingValueSize>(); | 3188 var o = new core.List<api.TargetingValueSize>(); |
3189 o.add(buildTargetingValueSize()); | 3189 o.add(buildTargetingValueSize()); |
3190 o.add(buildTargetingValueSize()); | 3190 o.add(buildTargetingValueSize()); |
3191 return o; | 3191 return o; |
3192 } | 3192 } |
3193 | 3193 |
3194 checkUnnamed2129(core.List<api.TargetingValueSize> o) { | 3194 checkUnnamed1900(core.List<api.TargetingValueSize> o) { |
3195 unittest.expect(o, unittest.hasLength(2)); | 3195 unittest.expect(o, unittest.hasLength(2)); |
3196 checkTargetingValueSize(o[0]); | 3196 checkTargetingValueSize(o[0]); |
3197 checkTargetingValueSize(o[1]); | 3197 checkTargetingValueSize(o[1]); |
3198 } | 3198 } |
3199 | 3199 |
3200 core.int buildCounterTargetingValueCreativeSize = 0; | 3200 core.int buildCounterTargetingValueCreativeSize = 0; |
3201 buildTargetingValueCreativeSize() { | 3201 buildTargetingValueCreativeSize() { |
3202 var o = new api.TargetingValueCreativeSize(); | 3202 var o = new api.TargetingValueCreativeSize(); |
3203 buildCounterTargetingValueCreativeSize++; | 3203 buildCounterTargetingValueCreativeSize++; |
3204 if (buildCounterTargetingValueCreativeSize < 3) { | 3204 if (buildCounterTargetingValueCreativeSize < 3) { |
3205 o.companionSizes = buildUnnamed2129(); | 3205 o.companionSizes = buildUnnamed1900(); |
3206 o.creativeSizeType = "foo"; | 3206 o.creativeSizeType = "foo"; |
3207 o.size = buildTargetingValueSize(); | 3207 o.size = buildTargetingValueSize(); |
3208 o.skippableAdType = "foo"; | 3208 o.skippableAdType = "foo"; |
3209 } | 3209 } |
3210 buildCounterTargetingValueCreativeSize--; | 3210 buildCounterTargetingValueCreativeSize--; |
3211 return o; | 3211 return o; |
3212 } | 3212 } |
3213 | 3213 |
3214 checkTargetingValueCreativeSize(api.TargetingValueCreativeSize o) { | 3214 checkTargetingValueCreativeSize(api.TargetingValueCreativeSize o) { |
3215 buildCounterTargetingValueCreativeSize++; | 3215 buildCounterTargetingValueCreativeSize++; |
3216 if (buildCounterTargetingValueCreativeSize < 3) { | 3216 if (buildCounterTargetingValueCreativeSize < 3) { |
3217 checkUnnamed2129(o.companionSizes); | 3217 checkUnnamed1900(o.companionSizes); |
3218 unittest.expect(o.creativeSizeType, unittest.equals('foo')); | 3218 unittest.expect(o.creativeSizeType, unittest.equals('foo')); |
3219 checkTargetingValueSize(o.size); | 3219 checkTargetingValueSize(o.size); |
3220 unittest.expect(o.skippableAdType, unittest.equals('foo')); | 3220 unittest.expect(o.skippableAdType, unittest.equals('foo')); |
3221 } | 3221 } |
3222 buildCounterTargetingValueCreativeSize--; | 3222 buildCounterTargetingValueCreativeSize--; |
3223 } | 3223 } |
3224 | 3224 |
3225 buildUnnamed2130() { | 3225 buildUnnamed1901() { |
3226 var o = new core.List<api.TargetingValueDayPartTargetingDayPart>(); | 3226 var o = new core.List<api.TargetingValueDayPartTargetingDayPart>(); |
3227 o.add(buildTargetingValueDayPartTargetingDayPart()); | 3227 o.add(buildTargetingValueDayPartTargetingDayPart()); |
3228 o.add(buildTargetingValueDayPartTargetingDayPart()); | 3228 o.add(buildTargetingValueDayPartTargetingDayPart()); |
3229 return o; | 3229 return o; |
3230 } | 3230 } |
3231 | 3231 |
3232 checkUnnamed2130(core.List<api.TargetingValueDayPartTargetingDayPart> o) { | 3232 checkUnnamed1901(core.List<api.TargetingValueDayPartTargetingDayPart> o) { |
3233 unittest.expect(o, unittest.hasLength(2)); | 3233 unittest.expect(o, unittest.hasLength(2)); |
3234 checkTargetingValueDayPartTargetingDayPart(o[0]); | 3234 checkTargetingValueDayPartTargetingDayPart(o[0]); |
3235 checkTargetingValueDayPartTargetingDayPart(o[1]); | 3235 checkTargetingValueDayPartTargetingDayPart(o[1]); |
3236 } | 3236 } |
3237 | 3237 |
3238 core.int buildCounterTargetingValueDayPartTargeting = 0; | 3238 core.int buildCounterTargetingValueDayPartTargeting = 0; |
3239 buildTargetingValueDayPartTargeting() { | 3239 buildTargetingValueDayPartTargeting() { |
3240 var o = new api.TargetingValueDayPartTargeting(); | 3240 var o = new api.TargetingValueDayPartTargeting(); |
3241 buildCounterTargetingValueDayPartTargeting++; | 3241 buildCounterTargetingValueDayPartTargeting++; |
3242 if (buildCounterTargetingValueDayPartTargeting < 3) { | 3242 if (buildCounterTargetingValueDayPartTargeting < 3) { |
3243 o.dayParts = buildUnnamed2130(); | 3243 o.dayParts = buildUnnamed1901(); |
3244 o.timeZoneType = "foo"; | 3244 o.timeZoneType = "foo"; |
3245 } | 3245 } |
3246 buildCounterTargetingValueDayPartTargeting--; | 3246 buildCounterTargetingValueDayPartTargeting--; |
3247 return o; | 3247 return o; |
3248 } | 3248 } |
3249 | 3249 |
3250 checkTargetingValueDayPartTargeting(api.TargetingValueDayPartTargeting o) { | 3250 checkTargetingValueDayPartTargeting(api.TargetingValueDayPartTargeting o) { |
3251 buildCounterTargetingValueDayPartTargeting++; | 3251 buildCounterTargetingValueDayPartTargeting++; |
3252 if (buildCounterTargetingValueDayPartTargeting < 3) { | 3252 if (buildCounterTargetingValueDayPartTargeting < 3) { |
3253 checkUnnamed2130(o.dayParts); | 3253 checkUnnamed1901(o.dayParts); |
3254 unittest.expect(o.timeZoneType, unittest.equals('foo')); | 3254 unittest.expect(o.timeZoneType, unittest.equals('foo')); |
3255 } | 3255 } |
3256 buildCounterTargetingValueDayPartTargeting--; | 3256 buildCounterTargetingValueDayPartTargeting--; |
3257 } | 3257 } |
3258 | 3258 |
3259 core.int buildCounterTargetingValueDayPartTargetingDayPart = 0; | 3259 core.int buildCounterTargetingValueDayPartTargetingDayPart = 0; |
3260 buildTargetingValueDayPartTargetingDayPart() { | 3260 buildTargetingValueDayPartTargetingDayPart() { |
3261 var o = new api.TargetingValueDayPartTargetingDayPart(); | 3261 var o = new api.TargetingValueDayPartTargetingDayPart(); |
3262 buildCounterTargetingValueDayPartTargetingDayPart++; | 3262 buildCounterTargetingValueDayPartTargetingDayPart++; |
3263 if (buildCounterTargetingValueDayPartTargetingDayPart < 3) { | 3263 if (buildCounterTargetingValueDayPartTargetingDayPart < 3) { |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3322 buildCounterUpdatePrivateAuctionProposalRequest++; | 3322 buildCounterUpdatePrivateAuctionProposalRequest++; |
3323 if (buildCounterUpdatePrivateAuctionProposalRequest < 3) { | 3323 if (buildCounterUpdatePrivateAuctionProposalRequest < 3) { |
3324 unittest.expect(o.externalDealId, unittest.equals('foo')); | 3324 unittest.expect(o.externalDealId, unittest.equals('foo')); |
3325 checkMarketplaceNote(o.note); | 3325 checkMarketplaceNote(o.note); |
3326 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); | 3326 unittest.expect(o.proposalRevisionNumber, unittest.equals('foo')); |
3327 unittest.expect(o.updateAction, unittest.equals('foo')); | 3327 unittest.expect(o.updateAction, unittest.equals('foo')); |
3328 } | 3328 } |
3329 buildCounterUpdatePrivateAuctionProposalRequest--; | 3329 buildCounterUpdatePrivateAuctionProposalRequest--; |
3330 } | 3330 } |
3331 | 3331 |
3332 buildUnnamed2131() { | 3332 buildUnnamed1902() { |
3333 var o = new core.List<core.int>(); | 3333 var o = new core.List<core.int>(); |
3334 o.add(42); | 3334 o.add(42); |
3335 o.add(42); | 3335 o.add(42); |
3336 return o; | 3336 return o; |
3337 } | 3337 } |
3338 | 3338 |
3339 checkUnnamed2131(core.List<core.int> o) { | 3339 checkUnnamed1902(core.List<core.int> o) { |
3340 unittest.expect(o, unittest.hasLength(2)); | 3340 unittest.expect(o, unittest.hasLength(2)); |
3341 unittest.expect(o[0], unittest.equals(42)); | 3341 unittest.expect(o[0], unittest.equals(42)); |
3342 unittest.expect(o[1], unittest.equals(42)); | 3342 unittest.expect(o[1], unittest.equals(42)); |
3343 } | 3343 } |
3344 | 3344 |
3345 buildUnnamed2132() { | 3345 buildUnnamed1903() { |
3346 var o = new core.List<core.String>(); | 3346 var o = new core.List<core.String>(); |
3347 o.add("foo"); | 3347 o.add("foo"); |
3348 o.add("foo"); | 3348 o.add("foo"); |
3349 return o; | 3349 return o; |
3350 } | 3350 } |
3351 | 3351 |
3352 checkUnnamed2132(core.List<core.String> o) { | 3352 checkUnnamed1903(core.List<core.String> o) { |
3353 unittest.expect(o, unittest.hasLength(2)); | 3353 unittest.expect(o, unittest.hasLength(2)); |
3354 unittest.expect(o[0], unittest.equals('foo')); | 3354 unittest.expect(o[0], unittest.equals('foo')); |
3355 unittest.expect(o[1], unittest.equals('foo')); | 3355 unittest.expect(o[1], unittest.equals('foo')); |
3356 } | 3356 } |
3357 | 3357 |
3358 | 3358 |
3359 main() { | 3359 main() { |
3360 unittest.group("obj-schema-AccountBidderLocation", () { | 3360 unittest.group("obj-schema-AccountBidderLocation", () { |
3361 unittest.test("to-json--from-json", () { | 3361 unittest.test("to-json--from-json", () { |
3362 var o = buildAccountBidderLocation(); | 3362 var o = buildAccountBidderLocation(); |
(...skipping 1343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4706 }), true); | 4706 }), true); |
4707 res.insert(arg_request).then(unittest.expectAsync(((api.Creative response)
{ | 4707 res.insert(arg_request).then(unittest.expectAsync(((api.Creative response)
{ |
4708 checkCreative(response); | 4708 checkCreative(response); |
4709 }))); | 4709 }))); |
4710 }); | 4710 }); |
4711 | 4711 |
4712 unittest.test("method--list", () { | 4712 unittest.test("method--list", () { |
4713 | 4713 |
4714 var mock = new HttpServerMock(); | 4714 var mock = new HttpServerMock(); |
4715 api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives; | 4715 api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives; |
4716 var arg_accountId = buildUnnamed2131(); | 4716 var arg_accountId = buildUnnamed1902(); |
4717 var arg_buyerCreativeId = buildUnnamed2132(); | 4717 var arg_buyerCreativeId = buildUnnamed1903(); |
4718 var arg_dealsStatusFilter = "foo"; | 4718 var arg_dealsStatusFilter = "foo"; |
4719 var arg_maxResults = 42; | 4719 var arg_maxResults = 42; |
4720 var arg_openAuctionStatusFilter = "foo"; | 4720 var arg_openAuctionStatusFilter = "foo"; |
4721 var arg_pageToken = "foo"; | 4721 var arg_pageToken = "foo"; |
4722 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 4722 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
4723 var path = (req.url).path; | 4723 var path = (req.url).path; |
4724 var pathOffset = 0; | 4724 var pathOffset = 0; |
4725 var index; | 4725 var index; |
4726 var subPart; | 4726 var subPart; |
4727 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 4727 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
(...skipping 1459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6187 res.list(arg_accountId).then(unittest.expectAsync(((api.GetPublisherProfil
esByAccountIdResponse response) { | 6187 res.list(arg_accountId).then(unittest.expectAsync(((api.GetPublisherProfil
esByAccountIdResponse response) { |
6188 checkGetPublisherProfilesByAccountIdResponse(response); | 6188 checkGetPublisherProfilesByAccountIdResponse(response); |
6189 }))); | 6189 }))); |
6190 }); | 6190 }); |
6191 | 6191 |
6192 }); | 6192 }); |
6193 | 6193 |
6194 | 6194 |
6195 } | 6195 } |
6196 | 6196 |
OLD | NEW |