OLD | NEW |
1 library googleapis.compute.v1.test; | 1 library googleapis.compute.v1.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:test/test.dart' as unittest; | 10 import 'package:test/test.dart' as unittest; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 } | 44 } |
45 } | 45 } |
46 } | 46 } |
47 | 47 |
48 http.StreamedResponse stringResponse( | 48 http.StreamedResponse stringResponse( |
49 core.int status, core.Map<core.String, core.String> headers, core.String bod
y) { | 49 core.int status, core.Map<core.String, core.String> headers, core.String bod
y) { |
50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); | 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); |
51 return new http.StreamedResponse(stream, status, headers: headers); | 51 return new http.StreamedResponse(stream, status, headers: headers); |
52 } | 52 } |
53 | 53 |
| 54 core.int buildCounterAcceleratorConfig = 0; |
| 55 buildAcceleratorConfig() { |
| 56 var o = new api.AcceleratorConfig(); |
| 57 buildCounterAcceleratorConfig++; |
| 58 if (buildCounterAcceleratorConfig < 3) { |
| 59 o.acceleratorCount = 42; |
| 60 o.acceleratorType = "foo"; |
| 61 } |
| 62 buildCounterAcceleratorConfig--; |
| 63 return o; |
| 64 } |
| 65 |
| 66 checkAcceleratorConfig(api.AcceleratorConfig o) { |
| 67 buildCounterAcceleratorConfig++; |
| 68 if (buildCounterAcceleratorConfig < 3) { |
| 69 unittest.expect(o.acceleratorCount, unittest.equals(42)); |
| 70 unittest.expect(o.acceleratorType, unittest.equals('foo')); |
| 71 } |
| 72 buildCounterAcceleratorConfig--; |
| 73 } |
| 74 |
| 75 core.int buildCounterAcceleratorType = 0; |
| 76 buildAcceleratorType() { |
| 77 var o = new api.AcceleratorType(); |
| 78 buildCounterAcceleratorType++; |
| 79 if (buildCounterAcceleratorType < 3) { |
| 80 o.creationTimestamp = "foo"; |
| 81 o.deprecated = buildDeprecationStatus(); |
| 82 o.description = "foo"; |
| 83 o.id = "foo"; |
| 84 o.kind = "foo"; |
| 85 o.maximumCardsPerInstance = 42; |
| 86 o.name = "foo"; |
| 87 o.selfLink = "foo"; |
| 88 o.zone = "foo"; |
| 89 } |
| 90 buildCounterAcceleratorType--; |
| 91 return o; |
| 92 } |
| 93 |
| 94 checkAcceleratorType(api.AcceleratorType o) { |
| 95 buildCounterAcceleratorType++; |
| 96 if (buildCounterAcceleratorType < 3) { |
| 97 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 98 checkDeprecationStatus(o.deprecated); |
| 99 unittest.expect(o.description, unittest.equals('foo')); |
| 100 unittest.expect(o.id, unittest.equals('foo')); |
| 101 unittest.expect(o.kind, unittest.equals('foo')); |
| 102 unittest.expect(o.maximumCardsPerInstance, unittest.equals(42)); |
| 103 unittest.expect(o.name, unittest.equals('foo')); |
| 104 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 105 unittest.expect(o.zone, unittest.equals('foo')); |
| 106 } |
| 107 buildCounterAcceleratorType--; |
| 108 } |
| 109 |
| 110 buildUnnamed2187() { |
| 111 var o = new core.Map<core.String, api.AcceleratorTypesScopedList>(); |
| 112 o["x"] = buildAcceleratorTypesScopedList(); |
| 113 o["y"] = buildAcceleratorTypesScopedList(); |
| 114 return o; |
| 115 } |
| 116 |
| 117 checkUnnamed2187(core.Map<core.String, api.AcceleratorTypesScopedList> o) { |
| 118 unittest.expect(o, unittest.hasLength(2)); |
| 119 checkAcceleratorTypesScopedList(o["x"]); |
| 120 checkAcceleratorTypesScopedList(o["y"]); |
| 121 } |
| 122 |
| 123 core.int buildCounterAcceleratorTypeAggregatedList = 0; |
| 124 buildAcceleratorTypeAggregatedList() { |
| 125 var o = new api.AcceleratorTypeAggregatedList(); |
| 126 buildCounterAcceleratorTypeAggregatedList++; |
| 127 if (buildCounterAcceleratorTypeAggregatedList < 3) { |
| 128 o.id = "foo"; |
| 129 o.items = buildUnnamed2187(); |
| 130 o.kind = "foo"; |
| 131 o.nextPageToken = "foo"; |
| 132 o.selfLink = "foo"; |
| 133 } |
| 134 buildCounterAcceleratorTypeAggregatedList--; |
| 135 return o; |
| 136 } |
| 137 |
| 138 checkAcceleratorTypeAggregatedList(api.AcceleratorTypeAggregatedList o) { |
| 139 buildCounterAcceleratorTypeAggregatedList++; |
| 140 if (buildCounterAcceleratorTypeAggregatedList < 3) { |
| 141 unittest.expect(o.id, unittest.equals('foo')); |
| 142 checkUnnamed2187(o.items); |
| 143 unittest.expect(o.kind, unittest.equals('foo')); |
| 144 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 145 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 146 } |
| 147 buildCounterAcceleratorTypeAggregatedList--; |
| 148 } |
| 149 |
| 150 buildUnnamed2188() { |
| 151 var o = new core.List<api.AcceleratorType>(); |
| 152 o.add(buildAcceleratorType()); |
| 153 o.add(buildAcceleratorType()); |
| 154 return o; |
| 155 } |
| 156 |
| 157 checkUnnamed2188(core.List<api.AcceleratorType> o) { |
| 158 unittest.expect(o, unittest.hasLength(2)); |
| 159 checkAcceleratorType(o[0]); |
| 160 checkAcceleratorType(o[1]); |
| 161 } |
| 162 |
| 163 core.int buildCounterAcceleratorTypeList = 0; |
| 164 buildAcceleratorTypeList() { |
| 165 var o = new api.AcceleratorTypeList(); |
| 166 buildCounterAcceleratorTypeList++; |
| 167 if (buildCounterAcceleratorTypeList < 3) { |
| 168 o.id = "foo"; |
| 169 o.items = buildUnnamed2188(); |
| 170 o.kind = "foo"; |
| 171 o.nextPageToken = "foo"; |
| 172 o.selfLink = "foo"; |
| 173 } |
| 174 buildCounterAcceleratorTypeList--; |
| 175 return o; |
| 176 } |
| 177 |
| 178 checkAcceleratorTypeList(api.AcceleratorTypeList o) { |
| 179 buildCounterAcceleratorTypeList++; |
| 180 if (buildCounterAcceleratorTypeList < 3) { |
| 181 unittest.expect(o.id, unittest.equals('foo')); |
| 182 checkUnnamed2188(o.items); |
| 183 unittest.expect(o.kind, unittest.equals('foo')); |
| 184 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 185 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 186 } |
| 187 buildCounterAcceleratorTypeList--; |
| 188 } |
| 189 |
| 190 buildUnnamed2189() { |
| 191 var o = new core.List<api.AcceleratorType>(); |
| 192 o.add(buildAcceleratorType()); |
| 193 o.add(buildAcceleratorType()); |
| 194 return o; |
| 195 } |
| 196 |
| 197 checkUnnamed2189(core.List<api.AcceleratorType> o) { |
| 198 unittest.expect(o, unittest.hasLength(2)); |
| 199 checkAcceleratorType(o[0]); |
| 200 checkAcceleratorType(o[1]); |
| 201 } |
| 202 |
| 203 core.int buildCounterAcceleratorTypesScopedListWarningData = 0; |
| 204 buildAcceleratorTypesScopedListWarningData() { |
| 205 var o = new api.AcceleratorTypesScopedListWarningData(); |
| 206 buildCounterAcceleratorTypesScopedListWarningData++; |
| 207 if (buildCounterAcceleratorTypesScopedListWarningData < 3) { |
| 208 o.key = "foo"; |
| 209 o.value = "foo"; |
| 210 } |
| 211 buildCounterAcceleratorTypesScopedListWarningData--; |
| 212 return o; |
| 213 } |
| 214 |
| 215 checkAcceleratorTypesScopedListWarningData(api.AcceleratorTypesScopedListWarning
Data o) { |
| 216 buildCounterAcceleratorTypesScopedListWarningData++; |
| 217 if (buildCounterAcceleratorTypesScopedListWarningData < 3) { |
| 218 unittest.expect(o.key, unittest.equals('foo')); |
| 219 unittest.expect(o.value, unittest.equals('foo')); |
| 220 } |
| 221 buildCounterAcceleratorTypesScopedListWarningData--; |
| 222 } |
| 223 |
| 224 buildUnnamed2190() { |
| 225 var o = new core.List<api.AcceleratorTypesScopedListWarningData>(); |
| 226 o.add(buildAcceleratorTypesScopedListWarningData()); |
| 227 o.add(buildAcceleratorTypesScopedListWarningData()); |
| 228 return o; |
| 229 } |
| 230 |
| 231 checkUnnamed2190(core.List<api.AcceleratorTypesScopedListWarningData> o) { |
| 232 unittest.expect(o, unittest.hasLength(2)); |
| 233 checkAcceleratorTypesScopedListWarningData(o[0]); |
| 234 checkAcceleratorTypesScopedListWarningData(o[1]); |
| 235 } |
| 236 |
| 237 core.int buildCounterAcceleratorTypesScopedListWarning = 0; |
| 238 buildAcceleratorTypesScopedListWarning() { |
| 239 var o = new api.AcceleratorTypesScopedListWarning(); |
| 240 buildCounterAcceleratorTypesScopedListWarning++; |
| 241 if (buildCounterAcceleratorTypesScopedListWarning < 3) { |
| 242 o.code = "foo"; |
| 243 o.data = buildUnnamed2190(); |
| 244 o.message = "foo"; |
| 245 } |
| 246 buildCounterAcceleratorTypesScopedListWarning--; |
| 247 return o; |
| 248 } |
| 249 |
| 250 checkAcceleratorTypesScopedListWarning(api.AcceleratorTypesScopedListWarning o)
{ |
| 251 buildCounterAcceleratorTypesScopedListWarning++; |
| 252 if (buildCounterAcceleratorTypesScopedListWarning < 3) { |
| 253 unittest.expect(o.code, unittest.equals('foo')); |
| 254 checkUnnamed2190(o.data); |
| 255 unittest.expect(o.message, unittest.equals('foo')); |
| 256 } |
| 257 buildCounterAcceleratorTypesScopedListWarning--; |
| 258 } |
| 259 |
| 260 core.int buildCounterAcceleratorTypesScopedList = 0; |
| 261 buildAcceleratorTypesScopedList() { |
| 262 var o = new api.AcceleratorTypesScopedList(); |
| 263 buildCounterAcceleratorTypesScopedList++; |
| 264 if (buildCounterAcceleratorTypesScopedList < 3) { |
| 265 o.acceleratorTypes = buildUnnamed2189(); |
| 266 o.warning = buildAcceleratorTypesScopedListWarning(); |
| 267 } |
| 268 buildCounterAcceleratorTypesScopedList--; |
| 269 return o; |
| 270 } |
| 271 |
| 272 checkAcceleratorTypesScopedList(api.AcceleratorTypesScopedList o) { |
| 273 buildCounterAcceleratorTypesScopedList++; |
| 274 if (buildCounterAcceleratorTypesScopedList < 3) { |
| 275 checkUnnamed2189(o.acceleratorTypes); |
| 276 checkAcceleratorTypesScopedListWarning(o.warning); |
| 277 } |
| 278 buildCounterAcceleratorTypesScopedList--; |
| 279 } |
| 280 |
54 core.int buildCounterAccessConfig = 0; | 281 core.int buildCounterAccessConfig = 0; |
55 buildAccessConfig() { | 282 buildAccessConfig() { |
56 var o = new api.AccessConfig(); | 283 var o = new api.AccessConfig(); |
57 buildCounterAccessConfig++; | 284 buildCounterAccessConfig++; |
58 if (buildCounterAccessConfig < 3) { | 285 if (buildCounterAccessConfig < 3) { |
59 o.kind = "foo"; | 286 o.kind = "foo"; |
60 o.name = "foo"; | 287 o.name = "foo"; |
61 o.natIP = "foo"; | 288 o.natIP = "foo"; |
62 o.type = "foo"; | 289 o.type = "foo"; |
63 } | 290 } |
64 buildCounterAccessConfig--; | 291 buildCounterAccessConfig--; |
65 return o; | 292 return o; |
66 } | 293 } |
67 | 294 |
68 checkAccessConfig(api.AccessConfig o) { | 295 checkAccessConfig(api.AccessConfig o) { |
69 buildCounterAccessConfig++; | 296 buildCounterAccessConfig++; |
70 if (buildCounterAccessConfig < 3) { | 297 if (buildCounterAccessConfig < 3) { |
71 unittest.expect(o.kind, unittest.equals('foo')); | 298 unittest.expect(o.kind, unittest.equals('foo')); |
72 unittest.expect(o.name, unittest.equals('foo')); | 299 unittest.expect(o.name, unittest.equals('foo')); |
73 unittest.expect(o.natIP, unittest.equals('foo')); | 300 unittest.expect(o.natIP, unittest.equals('foo')); |
74 unittest.expect(o.type, unittest.equals('foo')); | 301 unittest.expect(o.type, unittest.equals('foo')); |
75 } | 302 } |
76 buildCounterAccessConfig--; | 303 buildCounterAccessConfig--; |
77 } | 304 } |
78 | 305 |
79 buildUnnamed2101() { | 306 buildUnnamed2191() { |
80 var o = new core.List<core.String>(); | 307 var o = new core.List<core.String>(); |
81 o.add("foo"); | 308 o.add("foo"); |
82 o.add("foo"); | 309 o.add("foo"); |
83 return o; | 310 return o; |
84 } | 311 } |
85 | 312 |
86 checkUnnamed2101(core.List<core.String> o) { | 313 checkUnnamed2191(core.List<core.String> o) { |
87 unittest.expect(o, unittest.hasLength(2)); | 314 unittest.expect(o, unittest.hasLength(2)); |
88 unittest.expect(o[0], unittest.equals('foo')); | 315 unittest.expect(o[0], unittest.equals('foo')); |
89 unittest.expect(o[1], unittest.equals('foo')); | 316 unittest.expect(o[1], unittest.equals('foo')); |
90 } | 317 } |
91 | 318 |
92 core.int buildCounterAddress = 0; | 319 core.int buildCounterAddress = 0; |
93 buildAddress() { | 320 buildAddress() { |
94 var o = new api.Address(); | 321 var o = new api.Address(); |
95 buildCounterAddress++; | 322 buildCounterAddress++; |
96 if (buildCounterAddress < 3) { | 323 if (buildCounterAddress < 3) { |
97 o.address = "foo"; | 324 o.address = "foo"; |
98 o.creationTimestamp = "foo"; | 325 o.creationTimestamp = "foo"; |
99 o.description = "foo"; | 326 o.description = "foo"; |
100 o.id = "foo"; | 327 o.id = "foo"; |
101 o.ipVersion = "foo"; | 328 o.ipVersion = "foo"; |
102 o.kind = "foo"; | 329 o.kind = "foo"; |
103 o.name = "foo"; | 330 o.name = "foo"; |
104 o.region = "foo"; | 331 o.region = "foo"; |
105 o.selfLink = "foo"; | 332 o.selfLink = "foo"; |
106 o.status = "foo"; | 333 o.status = "foo"; |
107 o.users = buildUnnamed2101(); | 334 o.users = buildUnnamed2191(); |
108 } | 335 } |
109 buildCounterAddress--; | 336 buildCounterAddress--; |
110 return o; | 337 return o; |
111 } | 338 } |
112 | 339 |
113 checkAddress(api.Address o) { | 340 checkAddress(api.Address o) { |
114 buildCounterAddress++; | 341 buildCounterAddress++; |
115 if (buildCounterAddress < 3) { | 342 if (buildCounterAddress < 3) { |
116 unittest.expect(o.address, unittest.equals('foo')); | 343 unittest.expect(o.address, unittest.equals('foo')); |
117 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 344 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
118 unittest.expect(o.description, unittest.equals('foo')); | 345 unittest.expect(o.description, unittest.equals('foo')); |
119 unittest.expect(o.id, unittest.equals('foo')); | 346 unittest.expect(o.id, unittest.equals('foo')); |
120 unittest.expect(o.ipVersion, unittest.equals('foo')); | 347 unittest.expect(o.ipVersion, unittest.equals('foo')); |
121 unittest.expect(o.kind, unittest.equals('foo')); | 348 unittest.expect(o.kind, unittest.equals('foo')); |
122 unittest.expect(o.name, unittest.equals('foo')); | 349 unittest.expect(o.name, unittest.equals('foo')); |
123 unittest.expect(o.region, unittest.equals('foo')); | 350 unittest.expect(o.region, unittest.equals('foo')); |
124 unittest.expect(o.selfLink, unittest.equals('foo')); | 351 unittest.expect(o.selfLink, unittest.equals('foo')); |
125 unittest.expect(o.status, unittest.equals('foo')); | 352 unittest.expect(o.status, unittest.equals('foo')); |
126 checkUnnamed2101(o.users); | 353 checkUnnamed2191(o.users); |
127 } | 354 } |
128 buildCounterAddress--; | 355 buildCounterAddress--; |
129 } | 356 } |
130 | 357 |
131 buildUnnamed2102() { | 358 buildUnnamed2192() { |
132 var o = new core.Map<core.String, api.AddressesScopedList>(); | 359 var o = new core.Map<core.String, api.AddressesScopedList>(); |
133 o["x"] = buildAddressesScopedList(); | 360 o["x"] = buildAddressesScopedList(); |
134 o["y"] = buildAddressesScopedList(); | 361 o["y"] = buildAddressesScopedList(); |
135 return o; | 362 return o; |
136 } | 363 } |
137 | 364 |
138 checkUnnamed2102(core.Map<core.String, api.AddressesScopedList> o) { | 365 checkUnnamed2192(core.Map<core.String, api.AddressesScopedList> o) { |
139 unittest.expect(o, unittest.hasLength(2)); | 366 unittest.expect(o, unittest.hasLength(2)); |
140 checkAddressesScopedList(o["x"]); | 367 checkAddressesScopedList(o["x"]); |
141 checkAddressesScopedList(o["y"]); | 368 checkAddressesScopedList(o["y"]); |
142 } | 369 } |
143 | 370 |
144 core.int buildCounterAddressAggregatedList = 0; | 371 core.int buildCounterAddressAggregatedList = 0; |
145 buildAddressAggregatedList() { | 372 buildAddressAggregatedList() { |
146 var o = new api.AddressAggregatedList(); | 373 var o = new api.AddressAggregatedList(); |
147 buildCounterAddressAggregatedList++; | 374 buildCounterAddressAggregatedList++; |
148 if (buildCounterAddressAggregatedList < 3) { | 375 if (buildCounterAddressAggregatedList < 3) { |
149 o.id = "foo"; | 376 o.id = "foo"; |
150 o.items = buildUnnamed2102(); | 377 o.items = buildUnnamed2192(); |
151 o.kind = "foo"; | 378 o.kind = "foo"; |
152 o.nextPageToken = "foo"; | 379 o.nextPageToken = "foo"; |
153 o.selfLink = "foo"; | 380 o.selfLink = "foo"; |
154 } | 381 } |
155 buildCounterAddressAggregatedList--; | 382 buildCounterAddressAggregatedList--; |
156 return o; | 383 return o; |
157 } | 384 } |
158 | 385 |
159 checkAddressAggregatedList(api.AddressAggregatedList o) { | 386 checkAddressAggregatedList(api.AddressAggregatedList o) { |
160 buildCounterAddressAggregatedList++; | 387 buildCounterAddressAggregatedList++; |
161 if (buildCounterAddressAggregatedList < 3) { | 388 if (buildCounterAddressAggregatedList < 3) { |
162 unittest.expect(o.id, unittest.equals('foo')); | 389 unittest.expect(o.id, unittest.equals('foo')); |
163 checkUnnamed2102(o.items); | 390 checkUnnamed2192(o.items); |
164 unittest.expect(o.kind, unittest.equals('foo')); | 391 unittest.expect(o.kind, unittest.equals('foo')); |
165 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 392 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
166 unittest.expect(o.selfLink, unittest.equals('foo')); | 393 unittest.expect(o.selfLink, unittest.equals('foo')); |
167 } | 394 } |
168 buildCounterAddressAggregatedList--; | 395 buildCounterAddressAggregatedList--; |
169 } | 396 } |
170 | 397 |
171 buildUnnamed2103() { | 398 buildUnnamed2193() { |
172 var o = new core.List<api.Address>(); | 399 var o = new core.List<api.Address>(); |
173 o.add(buildAddress()); | 400 o.add(buildAddress()); |
174 o.add(buildAddress()); | 401 o.add(buildAddress()); |
175 return o; | 402 return o; |
176 } | 403 } |
177 | 404 |
178 checkUnnamed2103(core.List<api.Address> o) { | 405 checkUnnamed2193(core.List<api.Address> o) { |
179 unittest.expect(o, unittest.hasLength(2)); | 406 unittest.expect(o, unittest.hasLength(2)); |
180 checkAddress(o[0]); | 407 checkAddress(o[0]); |
181 checkAddress(o[1]); | 408 checkAddress(o[1]); |
182 } | 409 } |
183 | 410 |
184 core.int buildCounterAddressList = 0; | 411 core.int buildCounterAddressList = 0; |
185 buildAddressList() { | 412 buildAddressList() { |
186 var o = new api.AddressList(); | 413 var o = new api.AddressList(); |
187 buildCounterAddressList++; | 414 buildCounterAddressList++; |
188 if (buildCounterAddressList < 3) { | 415 if (buildCounterAddressList < 3) { |
189 o.id = "foo"; | 416 o.id = "foo"; |
190 o.items = buildUnnamed2103(); | 417 o.items = buildUnnamed2193(); |
191 o.kind = "foo"; | 418 o.kind = "foo"; |
192 o.nextPageToken = "foo"; | 419 o.nextPageToken = "foo"; |
193 o.selfLink = "foo"; | 420 o.selfLink = "foo"; |
194 } | 421 } |
195 buildCounterAddressList--; | 422 buildCounterAddressList--; |
196 return o; | 423 return o; |
197 } | 424 } |
198 | 425 |
199 checkAddressList(api.AddressList o) { | 426 checkAddressList(api.AddressList o) { |
200 buildCounterAddressList++; | 427 buildCounterAddressList++; |
201 if (buildCounterAddressList < 3) { | 428 if (buildCounterAddressList < 3) { |
202 unittest.expect(o.id, unittest.equals('foo')); | 429 unittest.expect(o.id, unittest.equals('foo')); |
203 checkUnnamed2103(o.items); | 430 checkUnnamed2193(o.items); |
204 unittest.expect(o.kind, unittest.equals('foo')); | 431 unittest.expect(o.kind, unittest.equals('foo')); |
205 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 432 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
206 unittest.expect(o.selfLink, unittest.equals('foo')); | 433 unittest.expect(o.selfLink, unittest.equals('foo')); |
207 } | 434 } |
208 buildCounterAddressList--; | 435 buildCounterAddressList--; |
209 } | 436 } |
210 | 437 |
211 buildUnnamed2104() { | 438 buildUnnamed2194() { |
212 var o = new core.List<api.Address>(); | 439 var o = new core.List<api.Address>(); |
213 o.add(buildAddress()); | 440 o.add(buildAddress()); |
214 o.add(buildAddress()); | 441 o.add(buildAddress()); |
215 return o; | 442 return o; |
216 } | 443 } |
217 | 444 |
218 checkUnnamed2104(core.List<api.Address> o) { | 445 checkUnnamed2194(core.List<api.Address> o) { |
219 unittest.expect(o, unittest.hasLength(2)); | 446 unittest.expect(o, unittest.hasLength(2)); |
220 checkAddress(o[0]); | 447 checkAddress(o[0]); |
221 checkAddress(o[1]); | 448 checkAddress(o[1]); |
222 } | 449 } |
223 | 450 |
224 core.int buildCounterAddressesScopedListWarningData = 0; | 451 core.int buildCounterAddressesScopedListWarningData = 0; |
225 buildAddressesScopedListWarningData() { | 452 buildAddressesScopedListWarningData() { |
226 var o = new api.AddressesScopedListWarningData(); | 453 var o = new api.AddressesScopedListWarningData(); |
227 buildCounterAddressesScopedListWarningData++; | 454 buildCounterAddressesScopedListWarningData++; |
228 if (buildCounterAddressesScopedListWarningData < 3) { | 455 if (buildCounterAddressesScopedListWarningData < 3) { |
229 o.key = "foo"; | 456 o.key = "foo"; |
230 o.value = "foo"; | 457 o.value = "foo"; |
231 } | 458 } |
232 buildCounterAddressesScopedListWarningData--; | 459 buildCounterAddressesScopedListWarningData--; |
233 return o; | 460 return o; |
234 } | 461 } |
235 | 462 |
236 checkAddressesScopedListWarningData(api.AddressesScopedListWarningData o) { | 463 checkAddressesScopedListWarningData(api.AddressesScopedListWarningData o) { |
237 buildCounterAddressesScopedListWarningData++; | 464 buildCounterAddressesScopedListWarningData++; |
238 if (buildCounterAddressesScopedListWarningData < 3) { | 465 if (buildCounterAddressesScopedListWarningData < 3) { |
239 unittest.expect(o.key, unittest.equals('foo')); | 466 unittest.expect(o.key, unittest.equals('foo')); |
240 unittest.expect(o.value, unittest.equals('foo')); | 467 unittest.expect(o.value, unittest.equals('foo')); |
241 } | 468 } |
242 buildCounterAddressesScopedListWarningData--; | 469 buildCounterAddressesScopedListWarningData--; |
243 } | 470 } |
244 | 471 |
245 buildUnnamed2105() { | 472 buildUnnamed2195() { |
246 var o = new core.List<api.AddressesScopedListWarningData>(); | 473 var o = new core.List<api.AddressesScopedListWarningData>(); |
247 o.add(buildAddressesScopedListWarningData()); | 474 o.add(buildAddressesScopedListWarningData()); |
248 o.add(buildAddressesScopedListWarningData()); | 475 o.add(buildAddressesScopedListWarningData()); |
249 return o; | 476 return o; |
250 } | 477 } |
251 | 478 |
252 checkUnnamed2105(core.List<api.AddressesScopedListWarningData> o) { | 479 checkUnnamed2195(core.List<api.AddressesScopedListWarningData> o) { |
253 unittest.expect(o, unittest.hasLength(2)); | 480 unittest.expect(o, unittest.hasLength(2)); |
254 checkAddressesScopedListWarningData(o[0]); | 481 checkAddressesScopedListWarningData(o[0]); |
255 checkAddressesScopedListWarningData(o[1]); | 482 checkAddressesScopedListWarningData(o[1]); |
256 } | 483 } |
257 | 484 |
258 core.int buildCounterAddressesScopedListWarning = 0; | 485 core.int buildCounterAddressesScopedListWarning = 0; |
259 buildAddressesScopedListWarning() { | 486 buildAddressesScopedListWarning() { |
260 var o = new api.AddressesScopedListWarning(); | 487 var o = new api.AddressesScopedListWarning(); |
261 buildCounterAddressesScopedListWarning++; | 488 buildCounterAddressesScopedListWarning++; |
262 if (buildCounterAddressesScopedListWarning < 3) { | 489 if (buildCounterAddressesScopedListWarning < 3) { |
263 o.code = "foo"; | 490 o.code = "foo"; |
264 o.data = buildUnnamed2105(); | 491 o.data = buildUnnamed2195(); |
265 o.message = "foo"; | 492 o.message = "foo"; |
266 } | 493 } |
267 buildCounterAddressesScopedListWarning--; | 494 buildCounterAddressesScopedListWarning--; |
268 return o; | 495 return o; |
269 } | 496 } |
270 | 497 |
271 checkAddressesScopedListWarning(api.AddressesScopedListWarning o) { | 498 checkAddressesScopedListWarning(api.AddressesScopedListWarning o) { |
272 buildCounterAddressesScopedListWarning++; | 499 buildCounterAddressesScopedListWarning++; |
273 if (buildCounterAddressesScopedListWarning < 3) { | 500 if (buildCounterAddressesScopedListWarning < 3) { |
274 unittest.expect(o.code, unittest.equals('foo')); | 501 unittest.expect(o.code, unittest.equals('foo')); |
275 checkUnnamed2105(o.data); | 502 checkUnnamed2195(o.data); |
276 unittest.expect(o.message, unittest.equals('foo')); | 503 unittest.expect(o.message, unittest.equals('foo')); |
277 } | 504 } |
278 buildCounterAddressesScopedListWarning--; | 505 buildCounterAddressesScopedListWarning--; |
279 } | 506 } |
280 | 507 |
281 core.int buildCounterAddressesScopedList = 0; | 508 core.int buildCounterAddressesScopedList = 0; |
282 buildAddressesScopedList() { | 509 buildAddressesScopedList() { |
283 var o = new api.AddressesScopedList(); | 510 var o = new api.AddressesScopedList(); |
284 buildCounterAddressesScopedList++; | 511 buildCounterAddressesScopedList++; |
285 if (buildCounterAddressesScopedList < 3) { | 512 if (buildCounterAddressesScopedList < 3) { |
286 o.addresses = buildUnnamed2104(); | 513 o.addresses = buildUnnamed2194(); |
287 o.warning = buildAddressesScopedListWarning(); | 514 o.warning = buildAddressesScopedListWarning(); |
288 } | 515 } |
289 buildCounterAddressesScopedList--; | 516 buildCounterAddressesScopedList--; |
290 return o; | 517 return o; |
291 } | 518 } |
292 | 519 |
293 checkAddressesScopedList(api.AddressesScopedList o) { | 520 checkAddressesScopedList(api.AddressesScopedList o) { |
294 buildCounterAddressesScopedList++; | 521 buildCounterAddressesScopedList++; |
295 if (buildCounterAddressesScopedList < 3) { | 522 if (buildCounterAddressesScopedList < 3) { |
296 checkUnnamed2104(o.addresses); | 523 checkUnnamed2194(o.addresses); |
297 checkAddressesScopedListWarning(o.warning); | 524 checkAddressesScopedListWarning(o.warning); |
298 } | 525 } |
299 buildCounterAddressesScopedList--; | 526 buildCounterAddressesScopedList--; |
300 } | 527 } |
301 | 528 |
302 buildUnnamed2106() { | 529 buildUnnamed2196() { |
303 var o = new core.List<core.String>(); | 530 var o = new core.List<core.String>(); |
304 o.add("foo"); | 531 o.add("foo"); |
305 o.add("foo"); | 532 o.add("foo"); |
306 return o; | 533 return o; |
307 } | 534 } |
308 | 535 |
309 checkUnnamed2106(core.List<core.String> o) { | 536 checkUnnamed2196(core.List<core.String> o) { |
310 unittest.expect(o, unittest.hasLength(2)); | 537 unittest.expect(o, unittest.hasLength(2)); |
311 unittest.expect(o[0], unittest.equals('foo')); | 538 unittest.expect(o[0], unittest.equals('foo')); |
312 unittest.expect(o[1], unittest.equals('foo')); | 539 unittest.expect(o[1], unittest.equals('foo')); |
313 } | 540 } |
314 | 541 |
315 core.int buildCounterAttachedDisk = 0; | 542 core.int buildCounterAttachedDisk = 0; |
316 buildAttachedDisk() { | 543 buildAttachedDisk() { |
317 var o = new api.AttachedDisk(); | 544 var o = new api.AttachedDisk(); |
318 buildCounterAttachedDisk++; | 545 buildCounterAttachedDisk++; |
319 if (buildCounterAttachedDisk < 3) { | 546 if (buildCounterAttachedDisk < 3) { |
320 o.autoDelete = true; | 547 o.autoDelete = true; |
321 o.boot = true; | 548 o.boot = true; |
322 o.deviceName = "foo"; | 549 o.deviceName = "foo"; |
323 o.diskEncryptionKey = buildCustomerEncryptionKey(); | 550 o.diskEncryptionKey = buildCustomerEncryptionKey(); |
324 o.index = 42; | 551 o.index = 42; |
325 o.initializeParams = buildAttachedDiskInitializeParams(); | 552 o.initializeParams = buildAttachedDiskInitializeParams(); |
326 o.interface = "foo"; | 553 o.interface = "foo"; |
327 o.kind = "foo"; | 554 o.kind = "foo"; |
328 o.licenses = buildUnnamed2106(); | 555 o.licenses = buildUnnamed2196(); |
329 o.mode = "foo"; | 556 o.mode = "foo"; |
330 o.source = "foo"; | 557 o.source = "foo"; |
331 o.type = "foo"; | 558 o.type = "foo"; |
332 } | 559 } |
333 buildCounterAttachedDisk--; | 560 buildCounterAttachedDisk--; |
334 return o; | 561 return o; |
335 } | 562 } |
336 | 563 |
337 checkAttachedDisk(api.AttachedDisk o) { | 564 checkAttachedDisk(api.AttachedDisk o) { |
338 buildCounterAttachedDisk++; | 565 buildCounterAttachedDisk++; |
339 if (buildCounterAttachedDisk < 3) { | 566 if (buildCounterAttachedDisk < 3) { |
340 unittest.expect(o.autoDelete, unittest.isTrue); | 567 unittest.expect(o.autoDelete, unittest.isTrue); |
341 unittest.expect(o.boot, unittest.isTrue); | 568 unittest.expect(o.boot, unittest.isTrue); |
342 unittest.expect(o.deviceName, unittest.equals('foo')); | 569 unittest.expect(o.deviceName, unittest.equals('foo')); |
343 checkCustomerEncryptionKey(o.diskEncryptionKey); | 570 checkCustomerEncryptionKey(o.diskEncryptionKey); |
344 unittest.expect(o.index, unittest.equals(42)); | 571 unittest.expect(o.index, unittest.equals(42)); |
345 checkAttachedDiskInitializeParams(o.initializeParams); | 572 checkAttachedDiskInitializeParams(o.initializeParams); |
346 unittest.expect(o.interface, unittest.equals('foo')); | 573 unittest.expect(o.interface, unittest.equals('foo')); |
347 unittest.expect(o.kind, unittest.equals('foo')); | 574 unittest.expect(o.kind, unittest.equals('foo')); |
348 checkUnnamed2106(o.licenses); | 575 checkUnnamed2196(o.licenses); |
349 unittest.expect(o.mode, unittest.equals('foo')); | 576 unittest.expect(o.mode, unittest.equals('foo')); |
350 unittest.expect(o.source, unittest.equals('foo')); | 577 unittest.expect(o.source, unittest.equals('foo')); |
351 unittest.expect(o.type, unittest.equals('foo')); | 578 unittest.expect(o.type, unittest.equals('foo')); |
352 } | 579 } |
353 buildCounterAttachedDisk--; | 580 buildCounterAttachedDisk--; |
354 } | 581 } |
355 | 582 |
356 core.int buildCounterAttachedDiskInitializeParams = 0; | 583 core.int buildCounterAttachedDiskInitializeParams = 0; |
357 buildAttachedDiskInitializeParams() { | 584 buildAttachedDiskInitializeParams() { |
358 var o = new api.AttachedDiskInitializeParams(); | 585 var o = new api.AttachedDiskInitializeParams(); |
(...skipping 14 matching lines...) Expand all Loading... |
373 if (buildCounterAttachedDiskInitializeParams < 3) { | 600 if (buildCounterAttachedDiskInitializeParams < 3) { |
374 unittest.expect(o.diskName, unittest.equals('foo')); | 601 unittest.expect(o.diskName, unittest.equals('foo')); |
375 unittest.expect(o.diskSizeGb, unittest.equals('foo')); | 602 unittest.expect(o.diskSizeGb, unittest.equals('foo')); |
376 unittest.expect(o.diskType, unittest.equals('foo')); | 603 unittest.expect(o.diskType, unittest.equals('foo')); |
377 unittest.expect(o.sourceImage, unittest.equals('foo')); | 604 unittest.expect(o.sourceImage, unittest.equals('foo')); |
378 checkCustomerEncryptionKey(o.sourceImageEncryptionKey); | 605 checkCustomerEncryptionKey(o.sourceImageEncryptionKey); |
379 } | 606 } |
380 buildCounterAttachedDiskInitializeParams--; | 607 buildCounterAttachedDiskInitializeParams--; |
381 } | 608 } |
382 | 609 |
| 610 buildUnnamed2197() { |
| 611 var o = new core.List<api.AutoscalerStatusDetails>(); |
| 612 o.add(buildAutoscalerStatusDetails()); |
| 613 o.add(buildAutoscalerStatusDetails()); |
| 614 return o; |
| 615 } |
| 616 |
| 617 checkUnnamed2197(core.List<api.AutoscalerStatusDetails> o) { |
| 618 unittest.expect(o, unittest.hasLength(2)); |
| 619 checkAutoscalerStatusDetails(o[0]); |
| 620 checkAutoscalerStatusDetails(o[1]); |
| 621 } |
| 622 |
383 core.int buildCounterAutoscaler = 0; | 623 core.int buildCounterAutoscaler = 0; |
384 buildAutoscaler() { | 624 buildAutoscaler() { |
385 var o = new api.Autoscaler(); | 625 var o = new api.Autoscaler(); |
386 buildCounterAutoscaler++; | 626 buildCounterAutoscaler++; |
387 if (buildCounterAutoscaler < 3) { | 627 if (buildCounterAutoscaler < 3) { |
388 o.autoscalingPolicy = buildAutoscalingPolicy(); | 628 o.autoscalingPolicy = buildAutoscalingPolicy(); |
389 o.creationTimestamp = "foo"; | 629 o.creationTimestamp = "foo"; |
390 o.description = "foo"; | 630 o.description = "foo"; |
391 o.id = "foo"; | 631 o.id = "foo"; |
392 o.kind = "foo"; | 632 o.kind = "foo"; |
393 o.name = "foo"; | 633 o.name = "foo"; |
394 o.region = "foo"; | 634 o.region = "foo"; |
395 o.selfLink = "foo"; | 635 o.selfLink = "foo"; |
| 636 o.status = "foo"; |
| 637 o.statusDetails = buildUnnamed2197(); |
396 o.target = "foo"; | 638 o.target = "foo"; |
397 o.zone = "foo"; | 639 o.zone = "foo"; |
398 } | 640 } |
399 buildCounterAutoscaler--; | 641 buildCounterAutoscaler--; |
400 return o; | 642 return o; |
401 } | 643 } |
402 | 644 |
403 checkAutoscaler(api.Autoscaler o) { | 645 checkAutoscaler(api.Autoscaler o) { |
404 buildCounterAutoscaler++; | 646 buildCounterAutoscaler++; |
405 if (buildCounterAutoscaler < 3) { | 647 if (buildCounterAutoscaler < 3) { |
406 checkAutoscalingPolicy(o.autoscalingPolicy); | 648 checkAutoscalingPolicy(o.autoscalingPolicy); |
407 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 649 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
408 unittest.expect(o.description, unittest.equals('foo')); | 650 unittest.expect(o.description, unittest.equals('foo')); |
409 unittest.expect(o.id, unittest.equals('foo')); | 651 unittest.expect(o.id, unittest.equals('foo')); |
410 unittest.expect(o.kind, unittest.equals('foo')); | 652 unittest.expect(o.kind, unittest.equals('foo')); |
411 unittest.expect(o.name, unittest.equals('foo')); | 653 unittest.expect(o.name, unittest.equals('foo')); |
412 unittest.expect(o.region, unittest.equals('foo')); | 654 unittest.expect(o.region, unittest.equals('foo')); |
413 unittest.expect(o.selfLink, unittest.equals('foo')); | 655 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 656 unittest.expect(o.status, unittest.equals('foo')); |
| 657 checkUnnamed2197(o.statusDetails); |
414 unittest.expect(o.target, unittest.equals('foo')); | 658 unittest.expect(o.target, unittest.equals('foo')); |
415 unittest.expect(o.zone, unittest.equals('foo')); | 659 unittest.expect(o.zone, unittest.equals('foo')); |
416 } | 660 } |
417 buildCounterAutoscaler--; | 661 buildCounterAutoscaler--; |
418 } | 662 } |
419 | 663 |
420 buildUnnamed2107() { | 664 buildUnnamed2198() { |
421 var o = new core.Map<core.String, api.AutoscalersScopedList>(); | 665 var o = new core.Map<core.String, api.AutoscalersScopedList>(); |
422 o["x"] = buildAutoscalersScopedList(); | 666 o["x"] = buildAutoscalersScopedList(); |
423 o["y"] = buildAutoscalersScopedList(); | 667 o["y"] = buildAutoscalersScopedList(); |
424 return o; | 668 return o; |
425 } | 669 } |
426 | 670 |
427 checkUnnamed2107(core.Map<core.String, api.AutoscalersScopedList> o) { | 671 checkUnnamed2198(core.Map<core.String, api.AutoscalersScopedList> o) { |
428 unittest.expect(o, unittest.hasLength(2)); | 672 unittest.expect(o, unittest.hasLength(2)); |
429 checkAutoscalersScopedList(o["x"]); | 673 checkAutoscalersScopedList(o["x"]); |
430 checkAutoscalersScopedList(o["y"]); | 674 checkAutoscalersScopedList(o["y"]); |
431 } | 675 } |
432 | 676 |
433 core.int buildCounterAutoscalerAggregatedList = 0; | 677 core.int buildCounterAutoscalerAggregatedList = 0; |
434 buildAutoscalerAggregatedList() { | 678 buildAutoscalerAggregatedList() { |
435 var o = new api.AutoscalerAggregatedList(); | 679 var o = new api.AutoscalerAggregatedList(); |
436 buildCounterAutoscalerAggregatedList++; | 680 buildCounterAutoscalerAggregatedList++; |
437 if (buildCounterAutoscalerAggregatedList < 3) { | 681 if (buildCounterAutoscalerAggregatedList < 3) { |
438 o.id = "foo"; | 682 o.id = "foo"; |
439 o.items = buildUnnamed2107(); | 683 o.items = buildUnnamed2198(); |
440 o.kind = "foo"; | 684 o.kind = "foo"; |
441 o.nextPageToken = "foo"; | 685 o.nextPageToken = "foo"; |
442 o.selfLink = "foo"; | 686 o.selfLink = "foo"; |
443 } | 687 } |
444 buildCounterAutoscalerAggregatedList--; | 688 buildCounterAutoscalerAggregatedList--; |
445 return o; | 689 return o; |
446 } | 690 } |
447 | 691 |
448 checkAutoscalerAggregatedList(api.AutoscalerAggregatedList o) { | 692 checkAutoscalerAggregatedList(api.AutoscalerAggregatedList o) { |
449 buildCounterAutoscalerAggregatedList++; | 693 buildCounterAutoscalerAggregatedList++; |
450 if (buildCounterAutoscalerAggregatedList < 3) { | 694 if (buildCounterAutoscalerAggregatedList < 3) { |
451 unittest.expect(o.id, unittest.equals('foo')); | 695 unittest.expect(o.id, unittest.equals('foo')); |
452 checkUnnamed2107(o.items); | 696 checkUnnamed2198(o.items); |
453 unittest.expect(o.kind, unittest.equals('foo')); | 697 unittest.expect(o.kind, unittest.equals('foo')); |
454 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 698 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
455 unittest.expect(o.selfLink, unittest.equals('foo')); | 699 unittest.expect(o.selfLink, unittest.equals('foo')); |
456 } | 700 } |
457 buildCounterAutoscalerAggregatedList--; | 701 buildCounterAutoscalerAggregatedList--; |
458 } | 702 } |
459 | 703 |
460 buildUnnamed2108() { | 704 buildUnnamed2199() { |
461 var o = new core.List<api.Autoscaler>(); | 705 var o = new core.List<api.Autoscaler>(); |
462 o.add(buildAutoscaler()); | 706 o.add(buildAutoscaler()); |
463 o.add(buildAutoscaler()); | 707 o.add(buildAutoscaler()); |
464 return o; | 708 return o; |
465 } | 709 } |
466 | 710 |
467 checkUnnamed2108(core.List<api.Autoscaler> o) { | 711 checkUnnamed2199(core.List<api.Autoscaler> o) { |
468 unittest.expect(o, unittest.hasLength(2)); | 712 unittest.expect(o, unittest.hasLength(2)); |
469 checkAutoscaler(o[0]); | 713 checkAutoscaler(o[0]); |
470 checkAutoscaler(o[1]); | 714 checkAutoscaler(o[1]); |
471 } | 715 } |
472 | 716 |
473 core.int buildCounterAutoscalerList = 0; | 717 core.int buildCounterAutoscalerList = 0; |
474 buildAutoscalerList() { | 718 buildAutoscalerList() { |
475 var o = new api.AutoscalerList(); | 719 var o = new api.AutoscalerList(); |
476 buildCounterAutoscalerList++; | 720 buildCounterAutoscalerList++; |
477 if (buildCounterAutoscalerList < 3) { | 721 if (buildCounterAutoscalerList < 3) { |
478 o.id = "foo"; | 722 o.id = "foo"; |
479 o.items = buildUnnamed2108(); | 723 o.items = buildUnnamed2199(); |
480 o.kind = "foo"; | 724 o.kind = "foo"; |
481 o.nextPageToken = "foo"; | 725 o.nextPageToken = "foo"; |
482 o.selfLink = "foo"; | 726 o.selfLink = "foo"; |
483 } | 727 } |
484 buildCounterAutoscalerList--; | 728 buildCounterAutoscalerList--; |
485 return o; | 729 return o; |
486 } | 730 } |
487 | 731 |
488 checkAutoscalerList(api.AutoscalerList o) { | 732 checkAutoscalerList(api.AutoscalerList o) { |
489 buildCounterAutoscalerList++; | 733 buildCounterAutoscalerList++; |
490 if (buildCounterAutoscalerList < 3) { | 734 if (buildCounterAutoscalerList < 3) { |
491 unittest.expect(o.id, unittest.equals('foo')); | 735 unittest.expect(o.id, unittest.equals('foo')); |
492 checkUnnamed2108(o.items); | 736 checkUnnamed2199(o.items); |
493 unittest.expect(o.kind, unittest.equals('foo')); | 737 unittest.expect(o.kind, unittest.equals('foo')); |
494 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 738 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
495 unittest.expect(o.selfLink, unittest.equals('foo')); | 739 unittest.expect(o.selfLink, unittest.equals('foo')); |
496 } | 740 } |
497 buildCounterAutoscalerList--; | 741 buildCounterAutoscalerList--; |
498 } | 742 } |
499 | 743 |
500 buildUnnamed2109() { | 744 core.int buildCounterAutoscalerStatusDetails = 0; |
| 745 buildAutoscalerStatusDetails() { |
| 746 var o = new api.AutoscalerStatusDetails(); |
| 747 buildCounterAutoscalerStatusDetails++; |
| 748 if (buildCounterAutoscalerStatusDetails < 3) { |
| 749 o.message = "foo"; |
| 750 o.type = "foo"; |
| 751 } |
| 752 buildCounterAutoscalerStatusDetails--; |
| 753 return o; |
| 754 } |
| 755 |
| 756 checkAutoscalerStatusDetails(api.AutoscalerStatusDetails o) { |
| 757 buildCounterAutoscalerStatusDetails++; |
| 758 if (buildCounterAutoscalerStatusDetails < 3) { |
| 759 unittest.expect(o.message, unittest.equals('foo')); |
| 760 unittest.expect(o.type, unittest.equals('foo')); |
| 761 } |
| 762 buildCounterAutoscalerStatusDetails--; |
| 763 } |
| 764 |
| 765 buildUnnamed2200() { |
501 var o = new core.List<api.Autoscaler>(); | 766 var o = new core.List<api.Autoscaler>(); |
502 o.add(buildAutoscaler()); | 767 o.add(buildAutoscaler()); |
503 o.add(buildAutoscaler()); | 768 o.add(buildAutoscaler()); |
504 return o; | 769 return o; |
505 } | 770 } |
506 | 771 |
507 checkUnnamed2109(core.List<api.Autoscaler> o) { | 772 checkUnnamed2200(core.List<api.Autoscaler> o) { |
508 unittest.expect(o, unittest.hasLength(2)); | 773 unittest.expect(o, unittest.hasLength(2)); |
509 checkAutoscaler(o[0]); | 774 checkAutoscaler(o[0]); |
510 checkAutoscaler(o[1]); | 775 checkAutoscaler(o[1]); |
511 } | 776 } |
512 | 777 |
513 core.int buildCounterAutoscalersScopedListWarningData = 0; | 778 core.int buildCounterAutoscalersScopedListWarningData = 0; |
514 buildAutoscalersScopedListWarningData() { | 779 buildAutoscalersScopedListWarningData() { |
515 var o = new api.AutoscalersScopedListWarningData(); | 780 var o = new api.AutoscalersScopedListWarningData(); |
516 buildCounterAutoscalersScopedListWarningData++; | 781 buildCounterAutoscalersScopedListWarningData++; |
517 if (buildCounterAutoscalersScopedListWarningData < 3) { | 782 if (buildCounterAutoscalersScopedListWarningData < 3) { |
518 o.key = "foo"; | 783 o.key = "foo"; |
519 o.value = "foo"; | 784 o.value = "foo"; |
520 } | 785 } |
521 buildCounterAutoscalersScopedListWarningData--; | 786 buildCounterAutoscalersScopedListWarningData--; |
522 return o; | 787 return o; |
523 } | 788 } |
524 | 789 |
525 checkAutoscalersScopedListWarningData(api.AutoscalersScopedListWarningData o) { | 790 checkAutoscalersScopedListWarningData(api.AutoscalersScopedListWarningData o) { |
526 buildCounterAutoscalersScopedListWarningData++; | 791 buildCounterAutoscalersScopedListWarningData++; |
527 if (buildCounterAutoscalersScopedListWarningData < 3) { | 792 if (buildCounterAutoscalersScopedListWarningData < 3) { |
528 unittest.expect(o.key, unittest.equals('foo')); | 793 unittest.expect(o.key, unittest.equals('foo')); |
529 unittest.expect(o.value, unittest.equals('foo')); | 794 unittest.expect(o.value, unittest.equals('foo')); |
530 } | 795 } |
531 buildCounterAutoscalersScopedListWarningData--; | 796 buildCounterAutoscalersScopedListWarningData--; |
532 } | 797 } |
533 | 798 |
534 buildUnnamed2110() { | 799 buildUnnamed2201() { |
535 var o = new core.List<api.AutoscalersScopedListWarningData>(); | 800 var o = new core.List<api.AutoscalersScopedListWarningData>(); |
536 o.add(buildAutoscalersScopedListWarningData()); | 801 o.add(buildAutoscalersScopedListWarningData()); |
537 o.add(buildAutoscalersScopedListWarningData()); | 802 o.add(buildAutoscalersScopedListWarningData()); |
538 return o; | 803 return o; |
539 } | 804 } |
540 | 805 |
541 checkUnnamed2110(core.List<api.AutoscalersScopedListWarningData> o) { | 806 checkUnnamed2201(core.List<api.AutoscalersScopedListWarningData> o) { |
542 unittest.expect(o, unittest.hasLength(2)); | 807 unittest.expect(o, unittest.hasLength(2)); |
543 checkAutoscalersScopedListWarningData(o[0]); | 808 checkAutoscalersScopedListWarningData(o[0]); |
544 checkAutoscalersScopedListWarningData(o[1]); | 809 checkAutoscalersScopedListWarningData(o[1]); |
545 } | 810 } |
546 | 811 |
547 core.int buildCounterAutoscalersScopedListWarning = 0; | 812 core.int buildCounterAutoscalersScopedListWarning = 0; |
548 buildAutoscalersScopedListWarning() { | 813 buildAutoscalersScopedListWarning() { |
549 var o = new api.AutoscalersScopedListWarning(); | 814 var o = new api.AutoscalersScopedListWarning(); |
550 buildCounterAutoscalersScopedListWarning++; | 815 buildCounterAutoscalersScopedListWarning++; |
551 if (buildCounterAutoscalersScopedListWarning < 3) { | 816 if (buildCounterAutoscalersScopedListWarning < 3) { |
552 o.code = "foo"; | 817 o.code = "foo"; |
553 o.data = buildUnnamed2110(); | 818 o.data = buildUnnamed2201(); |
554 o.message = "foo"; | 819 o.message = "foo"; |
555 } | 820 } |
556 buildCounterAutoscalersScopedListWarning--; | 821 buildCounterAutoscalersScopedListWarning--; |
557 return o; | 822 return o; |
558 } | 823 } |
559 | 824 |
560 checkAutoscalersScopedListWarning(api.AutoscalersScopedListWarning o) { | 825 checkAutoscalersScopedListWarning(api.AutoscalersScopedListWarning o) { |
561 buildCounterAutoscalersScopedListWarning++; | 826 buildCounterAutoscalersScopedListWarning++; |
562 if (buildCounterAutoscalersScopedListWarning < 3) { | 827 if (buildCounterAutoscalersScopedListWarning < 3) { |
563 unittest.expect(o.code, unittest.equals('foo')); | 828 unittest.expect(o.code, unittest.equals('foo')); |
564 checkUnnamed2110(o.data); | 829 checkUnnamed2201(o.data); |
565 unittest.expect(o.message, unittest.equals('foo')); | 830 unittest.expect(o.message, unittest.equals('foo')); |
566 } | 831 } |
567 buildCounterAutoscalersScopedListWarning--; | 832 buildCounterAutoscalersScopedListWarning--; |
568 } | 833 } |
569 | 834 |
570 core.int buildCounterAutoscalersScopedList = 0; | 835 core.int buildCounterAutoscalersScopedList = 0; |
571 buildAutoscalersScopedList() { | 836 buildAutoscalersScopedList() { |
572 var o = new api.AutoscalersScopedList(); | 837 var o = new api.AutoscalersScopedList(); |
573 buildCounterAutoscalersScopedList++; | 838 buildCounterAutoscalersScopedList++; |
574 if (buildCounterAutoscalersScopedList < 3) { | 839 if (buildCounterAutoscalersScopedList < 3) { |
575 o.autoscalers = buildUnnamed2109(); | 840 o.autoscalers = buildUnnamed2200(); |
576 o.warning = buildAutoscalersScopedListWarning(); | 841 o.warning = buildAutoscalersScopedListWarning(); |
577 } | 842 } |
578 buildCounterAutoscalersScopedList--; | 843 buildCounterAutoscalersScopedList--; |
579 return o; | 844 return o; |
580 } | 845 } |
581 | 846 |
582 checkAutoscalersScopedList(api.AutoscalersScopedList o) { | 847 checkAutoscalersScopedList(api.AutoscalersScopedList o) { |
583 buildCounterAutoscalersScopedList++; | 848 buildCounterAutoscalersScopedList++; |
584 if (buildCounterAutoscalersScopedList < 3) { | 849 if (buildCounterAutoscalersScopedList < 3) { |
585 checkUnnamed2109(o.autoscalers); | 850 checkUnnamed2200(o.autoscalers); |
586 checkAutoscalersScopedListWarning(o.warning); | 851 checkAutoscalersScopedListWarning(o.warning); |
587 } | 852 } |
588 buildCounterAutoscalersScopedList--; | 853 buildCounterAutoscalersScopedList--; |
589 } | 854 } |
590 | 855 |
591 buildUnnamed2111() { | 856 buildUnnamed2202() { |
592 var o = new core.List<api.AutoscalingPolicyCustomMetricUtilization>(); | 857 var o = new core.List<api.AutoscalingPolicyCustomMetricUtilization>(); |
593 o.add(buildAutoscalingPolicyCustomMetricUtilization()); | 858 o.add(buildAutoscalingPolicyCustomMetricUtilization()); |
594 o.add(buildAutoscalingPolicyCustomMetricUtilization()); | 859 o.add(buildAutoscalingPolicyCustomMetricUtilization()); |
595 return o; | 860 return o; |
596 } | 861 } |
597 | 862 |
598 checkUnnamed2111(core.List<api.AutoscalingPolicyCustomMetricUtilization> o) { | 863 checkUnnamed2202(core.List<api.AutoscalingPolicyCustomMetricUtilization> o) { |
599 unittest.expect(o, unittest.hasLength(2)); | 864 unittest.expect(o, unittest.hasLength(2)); |
600 checkAutoscalingPolicyCustomMetricUtilization(o[0]); | 865 checkAutoscalingPolicyCustomMetricUtilization(o[0]); |
601 checkAutoscalingPolicyCustomMetricUtilization(o[1]); | 866 checkAutoscalingPolicyCustomMetricUtilization(o[1]); |
602 } | 867 } |
603 | 868 |
604 core.int buildCounterAutoscalingPolicy = 0; | 869 core.int buildCounterAutoscalingPolicy = 0; |
605 buildAutoscalingPolicy() { | 870 buildAutoscalingPolicy() { |
606 var o = new api.AutoscalingPolicy(); | 871 var o = new api.AutoscalingPolicy(); |
607 buildCounterAutoscalingPolicy++; | 872 buildCounterAutoscalingPolicy++; |
608 if (buildCounterAutoscalingPolicy < 3) { | 873 if (buildCounterAutoscalingPolicy < 3) { |
609 o.coolDownPeriodSec = 42; | 874 o.coolDownPeriodSec = 42; |
610 o.cpuUtilization = buildAutoscalingPolicyCpuUtilization(); | 875 o.cpuUtilization = buildAutoscalingPolicyCpuUtilization(); |
611 o.customMetricUtilizations = buildUnnamed2111(); | 876 o.customMetricUtilizations = buildUnnamed2202(); |
612 o.loadBalancingUtilization = buildAutoscalingPolicyLoadBalancingUtilization(
); | 877 o.loadBalancingUtilization = buildAutoscalingPolicyLoadBalancingUtilization(
); |
613 o.maxNumReplicas = 42; | 878 o.maxNumReplicas = 42; |
614 o.minNumReplicas = 42; | 879 o.minNumReplicas = 42; |
615 } | 880 } |
616 buildCounterAutoscalingPolicy--; | 881 buildCounterAutoscalingPolicy--; |
617 return o; | 882 return o; |
618 } | 883 } |
619 | 884 |
620 checkAutoscalingPolicy(api.AutoscalingPolicy o) { | 885 checkAutoscalingPolicy(api.AutoscalingPolicy o) { |
621 buildCounterAutoscalingPolicy++; | 886 buildCounterAutoscalingPolicy++; |
622 if (buildCounterAutoscalingPolicy < 3) { | 887 if (buildCounterAutoscalingPolicy < 3) { |
623 unittest.expect(o.coolDownPeriodSec, unittest.equals(42)); | 888 unittest.expect(o.coolDownPeriodSec, unittest.equals(42)); |
624 checkAutoscalingPolicyCpuUtilization(o.cpuUtilization); | 889 checkAutoscalingPolicyCpuUtilization(o.cpuUtilization); |
625 checkUnnamed2111(o.customMetricUtilizations); | 890 checkUnnamed2202(o.customMetricUtilizations); |
626 checkAutoscalingPolicyLoadBalancingUtilization(o.loadBalancingUtilization); | 891 checkAutoscalingPolicyLoadBalancingUtilization(o.loadBalancingUtilization); |
627 unittest.expect(o.maxNumReplicas, unittest.equals(42)); | 892 unittest.expect(o.maxNumReplicas, unittest.equals(42)); |
628 unittest.expect(o.minNumReplicas, unittest.equals(42)); | 893 unittest.expect(o.minNumReplicas, unittest.equals(42)); |
629 } | 894 } |
630 buildCounterAutoscalingPolicy--; | 895 buildCounterAutoscalingPolicy--; |
631 } | 896 } |
632 | 897 |
633 core.int buildCounterAutoscalingPolicyCpuUtilization = 0; | 898 core.int buildCounterAutoscalingPolicyCpuUtilization = 0; |
634 buildAutoscalingPolicyCpuUtilization() { | 899 buildAutoscalingPolicyCpuUtilization() { |
635 var o = new api.AutoscalingPolicyCpuUtilization(); | 900 var o = new api.AutoscalingPolicyCpuUtilization(); |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
752 unittest.expect(o.description, unittest.equals('foo')); | 1017 unittest.expect(o.description, unittest.equals('foo')); |
753 unittest.expect(o.enableCdn, unittest.isTrue); | 1018 unittest.expect(o.enableCdn, unittest.isTrue); |
754 unittest.expect(o.id, unittest.equals('foo')); | 1019 unittest.expect(o.id, unittest.equals('foo')); |
755 unittest.expect(o.kind, unittest.equals('foo')); | 1020 unittest.expect(o.kind, unittest.equals('foo')); |
756 unittest.expect(o.name, unittest.equals('foo')); | 1021 unittest.expect(o.name, unittest.equals('foo')); |
757 unittest.expect(o.selfLink, unittest.equals('foo')); | 1022 unittest.expect(o.selfLink, unittest.equals('foo')); |
758 } | 1023 } |
759 buildCounterBackendBucket--; | 1024 buildCounterBackendBucket--; |
760 } | 1025 } |
761 | 1026 |
762 buildUnnamed2112() { | 1027 buildUnnamed2203() { |
763 var o = new core.List<api.BackendBucket>(); | 1028 var o = new core.List<api.BackendBucket>(); |
764 o.add(buildBackendBucket()); | 1029 o.add(buildBackendBucket()); |
765 o.add(buildBackendBucket()); | 1030 o.add(buildBackendBucket()); |
766 return o; | 1031 return o; |
767 } | 1032 } |
768 | 1033 |
769 checkUnnamed2112(core.List<api.BackendBucket> o) { | 1034 checkUnnamed2203(core.List<api.BackendBucket> o) { |
770 unittest.expect(o, unittest.hasLength(2)); | 1035 unittest.expect(o, unittest.hasLength(2)); |
771 checkBackendBucket(o[0]); | 1036 checkBackendBucket(o[0]); |
772 checkBackendBucket(o[1]); | 1037 checkBackendBucket(o[1]); |
773 } | 1038 } |
774 | 1039 |
775 core.int buildCounterBackendBucketList = 0; | 1040 core.int buildCounterBackendBucketList = 0; |
776 buildBackendBucketList() { | 1041 buildBackendBucketList() { |
777 var o = new api.BackendBucketList(); | 1042 var o = new api.BackendBucketList(); |
778 buildCounterBackendBucketList++; | 1043 buildCounterBackendBucketList++; |
779 if (buildCounterBackendBucketList < 3) { | 1044 if (buildCounterBackendBucketList < 3) { |
780 o.id = "foo"; | 1045 o.id = "foo"; |
781 o.items = buildUnnamed2112(); | 1046 o.items = buildUnnamed2203(); |
782 o.kind = "foo"; | 1047 o.kind = "foo"; |
783 o.nextPageToken = "foo"; | 1048 o.nextPageToken = "foo"; |
784 o.selfLink = "foo"; | 1049 o.selfLink = "foo"; |
785 } | 1050 } |
786 buildCounterBackendBucketList--; | 1051 buildCounterBackendBucketList--; |
787 return o; | 1052 return o; |
788 } | 1053 } |
789 | 1054 |
790 checkBackendBucketList(api.BackendBucketList o) { | 1055 checkBackendBucketList(api.BackendBucketList o) { |
791 buildCounterBackendBucketList++; | 1056 buildCounterBackendBucketList++; |
792 if (buildCounterBackendBucketList < 3) { | 1057 if (buildCounterBackendBucketList < 3) { |
793 unittest.expect(o.id, unittest.equals('foo')); | 1058 unittest.expect(o.id, unittest.equals('foo')); |
794 checkUnnamed2112(o.items); | 1059 checkUnnamed2203(o.items); |
795 unittest.expect(o.kind, unittest.equals('foo')); | 1060 unittest.expect(o.kind, unittest.equals('foo')); |
796 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1061 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
797 unittest.expect(o.selfLink, unittest.equals('foo')); | 1062 unittest.expect(o.selfLink, unittest.equals('foo')); |
798 } | 1063 } |
799 buildCounterBackendBucketList--; | 1064 buildCounterBackendBucketList--; |
800 } | 1065 } |
801 | 1066 |
802 buildUnnamed2113() { | 1067 buildUnnamed2204() { |
803 var o = new core.List<api.Backend>(); | 1068 var o = new core.List<api.Backend>(); |
804 o.add(buildBackend()); | 1069 o.add(buildBackend()); |
805 o.add(buildBackend()); | 1070 o.add(buildBackend()); |
806 return o; | 1071 return o; |
807 } | 1072 } |
808 | 1073 |
809 checkUnnamed2113(core.List<api.Backend> o) { | 1074 checkUnnamed2204(core.List<api.Backend> o) { |
810 unittest.expect(o, unittest.hasLength(2)); | 1075 unittest.expect(o, unittest.hasLength(2)); |
811 checkBackend(o[0]); | 1076 checkBackend(o[0]); |
812 checkBackend(o[1]); | 1077 checkBackend(o[1]); |
813 } | 1078 } |
814 | 1079 |
815 buildUnnamed2114() { | 1080 buildUnnamed2205() { |
816 var o = new core.List<core.String>(); | 1081 var o = new core.List<core.String>(); |
817 o.add("foo"); | 1082 o.add("foo"); |
818 o.add("foo"); | 1083 o.add("foo"); |
819 return o; | 1084 return o; |
820 } | 1085 } |
821 | 1086 |
822 checkUnnamed2114(core.List<core.String> o) { | 1087 checkUnnamed2205(core.List<core.String> o) { |
823 unittest.expect(o, unittest.hasLength(2)); | 1088 unittest.expect(o, unittest.hasLength(2)); |
824 unittest.expect(o[0], unittest.equals('foo')); | 1089 unittest.expect(o[0], unittest.equals('foo')); |
825 unittest.expect(o[1], unittest.equals('foo')); | 1090 unittest.expect(o[1], unittest.equals('foo')); |
826 } | 1091 } |
827 | 1092 |
828 core.int buildCounterBackendService = 0; | 1093 core.int buildCounterBackendService = 0; |
829 buildBackendService() { | 1094 buildBackendService() { |
830 var o = new api.BackendService(); | 1095 var o = new api.BackendService(); |
831 buildCounterBackendService++; | 1096 buildCounterBackendService++; |
832 if (buildCounterBackendService < 3) { | 1097 if (buildCounterBackendService < 3) { |
833 o.affinityCookieTtlSec = 42; | 1098 o.affinityCookieTtlSec = 42; |
834 o.backends = buildUnnamed2113(); | 1099 o.backends = buildUnnamed2204(); |
835 o.cdnPolicy = buildBackendServiceCdnPolicy(); | 1100 o.cdnPolicy = buildBackendServiceCdnPolicy(); |
836 o.connectionDraining = buildConnectionDraining(); | 1101 o.connectionDraining = buildConnectionDraining(); |
837 o.creationTimestamp = "foo"; | 1102 o.creationTimestamp = "foo"; |
838 o.description = "foo"; | 1103 o.description = "foo"; |
839 o.enableCDN = true; | 1104 o.enableCDN = true; |
840 o.fingerprint = "foo"; | 1105 o.fingerprint = "foo"; |
841 o.healthChecks = buildUnnamed2114(); | 1106 o.healthChecks = buildUnnamed2205(); |
842 o.iap = buildBackendServiceIAP(); | 1107 o.iap = buildBackendServiceIAP(); |
843 o.id = "foo"; | 1108 o.id = "foo"; |
844 o.kind = "foo"; | 1109 o.kind = "foo"; |
845 o.loadBalancingScheme = "foo"; | 1110 o.loadBalancingScheme = "foo"; |
846 o.name = "foo"; | 1111 o.name = "foo"; |
847 o.port = 42; | 1112 o.port = 42; |
848 o.portName = "foo"; | 1113 o.portName = "foo"; |
849 o.protocol = "foo"; | 1114 o.protocol = "foo"; |
850 o.region = "foo"; | 1115 o.region = "foo"; |
851 o.selfLink = "foo"; | 1116 o.selfLink = "foo"; |
852 o.sessionAffinity = "foo"; | 1117 o.sessionAffinity = "foo"; |
853 o.timeoutSec = 42; | 1118 o.timeoutSec = 42; |
854 } | 1119 } |
855 buildCounterBackendService--; | 1120 buildCounterBackendService--; |
856 return o; | 1121 return o; |
857 } | 1122 } |
858 | 1123 |
859 checkBackendService(api.BackendService o) { | 1124 checkBackendService(api.BackendService o) { |
860 buildCounterBackendService++; | 1125 buildCounterBackendService++; |
861 if (buildCounterBackendService < 3) { | 1126 if (buildCounterBackendService < 3) { |
862 unittest.expect(o.affinityCookieTtlSec, unittest.equals(42)); | 1127 unittest.expect(o.affinityCookieTtlSec, unittest.equals(42)); |
863 checkUnnamed2113(o.backends); | 1128 checkUnnamed2204(o.backends); |
864 checkBackendServiceCdnPolicy(o.cdnPolicy); | 1129 checkBackendServiceCdnPolicy(o.cdnPolicy); |
865 checkConnectionDraining(o.connectionDraining); | 1130 checkConnectionDraining(o.connectionDraining); |
866 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 1131 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
867 unittest.expect(o.description, unittest.equals('foo')); | 1132 unittest.expect(o.description, unittest.equals('foo')); |
868 unittest.expect(o.enableCDN, unittest.isTrue); | 1133 unittest.expect(o.enableCDN, unittest.isTrue); |
869 unittest.expect(o.fingerprint, unittest.equals('foo')); | 1134 unittest.expect(o.fingerprint, unittest.equals('foo')); |
870 checkUnnamed2114(o.healthChecks); | 1135 checkUnnamed2205(o.healthChecks); |
871 checkBackendServiceIAP(o.iap); | 1136 checkBackendServiceIAP(o.iap); |
872 unittest.expect(o.id, unittest.equals('foo')); | 1137 unittest.expect(o.id, unittest.equals('foo')); |
873 unittest.expect(o.kind, unittest.equals('foo')); | 1138 unittest.expect(o.kind, unittest.equals('foo')); |
874 unittest.expect(o.loadBalancingScheme, unittest.equals('foo')); | 1139 unittest.expect(o.loadBalancingScheme, unittest.equals('foo')); |
875 unittest.expect(o.name, unittest.equals('foo')); | 1140 unittest.expect(o.name, unittest.equals('foo')); |
876 unittest.expect(o.port, unittest.equals(42)); | 1141 unittest.expect(o.port, unittest.equals(42)); |
877 unittest.expect(o.portName, unittest.equals('foo')); | 1142 unittest.expect(o.portName, unittest.equals('foo')); |
878 unittest.expect(o.protocol, unittest.equals('foo')); | 1143 unittest.expect(o.protocol, unittest.equals('foo')); |
879 unittest.expect(o.region, unittest.equals('foo')); | 1144 unittest.expect(o.region, unittest.equals('foo')); |
880 unittest.expect(o.selfLink, unittest.equals('foo')); | 1145 unittest.expect(o.selfLink, unittest.equals('foo')); |
881 unittest.expect(o.sessionAffinity, unittest.equals('foo')); | 1146 unittest.expect(o.sessionAffinity, unittest.equals('foo')); |
882 unittest.expect(o.timeoutSec, unittest.equals(42)); | 1147 unittest.expect(o.timeoutSec, unittest.equals(42)); |
883 } | 1148 } |
884 buildCounterBackendService--; | 1149 buildCounterBackendService--; |
885 } | 1150 } |
886 | 1151 |
887 buildUnnamed2115() { | 1152 buildUnnamed2206() { |
888 var o = new core.Map<core.String, api.BackendServicesScopedList>(); | 1153 var o = new core.Map<core.String, api.BackendServicesScopedList>(); |
889 o["x"] = buildBackendServicesScopedList(); | 1154 o["x"] = buildBackendServicesScopedList(); |
890 o["y"] = buildBackendServicesScopedList(); | 1155 o["y"] = buildBackendServicesScopedList(); |
891 return o; | 1156 return o; |
892 } | 1157 } |
893 | 1158 |
894 checkUnnamed2115(core.Map<core.String, api.BackendServicesScopedList> o) { | 1159 checkUnnamed2206(core.Map<core.String, api.BackendServicesScopedList> o) { |
895 unittest.expect(o, unittest.hasLength(2)); | 1160 unittest.expect(o, unittest.hasLength(2)); |
896 checkBackendServicesScopedList(o["x"]); | 1161 checkBackendServicesScopedList(o["x"]); |
897 checkBackendServicesScopedList(o["y"]); | 1162 checkBackendServicesScopedList(o["y"]); |
898 } | 1163 } |
899 | 1164 |
900 core.int buildCounterBackendServiceAggregatedList = 0; | 1165 core.int buildCounterBackendServiceAggregatedList = 0; |
901 buildBackendServiceAggregatedList() { | 1166 buildBackendServiceAggregatedList() { |
902 var o = new api.BackendServiceAggregatedList(); | 1167 var o = new api.BackendServiceAggregatedList(); |
903 buildCounterBackendServiceAggregatedList++; | 1168 buildCounterBackendServiceAggregatedList++; |
904 if (buildCounterBackendServiceAggregatedList < 3) { | 1169 if (buildCounterBackendServiceAggregatedList < 3) { |
905 o.id = "foo"; | 1170 o.id = "foo"; |
906 o.items = buildUnnamed2115(); | 1171 o.items = buildUnnamed2206(); |
907 o.kind = "foo"; | 1172 o.kind = "foo"; |
908 o.nextPageToken = "foo"; | 1173 o.nextPageToken = "foo"; |
909 o.selfLink = "foo"; | 1174 o.selfLink = "foo"; |
910 } | 1175 } |
911 buildCounterBackendServiceAggregatedList--; | 1176 buildCounterBackendServiceAggregatedList--; |
912 return o; | 1177 return o; |
913 } | 1178 } |
914 | 1179 |
915 checkBackendServiceAggregatedList(api.BackendServiceAggregatedList o) { | 1180 checkBackendServiceAggregatedList(api.BackendServiceAggregatedList o) { |
916 buildCounterBackendServiceAggregatedList++; | 1181 buildCounterBackendServiceAggregatedList++; |
917 if (buildCounterBackendServiceAggregatedList < 3) { | 1182 if (buildCounterBackendServiceAggregatedList < 3) { |
918 unittest.expect(o.id, unittest.equals('foo')); | 1183 unittest.expect(o.id, unittest.equals('foo')); |
919 checkUnnamed2115(o.items); | 1184 checkUnnamed2206(o.items); |
920 unittest.expect(o.kind, unittest.equals('foo')); | 1185 unittest.expect(o.kind, unittest.equals('foo')); |
921 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1186 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
922 unittest.expect(o.selfLink, unittest.equals('foo')); | 1187 unittest.expect(o.selfLink, unittest.equals('foo')); |
923 } | 1188 } |
924 buildCounterBackendServiceAggregatedList--; | 1189 buildCounterBackendServiceAggregatedList--; |
925 } | 1190 } |
926 | 1191 |
927 core.int buildCounterBackendServiceCdnPolicy = 0; | 1192 core.int buildCounterBackendServiceCdnPolicy = 0; |
928 buildBackendServiceCdnPolicy() { | 1193 buildBackendServiceCdnPolicy() { |
929 var o = new api.BackendServiceCdnPolicy(); | 1194 var o = new api.BackendServiceCdnPolicy(); |
930 buildCounterBackendServiceCdnPolicy++; | 1195 buildCounterBackendServiceCdnPolicy++; |
931 if (buildCounterBackendServiceCdnPolicy < 3) { | 1196 if (buildCounterBackendServiceCdnPolicy < 3) { |
932 o.cacheKeyPolicy = buildCacheKeyPolicy(); | 1197 o.cacheKeyPolicy = buildCacheKeyPolicy(); |
933 } | 1198 } |
934 buildCounterBackendServiceCdnPolicy--; | 1199 buildCounterBackendServiceCdnPolicy--; |
935 return o; | 1200 return o; |
936 } | 1201 } |
937 | 1202 |
938 checkBackendServiceCdnPolicy(api.BackendServiceCdnPolicy o) { | 1203 checkBackendServiceCdnPolicy(api.BackendServiceCdnPolicy o) { |
939 buildCounterBackendServiceCdnPolicy++; | 1204 buildCounterBackendServiceCdnPolicy++; |
940 if (buildCounterBackendServiceCdnPolicy < 3) { | 1205 if (buildCounterBackendServiceCdnPolicy < 3) { |
941 checkCacheKeyPolicy(o.cacheKeyPolicy); | 1206 checkCacheKeyPolicy(o.cacheKeyPolicy); |
942 } | 1207 } |
943 buildCounterBackendServiceCdnPolicy--; | 1208 buildCounterBackendServiceCdnPolicy--; |
944 } | 1209 } |
945 | 1210 |
946 buildUnnamed2116() { | 1211 buildUnnamed2207() { |
947 var o = new core.List<api.HealthStatus>(); | 1212 var o = new core.List<api.HealthStatus>(); |
948 o.add(buildHealthStatus()); | 1213 o.add(buildHealthStatus()); |
949 o.add(buildHealthStatus()); | 1214 o.add(buildHealthStatus()); |
950 return o; | 1215 return o; |
951 } | 1216 } |
952 | 1217 |
953 checkUnnamed2116(core.List<api.HealthStatus> o) { | 1218 checkUnnamed2207(core.List<api.HealthStatus> o) { |
954 unittest.expect(o, unittest.hasLength(2)); | 1219 unittest.expect(o, unittest.hasLength(2)); |
955 checkHealthStatus(o[0]); | 1220 checkHealthStatus(o[0]); |
956 checkHealthStatus(o[1]); | 1221 checkHealthStatus(o[1]); |
957 } | 1222 } |
958 | 1223 |
959 core.int buildCounterBackendServiceGroupHealth = 0; | 1224 core.int buildCounterBackendServiceGroupHealth = 0; |
960 buildBackendServiceGroupHealth() { | 1225 buildBackendServiceGroupHealth() { |
961 var o = new api.BackendServiceGroupHealth(); | 1226 var o = new api.BackendServiceGroupHealth(); |
962 buildCounterBackendServiceGroupHealth++; | 1227 buildCounterBackendServiceGroupHealth++; |
963 if (buildCounterBackendServiceGroupHealth < 3) { | 1228 if (buildCounterBackendServiceGroupHealth < 3) { |
964 o.healthStatus = buildUnnamed2116(); | 1229 o.healthStatus = buildUnnamed2207(); |
965 o.kind = "foo"; | 1230 o.kind = "foo"; |
966 } | 1231 } |
967 buildCounterBackendServiceGroupHealth--; | 1232 buildCounterBackendServiceGroupHealth--; |
968 return o; | 1233 return o; |
969 } | 1234 } |
970 | 1235 |
971 checkBackendServiceGroupHealth(api.BackendServiceGroupHealth o) { | 1236 checkBackendServiceGroupHealth(api.BackendServiceGroupHealth o) { |
972 buildCounterBackendServiceGroupHealth++; | 1237 buildCounterBackendServiceGroupHealth++; |
973 if (buildCounterBackendServiceGroupHealth < 3) { | 1238 if (buildCounterBackendServiceGroupHealth < 3) { |
974 checkUnnamed2116(o.healthStatus); | 1239 checkUnnamed2207(o.healthStatus); |
975 unittest.expect(o.kind, unittest.equals('foo')); | 1240 unittest.expect(o.kind, unittest.equals('foo')); |
976 } | 1241 } |
977 buildCounterBackendServiceGroupHealth--; | 1242 buildCounterBackendServiceGroupHealth--; |
978 } | 1243 } |
979 | 1244 |
980 core.int buildCounterBackendServiceIAP = 0; | 1245 core.int buildCounterBackendServiceIAP = 0; |
981 buildBackendServiceIAP() { | 1246 buildBackendServiceIAP() { |
982 var o = new api.BackendServiceIAP(); | 1247 var o = new api.BackendServiceIAP(); |
983 buildCounterBackendServiceIAP++; | 1248 buildCounterBackendServiceIAP++; |
984 if (buildCounterBackendServiceIAP < 3) { | 1249 if (buildCounterBackendServiceIAP < 3) { |
(...skipping 10 matching lines...) Expand all Loading... |
995 buildCounterBackendServiceIAP++; | 1260 buildCounterBackendServiceIAP++; |
996 if (buildCounterBackendServiceIAP < 3) { | 1261 if (buildCounterBackendServiceIAP < 3) { |
997 unittest.expect(o.enabled, unittest.isTrue); | 1262 unittest.expect(o.enabled, unittest.isTrue); |
998 unittest.expect(o.oauth2ClientId, unittest.equals('foo')); | 1263 unittest.expect(o.oauth2ClientId, unittest.equals('foo')); |
999 unittest.expect(o.oauth2ClientSecret, unittest.equals('foo')); | 1264 unittest.expect(o.oauth2ClientSecret, unittest.equals('foo')); |
1000 unittest.expect(o.oauth2ClientSecretSha256, unittest.equals('foo')); | 1265 unittest.expect(o.oauth2ClientSecretSha256, unittest.equals('foo')); |
1001 } | 1266 } |
1002 buildCounterBackendServiceIAP--; | 1267 buildCounterBackendServiceIAP--; |
1003 } | 1268 } |
1004 | 1269 |
1005 buildUnnamed2117() { | 1270 buildUnnamed2208() { |
1006 var o = new core.List<api.BackendService>(); | 1271 var o = new core.List<api.BackendService>(); |
1007 o.add(buildBackendService()); | 1272 o.add(buildBackendService()); |
1008 o.add(buildBackendService()); | 1273 o.add(buildBackendService()); |
1009 return o; | 1274 return o; |
1010 } | 1275 } |
1011 | 1276 |
1012 checkUnnamed2117(core.List<api.BackendService> o) { | 1277 checkUnnamed2208(core.List<api.BackendService> o) { |
1013 unittest.expect(o, unittest.hasLength(2)); | 1278 unittest.expect(o, unittest.hasLength(2)); |
1014 checkBackendService(o[0]); | 1279 checkBackendService(o[0]); |
1015 checkBackendService(o[1]); | 1280 checkBackendService(o[1]); |
1016 } | 1281 } |
1017 | 1282 |
1018 core.int buildCounterBackendServiceList = 0; | 1283 core.int buildCounterBackendServiceList = 0; |
1019 buildBackendServiceList() { | 1284 buildBackendServiceList() { |
1020 var o = new api.BackendServiceList(); | 1285 var o = new api.BackendServiceList(); |
1021 buildCounterBackendServiceList++; | 1286 buildCounterBackendServiceList++; |
1022 if (buildCounterBackendServiceList < 3) { | 1287 if (buildCounterBackendServiceList < 3) { |
1023 o.id = "foo"; | 1288 o.id = "foo"; |
1024 o.items = buildUnnamed2117(); | 1289 o.items = buildUnnamed2208(); |
1025 o.kind = "foo"; | 1290 o.kind = "foo"; |
1026 o.nextPageToken = "foo"; | 1291 o.nextPageToken = "foo"; |
1027 o.selfLink = "foo"; | 1292 o.selfLink = "foo"; |
1028 } | 1293 } |
1029 buildCounterBackendServiceList--; | 1294 buildCounterBackendServiceList--; |
1030 return o; | 1295 return o; |
1031 } | 1296 } |
1032 | 1297 |
1033 checkBackendServiceList(api.BackendServiceList o) { | 1298 checkBackendServiceList(api.BackendServiceList o) { |
1034 buildCounterBackendServiceList++; | 1299 buildCounterBackendServiceList++; |
1035 if (buildCounterBackendServiceList < 3) { | 1300 if (buildCounterBackendServiceList < 3) { |
1036 unittest.expect(o.id, unittest.equals('foo')); | 1301 unittest.expect(o.id, unittest.equals('foo')); |
1037 checkUnnamed2117(o.items); | 1302 checkUnnamed2208(o.items); |
1038 unittest.expect(o.kind, unittest.equals('foo')); | 1303 unittest.expect(o.kind, unittest.equals('foo')); |
1039 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1304 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1040 unittest.expect(o.selfLink, unittest.equals('foo')); | 1305 unittest.expect(o.selfLink, unittest.equals('foo')); |
1041 } | 1306 } |
1042 buildCounterBackendServiceList--; | 1307 buildCounterBackendServiceList--; |
1043 } | 1308 } |
1044 | 1309 |
1045 buildUnnamed2118() { | 1310 buildUnnamed2209() { |
1046 var o = new core.List<api.BackendService>(); | 1311 var o = new core.List<api.BackendService>(); |
1047 o.add(buildBackendService()); | 1312 o.add(buildBackendService()); |
1048 o.add(buildBackendService()); | 1313 o.add(buildBackendService()); |
1049 return o; | 1314 return o; |
1050 } | 1315 } |
1051 | 1316 |
1052 checkUnnamed2118(core.List<api.BackendService> o) { | 1317 checkUnnamed2209(core.List<api.BackendService> o) { |
1053 unittest.expect(o, unittest.hasLength(2)); | 1318 unittest.expect(o, unittest.hasLength(2)); |
1054 checkBackendService(o[0]); | 1319 checkBackendService(o[0]); |
1055 checkBackendService(o[1]); | 1320 checkBackendService(o[1]); |
1056 } | 1321 } |
1057 | 1322 |
1058 core.int buildCounterBackendServicesScopedListWarningData = 0; | 1323 core.int buildCounterBackendServicesScopedListWarningData = 0; |
1059 buildBackendServicesScopedListWarningData() { | 1324 buildBackendServicesScopedListWarningData() { |
1060 var o = new api.BackendServicesScopedListWarningData(); | 1325 var o = new api.BackendServicesScopedListWarningData(); |
1061 buildCounterBackendServicesScopedListWarningData++; | 1326 buildCounterBackendServicesScopedListWarningData++; |
1062 if (buildCounterBackendServicesScopedListWarningData < 3) { | 1327 if (buildCounterBackendServicesScopedListWarningData < 3) { |
1063 o.key = "foo"; | 1328 o.key = "foo"; |
1064 o.value = "foo"; | 1329 o.value = "foo"; |
1065 } | 1330 } |
1066 buildCounterBackendServicesScopedListWarningData--; | 1331 buildCounterBackendServicesScopedListWarningData--; |
1067 return o; | 1332 return o; |
1068 } | 1333 } |
1069 | 1334 |
1070 checkBackendServicesScopedListWarningData(api.BackendServicesScopedListWarningDa
ta o) { | 1335 checkBackendServicesScopedListWarningData(api.BackendServicesScopedListWarningDa
ta o) { |
1071 buildCounterBackendServicesScopedListWarningData++; | 1336 buildCounterBackendServicesScopedListWarningData++; |
1072 if (buildCounterBackendServicesScopedListWarningData < 3) { | 1337 if (buildCounterBackendServicesScopedListWarningData < 3) { |
1073 unittest.expect(o.key, unittest.equals('foo')); | 1338 unittest.expect(o.key, unittest.equals('foo')); |
1074 unittest.expect(o.value, unittest.equals('foo')); | 1339 unittest.expect(o.value, unittest.equals('foo')); |
1075 } | 1340 } |
1076 buildCounterBackendServicesScopedListWarningData--; | 1341 buildCounterBackendServicesScopedListWarningData--; |
1077 } | 1342 } |
1078 | 1343 |
1079 buildUnnamed2119() { | 1344 buildUnnamed2210() { |
1080 var o = new core.List<api.BackendServicesScopedListWarningData>(); | 1345 var o = new core.List<api.BackendServicesScopedListWarningData>(); |
1081 o.add(buildBackendServicesScopedListWarningData()); | 1346 o.add(buildBackendServicesScopedListWarningData()); |
1082 o.add(buildBackendServicesScopedListWarningData()); | 1347 o.add(buildBackendServicesScopedListWarningData()); |
1083 return o; | 1348 return o; |
1084 } | 1349 } |
1085 | 1350 |
1086 checkUnnamed2119(core.List<api.BackendServicesScopedListWarningData> o) { | 1351 checkUnnamed2210(core.List<api.BackendServicesScopedListWarningData> o) { |
1087 unittest.expect(o, unittest.hasLength(2)); | 1352 unittest.expect(o, unittest.hasLength(2)); |
1088 checkBackendServicesScopedListWarningData(o[0]); | 1353 checkBackendServicesScopedListWarningData(o[0]); |
1089 checkBackendServicesScopedListWarningData(o[1]); | 1354 checkBackendServicesScopedListWarningData(o[1]); |
1090 } | 1355 } |
1091 | 1356 |
1092 core.int buildCounterBackendServicesScopedListWarning = 0; | 1357 core.int buildCounterBackendServicesScopedListWarning = 0; |
1093 buildBackendServicesScopedListWarning() { | 1358 buildBackendServicesScopedListWarning() { |
1094 var o = new api.BackendServicesScopedListWarning(); | 1359 var o = new api.BackendServicesScopedListWarning(); |
1095 buildCounterBackendServicesScopedListWarning++; | 1360 buildCounterBackendServicesScopedListWarning++; |
1096 if (buildCounterBackendServicesScopedListWarning < 3) { | 1361 if (buildCounterBackendServicesScopedListWarning < 3) { |
1097 o.code = "foo"; | 1362 o.code = "foo"; |
1098 o.data = buildUnnamed2119(); | 1363 o.data = buildUnnamed2210(); |
1099 o.message = "foo"; | 1364 o.message = "foo"; |
1100 } | 1365 } |
1101 buildCounterBackendServicesScopedListWarning--; | 1366 buildCounterBackendServicesScopedListWarning--; |
1102 return o; | 1367 return o; |
1103 } | 1368 } |
1104 | 1369 |
1105 checkBackendServicesScopedListWarning(api.BackendServicesScopedListWarning o) { | 1370 checkBackendServicesScopedListWarning(api.BackendServicesScopedListWarning o) { |
1106 buildCounterBackendServicesScopedListWarning++; | 1371 buildCounterBackendServicesScopedListWarning++; |
1107 if (buildCounterBackendServicesScopedListWarning < 3) { | 1372 if (buildCounterBackendServicesScopedListWarning < 3) { |
1108 unittest.expect(o.code, unittest.equals('foo')); | 1373 unittest.expect(o.code, unittest.equals('foo')); |
1109 checkUnnamed2119(o.data); | 1374 checkUnnamed2210(o.data); |
1110 unittest.expect(o.message, unittest.equals('foo')); | 1375 unittest.expect(o.message, unittest.equals('foo')); |
1111 } | 1376 } |
1112 buildCounterBackendServicesScopedListWarning--; | 1377 buildCounterBackendServicesScopedListWarning--; |
1113 } | 1378 } |
1114 | 1379 |
1115 core.int buildCounterBackendServicesScopedList = 0; | 1380 core.int buildCounterBackendServicesScopedList = 0; |
1116 buildBackendServicesScopedList() { | 1381 buildBackendServicesScopedList() { |
1117 var o = new api.BackendServicesScopedList(); | 1382 var o = new api.BackendServicesScopedList(); |
1118 buildCounterBackendServicesScopedList++; | 1383 buildCounterBackendServicesScopedList++; |
1119 if (buildCounterBackendServicesScopedList < 3) { | 1384 if (buildCounterBackendServicesScopedList < 3) { |
1120 o.backendServices = buildUnnamed2118(); | 1385 o.backendServices = buildUnnamed2209(); |
1121 o.warning = buildBackendServicesScopedListWarning(); | 1386 o.warning = buildBackendServicesScopedListWarning(); |
1122 } | 1387 } |
1123 buildCounterBackendServicesScopedList--; | 1388 buildCounterBackendServicesScopedList--; |
1124 return o; | 1389 return o; |
1125 } | 1390 } |
1126 | 1391 |
1127 checkBackendServicesScopedList(api.BackendServicesScopedList o) { | 1392 checkBackendServicesScopedList(api.BackendServicesScopedList o) { |
1128 buildCounterBackendServicesScopedList++; | 1393 buildCounterBackendServicesScopedList++; |
1129 if (buildCounterBackendServicesScopedList < 3) { | 1394 if (buildCounterBackendServicesScopedList < 3) { |
1130 checkUnnamed2118(o.backendServices); | 1395 checkUnnamed2209(o.backendServices); |
1131 checkBackendServicesScopedListWarning(o.warning); | 1396 checkBackendServicesScopedListWarning(o.warning); |
1132 } | 1397 } |
1133 buildCounterBackendServicesScopedList--; | 1398 buildCounterBackendServicesScopedList--; |
1134 } | 1399 } |
1135 | 1400 |
1136 core.int buildCounterCacheInvalidationRule = 0; | 1401 core.int buildCounterCacheInvalidationRule = 0; |
1137 buildCacheInvalidationRule() { | 1402 buildCacheInvalidationRule() { |
1138 var o = new api.CacheInvalidationRule(); | 1403 var o = new api.CacheInvalidationRule(); |
1139 buildCounterCacheInvalidationRule++; | 1404 buildCounterCacheInvalidationRule++; |
1140 if (buildCounterCacheInvalidationRule < 3) { | 1405 if (buildCounterCacheInvalidationRule < 3) { |
1141 o.host = "foo"; | 1406 o.host = "foo"; |
1142 o.path = "foo"; | 1407 o.path = "foo"; |
1143 } | 1408 } |
1144 buildCounterCacheInvalidationRule--; | 1409 buildCounterCacheInvalidationRule--; |
1145 return o; | 1410 return o; |
1146 } | 1411 } |
1147 | 1412 |
1148 checkCacheInvalidationRule(api.CacheInvalidationRule o) { | 1413 checkCacheInvalidationRule(api.CacheInvalidationRule o) { |
1149 buildCounterCacheInvalidationRule++; | 1414 buildCounterCacheInvalidationRule++; |
1150 if (buildCounterCacheInvalidationRule < 3) { | 1415 if (buildCounterCacheInvalidationRule < 3) { |
1151 unittest.expect(o.host, unittest.equals('foo')); | 1416 unittest.expect(o.host, unittest.equals('foo')); |
1152 unittest.expect(o.path, unittest.equals('foo')); | 1417 unittest.expect(o.path, unittest.equals('foo')); |
1153 } | 1418 } |
1154 buildCounterCacheInvalidationRule--; | 1419 buildCounterCacheInvalidationRule--; |
1155 } | 1420 } |
1156 | 1421 |
1157 buildUnnamed2120() { | 1422 buildUnnamed2211() { |
1158 var o = new core.List<core.String>(); | 1423 var o = new core.List<core.String>(); |
1159 o.add("foo"); | 1424 o.add("foo"); |
1160 o.add("foo"); | 1425 o.add("foo"); |
1161 return o; | 1426 return o; |
1162 } | 1427 } |
1163 | 1428 |
1164 checkUnnamed2120(core.List<core.String> o) { | 1429 checkUnnamed2211(core.List<core.String> o) { |
1165 unittest.expect(o, unittest.hasLength(2)); | 1430 unittest.expect(o, unittest.hasLength(2)); |
1166 unittest.expect(o[0], unittest.equals('foo')); | 1431 unittest.expect(o[0], unittest.equals('foo')); |
1167 unittest.expect(o[1], unittest.equals('foo')); | 1432 unittest.expect(o[1], unittest.equals('foo')); |
1168 } | 1433 } |
1169 | 1434 |
1170 buildUnnamed2121() { | 1435 buildUnnamed2212() { |
1171 var o = new core.List<core.String>(); | 1436 var o = new core.List<core.String>(); |
1172 o.add("foo"); | 1437 o.add("foo"); |
1173 o.add("foo"); | 1438 o.add("foo"); |
1174 return o; | 1439 return o; |
1175 } | 1440 } |
1176 | 1441 |
1177 checkUnnamed2121(core.List<core.String> o) { | 1442 checkUnnamed2212(core.List<core.String> o) { |
1178 unittest.expect(o, unittest.hasLength(2)); | 1443 unittest.expect(o, unittest.hasLength(2)); |
1179 unittest.expect(o[0], unittest.equals('foo')); | 1444 unittest.expect(o[0], unittest.equals('foo')); |
1180 unittest.expect(o[1], unittest.equals('foo')); | 1445 unittest.expect(o[1], unittest.equals('foo')); |
1181 } | 1446 } |
1182 | 1447 |
1183 core.int buildCounterCacheKeyPolicy = 0; | 1448 core.int buildCounterCacheKeyPolicy = 0; |
1184 buildCacheKeyPolicy() { | 1449 buildCacheKeyPolicy() { |
1185 var o = new api.CacheKeyPolicy(); | 1450 var o = new api.CacheKeyPolicy(); |
1186 buildCounterCacheKeyPolicy++; | 1451 buildCounterCacheKeyPolicy++; |
1187 if (buildCounterCacheKeyPolicy < 3) { | 1452 if (buildCounterCacheKeyPolicy < 3) { |
1188 o.includeHost = true; | 1453 o.includeHost = true; |
1189 o.includeProtocol = true; | 1454 o.includeProtocol = true; |
1190 o.includeQueryString = true; | 1455 o.includeQueryString = true; |
1191 o.queryStringBlacklist = buildUnnamed2120(); | 1456 o.queryStringBlacklist = buildUnnamed2211(); |
1192 o.queryStringWhitelist = buildUnnamed2121(); | 1457 o.queryStringWhitelist = buildUnnamed2212(); |
1193 } | 1458 } |
1194 buildCounterCacheKeyPolicy--; | 1459 buildCounterCacheKeyPolicy--; |
1195 return o; | 1460 return o; |
1196 } | 1461 } |
1197 | 1462 |
1198 checkCacheKeyPolicy(api.CacheKeyPolicy o) { | 1463 checkCacheKeyPolicy(api.CacheKeyPolicy o) { |
1199 buildCounterCacheKeyPolicy++; | 1464 buildCounterCacheKeyPolicy++; |
1200 if (buildCounterCacheKeyPolicy < 3) { | 1465 if (buildCounterCacheKeyPolicy < 3) { |
1201 unittest.expect(o.includeHost, unittest.isTrue); | 1466 unittest.expect(o.includeHost, unittest.isTrue); |
1202 unittest.expect(o.includeProtocol, unittest.isTrue); | 1467 unittest.expect(o.includeProtocol, unittest.isTrue); |
1203 unittest.expect(o.includeQueryString, unittest.isTrue); | 1468 unittest.expect(o.includeQueryString, unittest.isTrue); |
1204 checkUnnamed2120(o.queryStringBlacklist); | 1469 checkUnnamed2211(o.queryStringBlacklist); |
1205 checkUnnamed2121(o.queryStringWhitelist); | 1470 checkUnnamed2212(o.queryStringWhitelist); |
1206 } | 1471 } |
1207 buildCounterCacheKeyPolicy--; | 1472 buildCounterCacheKeyPolicy--; |
1208 } | 1473 } |
1209 | 1474 |
| 1475 buildUnnamed2213() { |
| 1476 var o = new core.List<api.ResourceCommitment>(); |
| 1477 o.add(buildResourceCommitment()); |
| 1478 o.add(buildResourceCommitment()); |
| 1479 return o; |
| 1480 } |
| 1481 |
| 1482 checkUnnamed2213(core.List<api.ResourceCommitment> o) { |
| 1483 unittest.expect(o, unittest.hasLength(2)); |
| 1484 checkResourceCommitment(o[0]); |
| 1485 checkResourceCommitment(o[1]); |
| 1486 } |
| 1487 |
| 1488 core.int buildCounterCommitment = 0; |
| 1489 buildCommitment() { |
| 1490 var o = new api.Commitment(); |
| 1491 buildCounterCommitment++; |
| 1492 if (buildCounterCommitment < 3) { |
| 1493 o.creationTimestamp = "foo"; |
| 1494 o.description = "foo"; |
| 1495 o.endTimestamp = "foo"; |
| 1496 o.id = "foo"; |
| 1497 o.kind = "foo"; |
| 1498 o.name = "foo"; |
| 1499 o.plan = "foo"; |
| 1500 o.region = "foo"; |
| 1501 o.resources = buildUnnamed2213(); |
| 1502 o.selfLink = "foo"; |
| 1503 o.startTimestamp = "foo"; |
| 1504 o.status = "foo"; |
| 1505 o.statusMessage = "foo"; |
| 1506 } |
| 1507 buildCounterCommitment--; |
| 1508 return o; |
| 1509 } |
| 1510 |
| 1511 checkCommitment(api.Commitment o) { |
| 1512 buildCounterCommitment++; |
| 1513 if (buildCounterCommitment < 3) { |
| 1514 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 1515 unittest.expect(o.description, unittest.equals('foo')); |
| 1516 unittest.expect(o.endTimestamp, unittest.equals('foo')); |
| 1517 unittest.expect(o.id, unittest.equals('foo')); |
| 1518 unittest.expect(o.kind, unittest.equals('foo')); |
| 1519 unittest.expect(o.name, unittest.equals('foo')); |
| 1520 unittest.expect(o.plan, unittest.equals('foo')); |
| 1521 unittest.expect(o.region, unittest.equals('foo')); |
| 1522 checkUnnamed2213(o.resources); |
| 1523 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1524 unittest.expect(o.startTimestamp, unittest.equals('foo')); |
| 1525 unittest.expect(o.status, unittest.equals('foo')); |
| 1526 unittest.expect(o.statusMessage, unittest.equals('foo')); |
| 1527 } |
| 1528 buildCounterCommitment--; |
| 1529 } |
| 1530 |
| 1531 buildUnnamed2214() { |
| 1532 var o = new core.Map<core.String, api.CommitmentsScopedList>(); |
| 1533 o["x"] = buildCommitmentsScopedList(); |
| 1534 o["y"] = buildCommitmentsScopedList(); |
| 1535 return o; |
| 1536 } |
| 1537 |
| 1538 checkUnnamed2214(core.Map<core.String, api.CommitmentsScopedList> o) { |
| 1539 unittest.expect(o, unittest.hasLength(2)); |
| 1540 checkCommitmentsScopedList(o["x"]); |
| 1541 checkCommitmentsScopedList(o["y"]); |
| 1542 } |
| 1543 |
| 1544 core.int buildCounterCommitmentAggregatedList = 0; |
| 1545 buildCommitmentAggregatedList() { |
| 1546 var o = new api.CommitmentAggregatedList(); |
| 1547 buildCounterCommitmentAggregatedList++; |
| 1548 if (buildCounterCommitmentAggregatedList < 3) { |
| 1549 o.id = "foo"; |
| 1550 o.items = buildUnnamed2214(); |
| 1551 o.kind = "foo"; |
| 1552 o.nextPageToken = "foo"; |
| 1553 o.selfLink = "foo"; |
| 1554 } |
| 1555 buildCounterCommitmentAggregatedList--; |
| 1556 return o; |
| 1557 } |
| 1558 |
| 1559 checkCommitmentAggregatedList(api.CommitmentAggregatedList o) { |
| 1560 buildCounterCommitmentAggregatedList++; |
| 1561 if (buildCounterCommitmentAggregatedList < 3) { |
| 1562 unittest.expect(o.id, unittest.equals('foo')); |
| 1563 checkUnnamed2214(o.items); |
| 1564 unittest.expect(o.kind, unittest.equals('foo')); |
| 1565 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1566 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1567 } |
| 1568 buildCounterCommitmentAggregatedList--; |
| 1569 } |
| 1570 |
| 1571 buildUnnamed2215() { |
| 1572 var o = new core.List<api.Commitment>(); |
| 1573 o.add(buildCommitment()); |
| 1574 o.add(buildCommitment()); |
| 1575 return o; |
| 1576 } |
| 1577 |
| 1578 checkUnnamed2215(core.List<api.Commitment> o) { |
| 1579 unittest.expect(o, unittest.hasLength(2)); |
| 1580 checkCommitment(o[0]); |
| 1581 checkCommitment(o[1]); |
| 1582 } |
| 1583 |
| 1584 core.int buildCounterCommitmentList = 0; |
| 1585 buildCommitmentList() { |
| 1586 var o = new api.CommitmentList(); |
| 1587 buildCounterCommitmentList++; |
| 1588 if (buildCounterCommitmentList < 3) { |
| 1589 o.id = "foo"; |
| 1590 o.items = buildUnnamed2215(); |
| 1591 o.kind = "foo"; |
| 1592 o.nextPageToken = "foo"; |
| 1593 o.selfLink = "foo"; |
| 1594 } |
| 1595 buildCounterCommitmentList--; |
| 1596 return o; |
| 1597 } |
| 1598 |
| 1599 checkCommitmentList(api.CommitmentList o) { |
| 1600 buildCounterCommitmentList++; |
| 1601 if (buildCounterCommitmentList < 3) { |
| 1602 unittest.expect(o.id, unittest.equals('foo')); |
| 1603 checkUnnamed2215(o.items); |
| 1604 unittest.expect(o.kind, unittest.equals('foo')); |
| 1605 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1606 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1607 } |
| 1608 buildCounterCommitmentList--; |
| 1609 } |
| 1610 |
| 1611 buildUnnamed2216() { |
| 1612 var o = new core.List<api.Commitment>(); |
| 1613 o.add(buildCommitment()); |
| 1614 o.add(buildCommitment()); |
| 1615 return o; |
| 1616 } |
| 1617 |
| 1618 checkUnnamed2216(core.List<api.Commitment> o) { |
| 1619 unittest.expect(o, unittest.hasLength(2)); |
| 1620 checkCommitment(o[0]); |
| 1621 checkCommitment(o[1]); |
| 1622 } |
| 1623 |
| 1624 core.int buildCounterCommitmentsScopedListWarningData = 0; |
| 1625 buildCommitmentsScopedListWarningData() { |
| 1626 var o = new api.CommitmentsScopedListWarningData(); |
| 1627 buildCounterCommitmentsScopedListWarningData++; |
| 1628 if (buildCounterCommitmentsScopedListWarningData < 3) { |
| 1629 o.key = "foo"; |
| 1630 o.value = "foo"; |
| 1631 } |
| 1632 buildCounterCommitmentsScopedListWarningData--; |
| 1633 return o; |
| 1634 } |
| 1635 |
| 1636 checkCommitmentsScopedListWarningData(api.CommitmentsScopedListWarningData o) { |
| 1637 buildCounterCommitmentsScopedListWarningData++; |
| 1638 if (buildCounterCommitmentsScopedListWarningData < 3) { |
| 1639 unittest.expect(o.key, unittest.equals('foo')); |
| 1640 unittest.expect(o.value, unittest.equals('foo')); |
| 1641 } |
| 1642 buildCounterCommitmentsScopedListWarningData--; |
| 1643 } |
| 1644 |
| 1645 buildUnnamed2217() { |
| 1646 var o = new core.List<api.CommitmentsScopedListWarningData>(); |
| 1647 o.add(buildCommitmentsScopedListWarningData()); |
| 1648 o.add(buildCommitmentsScopedListWarningData()); |
| 1649 return o; |
| 1650 } |
| 1651 |
| 1652 checkUnnamed2217(core.List<api.CommitmentsScopedListWarningData> o) { |
| 1653 unittest.expect(o, unittest.hasLength(2)); |
| 1654 checkCommitmentsScopedListWarningData(o[0]); |
| 1655 checkCommitmentsScopedListWarningData(o[1]); |
| 1656 } |
| 1657 |
| 1658 core.int buildCounterCommitmentsScopedListWarning = 0; |
| 1659 buildCommitmentsScopedListWarning() { |
| 1660 var o = new api.CommitmentsScopedListWarning(); |
| 1661 buildCounterCommitmentsScopedListWarning++; |
| 1662 if (buildCounterCommitmentsScopedListWarning < 3) { |
| 1663 o.code = "foo"; |
| 1664 o.data = buildUnnamed2217(); |
| 1665 o.message = "foo"; |
| 1666 } |
| 1667 buildCounterCommitmentsScopedListWarning--; |
| 1668 return o; |
| 1669 } |
| 1670 |
| 1671 checkCommitmentsScopedListWarning(api.CommitmentsScopedListWarning o) { |
| 1672 buildCounterCommitmentsScopedListWarning++; |
| 1673 if (buildCounterCommitmentsScopedListWarning < 3) { |
| 1674 unittest.expect(o.code, unittest.equals('foo')); |
| 1675 checkUnnamed2217(o.data); |
| 1676 unittest.expect(o.message, unittest.equals('foo')); |
| 1677 } |
| 1678 buildCounterCommitmentsScopedListWarning--; |
| 1679 } |
| 1680 |
| 1681 core.int buildCounterCommitmentsScopedList = 0; |
| 1682 buildCommitmentsScopedList() { |
| 1683 var o = new api.CommitmentsScopedList(); |
| 1684 buildCounterCommitmentsScopedList++; |
| 1685 if (buildCounterCommitmentsScopedList < 3) { |
| 1686 o.commitments = buildUnnamed2216(); |
| 1687 o.warning = buildCommitmentsScopedListWarning(); |
| 1688 } |
| 1689 buildCounterCommitmentsScopedList--; |
| 1690 return o; |
| 1691 } |
| 1692 |
| 1693 checkCommitmentsScopedList(api.CommitmentsScopedList o) { |
| 1694 buildCounterCommitmentsScopedList++; |
| 1695 if (buildCounterCommitmentsScopedList < 3) { |
| 1696 checkUnnamed2216(o.commitments); |
| 1697 checkCommitmentsScopedListWarning(o.warning); |
| 1698 } |
| 1699 buildCounterCommitmentsScopedList--; |
| 1700 } |
| 1701 |
1210 core.int buildCounterConnectionDraining = 0; | 1702 core.int buildCounterConnectionDraining = 0; |
1211 buildConnectionDraining() { | 1703 buildConnectionDraining() { |
1212 var o = new api.ConnectionDraining(); | 1704 var o = new api.ConnectionDraining(); |
1213 buildCounterConnectionDraining++; | 1705 buildCounterConnectionDraining++; |
1214 if (buildCounterConnectionDraining < 3) { | 1706 if (buildCounterConnectionDraining < 3) { |
1215 o.drainingTimeoutSec = 42; | 1707 o.drainingTimeoutSec = 42; |
1216 } | 1708 } |
1217 buildCounterConnectionDraining--; | 1709 buildCounterConnectionDraining--; |
1218 return o; | 1710 return o; |
1219 } | 1711 } |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1288 if (buildCounterDeprecationStatus < 3) { | 1780 if (buildCounterDeprecationStatus < 3) { |
1289 unittest.expect(o.deleted, unittest.equals('foo')); | 1781 unittest.expect(o.deleted, unittest.equals('foo')); |
1290 unittest.expect(o.deprecated, unittest.equals('foo')); | 1782 unittest.expect(o.deprecated, unittest.equals('foo')); |
1291 unittest.expect(o.obsolete, unittest.equals('foo')); | 1783 unittest.expect(o.obsolete, unittest.equals('foo')); |
1292 unittest.expect(o.replacement, unittest.equals('foo')); | 1784 unittest.expect(o.replacement, unittest.equals('foo')); |
1293 unittest.expect(o.state, unittest.equals('foo')); | 1785 unittest.expect(o.state, unittest.equals('foo')); |
1294 } | 1786 } |
1295 buildCounterDeprecationStatus--; | 1787 buildCounterDeprecationStatus--; |
1296 } | 1788 } |
1297 | 1789 |
1298 buildUnnamed2122() { | 1790 buildUnnamed2218() { |
1299 var o = new core.Map<core.String, core.String>(); | 1791 var o = new core.Map<core.String, core.String>(); |
1300 o["x"] = "foo"; | 1792 o["x"] = "foo"; |
1301 o["y"] = "foo"; | 1793 o["y"] = "foo"; |
1302 return o; | 1794 return o; |
1303 } | 1795 } |
1304 | 1796 |
1305 checkUnnamed2122(core.Map<core.String, core.String> o) { | 1797 checkUnnamed2218(core.Map<core.String, core.String> o) { |
1306 unittest.expect(o, unittest.hasLength(2)); | 1798 unittest.expect(o, unittest.hasLength(2)); |
1307 unittest.expect(o["x"], unittest.equals('foo')); | 1799 unittest.expect(o["x"], unittest.equals('foo')); |
1308 unittest.expect(o["y"], unittest.equals('foo')); | 1800 unittest.expect(o["y"], unittest.equals('foo')); |
1309 } | 1801 } |
1310 | 1802 |
1311 buildUnnamed2123() { | 1803 buildUnnamed2219() { |
1312 var o = new core.List<core.String>(); | 1804 var o = new core.List<core.String>(); |
1313 o.add("foo"); | 1805 o.add("foo"); |
1314 o.add("foo"); | 1806 o.add("foo"); |
1315 return o; | 1807 return o; |
1316 } | 1808 } |
1317 | 1809 |
1318 checkUnnamed2123(core.List<core.String> o) { | 1810 checkUnnamed2219(core.List<core.String> o) { |
1319 unittest.expect(o, unittest.hasLength(2)); | 1811 unittest.expect(o, unittest.hasLength(2)); |
1320 unittest.expect(o[0], unittest.equals('foo')); | 1812 unittest.expect(o[0], unittest.equals('foo')); |
1321 unittest.expect(o[1], unittest.equals('foo')); | 1813 unittest.expect(o[1], unittest.equals('foo')); |
1322 } | 1814 } |
1323 | 1815 |
1324 buildUnnamed2124() { | 1816 buildUnnamed2220() { |
1325 var o = new core.List<core.String>(); | 1817 var o = new core.List<core.String>(); |
1326 o.add("foo"); | 1818 o.add("foo"); |
1327 o.add("foo"); | 1819 o.add("foo"); |
1328 return o; | 1820 return o; |
1329 } | 1821 } |
1330 | 1822 |
1331 checkUnnamed2124(core.List<core.String> o) { | 1823 checkUnnamed2220(core.List<core.String> o) { |
1332 unittest.expect(o, unittest.hasLength(2)); | 1824 unittest.expect(o, unittest.hasLength(2)); |
1333 unittest.expect(o[0], unittest.equals('foo')); | 1825 unittest.expect(o[0], unittest.equals('foo')); |
1334 unittest.expect(o[1], unittest.equals('foo')); | 1826 unittest.expect(o[1], unittest.equals('foo')); |
1335 } | 1827 } |
1336 | 1828 |
1337 core.int buildCounterDisk = 0; | 1829 core.int buildCounterDisk = 0; |
1338 buildDisk() { | 1830 buildDisk() { |
1339 var o = new api.Disk(); | 1831 var o = new api.Disk(); |
1340 buildCounterDisk++; | 1832 buildCounterDisk++; |
1341 if (buildCounterDisk < 3) { | 1833 if (buildCounterDisk < 3) { |
1342 o.creationTimestamp = "foo"; | 1834 o.creationTimestamp = "foo"; |
1343 o.description = "foo"; | 1835 o.description = "foo"; |
1344 o.diskEncryptionKey = buildCustomerEncryptionKey(); | 1836 o.diskEncryptionKey = buildCustomerEncryptionKey(); |
1345 o.id = "foo"; | 1837 o.id = "foo"; |
1346 o.kind = "foo"; | 1838 o.kind = "foo"; |
1347 o.labelFingerprint = "foo"; | 1839 o.labelFingerprint = "foo"; |
1348 o.labels = buildUnnamed2122(); | 1840 o.labels = buildUnnamed2218(); |
1349 o.lastAttachTimestamp = "foo"; | 1841 o.lastAttachTimestamp = "foo"; |
1350 o.lastDetachTimestamp = "foo"; | 1842 o.lastDetachTimestamp = "foo"; |
1351 o.licenses = buildUnnamed2123(); | 1843 o.licenses = buildUnnamed2219(); |
1352 o.name = "foo"; | 1844 o.name = "foo"; |
1353 o.options = "foo"; | 1845 o.options = "foo"; |
1354 o.selfLink = "foo"; | 1846 o.selfLink = "foo"; |
1355 o.sizeGb = "foo"; | 1847 o.sizeGb = "foo"; |
1356 o.sourceImage = "foo"; | 1848 o.sourceImage = "foo"; |
1357 o.sourceImageEncryptionKey = buildCustomerEncryptionKey(); | 1849 o.sourceImageEncryptionKey = buildCustomerEncryptionKey(); |
1358 o.sourceImageId = "foo"; | 1850 o.sourceImageId = "foo"; |
1359 o.sourceSnapshot = "foo"; | 1851 o.sourceSnapshot = "foo"; |
1360 o.sourceSnapshotEncryptionKey = buildCustomerEncryptionKey(); | 1852 o.sourceSnapshotEncryptionKey = buildCustomerEncryptionKey(); |
1361 o.sourceSnapshotId = "foo"; | 1853 o.sourceSnapshotId = "foo"; |
1362 o.status = "foo"; | 1854 o.status = "foo"; |
1363 o.type = "foo"; | 1855 o.type = "foo"; |
1364 o.users = buildUnnamed2124(); | 1856 o.users = buildUnnamed2220(); |
1365 o.zone = "foo"; | 1857 o.zone = "foo"; |
1366 } | 1858 } |
1367 buildCounterDisk--; | 1859 buildCounterDisk--; |
1368 return o; | 1860 return o; |
1369 } | 1861 } |
1370 | 1862 |
1371 checkDisk(api.Disk o) { | 1863 checkDisk(api.Disk o) { |
1372 buildCounterDisk++; | 1864 buildCounterDisk++; |
1373 if (buildCounterDisk < 3) { | 1865 if (buildCounterDisk < 3) { |
1374 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 1866 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
1375 unittest.expect(o.description, unittest.equals('foo')); | 1867 unittest.expect(o.description, unittest.equals('foo')); |
1376 checkCustomerEncryptionKey(o.diskEncryptionKey); | 1868 checkCustomerEncryptionKey(o.diskEncryptionKey); |
1377 unittest.expect(o.id, unittest.equals('foo')); | 1869 unittest.expect(o.id, unittest.equals('foo')); |
1378 unittest.expect(o.kind, unittest.equals('foo')); | 1870 unittest.expect(o.kind, unittest.equals('foo')); |
1379 unittest.expect(o.labelFingerprint, unittest.equals('foo')); | 1871 unittest.expect(o.labelFingerprint, unittest.equals('foo')); |
1380 checkUnnamed2122(o.labels); | 1872 checkUnnamed2218(o.labels); |
1381 unittest.expect(o.lastAttachTimestamp, unittest.equals('foo')); | 1873 unittest.expect(o.lastAttachTimestamp, unittest.equals('foo')); |
1382 unittest.expect(o.lastDetachTimestamp, unittest.equals('foo')); | 1874 unittest.expect(o.lastDetachTimestamp, unittest.equals('foo')); |
1383 checkUnnamed2123(o.licenses); | 1875 checkUnnamed2219(o.licenses); |
1384 unittest.expect(o.name, unittest.equals('foo')); | 1876 unittest.expect(o.name, unittest.equals('foo')); |
1385 unittest.expect(o.options, unittest.equals('foo')); | 1877 unittest.expect(o.options, unittest.equals('foo')); |
1386 unittest.expect(o.selfLink, unittest.equals('foo')); | 1878 unittest.expect(o.selfLink, unittest.equals('foo')); |
1387 unittest.expect(o.sizeGb, unittest.equals('foo')); | 1879 unittest.expect(o.sizeGb, unittest.equals('foo')); |
1388 unittest.expect(o.sourceImage, unittest.equals('foo')); | 1880 unittest.expect(o.sourceImage, unittest.equals('foo')); |
1389 checkCustomerEncryptionKey(o.sourceImageEncryptionKey); | 1881 checkCustomerEncryptionKey(o.sourceImageEncryptionKey); |
1390 unittest.expect(o.sourceImageId, unittest.equals('foo')); | 1882 unittest.expect(o.sourceImageId, unittest.equals('foo')); |
1391 unittest.expect(o.sourceSnapshot, unittest.equals('foo')); | 1883 unittest.expect(o.sourceSnapshot, unittest.equals('foo')); |
1392 checkCustomerEncryptionKey(o.sourceSnapshotEncryptionKey); | 1884 checkCustomerEncryptionKey(o.sourceSnapshotEncryptionKey); |
1393 unittest.expect(o.sourceSnapshotId, unittest.equals('foo')); | 1885 unittest.expect(o.sourceSnapshotId, unittest.equals('foo')); |
1394 unittest.expect(o.status, unittest.equals('foo')); | 1886 unittest.expect(o.status, unittest.equals('foo')); |
1395 unittest.expect(o.type, unittest.equals('foo')); | 1887 unittest.expect(o.type, unittest.equals('foo')); |
1396 checkUnnamed2124(o.users); | 1888 checkUnnamed2220(o.users); |
1397 unittest.expect(o.zone, unittest.equals('foo')); | 1889 unittest.expect(o.zone, unittest.equals('foo')); |
1398 } | 1890 } |
1399 buildCounterDisk--; | 1891 buildCounterDisk--; |
1400 } | 1892 } |
1401 | 1893 |
1402 buildUnnamed2125() { | 1894 buildUnnamed2221() { |
1403 var o = new core.Map<core.String, api.DisksScopedList>(); | 1895 var o = new core.Map<core.String, api.DisksScopedList>(); |
1404 o["x"] = buildDisksScopedList(); | 1896 o["x"] = buildDisksScopedList(); |
1405 o["y"] = buildDisksScopedList(); | 1897 o["y"] = buildDisksScopedList(); |
1406 return o; | 1898 return o; |
1407 } | 1899 } |
1408 | 1900 |
1409 checkUnnamed2125(core.Map<core.String, api.DisksScopedList> o) { | 1901 checkUnnamed2221(core.Map<core.String, api.DisksScopedList> o) { |
1410 unittest.expect(o, unittest.hasLength(2)); | 1902 unittest.expect(o, unittest.hasLength(2)); |
1411 checkDisksScopedList(o["x"]); | 1903 checkDisksScopedList(o["x"]); |
1412 checkDisksScopedList(o["y"]); | 1904 checkDisksScopedList(o["y"]); |
1413 } | 1905 } |
1414 | 1906 |
1415 core.int buildCounterDiskAggregatedList = 0; | 1907 core.int buildCounterDiskAggregatedList = 0; |
1416 buildDiskAggregatedList() { | 1908 buildDiskAggregatedList() { |
1417 var o = new api.DiskAggregatedList(); | 1909 var o = new api.DiskAggregatedList(); |
1418 buildCounterDiskAggregatedList++; | 1910 buildCounterDiskAggregatedList++; |
1419 if (buildCounterDiskAggregatedList < 3) { | 1911 if (buildCounterDiskAggregatedList < 3) { |
1420 o.id = "foo"; | 1912 o.id = "foo"; |
1421 o.items = buildUnnamed2125(); | 1913 o.items = buildUnnamed2221(); |
1422 o.kind = "foo"; | 1914 o.kind = "foo"; |
1423 o.nextPageToken = "foo"; | 1915 o.nextPageToken = "foo"; |
1424 o.selfLink = "foo"; | 1916 o.selfLink = "foo"; |
1425 } | 1917 } |
1426 buildCounterDiskAggregatedList--; | 1918 buildCounterDiskAggregatedList--; |
1427 return o; | 1919 return o; |
1428 } | 1920 } |
1429 | 1921 |
1430 checkDiskAggregatedList(api.DiskAggregatedList o) { | 1922 checkDiskAggregatedList(api.DiskAggregatedList o) { |
1431 buildCounterDiskAggregatedList++; | 1923 buildCounterDiskAggregatedList++; |
1432 if (buildCounterDiskAggregatedList < 3) { | 1924 if (buildCounterDiskAggregatedList < 3) { |
1433 unittest.expect(o.id, unittest.equals('foo')); | 1925 unittest.expect(o.id, unittest.equals('foo')); |
1434 checkUnnamed2125(o.items); | 1926 checkUnnamed2221(o.items); |
1435 unittest.expect(o.kind, unittest.equals('foo')); | 1927 unittest.expect(o.kind, unittest.equals('foo')); |
1436 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1928 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1437 unittest.expect(o.selfLink, unittest.equals('foo')); | 1929 unittest.expect(o.selfLink, unittest.equals('foo')); |
1438 } | 1930 } |
1439 buildCounterDiskAggregatedList--; | 1931 buildCounterDiskAggregatedList--; |
1440 } | 1932 } |
1441 | 1933 |
1442 buildUnnamed2126() { | 1934 buildUnnamed2222() { |
1443 var o = new core.List<api.Disk>(); | 1935 var o = new core.List<api.Disk>(); |
1444 o.add(buildDisk()); | 1936 o.add(buildDisk()); |
1445 o.add(buildDisk()); | 1937 o.add(buildDisk()); |
1446 return o; | 1938 return o; |
1447 } | 1939 } |
1448 | 1940 |
1449 checkUnnamed2126(core.List<api.Disk> o) { | 1941 checkUnnamed2222(core.List<api.Disk> o) { |
1450 unittest.expect(o, unittest.hasLength(2)); | 1942 unittest.expect(o, unittest.hasLength(2)); |
1451 checkDisk(o[0]); | 1943 checkDisk(o[0]); |
1452 checkDisk(o[1]); | 1944 checkDisk(o[1]); |
1453 } | 1945 } |
1454 | 1946 |
1455 core.int buildCounterDiskList = 0; | 1947 core.int buildCounterDiskList = 0; |
1456 buildDiskList() { | 1948 buildDiskList() { |
1457 var o = new api.DiskList(); | 1949 var o = new api.DiskList(); |
1458 buildCounterDiskList++; | 1950 buildCounterDiskList++; |
1459 if (buildCounterDiskList < 3) { | 1951 if (buildCounterDiskList < 3) { |
1460 o.id = "foo"; | 1952 o.id = "foo"; |
1461 o.items = buildUnnamed2126(); | 1953 o.items = buildUnnamed2222(); |
1462 o.kind = "foo"; | 1954 o.kind = "foo"; |
1463 o.nextPageToken = "foo"; | 1955 o.nextPageToken = "foo"; |
1464 o.selfLink = "foo"; | 1956 o.selfLink = "foo"; |
1465 } | 1957 } |
1466 buildCounterDiskList--; | 1958 buildCounterDiskList--; |
1467 return o; | 1959 return o; |
1468 } | 1960 } |
1469 | 1961 |
1470 checkDiskList(api.DiskList o) { | 1962 checkDiskList(api.DiskList o) { |
1471 buildCounterDiskList++; | 1963 buildCounterDiskList++; |
1472 if (buildCounterDiskList < 3) { | 1964 if (buildCounterDiskList < 3) { |
1473 unittest.expect(o.id, unittest.equals('foo')); | 1965 unittest.expect(o.id, unittest.equals('foo')); |
1474 checkUnnamed2126(o.items); | 1966 checkUnnamed2222(o.items); |
1475 unittest.expect(o.kind, unittest.equals('foo')); | 1967 unittest.expect(o.kind, unittest.equals('foo')); |
1476 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1968 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1477 unittest.expect(o.selfLink, unittest.equals('foo')); | 1969 unittest.expect(o.selfLink, unittest.equals('foo')); |
1478 } | 1970 } |
1479 buildCounterDiskList--; | 1971 buildCounterDiskList--; |
1480 } | 1972 } |
1481 | 1973 |
1482 core.int buildCounterDiskMoveRequest = 0; | 1974 core.int buildCounterDiskMoveRequest = 0; |
1483 buildDiskMoveRequest() { | 1975 buildDiskMoveRequest() { |
1484 var o = new api.DiskMoveRequest(); | 1976 var o = new api.DiskMoveRequest(); |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1530 unittest.expect(o.id, unittest.equals('foo')); | 2022 unittest.expect(o.id, unittest.equals('foo')); |
1531 unittest.expect(o.kind, unittest.equals('foo')); | 2023 unittest.expect(o.kind, unittest.equals('foo')); |
1532 unittest.expect(o.name, unittest.equals('foo')); | 2024 unittest.expect(o.name, unittest.equals('foo')); |
1533 unittest.expect(o.selfLink, unittest.equals('foo')); | 2025 unittest.expect(o.selfLink, unittest.equals('foo')); |
1534 unittest.expect(o.validDiskSize, unittest.equals('foo')); | 2026 unittest.expect(o.validDiskSize, unittest.equals('foo')); |
1535 unittest.expect(o.zone, unittest.equals('foo')); | 2027 unittest.expect(o.zone, unittest.equals('foo')); |
1536 } | 2028 } |
1537 buildCounterDiskType--; | 2029 buildCounterDiskType--; |
1538 } | 2030 } |
1539 | 2031 |
1540 buildUnnamed2127() { | 2032 buildUnnamed2223() { |
1541 var o = new core.Map<core.String, api.DiskTypesScopedList>(); | 2033 var o = new core.Map<core.String, api.DiskTypesScopedList>(); |
1542 o["x"] = buildDiskTypesScopedList(); | 2034 o["x"] = buildDiskTypesScopedList(); |
1543 o["y"] = buildDiskTypesScopedList(); | 2035 o["y"] = buildDiskTypesScopedList(); |
1544 return o; | 2036 return o; |
1545 } | 2037 } |
1546 | 2038 |
1547 checkUnnamed2127(core.Map<core.String, api.DiskTypesScopedList> o) { | 2039 checkUnnamed2223(core.Map<core.String, api.DiskTypesScopedList> o) { |
1548 unittest.expect(o, unittest.hasLength(2)); | 2040 unittest.expect(o, unittest.hasLength(2)); |
1549 checkDiskTypesScopedList(o["x"]); | 2041 checkDiskTypesScopedList(o["x"]); |
1550 checkDiskTypesScopedList(o["y"]); | 2042 checkDiskTypesScopedList(o["y"]); |
1551 } | 2043 } |
1552 | 2044 |
1553 core.int buildCounterDiskTypeAggregatedList = 0; | 2045 core.int buildCounterDiskTypeAggregatedList = 0; |
1554 buildDiskTypeAggregatedList() { | 2046 buildDiskTypeAggregatedList() { |
1555 var o = new api.DiskTypeAggregatedList(); | 2047 var o = new api.DiskTypeAggregatedList(); |
1556 buildCounterDiskTypeAggregatedList++; | 2048 buildCounterDiskTypeAggregatedList++; |
1557 if (buildCounterDiskTypeAggregatedList < 3) { | 2049 if (buildCounterDiskTypeAggregatedList < 3) { |
1558 o.id = "foo"; | 2050 o.id = "foo"; |
1559 o.items = buildUnnamed2127(); | 2051 o.items = buildUnnamed2223(); |
1560 o.kind = "foo"; | 2052 o.kind = "foo"; |
1561 o.nextPageToken = "foo"; | 2053 o.nextPageToken = "foo"; |
1562 o.selfLink = "foo"; | 2054 o.selfLink = "foo"; |
1563 } | 2055 } |
1564 buildCounterDiskTypeAggregatedList--; | 2056 buildCounterDiskTypeAggregatedList--; |
1565 return o; | 2057 return o; |
1566 } | 2058 } |
1567 | 2059 |
1568 checkDiskTypeAggregatedList(api.DiskTypeAggregatedList o) { | 2060 checkDiskTypeAggregatedList(api.DiskTypeAggregatedList o) { |
1569 buildCounterDiskTypeAggregatedList++; | 2061 buildCounterDiskTypeAggregatedList++; |
1570 if (buildCounterDiskTypeAggregatedList < 3) { | 2062 if (buildCounterDiskTypeAggregatedList < 3) { |
1571 unittest.expect(o.id, unittest.equals('foo')); | 2063 unittest.expect(o.id, unittest.equals('foo')); |
1572 checkUnnamed2127(o.items); | 2064 checkUnnamed2223(o.items); |
1573 unittest.expect(o.kind, unittest.equals('foo')); | 2065 unittest.expect(o.kind, unittest.equals('foo')); |
1574 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2066 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1575 unittest.expect(o.selfLink, unittest.equals('foo')); | 2067 unittest.expect(o.selfLink, unittest.equals('foo')); |
1576 } | 2068 } |
1577 buildCounterDiskTypeAggregatedList--; | 2069 buildCounterDiskTypeAggregatedList--; |
1578 } | 2070 } |
1579 | 2071 |
1580 buildUnnamed2128() { | 2072 buildUnnamed2224() { |
1581 var o = new core.List<api.DiskType>(); | 2073 var o = new core.List<api.DiskType>(); |
1582 o.add(buildDiskType()); | 2074 o.add(buildDiskType()); |
1583 o.add(buildDiskType()); | 2075 o.add(buildDiskType()); |
1584 return o; | 2076 return o; |
1585 } | 2077 } |
1586 | 2078 |
1587 checkUnnamed2128(core.List<api.DiskType> o) { | 2079 checkUnnamed2224(core.List<api.DiskType> o) { |
1588 unittest.expect(o, unittest.hasLength(2)); | 2080 unittest.expect(o, unittest.hasLength(2)); |
1589 checkDiskType(o[0]); | 2081 checkDiskType(o[0]); |
1590 checkDiskType(o[1]); | 2082 checkDiskType(o[1]); |
1591 } | 2083 } |
1592 | 2084 |
1593 core.int buildCounterDiskTypeList = 0; | 2085 core.int buildCounterDiskTypeList = 0; |
1594 buildDiskTypeList() { | 2086 buildDiskTypeList() { |
1595 var o = new api.DiskTypeList(); | 2087 var o = new api.DiskTypeList(); |
1596 buildCounterDiskTypeList++; | 2088 buildCounterDiskTypeList++; |
1597 if (buildCounterDiskTypeList < 3) { | 2089 if (buildCounterDiskTypeList < 3) { |
1598 o.id = "foo"; | 2090 o.id = "foo"; |
1599 o.items = buildUnnamed2128(); | 2091 o.items = buildUnnamed2224(); |
1600 o.kind = "foo"; | 2092 o.kind = "foo"; |
1601 o.nextPageToken = "foo"; | 2093 o.nextPageToken = "foo"; |
1602 o.selfLink = "foo"; | 2094 o.selfLink = "foo"; |
1603 } | 2095 } |
1604 buildCounterDiskTypeList--; | 2096 buildCounterDiskTypeList--; |
1605 return o; | 2097 return o; |
1606 } | 2098 } |
1607 | 2099 |
1608 checkDiskTypeList(api.DiskTypeList o) { | 2100 checkDiskTypeList(api.DiskTypeList o) { |
1609 buildCounterDiskTypeList++; | 2101 buildCounterDiskTypeList++; |
1610 if (buildCounterDiskTypeList < 3) { | 2102 if (buildCounterDiskTypeList < 3) { |
1611 unittest.expect(o.id, unittest.equals('foo')); | 2103 unittest.expect(o.id, unittest.equals('foo')); |
1612 checkUnnamed2128(o.items); | 2104 checkUnnamed2224(o.items); |
1613 unittest.expect(o.kind, unittest.equals('foo')); | 2105 unittest.expect(o.kind, unittest.equals('foo')); |
1614 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2106 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1615 unittest.expect(o.selfLink, unittest.equals('foo')); | 2107 unittest.expect(o.selfLink, unittest.equals('foo')); |
1616 } | 2108 } |
1617 buildCounterDiskTypeList--; | 2109 buildCounterDiskTypeList--; |
1618 } | 2110 } |
1619 | 2111 |
1620 buildUnnamed2129() { | 2112 buildUnnamed2225() { |
1621 var o = new core.List<api.DiskType>(); | 2113 var o = new core.List<api.DiskType>(); |
1622 o.add(buildDiskType()); | 2114 o.add(buildDiskType()); |
1623 o.add(buildDiskType()); | 2115 o.add(buildDiskType()); |
1624 return o; | 2116 return o; |
1625 } | 2117 } |
1626 | 2118 |
1627 checkUnnamed2129(core.List<api.DiskType> o) { | 2119 checkUnnamed2225(core.List<api.DiskType> o) { |
1628 unittest.expect(o, unittest.hasLength(2)); | 2120 unittest.expect(o, unittest.hasLength(2)); |
1629 checkDiskType(o[0]); | 2121 checkDiskType(o[0]); |
1630 checkDiskType(o[1]); | 2122 checkDiskType(o[1]); |
1631 } | 2123 } |
1632 | 2124 |
1633 core.int buildCounterDiskTypesScopedListWarningData = 0; | 2125 core.int buildCounterDiskTypesScopedListWarningData = 0; |
1634 buildDiskTypesScopedListWarningData() { | 2126 buildDiskTypesScopedListWarningData() { |
1635 var o = new api.DiskTypesScopedListWarningData(); | 2127 var o = new api.DiskTypesScopedListWarningData(); |
1636 buildCounterDiskTypesScopedListWarningData++; | 2128 buildCounterDiskTypesScopedListWarningData++; |
1637 if (buildCounterDiskTypesScopedListWarningData < 3) { | 2129 if (buildCounterDiskTypesScopedListWarningData < 3) { |
1638 o.key = "foo"; | 2130 o.key = "foo"; |
1639 o.value = "foo"; | 2131 o.value = "foo"; |
1640 } | 2132 } |
1641 buildCounterDiskTypesScopedListWarningData--; | 2133 buildCounterDiskTypesScopedListWarningData--; |
1642 return o; | 2134 return o; |
1643 } | 2135 } |
1644 | 2136 |
1645 checkDiskTypesScopedListWarningData(api.DiskTypesScopedListWarningData o) { | 2137 checkDiskTypesScopedListWarningData(api.DiskTypesScopedListWarningData o) { |
1646 buildCounterDiskTypesScopedListWarningData++; | 2138 buildCounterDiskTypesScopedListWarningData++; |
1647 if (buildCounterDiskTypesScopedListWarningData < 3) { | 2139 if (buildCounterDiskTypesScopedListWarningData < 3) { |
1648 unittest.expect(o.key, unittest.equals('foo')); | 2140 unittest.expect(o.key, unittest.equals('foo')); |
1649 unittest.expect(o.value, unittest.equals('foo')); | 2141 unittest.expect(o.value, unittest.equals('foo')); |
1650 } | 2142 } |
1651 buildCounterDiskTypesScopedListWarningData--; | 2143 buildCounterDiskTypesScopedListWarningData--; |
1652 } | 2144 } |
1653 | 2145 |
1654 buildUnnamed2130() { | 2146 buildUnnamed2226() { |
1655 var o = new core.List<api.DiskTypesScopedListWarningData>(); | 2147 var o = new core.List<api.DiskTypesScopedListWarningData>(); |
1656 o.add(buildDiskTypesScopedListWarningData()); | 2148 o.add(buildDiskTypesScopedListWarningData()); |
1657 o.add(buildDiskTypesScopedListWarningData()); | 2149 o.add(buildDiskTypesScopedListWarningData()); |
1658 return o; | 2150 return o; |
1659 } | 2151 } |
1660 | 2152 |
1661 checkUnnamed2130(core.List<api.DiskTypesScopedListWarningData> o) { | 2153 checkUnnamed2226(core.List<api.DiskTypesScopedListWarningData> o) { |
1662 unittest.expect(o, unittest.hasLength(2)); | 2154 unittest.expect(o, unittest.hasLength(2)); |
1663 checkDiskTypesScopedListWarningData(o[0]); | 2155 checkDiskTypesScopedListWarningData(o[0]); |
1664 checkDiskTypesScopedListWarningData(o[1]); | 2156 checkDiskTypesScopedListWarningData(o[1]); |
1665 } | 2157 } |
1666 | 2158 |
1667 core.int buildCounterDiskTypesScopedListWarning = 0; | 2159 core.int buildCounterDiskTypesScopedListWarning = 0; |
1668 buildDiskTypesScopedListWarning() { | 2160 buildDiskTypesScopedListWarning() { |
1669 var o = new api.DiskTypesScopedListWarning(); | 2161 var o = new api.DiskTypesScopedListWarning(); |
1670 buildCounterDiskTypesScopedListWarning++; | 2162 buildCounterDiskTypesScopedListWarning++; |
1671 if (buildCounterDiskTypesScopedListWarning < 3) { | 2163 if (buildCounterDiskTypesScopedListWarning < 3) { |
1672 o.code = "foo"; | 2164 o.code = "foo"; |
1673 o.data = buildUnnamed2130(); | 2165 o.data = buildUnnamed2226(); |
1674 o.message = "foo"; | 2166 o.message = "foo"; |
1675 } | 2167 } |
1676 buildCounterDiskTypesScopedListWarning--; | 2168 buildCounterDiskTypesScopedListWarning--; |
1677 return o; | 2169 return o; |
1678 } | 2170 } |
1679 | 2171 |
1680 checkDiskTypesScopedListWarning(api.DiskTypesScopedListWarning o) { | 2172 checkDiskTypesScopedListWarning(api.DiskTypesScopedListWarning o) { |
1681 buildCounterDiskTypesScopedListWarning++; | 2173 buildCounterDiskTypesScopedListWarning++; |
1682 if (buildCounterDiskTypesScopedListWarning < 3) { | 2174 if (buildCounterDiskTypesScopedListWarning < 3) { |
1683 unittest.expect(o.code, unittest.equals('foo')); | 2175 unittest.expect(o.code, unittest.equals('foo')); |
1684 checkUnnamed2130(o.data); | 2176 checkUnnamed2226(o.data); |
1685 unittest.expect(o.message, unittest.equals('foo')); | 2177 unittest.expect(o.message, unittest.equals('foo')); |
1686 } | 2178 } |
1687 buildCounterDiskTypesScopedListWarning--; | 2179 buildCounterDiskTypesScopedListWarning--; |
1688 } | 2180 } |
1689 | 2181 |
1690 core.int buildCounterDiskTypesScopedList = 0; | 2182 core.int buildCounterDiskTypesScopedList = 0; |
1691 buildDiskTypesScopedList() { | 2183 buildDiskTypesScopedList() { |
1692 var o = new api.DiskTypesScopedList(); | 2184 var o = new api.DiskTypesScopedList(); |
1693 buildCounterDiskTypesScopedList++; | 2185 buildCounterDiskTypesScopedList++; |
1694 if (buildCounterDiskTypesScopedList < 3) { | 2186 if (buildCounterDiskTypesScopedList < 3) { |
1695 o.diskTypes = buildUnnamed2129(); | 2187 o.diskTypes = buildUnnamed2225(); |
1696 o.warning = buildDiskTypesScopedListWarning(); | 2188 o.warning = buildDiskTypesScopedListWarning(); |
1697 } | 2189 } |
1698 buildCounterDiskTypesScopedList--; | 2190 buildCounterDiskTypesScopedList--; |
1699 return o; | 2191 return o; |
1700 } | 2192 } |
1701 | 2193 |
1702 checkDiskTypesScopedList(api.DiskTypesScopedList o) { | 2194 checkDiskTypesScopedList(api.DiskTypesScopedList o) { |
1703 buildCounterDiskTypesScopedList++; | 2195 buildCounterDiskTypesScopedList++; |
1704 if (buildCounterDiskTypesScopedList < 3) { | 2196 if (buildCounterDiskTypesScopedList < 3) { |
1705 checkUnnamed2129(o.diskTypes); | 2197 checkUnnamed2225(o.diskTypes); |
1706 checkDiskTypesScopedListWarning(o.warning); | 2198 checkDiskTypesScopedListWarning(o.warning); |
1707 } | 2199 } |
1708 buildCounterDiskTypesScopedList--; | 2200 buildCounterDiskTypesScopedList--; |
1709 } | 2201 } |
1710 | 2202 |
1711 core.int buildCounterDisksResizeRequest = 0; | 2203 core.int buildCounterDisksResizeRequest = 0; |
1712 buildDisksResizeRequest() { | 2204 buildDisksResizeRequest() { |
1713 var o = new api.DisksResizeRequest(); | 2205 var o = new api.DisksResizeRequest(); |
1714 buildCounterDisksResizeRequest++; | 2206 buildCounterDisksResizeRequest++; |
1715 if (buildCounterDisksResizeRequest < 3) { | 2207 if (buildCounterDisksResizeRequest < 3) { |
1716 o.sizeGb = "foo"; | 2208 o.sizeGb = "foo"; |
1717 } | 2209 } |
1718 buildCounterDisksResizeRequest--; | 2210 buildCounterDisksResizeRequest--; |
1719 return o; | 2211 return o; |
1720 } | 2212 } |
1721 | 2213 |
1722 checkDisksResizeRequest(api.DisksResizeRequest o) { | 2214 checkDisksResizeRequest(api.DisksResizeRequest o) { |
1723 buildCounterDisksResizeRequest++; | 2215 buildCounterDisksResizeRequest++; |
1724 if (buildCounterDisksResizeRequest < 3) { | 2216 if (buildCounterDisksResizeRequest < 3) { |
1725 unittest.expect(o.sizeGb, unittest.equals('foo')); | 2217 unittest.expect(o.sizeGb, unittest.equals('foo')); |
1726 } | 2218 } |
1727 buildCounterDisksResizeRequest--; | 2219 buildCounterDisksResizeRequest--; |
1728 } | 2220 } |
1729 | 2221 |
1730 buildUnnamed2131() { | 2222 buildUnnamed2227() { |
1731 var o = new core.List<api.Disk>(); | 2223 var o = new core.List<api.Disk>(); |
1732 o.add(buildDisk()); | 2224 o.add(buildDisk()); |
1733 o.add(buildDisk()); | 2225 o.add(buildDisk()); |
1734 return o; | 2226 return o; |
1735 } | 2227 } |
1736 | 2228 |
1737 checkUnnamed2131(core.List<api.Disk> o) { | 2229 checkUnnamed2227(core.List<api.Disk> o) { |
1738 unittest.expect(o, unittest.hasLength(2)); | 2230 unittest.expect(o, unittest.hasLength(2)); |
1739 checkDisk(o[0]); | 2231 checkDisk(o[0]); |
1740 checkDisk(o[1]); | 2232 checkDisk(o[1]); |
1741 } | 2233 } |
1742 | 2234 |
1743 core.int buildCounterDisksScopedListWarningData = 0; | 2235 core.int buildCounterDisksScopedListWarningData = 0; |
1744 buildDisksScopedListWarningData() { | 2236 buildDisksScopedListWarningData() { |
1745 var o = new api.DisksScopedListWarningData(); | 2237 var o = new api.DisksScopedListWarningData(); |
1746 buildCounterDisksScopedListWarningData++; | 2238 buildCounterDisksScopedListWarningData++; |
1747 if (buildCounterDisksScopedListWarningData < 3) { | 2239 if (buildCounterDisksScopedListWarningData < 3) { |
1748 o.key = "foo"; | 2240 o.key = "foo"; |
1749 o.value = "foo"; | 2241 o.value = "foo"; |
1750 } | 2242 } |
1751 buildCounterDisksScopedListWarningData--; | 2243 buildCounterDisksScopedListWarningData--; |
1752 return o; | 2244 return o; |
1753 } | 2245 } |
1754 | 2246 |
1755 checkDisksScopedListWarningData(api.DisksScopedListWarningData o) { | 2247 checkDisksScopedListWarningData(api.DisksScopedListWarningData o) { |
1756 buildCounterDisksScopedListWarningData++; | 2248 buildCounterDisksScopedListWarningData++; |
1757 if (buildCounterDisksScopedListWarningData < 3) { | 2249 if (buildCounterDisksScopedListWarningData < 3) { |
1758 unittest.expect(o.key, unittest.equals('foo')); | 2250 unittest.expect(o.key, unittest.equals('foo')); |
1759 unittest.expect(o.value, unittest.equals('foo')); | 2251 unittest.expect(o.value, unittest.equals('foo')); |
1760 } | 2252 } |
1761 buildCounterDisksScopedListWarningData--; | 2253 buildCounterDisksScopedListWarningData--; |
1762 } | 2254 } |
1763 | 2255 |
1764 buildUnnamed2132() { | 2256 buildUnnamed2228() { |
1765 var o = new core.List<api.DisksScopedListWarningData>(); | 2257 var o = new core.List<api.DisksScopedListWarningData>(); |
1766 o.add(buildDisksScopedListWarningData()); | 2258 o.add(buildDisksScopedListWarningData()); |
1767 o.add(buildDisksScopedListWarningData()); | 2259 o.add(buildDisksScopedListWarningData()); |
1768 return o; | 2260 return o; |
1769 } | 2261 } |
1770 | 2262 |
1771 checkUnnamed2132(core.List<api.DisksScopedListWarningData> o) { | 2263 checkUnnamed2228(core.List<api.DisksScopedListWarningData> o) { |
1772 unittest.expect(o, unittest.hasLength(2)); | 2264 unittest.expect(o, unittest.hasLength(2)); |
1773 checkDisksScopedListWarningData(o[0]); | 2265 checkDisksScopedListWarningData(o[0]); |
1774 checkDisksScopedListWarningData(o[1]); | 2266 checkDisksScopedListWarningData(o[1]); |
1775 } | 2267 } |
1776 | 2268 |
1777 core.int buildCounterDisksScopedListWarning = 0; | 2269 core.int buildCounterDisksScopedListWarning = 0; |
1778 buildDisksScopedListWarning() { | 2270 buildDisksScopedListWarning() { |
1779 var o = new api.DisksScopedListWarning(); | 2271 var o = new api.DisksScopedListWarning(); |
1780 buildCounterDisksScopedListWarning++; | 2272 buildCounterDisksScopedListWarning++; |
1781 if (buildCounterDisksScopedListWarning < 3) { | 2273 if (buildCounterDisksScopedListWarning < 3) { |
1782 o.code = "foo"; | 2274 o.code = "foo"; |
1783 o.data = buildUnnamed2132(); | 2275 o.data = buildUnnamed2228(); |
1784 o.message = "foo"; | 2276 o.message = "foo"; |
1785 } | 2277 } |
1786 buildCounterDisksScopedListWarning--; | 2278 buildCounterDisksScopedListWarning--; |
1787 return o; | 2279 return o; |
1788 } | 2280 } |
1789 | 2281 |
1790 checkDisksScopedListWarning(api.DisksScopedListWarning o) { | 2282 checkDisksScopedListWarning(api.DisksScopedListWarning o) { |
1791 buildCounterDisksScopedListWarning++; | 2283 buildCounterDisksScopedListWarning++; |
1792 if (buildCounterDisksScopedListWarning < 3) { | 2284 if (buildCounterDisksScopedListWarning < 3) { |
1793 unittest.expect(o.code, unittest.equals('foo')); | 2285 unittest.expect(o.code, unittest.equals('foo')); |
1794 checkUnnamed2132(o.data); | 2286 checkUnnamed2228(o.data); |
1795 unittest.expect(o.message, unittest.equals('foo')); | 2287 unittest.expect(o.message, unittest.equals('foo')); |
1796 } | 2288 } |
1797 buildCounterDisksScopedListWarning--; | 2289 buildCounterDisksScopedListWarning--; |
1798 } | 2290 } |
1799 | 2291 |
1800 core.int buildCounterDisksScopedList = 0; | 2292 core.int buildCounterDisksScopedList = 0; |
1801 buildDisksScopedList() { | 2293 buildDisksScopedList() { |
1802 var o = new api.DisksScopedList(); | 2294 var o = new api.DisksScopedList(); |
1803 buildCounterDisksScopedList++; | 2295 buildCounterDisksScopedList++; |
1804 if (buildCounterDisksScopedList < 3) { | 2296 if (buildCounterDisksScopedList < 3) { |
1805 o.disks = buildUnnamed2131(); | 2297 o.disks = buildUnnamed2227(); |
1806 o.warning = buildDisksScopedListWarning(); | 2298 o.warning = buildDisksScopedListWarning(); |
1807 } | 2299 } |
1808 buildCounterDisksScopedList--; | 2300 buildCounterDisksScopedList--; |
1809 return o; | 2301 return o; |
1810 } | 2302 } |
1811 | 2303 |
1812 checkDisksScopedList(api.DisksScopedList o) { | 2304 checkDisksScopedList(api.DisksScopedList o) { |
1813 buildCounterDisksScopedList++; | 2305 buildCounterDisksScopedList++; |
1814 if (buildCounterDisksScopedList < 3) { | 2306 if (buildCounterDisksScopedList < 3) { |
1815 checkUnnamed2131(o.disks); | 2307 checkUnnamed2227(o.disks); |
1816 checkDisksScopedListWarning(o.warning); | 2308 checkDisksScopedListWarning(o.warning); |
1817 } | 2309 } |
1818 buildCounterDisksScopedList--; | 2310 buildCounterDisksScopedList--; |
1819 } | 2311 } |
1820 | 2312 |
1821 buildUnnamed2133() { | 2313 buildUnnamed2229() { |
1822 var o = new core.List<core.String>(); | 2314 var o = new core.List<core.String>(); |
1823 o.add("foo"); | 2315 o.add("foo"); |
1824 o.add("foo"); | 2316 o.add("foo"); |
1825 return o; | 2317 return o; |
1826 } | 2318 } |
1827 | 2319 |
1828 checkUnnamed2133(core.List<core.String> o) { | 2320 checkUnnamed2229(core.List<core.String> o) { |
1829 unittest.expect(o, unittest.hasLength(2)); | 2321 unittest.expect(o, unittest.hasLength(2)); |
1830 unittest.expect(o[0], unittest.equals('foo')); | 2322 unittest.expect(o[0], unittest.equals('foo')); |
1831 unittest.expect(o[1], unittest.equals('foo')); | 2323 unittest.expect(o[1], unittest.equals('foo')); |
1832 } | 2324 } |
1833 | 2325 |
1834 core.int buildCounterFirewallAllowed = 0; | 2326 core.int buildCounterFirewallAllowed = 0; |
1835 buildFirewallAllowed() { | 2327 buildFirewallAllowed() { |
1836 var o = new api.FirewallAllowed(); | 2328 var o = new api.FirewallAllowed(); |
1837 buildCounterFirewallAllowed++; | 2329 buildCounterFirewallAllowed++; |
1838 if (buildCounterFirewallAllowed < 3) { | 2330 if (buildCounterFirewallAllowed < 3) { |
1839 o.IPProtocol = "foo"; | 2331 o.IPProtocol = "foo"; |
1840 o.ports = buildUnnamed2133(); | 2332 o.ports = buildUnnamed2229(); |
1841 } | 2333 } |
1842 buildCounterFirewallAllowed--; | 2334 buildCounterFirewallAllowed--; |
1843 return o; | 2335 return o; |
1844 } | 2336 } |
1845 | 2337 |
1846 checkFirewallAllowed(api.FirewallAllowed o) { | 2338 checkFirewallAllowed(api.FirewallAllowed o) { |
1847 buildCounterFirewallAllowed++; | 2339 buildCounterFirewallAllowed++; |
1848 if (buildCounterFirewallAllowed < 3) { | 2340 if (buildCounterFirewallAllowed < 3) { |
1849 unittest.expect(o.IPProtocol, unittest.equals('foo')); | 2341 unittest.expect(o.IPProtocol, unittest.equals('foo')); |
1850 checkUnnamed2133(o.ports); | 2342 checkUnnamed2229(o.ports); |
1851 } | 2343 } |
1852 buildCounterFirewallAllowed--; | 2344 buildCounterFirewallAllowed--; |
1853 } | 2345 } |
1854 | 2346 |
1855 buildUnnamed2134() { | 2347 buildUnnamed2230() { |
1856 var o = new core.List<api.FirewallAllowed>(); | 2348 var o = new core.List<api.FirewallAllowed>(); |
1857 o.add(buildFirewallAllowed()); | 2349 o.add(buildFirewallAllowed()); |
1858 o.add(buildFirewallAllowed()); | 2350 o.add(buildFirewallAllowed()); |
1859 return o; | 2351 return o; |
1860 } | 2352 } |
1861 | 2353 |
1862 checkUnnamed2134(core.List<api.FirewallAllowed> o) { | 2354 checkUnnamed2230(core.List<api.FirewallAllowed> o) { |
1863 unittest.expect(o, unittest.hasLength(2)); | 2355 unittest.expect(o, unittest.hasLength(2)); |
1864 checkFirewallAllowed(o[0]); | 2356 checkFirewallAllowed(o[0]); |
1865 checkFirewallAllowed(o[1]); | 2357 checkFirewallAllowed(o[1]); |
1866 } | 2358 } |
1867 | 2359 |
1868 buildUnnamed2135() { | 2360 buildUnnamed2231() { |
1869 var o = new core.List<core.String>(); | 2361 var o = new core.List<core.String>(); |
1870 o.add("foo"); | 2362 o.add("foo"); |
1871 o.add("foo"); | 2363 o.add("foo"); |
1872 return o; | 2364 return o; |
1873 } | 2365 } |
1874 | 2366 |
1875 checkUnnamed2135(core.List<core.String> o) { | 2367 checkUnnamed2231(core.List<core.String> o) { |
1876 unittest.expect(o, unittest.hasLength(2)); | 2368 unittest.expect(o, unittest.hasLength(2)); |
1877 unittest.expect(o[0], unittest.equals('foo')); | 2369 unittest.expect(o[0], unittest.equals('foo')); |
1878 unittest.expect(o[1], unittest.equals('foo')); | 2370 unittest.expect(o[1], unittest.equals('foo')); |
1879 } | 2371 } |
1880 | 2372 |
1881 buildUnnamed2136() { | 2373 buildUnnamed2232() { |
1882 var o = new core.List<core.String>(); | 2374 var o = new core.List<core.String>(); |
1883 o.add("foo"); | 2375 o.add("foo"); |
1884 o.add("foo"); | 2376 o.add("foo"); |
1885 return o; | 2377 return o; |
1886 } | 2378 } |
1887 | 2379 |
1888 checkUnnamed2136(core.List<core.String> o) { | 2380 checkUnnamed2232(core.List<core.String> o) { |
1889 unittest.expect(o, unittest.hasLength(2)); | 2381 unittest.expect(o, unittest.hasLength(2)); |
1890 unittest.expect(o[0], unittest.equals('foo')); | 2382 unittest.expect(o[0], unittest.equals('foo')); |
1891 unittest.expect(o[1], unittest.equals('foo')); | 2383 unittest.expect(o[1], unittest.equals('foo')); |
1892 } | 2384 } |
1893 | 2385 |
1894 buildUnnamed2137() { | 2386 buildUnnamed2233() { |
1895 var o = new core.List<core.String>(); | 2387 var o = new core.List<core.String>(); |
1896 o.add("foo"); | 2388 o.add("foo"); |
1897 o.add("foo"); | 2389 o.add("foo"); |
1898 return o; | 2390 return o; |
1899 } | 2391 } |
1900 | 2392 |
1901 checkUnnamed2137(core.List<core.String> o) { | 2393 checkUnnamed2233(core.List<core.String> o) { |
1902 unittest.expect(o, unittest.hasLength(2)); | 2394 unittest.expect(o, unittest.hasLength(2)); |
1903 unittest.expect(o[0], unittest.equals('foo')); | 2395 unittest.expect(o[0], unittest.equals('foo')); |
1904 unittest.expect(o[1], unittest.equals('foo')); | 2396 unittest.expect(o[1], unittest.equals('foo')); |
1905 } | 2397 } |
1906 | 2398 |
1907 core.int buildCounterFirewall = 0; | 2399 core.int buildCounterFirewall = 0; |
1908 buildFirewall() { | 2400 buildFirewall() { |
1909 var o = new api.Firewall(); | 2401 var o = new api.Firewall(); |
1910 buildCounterFirewall++; | 2402 buildCounterFirewall++; |
1911 if (buildCounterFirewall < 3) { | 2403 if (buildCounterFirewall < 3) { |
1912 o.allowed = buildUnnamed2134(); | 2404 o.allowed = buildUnnamed2230(); |
1913 o.creationTimestamp = "foo"; | 2405 o.creationTimestamp = "foo"; |
1914 o.description = "foo"; | 2406 o.description = "foo"; |
1915 o.id = "foo"; | 2407 o.id = "foo"; |
1916 o.kind = "foo"; | 2408 o.kind = "foo"; |
1917 o.name = "foo"; | 2409 o.name = "foo"; |
1918 o.network = "foo"; | 2410 o.network = "foo"; |
1919 o.selfLink = "foo"; | 2411 o.selfLink = "foo"; |
1920 o.sourceRanges = buildUnnamed2135(); | 2412 o.sourceRanges = buildUnnamed2231(); |
1921 o.sourceTags = buildUnnamed2136(); | 2413 o.sourceTags = buildUnnamed2232(); |
1922 o.targetTags = buildUnnamed2137(); | 2414 o.targetTags = buildUnnamed2233(); |
1923 } | 2415 } |
1924 buildCounterFirewall--; | 2416 buildCounterFirewall--; |
1925 return o; | 2417 return o; |
1926 } | 2418 } |
1927 | 2419 |
1928 checkFirewall(api.Firewall o) { | 2420 checkFirewall(api.Firewall o) { |
1929 buildCounterFirewall++; | 2421 buildCounterFirewall++; |
1930 if (buildCounterFirewall < 3) { | 2422 if (buildCounterFirewall < 3) { |
1931 checkUnnamed2134(o.allowed); | 2423 checkUnnamed2230(o.allowed); |
1932 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 2424 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
1933 unittest.expect(o.description, unittest.equals('foo')); | 2425 unittest.expect(o.description, unittest.equals('foo')); |
1934 unittest.expect(o.id, unittest.equals('foo')); | 2426 unittest.expect(o.id, unittest.equals('foo')); |
1935 unittest.expect(o.kind, unittest.equals('foo')); | 2427 unittest.expect(o.kind, unittest.equals('foo')); |
1936 unittest.expect(o.name, unittest.equals('foo')); | 2428 unittest.expect(o.name, unittest.equals('foo')); |
1937 unittest.expect(o.network, unittest.equals('foo')); | 2429 unittest.expect(o.network, unittest.equals('foo')); |
1938 unittest.expect(o.selfLink, unittest.equals('foo')); | 2430 unittest.expect(o.selfLink, unittest.equals('foo')); |
1939 checkUnnamed2135(o.sourceRanges); | 2431 checkUnnamed2231(o.sourceRanges); |
1940 checkUnnamed2136(o.sourceTags); | 2432 checkUnnamed2232(o.sourceTags); |
1941 checkUnnamed2137(o.targetTags); | 2433 checkUnnamed2233(o.targetTags); |
1942 } | 2434 } |
1943 buildCounterFirewall--; | 2435 buildCounterFirewall--; |
1944 } | 2436 } |
1945 | 2437 |
1946 buildUnnamed2138() { | 2438 buildUnnamed2234() { |
1947 var o = new core.List<api.Firewall>(); | 2439 var o = new core.List<api.Firewall>(); |
1948 o.add(buildFirewall()); | 2440 o.add(buildFirewall()); |
1949 o.add(buildFirewall()); | 2441 o.add(buildFirewall()); |
1950 return o; | 2442 return o; |
1951 } | 2443 } |
1952 | 2444 |
1953 checkUnnamed2138(core.List<api.Firewall> o) { | 2445 checkUnnamed2234(core.List<api.Firewall> o) { |
1954 unittest.expect(o, unittest.hasLength(2)); | 2446 unittest.expect(o, unittest.hasLength(2)); |
1955 checkFirewall(o[0]); | 2447 checkFirewall(o[0]); |
1956 checkFirewall(o[1]); | 2448 checkFirewall(o[1]); |
1957 } | 2449 } |
1958 | 2450 |
1959 core.int buildCounterFirewallList = 0; | 2451 core.int buildCounterFirewallList = 0; |
1960 buildFirewallList() { | 2452 buildFirewallList() { |
1961 var o = new api.FirewallList(); | 2453 var o = new api.FirewallList(); |
1962 buildCounterFirewallList++; | 2454 buildCounterFirewallList++; |
1963 if (buildCounterFirewallList < 3) { | 2455 if (buildCounterFirewallList < 3) { |
1964 o.id = "foo"; | 2456 o.id = "foo"; |
1965 o.items = buildUnnamed2138(); | 2457 o.items = buildUnnamed2234(); |
1966 o.kind = "foo"; | 2458 o.kind = "foo"; |
1967 o.nextPageToken = "foo"; | 2459 o.nextPageToken = "foo"; |
1968 o.selfLink = "foo"; | 2460 o.selfLink = "foo"; |
1969 } | 2461 } |
1970 buildCounterFirewallList--; | 2462 buildCounterFirewallList--; |
1971 return o; | 2463 return o; |
1972 } | 2464 } |
1973 | 2465 |
1974 checkFirewallList(api.FirewallList o) { | 2466 checkFirewallList(api.FirewallList o) { |
1975 buildCounterFirewallList++; | 2467 buildCounterFirewallList++; |
1976 if (buildCounterFirewallList < 3) { | 2468 if (buildCounterFirewallList < 3) { |
1977 unittest.expect(o.id, unittest.equals('foo')); | 2469 unittest.expect(o.id, unittest.equals('foo')); |
1978 checkUnnamed2138(o.items); | 2470 checkUnnamed2234(o.items); |
1979 unittest.expect(o.kind, unittest.equals('foo')); | 2471 unittest.expect(o.kind, unittest.equals('foo')); |
1980 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2472 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1981 unittest.expect(o.selfLink, unittest.equals('foo')); | 2473 unittest.expect(o.selfLink, unittest.equals('foo')); |
1982 } | 2474 } |
1983 buildCounterFirewallList--; | 2475 buildCounterFirewallList--; |
1984 } | 2476 } |
1985 | 2477 |
1986 buildUnnamed2139() { | 2478 buildUnnamed2235() { |
1987 var o = new core.List<core.String>(); | 2479 var o = new core.List<core.String>(); |
1988 o.add("foo"); | 2480 o.add("foo"); |
1989 o.add("foo"); | 2481 o.add("foo"); |
1990 return o; | 2482 return o; |
1991 } | 2483 } |
1992 | 2484 |
1993 checkUnnamed2139(core.List<core.String> o) { | 2485 checkUnnamed2235(core.List<core.String> o) { |
1994 unittest.expect(o, unittest.hasLength(2)); | 2486 unittest.expect(o, unittest.hasLength(2)); |
1995 unittest.expect(o[0], unittest.equals('foo')); | 2487 unittest.expect(o[0], unittest.equals('foo')); |
1996 unittest.expect(o[1], unittest.equals('foo')); | 2488 unittest.expect(o[1], unittest.equals('foo')); |
1997 } | 2489 } |
1998 | 2490 |
1999 core.int buildCounterForwardingRule = 0; | 2491 core.int buildCounterForwardingRule = 0; |
2000 buildForwardingRule() { | 2492 buildForwardingRule() { |
2001 var o = new api.ForwardingRule(); | 2493 var o = new api.ForwardingRule(); |
2002 buildCounterForwardingRule++; | 2494 buildCounterForwardingRule++; |
2003 if (buildCounterForwardingRule < 3) { | 2495 if (buildCounterForwardingRule < 3) { |
2004 o.IPAddress = "foo"; | 2496 o.IPAddress = "foo"; |
2005 o.IPProtocol = "foo"; | 2497 o.IPProtocol = "foo"; |
2006 o.backendService = "foo"; | 2498 o.backendService = "foo"; |
2007 o.creationTimestamp = "foo"; | 2499 o.creationTimestamp = "foo"; |
2008 o.description = "foo"; | 2500 o.description = "foo"; |
2009 o.id = "foo"; | 2501 o.id = "foo"; |
2010 o.ipVersion = "foo"; | 2502 o.ipVersion = "foo"; |
2011 o.kind = "foo"; | 2503 o.kind = "foo"; |
2012 o.loadBalancingScheme = "foo"; | 2504 o.loadBalancingScheme = "foo"; |
2013 o.name = "foo"; | 2505 o.name = "foo"; |
2014 o.network = "foo"; | 2506 o.network = "foo"; |
2015 o.portRange = "foo"; | 2507 o.portRange = "foo"; |
2016 o.ports = buildUnnamed2139(); | 2508 o.ports = buildUnnamed2235(); |
2017 o.region = "foo"; | 2509 o.region = "foo"; |
2018 o.selfLink = "foo"; | 2510 o.selfLink = "foo"; |
2019 o.subnetwork = "foo"; | 2511 o.subnetwork = "foo"; |
2020 o.target = "foo"; | 2512 o.target = "foo"; |
2021 } | 2513 } |
2022 buildCounterForwardingRule--; | 2514 buildCounterForwardingRule--; |
2023 return o; | 2515 return o; |
2024 } | 2516 } |
2025 | 2517 |
2026 checkForwardingRule(api.ForwardingRule o) { | 2518 checkForwardingRule(api.ForwardingRule o) { |
2027 buildCounterForwardingRule++; | 2519 buildCounterForwardingRule++; |
2028 if (buildCounterForwardingRule < 3) { | 2520 if (buildCounterForwardingRule < 3) { |
2029 unittest.expect(o.IPAddress, unittest.equals('foo')); | 2521 unittest.expect(o.IPAddress, unittest.equals('foo')); |
2030 unittest.expect(o.IPProtocol, unittest.equals('foo')); | 2522 unittest.expect(o.IPProtocol, unittest.equals('foo')); |
2031 unittest.expect(o.backendService, unittest.equals('foo')); | 2523 unittest.expect(o.backendService, unittest.equals('foo')); |
2032 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 2524 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
2033 unittest.expect(o.description, unittest.equals('foo')); | 2525 unittest.expect(o.description, unittest.equals('foo')); |
2034 unittest.expect(o.id, unittest.equals('foo')); | 2526 unittest.expect(o.id, unittest.equals('foo')); |
2035 unittest.expect(o.ipVersion, unittest.equals('foo')); | 2527 unittest.expect(o.ipVersion, unittest.equals('foo')); |
2036 unittest.expect(o.kind, unittest.equals('foo')); | 2528 unittest.expect(o.kind, unittest.equals('foo')); |
2037 unittest.expect(o.loadBalancingScheme, unittest.equals('foo')); | 2529 unittest.expect(o.loadBalancingScheme, unittest.equals('foo')); |
2038 unittest.expect(o.name, unittest.equals('foo')); | 2530 unittest.expect(o.name, unittest.equals('foo')); |
2039 unittest.expect(o.network, unittest.equals('foo')); | 2531 unittest.expect(o.network, unittest.equals('foo')); |
2040 unittest.expect(o.portRange, unittest.equals('foo')); | 2532 unittest.expect(o.portRange, unittest.equals('foo')); |
2041 checkUnnamed2139(o.ports); | 2533 checkUnnamed2235(o.ports); |
2042 unittest.expect(o.region, unittest.equals('foo')); | 2534 unittest.expect(o.region, unittest.equals('foo')); |
2043 unittest.expect(o.selfLink, unittest.equals('foo')); | 2535 unittest.expect(o.selfLink, unittest.equals('foo')); |
2044 unittest.expect(o.subnetwork, unittest.equals('foo')); | 2536 unittest.expect(o.subnetwork, unittest.equals('foo')); |
2045 unittest.expect(o.target, unittest.equals('foo')); | 2537 unittest.expect(o.target, unittest.equals('foo')); |
2046 } | 2538 } |
2047 buildCounterForwardingRule--; | 2539 buildCounterForwardingRule--; |
2048 } | 2540 } |
2049 | 2541 |
2050 buildUnnamed2140() { | 2542 buildUnnamed2236() { |
2051 var o = new core.Map<core.String, api.ForwardingRulesScopedList>(); | 2543 var o = new core.Map<core.String, api.ForwardingRulesScopedList>(); |
2052 o["x"] = buildForwardingRulesScopedList(); | 2544 o["x"] = buildForwardingRulesScopedList(); |
2053 o["y"] = buildForwardingRulesScopedList(); | 2545 o["y"] = buildForwardingRulesScopedList(); |
2054 return o; | 2546 return o; |
2055 } | 2547 } |
2056 | 2548 |
2057 checkUnnamed2140(core.Map<core.String, api.ForwardingRulesScopedList> o) { | 2549 checkUnnamed2236(core.Map<core.String, api.ForwardingRulesScopedList> o) { |
2058 unittest.expect(o, unittest.hasLength(2)); | 2550 unittest.expect(o, unittest.hasLength(2)); |
2059 checkForwardingRulesScopedList(o["x"]); | 2551 checkForwardingRulesScopedList(o["x"]); |
2060 checkForwardingRulesScopedList(o["y"]); | 2552 checkForwardingRulesScopedList(o["y"]); |
2061 } | 2553 } |
2062 | 2554 |
2063 core.int buildCounterForwardingRuleAggregatedList = 0; | 2555 core.int buildCounterForwardingRuleAggregatedList = 0; |
2064 buildForwardingRuleAggregatedList() { | 2556 buildForwardingRuleAggregatedList() { |
2065 var o = new api.ForwardingRuleAggregatedList(); | 2557 var o = new api.ForwardingRuleAggregatedList(); |
2066 buildCounterForwardingRuleAggregatedList++; | 2558 buildCounterForwardingRuleAggregatedList++; |
2067 if (buildCounterForwardingRuleAggregatedList < 3) { | 2559 if (buildCounterForwardingRuleAggregatedList < 3) { |
2068 o.id = "foo"; | 2560 o.id = "foo"; |
2069 o.items = buildUnnamed2140(); | 2561 o.items = buildUnnamed2236(); |
2070 o.kind = "foo"; | 2562 o.kind = "foo"; |
2071 o.nextPageToken = "foo"; | 2563 o.nextPageToken = "foo"; |
2072 o.selfLink = "foo"; | 2564 o.selfLink = "foo"; |
2073 } | 2565 } |
2074 buildCounterForwardingRuleAggregatedList--; | 2566 buildCounterForwardingRuleAggregatedList--; |
2075 return o; | 2567 return o; |
2076 } | 2568 } |
2077 | 2569 |
2078 checkForwardingRuleAggregatedList(api.ForwardingRuleAggregatedList o) { | 2570 checkForwardingRuleAggregatedList(api.ForwardingRuleAggregatedList o) { |
2079 buildCounterForwardingRuleAggregatedList++; | 2571 buildCounterForwardingRuleAggregatedList++; |
2080 if (buildCounterForwardingRuleAggregatedList < 3) { | 2572 if (buildCounterForwardingRuleAggregatedList < 3) { |
2081 unittest.expect(o.id, unittest.equals('foo')); | 2573 unittest.expect(o.id, unittest.equals('foo')); |
2082 checkUnnamed2140(o.items); | 2574 checkUnnamed2236(o.items); |
2083 unittest.expect(o.kind, unittest.equals('foo')); | 2575 unittest.expect(o.kind, unittest.equals('foo')); |
2084 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2576 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2085 unittest.expect(o.selfLink, unittest.equals('foo')); | 2577 unittest.expect(o.selfLink, unittest.equals('foo')); |
2086 } | 2578 } |
2087 buildCounterForwardingRuleAggregatedList--; | 2579 buildCounterForwardingRuleAggregatedList--; |
2088 } | 2580 } |
2089 | 2581 |
2090 buildUnnamed2141() { | 2582 buildUnnamed2237() { |
2091 var o = new core.List<api.ForwardingRule>(); | 2583 var o = new core.List<api.ForwardingRule>(); |
2092 o.add(buildForwardingRule()); | 2584 o.add(buildForwardingRule()); |
2093 o.add(buildForwardingRule()); | 2585 o.add(buildForwardingRule()); |
2094 return o; | 2586 return o; |
2095 } | 2587 } |
2096 | 2588 |
2097 checkUnnamed2141(core.List<api.ForwardingRule> o) { | 2589 checkUnnamed2237(core.List<api.ForwardingRule> o) { |
2098 unittest.expect(o, unittest.hasLength(2)); | 2590 unittest.expect(o, unittest.hasLength(2)); |
2099 checkForwardingRule(o[0]); | 2591 checkForwardingRule(o[0]); |
2100 checkForwardingRule(o[1]); | 2592 checkForwardingRule(o[1]); |
2101 } | 2593 } |
2102 | 2594 |
2103 core.int buildCounterForwardingRuleList = 0; | 2595 core.int buildCounterForwardingRuleList = 0; |
2104 buildForwardingRuleList() { | 2596 buildForwardingRuleList() { |
2105 var o = new api.ForwardingRuleList(); | 2597 var o = new api.ForwardingRuleList(); |
2106 buildCounterForwardingRuleList++; | 2598 buildCounterForwardingRuleList++; |
2107 if (buildCounterForwardingRuleList < 3) { | 2599 if (buildCounterForwardingRuleList < 3) { |
2108 o.id = "foo"; | 2600 o.id = "foo"; |
2109 o.items = buildUnnamed2141(); | 2601 o.items = buildUnnamed2237(); |
2110 o.kind = "foo"; | 2602 o.kind = "foo"; |
2111 o.nextPageToken = "foo"; | 2603 o.nextPageToken = "foo"; |
2112 o.selfLink = "foo"; | 2604 o.selfLink = "foo"; |
2113 } | 2605 } |
2114 buildCounterForwardingRuleList--; | 2606 buildCounterForwardingRuleList--; |
2115 return o; | 2607 return o; |
2116 } | 2608 } |
2117 | 2609 |
2118 checkForwardingRuleList(api.ForwardingRuleList o) { | 2610 checkForwardingRuleList(api.ForwardingRuleList o) { |
2119 buildCounterForwardingRuleList++; | 2611 buildCounterForwardingRuleList++; |
2120 if (buildCounterForwardingRuleList < 3) { | 2612 if (buildCounterForwardingRuleList < 3) { |
2121 unittest.expect(o.id, unittest.equals('foo')); | 2613 unittest.expect(o.id, unittest.equals('foo')); |
2122 checkUnnamed2141(o.items); | 2614 checkUnnamed2237(o.items); |
2123 unittest.expect(o.kind, unittest.equals('foo')); | 2615 unittest.expect(o.kind, unittest.equals('foo')); |
2124 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2616 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2125 unittest.expect(o.selfLink, unittest.equals('foo')); | 2617 unittest.expect(o.selfLink, unittest.equals('foo')); |
2126 } | 2618 } |
2127 buildCounterForwardingRuleList--; | 2619 buildCounterForwardingRuleList--; |
2128 } | 2620 } |
2129 | 2621 |
2130 buildUnnamed2142() { | 2622 buildUnnamed2238() { |
2131 var o = new core.List<api.ForwardingRule>(); | 2623 var o = new core.List<api.ForwardingRule>(); |
2132 o.add(buildForwardingRule()); | 2624 o.add(buildForwardingRule()); |
2133 o.add(buildForwardingRule()); | 2625 o.add(buildForwardingRule()); |
2134 return o; | 2626 return o; |
2135 } | 2627 } |
2136 | 2628 |
2137 checkUnnamed2142(core.List<api.ForwardingRule> o) { | 2629 checkUnnamed2238(core.List<api.ForwardingRule> o) { |
2138 unittest.expect(o, unittest.hasLength(2)); | 2630 unittest.expect(o, unittest.hasLength(2)); |
2139 checkForwardingRule(o[0]); | 2631 checkForwardingRule(o[0]); |
2140 checkForwardingRule(o[1]); | 2632 checkForwardingRule(o[1]); |
2141 } | 2633 } |
2142 | 2634 |
2143 core.int buildCounterForwardingRulesScopedListWarningData = 0; | 2635 core.int buildCounterForwardingRulesScopedListWarningData = 0; |
2144 buildForwardingRulesScopedListWarningData() { | 2636 buildForwardingRulesScopedListWarningData() { |
2145 var o = new api.ForwardingRulesScopedListWarningData(); | 2637 var o = new api.ForwardingRulesScopedListWarningData(); |
2146 buildCounterForwardingRulesScopedListWarningData++; | 2638 buildCounterForwardingRulesScopedListWarningData++; |
2147 if (buildCounterForwardingRulesScopedListWarningData < 3) { | 2639 if (buildCounterForwardingRulesScopedListWarningData < 3) { |
2148 o.key = "foo"; | 2640 o.key = "foo"; |
2149 o.value = "foo"; | 2641 o.value = "foo"; |
2150 } | 2642 } |
2151 buildCounterForwardingRulesScopedListWarningData--; | 2643 buildCounterForwardingRulesScopedListWarningData--; |
2152 return o; | 2644 return o; |
2153 } | 2645 } |
2154 | 2646 |
2155 checkForwardingRulesScopedListWarningData(api.ForwardingRulesScopedListWarningDa
ta o) { | 2647 checkForwardingRulesScopedListWarningData(api.ForwardingRulesScopedListWarningDa
ta o) { |
2156 buildCounterForwardingRulesScopedListWarningData++; | 2648 buildCounterForwardingRulesScopedListWarningData++; |
2157 if (buildCounterForwardingRulesScopedListWarningData < 3) { | 2649 if (buildCounterForwardingRulesScopedListWarningData < 3) { |
2158 unittest.expect(o.key, unittest.equals('foo')); | 2650 unittest.expect(o.key, unittest.equals('foo')); |
2159 unittest.expect(o.value, unittest.equals('foo')); | 2651 unittest.expect(o.value, unittest.equals('foo')); |
2160 } | 2652 } |
2161 buildCounterForwardingRulesScopedListWarningData--; | 2653 buildCounterForwardingRulesScopedListWarningData--; |
2162 } | 2654 } |
2163 | 2655 |
2164 buildUnnamed2143() { | 2656 buildUnnamed2239() { |
2165 var o = new core.List<api.ForwardingRulesScopedListWarningData>(); | 2657 var o = new core.List<api.ForwardingRulesScopedListWarningData>(); |
2166 o.add(buildForwardingRulesScopedListWarningData()); | 2658 o.add(buildForwardingRulesScopedListWarningData()); |
2167 o.add(buildForwardingRulesScopedListWarningData()); | 2659 o.add(buildForwardingRulesScopedListWarningData()); |
2168 return o; | 2660 return o; |
2169 } | 2661 } |
2170 | 2662 |
2171 checkUnnamed2143(core.List<api.ForwardingRulesScopedListWarningData> o) { | 2663 checkUnnamed2239(core.List<api.ForwardingRulesScopedListWarningData> o) { |
2172 unittest.expect(o, unittest.hasLength(2)); | 2664 unittest.expect(o, unittest.hasLength(2)); |
2173 checkForwardingRulesScopedListWarningData(o[0]); | 2665 checkForwardingRulesScopedListWarningData(o[0]); |
2174 checkForwardingRulesScopedListWarningData(o[1]); | 2666 checkForwardingRulesScopedListWarningData(o[1]); |
2175 } | 2667 } |
2176 | 2668 |
2177 core.int buildCounterForwardingRulesScopedListWarning = 0; | 2669 core.int buildCounterForwardingRulesScopedListWarning = 0; |
2178 buildForwardingRulesScopedListWarning() { | 2670 buildForwardingRulesScopedListWarning() { |
2179 var o = new api.ForwardingRulesScopedListWarning(); | 2671 var o = new api.ForwardingRulesScopedListWarning(); |
2180 buildCounterForwardingRulesScopedListWarning++; | 2672 buildCounterForwardingRulesScopedListWarning++; |
2181 if (buildCounterForwardingRulesScopedListWarning < 3) { | 2673 if (buildCounterForwardingRulesScopedListWarning < 3) { |
2182 o.code = "foo"; | 2674 o.code = "foo"; |
2183 o.data = buildUnnamed2143(); | 2675 o.data = buildUnnamed2239(); |
2184 o.message = "foo"; | 2676 o.message = "foo"; |
2185 } | 2677 } |
2186 buildCounterForwardingRulesScopedListWarning--; | 2678 buildCounterForwardingRulesScopedListWarning--; |
2187 return o; | 2679 return o; |
2188 } | 2680 } |
2189 | 2681 |
2190 checkForwardingRulesScopedListWarning(api.ForwardingRulesScopedListWarning o) { | 2682 checkForwardingRulesScopedListWarning(api.ForwardingRulesScopedListWarning o) { |
2191 buildCounterForwardingRulesScopedListWarning++; | 2683 buildCounterForwardingRulesScopedListWarning++; |
2192 if (buildCounterForwardingRulesScopedListWarning < 3) { | 2684 if (buildCounterForwardingRulesScopedListWarning < 3) { |
2193 unittest.expect(o.code, unittest.equals('foo')); | 2685 unittest.expect(o.code, unittest.equals('foo')); |
2194 checkUnnamed2143(o.data); | 2686 checkUnnamed2239(o.data); |
2195 unittest.expect(o.message, unittest.equals('foo')); | 2687 unittest.expect(o.message, unittest.equals('foo')); |
2196 } | 2688 } |
2197 buildCounterForwardingRulesScopedListWarning--; | 2689 buildCounterForwardingRulesScopedListWarning--; |
2198 } | 2690 } |
2199 | 2691 |
2200 core.int buildCounterForwardingRulesScopedList = 0; | 2692 core.int buildCounterForwardingRulesScopedList = 0; |
2201 buildForwardingRulesScopedList() { | 2693 buildForwardingRulesScopedList() { |
2202 var o = new api.ForwardingRulesScopedList(); | 2694 var o = new api.ForwardingRulesScopedList(); |
2203 buildCounterForwardingRulesScopedList++; | 2695 buildCounterForwardingRulesScopedList++; |
2204 if (buildCounterForwardingRulesScopedList < 3) { | 2696 if (buildCounterForwardingRulesScopedList < 3) { |
2205 o.forwardingRules = buildUnnamed2142(); | 2697 o.forwardingRules = buildUnnamed2238(); |
2206 o.warning = buildForwardingRulesScopedListWarning(); | 2698 o.warning = buildForwardingRulesScopedListWarning(); |
2207 } | 2699 } |
2208 buildCounterForwardingRulesScopedList--; | 2700 buildCounterForwardingRulesScopedList--; |
2209 return o; | 2701 return o; |
2210 } | 2702 } |
2211 | 2703 |
2212 checkForwardingRulesScopedList(api.ForwardingRulesScopedList o) { | 2704 checkForwardingRulesScopedList(api.ForwardingRulesScopedList o) { |
2213 buildCounterForwardingRulesScopedList++; | 2705 buildCounterForwardingRulesScopedList++; |
2214 if (buildCounterForwardingRulesScopedList < 3) { | 2706 if (buildCounterForwardingRulesScopedList < 3) { |
2215 checkUnnamed2142(o.forwardingRules); | 2707 checkUnnamed2238(o.forwardingRules); |
2216 checkForwardingRulesScopedListWarning(o.warning); | 2708 checkForwardingRulesScopedListWarning(o.warning); |
2217 } | 2709 } |
2218 buildCounterForwardingRulesScopedList--; | 2710 buildCounterForwardingRulesScopedList--; |
2219 } | 2711 } |
2220 | 2712 |
2221 buildUnnamed2144() { | 2713 buildUnnamed2240() { |
2222 var o = new core.Map<core.String, core.String>(); | 2714 var o = new core.Map<core.String, core.String>(); |
2223 o["x"] = "foo"; | 2715 o["x"] = "foo"; |
2224 o["y"] = "foo"; | 2716 o["y"] = "foo"; |
2225 return o; | 2717 return o; |
2226 } | 2718 } |
2227 | 2719 |
2228 checkUnnamed2144(core.Map<core.String, core.String> o) { | 2720 checkUnnamed2240(core.Map<core.String, core.String> o) { |
2229 unittest.expect(o, unittest.hasLength(2)); | 2721 unittest.expect(o, unittest.hasLength(2)); |
2230 unittest.expect(o["x"], unittest.equals('foo')); | 2722 unittest.expect(o["x"], unittest.equals('foo')); |
2231 unittest.expect(o["y"], unittest.equals('foo')); | 2723 unittest.expect(o["y"], unittest.equals('foo')); |
2232 } | 2724 } |
2233 | 2725 |
2234 core.int buildCounterGlobalSetLabelsRequest = 0; | 2726 core.int buildCounterGlobalSetLabelsRequest = 0; |
2235 buildGlobalSetLabelsRequest() { | 2727 buildGlobalSetLabelsRequest() { |
2236 var o = new api.GlobalSetLabelsRequest(); | 2728 var o = new api.GlobalSetLabelsRequest(); |
2237 buildCounterGlobalSetLabelsRequest++; | 2729 buildCounterGlobalSetLabelsRequest++; |
2238 if (buildCounterGlobalSetLabelsRequest < 3) { | 2730 if (buildCounterGlobalSetLabelsRequest < 3) { |
2239 o.labelFingerprint = "foo"; | 2731 o.labelFingerprint = "foo"; |
2240 o.labels = buildUnnamed2144(); | 2732 o.labels = buildUnnamed2240(); |
2241 } | 2733 } |
2242 buildCounterGlobalSetLabelsRequest--; | 2734 buildCounterGlobalSetLabelsRequest--; |
2243 return o; | 2735 return o; |
2244 } | 2736 } |
2245 | 2737 |
2246 checkGlobalSetLabelsRequest(api.GlobalSetLabelsRequest o) { | 2738 checkGlobalSetLabelsRequest(api.GlobalSetLabelsRequest o) { |
2247 buildCounterGlobalSetLabelsRequest++; | 2739 buildCounterGlobalSetLabelsRequest++; |
2248 if (buildCounterGlobalSetLabelsRequest < 3) { | 2740 if (buildCounterGlobalSetLabelsRequest < 3) { |
2249 unittest.expect(o.labelFingerprint, unittest.equals('foo')); | 2741 unittest.expect(o.labelFingerprint, unittest.equals('foo')); |
2250 checkUnnamed2144(o.labels); | 2742 checkUnnamed2240(o.labels); |
2251 } | 2743 } |
2252 buildCounterGlobalSetLabelsRequest--; | 2744 buildCounterGlobalSetLabelsRequest--; |
2253 } | 2745 } |
2254 | 2746 |
2255 core.int buildCounterGuestOsFeature = 0; | 2747 core.int buildCounterGuestOsFeature = 0; |
2256 buildGuestOsFeature() { | 2748 buildGuestOsFeature() { |
2257 var o = new api.GuestOsFeature(); | 2749 var o = new api.GuestOsFeature(); |
2258 buildCounterGuestOsFeature++; | 2750 buildCounterGuestOsFeature++; |
2259 if (buildCounterGuestOsFeature < 3) { | 2751 if (buildCounterGuestOsFeature < 3) { |
2260 o.type = "foo"; | 2752 o.type = "foo"; |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2365 unittest.expect(o.selfLink, unittest.equals('foo')); | 2857 unittest.expect(o.selfLink, unittest.equals('foo')); |
2366 checkSSLHealthCheck(o.sslHealthCheck); | 2858 checkSSLHealthCheck(o.sslHealthCheck); |
2367 checkTCPHealthCheck(o.tcpHealthCheck); | 2859 checkTCPHealthCheck(o.tcpHealthCheck); |
2368 unittest.expect(o.timeoutSec, unittest.equals(42)); | 2860 unittest.expect(o.timeoutSec, unittest.equals(42)); |
2369 unittest.expect(o.type, unittest.equals('foo')); | 2861 unittest.expect(o.type, unittest.equals('foo')); |
2370 unittest.expect(o.unhealthyThreshold, unittest.equals(42)); | 2862 unittest.expect(o.unhealthyThreshold, unittest.equals(42)); |
2371 } | 2863 } |
2372 buildCounterHealthCheck--; | 2864 buildCounterHealthCheck--; |
2373 } | 2865 } |
2374 | 2866 |
2375 buildUnnamed2145() { | 2867 buildUnnamed2241() { |
2376 var o = new core.List<api.HealthCheck>(); | 2868 var o = new core.List<api.HealthCheck>(); |
2377 o.add(buildHealthCheck()); | 2869 o.add(buildHealthCheck()); |
2378 o.add(buildHealthCheck()); | 2870 o.add(buildHealthCheck()); |
2379 return o; | 2871 return o; |
2380 } | 2872 } |
2381 | 2873 |
2382 checkUnnamed2145(core.List<api.HealthCheck> o) { | 2874 checkUnnamed2241(core.List<api.HealthCheck> o) { |
2383 unittest.expect(o, unittest.hasLength(2)); | 2875 unittest.expect(o, unittest.hasLength(2)); |
2384 checkHealthCheck(o[0]); | 2876 checkHealthCheck(o[0]); |
2385 checkHealthCheck(o[1]); | 2877 checkHealthCheck(o[1]); |
2386 } | 2878 } |
2387 | 2879 |
2388 core.int buildCounterHealthCheckList = 0; | 2880 core.int buildCounterHealthCheckList = 0; |
2389 buildHealthCheckList() { | 2881 buildHealthCheckList() { |
2390 var o = new api.HealthCheckList(); | 2882 var o = new api.HealthCheckList(); |
2391 buildCounterHealthCheckList++; | 2883 buildCounterHealthCheckList++; |
2392 if (buildCounterHealthCheckList < 3) { | 2884 if (buildCounterHealthCheckList < 3) { |
2393 o.id = "foo"; | 2885 o.id = "foo"; |
2394 o.items = buildUnnamed2145(); | 2886 o.items = buildUnnamed2241(); |
2395 o.kind = "foo"; | 2887 o.kind = "foo"; |
2396 o.nextPageToken = "foo"; | 2888 o.nextPageToken = "foo"; |
2397 o.selfLink = "foo"; | 2889 o.selfLink = "foo"; |
2398 } | 2890 } |
2399 buildCounterHealthCheckList--; | 2891 buildCounterHealthCheckList--; |
2400 return o; | 2892 return o; |
2401 } | 2893 } |
2402 | 2894 |
2403 checkHealthCheckList(api.HealthCheckList o) { | 2895 checkHealthCheckList(api.HealthCheckList o) { |
2404 buildCounterHealthCheckList++; | 2896 buildCounterHealthCheckList++; |
2405 if (buildCounterHealthCheckList < 3) { | 2897 if (buildCounterHealthCheckList < 3) { |
2406 unittest.expect(o.id, unittest.equals('foo')); | 2898 unittest.expect(o.id, unittest.equals('foo')); |
2407 checkUnnamed2145(o.items); | 2899 checkUnnamed2241(o.items); |
2408 unittest.expect(o.kind, unittest.equals('foo')); | 2900 unittest.expect(o.kind, unittest.equals('foo')); |
2409 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2901 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2410 unittest.expect(o.selfLink, unittest.equals('foo')); | 2902 unittest.expect(o.selfLink, unittest.equals('foo')); |
2411 } | 2903 } |
2412 buildCounterHealthCheckList--; | 2904 buildCounterHealthCheckList--; |
2413 } | 2905 } |
2414 | 2906 |
2415 core.int buildCounterHealthCheckReference = 0; | 2907 core.int buildCounterHealthCheckReference = 0; |
2416 buildHealthCheckReference() { | 2908 buildHealthCheckReference() { |
2417 var o = new api.HealthCheckReference(); | 2909 var o = new api.HealthCheckReference(); |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2449 buildCounterHealthStatus++; | 2941 buildCounterHealthStatus++; |
2450 if (buildCounterHealthStatus < 3) { | 2942 if (buildCounterHealthStatus < 3) { |
2451 unittest.expect(o.healthState, unittest.equals('foo')); | 2943 unittest.expect(o.healthState, unittest.equals('foo')); |
2452 unittest.expect(o.instance, unittest.equals('foo')); | 2944 unittest.expect(o.instance, unittest.equals('foo')); |
2453 unittest.expect(o.ipAddress, unittest.equals('foo')); | 2945 unittest.expect(o.ipAddress, unittest.equals('foo')); |
2454 unittest.expect(o.port, unittest.equals(42)); | 2946 unittest.expect(o.port, unittest.equals(42)); |
2455 } | 2947 } |
2456 buildCounterHealthStatus--; | 2948 buildCounterHealthStatus--; |
2457 } | 2949 } |
2458 | 2950 |
2459 buildUnnamed2146() { | 2951 buildUnnamed2242() { |
2460 var o = new core.List<core.String>(); | 2952 var o = new core.List<core.String>(); |
2461 o.add("foo"); | 2953 o.add("foo"); |
2462 o.add("foo"); | 2954 o.add("foo"); |
2463 return o; | 2955 return o; |
2464 } | 2956 } |
2465 | 2957 |
2466 checkUnnamed2146(core.List<core.String> o) { | 2958 checkUnnamed2242(core.List<core.String> o) { |
2467 unittest.expect(o, unittest.hasLength(2)); | 2959 unittest.expect(o, unittest.hasLength(2)); |
2468 unittest.expect(o[0], unittest.equals('foo')); | 2960 unittest.expect(o[0], unittest.equals('foo')); |
2469 unittest.expect(o[1], unittest.equals('foo')); | 2961 unittest.expect(o[1], unittest.equals('foo')); |
2470 } | 2962 } |
2471 | 2963 |
2472 core.int buildCounterHostRule = 0; | 2964 core.int buildCounterHostRule = 0; |
2473 buildHostRule() { | 2965 buildHostRule() { |
2474 var o = new api.HostRule(); | 2966 var o = new api.HostRule(); |
2475 buildCounterHostRule++; | 2967 buildCounterHostRule++; |
2476 if (buildCounterHostRule < 3) { | 2968 if (buildCounterHostRule < 3) { |
2477 o.description = "foo"; | 2969 o.description = "foo"; |
2478 o.hosts = buildUnnamed2146(); | 2970 o.hosts = buildUnnamed2242(); |
2479 o.pathMatcher = "foo"; | 2971 o.pathMatcher = "foo"; |
2480 } | 2972 } |
2481 buildCounterHostRule--; | 2973 buildCounterHostRule--; |
2482 return o; | 2974 return o; |
2483 } | 2975 } |
2484 | 2976 |
2485 checkHostRule(api.HostRule o) { | 2977 checkHostRule(api.HostRule o) { |
2486 buildCounterHostRule++; | 2978 buildCounterHostRule++; |
2487 if (buildCounterHostRule < 3) { | 2979 if (buildCounterHostRule < 3) { |
2488 unittest.expect(o.description, unittest.equals('foo')); | 2980 unittest.expect(o.description, unittest.equals('foo')); |
2489 checkUnnamed2146(o.hosts); | 2981 checkUnnamed2242(o.hosts); |
2490 unittest.expect(o.pathMatcher, unittest.equals('foo')); | 2982 unittest.expect(o.pathMatcher, unittest.equals('foo')); |
2491 } | 2983 } |
2492 buildCounterHostRule--; | 2984 buildCounterHostRule--; |
2493 } | 2985 } |
2494 | 2986 |
2495 core.int buildCounterHttpHealthCheck = 0; | 2987 core.int buildCounterHttpHealthCheck = 0; |
2496 buildHttpHealthCheck() { | 2988 buildHttpHealthCheck() { |
2497 var o = new api.HttpHealthCheck(); | 2989 var o = new api.HttpHealthCheck(); |
2498 buildCounterHttpHealthCheck++; | 2990 buildCounterHttpHealthCheck++; |
2499 if (buildCounterHttpHealthCheck < 3) { | 2991 if (buildCounterHttpHealthCheck < 3) { |
(...skipping 28 matching lines...) Expand all Loading... |
2528 unittest.expect(o.name, unittest.equals('foo')); | 3020 unittest.expect(o.name, unittest.equals('foo')); |
2529 unittest.expect(o.port, unittest.equals(42)); | 3021 unittest.expect(o.port, unittest.equals(42)); |
2530 unittest.expect(o.requestPath, unittest.equals('foo')); | 3022 unittest.expect(o.requestPath, unittest.equals('foo')); |
2531 unittest.expect(o.selfLink, unittest.equals('foo')); | 3023 unittest.expect(o.selfLink, unittest.equals('foo')); |
2532 unittest.expect(o.timeoutSec, unittest.equals(42)); | 3024 unittest.expect(o.timeoutSec, unittest.equals(42)); |
2533 unittest.expect(o.unhealthyThreshold, unittest.equals(42)); | 3025 unittest.expect(o.unhealthyThreshold, unittest.equals(42)); |
2534 } | 3026 } |
2535 buildCounterHttpHealthCheck--; | 3027 buildCounterHttpHealthCheck--; |
2536 } | 3028 } |
2537 | 3029 |
2538 buildUnnamed2147() { | 3030 buildUnnamed2243() { |
2539 var o = new core.List<api.HttpHealthCheck>(); | 3031 var o = new core.List<api.HttpHealthCheck>(); |
2540 o.add(buildHttpHealthCheck()); | 3032 o.add(buildHttpHealthCheck()); |
2541 o.add(buildHttpHealthCheck()); | 3033 o.add(buildHttpHealthCheck()); |
2542 return o; | 3034 return o; |
2543 } | 3035 } |
2544 | 3036 |
2545 checkUnnamed2147(core.List<api.HttpHealthCheck> o) { | 3037 checkUnnamed2243(core.List<api.HttpHealthCheck> o) { |
2546 unittest.expect(o, unittest.hasLength(2)); | 3038 unittest.expect(o, unittest.hasLength(2)); |
2547 checkHttpHealthCheck(o[0]); | 3039 checkHttpHealthCheck(o[0]); |
2548 checkHttpHealthCheck(o[1]); | 3040 checkHttpHealthCheck(o[1]); |
2549 } | 3041 } |
2550 | 3042 |
2551 core.int buildCounterHttpHealthCheckList = 0; | 3043 core.int buildCounterHttpHealthCheckList = 0; |
2552 buildHttpHealthCheckList() { | 3044 buildHttpHealthCheckList() { |
2553 var o = new api.HttpHealthCheckList(); | 3045 var o = new api.HttpHealthCheckList(); |
2554 buildCounterHttpHealthCheckList++; | 3046 buildCounterHttpHealthCheckList++; |
2555 if (buildCounterHttpHealthCheckList < 3) { | 3047 if (buildCounterHttpHealthCheckList < 3) { |
2556 o.id = "foo"; | 3048 o.id = "foo"; |
2557 o.items = buildUnnamed2147(); | 3049 o.items = buildUnnamed2243(); |
2558 o.kind = "foo"; | 3050 o.kind = "foo"; |
2559 o.nextPageToken = "foo"; | 3051 o.nextPageToken = "foo"; |
2560 o.selfLink = "foo"; | 3052 o.selfLink = "foo"; |
2561 } | 3053 } |
2562 buildCounterHttpHealthCheckList--; | 3054 buildCounterHttpHealthCheckList--; |
2563 return o; | 3055 return o; |
2564 } | 3056 } |
2565 | 3057 |
2566 checkHttpHealthCheckList(api.HttpHealthCheckList o) { | 3058 checkHttpHealthCheckList(api.HttpHealthCheckList o) { |
2567 buildCounterHttpHealthCheckList++; | 3059 buildCounterHttpHealthCheckList++; |
2568 if (buildCounterHttpHealthCheckList < 3) { | 3060 if (buildCounterHttpHealthCheckList < 3) { |
2569 unittest.expect(o.id, unittest.equals('foo')); | 3061 unittest.expect(o.id, unittest.equals('foo')); |
2570 checkUnnamed2147(o.items); | 3062 checkUnnamed2243(o.items); |
2571 unittest.expect(o.kind, unittest.equals('foo')); | 3063 unittest.expect(o.kind, unittest.equals('foo')); |
2572 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3064 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2573 unittest.expect(o.selfLink, unittest.equals('foo')); | 3065 unittest.expect(o.selfLink, unittest.equals('foo')); |
2574 } | 3066 } |
2575 buildCounterHttpHealthCheckList--; | 3067 buildCounterHttpHealthCheckList--; |
2576 } | 3068 } |
2577 | 3069 |
2578 core.int buildCounterHttpsHealthCheck = 0; | 3070 core.int buildCounterHttpsHealthCheck = 0; |
2579 buildHttpsHealthCheck() { | 3071 buildHttpsHealthCheck() { |
2580 var o = new api.HttpsHealthCheck(); | 3072 var o = new api.HttpsHealthCheck(); |
(...skipping 30 matching lines...) Expand all Loading... |
2611 unittest.expect(o.name, unittest.equals('foo')); | 3103 unittest.expect(o.name, unittest.equals('foo')); |
2612 unittest.expect(o.port, unittest.equals(42)); | 3104 unittest.expect(o.port, unittest.equals(42)); |
2613 unittest.expect(o.requestPath, unittest.equals('foo')); | 3105 unittest.expect(o.requestPath, unittest.equals('foo')); |
2614 unittest.expect(o.selfLink, unittest.equals('foo')); | 3106 unittest.expect(o.selfLink, unittest.equals('foo')); |
2615 unittest.expect(o.timeoutSec, unittest.equals(42)); | 3107 unittest.expect(o.timeoutSec, unittest.equals(42)); |
2616 unittest.expect(o.unhealthyThreshold, unittest.equals(42)); | 3108 unittest.expect(o.unhealthyThreshold, unittest.equals(42)); |
2617 } | 3109 } |
2618 buildCounterHttpsHealthCheck--; | 3110 buildCounterHttpsHealthCheck--; |
2619 } | 3111 } |
2620 | 3112 |
2621 buildUnnamed2148() { | 3113 buildUnnamed2244() { |
2622 var o = new core.List<api.HttpsHealthCheck>(); | 3114 var o = new core.List<api.HttpsHealthCheck>(); |
2623 o.add(buildHttpsHealthCheck()); | 3115 o.add(buildHttpsHealthCheck()); |
2624 o.add(buildHttpsHealthCheck()); | 3116 o.add(buildHttpsHealthCheck()); |
2625 return o; | 3117 return o; |
2626 } | 3118 } |
2627 | 3119 |
2628 checkUnnamed2148(core.List<api.HttpsHealthCheck> o) { | 3120 checkUnnamed2244(core.List<api.HttpsHealthCheck> o) { |
2629 unittest.expect(o, unittest.hasLength(2)); | 3121 unittest.expect(o, unittest.hasLength(2)); |
2630 checkHttpsHealthCheck(o[0]); | 3122 checkHttpsHealthCheck(o[0]); |
2631 checkHttpsHealthCheck(o[1]); | 3123 checkHttpsHealthCheck(o[1]); |
2632 } | 3124 } |
2633 | 3125 |
2634 core.int buildCounterHttpsHealthCheckList = 0; | 3126 core.int buildCounterHttpsHealthCheckList = 0; |
2635 buildHttpsHealthCheckList() { | 3127 buildHttpsHealthCheckList() { |
2636 var o = new api.HttpsHealthCheckList(); | 3128 var o = new api.HttpsHealthCheckList(); |
2637 buildCounterHttpsHealthCheckList++; | 3129 buildCounterHttpsHealthCheckList++; |
2638 if (buildCounterHttpsHealthCheckList < 3) { | 3130 if (buildCounterHttpsHealthCheckList < 3) { |
2639 o.id = "foo"; | 3131 o.id = "foo"; |
2640 o.items = buildUnnamed2148(); | 3132 o.items = buildUnnamed2244(); |
2641 o.kind = "foo"; | 3133 o.kind = "foo"; |
2642 o.nextPageToken = "foo"; | 3134 o.nextPageToken = "foo"; |
2643 o.selfLink = "foo"; | 3135 o.selfLink = "foo"; |
2644 } | 3136 } |
2645 buildCounterHttpsHealthCheckList--; | 3137 buildCounterHttpsHealthCheckList--; |
2646 return o; | 3138 return o; |
2647 } | 3139 } |
2648 | 3140 |
2649 checkHttpsHealthCheckList(api.HttpsHealthCheckList o) { | 3141 checkHttpsHealthCheckList(api.HttpsHealthCheckList o) { |
2650 buildCounterHttpsHealthCheckList++; | 3142 buildCounterHttpsHealthCheckList++; |
2651 if (buildCounterHttpsHealthCheckList < 3) { | 3143 if (buildCounterHttpsHealthCheckList < 3) { |
2652 unittest.expect(o.id, unittest.equals('foo')); | 3144 unittest.expect(o.id, unittest.equals('foo')); |
2653 checkUnnamed2148(o.items); | 3145 checkUnnamed2244(o.items); |
2654 unittest.expect(o.kind, unittest.equals('foo')); | 3146 unittest.expect(o.kind, unittest.equals('foo')); |
2655 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3147 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2656 unittest.expect(o.selfLink, unittest.equals('foo')); | 3148 unittest.expect(o.selfLink, unittest.equals('foo')); |
2657 } | 3149 } |
2658 buildCounterHttpsHealthCheckList--; | 3150 buildCounterHttpsHealthCheckList--; |
2659 } | 3151 } |
2660 | 3152 |
2661 buildUnnamed2149() { | 3153 buildUnnamed2245() { |
2662 var o = new core.List<api.GuestOsFeature>(); | 3154 var o = new core.List<api.GuestOsFeature>(); |
2663 o.add(buildGuestOsFeature()); | 3155 o.add(buildGuestOsFeature()); |
2664 o.add(buildGuestOsFeature()); | 3156 o.add(buildGuestOsFeature()); |
2665 return o; | 3157 return o; |
2666 } | 3158 } |
2667 | 3159 |
2668 checkUnnamed2149(core.List<api.GuestOsFeature> o) { | 3160 checkUnnamed2245(core.List<api.GuestOsFeature> o) { |
2669 unittest.expect(o, unittest.hasLength(2)); | 3161 unittest.expect(o, unittest.hasLength(2)); |
2670 checkGuestOsFeature(o[0]); | 3162 checkGuestOsFeature(o[0]); |
2671 checkGuestOsFeature(o[1]); | 3163 checkGuestOsFeature(o[1]); |
2672 } | 3164 } |
2673 | 3165 |
2674 buildUnnamed2150() { | 3166 buildUnnamed2246() { |
2675 var o = new core.Map<core.String, core.String>(); | 3167 var o = new core.Map<core.String, core.String>(); |
2676 o["x"] = "foo"; | 3168 o["x"] = "foo"; |
2677 o["y"] = "foo"; | 3169 o["y"] = "foo"; |
2678 return o; | 3170 return o; |
2679 } | 3171 } |
2680 | 3172 |
2681 checkUnnamed2150(core.Map<core.String, core.String> o) { | 3173 checkUnnamed2246(core.Map<core.String, core.String> o) { |
2682 unittest.expect(o, unittest.hasLength(2)); | 3174 unittest.expect(o, unittest.hasLength(2)); |
2683 unittest.expect(o["x"], unittest.equals('foo')); | 3175 unittest.expect(o["x"], unittest.equals('foo')); |
2684 unittest.expect(o["y"], unittest.equals('foo')); | 3176 unittest.expect(o["y"], unittest.equals('foo')); |
2685 } | 3177 } |
2686 | 3178 |
2687 buildUnnamed2151() { | 3179 buildUnnamed2247() { |
2688 var o = new core.List<core.String>(); | 3180 var o = new core.List<core.String>(); |
2689 o.add("foo"); | 3181 o.add("foo"); |
2690 o.add("foo"); | 3182 o.add("foo"); |
2691 return o; | 3183 return o; |
2692 } | 3184 } |
2693 | 3185 |
2694 checkUnnamed2151(core.List<core.String> o) { | 3186 checkUnnamed2247(core.List<core.String> o) { |
2695 unittest.expect(o, unittest.hasLength(2)); | 3187 unittest.expect(o, unittest.hasLength(2)); |
2696 unittest.expect(o[0], unittest.equals('foo')); | 3188 unittest.expect(o[0], unittest.equals('foo')); |
2697 unittest.expect(o[1], unittest.equals('foo')); | 3189 unittest.expect(o[1], unittest.equals('foo')); |
2698 } | 3190 } |
2699 | 3191 |
2700 core.int buildCounterImageRawDisk = 0; | 3192 core.int buildCounterImageRawDisk = 0; |
2701 buildImageRawDisk() { | 3193 buildImageRawDisk() { |
2702 var o = new api.ImageRawDisk(); | 3194 var o = new api.ImageRawDisk(); |
2703 buildCounterImageRawDisk++; | 3195 buildCounterImageRawDisk++; |
2704 if (buildCounterImageRawDisk < 3) { | 3196 if (buildCounterImageRawDisk < 3) { |
(...skipping 19 matching lines...) Expand all Loading... |
2724 buildImage() { | 3216 buildImage() { |
2725 var o = new api.Image(); | 3217 var o = new api.Image(); |
2726 buildCounterImage++; | 3218 buildCounterImage++; |
2727 if (buildCounterImage < 3) { | 3219 if (buildCounterImage < 3) { |
2728 o.archiveSizeBytes = "foo"; | 3220 o.archiveSizeBytes = "foo"; |
2729 o.creationTimestamp = "foo"; | 3221 o.creationTimestamp = "foo"; |
2730 o.deprecated = buildDeprecationStatus(); | 3222 o.deprecated = buildDeprecationStatus(); |
2731 o.description = "foo"; | 3223 o.description = "foo"; |
2732 o.diskSizeGb = "foo"; | 3224 o.diskSizeGb = "foo"; |
2733 o.family = "foo"; | 3225 o.family = "foo"; |
2734 o.guestOsFeatures = buildUnnamed2149(); | 3226 o.guestOsFeatures = buildUnnamed2245(); |
2735 o.id = "foo"; | 3227 o.id = "foo"; |
2736 o.imageEncryptionKey = buildCustomerEncryptionKey(); | 3228 o.imageEncryptionKey = buildCustomerEncryptionKey(); |
2737 o.kind = "foo"; | 3229 o.kind = "foo"; |
2738 o.labelFingerprint = "foo"; | 3230 o.labelFingerprint = "foo"; |
2739 o.labels = buildUnnamed2150(); | 3231 o.labels = buildUnnamed2246(); |
2740 o.licenses = buildUnnamed2151(); | 3232 o.licenses = buildUnnamed2247(); |
2741 o.name = "foo"; | 3233 o.name = "foo"; |
2742 o.rawDisk = buildImageRawDisk(); | 3234 o.rawDisk = buildImageRawDisk(); |
2743 o.selfLink = "foo"; | 3235 o.selfLink = "foo"; |
2744 o.sourceDisk = "foo"; | 3236 o.sourceDisk = "foo"; |
2745 o.sourceDiskEncryptionKey = buildCustomerEncryptionKey(); | 3237 o.sourceDiskEncryptionKey = buildCustomerEncryptionKey(); |
2746 o.sourceDiskId = "foo"; | 3238 o.sourceDiskId = "foo"; |
2747 o.sourceType = "foo"; | 3239 o.sourceType = "foo"; |
2748 o.status = "foo"; | 3240 o.status = "foo"; |
2749 } | 3241 } |
2750 buildCounterImage--; | 3242 buildCounterImage--; |
2751 return o; | 3243 return o; |
2752 } | 3244 } |
2753 | 3245 |
2754 checkImage(api.Image o) { | 3246 checkImage(api.Image o) { |
2755 buildCounterImage++; | 3247 buildCounterImage++; |
2756 if (buildCounterImage < 3) { | 3248 if (buildCounterImage < 3) { |
2757 unittest.expect(o.archiveSizeBytes, unittest.equals('foo')); | 3249 unittest.expect(o.archiveSizeBytes, unittest.equals('foo')); |
2758 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 3250 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
2759 checkDeprecationStatus(o.deprecated); | 3251 checkDeprecationStatus(o.deprecated); |
2760 unittest.expect(o.description, unittest.equals('foo')); | 3252 unittest.expect(o.description, unittest.equals('foo')); |
2761 unittest.expect(o.diskSizeGb, unittest.equals('foo')); | 3253 unittest.expect(o.diskSizeGb, unittest.equals('foo')); |
2762 unittest.expect(o.family, unittest.equals('foo')); | 3254 unittest.expect(o.family, unittest.equals('foo')); |
2763 checkUnnamed2149(o.guestOsFeatures); | 3255 checkUnnamed2245(o.guestOsFeatures); |
2764 unittest.expect(o.id, unittest.equals('foo')); | 3256 unittest.expect(o.id, unittest.equals('foo')); |
2765 checkCustomerEncryptionKey(o.imageEncryptionKey); | 3257 checkCustomerEncryptionKey(o.imageEncryptionKey); |
2766 unittest.expect(o.kind, unittest.equals('foo')); | 3258 unittest.expect(o.kind, unittest.equals('foo')); |
2767 unittest.expect(o.labelFingerprint, unittest.equals('foo')); | 3259 unittest.expect(o.labelFingerprint, unittest.equals('foo')); |
2768 checkUnnamed2150(o.labels); | 3260 checkUnnamed2246(o.labels); |
2769 checkUnnamed2151(o.licenses); | 3261 checkUnnamed2247(o.licenses); |
2770 unittest.expect(o.name, unittest.equals('foo')); | 3262 unittest.expect(o.name, unittest.equals('foo')); |
2771 checkImageRawDisk(o.rawDisk); | 3263 checkImageRawDisk(o.rawDisk); |
2772 unittest.expect(o.selfLink, unittest.equals('foo')); | 3264 unittest.expect(o.selfLink, unittest.equals('foo')); |
2773 unittest.expect(o.sourceDisk, unittest.equals('foo')); | 3265 unittest.expect(o.sourceDisk, unittest.equals('foo')); |
2774 checkCustomerEncryptionKey(o.sourceDiskEncryptionKey); | 3266 checkCustomerEncryptionKey(o.sourceDiskEncryptionKey); |
2775 unittest.expect(o.sourceDiskId, unittest.equals('foo')); | 3267 unittest.expect(o.sourceDiskId, unittest.equals('foo')); |
2776 unittest.expect(o.sourceType, unittest.equals('foo')); | 3268 unittest.expect(o.sourceType, unittest.equals('foo')); |
2777 unittest.expect(o.status, unittest.equals('foo')); | 3269 unittest.expect(o.status, unittest.equals('foo')); |
2778 } | 3270 } |
2779 buildCounterImage--; | 3271 buildCounterImage--; |
2780 } | 3272 } |
2781 | 3273 |
2782 buildUnnamed2152() { | 3274 buildUnnamed2248() { |
2783 var o = new core.List<api.Image>(); | 3275 var o = new core.List<api.Image>(); |
2784 o.add(buildImage()); | 3276 o.add(buildImage()); |
2785 o.add(buildImage()); | 3277 o.add(buildImage()); |
2786 return o; | 3278 return o; |
2787 } | 3279 } |
2788 | 3280 |
2789 checkUnnamed2152(core.List<api.Image> o) { | 3281 checkUnnamed2248(core.List<api.Image> o) { |
2790 unittest.expect(o, unittest.hasLength(2)); | 3282 unittest.expect(o, unittest.hasLength(2)); |
2791 checkImage(o[0]); | 3283 checkImage(o[0]); |
2792 checkImage(o[1]); | 3284 checkImage(o[1]); |
2793 } | 3285 } |
2794 | 3286 |
2795 core.int buildCounterImageList = 0; | 3287 core.int buildCounterImageList = 0; |
2796 buildImageList() { | 3288 buildImageList() { |
2797 var o = new api.ImageList(); | 3289 var o = new api.ImageList(); |
2798 buildCounterImageList++; | 3290 buildCounterImageList++; |
2799 if (buildCounterImageList < 3) { | 3291 if (buildCounterImageList < 3) { |
2800 o.id = "foo"; | 3292 o.id = "foo"; |
2801 o.items = buildUnnamed2152(); | 3293 o.items = buildUnnamed2248(); |
2802 o.kind = "foo"; | 3294 o.kind = "foo"; |
2803 o.nextPageToken = "foo"; | 3295 o.nextPageToken = "foo"; |
2804 o.selfLink = "foo"; | 3296 o.selfLink = "foo"; |
2805 } | 3297 } |
2806 buildCounterImageList--; | 3298 buildCounterImageList--; |
2807 return o; | 3299 return o; |
2808 } | 3300 } |
2809 | 3301 |
2810 checkImageList(api.ImageList o) { | 3302 checkImageList(api.ImageList o) { |
2811 buildCounterImageList++; | 3303 buildCounterImageList++; |
2812 if (buildCounterImageList < 3) { | 3304 if (buildCounterImageList < 3) { |
2813 unittest.expect(o.id, unittest.equals('foo')); | 3305 unittest.expect(o.id, unittest.equals('foo')); |
2814 checkUnnamed2152(o.items); | 3306 checkUnnamed2248(o.items); |
2815 unittest.expect(o.kind, unittest.equals('foo')); | 3307 unittest.expect(o.kind, unittest.equals('foo')); |
2816 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3308 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2817 unittest.expect(o.selfLink, unittest.equals('foo')); | 3309 unittest.expect(o.selfLink, unittest.equals('foo')); |
2818 } | 3310 } |
2819 buildCounterImageList--; | 3311 buildCounterImageList--; |
2820 } | 3312 } |
2821 | 3313 |
2822 buildUnnamed2153() { | 3314 buildUnnamed2249() { |
2823 var o = new core.List<api.AttachedDisk>(); | 3315 var o = new core.List<api.AttachedDisk>(); |
2824 o.add(buildAttachedDisk()); | 3316 o.add(buildAttachedDisk()); |
2825 o.add(buildAttachedDisk()); | 3317 o.add(buildAttachedDisk()); |
2826 return o; | 3318 return o; |
2827 } | 3319 } |
2828 | 3320 |
2829 checkUnnamed2153(core.List<api.AttachedDisk> o) { | 3321 checkUnnamed2249(core.List<api.AttachedDisk> o) { |
2830 unittest.expect(o, unittest.hasLength(2)); | 3322 unittest.expect(o, unittest.hasLength(2)); |
2831 checkAttachedDisk(o[0]); | 3323 checkAttachedDisk(o[0]); |
2832 checkAttachedDisk(o[1]); | 3324 checkAttachedDisk(o[1]); |
2833 } | 3325 } |
2834 | 3326 |
2835 buildUnnamed2154() { | 3327 buildUnnamed2250() { |
| 3328 var o = new core.List<api.AcceleratorConfig>(); |
| 3329 o.add(buildAcceleratorConfig()); |
| 3330 o.add(buildAcceleratorConfig()); |
| 3331 return o; |
| 3332 } |
| 3333 |
| 3334 checkUnnamed2250(core.List<api.AcceleratorConfig> o) { |
| 3335 unittest.expect(o, unittest.hasLength(2)); |
| 3336 checkAcceleratorConfig(o[0]); |
| 3337 checkAcceleratorConfig(o[1]); |
| 3338 } |
| 3339 |
| 3340 buildUnnamed2251() { |
2836 var o = new core.Map<core.String, core.String>(); | 3341 var o = new core.Map<core.String, core.String>(); |
2837 o["x"] = "foo"; | 3342 o["x"] = "foo"; |
2838 o["y"] = "foo"; | 3343 o["y"] = "foo"; |
2839 return o; | 3344 return o; |
2840 } | 3345 } |
2841 | 3346 |
2842 checkUnnamed2154(core.Map<core.String, core.String> o) { | 3347 checkUnnamed2251(core.Map<core.String, core.String> o) { |
2843 unittest.expect(o, unittest.hasLength(2)); | 3348 unittest.expect(o, unittest.hasLength(2)); |
2844 unittest.expect(o["x"], unittest.equals('foo')); | 3349 unittest.expect(o["x"], unittest.equals('foo')); |
2845 unittest.expect(o["y"], unittest.equals('foo')); | 3350 unittest.expect(o["y"], unittest.equals('foo')); |
2846 } | 3351 } |
2847 | 3352 |
2848 buildUnnamed2155() { | 3353 buildUnnamed2252() { |
2849 var o = new core.List<api.NetworkInterface>(); | 3354 var o = new core.List<api.NetworkInterface>(); |
2850 o.add(buildNetworkInterface()); | 3355 o.add(buildNetworkInterface()); |
2851 o.add(buildNetworkInterface()); | 3356 o.add(buildNetworkInterface()); |
2852 return o; | 3357 return o; |
2853 } | 3358 } |
2854 | 3359 |
2855 checkUnnamed2155(core.List<api.NetworkInterface> o) { | 3360 checkUnnamed2252(core.List<api.NetworkInterface> o) { |
2856 unittest.expect(o, unittest.hasLength(2)); | 3361 unittest.expect(o, unittest.hasLength(2)); |
2857 checkNetworkInterface(o[0]); | 3362 checkNetworkInterface(o[0]); |
2858 checkNetworkInterface(o[1]); | 3363 checkNetworkInterface(o[1]); |
2859 } | 3364 } |
2860 | 3365 |
2861 buildUnnamed2156() { | 3366 buildUnnamed2253() { |
2862 var o = new core.List<api.ServiceAccount>(); | 3367 var o = new core.List<api.ServiceAccount>(); |
2863 o.add(buildServiceAccount()); | 3368 o.add(buildServiceAccount()); |
2864 o.add(buildServiceAccount()); | 3369 o.add(buildServiceAccount()); |
2865 return o; | 3370 return o; |
2866 } | 3371 } |
2867 | 3372 |
2868 checkUnnamed2156(core.List<api.ServiceAccount> o) { | 3373 checkUnnamed2253(core.List<api.ServiceAccount> o) { |
2869 unittest.expect(o, unittest.hasLength(2)); | 3374 unittest.expect(o, unittest.hasLength(2)); |
2870 checkServiceAccount(o[0]); | 3375 checkServiceAccount(o[0]); |
2871 checkServiceAccount(o[1]); | 3376 checkServiceAccount(o[1]); |
2872 } | 3377 } |
2873 | 3378 |
2874 core.int buildCounterInstance = 0; | 3379 core.int buildCounterInstance = 0; |
2875 buildInstance() { | 3380 buildInstance() { |
2876 var o = new api.Instance(); | 3381 var o = new api.Instance(); |
2877 buildCounterInstance++; | 3382 buildCounterInstance++; |
2878 if (buildCounterInstance < 3) { | 3383 if (buildCounterInstance < 3) { |
2879 o.canIpForward = true; | 3384 o.canIpForward = true; |
2880 o.cpuPlatform = "foo"; | 3385 o.cpuPlatform = "foo"; |
2881 o.creationTimestamp = "foo"; | 3386 o.creationTimestamp = "foo"; |
2882 o.description = "foo"; | 3387 o.description = "foo"; |
2883 o.disks = buildUnnamed2153(); | 3388 o.disks = buildUnnamed2249(); |
| 3389 o.guestAccelerators = buildUnnamed2250(); |
2884 o.id = "foo"; | 3390 o.id = "foo"; |
2885 o.kind = "foo"; | 3391 o.kind = "foo"; |
2886 o.labelFingerprint = "foo"; | 3392 o.labelFingerprint = "foo"; |
2887 o.labels = buildUnnamed2154(); | 3393 o.labels = buildUnnamed2251(); |
2888 o.machineType = "foo"; | 3394 o.machineType = "foo"; |
2889 o.metadata = buildMetadata(); | 3395 o.metadata = buildMetadata(); |
2890 o.name = "foo"; | 3396 o.name = "foo"; |
2891 o.networkInterfaces = buildUnnamed2155(); | 3397 o.networkInterfaces = buildUnnamed2252(); |
2892 o.scheduling = buildScheduling(); | 3398 o.scheduling = buildScheduling(); |
2893 o.selfLink = "foo"; | 3399 o.selfLink = "foo"; |
2894 o.serviceAccounts = buildUnnamed2156(); | 3400 o.serviceAccounts = buildUnnamed2253(); |
2895 o.startRestricted = true; | 3401 o.startRestricted = true; |
2896 o.status = "foo"; | 3402 o.status = "foo"; |
2897 o.statusMessage = "foo"; | 3403 o.statusMessage = "foo"; |
2898 o.tags = buildTags(); | 3404 o.tags = buildTags(); |
2899 o.zone = "foo"; | 3405 o.zone = "foo"; |
2900 } | 3406 } |
2901 buildCounterInstance--; | 3407 buildCounterInstance--; |
2902 return o; | 3408 return o; |
2903 } | 3409 } |
2904 | 3410 |
2905 checkInstance(api.Instance o) { | 3411 checkInstance(api.Instance o) { |
2906 buildCounterInstance++; | 3412 buildCounterInstance++; |
2907 if (buildCounterInstance < 3) { | 3413 if (buildCounterInstance < 3) { |
2908 unittest.expect(o.canIpForward, unittest.isTrue); | 3414 unittest.expect(o.canIpForward, unittest.isTrue); |
2909 unittest.expect(o.cpuPlatform, unittest.equals('foo')); | 3415 unittest.expect(o.cpuPlatform, unittest.equals('foo')); |
2910 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 3416 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
2911 unittest.expect(o.description, unittest.equals('foo')); | 3417 unittest.expect(o.description, unittest.equals('foo')); |
2912 checkUnnamed2153(o.disks); | 3418 checkUnnamed2249(o.disks); |
| 3419 checkUnnamed2250(o.guestAccelerators); |
2913 unittest.expect(o.id, unittest.equals('foo')); | 3420 unittest.expect(o.id, unittest.equals('foo')); |
2914 unittest.expect(o.kind, unittest.equals('foo')); | 3421 unittest.expect(o.kind, unittest.equals('foo')); |
2915 unittest.expect(o.labelFingerprint, unittest.equals('foo')); | 3422 unittest.expect(o.labelFingerprint, unittest.equals('foo')); |
2916 checkUnnamed2154(o.labels); | 3423 checkUnnamed2251(o.labels); |
2917 unittest.expect(o.machineType, unittest.equals('foo')); | 3424 unittest.expect(o.machineType, unittest.equals('foo')); |
2918 checkMetadata(o.metadata); | 3425 checkMetadata(o.metadata); |
2919 unittest.expect(o.name, unittest.equals('foo')); | 3426 unittest.expect(o.name, unittest.equals('foo')); |
2920 checkUnnamed2155(o.networkInterfaces); | 3427 checkUnnamed2252(o.networkInterfaces); |
2921 checkScheduling(o.scheduling); | 3428 checkScheduling(o.scheduling); |
2922 unittest.expect(o.selfLink, unittest.equals('foo')); | 3429 unittest.expect(o.selfLink, unittest.equals('foo')); |
2923 checkUnnamed2156(o.serviceAccounts); | 3430 checkUnnamed2253(o.serviceAccounts); |
2924 unittest.expect(o.startRestricted, unittest.isTrue); | 3431 unittest.expect(o.startRestricted, unittest.isTrue); |
2925 unittest.expect(o.status, unittest.equals('foo')); | 3432 unittest.expect(o.status, unittest.equals('foo')); |
2926 unittest.expect(o.statusMessage, unittest.equals('foo')); | 3433 unittest.expect(o.statusMessage, unittest.equals('foo')); |
2927 checkTags(o.tags); | 3434 checkTags(o.tags); |
2928 unittest.expect(o.zone, unittest.equals('foo')); | 3435 unittest.expect(o.zone, unittest.equals('foo')); |
2929 } | 3436 } |
2930 buildCounterInstance--; | 3437 buildCounterInstance--; |
2931 } | 3438 } |
2932 | 3439 |
2933 buildUnnamed2157() { | 3440 buildUnnamed2254() { |
2934 var o = new core.Map<core.String, api.InstancesScopedList>(); | 3441 var o = new core.Map<core.String, api.InstancesScopedList>(); |
2935 o["x"] = buildInstancesScopedList(); | 3442 o["x"] = buildInstancesScopedList(); |
2936 o["y"] = buildInstancesScopedList(); | 3443 o["y"] = buildInstancesScopedList(); |
2937 return o; | 3444 return o; |
2938 } | 3445 } |
2939 | 3446 |
2940 checkUnnamed2157(core.Map<core.String, api.InstancesScopedList> o) { | 3447 checkUnnamed2254(core.Map<core.String, api.InstancesScopedList> o) { |
2941 unittest.expect(o, unittest.hasLength(2)); | 3448 unittest.expect(o, unittest.hasLength(2)); |
2942 checkInstancesScopedList(o["x"]); | 3449 checkInstancesScopedList(o["x"]); |
2943 checkInstancesScopedList(o["y"]); | 3450 checkInstancesScopedList(o["y"]); |
2944 } | 3451 } |
2945 | 3452 |
2946 core.int buildCounterInstanceAggregatedList = 0; | 3453 core.int buildCounterInstanceAggregatedList = 0; |
2947 buildInstanceAggregatedList() { | 3454 buildInstanceAggregatedList() { |
2948 var o = new api.InstanceAggregatedList(); | 3455 var o = new api.InstanceAggregatedList(); |
2949 buildCounterInstanceAggregatedList++; | 3456 buildCounterInstanceAggregatedList++; |
2950 if (buildCounterInstanceAggregatedList < 3) { | 3457 if (buildCounterInstanceAggregatedList < 3) { |
2951 o.id = "foo"; | 3458 o.id = "foo"; |
2952 o.items = buildUnnamed2157(); | 3459 o.items = buildUnnamed2254(); |
2953 o.kind = "foo"; | 3460 o.kind = "foo"; |
2954 o.nextPageToken = "foo"; | 3461 o.nextPageToken = "foo"; |
2955 o.selfLink = "foo"; | 3462 o.selfLink = "foo"; |
2956 } | 3463 } |
2957 buildCounterInstanceAggregatedList--; | 3464 buildCounterInstanceAggregatedList--; |
2958 return o; | 3465 return o; |
2959 } | 3466 } |
2960 | 3467 |
2961 checkInstanceAggregatedList(api.InstanceAggregatedList o) { | 3468 checkInstanceAggregatedList(api.InstanceAggregatedList o) { |
2962 buildCounterInstanceAggregatedList++; | 3469 buildCounterInstanceAggregatedList++; |
2963 if (buildCounterInstanceAggregatedList < 3) { | 3470 if (buildCounterInstanceAggregatedList < 3) { |
2964 unittest.expect(o.id, unittest.equals('foo')); | 3471 unittest.expect(o.id, unittest.equals('foo')); |
2965 checkUnnamed2157(o.items); | 3472 checkUnnamed2254(o.items); |
2966 unittest.expect(o.kind, unittest.equals('foo')); | 3473 unittest.expect(o.kind, unittest.equals('foo')); |
2967 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3474 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2968 unittest.expect(o.selfLink, unittest.equals('foo')); | 3475 unittest.expect(o.selfLink, unittest.equals('foo')); |
2969 } | 3476 } |
2970 buildCounterInstanceAggregatedList--; | 3477 buildCounterInstanceAggregatedList--; |
2971 } | 3478 } |
2972 | 3479 |
2973 buildUnnamed2158() { | 3480 buildUnnamed2255() { |
2974 var o = new core.List<api.NamedPort>(); | 3481 var o = new core.List<api.NamedPort>(); |
2975 o.add(buildNamedPort()); | 3482 o.add(buildNamedPort()); |
2976 o.add(buildNamedPort()); | 3483 o.add(buildNamedPort()); |
2977 return o; | 3484 return o; |
2978 } | 3485 } |
2979 | 3486 |
2980 checkUnnamed2158(core.List<api.NamedPort> o) { | 3487 checkUnnamed2255(core.List<api.NamedPort> o) { |
2981 unittest.expect(o, unittest.hasLength(2)); | 3488 unittest.expect(o, unittest.hasLength(2)); |
2982 checkNamedPort(o[0]); | 3489 checkNamedPort(o[0]); |
2983 checkNamedPort(o[1]); | 3490 checkNamedPort(o[1]); |
2984 } | 3491 } |
2985 | 3492 |
2986 core.int buildCounterInstanceGroup = 0; | 3493 core.int buildCounterInstanceGroup = 0; |
2987 buildInstanceGroup() { | 3494 buildInstanceGroup() { |
2988 var o = new api.InstanceGroup(); | 3495 var o = new api.InstanceGroup(); |
2989 buildCounterInstanceGroup++; | 3496 buildCounterInstanceGroup++; |
2990 if (buildCounterInstanceGroup < 3) { | 3497 if (buildCounterInstanceGroup < 3) { |
2991 o.creationTimestamp = "foo"; | 3498 o.creationTimestamp = "foo"; |
2992 o.description = "foo"; | 3499 o.description = "foo"; |
2993 o.fingerprint = "foo"; | 3500 o.fingerprint = "foo"; |
2994 o.id = "foo"; | 3501 o.id = "foo"; |
2995 o.kind = "foo"; | 3502 o.kind = "foo"; |
2996 o.name = "foo"; | 3503 o.name = "foo"; |
2997 o.namedPorts = buildUnnamed2158(); | 3504 o.namedPorts = buildUnnamed2255(); |
2998 o.network = "foo"; | 3505 o.network = "foo"; |
2999 o.region = "foo"; | 3506 o.region = "foo"; |
3000 o.selfLink = "foo"; | 3507 o.selfLink = "foo"; |
3001 o.size = 42; | 3508 o.size = 42; |
3002 o.subnetwork = "foo"; | 3509 o.subnetwork = "foo"; |
3003 o.zone = "foo"; | 3510 o.zone = "foo"; |
3004 } | 3511 } |
3005 buildCounterInstanceGroup--; | 3512 buildCounterInstanceGroup--; |
3006 return o; | 3513 return o; |
3007 } | 3514 } |
3008 | 3515 |
3009 checkInstanceGroup(api.InstanceGroup o) { | 3516 checkInstanceGroup(api.InstanceGroup o) { |
3010 buildCounterInstanceGroup++; | 3517 buildCounterInstanceGroup++; |
3011 if (buildCounterInstanceGroup < 3) { | 3518 if (buildCounterInstanceGroup < 3) { |
3012 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 3519 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
3013 unittest.expect(o.description, unittest.equals('foo')); | 3520 unittest.expect(o.description, unittest.equals('foo')); |
3014 unittest.expect(o.fingerprint, unittest.equals('foo')); | 3521 unittest.expect(o.fingerprint, unittest.equals('foo')); |
3015 unittest.expect(o.id, unittest.equals('foo')); | 3522 unittest.expect(o.id, unittest.equals('foo')); |
3016 unittest.expect(o.kind, unittest.equals('foo')); | 3523 unittest.expect(o.kind, unittest.equals('foo')); |
3017 unittest.expect(o.name, unittest.equals('foo')); | 3524 unittest.expect(o.name, unittest.equals('foo')); |
3018 checkUnnamed2158(o.namedPorts); | 3525 checkUnnamed2255(o.namedPorts); |
3019 unittest.expect(o.network, unittest.equals('foo')); | 3526 unittest.expect(o.network, unittest.equals('foo')); |
3020 unittest.expect(o.region, unittest.equals('foo')); | 3527 unittest.expect(o.region, unittest.equals('foo')); |
3021 unittest.expect(o.selfLink, unittest.equals('foo')); | 3528 unittest.expect(o.selfLink, unittest.equals('foo')); |
3022 unittest.expect(o.size, unittest.equals(42)); | 3529 unittest.expect(o.size, unittest.equals(42)); |
3023 unittest.expect(o.subnetwork, unittest.equals('foo')); | 3530 unittest.expect(o.subnetwork, unittest.equals('foo')); |
3024 unittest.expect(o.zone, unittest.equals('foo')); | 3531 unittest.expect(o.zone, unittest.equals('foo')); |
3025 } | 3532 } |
3026 buildCounterInstanceGroup--; | 3533 buildCounterInstanceGroup--; |
3027 } | 3534 } |
3028 | 3535 |
3029 buildUnnamed2159() { | 3536 buildUnnamed2256() { |
3030 var o = new core.Map<core.String, api.InstanceGroupsScopedList>(); | 3537 var o = new core.Map<core.String, api.InstanceGroupsScopedList>(); |
3031 o["x"] = buildInstanceGroupsScopedList(); | 3538 o["x"] = buildInstanceGroupsScopedList(); |
3032 o["y"] = buildInstanceGroupsScopedList(); | 3539 o["y"] = buildInstanceGroupsScopedList(); |
3033 return o; | 3540 return o; |
3034 } | 3541 } |
3035 | 3542 |
3036 checkUnnamed2159(core.Map<core.String, api.InstanceGroupsScopedList> o) { | 3543 checkUnnamed2256(core.Map<core.String, api.InstanceGroupsScopedList> o) { |
3037 unittest.expect(o, unittest.hasLength(2)); | 3544 unittest.expect(o, unittest.hasLength(2)); |
3038 checkInstanceGroupsScopedList(o["x"]); | 3545 checkInstanceGroupsScopedList(o["x"]); |
3039 checkInstanceGroupsScopedList(o["y"]); | 3546 checkInstanceGroupsScopedList(o["y"]); |
3040 } | 3547 } |
3041 | 3548 |
3042 core.int buildCounterInstanceGroupAggregatedList = 0; | 3549 core.int buildCounterInstanceGroupAggregatedList = 0; |
3043 buildInstanceGroupAggregatedList() { | 3550 buildInstanceGroupAggregatedList() { |
3044 var o = new api.InstanceGroupAggregatedList(); | 3551 var o = new api.InstanceGroupAggregatedList(); |
3045 buildCounterInstanceGroupAggregatedList++; | 3552 buildCounterInstanceGroupAggregatedList++; |
3046 if (buildCounterInstanceGroupAggregatedList < 3) { | 3553 if (buildCounterInstanceGroupAggregatedList < 3) { |
3047 o.id = "foo"; | 3554 o.id = "foo"; |
3048 o.items = buildUnnamed2159(); | 3555 o.items = buildUnnamed2256(); |
3049 o.kind = "foo"; | 3556 o.kind = "foo"; |
3050 o.nextPageToken = "foo"; | 3557 o.nextPageToken = "foo"; |
3051 o.selfLink = "foo"; | 3558 o.selfLink = "foo"; |
3052 } | 3559 } |
3053 buildCounterInstanceGroupAggregatedList--; | 3560 buildCounterInstanceGroupAggregatedList--; |
3054 return o; | 3561 return o; |
3055 } | 3562 } |
3056 | 3563 |
3057 checkInstanceGroupAggregatedList(api.InstanceGroupAggregatedList o) { | 3564 checkInstanceGroupAggregatedList(api.InstanceGroupAggregatedList o) { |
3058 buildCounterInstanceGroupAggregatedList++; | 3565 buildCounterInstanceGroupAggregatedList++; |
3059 if (buildCounterInstanceGroupAggregatedList < 3) { | 3566 if (buildCounterInstanceGroupAggregatedList < 3) { |
3060 unittest.expect(o.id, unittest.equals('foo')); | 3567 unittest.expect(o.id, unittest.equals('foo')); |
3061 checkUnnamed2159(o.items); | 3568 checkUnnamed2256(o.items); |
3062 unittest.expect(o.kind, unittest.equals('foo')); | 3569 unittest.expect(o.kind, unittest.equals('foo')); |
3063 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3570 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3064 unittest.expect(o.selfLink, unittest.equals('foo')); | 3571 unittest.expect(o.selfLink, unittest.equals('foo')); |
3065 } | 3572 } |
3066 buildCounterInstanceGroupAggregatedList--; | 3573 buildCounterInstanceGroupAggregatedList--; |
3067 } | 3574 } |
3068 | 3575 |
3069 buildUnnamed2160() { | 3576 buildUnnamed2257() { |
3070 var o = new core.List<api.InstanceGroup>(); | 3577 var o = new core.List<api.InstanceGroup>(); |
3071 o.add(buildInstanceGroup()); | 3578 o.add(buildInstanceGroup()); |
3072 o.add(buildInstanceGroup()); | 3579 o.add(buildInstanceGroup()); |
3073 return o; | 3580 return o; |
3074 } | 3581 } |
3075 | 3582 |
3076 checkUnnamed2160(core.List<api.InstanceGroup> o) { | 3583 checkUnnamed2257(core.List<api.InstanceGroup> o) { |
3077 unittest.expect(o, unittest.hasLength(2)); | 3584 unittest.expect(o, unittest.hasLength(2)); |
3078 checkInstanceGroup(o[0]); | 3585 checkInstanceGroup(o[0]); |
3079 checkInstanceGroup(o[1]); | 3586 checkInstanceGroup(o[1]); |
3080 } | 3587 } |
3081 | 3588 |
3082 core.int buildCounterInstanceGroupList = 0; | 3589 core.int buildCounterInstanceGroupList = 0; |
3083 buildInstanceGroupList() { | 3590 buildInstanceGroupList() { |
3084 var o = new api.InstanceGroupList(); | 3591 var o = new api.InstanceGroupList(); |
3085 buildCounterInstanceGroupList++; | 3592 buildCounterInstanceGroupList++; |
3086 if (buildCounterInstanceGroupList < 3) { | 3593 if (buildCounterInstanceGroupList < 3) { |
3087 o.id = "foo"; | 3594 o.id = "foo"; |
3088 o.items = buildUnnamed2160(); | 3595 o.items = buildUnnamed2257(); |
3089 o.kind = "foo"; | 3596 o.kind = "foo"; |
3090 o.nextPageToken = "foo"; | 3597 o.nextPageToken = "foo"; |
3091 o.selfLink = "foo"; | 3598 o.selfLink = "foo"; |
3092 } | 3599 } |
3093 buildCounterInstanceGroupList--; | 3600 buildCounterInstanceGroupList--; |
3094 return o; | 3601 return o; |
3095 } | 3602 } |
3096 | 3603 |
3097 checkInstanceGroupList(api.InstanceGroupList o) { | 3604 checkInstanceGroupList(api.InstanceGroupList o) { |
3098 buildCounterInstanceGroupList++; | 3605 buildCounterInstanceGroupList++; |
3099 if (buildCounterInstanceGroupList < 3) { | 3606 if (buildCounterInstanceGroupList < 3) { |
3100 unittest.expect(o.id, unittest.equals('foo')); | 3607 unittest.expect(o.id, unittest.equals('foo')); |
3101 checkUnnamed2160(o.items); | 3608 checkUnnamed2257(o.items); |
3102 unittest.expect(o.kind, unittest.equals('foo')); | 3609 unittest.expect(o.kind, unittest.equals('foo')); |
3103 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3610 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3104 unittest.expect(o.selfLink, unittest.equals('foo')); | 3611 unittest.expect(o.selfLink, unittest.equals('foo')); |
3105 } | 3612 } |
3106 buildCounterInstanceGroupList--; | 3613 buildCounterInstanceGroupList--; |
3107 } | 3614 } |
3108 | 3615 |
3109 buildUnnamed2161() { | 3616 buildUnnamed2258() { |
3110 var o = new core.List<api.NamedPort>(); | 3617 var o = new core.List<api.NamedPort>(); |
3111 o.add(buildNamedPort()); | 3618 o.add(buildNamedPort()); |
3112 o.add(buildNamedPort()); | 3619 o.add(buildNamedPort()); |
3113 return o; | 3620 return o; |
3114 } | 3621 } |
3115 | 3622 |
3116 checkUnnamed2161(core.List<api.NamedPort> o) { | 3623 checkUnnamed2258(core.List<api.NamedPort> o) { |
3117 unittest.expect(o, unittest.hasLength(2)); | 3624 unittest.expect(o, unittest.hasLength(2)); |
3118 checkNamedPort(o[0]); | 3625 checkNamedPort(o[0]); |
3119 checkNamedPort(o[1]); | 3626 checkNamedPort(o[1]); |
3120 } | 3627 } |
3121 | 3628 |
3122 buildUnnamed2162() { | 3629 buildUnnamed2259() { |
3123 var o = new core.List<core.String>(); | 3630 var o = new core.List<core.String>(); |
3124 o.add("foo"); | 3631 o.add("foo"); |
3125 o.add("foo"); | 3632 o.add("foo"); |
3126 return o; | 3633 return o; |
3127 } | 3634 } |
3128 | 3635 |
3129 checkUnnamed2162(core.List<core.String> o) { | 3636 checkUnnamed2259(core.List<core.String> o) { |
3130 unittest.expect(o, unittest.hasLength(2)); | 3637 unittest.expect(o, unittest.hasLength(2)); |
3131 unittest.expect(o[0], unittest.equals('foo')); | 3638 unittest.expect(o[0], unittest.equals('foo')); |
3132 unittest.expect(o[1], unittest.equals('foo')); | 3639 unittest.expect(o[1], unittest.equals('foo')); |
3133 } | 3640 } |
3134 | 3641 |
3135 core.int buildCounterInstanceGroupManager = 0; | 3642 core.int buildCounterInstanceGroupManager = 0; |
3136 buildInstanceGroupManager() { | 3643 buildInstanceGroupManager() { |
3137 var o = new api.InstanceGroupManager(); | 3644 var o = new api.InstanceGroupManager(); |
3138 buildCounterInstanceGroupManager++; | 3645 buildCounterInstanceGroupManager++; |
3139 if (buildCounterInstanceGroupManager < 3) { | 3646 if (buildCounterInstanceGroupManager < 3) { |
3140 o.baseInstanceName = "foo"; | 3647 o.baseInstanceName = "foo"; |
3141 o.creationTimestamp = "foo"; | 3648 o.creationTimestamp = "foo"; |
3142 o.currentActions = buildInstanceGroupManagerActionsSummary(); | 3649 o.currentActions = buildInstanceGroupManagerActionsSummary(); |
3143 o.description = "foo"; | 3650 o.description = "foo"; |
3144 o.fingerprint = "foo"; | 3651 o.fingerprint = "foo"; |
3145 o.id = "foo"; | 3652 o.id = "foo"; |
3146 o.instanceGroup = "foo"; | 3653 o.instanceGroup = "foo"; |
3147 o.instanceTemplate = "foo"; | 3654 o.instanceTemplate = "foo"; |
3148 o.kind = "foo"; | 3655 o.kind = "foo"; |
3149 o.name = "foo"; | 3656 o.name = "foo"; |
3150 o.namedPorts = buildUnnamed2161(); | 3657 o.namedPorts = buildUnnamed2258(); |
3151 o.region = "foo"; | 3658 o.region = "foo"; |
3152 o.selfLink = "foo"; | 3659 o.selfLink = "foo"; |
3153 o.targetPools = buildUnnamed2162(); | 3660 o.targetPools = buildUnnamed2259(); |
3154 o.targetSize = 42; | 3661 o.targetSize = 42; |
3155 o.zone = "foo"; | 3662 o.zone = "foo"; |
3156 } | 3663 } |
3157 buildCounterInstanceGroupManager--; | 3664 buildCounterInstanceGroupManager--; |
3158 return o; | 3665 return o; |
3159 } | 3666 } |
3160 | 3667 |
3161 checkInstanceGroupManager(api.InstanceGroupManager o) { | 3668 checkInstanceGroupManager(api.InstanceGroupManager o) { |
3162 buildCounterInstanceGroupManager++; | 3669 buildCounterInstanceGroupManager++; |
3163 if (buildCounterInstanceGroupManager < 3) { | 3670 if (buildCounterInstanceGroupManager < 3) { |
3164 unittest.expect(o.baseInstanceName, unittest.equals('foo')); | 3671 unittest.expect(o.baseInstanceName, unittest.equals('foo')); |
3165 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 3672 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
3166 checkInstanceGroupManagerActionsSummary(o.currentActions); | 3673 checkInstanceGroupManagerActionsSummary(o.currentActions); |
3167 unittest.expect(o.description, unittest.equals('foo')); | 3674 unittest.expect(o.description, unittest.equals('foo')); |
3168 unittest.expect(o.fingerprint, unittest.equals('foo')); | 3675 unittest.expect(o.fingerprint, unittest.equals('foo')); |
3169 unittest.expect(o.id, unittest.equals('foo')); | 3676 unittest.expect(o.id, unittest.equals('foo')); |
3170 unittest.expect(o.instanceGroup, unittest.equals('foo')); | 3677 unittest.expect(o.instanceGroup, unittest.equals('foo')); |
3171 unittest.expect(o.instanceTemplate, unittest.equals('foo')); | 3678 unittest.expect(o.instanceTemplate, unittest.equals('foo')); |
3172 unittest.expect(o.kind, unittest.equals('foo')); | 3679 unittest.expect(o.kind, unittest.equals('foo')); |
3173 unittest.expect(o.name, unittest.equals('foo')); | 3680 unittest.expect(o.name, unittest.equals('foo')); |
3174 checkUnnamed2161(o.namedPorts); | 3681 checkUnnamed2258(o.namedPorts); |
3175 unittest.expect(o.region, unittest.equals('foo')); | 3682 unittest.expect(o.region, unittest.equals('foo')); |
3176 unittest.expect(o.selfLink, unittest.equals('foo')); | 3683 unittest.expect(o.selfLink, unittest.equals('foo')); |
3177 checkUnnamed2162(o.targetPools); | 3684 checkUnnamed2259(o.targetPools); |
3178 unittest.expect(o.targetSize, unittest.equals(42)); | 3685 unittest.expect(o.targetSize, unittest.equals(42)); |
3179 unittest.expect(o.zone, unittest.equals('foo')); | 3686 unittest.expect(o.zone, unittest.equals('foo')); |
3180 } | 3687 } |
3181 buildCounterInstanceGroupManager--; | 3688 buildCounterInstanceGroupManager--; |
3182 } | 3689 } |
3183 | 3690 |
3184 core.int buildCounterInstanceGroupManagerActionsSummary = 0; | 3691 core.int buildCounterInstanceGroupManagerActionsSummary = 0; |
3185 buildInstanceGroupManagerActionsSummary() { | 3692 buildInstanceGroupManagerActionsSummary() { |
3186 var o = new api.InstanceGroupManagerActionsSummary(); | 3693 var o = new api.InstanceGroupManagerActionsSummary(); |
3187 buildCounterInstanceGroupManagerActionsSummary++; | 3694 buildCounterInstanceGroupManagerActionsSummary++; |
(...skipping 19 matching lines...) Expand all Loading... |
3207 unittest.expect(o.creatingWithoutRetries, unittest.equals(42)); | 3714 unittest.expect(o.creatingWithoutRetries, unittest.equals(42)); |
3208 unittest.expect(o.deleting, unittest.equals(42)); | 3715 unittest.expect(o.deleting, unittest.equals(42)); |
3209 unittest.expect(o.none, unittest.equals(42)); | 3716 unittest.expect(o.none, unittest.equals(42)); |
3210 unittest.expect(o.recreating, unittest.equals(42)); | 3717 unittest.expect(o.recreating, unittest.equals(42)); |
3211 unittest.expect(o.refreshing, unittest.equals(42)); | 3718 unittest.expect(o.refreshing, unittest.equals(42)); |
3212 unittest.expect(o.restarting, unittest.equals(42)); | 3719 unittest.expect(o.restarting, unittest.equals(42)); |
3213 } | 3720 } |
3214 buildCounterInstanceGroupManagerActionsSummary--; | 3721 buildCounterInstanceGroupManagerActionsSummary--; |
3215 } | 3722 } |
3216 | 3723 |
3217 buildUnnamed2163() { | 3724 buildUnnamed2260() { |
3218 var o = new core.Map<core.String, api.InstanceGroupManagersScopedList>(); | 3725 var o = new core.Map<core.String, api.InstanceGroupManagersScopedList>(); |
3219 o["x"] = buildInstanceGroupManagersScopedList(); | 3726 o["x"] = buildInstanceGroupManagersScopedList(); |
3220 o["y"] = buildInstanceGroupManagersScopedList(); | 3727 o["y"] = buildInstanceGroupManagersScopedList(); |
3221 return o; | 3728 return o; |
3222 } | 3729 } |
3223 | 3730 |
3224 checkUnnamed2163(core.Map<core.String, api.InstanceGroupManagersScopedList> o) { | 3731 checkUnnamed2260(core.Map<core.String, api.InstanceGroupManagersScopedList> o) { |
3225 unittest.expect(o, unittest.hasLength(2)); | 3732 unittest.expect(o, unittest.hasLength(2)); |
3226 checkInstanceGroupManagersScopedList(o["x"]); | 3733 checkInstanceGroupManagersScopedList(o["x"]); |
3227 checkInstanceGroupManagersScopedList(o["y"]); | 3734 checkInstanceGroupManagersScopedList(o["y"]); |
3228 } | 3735 } |
3229 | 3736 |
3230 core.int buildCounterInstanceGroupManagerAggregatedList = 0; | 3737 core.int buildCounterInstanceGroupManagerAggregatedList = 0; |
3231 buildInstanceGroupManagerAggregatedList() { | 3738 buildInstanceGroupManagerAggregatedList() { |
3232 var o = new api.InstanceGroupManagerAggregatedList(); | 3739 var o = new api.InstanceGroupManagerAggregatedList(); |
3233 buildCounterInstanceGroupManagerAggregatedList++; | 3740 buildCounterInstanceGroupManagerAggregatedList++; |
3234 if (buildCounterInstanceGroupManagerAggregatedList < 3) { | 3741 if (buildCounterInstanceGroupManagerAggregatedList < 3) { |
3235 o.id = "foo"; | 3742 o.id = "foo"; |
3236 o.items = buildUnnamed2163(); | 3743 o.items = buildUnnamed2260(); |
3237 o.kind = "foo"; | 3744 o.kind = "foo"; |
3238 o.nextPageToken = "foo"; | 3745 o.nextPageToken = "foo"; |
3239 o.selfLink = "foo"; | 3746 o.selfLink = "foo"; |
3240 } | 3747 } |
3241 buildCounterInstanceGroupManagerAggregatedList--; | 3748 buildCounterInstanceGroupManagerAggregatedList--; |
3242 return o; | 3749 return o; |
3243 } | 3750 } |
3244 | 3751 |
3245 checkInstanceGroupManagerAggregatedList(api.InstanceGroupManagerAggregatedList o
) { | 3752 checkInstanceGroupManagerAggregatedList(api.InstanceGroupManagerAggregatedList o
) { |
3246 buildCounterInstanceGroupManagerAggregatedList++; | 3753 buildCounterInstanceGroupManagerAggregatedList++; |
3247 if (buildCounterInstanceGroupManagerAggregatedList < 3) { | 3754 if (buildCounterInstanceGroupManagerAggregatedList < 3) { |
3248 unittest.expect(o.id, unittest.equals('foo')); | 3755 unittest.expect(o.id, unittest.equals('foo')); |
3249 checkUnnamed2163(o.items); | 3756 checkUnnamed2260(o.items); |
3250 unittest.expect(o.kind, unittest.equals('foo')); | 3757 unittest.expect(o.kind, unittest.equals('foo')); |
3251 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3758 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3252 unittest.expect(o.selfLink, unittest.equals('foo')); | 3759 unittest.expect(o.selfLink, unittest.equals('foo')); |
3253 } | 3760 } |
3254 buildCounterInstanceGroupManagerAggregatedList--; | 3761 buildCounterInstanceGroupManagerAggregatedList--; |
3255 } | 3762 } |
3256 | 3763 |
3257 buildUnnamed2164() { | 3764 buildUnnamed2261() { |
3258 var o = new core.List<api.InstanceGroupManager>(); | 3765 var o = new core.List<api.InstanceGroupManager>(); |
3259 o.add(buildInstanceGroupManager()); | 3766 o.add(buildInstanceGroupManager()); |
3260 o.add(buildInstanceGroupManager()); | 3767 o.add(buildInstanceGroupManager()); |
3261 return o; | 3768 return o; |
3262 } | 3769 } |
3263 | 3770 |
3264 checkUnnamed2164(core.List<api.InstanceGroupManager> o) { | 3771 checkUnnamed2261(core.List<api.InstanceGroupManager> o) { |
3265 unittest.expect(o, unittest.hasLength(2)); | 3772 unittest.expect(o, unittest.hasLength(2)); |
3266 checkInstanceGroupManager(o[0]); | 3773 checkInstanceGroupManager(o[0]); |
3267 checkInstanceGroupManager(o[1]); | 3774 checkInstanceGroupManager(o[1]); |
3268 } | 3775 } |
3269 | 3776 |
3270 core.int buildCounterInstanceGroupManagerList = 0; | 3777 core.int buildCounterInstanceGroupManagerList = 0; |
3271 buildInstanceGroupManagerList() { | 3778 buildInstanceGroupManagerList() { |
3272 var o = new api.InstanceGroupManagerList(); | 3779 var o = new api.InstanceGroupManagerList(); |
3273 buildCounterInstanceGroupManagerList++; | 3780 buildCounterInstanceGroupManagerList++; |
3274 if (buildCounterInstanceGroupManagerList < 3) { | 3781 if (buildCounterInstanceGroupManagerList < 3) { |
3275 o.id = "foo"; | 3782 o.id = "foo"; |
3276 o.items = buildUnnamed2164(); | 3783 o.items = buildUnnamed2261(); |
3277 o.kind = "foo"; | 3784 o.kind = "foo"; |
3278 o.nextPageToken = "foo"; | 3785 o.nextPageToken = "foo"; |
3279 o.selfLink = "foo"; | 3786 o.selfLink = "foo"; |
3280 } | 3787 } |
3281 buildCounterInstanceGroupManagerList--; | 3788 buildCounterInstanceGroupManagerList--; |
3282 return o; | 3789 return o; |
3283 } | 3790 } |
3284 | 3791 |
3285 checkInstanceGroupManagerList(api.InstanceGroupManagerList o) { | 3792 checkInstanceGroupManagerList(api.InstanceGroupManagerList o) { |
3286 buildCounterInstanceGroupManagerList++; | 3793 buildCounterInstanceGroupManagerList++; |
3287 if (buildCounterInstanceGroupManagerList < 3) { | 3794 if (buildCounterInstanceGroupManagerList < 3) { |
3288 unittest.expect(o.id, unittest.equals('foo')); | 3795 unittest.expect(o.id, unittest.equals('foo')); |
3289 checkUnnamed2164(o.items); | 3796 checkUnnamed2261(o.items); |
3290 unittest.expect(o.kind, unittest.equals('foo')); | 3797 unittest.expect(o.kind, unittest.equals('foo')); |
3291 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3798 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3292 unittest.expect(o.selfLink, unittest.equals('foo')); | 3799 unittest.expect(o.selfLink, unittest.equals('foo')); |
3293 } | 3800 } |
3294 buildCounterInstanceGroupManagerList--; | 3801 buildCounterInstanceGroupManagerList--; |
3295 } | 3802 } |
3296 | 3803 |
3297 buildUnnamed2165() { | 3804 buildUnnamed2262() { |
3298 var o = new core.List<core.String>(); | 3805 var o = new core.List<core.String>(); |
3299 o.add("foo"); | 3806 o.add("foo"); |
3300 o.add("foo"); | 3807 o.add("foo"); |
3301 return o; | 3808 return o; |
3302 } | 3809 } |
3303 | 3810 |
3304 checkUnnamed2165(core.List<core.String> o) { | 3811 checkUnnamed2262(core.List<core.String> o) { |
3305 unittest.expect(o, unittest.hasLength(2)); | 3812 unittest.expect(o, unittest.hasLength(2)); |
3306 unittest.expect(o[0], unittest.equals('foo')); | 3813 unittest.expect(o[0], unittest.equals('foo')); |
3307 unittest.expect(o[1], unittest.equals('foo')); | 3814 unittest.expect(o[1], unittest.equals('foo')); |
3308 } | 3815 } |
3309 | 3816 |
3310 core.int buildCounterInstanceGroupManagersAbandonInstancesRequest = 0; | 3817 core.int buildCounterInstanceGroupManagersAbandonInstancesRequest = 0; |
3311 buildInstanceGroupManagersAbandonInstancesRequest() { | 3818 buildInstanceGroupManagersAbandonInstancesRequest() { |
3312 var o = new api.InstanceGroupManagersAbandonInstancesRequest(); | 3819 var o = new api.InstanceGroupManagersAbandonInstancesRequest(); |
3313 buildCounterInstanceGroupManagersAbandonInstancesRequest++; | 3820 buildCounterInstanceGroupManagersAbandonInstancesRequest++; |
3314 if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) { | 3821 if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) { |
3315 o.instances = buildUnnamed2165(); | 3822 o.instances = buildUnnamed2262(); |
3316 } | 3823 } |
3317 buildCounterInstanceGroupManagersAbandonInstancesRequest--; | 3824 buildCounterInstanceGroupManagersAbandonInstancesRequest--; |
3318 return o; | 3825 return o; |
3319 } | 3826 } |
3320 | 3827 |
3321 checkInstanceGroupManagersAbandonInstancesRequest(api.InstanceGroupManagersAband
onInstancesRequest o) { | 3828 checkInstanceGroupManagersAbandonInstancesRequest(api.InstanceGroupManagersAband
onInstancesRequest o) { |
3322 buildCounterInstanceGroupManagersAbandonInstancesRequest++; | 3829 buildCounterInstanceGroupManagersAbandonInstancesRequest++; |
3323 if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) { | 3830 if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) { |
3324 checkUnnamed2165(o.instances); | 3831 checkUnnamed2262(o.instances); |
3325 } | 3832 } |
3326 buildCounterInstanceGroupManagersAbandonInstancesRequest--; | 3833 buildCounterInstanceGroupManagersAbandonInstancesRequest--; |
3327 } | 3834 } |
3328 | 3835 |
3329 buildUnnamed2166() { | 3836 buildUnnamed2263() { |
3330 var o = new core.List<core.String>(); | 3837 var o = new core.List<core.String>(); |
3331 o.add("foo"); | 3838 o.add("foo"); |
3332 o.add("foo"); | 3839 o.add("foo"); |
3333 return o; | 3840 return o; |
3334 } | 3841 } |
3335 | 3842 |
3336 checkUnnamed2166(core.List<core.String> o) { | 3843 checkUnnamed2263(core.List<core.String> o) { |
3337 unittest.expect(o, unittest.hasLength(2)); | 3844 unittest.expect(o, unittest.hasLength(2)); |
3338 unittest.expect(o[0], unittest.equals('foo')); | 3845 unittest.expect(o[0], unittest.equals('foo')); |
3339 unittest.expect(o[1], unittest.equals('foo')); | 3846 unittest.expect(o[1], unittest.equals('foo')); |
3340 } | 3847 } |
3341 | 3848 |
3342 core.int buildCounterInstanceGroupManagersDeleteInstancesRequest = 0; | 3849 core.int buildCounterInstanceGroupManagersDeleteInstancesRequest = 0; |
3343 buildInstanceGroupManagersDeleteInstancesRequest() { | 3850 buildInstanceGroupManagersDeleteInstancesRequest() { |
3344 var o = new api.InstanceGroupManagersDeleteInstancesRequest(); | 3851 var o = new api.InstanceGroupManagersDeleteInstancesRequest(); |
3345 buildCounterInstanceGroupManagersDeleteInstancesRequest++; | 3852 buildCounterInstanceGroupManagersDeleteInstancesRequest++; |
3346 if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) { | 3853 if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) { |
3347 o.instances = buildUnnamed2166(); | 3854 o.instances = buildUnnamed2263(); |
3348 } | 3855 } |
3349 buildCounterInstanceGroupManagersDeleteInstancesRequest--; | 3856 buildCounterInstanceGroupManagersDeleteInstancesRequest--; |
3350 return o; | 3857 return o; |
3351 } | 3858 } |
3352 | 3859 |
3353 checkInstanceGroupManagersDeleteInstancesRequest(api.InstanceGroupManagersDelete
InstancesRequest o) { | 3860 checkInstanceGroupManagersDeleteInstancesRequest(api.InstanceGroupManagersDelete
InstancesRequest o) { |
3354 buildCounterInstanceGroupManagersDeleteInstancesRequest++; | 3861 buildCounterInstanceGroupManagersDeleteInstancesRequest++; |
3355 if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) { | 3862 if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) { |
3356 checkUnnamed2166(o.instances); | 3863 checkUnnamed2263(o.instances); |
3357 } | 3864 } |
3358 buildCounterInstanceGroupManagersDeleteInstancesRequest--; | 3865 buildCounterInstanceGroupManagersDeleteInstancesRequest--; |
3359 } | 3866 } |
3360 | 3867 |
3361 buildUnnamed2167() { | 3868 buildUnnamed2264() { |
3362 var o = new core.List<api.ManagedInstance>(); | 3869 var o = new core.List<api.ManagedInstance>(); |
3363 o.add(buildManagedInstance()); | 3870 o.add(buildManagedInstance()); |
3364 o.add(buildManagedInstance()); | 3871 o.add(buildManagedInstance()); |
3365 return o; | 3872 return o; |
3366 } | 3873 } |
3367 | 3874 |
3368 checkUnnamed2167(core.List<api.ManagedInstance> o) { | 3875 checkUnnamed2264(core.List<api.ManagedInstance> o) { |
3369 unittest.expect(o, unittest.hasLength(2)); | 3876 unittest.expect(o, unittest.hasLength(2)); |
3370 checkManagedInstance(o[0]); | 3877 checkManagedInstance(o[0]); |
3371 checkManagedInstance(o[1]); | 3878 checkManagedInstance(o[1]); |
3372 } | 3879 } |
3373 | 3880 |
3374 core.int buildCounterInstanceGroupManagersListManagedInstancesResponse = 0; | 3881 core.int buildCounterInstanceGroupManagersListManagedInstancesResponse = 0; |
3375 buildInstanceGroupManagersListManagedInstancesResponse() { | 3882 buildInstanceGroupManagersListManagedInstancesResponse() { |
3376 var o = new api.InstanceGroupManagersListManagedInstancesResponse(); | 3883 var o = new api.InstanceGroupManagersListManagedInstancesResponse(); |
3377 buildCounterInstanceGroupManagersListManagedInstancesResponse++; | 3884 buildCounterInstanceGroupManagersListManagedInstancesResponse++; |
3378 if (buildCounterInstanceGroupManagersListManagedInstancesResponse < 3) { | 3885 if (buildCounterInstanceGroupManagersListManagedInstancesResponse < 3) { |
3379 o.managedInstances = buildUnnamed2167(); | 3886 o.managedInstances = buildUnnamed2264(); |
3380 } | 3887 } |
3381 buildCounterInstanceGroupManagersListManagedInstancesResponse--; | 3888 buildCounterInstanceGroupManagersListManagedInstancesResponse--; |
3382 return o; | 3889 return o; |
3383 } | 3890 } |
3384 | 3891 |
3385 checkInstanceGroupManagersListManagedInstancesResponse(api.InstanceGroupManagers
ListManagedInstancesResponse o) { | 3892 checkInstanceGroupManagersListManagedInstancesResponse(api.InstanceGroupManagers
ListManagedInstancesResponse o) { |
3386 buildCounterInstanceGroupManagersListManagedInstancesResponse++; | 3893 buildCounterInstanceGroupManagersListManagedInstancesResponse++; |
3387 if (buildCounterInstanceGroupManagersListManagedInstancesResponse < 3) { | 3894 if (buildCounterInstanceGroupManagersListManagedInstancesResponse < 3) { |
3388 checkUnnamed2167(o.managedInstances); | 3895 checkUnnamed2264(o.managedInstances); |
3389 } | 3896 } |
3390 buildCounterInstanceGroupManagersListManagedInstancesResponse--; | 3897 buildCounterInstanceGroupManagersListManagedInstancesResponse--; |
3391 } | 3898 } |
3392 | 3899 |
3393 buildUnnamed2168() { | 3900 buildUnnamed2265() { |
3394 var o = new core.List<core.String>(); | 3901 var o = new core.List<core.String>(); |
3395 o.add("foo"); | 3902 o.add("foo"); |
3396 o.add("foo"); | 3903 o.add("foo"); |
3397 return o; | 3904 return o; |
3398 } | 3905 } |
3399 | 3906 |
3400 checkUnnamed2168(core.List<core.String> o) { | 3907 checkUnnamed2265(core.List<core.String> o) { |
3401 unittest.expect(o, unittest.hasLength(2)); | 3908 unittest.expect(o, unittest.hasLength(2)); |
3402 unittest.expect(o[0], unittest.equals('foo')); | 3909 unittest.expect(o[0], unittest.equals('foo')); |
3403 unittest.expect(o[1], unittest.equals('foo')); | 3910 unittest.expect(o[1], unittest.equals('foo')); |
3404 } | 3911 } |
3405 | 3912 |
3406 core.int buildCounterInstanceGroupManagersRecreateInstancesRequest = 0; | 3913 core.int buildCounterInstanceGroupManagersRecreateInstancesRequest = 0; |
3407 buildInstanceGroupManagersRecreateInstancesRequest() { | 3914 buildInstanceGroupManagersRecreateInstancesRequest() { |
3408 var o = new api.InstanceGroupManagersRecreateInstancesRequest(); | 3915 var o = new api.InstanceGroupManagersRecreateInstancesRequest(); |
3409 buildCounterInstanceGroupManagersRecreateInstancesRequest++; | 3916 buildCounterInstanceGroupManagersRecreateInstancesRequest++; |
3410 if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) { | 3917 if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) { |
3411 o.instances = buildUnnamed2168(); | 3918 o.instances = buildUnnamed2265(); |
3412 } | 3919 } |
3413 buildCounterInstanceGroupManagersRecreateInstancesRequest--; | 3920 buildCounterInstanceGroupManagersRecreateInstancesRequest--; |
3414 return o; | 3921 return o; |
3415 } | 3922 } |
3416 | 3923 |
3417 checkInstanceGroupManagersRecreateInstancesRequest(api.InstanceGroupManagersRecr
eateInstancesRequest o) { | 3924 checkInstanceGroupManagersRecreateInstancesRequest(api.InstanceGroupManagersRecr
eateInstancesRequest o) { |
3418 buildCounterInstanceGroupManagersRecreateInstancesRequest++; | 3925 buildCounterInstanceGroupManagersRecreateInstancesRequest++; |
3419 if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) { | 3926 if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) { |
3420 checkUnnamed2168(o.instances); | 3927 checkUnnamed2265(o.instances); |
3421 } | 3928 } |
3422 buildCounterInstanceGroupManagersRecreateInstancesRequest--; | 3929 buildCounterInstanceGroupManagersRecreateInstancesRequest--; |
3423 } | 3930 } |
3424 | 3931 |
3425 buildUnnamed2169() { | 3932 buildUnnamed2266() { |
3426 var o = new core.List<api.InstanceGroupManager>(); | 3933 var o = new core.List<api.InstanceGroupManager>(); |
3427 o.add(buildInstanceGroupManager()); | 3934 o.add(buildInstanceGroupManager()); |
3428 o.add(buildInstanceGroupManager()); | 3935 o.add(buildInstanceGroupManager()); |
3429 return o; | 3936 return o; |
3430 } | 3937 } |
3431 | 3938 |
3432 checkUnnamed2169(core.List<api.InstanceGroupManager> o) { | 3939 checkUnnamed2266(core.List<api.InstanceGroupManager> o) { |
3433 unittest.expect(o, unittest.hasLength(2)); | 3940 unittest.expect(o, unittest.hasLength(2)); |
3434 checkInstanceGroupManager(o[0]); | 3941 checkInstanceGroupManager(o[0]); |
3435 checkInstanceGroupManager(o[1]); | 3942 checkInstanceGroupManager(o[1]); |
3436 } | 3943 } |
3437 | 3944 |
3438 core.int buildCounterInstanceGroupManagersScopedListWarningData = 0; | 3945 core.int buildCounterInstanceGroupManagersScopedListWarningData = 0; |
3439 buildInstanceGroupManagersScopedListWarningData() { | 3946 buildInstanceGroupManagersScopedListWarningData() { |
3440 var o = new api.InstanceGroupManagersScopedListWarningData(); | 3947 var o = new api.InstanceGroupManagersScopedListWarningData(); |
3441 buildCounterInstanceGroupManagersScopedListWarningData++; | 3948 buildCounterInstanceGroupManagersScopedListWarningData++; |
3442 if (buildCounterInstanceGroupManagersScopedListWarningData < 3) { | 3949 if (buildCounterInstanceGroupManagersScopedListWarningData < 3) { |
3443 o.key = "foo"; | 3950 o.key = "foo"; |
3444 o.value = "foo"; | 3951 o.value = "foo"; |
3445 } | 3952 } |
3446 buildCounterInstanceGroupManagersScopedListWarningData--; | 3953 buildCounterInstanceGroupManagersScopedListWarningData--; |
3447 return o; | 3954 return o; |
3448 } | 3955 } |
3449 | 3956 |
3450 checkInstanceGroupManagersScopedListWarningData(api.InstanceGroupManagersScopedL
istWarningData o) { | 3957 checkInstanceGroupManagersScopedListWarningData(api.InstanceGroupManagersScopedL
istWarningData o) { |
3451 buildCounterInstanceGroupManagersScopedListWarningData++; | 3958 buildCounterInstanceGroupManagersScopedListWarningData++; |
3452 if (buildCounterInstanceGroupManagersScopedListWarningData < 3) { | 3959 if (buildCounterInstanceGroupManagersScopedListWarningData < 3) { |
3453 unittest.expect(o.key, unittest.equals('foo')); | 3960 unittest.expect(o.key, unittest.equals('foo')); |
3454 unittest.expect(o.value, unittest.equals('foo')); | 3961 unittest.expect(o.value, unittest.equals('foo')); |
3455 } | 3962 } |
3456 buildCounterInstanceGroupManagersScopedListWarningData--; | 3963 buildCounterInstanceGroupManagersScopedListWarningData--; |
3457 } | 3964 } |
3458 | 3965 |
3459 buildUnnamed2170() { | 3966 buildUnnamed2267() { |
3460 var o = new core.List<api.InstanceGroupManagersScopedListWarningData>(); | 3967 var o = new core.List<api.InstanceGroupManagersScopedListWarningData>(); |
3461 o.add(buildInstanceGroupManagersScopedListWarningData()); | 3968 o.add(buildInstanceGroupManagersScopedListWarningData()); |
3462 o.add(buildInstanceGroupManagersScopedListWarningData()); | 3969 o.add(buildInstanceGroupManagersScopedListWarningData()); |
3463 return o; | 3970 return o; |
3464 } | 3971 } |
3465 | 3972 |
3466 checkUnnamed2170(core.List<api.InstanceGroupManagersScopedListWarningData> o) { | 3973 checkUnnamed2267(core.List<api.InstanceGroupManagersScopedListWarningData> o) { |
3467 unittest.expect(o, unittest.hasLength(2)); | 3974 unittest.expect(o, unittest.hasLength(2)); |
3468 checkInstanceGroupManagersScopedListWarningData(o[0]); | 3975 checkInstanceGroupManagersScopedListWarningData(o[0]); |
3469 checkInstanceGroupManagersScopedListWarningData(o[1]); | 3976 checkInstanceGroupManagersScopedListWarningData(o[1]); |
3470 } | 3977 } |
3471 | 3978 |
3472 core.int buildCounterInstanceGroupManagersScopedListWarning = 0; | 3979 core.int buildCounterInstanceGroupManagersScopedListWarning = 0; |
3473 buildInstanceGroupManagersScopedListWarning() { | 3980 buildInstanceGroupManagersScopedListWarning() { |
3474 var o = new api.InstanceGroupManagersScopedListWarning(); | 3981 var o = new api.InstanceGroupManagersScopedListWarning(); |
3475 buildCounterInstanceGroupManagersScopedListWarning++; | 3982 buildCounterInstanceGroupManagersScopedListWarning++; |
3476 if (buildCounterInstanceGroupManagersScopedListWarning < 3) { | 3983 if (buildCounterInstanceGroupManagersScopedListWarning < 3) { |
3477 o.code = "foo"; | 3984 o.code = "foo"; |
3478 o.data = buildUnnamed2170(); | 3985 o.data = buildUnnamed2267(); |
3479 o.message = "foo"; | 3986 o.message = "foo"; |
3480 } | 3987 } |
3481 buildCounterInstanceGroupManagersScopedListWarning--; | 3988 buildCounterInstanceGroupManagersScopedListWarning--; |
3482 return o; | 3989 return o; |
3483 } | 3990 } |
3484 | 3991 |
3485 checkInstanceGroupManagersScopedListWarning(api.InstanceGroupManagersScopedListW
arning o) { | 3992 checkInstanceGroupManagersScopedListWarning(api.InstanceGroupManagersScopedListW
arning o) { |
3486 buildCounterInstanceGroupManagersScopedListWarning++; | 3993 buildCounterInstanceGroupManagersScopedListWarning++; |
3487 if (buildCounterInstanceGroupManagersScopedListWarning < 3) { | 3994 if (buildCounterInstanceGroupManagersScopedListWarning < 3) { |
3488 unittest.expect(o.code, unittest.equals('foo')); | 3995 unittest.expect(o.code, unittest.equals('foo')); |
3489 checkUnnamed2170(o.data); | 3996 checkUnnamed2267(o.data); |
3490 unittest.expect(o.message, unittest.equals('foo')); | 3997 unittest.expect(o.message, unittest.equals('foo')); |
3491 } | 3998 } |
3492 buildCounterInstanceGroupManagersScopedListWarning--; | 3999 buildCounterInstanceGroupManagersScopedListWarning--; |
3493 } | 4000 } |
3494 | 4001 |
3495 core.int buildCounterInstanceGroupManagersScopedList = 0; | 4002 core.int buildCounterInstanceGroupManagersScopedList = 0; |
3496 buildInstanceGroupManagersScopedList() { | 4003 buildInstanceGroupManagersScopedList() { |
3497 var o = new api.InstanceGroupManagersScopedList(); | 4004 var o = new api.InstanceGroupManagersScopedList(); |
3498 buildCounterInstanceGroupManagersScopedList++; | 4005 buildCounterInstanceGroupManagersScopedList++; |
3499 if (buildCounterInstanceGroupManagersScopedList < 3) { | 4006 if (buildCounterInstanceGroupManagersScopedList < 3) { |
3500 o.instanceGroupManagers = buildUnnamed2169(); | 4007 o.instanceGroupManagers = buildUnnamed2266(); |
3501 o.warning = buildInstanceGroupManagersScopedListWarning(); | 4008 o.warning = buildInstanceGroupManagersScopedListWarning(); |
3502 } | 4009 } |
3503 buildCounterInstanceGroupManagersScopedList--; | 4010 buildCounterInstanceGroupManagersScopedList--; |
3504 return o; | 4011 return o; |
3505 } | 4012 } |
3506 | 4013 |
3507 checkInstanceGroupManagersScopedList(api.InstanceGroupManagersScopedList o) { | 4014 checkInstanceGroupManagersScopedList(api.InstanceGroupManagersScopedList o) { |
3508 buildCounterInstanceGroupManagersScopedList++; | 4015 buildCounterInstanceGroupManagersScopedList++; |
3509 if (buildCounterInstanceGroupManagersScopedList < 3) { | 4016 if (buildCounterInstanceGroupManagersScopedList < 3) { |
3510 checkUnnamed2169(o.instanceGroupManagers); | 4017 checkUnnamed2266(o.instanceGroupManagers); |
3511 checkInstanceGroupManagersScopedListWarning(o.warning); | 4018 checkInstanceGroupManagersScopedListWarning(o.warning); |
3512 } | 4019 } |
3513 buildCounterInstanceGroupManagersScopedList--; | 4020 buildCounterInstanceGroupManagersScopedList--; |
3514 } | 4021 } |
3515 | 4022 |
3516 core.int buildCounterInstanceGroupManagersSetInstanceTemplateRequest = 0; | 4023 core.int buildCounterInstanceGroupManagersSetInstanceTemplateRequest = 0; |
3517 buildInstanceGroupManagersSetInstanceTemplateRequest() { | 4024 buildInstanceGroupManagersSetInstanceTemplateRequest() { |
3518 var o = new api.InstanceGroupManagersSetInstanceTemplateRequest(); | 4025 var o = new api.InstanceGroupManagersSetInstanceTemplateRequest(); |
3519 buildCounterInstanceGroupManagersSetInstanceTemplateRequest++; | 4026 buildCounterInstanceGroupManagersSetInstanceTemplateRequest++; |
3520 if (buildCounterInstanceGroupManagersSetInstanceTemplateRequest < 3) { | 4027 if (buildCounterInstanceGroupManagersSetInstanceTemplateRequest < 3) { |
3521 o.instanceTemplate = "foo"; | 4028 o.instanceTemplate = "foo"; |
3522 } | 4029 } |
3523 buildCounterInstanceGroupManagersSetInstanceTemplateRequest--; | 4030 buildCounterInstanceGroupManagersSetInstanceTemplateRequest--; |
3524 return o; | 4031 return o; |
3525 } | 4032 } |
3526 | 4033 |
3527 checkInstanceGroupManagersSetInstanceTemplateRequest(api.InstanceGroupManagersSe
tInstanceTemplateRequest o) { | 4034 checkInstanceGroupManagersSetInstanceTemplateRequest(api.InstanceGroupManagersSe
tInstanceTemplateRequest o) { |
3528 buildCounterInstanceGroupManagersSetInstanceTemplateRequest++; | 4035 buildCounterInstanceGroupManagersSetInstanceTemplateRequest++; |
3529 if (buildCounterInstanceGroupManagersSetInstanceTemplateRequest < 3) { | 4036 if (buildCounterInstanceGroupManagersSetInstanceTemplateRequest < 3) { |
3530 unittest.expect(o.instanceTemplate, unittest.equals('foo')); | 4037 unittest.expect(o.instanceTemplate, unittest.equals('foo')); |
3531 } | 4038 } |
3532 buildCounterInstanceGroupManagersSetInstanceTemplateRequest--; | 4039 buildCounterInstanceGroupManagersSetInstanceTemplateRequest--; |
3533 } | 4040 } |
3534 | 4041 |
3535 buildUnnamed2171() { | 4042 buildUnnamed2268() { |
3536 var o = new core.List<core.String>(); | 4043 var o = new core.List<core.String>(); |
3537 o.add("foo"); | 4044 o.add("foo"); |
3538 o.add("foo"); | 4045 o.add("foo"); |
3539 return o; | 4046 return o; |
3540 } | 4047 } |
3541 | 4048 |
3542 checkUnnamed2171(core.List<core.String> o) { | 4049 checkUnnamed2268(core.List<core.String> o) { |
3543 unittest.expect(o, unittest.hasLength(2)); | 4050 unittest.expect(o, unittest.hasLength(2)); |
3544 unittest.expect(o[0], unittest.equals('foo')); | 4051 unittest.expect(o[0], unittest.equals('foo')); |
3545 unittest.expect(o[1], unittest.equals('foo')); | 4052 unittest.expect(o[1], unittest.equals('foo')); |
3546 } | 4053 } |
3547 | 4054 |
3548 core.int buildCounterInstanceGroupManagersSetTargetPoolsRequest = 0; | 4055 core.int buildCounterInstanceGroupManagersSetTargetPoolsRequest = 0; |
3549 buildInstanceGroupManagersSetTargetPoolsRequest() { | 4056 buildInstanceGroupManagersSetTargetPoolsRequest() { |
3550 var o = new api.InstanceGroupManagersSetTargetPoolsRequest(); | 4057 var o = new api.InstanceGroupManagersSetTargetPoolsRequest(); |
3551 buildCounterInstanceGroupManagersSetTargetPoolsRequest++; | 4058 buildCounterInstanceGroupManagersSetTargetPoolsRequest++; |
3552 if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) { | 4059 if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) { |
3553 o.fingerprint = "foo"; | 4060 o.fingerprint = "foo"; |
3554 o.targetPools = buildUnnamed2171(); | 4061 o.targetPools = buildUnnamed2268(); |
3555 } | 4062 } |
3556 buildCounterInstanceGroupManagersSetTargetPoolsRequest--; | 4063 buildCounterInstanceGroupManagersSetTargetPoolsRequest--; |
3557 return o; | 4064 return o; |
3558 } | 4065 } |
3559 | 4066 |
3560 checkInstanceGroupManagersSetTargetPoolsRequest(api.InstanceGroupManagersSetTarg
etPoolsRequest o) { | 4067 checkInstanceGroupManagersSetTargetPoolsRequest(api.InstanceGroupManagersSetTarg
etPoolsRequest o) { |
3561 buildCounterInstanceGroupManagersSetTargetPoolsRequest++; | 4068 buildCounterInstanceGroupManagersSetTargetPoolsRequest++; |
3562 if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) { | 4069 if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) { |
3563 unittest.expect(o.fingerprint, unittest.equals('foo')); | 4070 unittest.expect(o.fingerprint, unittest.equals('foo')); |
3564 checkUnnamed2171(o.targetPools); | 4071 checkUnnamed2268(o.targetPools); |
3565 } | 4072 } |
3566 buildCounterInstanceGroupManagersSetTargetPoolsRequest--; | 4073 buildCounterInstanceGroupManagersSetTargetPoolsRequest--; |
3567 } | 4074 } |
3568 | 4075 |
3569 buildUnnamed2172() { | 4076 buildUnnamed2269() { |
3570 var o = new core.List<api.InstanceReference>(); | 4077 var o = new core.List<api.InstanceReference>(); |
3571 o.add(buildInstanceReference()); | 4078 o.add(buildInstanceReference()); |
3572 o.add(buildInstanceReference()); | 4079 o.add(buildInstanceReference()); |
3573 return o; | 4080 return o; |
3574 } | 4081 } |
3575 | 4082 |
3576 checkUnnamed2172(core.List<api.InstanceReference> o) { | 4083 checkUnnamed2269(core.List<api.InstanceReference> o) { |
3577 unittest.expect(o, unittest.hasLength(2)); | 4084 unittest.expect(o, unittest.hasLength(2)); |
3578 checkInstanceReference(o[0]); | 4085 checkInstanceReference(o[0]); |
3579 checkInstanceReference(o[1]); | 4086 checkInstanceReference(o[1]); |
3580 } | 4087 } |
3581 | 4088 |
3582 core.int buildCounterInstanceGroupsAddInstancesRequest = 0; | 4089 core.int buildCounterInstanceGroupsAddInstancesRequest = 0; |
3583 buildInstanceGroupsAddInstancesRequest() { | 4090 buildInstanceGroupsAddInstancesRequest() { |
3584 var o = new api.InstanceGroupsAddInstancesRequest(); | 4091 var o = new api.InstanceGroupsAddInstancesRequest(); |
3585 buildCounterInstanceGroupsAddInstancesRequest++; | 4092 buildCounterInstanceGroupsAddInstancesRequest++; |
3586 if (buildCounterInstanceGroupsAddInstancesRequest < 3) { | 4093 if (buildCounterInstanceGroupsAddInstancesRequest < 3) { |
3587 o.instances = buildUnnamed2172(); | 4094 o.instances = buildUnnamed2269(); |
3588 } | 4095 } |
3589 buildCounterInstanceGroupsAddInstancesRequest--; | 4096 buildCounterInstanceGroupsAddInstancesRequest--; |
3590 return o; | 4097 return o; |
3591 } | 4098 } |
3592 | 4099 |
3593 checkInstanceGroupsAddInstancesRequest(api.InstanceGroupsAddInstancesRequest o)
{ | 4100 checkInstanceGroupsAddInstancesRequest(api.InstanceGroupsAddInstancesRequest o)
{ |
3594 buildCounterInstanceGroupsAddInstancesRequest++; | 4101 buildCounterInstanceGroupsAddInstancesRequest++; |
3595 if (buildCounterInstanceGroupsAddInstancesRequest < 3) { | 4102 if (buildCounterInstanceGroupsAddInstancesRequest < 3) { |
3596 checkUnnamed2172(o.instances); | 4103 checkUnnamed2269(o.instances); |
3597 } | 4104 } |
3598 buildCounterInstanceGroupsAddInstancesRequest--; | 4105 buildCounterInstanceGroupsAddInstancesRequest--; |
3599 } | 4106 } |
3600 | 4107 |
3601 buildUnnamed2173() { | 4108 buildUnnamed2270() { |
3602 var o = new core.List<api.InstanceWithNamedPorts>(); | 4109 var o = new core.List<api.InstanceWithNamedPorts>(); |
3603 o.add(buildInstanceWithNamedPorts()); | 4110 o.add(buildInstanceWithNamedPorts()); |
3604 o.add(buildInstanceWithNamedPorts()); | 4111 o.add(buildInstanceWithNamedPorts()); |
3605 return o; | 4112 return o; |
3606 } | 4113 } |
3607 | 4114 |
3608 checkUnnamed2173(core.List<api.InstanceWithNamedPorts> o) { | 4115 checkUnnamed2270(core.List<api.InstanceWithNamedPorts> o) { |
3609 unittest.expect(o, unittest.hasLength(2)); | 4116 unittest.expect(o, unittest.hasLength(2)); |
3610 checkInstanceWithNamedPorts(o[0]); | 4117 checkInstanceWithNamedPorts(o[0]); |
3611 checkInstanceWithNamedPorts(o[1]); | 4118 checkInstanceWithNamedPorts(o[1]); |
3612 } | 4119 } |
3613 | 4120 |
3614 core.int buildCounterInstanceGroupsListInstances = 0; | 4121 core.int buildCounterInstanceGroupsListInstances = 0; |
3615 buildInstanceGroupsListInstances() { | 4122 buildInstanceGroupsListInstances() { |
3616 var o = new api.InstanceGroupsListInstances(); | 4123 var o = new api.InstanceGroupsListInstances(); |
3617 buildCounterInstanceGroupsListInstances++; | 4124 buildCounterInstanceGroupsListInstances++; |
3618 if (buildCounterInstanceGroupsListInstances < 3) { | 4125 if (buildCounterInstanceGroupsListInstances < 3) { |
3619 o.id = "foo"; | 4126 o.id = "foo"; |
3620 o.items = buildUnnamed2173(); | 4127 o.items = buildUnnamed2270(); |
3621 o.kind = "foo"; | 4128 o.kind = "foo"; |
3622 o.nextPageToken = "foo"; | 4129 o.nextPageToken = "foo"; |
3623 o.selfLink = "foo"; | 4130 o.selfLink = "foo"; |
3624 } | 4131 } |
3625 buildCounterInstanceGroupsListInstances--; | 4132 buildCounterInstanceGroupsListInstances--; |
3626 return o; | 4133 return o; |
3627 } | 4134 } |
3628 | 4135 |
3629 checkInstanceGroupsListInstances(api.InstanceGroupsListInstances o) { | 4136 checkInstanceGroupsListInstances(api.InstanceGroupsListInstances o) { |
3630 buildCounterInstanceGroupsListInstances++; | 4137 buildCounterInstanceGroupsListInstances++; |
3631 if (buildCounterInstanceGroupsListInstances < 3) { | 4138 if (buildCounterInstanceGroupsListInstances < 3) { |
3632 unittest.expect(o.id, unittest.equals('foo')); | 4139 unittest.expect(o.id, unittest.equals('foo')); |
3633 checkUnnamed2173(o.items); | 4140 checkUnnamed2270(o.items); |
3634 unittest.expect(o.kind, unittest.equals('foo')); | 4141 unittest.expect(o.kind, unittest.equals('foo')); |
3635 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4142 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3636 unittest.expect(o.selfLink, unittest.equals('foo')); | 4143 unittest.expect(o.selfLink, unittest.equals('foo')); |
3637 } | 4144 } |
3638 buildCounterInstanceGroupsListInstances--; | 4145 buildCounterInstanceGroupsListInstances--; |
3639 } | 4146 } |
3640 | 4147 |
3641 core.int buildCounterInstanceGroupsListInstancesRequest = 0; | 4148 core.int buildCounterInstanceGroupsListInstancesRequest = 0; |
3642 buildInstanceGroupsListInstancesRequest() { | 4149 buildInstanceGroupsListInstancesRequest() { |
3643 var o = new api.InstanceGroupsListInstancesRequest(); | 4150 var o = new api.InstanceGroupsListInstancesRequest(); |
3644 buildCounterInstanceGroupsListInstancesRequest++; | 4151 buildCounterInstanceGroupsListInstancesRequest++; |
3645 if (buildCounterInstanceGroupsListInstancesRequest < 3) { | 4152 if (buildCounterInstanceGroupsListInstancesRequest < 3) { |
3646 o.instanceState = "foo"; | 4153 o.instanceState = "foo"; |
3647 } | 4154 } |
3648 buildCounterInstanceGroupsListInstancesRequest--; | 4155 buildCounterInstanceGroupsListInstancesRequest--; |
3649 return o; | 4156 return o; |
3650 } | 4157 } |
3651 | 4158 |
3652 checkInstanceGroupsListInstancesRequest(api.InstanceGroupsListInstancesRequest o
) { | 4159 checkInstanceGroupsListInstancesRequest(api.InstanceGroupsListInstancesRequest o
) { |
3653 buildCounterInstanceGroupsListInstancesRequest++; | 4160 buildCounterInstanceGroupsListInstancesRequest++; |
3654 if (buildCounterInstanceGroupsListInstancesRequest < 3) { | 4161 if (buildCounterInstanceGroupsListInstancesRequest < 3) { |
3655 unittest.expect(o.instanceState, unittest.equals('foo')); | 4162 unittest.expect(o.instanceState, unittest.equals('foo')); |
3656 } | 4163 } |
3657 buildCounterInstanceGroupsListInstancesRequest--; | 4164 buildCounterInstanceGroupsListInstancesRequest--; |
3658 } | 4165 } |
3659 | 4166 |
3660 buildUnnamed2174() { | 4167 buildUnnamed2271() { |
3661 var o = new core.List<api.InstanceReference>(); | 4168 var o = new core.List<api.InstanceReference>(); |
3662 o.add(buildInstanceReference()); | 4169 o.add(buildInstanceReference()); |
3663 o.add(buildInstanceReference()); | 4170 o.add(buildInstanceReference()); |
3664 return o; | 4171 return o; |
3665 } | 4172 } |
3666 | 4173 |
3667 checkUnnamed2174(core.List<api.InstanceReference> o) { | 4174 checkUnnamed2271(core.List<api.InstanceReference> o) { |
3668 unittest.expect(o, unittest.hasLength(2)); | 4175 unittest.expect(o, unittest.hasLength(2)); |
3669 checkInstanceReference(o[0]); | 4176 checkInstanceReference(o[0]); |
3670 checkInstanceReference(o[1]); | 4177 checkInstanceReference(o[1]); |
3671 } | 4178 } |
3672 | 4179 |
3673 core.int buildCounterInstanceGroupsRemoveInstancesRequest = 0; | 4180 core.int buildCounterInstanceGroupsRemoveInstancesRequest = 0; |
3674 buildInstanceGroupsRemoveInstancesRequest() { | 4181 buildInstanceGroupsRemoveInstancesRequest() { |
3675 var o = new api.InstanceGroupsRemoveInstancesRequest(); | 4182 var o = new api.InstanceGroupsRemoveInstancesRequest(); |
3676 buildCounterInstanceGroupsRemoveInstancesRequest++; | 4183 buildCounterInstanceGroupsRemoveInstancesRequest++; |
3677 if (buildCounterInstanceGroupsRemoveInstancesRequest < 3) { | 4184 if (buildCounterInstanceGroupsRemoveInstancesRequest < 3) { |
3678 o.instances = buildUnnamed2174(); | 4185 o.instances = buildUnnamed2271(); |
3679 } | 4186 } |
3680 buildCounterInstanceGroupsRemoveInstancesRequest--; | 4187 buildCounterInstanceGroupsRemoveInstancesRequest--; |
3681 return o; | 4188 return o; |
3682 } | 4189 } |
3683 | 4190 |
3684 checkInstanceGroupsRemoveInstancesRequest(api.InstanceGroupsRemoveInstancesReque
st o) { | 4191 checkInstanceGroupsRemoveInstancesRequest(api.InstanceGroupsRemoveInstancesReque
st o) { |
3685 buildCounterInstanceGroupsRemoveInstancesRequest++; | 4192 buildCounterInstanceGroupsRemoveInstancesRequest++; |
3686 if (buildCounterInstanceGroupsRemoveInstancesRequest < 3) { | 4193 if (buildCounterInstanceGroupsRemoveInstancesRequest < 3) { |
3687 checkUnnamed2174(o.instances); | 4194 checkUnnamed2271(o.instances); |
3688 } | 4195 } |
3689 buildCounterInstanceGroupsRemoveInstancesRequest--; | 4196 buildCounterInstanceGroupsRemoveInstancesRequest--; |
3690 } | 4197 } |
3691 | 4198 |
3692 buildUnnamed2175() { | 4199 buildUnnamed2272() { |
3693 var o = new core.List<api.InstanceGroup>(); | 4200 var o = new core.List<api.InstanceGroup>(); |
3694 o.add(buildInstanceGroup()); | 4201 o.add(buildInstanceGroup()); |
3695 o.add(buildInstanceGroup()); | 4202 o.add(buildInstanceGroup()); |
3696 return o; | 4203 return o; |
3697 } | 4204 } |
3698 | 4205 |
3699 checkUnnamed2175(core.List<api.InstanceGroup> o) { | 4206 checkUnnamed2272(core.List<api.InstanceGroup> o) { |
3700 unittest.expect(o, unittest.hasLength(2)); | 4207 unittest.expect(o, unittest.hasLength(2)); |
3701 checkInstanceGroup(o[0]); | 4208 checkInstanceGroup(o[0]); |
3702 checkInstanceGroup(o[1]); | 4209 checkInstanceGroup(o[1]); |
3703 } | 4210 } |
3704 | 4211 |
3705 core.int buildCounterInstanceGroupsScopedListWarningData = 0; | 4212 core.int buildCounterInstanceGroupsScopedListWarningData = 0; |
3706 buildInstanceGroupsScopedListWarningData() { | 4213 buildInstanceGroupsScopedListWarningData() { |
3707 var o = new api.InstanceGroupsScopedListWarningData(); | 4214 var o = new api.InstanceGroupsScopedListWarningData(); |
3708 buildCounterInstanceGroupsScopedListWarningData++; | 4215 buildCounterInstanceGroupsScopedListWarningData++; |
3709 if (buildCounterInstanceGroupsScopedListWarningData < 3) { | 4216 if (buildCounterInstanceGroupsScopedListWarningData < 3) { |
3710 o.key = "foo"; | 4217 o.key = "foo"; |
3711 o.value = "foo"; | 4218 o.value = "foo"; |
3712 } | 4219 } |
3713 buildCounterInstanceGroupsScopedListWarningData--; | 4220 buildCounterInstanceGroupsScopedListWarningData--; |
3714 return o; | 4221 return o; |
3715 } | 4222 } |
3716 | 4223 |
3717 checkInstanceGroupsScopedListWarningData(api.InstanceGroupsScopedListWarningData
o) { | 4224 checkInstanceGroupsScopedListWarningData(api.InstanceGroupsScopedListWarningData
o) { |
3718 buildCounterInstanceGroupsScopedListWarningData++; | 4225 buildCounterInstanceGroupsScopedListWarningData++; |
3719 if (buildCounterInstanceGroupsScopedListWarningData < 3) { | 4226 if (buildCounterInstanceGroupsScopedListWarningData < 3) { |
3720 unittest.expect(o.key, unittest.equals('foo')); | 4227 unittest.expect(o.key, unittest.equals('foo')); |
3721 unittest.expect(o.value, unittest.equals('foo')); | 4228 unittest.expect(o.value, unittest.equals('foo')); |
3722 } | 4229 } |
3723 buildCounterInstanceGroupsScopedListWarningData--; | 4230 buildCounterInstanceGroupsScopedListWarningData--; |
3724 } | 4231 } |
3725 | 4232 |
3726 buildUnnamed2176() { | 4233 buildUnnamed2273() { |
3727 var o = new core.List<api.InstanceGroupsScopedListWarningData>(); | 4234 var o = new core.List<api.InstanceGroupsScopedListWarningData>(); |
3728 o.add(buildInstanceGroupsScopedListWarningData()); | 4235 o.add(buildInstanceGroupsScopedListWarningData()); |
3729 o.add(buildInstanceGroupsScopedListWarningData()); | 4236 o.add(buildInstanceGroupsScopedListWarningData()); |
3730 return o; | 4237 return o; |
3731 } | 4238 } |
3732 | 4239 |
3733 checkUnnamed2176(core.List<api.InstanceGroupsScopedListWarningData> o) { | 4240 checkUnnamed2273(core.List<api.InstanceGroupsScopedListWarningData> o) { |
3734 unittest.expect(o, unittest.hasLength(2)); | 4241 unittest.expect(o, unittest.hasLength(2)); |
3735 checkInstanceGroupsScopedListWarningData(o[0]); | 4242 checkInstanceGroupsScopedListWarningData(o[0]); |
3736 checkInstanceGroupsScopedListWarningData(o[1]); | 4243 checkInstanceGroupsScopedListWarningData(o[1]); |
3737 } | 4244 } |
3738 | 4245 |
3739 core.int buildCounterInstanceGroupsScopedListWarning = 0; | 4246 core.int buildCounterInstanceGroupsScopedListWarning = 0; |
3740 buildInstanceGroupsScopedListWarning() { | 4247 buildInstanceGroupsScopedListWarning() { |
3741 var o = new api.InstanceGroupsScopedListWarning(); | 4248 var o = new api.InstanceGroupsScopedListWarning(); |
3742 buildCounterInstanceGroupsScopedListWarning++; | 4249 buildCounterInstanceGroupsScopedListWarning++; |
3743 if (buildCounterInstanceGroupsScopedListWarning < 3) { | 4250 if (buildCounterInstanceGroupsScopedListWarning < 3) { |
3744 o.code = "foo"; | 4251 o.code = "foo"; |
3745 o.data = buildUnnamed2176(); | 4252 o.data = buildUnnamed2273(); |
3746 o.message = "foo"; | 4253 o.message = "foo"; |
3747 } | 4254 } |
3748 buildCounterInstanceGroupsScopedListWarning--; | 4255 buildCounterInstanceGroupsScopedListWarning--; |
3749 return o; | 4256 return o; |
3750 } | 4257 } |
3751 | 4258 |
3752 checkInstanceGroupsScopedListWarning(api.InstanceGroupsScopedListWarning o) { | 4259 checkInstanceGroupsScopedListWarning(api.InstanceGroupsScopedListWarning o) { |
3753 buildCounterInstanceGroupsScopedListWarning++; | 4260 buildCounterInstanceGroupsScopedListWarning++; |
3754 if (buildCounterInstanceGroupsScopedListWarning < 3) { | 4261 if (buildCounterInstanceGroupsScopedListWarning < 3) { |
3755 unittest.expect(o.code, unittest.equals('foo')); | 4262 unittest.expect(o.code, unittest.equals('foo')); |
3756 checkUnnamed2176(o.data); | 4263 checkUnnamed2273(o.data); |
3757 unittest.expect(o.message, unittest.equals('foo')); | 4264 unittest.expect(o.message, unittest.equals('foo')); |
3758 } | 4265 } |
3759 buildCounterInstanceGroupsScopedListWarning--; | 4266 buildCounterInstanceGroupsScopedListWarning--; |
3760 } | 4267 } |
3761 | 4268 |
3762 core.int buildCounterInstanceGroupsScopedList = 0; | 4269 core.int buildCounterInstanceGroupsScopedList = 0; |
3763 buildInstanceGroupsScopedList() { | 4270 buildInstanceGroupsScopedList() { |
3764 var o = new api.InstanceGroupsScopedList(); | 4271 var o = new api.InstanceGroupsScopedList(); |
3765 buildCounterInstanceGroupsScopedList++; | 4272 buildCounterInstanceGroupsScopedList++; |
3766 if (buildCounterInstanceGroupsScopedList < 3) { | 4273 if (buildCounterInstanceGroupsScopedList < 3) { |
3767 o.instanceGroups = buildUnnamed2175(); | 4274 o.instanceGroups = buildUnnamed2272(); |
3768 o.warning = buildInstanceGroupsScopedListWarning(); | 4275 o.warning = buildInstanceGroupsScopedListWarning(); |
3769 } | 4276 } |
3770 buildCounterInstanceGroupsScopedList--; | 4277 buildCounterInstanceGroupsScopedList--; |
3771 return o; | 4278 return o; |
3772 } | 4279 } |
3773 | 4280 |
3774 checkInstanceGroupsScopedList(api.InstanceGroupsScopedList o) { | 4281 checkInstanceGroupsScopedList(api.InstanceGroupsScopedList o) { |
3775 buildCounterInstanceGroupsScopedList++; | 4282 buildCounterInstanceGroupsScopedList++; |
3776 if (buildCounterInstanceGroupsScopedList < 3) { | 4283 if (buildCounterInstanceGroupsScopedList < 3) { |
3777 checkUnnamed2175(o.instanceGroups); | 4284 checkUnnamed2272(o.instanceGroups); |
3778 checkInstanceGroupsScopedListWarning(o.warning); | 4285 checkInstanceGroupsScopedListWarning(o.warning); |
3779 } | 4286 } |
3780 buildCounterInstanceGroupsScopedList--; | 4287 buildCounterInstanceGroupsScopedList--; |
3781 } | 4288 } |
3782 | 4289 |
3783 buildUnnamed2177() { | 4290 buildUnnamed2274() { |
3784 var o = new core.List<api.NamedPort>(); | 4291 var o = new core.List<api.NamedPort>(); |
3785 o.add(buildNamedPort()); | 4292 o.add(buildNamedPort()); |
3786 o.add(buildNamedPort()); | 4293 o.add(buildNamedPort()); |
3787 return o; | 4294 return o; |
3788 } | 4295 } |
3789 | 4296 |
3790 checkUnnamed2177(core.List<api.NamedPort> o) { | 4297 checkUnnamed2274(core.List<api.NamedPort> o) { |
3791 unittest.expect(o, unittest.hasLength(2)); | 4298 unittest.expect(o, unittest.hasLength(2)); |
3792 checkNamedPort(o[0]); | 4299 checkNamedPort(o[0]); |
3793 checkNamedPort(o[1]); | 4300 checkNamedPort(o[1]); |
3794 } | 4301 } |
3795 | 4302 |
3796 core.int buildCounterInstanceGroupsSetNamedPortsRequest = 0; | 4303 core.int buildCounterInstanceGroupsSetNamedPortsRequest = 0; |
3797 buildInstanceGroupsSetNamedPortsRequest() { | 4304 buildInstanceGroupsSetNamedPortsRequest() { |
3798 var o = new api.InstanceGroupsSetNamedPortsRequest(); | 4305 var o = new api.InstanceGroupsSetNamedPortsRequest(); |
3799 buildCounterInstanceGroupsSetNamedPortsRequest++; | 4306 buildCounterInstanceGroupsSetNamedPortsRequest++; |
3800 if (buildCounterInstanceGroupsSetNamedPortsRequest < 3) { | 4307 if (buildCounterInstanceGroupsSetNamedPortsRequest < 3) { |
3801 o.fingerprint = "foo"; | 4308 o.fingerprint = "foo"; |
3802 o.namedPorts = buildUnnamed2177(); | 4309 o.namedPorts = buildUnnamed2274(); |
3803 } | 4310 } |
3804 buildCounterInstanceGroupsSetNamedPortsRequest--; | 4311 buildCounterInstanceGroupsSetNamedPortsRequest--; |
3805 return o; | 4312 return o; |
3806 } | 4313 } |
3807 | 4314 |
3808 checkInstanceGroupsSetNamedPortsRequest(api.InstanceGroupsSetNamedPortsRequest o
) { | 4315 checkInstanceGroupsSetNamedPortsRequest(api.InstanceGroupsSetNamedPortsRequest o
) { |
3809 buildCounterInstanceGroupsSetNamedPortsRequest++; | 4316 buildCounterInstanceGroupsSetNamedPortsRequest++; |
3810 if (buildCounterInstanceGroupsSetNamedPortsRequest < 3) { | 4317 if (buildCounterInstanceGroupsSetNamedPortsRequest < 3) { |
3811 unittest.expect(o.fingerprint, unittest.equals('foo')); | 4318 unittest.expect(o.fingerprint, unittest.equals('foo')); |
3812 checkUnnamed2177(o.namedPorts); | 4319 checkUnnamed2274(o.namedPorts); |
3813 } | 4320 } |
3814 buildCounterInstanceGroupsSetNamedPortsRequest--; | 4321 buildCounterInstanceGroupsSetNamedPortsRequest--; |
3815 } | 4322 } |
3816 | 4323 |
3817 buildUnnamed2178() { | 4324 buildUnnamed2275() { |
3818 var o = new core.List<api.Instance>(); | 4325 var o = new core.List<api.Instance>(); |
3819 o.add(buildInstance()); | 4326 o.add(buildInstance()); |
3820 o.add(buildInstance()); | 4327 o.add(buildInstance()); |
3821 return o; | 4328 return o; |
3822 } | 4329 } |
3823 | 4330 |
3824 checkUnnamed2178(core.List<api.Instance> o) { | 4331 checkUnnamed2275(core.List<api.Instance> o) { |
3825 unittest.expect(o, unittest.hasLength(2)); | 4332 unittest.expect(o, unittest.hasLength(2)); |
3826 checkInstance(o[0]); | 4333 checkInstance(o[0]); |
3827 checkInstance(o[1]); | 4334 checkInstance(o[1]); |
3828 } | 4335 } |
3829 | 4336 |
3830 core.int buildCounterInstanceList = 0; | 4337 core.int buildCounterInstanceList = 0; |
3831 buildInstanceList() { | 4338 buildInstanceList() { |
3832 var o = new api.InstanceList(); | 4339 var o = new api.InstanceList(); |
3833 buildCounterInstanceList++; | 4340 buildCounterInstanceList++; |
3834 if (buildCounterInstanceList < 3) { | 4341 if (buildCounterInstanceList < 3) { |
3835 o.id = "foo"; | 4342 o.id = "foo"; |
3836 o.items = buildUnnamed2178(); | 4343 o.items = buildUnnamed2275(); |
3837 o.kind = "foo"; | 4344 o.kind = "foo"; |
3838 o.nextPageToken = "foo"; | 4345 o.nextPageToken = "foo"; |
3839 o.selfLink = "foo"; | 4346 o.selfLink = "foo"; |
3840 } | 4347 } |
3841 buildCounterInstanceList--; | 4348 buildCounterInstanceList--; |
3842 return o; | 4349 return o; |
3843 } | 4350 } |
3844 | 4351 |
3845 checkInstanceList(api.InstanceList o) { | 4352 checkInstanceList(api.InstanceList o) { |
3846 buildCounterInstanceList++; | 4353 buildCounterInstanceList++; |
3847 if (buildCounterInstanceList < 3) { | 4354 if (buildCounterInstanceList < 3) { |
3848 unittest.expect(o.id, unittest.equals('foo')); | 4355 unittest.expect(o.id, unittest.equals('foo')); |
3849 checkUnnamed2178(o.items); | 4356 checkUnnamed2275(o.items); |
3850 unittest.expect(o.kind, unittest.equals('foo')); | 4357 unittest.expect(o.kind, unittest.equals('foo')); |
3851 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4358 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3852 unittest.expect(o.selfLink, unittest.equals('foo')); | 4359 unittest.expect(o.selfLink, unittest.equals('foo')); |
3853 } | 4360 } |
3854 buildCounterInstanceList--; | 4361 buildCounterInstanceList--; |
3855 } | 4362 } |
3856 | 4363 |
3857 core.int buildCounterInstanceMoveRequest = 0; | 4364 core.int buildCounterInstanceMoveRequest = 0; |
3858 buildInstanceMoveRequest() { | 4365 buildInstanceMoveRequest() { |
3859 var o = new api.InstanceMoveRequest(); | 4366 var o = new api.InstanceMoveRequest(); |
3860 buildCounterInstanceMoveRequest++; | 4367 buildCounterInstanceMoveRequest++; |
3861 if (buildCounterInstanceMoveRequest < 3) { | 4368 if (buildCounterInstanceMoveRequest < 3) { |
3862 o.destinationZone = "foo"; | 4369 o.destinationZone = "foo"; |
3863 o.targetInstance = "foo"; | 4370 o.targetInstance = "foo"; |
3864 } | 4371 } |
3865 buildCounterInstanceMoveRequest--; | 4372 buildCounterInstanceMoveRequest--; |
3866 return o; | 4373 return o; |
3867 } | 4374 } |
3868 | 4375 |
3869 checkInstanceMoveRequest(api.InstanceMoveRequest o) { | 4376 checkInstanceMoveRequest(api.InstanceMoveRequest o) { |
3870 buildCounterInstanceMoveRequest++; | 4377 buildCounterInstanceMoveRequest++; |
3871 if (buildCounterInstanceMoveRequest < 3) { | 4378 if (buildCounterInstanceMoveRequest < 3) { |
3872 unittest.expect(o.destinationZone, unittest.equals('foo')); | 4379 unittest.expect(o.destinationZone, unittest.equals('foo')); |
3873 unittest.expect(o.targetInstance, unittest.equals('foo')); | 4380 unittest.expect(o.targetInstance, unittest.equals('foo')); |
3874 } | 4381 } |
3875 buildCounterInstanceMoveRequest--; | 4382 buildCounterInstanceMoveRequest--; |
3876 } | 4383 } |
3877 | 4384 |
3878 buildUnnamed2179() { | 4385 buildUnnamed2276() { |
3879 var o = new core.List<api.AttachedDisk>(); | 4386 var o = new core.List<api.AttachedDisk>(); |
3880 o.add(buildAttachedDisk()); | 4387 o.add(buildAttachedDisk()); |
3881 o.add(buildAttachedDisk()); | 4388 o.add(buildAttachedDisk()); |
3882 return o; | 4389 return o; |
3883 } | 4390 } |
3884 | 4391 |
3885 checkUnnamed2179(core.List<api.AttachedDisk> o) { | 4392 checkUnnamed2276(core.List<api.AttachedDisk> o) { |
3886 unittest.expect(o, unittest.hasLength(2)); | 4393 unittest.expect(o, unittest.hasLength(2)); |
3887 checkAttachedDisk(o[0]); | 4394 checkAttachedDisk(o[0]); |
3888 checkAttachedDisk(o[1]); | 4395 checkAttachedDisk(o[1]); |
3889 } | 4396 } |
3890 | 4397 |
3891 buildUnnamed2180() { | 4398 buildUnnamed2277() { |
| 4399 var o = new core.List<api.AcceleratorConfig>(); |
| 4400 o.add(buildAcceleratorConfig()); |
| 4401 o.add(buildAcceleratorConfig()); |
| 4402 return o; |
| 4403 } |
| 4404 |
| 4405 checkUnnamed2277(core.List<api.AcceleratorConfig> o) { |
| 4406 unittest.expect(o, unittest.hasLength(2)); |
| 4407 checkAcceleratorConfig(o[0]); |
| 4408 checkAcceleratorConfig(o[1]); |
| 4409 } |
| 4410 |
| 4411 buildUnnamed2278() { |
3892 var o = new core.Map<core.String, core.String>(); | 4412 var o = new core.Map<core.String, core.String>(); |
3893 o["x"] = "foo"; | 4413 o["x"] = "foo"; |
3894 o["y"] = "foo"; | 4414 o["y"] = "foo"; |
3895 return o; | 4415 return o; |
3896 } | 4416 } |
3897 | 4417 |
3898 checkUnnamed2180(core.Map<core.String, core.String> o) { | 4418 checkUnnamed2278(core.Map<core.String, core.String> o) { |
3899 unittest.expect(o, unittest.hasLength(2)); | 4419 unittest.expect(o, unittest.hasLength(2)); |
3900 unittest.expect(o["x"], unittest.equals('foo')); | 4420 unittest.expect(o["x"], unittest.equals('foo')); |
3901 unittest.expect(o["y"], unittest.equals('foo')); | 4421 unittest.expect(o["y"], unittest.equals('foo')); |
3902 } | 4422 } |
3903 | 4423 |
3904 buildUnnamed2181() { | 4424 buildUnnamed2279() { |
3905 var o = new core.List<api.NetworkInterface>(); | 4425 var o = new core.List<api.NetworkInterface>(); |
3906 o.add(buildNetworkInterface()); | 4426 o.add(buildNetworkInterface()); |
3907 o.add(buildNetworkInterface()); | 4427 o.add(buildNetworkInterface()); |
3908 return o; | 4428 return o; |
3909 } | 4429 } |
3910 | 4430 |
3911 checkUnnamed2181(core.List<api.NetworkInterface> o) { | 4431 checkUnnamed2279(core.List<api.NetworkInterface> o) { |
3912 unittest.expect(o, unittest.hasLength(2)); | 4432 unittest.expect(o, unittest.hasLength(2)); |
3913 checkNetworkInterface(o[0]); | 4433 checkNetworkInterface(o[0]); |
3914 checkNetworkInterface(o[1]); | 4434 checkNetworkInterface(o[1]); |
3915 } | 4435 } |
3916 | 4436 |
3917 buildUnnamed2182() { | 4437 buildUnnamed2280() { |
3918 var o = new core.List<api.ServiceAccount>(); | 4438 var o = new core.List<api.ServiceAccount>(); |
3919 o.add(buildServiceAccount()); | 4439 o.add(buildServiceAccount()); |
3920 o.add(buildServiceAccount()); | 4440 o.add(buildServiceAccount()); |
3921 return o; | 4441 return o; |
3922 } | 4442 } |
3923 | 4443 |
3924 checkUnnamed2182(core.List<api.ServiceAccount> o) { | 4444 checkUnnamed2280(core.List<api.ServiceAccount> o) { |
3925 unittest.expect(o, unittest.hasLength(2)); | 4445 unittest.expect(o, unittest.hasLength(2)); |
3926 checkServiceAccount(o[0]); | 4446 checkServiceAccount(o[0]); |
3927 checkServiceAccount(o[1]); | 4447 checkServiceAccount(o[1]); |
3928 } | 4448 } |
3929 | 4449 |
3930 core.int buildCounterInstanceProperties = 0; | 4450 core.int buildCounterInstanceProperties = 0; |
3931 buildInstanceProperties() { | 4451 buildInstanceProperties() { |
3932 var o = new api.InstanceProperties(); | 4452 var o = new api.InstanceProperties(); |
3933 buildCounterInstanceProperties++; | 4453 buildCounterInstanceProperties++; |
3934 if (buildCounterInstanceProperties < 3) { | 4454 if (buildCounterInstanceProperties < 3) { |
3935 o.canIpForward = true; | 4455 o.canIpForward = true; |
3936 o.description = "foo"; | 4456 o.description = "foo"; |
3937 o.disks = buildUnnamed2179(); | 4457 o.disks = buildUnnamed2276(); |
3938 o.labels = buildUnnamed2180(); | 4458 o.guestAccelerators = buildUnnamed2277(); |
| 4459 o.labels = buildUnnamed2278(); |
3939 o.machineType = "foo"; | 4460 o.machineType = "foo"; |
3940 o.metadata = buildMetadata(); | 4461 o.metadata = buildMetadata(); |
3941 o.networkInterfaces = buildUnnamed2181(); | 4462 o.networkInterfaces = buildUnnamed2279(); |
3942 o.scheduling = buildScheduling(); | 4463 o.scheduling = buildScheduling(); |
3943 o.serviceAccounts = buildUnnamed2182(); | 4464 o.serviceAccounts = buildUnnamed2280(); |
3944 o.tags = buildTags(); | 4465 o.tags = buildTags(); |
3945 } | 4466 } |
3946 buildCounterInstanceProperties--; | 4467 buildCounterInstanceProperties--; |
3947 return o; | 4468 return o; |
3948 } | 4469 } |
3949 | 4470 |
3950 checkInstanceProperties(api.InstanceProperties o) { | 4471 checkInstanceProperties(api.InstanceProperties o) { |
3951 buildCounterInstanceProperties++; | 4472 buildCounterInstanceProperties++; |
3952 if (buildCounterInstanceProperties < 3) { | 4473 if (buildCounterInstanceProperties < 3) { |
3953 unittest.expect(o.canIpForward, unittest.isTrue); | 4474 unittest.expect(o.canIpForward, unittest.isTrue); |
3954 unittest.expect(o.description, unittest.equals('foo')); | 4475 unittest.expect(o.description, unittest.equals('foo')); |
3955 checkUnnamed2179(o.disks); | 4476 checkUnnamed2276(o.disks); |
3956 checkUnnamed2180(o.labels); | 4477 checkUnnamed2277(o.guestAccelerators); |
| 4478 checkUnnamed2278(o.labels); |
3957 unittest.expect(o.machineType, unittest.equals('foo')); | 4479 unittest.expect(o.machineType, unittest.equals('foo')); |
3958 checkMetadata(o.metadata); | 4480 checkMetadata(o.metadata); |
3959 checkUnnamed2181(o.networkInterfaces); | 4481 checkUnnamed2279(o.networkInterfaces); |
3960 checkScheduling(o.scheduling); | 4482 checkScheduling(o.scheduling); |
3961 checkUnnamed2182(o.serviceAccounts); | 4483 checkUnnamed2280(o.serviceAccounts); |
3962 checkTags(o.tags); | 4484 checkTags(o.tags); |
3963 } | 4485 } |
3964 buildCounterInstanceProperties--; | 4486 buildCounterInstanceProperties--; |
3965 } | 4487 } |
3966 | 4488 |
3967 core.int buildCounterInstanceReference = 0; | 4489 core.int buildCounterInstanceReference = 0; |
3968 buildInstanceReference() { | 4490 buildInstanceReference() { |
3969 var o = new api.InstanceReference(); | 4491 var o = new api.InstanceReference(); |
3970 buildCounterInstanceReference++; | 4492 buildCounterInstanceReference++; |
3971 if (buildCounterInstanceReference < 3) { | 4493 if (buildCounterInstanceReference < 3) { |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4007 unittest.expect(o.description, unittest.equals('foo')); | 4529 unittest.expect(o.description, unittest.equals('foo')); |
4008 unittest.expect(o.id, unittest.equals('foo')); | 4530 unittest.expect(o.id, unittest.equals('foo')); |
4009 unittest.expect(o.kind, unittest.equals('foo')); | 4531 unittest.expect(o.kind, unittest.equals('foo')); |
4010 unittest.expect(o.name, unittest.equals('foo')); | 4532 unittest.expect(o.name, unittest.equals('foo')); |
4011 checkInstanceProperties(o.properties); | 4533 checkInstanceProperties(o.properties); |
4012 unittest.expect(o.selfLink, unittest.equals('foo')); | 4534 unittest.expect(o.selfLink, unittest.equals('foo')); |
4013 } | 4535 } |
4014 buildCounterInstanceTemplate--; | 4536 buildCounterInstanceTemplate--; |
4015 } | 4537 } |
4016 | 4538 |
4017 buildUnnamed2183() { | 4539 buildUnnamed2281() { |
4018 var o = new core.List<api.InstanceTemplate>(); | 4540 var o = new core.List<api.InstanceTemplate>(); |
4019 o.add(buildInstanceTemplate()); | 4541 o.add(buildInstanceTemplate()); |
4020 o.add(buildInstanceTemplate()); | 4542 o.add(buildInstanceTemplate()); |
4021 return o; | 4543 return o; |
4022 } | 4544 } |
4023 | 4545 |
4024 checkUnnamed2183(core.List<api.InstanceTemplate> o) { | 4546 checkUnnamed2281(core.List<api.InstanceTemplate> o) { |
4025 unittest.expect(o, unittest.hasLength(2)); | 4547 unittest.expect(o, unittest.hasLength(2)); |
4026 checkInstanceTemplate(o[0]); | 4548 checkInstanceTemplate(o[0]); |
4027 checkInstanceTemplate(o[1]); | 4549 checkInstanceTemplate(o[1]); |
4028 } | 4550 } |
4029 | 4551 |
4030 core.int buildCounterInstanceTemplateList = 0; | 4552 core.int buildCounterInstanceTemplateList = 0; |
4031 buildInstanceTemplateList() { | 4553 buildInstanceTemplateList() { |
4032 var o = new api.InstanceTemplateList(); | 4554 var o = new api.InstanceTemplateList(); |
4033 buildCounterInstanceTemplateList++; | 4555 buildCounterInstanceTemplateList++; |
4034 if (buildCounterInstanceTemplateList < 3) { | 4556 if (buildCounterInstanceTemplateList < 3) { |
4035 o.id = "foo"; | 4557 o.id = "foo"; |
4036 o.items = buildUnnamed2183(); | 4558 o.items = buildUnnamed2281(); |
4037 o.kind = "foo"; | 4559 o.kind = "foo"; |
4038 o.nextPageToken = "foo"; | 4560 o.nextPageToken = "foo"; |
4039 o.selfLink = "foo"; | 4561 o.selfLink = "foo"; |
4040 } | 4562 } |
4041 buildCounterInstanceTemplateList--; | 4563 buildCounterInstanceTemplateList--; |
4042 return o; | 4564 return o; |
4043 } | 4565 } |
4044 | 4566 |
4045 checkInstanceTemplateList(api.InstanceTemplateList o) { | 4567 checkInstanceTemplateList(api.InstanceTemplateList o) { |
4046 buildCounterInstanceTemplateList++; | 4568 buildCounterInstanceTemplateList++; |
4047 if (buildCounterInstanceTemplateList < 3) { | 4569 if (buildCounterInstanceTemplateList < 3) { |
4048 unittest.expect(o.id, unittest.equals('foo')); | 4570 unittest.expect(o.id, unittest.equals('foo')); |
4049 checkUnnamed2183(o.items); | 4571 checkUnnamed2281(o.items); |
4050 unittest.expect(o.kind, unittest.equals('foo')); | 4572 unittest.expect(o.kind, unittest.equals('foo')); |
4051 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4573 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
4052 unittest.expect(o.selfLink, unittest.equals('foo')); | 4574 unittest.expect(o.selfLink, unittest.equals('foo')); |
4053 } | 4575 } |
4054 buildCounterInstanceTemplateList--; | 4576 buildCounterInstanceTemplateList--; |
4055 } | 4577 } |
4056 | 4578 |
4057 buildUnnamed2184() { | 4579 buildUnnamed2282() { |
4058 var o = new core.List<api.NamedPort>(); | 4580 var o = new core.List<api.NamedPort>(); |
4059 o.add(buildNamedPort()); | 4581 o.add(buildNamedPort()); |
4060 o.add(buildNamedPort()); | 4582 o.add(buildNamedPort()); |
4061 return o; | 4583 return o; |
4062 } | 4584 } |
4063 | 4585 |
4064 checkUnnamed2184(core.List<api.NamedPort> o) { | 4586 checkUnnamed2282(core.List<api.NamedPort> o) { |
4065 unittest.expect(o, unittest.hasLength(2)); | 4587 unittest.expect(o, unittest.hasLength(2)); |
4066 checkNamedPort(o[0]); | 4588 checkNamedPort(o[0]); |
4067 checkNamedPort(o[1]); | 4589 checkNamedPort(o[1]); |
4068 } | 4590 } |
4069 | 4591 |
4070 core.int buildCounterInstanceWithNamedPorts = 0; | 4592 core.int buildCounterInstanceWithNamedPorts = 0; |
4071 buildInstanceWithNamedPorts() { | 4593 buildInstanceWithNamedPorts() { |
4072 var o = new api.InstanceWithNamedPorts(); | 4594 var o = new api.InstanceWithNamedPorts(); |
4073 buildCounterInstanceWithNamedPorts++; | 4595 buildCounterInstanceWithNamedPorts++; |
4074 if (buildCounterInstanceWithNamedPorts < 3) { | 4596 if (buildCounterInstanceWithNamedPorts < 3) { |
4075 o.instance = "foo"; | 4597 o.instance = "foo"; |
4076 o.namedPorts = buildUnnamed2184(); | 4598 o.namedPorts = buildUnnamed2282(); |
4077 o.status = "foo"; | 4599 o.status = "foo"; |
4078 } | 4600 } |
4079 buildCounterInstanceWithNamedPorts--; | 4601 buildCounterInstanceWithNamedPorts--; |
4080 return o; | 4602 return o; |
4081 } | 4603 } |
4082 | 4604 |
4083 checkInstanceWithNamedPorts(api.InstanceWithNamedPorts o) { | 4605 checkInstanceWithNamedPorts(api.InstanceWithNamedPorts o) { |
4084 buildCounterInstanceWithNamedPorts++; | 4606 buildCounterInstanceWithNamedPorts++; |
4085 if (buildCounterInstanceWithNamedPorts < 3) { | 4607 if (buildCounterInstanceWithNamedPorts < 3) { |
4086 unittest.expect(o.instance, unittest.equals('foo')); | 4608 unittest.expect(o.instance, unittest.equals('foo')); |
4087 checkUnnamed2184(o.namedPorts); | 4609 checkUnnamed2282(o.namedPorts); |
4088 unittest.expect(o.status, unittest.equals('foo')); | 4610 unittest.expect(o.status, unittest.equals('foo')); |
4089 } | 4611 } |
4090 buildCounterInstanceWithNamedPorts--; | 4612 buildCounterInstanceWithNamedPorts--; |
4091 } | 4613 } |
4092 | 4614 |
4093 buildUnnamed2185() { | 4615 buildUnnamed2283() { |
4094 var o = new core.List<api.Instance>(); | 4616 var o = new core.List<api.Instance>(); |
4095 o.add(buildInstance()); | 4617 o.add(buildInstance()); |
4096 o.add(buildInstance()); | 4618 o.add(buildInstance()); |
4097 return o; | 4619 return o; |
4098 } | 4620 } |
4099 | 4621 |
4100 checkUnnamed2185(core.List<api.Instance> o) { | 4622 checkUnnamed2283(core.List<api.Instance> o) { |
4101 unittest.expect(o, unittest.hasLength(2)); | 4623 unittest.expect(o, unittest.hasLength(2)); |
4102 checkInstance(o[0]); | 4624 checkInstance(o[0]); |
4103 checkInstance(o[1]); | 4625 checkInstance(o[1]); |
4104 } | 4626 } |
4105 | 4627 |
4106 core.int buildCounterInstancesScopedListWarningData = 0; | 4628 core.int buildCounterInstancesScopedListWarningData = 0; |
4107 buildInstancesScopedListWarningData() { | 4629 buildInstancesScopedListWarningData() { |
4108 var o = new api.InstancesScopedListWarningData(); | 4630 var o = new api.InstancesScopedListWarningData(); |
4109 buildCounterInstancesScopedListWarningData++; | 4631 buildCounterInstancesScopedListWarningData++; |
4110 if (buildCounterInstancesScopedListWarningData < 3) { | 4632 if (buildCounterInstancesScopedListWarningData < 3) { |
4111 o.key = "foo"; | 4633 o.key = "foo"; |
4112 o.value = "foo"; | 4634 o.value = "foo"; |
4113 } | 4635 } |
4114 buildCounterInstancesScopedListWarningData--; | 4636 buildCounterInstancesScopedListWarningData--; |
4115 return o; | 4637 return o; |
4116 } | 4638 } |
4117 | 4639 |
4118 checkInstancesScopedListWarningData(api.InstancesScopedListWarningData o) { | 4640 checkInstancesScopedListWarningData(api.InstancesScopedListWarningData o) { |
4119 buildCounterInstancesScopedListWarningData++; | 4641 buildCounterInstancesScopedListWarningData++; |
4120 if (buildCounterInstancesScopedListWarningData < 3) { | 4642 if (buildCounterInstancesScopedListWarningData < 3) { |
4121 unittest.expect(o.key, unittest.equals('foo')); | 4643 unittest.expect(o.key, unittest.equals('foo')); |
4122 unittest.expect(o.value, unittest.equals('foo')); | 4644 unittest.expect(o.value, unittest.equals('foo')); |
4123 } | 4645 } |
4124 buildCounterInstancesScopedListWarningData--; | 4646 buildCounterInstancesScopedListWarningData--; |
4125 } | 4647 } |
4126 | 4648 |
4127 buildUnnamed2186() { | 4649 buildUnnamed2284() { |
4128 var o = new core.List<api.InstancesScopedListWarningData>(); | 4650 var o = new core.List<api.InstancesScopedListWarningData>(); |
4129 o.add(buildInstancesScopedListWarningData()); | 4651 o.add(buildInstancesScopedListWarningData()); |
4130 o.add(buildInstancesScopedListWarningData()); | 4652 o.add(buildInstancesScopedListWarningData()); |
4131 return o; | 4653 return o; |
4132 } | 4654 } |
4133 | 4655 |
4134 checkUnnamed2186(core.List<api.InstancesScopedListWarningData> o) { | 4656 checkUnnamed2284(core.List<api.InstancesScopedListWarningData> o) { |
4135 unittest.expect(o, unittest.hasLength(2)); | 4657 unittest.expect(o, unittest.hasLength(2)); |
4136 checkInstancesScopedListWarningData(o[0]); | 4658 checkInstancesScopedListWarningData(o[0]); |
4137 checkInstancesScopedListWarningData(o[1]); | 4659 checkInstancesScopedListWarningData(o[1]); |
4138 } | 4660 } |
4139 | 4661 |
4140 core.int buildCounterInstancesScopedListWarning = 0; | 4662 core.int buildCounterInstancesScopedListWarning = 0; |
4141 buildInstancesScopedListWarning() { | 4663 buildInstancesScopedListWarning() { |
4142 var o = new api.InstancesScopedListWarning(); | 4664 var o = new api.InstancesScopedListWarning(); |
4143 buildCounterInstancesScopedListWarning++; | 4665 buildCounterInstancesScopedListWarning++; |
4144 if (buildCounterInstancesScopedListWarning < 3) { | 4666 if (buildCounterInstancesScopedListWarning < 3) { |
4145 o.code = "foo"; | 4667 o.code = "foo"; |
4146 o.data = buildUnnamed2186(); | 4668 o.data = buildUnnamed2284(); |
4147 o.message = "foo"; | 4669 o.message = "foo"; |
4148 } | 4670 } |
4149 buildCounterInstancesScopedListWarning--; | 4671 buildCounterInstancesScopedListWarning--; |
4150 return o; | 4672 return o; |
4151 } | 4673 } |
4152 | 4674 |
4153 checkInstancesScopedListWarning(api.InstancesScopedListWarning o) { | 4675 checkInstancesScopedListWarning(api.InstancesScopedListWarning o) { |
4154 buildCounterInstancesScopedListWarning++; | 4676 buildCounterInstancesScopedListWarning++; |
4155 if (buildCounterInstancesScopedListWarning < 3) { | 4677 if (buildCounterInstancesScopedListWarning < 3) { |
4156 unittest.expect(o.code, unittest.equals('foo')); | 4678 unittest.expect(o.code, unittest.equals('foo')); |
4157 checkUnnamed2186(o.data); | 4679 checkUnnamed2284(o.data); |
4158 unittest.expect(o.message, unittest.equals('foo')); | 4680 unittest.expect(o.message, unittest.equals('foo')); |
4159 } | 4681 } |
4160 buildCounterInstancesScopedListWarning--; | 4682 buildCounterInstancesScopedListWarning--; |
4161 } | 4683 } |
4162 | 4684 |
4163 core.int buildCounterInstancesScopedList = 0; | 4685 core.int buildCounterInstancesScopedList = 0; |
4164 buildInstancesScopedList() { | 4686 buildInstancesScopedList() { |
4165 var o = new api.InstancesScopedList(); | 4687 var o = new api.InstancesScopedList(); |
4166 buildCounterInstancesScopedList++; | 4688 buildCounterInstancesScopedList++; |
4167 if (buildCounterInstancesScopedList < 3) { | 4689 if (buildCounterInstancesScopedList < 3) { |
4168 o.instances = buildUnnamed2185(); | 4690 o.instances = buildUnnamed2283(); |
4169 o.warning = buildInstancesScopedListWarning(); | 4691 o.warning = buildInstancesScopedListWarning(); |
4170 } | 4692 } |
4171 buildCounterInstancesScopedList--; | 4693 buildCounterInstancesScopedList--; |
4172 return o; | 4694 return o; |
4173 } | 4695 } |
4174 | 4696 |
4175 checkInstancesScopedList(api.InstancesScopedList o) { | 4697 checkInstancesScopedList(api.InstancesScopedList o) { |
4176 buildCounterInstancesScopedList++; | 4698 buildCounterInstancesScopedList++; |
4177 if (buildCounterInstancesScopedList < 3) { | 4699 if (buildCounterInstancesScopedList < 3) { |
4178 checkUnnamed2185(o.instances); | 4700 checkUnnamed2283(o.instances); |
4179 checkInstancesScopedListWarning(o.warning); | 4701 checkInstancesScopedListWarning(o.warning); |
4180 } | 4702 } |
4181 buildCounterInstancesScopedList--; | 4703 buildCounterInstancesScopedList--; |
4182 } | 4704 } |
4183 | 4705 |
4184 buildUnnamed2187() { | 4706 buildUnnamed2285() { |
4185 var o = new core.Map<core.String, core.String>(); | 4707 var o = new core.Map<core.String, core.String>(); |
4186 o["x"] = "foo"; | 4708 o["x"] = "foo"; |
4187 o["y"] = "foo"; | 4709 o["y"] = "foo"; |
4188 return o; | 4710 return o; |
4189 } | 4711 } |
4190 | 4712 |
4191 checkUnnamed2187(core.Map<core.String, core.String> o) { | 4713 checkUnnamed2285(core.Map<core.String, core.String> o) { |
4192 unittest.expect(o, unittest.hasLength(2)); | 4714 unittest.expect(o, unittest.hasLength(2)); |
4193 unittest.expect(o["x"], unittest.equals('foo')); | 4715 unittest.expect(o["x"], unittest.equals('foo')); |
4194 unittest.expect(o["y"], unittest.equals('foo')); | 4716 unittest.expect(o["y"], unittest.equals('foo')); |
4195 } | 4717 } |
4196 | 4718 |
4197 core.int buildCounterInstancesSetLabelsRequest = 0; | 4719 core.int buildCounterInstancesSetLabelsRequest = 0; |
4198 buildInstancesSetLabelsRequest() { | 4720 buildInstancesSetLabelsRequest() { |
4199 var o = new api.InstancesSetLabelsRequest(); | 4721 var o = new api.InstancesSetLabelsRequest(); |
4200 buildCounterInstancesSetLabelsRequest++; | 4722 buildCounterInstancesSetLabelsRequest++; |
4201 if (buildCounterInstancesSetLabelsRequest < 3) { | 4723 if (buildCounterInstancesSetLabelsRequest < 3) { |
4202 o.labelFingerprint = "foo"; | 4724 o.labelFingerprint = "foo"; |
4203 o.labels = buildUnnamed2187(); | 4725 o.labels = buildUnnamed2285(); |
4204 } | 4726 } |
4205 buildCounterInstancesSetLabelsRequest--; | 4727 buildCounterInstancesSetLabelsRequest--; |
4206 return o; | 4728 return o; |
4207 } | 4729 } |
4208 | 4730 |
4209 checkInstancesSetLabelsRequest(api.InstancesSetLabelsRequest o) { | 4731 checkInstancesSetLabelsRequest(api.InstancesSetLabelsRequest o) { |
4210 buildCounterInstancesSetLabelsRequest++; | 4732 buildCounterInstancesSetLabelsRequest++; |
4211 if (buildCounterInstancesSetLabelsRequest < 3) { | 4733 if (buildCounterInstancesSetLabelsRequest < 3) { |
4212 unittest.expect(o.labelFingerprint, unittest.equals('foo')); | 4734 unittest.expect(o.labelFingerprint, unittest.equals('foo')); |
4213 checkUnnamed2187(o.labels); | 4735 checkUnnamed2285(o.labels); |
4214 } | 4736 } |
4215 buildCounterInstancesSetLabelsRequest--; | 4737 buildCounterInstancesSetLabelsRequest--; |
4216 } | 4738 } |
4217 | 4739 |
| 4740 buildUnnamed2286() { |
| 4741 var o = new core.List<api.AcceleratorConfig>(); |
| 4742 o.add(buildAcceleratorConfig()); |
| 4743 o.add(buildAcceleratorConfig()); |
| 4744 return o; |
| 4745 } |
| 4746 |
| 4747 checkUnnamed2286(core.List<api.AcceleratorConfig> o) { |
| 4748 unittest.expect(o, unittest.hasLength(2)); |
| 4749 checkAcceleratorConfig(o[0]); |
| 4750 checkAcceleratorConfig(o[1]); |
| 4751 } |
| 4752 |
| 4753 core.int buildCounterInstancesSetMachineResourcesRequest = 0; |
| 4754 buildInstancesSetMachineResourcesRequest() { |
| 4755 var o = new api.InstancesSetMachineResourcesRequest(); |
| 4756 buildCounterInstancesSetMachineResourcesRequest++; |
| 4757 if (buildCounterInstancesSetMachineResourcesRequest < 3) { |
| 4758 o.guestAccelerators = buildUnnamed2286(); |
| 4759 } |
| 4760 buildCounterInstancesSetMachineResourcesRequest--; |
| 4761 return o; |
| 4762 } |
| 4763 |
| 4764 checkInstancesSetMachineResourcesRequest(api.InstancesSetMachineResourcesRequest
o) { |
| 4765 buildCounterInstancesSetMachineResourcesRequest++; |
| 4766 if (buildCounterInstancesSetMachineResourcesRequest < 3) { |
| 4767 checkUnnamed2286(o.guestAccelerators); |
| 4768 } |
| 4769 buildCounterInstancesSetMachineResourcesRequest--; |
| 4770 } |
| 4771 |
4218 core.int buildCounterInstancesSetMachineTypeRequest = 0; | 4772 core.int buildCounterInstancesSetMachineTypeRequest = 0; |
4219 buildInstancesSetMachineTypeRequest() { | 4773 buildInstancesSetMachineTypeRequest() { |
4220 var o = new api.InstancesSetMachineTypeRequest(); | 4774 var o = new api.InstancesSetMachineTypeRequest(); |
4221 buildCounterInstancesSetMachineTypeRequest++; | 4775 buildCounterInstancesSetMachineTypeRequest++; |
4222 if (buildCounterInstancesSetMachineTypeRequest < 3) { | 4776 if (buildCounterInstancesSetMachineTypeRequest < 3) { |
4223 o.machineType = "foo"; | 4777 o.machineType = "foo"; |
4224 } | 4778 } |
4225 buildCounterInstancesSetMachineTypeRequest--; | 4779 buildCounterInstancesSetMachineTypeRequest--; |
4226 return o; | 4780 return o; |
4227 } | 4781 } |
4228 | 4782 |
4229 checkInstancesSetMachineTypeRequest(api.InstancesSetMachineTypeRequest o) { | 4783 checkInstancesSetMachineTypeRequest(api.InstancesSetMachineTypeRequest o) { |
4230 buildCounterInstancesSetMachineTypeRequest++; | 4784 buildCounterInstancesSetMachineTypeRequest++; |
4231 if (buildCounterInstancesSetMachineTypeRequest < 3) { | 4785 if (buildCounterInstancesSetMachineTypeRequest < 3) { |
4232 unittest.expect(o.machineType, unittest.equals('foo')); | 4786 unittest.expect(o.machineType, unittest.equals('foo')); |
4233 } | 4787 } |
4234 buildCounterInstancesSetMachineTypeRequest--; | 4788 buildCounterInstancesSetMachineTypeRequest--; |
4235 } | 4789 } |
4236 | 4790 |
4237 buildUnnamed2188() { | 4791 buildUnnamed2287() { |
4238 var o = new core.List<core.String>(); | 4792 var o = new core.List<core.String>(); |
4239 o.add("foo"); | 4793 o.add("foo"); |
4240 o.add("foo"); | 4794 o.add("foo"); |
4241 return o; | 4795 return o; |
4242 } | 4796 } |
4243 | 4797 |
4244 checkUnnamed2188(core.List<core.String> o) { | 4798 checkUnnamed2287(core.List<core.String> o) { |
4245 unittest.expect(o, unittest.hasLength(2)); | 4799 unittest.expect(o, unittest.hasLength(2)); |
4246 unittest.expect(o[0], unittest.equals('foo')); | 4800 unittest.expect(o[0], unittest.equals('foo')); |
4247 unittest.expect(o[1], unittest.equals('foo')); | 4801 unittest.expect(o[1], unittest.equals('foo')); |
4248 } | 4802 } |
4249 | 4803 |
4250 core.int buildCounterInstancesSetServiceAccountRequest = 0; | 4804 core.int buildCounterInstancesSetServiceAccountRequest = 0; |
4251 buildInstancesSetServiceAccountRequest() { | 4805 buildInstancesSetServiceAccountRequest() { |
4252 var o = new api.InstancesSetServiceAccountRequest(); | 4806 var o = new api.InstancesSetServiceAccountRequest(); |
4253 buildCounterInstancesSetServiceAccountRequest++; | 4807 buildCounterInstancesSetServiceAccountRequest++; |
4254 if (buildCounterInstancesSetServiceAccountRequest < 3) { | 4808 if (buildCounterInstancesSetServiceAccountRequest < 3) { |
4255 o.email = "foo"; | 4809 o.email = "foo"; |
4256 o.scopes = buildUnnamed2188(); | 4810 o.scopes = buildUnnamed2287(); |
4257 } | 4811 } |
4258 buildCounterInstancesSetServiceAccountRequest--; | 4812 buildCounterInstancesSetServiceAccountRequest--; |
4259 return o; | 4813 return o; |
4260 } | 4814 } |
4261 | 4815 |
4262 checkInstancesSetServiceAccountRequest(api.InstancesSetServiceAccountRequest o)
{ | 4816 checkInstancesSetServiceAccountRequest(api.InstancesSetServiceAccountRequest o)
{ |
4263 buildCounterInstancesSetServiceAccountRequest++; | 4817 buildCounterInstancesSetServiceAccountRequest++; |
4264 if (buildCounterInstancesSetServiceAccountRequest < 3) { | 4818 if (buildCounterInstancesSetServiceAccountRequest < 3) { |
4265 unittest.expect(o.email, unittest.equals('foo')); | 4819 unittest.expect(o.email, unittest.equals('foo')); |
4266 checkUnnamed2188(o.scopes); | 4820 checkUnnamed2287(o.scopes); |
4267 } | 4821 } |
4268 buildCounterInstancesSetServiceAccountRequest--; | 4822 buildCounterInstancesSetServiceAccountRequest--; |
4269 } | 4823 } |
4270 | 4824 |
4271 buildUnnamed2189() { | 4825 buildUnnamed2288() { |
4272 var o = new core.List<api.CustomerEncryptionKeyProtectedDisk>(); | 4826 var o = new core.List<api.CustomerEncryptionKeyProtectedDisk>(); |
4273 o.add(buildCustomerEncryptionKeyProtectedDisk()); | 4827 o.add(buildCustomerEncryptionKeyProtectedDisk()); |
4274 o.add(buildCustomerEncryptionKeyProtectedDisk()); | 4828 o.add(buildCustomerEncryptionKeyProtectedDisk()); |
4275 return o; | 4829 return o; |
4276 } | 4830 } |
4277 | 4831 |
4278 checkUnnamed2189(core.List<api.CustomerEncryptionKeyProtectedDisk> o) { | 4832 checkUnnamed2288(core.List<api.CustomerEncryptionKeyProtectedDisk> o) { |
4279 unittest.expect(o, unittest.hasLength(2)); | 4833 unittest.expect(o, unittest.hasLength(2)); |
4280 checkCustomerEncryptionKeyProtectedDisk(o[0]); | 4834 checkCustomerEncryptionKeyProtectedDisk(o[0]); |
4281 checkCustomerEncryptionKeyProtectedDisk(o[1]); | 4835 checkCustomerEncryptionKeyProtectedDisk(o[1]); |
4282 } | 4836 } |
4283 | 4837 |
4284 core.int buildCounterInstancesStartWithEncryptionKeyRequest = 0; | 4838 core.int buildCounterInstancesStartWithEncryptionKeyRequest = 0; |
4285 buildInstancesStartWithEncryptionKeyRequest() { | 4839 buildInstancesStartWithEncryptionKeyRequest() { |
4286 var o = new api.InstancesStartWithEncryptionKeyRequest(); | 4840 var o = new api.InstancesStartWithEncryptionKeyRequest(); |
4287 buildCounterInstancesStartWithEncryptionKeyRequest++; | 4841 buildCounterInstancesStartWithEncryptionKeyRequest++; |
4288 if (buildCounterInstancesStartWithEncryptionKeyRequest < 3) { | 4842 if (buildCounterInstancesStartWithEncryptionKeyRequest < 3) { |
4289 o.disks = buildUnnamed2189(); | 4843 o.disks = buildUnnamed2288(); |
4290 } | 4844 } |
4291 buildCounterInstancesStartWithEncryptionKeyRequest--; | 4845 buildCounterInstancesStartWithEncryptionKeyRequest--; |
4292 return o; | 4846 return o; |
4293 } | 4847 } |
4294 | 4848 |
4295 checkInstancesStartWithEncryptionKeyRequest(api.InstancesStartWithEncryptionKeyR
equest o) { | 4849 checkInstancesStartWithEncryptionKeyRequest(api.InstancesStartWithEncryptionKeyR
equest o) { |
4296 buildCounterInstancesStartWithEncryptionKeyRequest++; | 4850 buildCounterInstancesStartWithEncryptionKeyRequest++; |
4297 if (buildCounterInstancesStartWithEncryptionKeyRequest < 3) { | 4851 if (buildCounterInstancesStartWithEncryptionKeyRequest < 3) { |
4298 checkUnnamed2189(o.disks); | 4852 checkUnnamed2288(o.disks); |
4299 } | 4853 } |
4300 buildCounterInstancesStartWithEncryptionKeyRequest--; | 4854 buildCounterInstancesStartWithEncryptionKeyRequest--; |
4301 } | 4855 } |
4302 | 4856 |
4303 core.int buildCounterLicense = 0; | 4857 core.int buildCounterLicense = 0; |
4304 buildLicense() { | 4858 buildLicense() { |
4305 var o = new api.License(); | 4859 var o = new api.License(); |
4306 buildCounterLicense++; | 4860 buildCounterLicense++; |
4307 if (buildCounterLicense < 3) { | 4861 if (buildCounterLicense < 3) { |
4308 o.chargesUseFee = true; | 4862 o.chargesUseFee = true; |
(...skipping 28 matching lines...) Expand all Loading... |
4337 } | 4891 } |
4338 | 4892 |
4339 checkMachineTypeScratchDisks(api.MachineTypeScratchDisks o) { | 4893 checkMachineTypeScratchDisks(api.MachineTypeScratchDisks o) { |
4340 buildCounterMachineTypeScratchDisks++; | 4894 buildCounterMachineTypeScratchDisks++; |
4341 if (buildCounterMachineTypeScratchDisks < 3) { | 4895 if (buildCounterMachineTypeScratchDisks < 3) { |
4342 unittest.expect(o.diskGb, unittest.equals(42)); | 4896 unittest.expect(o.diskGb, unittest.equals(42)); |
4343 } | 4897 } |
4344 buildCounterMachineTypeScratchDisks--; | 4898 buildCounterMachineTypeScratchDisks--; |
4345 } | 4899 } |
4346 | 4900 |
4347 buildUnnamed2190() { | 4901 buildUnnamed2289() { |
4348 var o = new core.List<api.MachineTypeScratchDisks>(); | 4902 var o = new core.List<api.MachineTypeScratchDisks>(); |
4349 o.add(buildMachineTypeScratchDisks()); | 4903 o.add(buildMachineTypeScratchDisks()); |
4350 o.add(buildMachineTypeScratchDisks()); | 4904 o.add(buildMachineTypeScratchDisks()); |
4351 return o; | 4905 return o; |
4352 } | 4906 } |
4353 | 4907 |
4354 checkUnnamed2190(core.List<api.MachineTypeScratchDisks> o) { | 4908 checkUnnamed2289(core.List<api.MachineTypeScratchDisks> o) { |
4355 unittest.expect(o, unittest.hasLength(2)); | 4909 unittest.expect(o, unittest.hasLength(2)); |
4356 checkMachineTypeScratchDisks(o[0]); | 4910 checkMachineTypeScratchDisks(o[0]); |
4357 checkMachineTypeScratchDisks(o[1]); | 4911 checkMachineTypeScratchDisks(o[1]); |
4358 } | 4912 } |
4359 | 4913 |
4360 core.int buildCounterMachineType = 0; | 4914 core.int buildCounterMachineType = 0; |
4361 buildMachineType() { | 4915 buildMachineType() { |
4362 var o = new api.MachineType(); | 4916 var o = new api.MachineType(); |
4363 buildCounterMachineType++; | 4917 buildCounterMachineType++; |
4364 if (buildCounterMachineType < 3) { | 4918 if (buildCounterMachineType < 3) { |
4365 o.creationTimestamp = "foo"; | 4919 o.creationTimestamp = "foo"; |
4366 o.deprecated = buildDeprecationStatus(); | 4920 o.deprecated = buildDeprecationStatus(); |
4367 o.description = "foo"; | 4921 o.description = "foo"; |
4368 o.guestCpus = 42; | 4922 o.guestCpus = 42; |
4369 o.id = "foo"; | 4923 o.id = "foo"; |
4370 o.imageSpaceGb = 42; | 4924 o.imageSpaceGb = 42; |
4371 o.isSharedCpu = true; | 4925 o.isSharedCpu = true; |
4372 o.kind = "foo"; | 4926 o.kind = "foo"; |
4373 o.maximumPersistentDisks = 42; | 4927 o.maximumPersistentDisks = 42; |
4374 o.maximumPersistentDisksSizeGb = "foo"; | 4928 o.maximumPersistentDisksSizeGb = "foo"; |
4375 o.memoryMb = 42; | 4929 o.memoryMb = 42; |
4376 o.name = "foo"; | 4930 o.name = "foo"; |
4377 o.scratchDisks = buildUnnamed2190(); | 4931 o.scratchDisks = buildUnnamed2289(); |
4378 o.selfLink = "foo"; | 4932 o.selfLink = "foo"; |
4379 o.zone = "foo"; | 4933 o.zone = "foo"; |
4380 } | 4934 } |
4381 buildCounterMachineType--; | 4935 buildCounterMachineType--; |
4382 return o; | 4936 return o; |
4383 } | 4937 } |
4384 | 4938 |
4385 checkMachineType(api.MachineType o) { | 4939 checkMachineType(api.MachineType o) { |
4386 buildCounterMachineType++; | 4940 buildCounterMachineType++; |
4387 if (buildCounterMachineType < 3) { | 4941 if (buildCounterMachineType < 3) { |
4388 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 4942 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
4389 checkDeprecationStatus(o.deprecated); | 4943 checkDeprecationStatus(o.deprecated); |
4390 unittest.expect(o.description, unittest.equals('foo')); | 4944 unittest.expect(o.description, unittest.equals('foo')); |
4391 unittest.expect(o.guestCpus, unittest.equals(42)); | 4945 unittest.expect(o.guestCpus, unittest.equals(42)); |
4392 unittest.expect(o.id, unittest.equals('foo')); | 4946 unittest.expect(o.id, unittest.equals('foo')); |
4393 unittest.expect(o.imageSpaceGb, unittest.equals(42)); | 4947 unittest.expect(o.imageSpaceGb, unittest.equals(42)); |
4394 unittest.expect(o.isSharedCpu, unittest.isTrue); | 4948 unittest.expect(o.isSharedCpu, unittest.isTrue); |
4395 unittest.expect(o.kind, unittest.equals('foo')); | 4949 unittest.expect(o.kind, unittest.equals('foo')); |
4396 unittest.expect(o.maximumPersistentDisks, unittest.equals(42)); | 4950 unittest.expect(o.maximumPersistentDisks, unittest.equals(42)); |
4397 unittest.expect(o.maximumPersistentDisksSizeGb, unittest.equals('foo')); | 4951 unittest.expect(o.maximumPersistentDisksSizeGb, unittest.equals('foo')); |
4398 unittest.expect(o.memoryMb, unittest.equals(42)); | 4952 unittest.expect(o.memoryMb, unittest.equals(42)); |
4399 unittest.expect(o.name, unittest.equals('foo')); | 4953 unittest.expect(o.name, unittest.equals('foo')); |
4400 checkUnnamed2190(o.scratchDisks); | 4954 checkUnnamed2289(o.scratchDisks); |
4401 unittest.expect(o.selfLink, unittest.equals('foo')); | 4955 unittest.expect(o.selfLink, unittest.equals('foo')); |
4402 unittest.expect(o.zone, unittest.equals('foo')); | 4956 unittest.expect(o.zone, unittest.equals('foo')); |
4403 } | 4957 } |
4404 buildCounterMachineType--; | 4958 buildCounterMachineType--; |
4405 } | 4959 } |
4406 | 4960 |
4407 buildUnnamed2191() { | 4961 buildUnnamed2290() { |
4408 var o = new core.Map<core.String, api.MachineTypesScopedList>(); | 4962 var o = new core.Map<core.String, api.MachineTypesScopedList>(); |
4409 o["x"] = buildMachineTypesScopedList(); | 4963 o["x"] = buildMachineTypesScopedList(); |
4410 o["y"] = buildMachineTypesScopedList(); | 4964 o["y"] = buildMachineTypesScopedList(); |
4411 return o; | 4965 return o; |
4412 } | 4966 } |
4413 | 4967 |
4414 checkUnnamed2191(core.Map<core.String, api.MachineTypesScopedList> o) { | 4968 checkUnnamed2290(core.Map<core.String, api.MachineTypesScopedList> o) { |
4415 unittest.expect(o, unittest.hasLength(2)); | 4969 unittest.expect(o, unittest.hasLength(2)); |
4416 checkMachineTypesScopedList(o["x"]); | 4970 checkMachineTypesScopedList(o["x"]); |
4417 checkMachineTypesScopedList(o["y"]); | 4971 checkMachineTypesScopedList(o["y"]); |
4418 } | 4972 } |
4419 | 4973 |
4420 core.int buildCounterMachineTypeAggregatedList = 0; | 4974 core.int buildCounterMachineTypeAggregatedList = 0; |
4421 buildMachineTypeAggregatedList() { | 4975 buildMachineTypeAggregatedList() { |
4422 var o = new api.MachineTypeAggregatedList(); | 4976 var o = new api.MachineTypeAggregatedList(); |
4423 buildCounterMachineTypeAggregatedList++; | 4977 buildCounterMachineTypeAggregatedList++; |
4424 if (buildCounterMachineTypeAggregatedList < 3) { | 4978 if (buildCounterMachineTypeAggregatedList < 3) { |
4425 o.id = "foo"; | 4979 o.id = "foo"; |
4426 o.items = buildUnnamed2191(); | 4980 o.items = buildUnnamed2290(); |
4427 o.kind = "foo"; | 4981 o.kind = "foo"; |
4428 o.nextPageToken = "foo"; | 4982 o.nextPageToken = "foo"; |
4429 o.selfLink = "foo"; | 4983 o.selfLink = "foo"; |
4430 } | 4984 } |
4431 buildCounterMachineTypeAggregatedList--; | 4985 buildCounterMachineTypeAggregatedList--; |
4432 return o; | 4986 return o; |
4433 } | 4987 } |
4434 | 4988 |
4435 checkMachineTypeAggregatedList(api.MachineTypeAggregatedList o) { | 4989 checkMachineTypeAggregatedList(api.MachineTypeAggregatedList o) { |
4436 buildCounterMachineTypeAggregatedList++; | 4990 buildCounterMachineTypeAggregatedList++; |
4437 if (buildCounterMachineTypeAggregatedList < 3) { | 4991 if (buildCounterMachineTypeAggregatedList < 3) { |
4438 unittest.expect(o.id, unittest.equals('foo')); | 4992 unittest.expect(o.id, unittest.equals('foo')); |
4439 checkUnnamed2191(o.items); | 4993 checkUnnamed2290(o.items); |
4440 unittest.expect(o.kind, unittest.equals('foo')); | 4994 unittest.expect(o.kind, unittest.equals('foo')); |
4441 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4995 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
4442 unittest.expect(o.selfLink, unittest.equals('foo')); | 4996 unittest.expect(o.selfLink, unittest.equals('foo')); |
4443 } | 4997 } |
4444 buildCounterMachineTypeAggregatedList--; | 4998 buildCounterMachineTypeAggregatedList--; |
4445 } | 4999 } |
4446 | 5000 |
4447 buildUnnamed2192() { | 5001 buildUnnamed2291() { |
4448 var o = new core.List<api.MachineType>(); | 5002 var o = new core.List<api.MachineType>(); |
4449 o.add(buildMachineType()); | 5003 o.add(buildMachineType()); |
4450 o.add(buildMachineType()); | 5004 o.add(buildMachineType()); |
4451 return o; | 5005 return o; |
4452 } | 5006 } |
4453 | 5007 |
4454 checkUnnamed2192(core.List<api.MachineType> o) { | 5008 checkUnnamed2291(core.List<api.MachineType> o) { |
4455 unittest.expect(o, unittest.hasLength(2)); | 5009 unittest.expect(o, unittest.hasLength(2)); |
4456 checkMachineType(o[0]); | 5010 checkMachineType(o[0]); |
4457 checkMachineType(o[1]); | 5011 checkMachineType(o[1]); |
4458 } | 5012 } |
4459 | 5013 |
4460 core.int buildCounterMachineTypeList = 0; | 5014 core.int buildCounterMachineTypeList = 0; |
4461 buildMachineTypeList() { | 5015 buildMachineTypeList() { |
4462 var o = new api.MachineTypeList(); | 5016 var o = new api.MachineTypeList(); |
4463 buildCounterMachineTypeList++; | 5017 buildCounterMachineTypeList++; |
4464 if (buildCounterMachineTypeList < 3) { | 5018 if (buildCounterMachineTypeList < 3) { |
4465 o.id = "foo"; | 5019 o.id = "foo"; |
4466 o.items = buildUnnamed2192(); | 5020 o.items = buildUnnamed2291(); |
4467 o.kind = "foo"; | 5021 o.kind = "foo"; |
4468 o.nextPageToken = "foo"; | 5022 o.nextPageToken = "foo"; |
4469 o.selfLink = "foo"; | 5023 o.selfLink = "foo"; |
4470 } | 5024 } |
4471 buildCounterMachineTypeList--; | 5025 buildCounterMachineTypeList--; |
4472 return o; | 5026 return o; |
4473 } | 5027 } |
4474 | 5028 |
4475 checkMachineTypeList(api.MachineTypeList o) { | 5029 checkMachineTypeList(api.MachineTypeList o) { |
4476 buildCounterMachineTypeList++; | 5030 buildCounterMachineTypeList++; |
4477 if (buildCounterMachineTypeList < 3) { | 5031 if (buildCounterMachineTypeList < 3) { |
4478 unittest.expect(o.id, unittest.equals('foo')); | 5032 unittest.expect(o.id, unittest.equals('foo')); |
4479 checkUnnamed2192(o.items); | 5033 checkUnnamed2291(o.items); |
4480 unittest.expect(o.kind, unittest.equals('foo')); | 5034 unittest.expect(o.kind, unittest.equals('foo')); |
4481 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5035 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
4482 unittest.expect(o.selfLink, unittest.equals('foo')); | 5036 unittest.expect(o.selfLink, unittest.equals('foo')); |
4483 } | 5037 } |
4484 buildCounterMachineTypeList--; | 5038 buildCounterMachineTypeList--; |
4485 } | 5039 } |
4486 | 5040 |
4487 buildUnnamed2193() { | 5041 buildUnnamed2292() { |
4488 var o = new core.List<api.MachineType>(); | 5042 var o = new core.List<api.MachineType>(); |
4489 o.add(buildMachineType()); | 5043 o.add(buildMachineType()); |
4490 o.add(buildMachineType()); | 5044 o.add(buildMachineType()); |
4491 return o; | 5045 return o; |
4492 } | 5046 } |
4493 | 5047 |
4494 checkUnnamed2193(core.List<api.MachineType> o) { | 5048 checkUnnamed2292(core.List<api.MachineType> o) { |
4495 unittest.expect(o, unittest.hasLength(2)); | 5049 unittest.expect(o, unittest.hasLength(2)); |
4496 checkMachineType(o[0]); | 5050 checkMachineType(o[0]); |
4497 checkMachineType(o[1]); | 5051 checkMachineType(o[1]); |
4498 } | 5052 } |
4499 | 5053 |
4500 core.int buildCounterMachineTypesScopedListWarningData = 0; | 5054 core.int buildCounterMachineTypesScopedListWarningData = 0; |
4501 buildMachineTypesScopedListWarningData() { | 5055 buildMachineTypesScopedListWarningData() { |
4502 var o = new api.MachineTypesScopedListWarningData(); | 5056 var o = new api.MachineTypesScopedListWarningData(); |
4503 buildCounterMachineTypesScopedListWarningData++; | 5057 buildCounterMachineTypesScopedListWarningData++; |
4504 if (buildCounterMachineTypesScopedListWarningData < 3) { | 5058 if (buildCounterMachineTypesScopedListWarningData < 3) { |
4505 o.key = "foo"; | 5059 o.key = "foo"; |
4506 o.value = "foo"; | 5060 o.value = "foo"; |
4507 } | 5061 } |
4508 buildCounterMachineTypesScopedListWarningData--; | 5062 buildCounterMachineTypesScopedListWarningData--; |
4509 return o; | 5063 return o; |
4510 } | 5064 } |
4511 | 5065 |
4512 checkMachineTypesScopedListWarningData(api.MachineTypesScopedListWarningData o)
{ | 5066 checkMachineTypesScopedListWarningData(api.MachineTypesScopedListWarningData o)
{ |
4513 buildCounterMachineTypesScopedListWarningData++; | 5067 buildCounterMachineTypesScopedListWarningData++; |
4514 if (buildCounterMachineTypesScopedListWarningData < 3) { | 5068 if (buildCounterMachineTypesScopedListWarningData < 3) { |
4515 unittest.expect(o.key, unittest.equals('foo')); | 5069 unittest.expect(o.key, unittest.equals('foo')); |
4516 unittest.expect(o.value, unittest.equals('foo')); | 5070 unittest.expect(o.value, unittest.equals('foo')); |
4517 } | 5071 } |
4518 buildCounterMachineTypesScopedListWarningData--; | 5072 buildCounterMachineTypesScopedListWarningData--; |
4519 } | 5073 } |
4520 | 5074 |
4521 buildUnnamed2194() { | 5075 buildUnnamed2293() { |
4522 var o = new core.List<api.MachineTypesScopedListWarningData>(); | 5076 var o = new core.List<api.MachineTypesScopedListWarningData>(); |
4523 o.add(buildMachineTypesScopedListWarningData()); | 5077 o.add(buildMachineTypesScopedListWarningData()); |
4524 o.add(buildMachineTypesScopedListWarningData()); | 5078 o.add(buildMachineTypesScopedListWarningData()); |
4525 return o; | 5079 return o; |
4526 } | 5080 } |
4527 | 5081 |
4528 checkUnnamed2194(core.List<api.MachineTypesScopedListWarningData> o) { | 5082 checkUnnamed2293(core.List<api.MachineTypesScopedListWarningData> o) { |
4529 unittest.expect(o, unittest.hasLength(2)); | 5083 unittest.expect(o, unittest.hasLength(2)); |
4530 checkMachineTypesScopedListWarningData(o[0]); | 5084 checkMachineTypesScopedListWarningData(o[0]); |
4531 checkMachineTypesScopedListWarningData(o[1]); | 5085 checkMachineTypesScopedListWarningData(o[1]); |
4532 } | 5086 } |
4533 | 5087 |
4534 core.int buildCounterMachineTypesScopedListWarning = 0; | 5088 core.int buildCounterMachineTypesScopedListWarning = 0; |
4535 buildMachineTypesScopedListWarning() { | 5089 buildMachineTypesScopedListWarning() { |
4536 var o = new api.MachineTypesScopedListWarning(); | 5090 var o = new api.MachineTypesScopedListWarning(); |
4537 buildCounterMachineTypesScopedListWarning++; | 5091 buildCounterMachineTypesScopedListWarning++; |
4538 if (buildCounterMachineTypesScopedListWarning < 3) { | 5092 if (buildCounterMachineTypesScopedListWarning < 3) { |
4539 o.code = "foo"; | 5093 o.code = "foo"; |
4540 o.data = buildUnnamed2194(); | 5094 o.data = buildUnnamed2293(); |
4541 o.message = "foo"; | 5095 o.message = "foo"; |
4542 } | 5096 } |
4543 buildCounterMachineTypesScopedListWarning--; | 5097 buildCounterMachineTypesScopedListWarning--; |
4544 return o; | 5098 return o; |
4545 } | 5099 } |
4546 | 5100 |
4547 checkMachineTypesScopedListWarning(api.MachineTypesScopedListWarning o) { | 5101 checkMachineTypesScopedListWarning(api.MachineTypesScopedListWarning o) { |
4548 buildCounterMachineTypesScopedListWarning++; | 5102 buildCounterMachineTypesScopedListWarning++; |
4549 if (buildCounterMachineTypesScopedListWarning < 3) { | 5103 if (buildCounterMachineTypesScopedListWarning < 3) { |
4550 unittest.expect(o.code, unittest.equals('foo')); | 5104 unittest.expect(o.code, unittest.equals('foo')); |
4551 checkUnnamed2194(o.data); | 5105 checkUnnamed2293(o.data); |
4552 unittest.expect(o.message, unittest.equals('foo')); | 5106 unittest.expect(o.message, unittest.equals('foo')); |
4553 } | 5107 } |
4554 buildCounterMachineTypesScopedListWarning--; | 5108 buildCounterMachineTypesScopedListWarning--; |
4555 } | 5109 } |
4556 | 5110 |
4557 core.int buildCounterMachineTypesScopedList = 0; | 5111 core.int buildCounterMachineTypesScopedList = 0; |
4558 buildMachineTypesScopedList() { | 5112 buildMachineTypesScopedList() { |
4559 var o = new api.MachineTypesScopedList(); | 5113 var o = new api.MachineTypesScopedList(); |
4560 buildCounterMachineTypesScopedList++; | 5114 buildCounterMachineTypesScopedList++; |
4561 if (buildCounterMachineTypesScopedList < 3) { | 5115 if (buildCounterMachineTypesScopedList < 3) { |
4562 o.machineTypes = buildUnnamed2193(); | 5116 o.machineTypes = buildUnnamed2292(); |
4563 o.warning = buildMachineTypesScopedListWarning(); | 5117 o.warning = buildMachineTypesScopedListWarning(); |
4564 } | 5118 } |
4565 buildCounterMachineTypesScopedList--; | 5119 buildCounterMachineTypesScopedList--; |
4566 return o; | 5120 return o; |
4567 } | 5121 } |
4568 | 5122 |
4569 checkMachineTypesScopedList(api.MachineTypesScopedList o) { | 5123 checkMachineTypesScopedList(api.MachineTypesScopedList o) { |
4570 buildCounterMachineTypesScopedList++; | 5124 buildCounterMachineTypesScopedList++; |
4571 if (buildCounterMachineTypesScopedList < 3) { | 5125 if (buildCounterMachineTypesScopedList < 3) { |
4572 checkUnnamed2193(o.machineTypes); | 5126 checkUnnamed2292(o.machineTypes); |
4573 checkMachineTypesScopedListWarning(o.warning); | 5127 checkMachineTypesScopedListWarning(o.warning); |
4574 } | 5128 } |
4575 buildCounterMachineTypesScopedList--; | 5129 buildCounterMachineTypesScopedList--; |
4576 } | 5130 } |
4577 | 5131 |
4578 core.int buildCounterManagedInstance = 0; | 5132 core.int buildCounterManagedInstance = 0; |
4579 buildManagedInstance() { | 5133 buildManagedInstance() { |
4580 var o = new api.ManagedInstance(); | 5134 var o = new api.ManagedInstance(); |
4581 buildCounterManagedInstance++; | 5135 buildCounterManagedInstance++; |
4582 if (buildCounterManagedInstance < 3) { | 5136 if (buildCounterManagedInstance < 3) { |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4618 checkManagedInstanceLastAttemptErrorsErrors(api.ManagedInstanceLastAttemptErrors
Errors o) { | 5172 checkManagedInstanceLastAttemptErrorsErrors(api.ManagedInstanceLastAttemptErrors
Errors o) { |
4619 buildCounterManagedInstanceLastAttemptErrorsErrors++; | 5173 buildCounterManagedInstanceLastAttemptErrorsErrors++; |
4620 if (buildCounterManagedInstanceLastAttemptErrorsErrors < 3) { | 5174 if (buildCounterManagedInstanceLastAttemptErrorsErrors < 3) { |
4621 unittest.expect(o.code, unittest.equals('foo')); | 5175 unittest.expect(o.code, unittest.equals('foo')); |
4622 unittest.expect(o.location, unittest.equals('foo')); | 5176 unittest.expect(o.location, unittest.equals('foo')); |
4623 unittest.expect(o.message, unittest.equals('foo')); | 5177 unittest.expect(o.message, unittest.equals('foo')); |
4624 } | 5178 } |
4625 buildCounterManagedInstanceLastAttemptErrorsErrors--; | 5179 buildCounterManagedInstanceLastAttemptErrorsErrors--; |
4626 } | 5180 } |
4627 | 5181 |
4628 buildUnnamed2195() { | 5182 buildUnnamed2294() { |
4629 var o = new core.List<api.ManagedInstanceLastAttemptErrorsErrors>(); | 5183 var o = new core.List<api.ManagedInstanceLastAttemptErrorsErrors>(); |
4630 o.add(buildManagedInstanceLastAttemptErrorsErrors()); | 5184 o.add(buildManagedInstanceLastAttemptErrorsErrors()); |
4631 o.add(buildManagedInstanceLastAttemptErrorsErrors()); | 5185 o.add(buildManagedInstanceLastAttemptErrorsErrors()); |
4632 return o; | 5186 return o; |
4633 } | 5187 } |
4634 | 5188 |
4635 checkUnnamed2195(core.List<api.ManagedInstanceLastAttemptErrorsErrors> o) { | 5189 checkUnnamed2294(core.List<api.ManagedInstanceLastAttemptErrorsErrors> o) { |
4636 unittest.expect(o, unittest.hasLength(2)); | 5190 unittest.expect(o, unittest.hasLength(2)); |
4637 checkManagedInstanceLastAttemptErrorsErrors(o[0]); | 5191 checkManagedInstanceLastAttemptErrorsErrors(o[0]); |
4638 checkManagedInstanceLastAttemptErrorsErrors(o[1]); | 5192 checkManagedInstanceLastAttemptErrorsErrors(o[1]); |
4639 } | 5193 } |
4640 | 5194 |
4641 core.int buildCounterManagedInstanceLastAttemptErrors = 0; | 5195 core.int buildCounterManagedInstanceLastAttemptErrors = 0; |
4642 buildManagedInstanceLastAttemptErrors() { | 5196 buildManagedInstanceLastAttemptErrors() { |
4643 var o = new api.ManagedInstanceLastAttemptErrors(); | 5197 var o = new api.ManagedInstanceLastAttemptErrors(); |
4644 buildCounterManagedInstanceLastAttemptErrors++; | 5198 buildCounterManagedInstanceLastAttemptErrors++; |
4645 if (buildCounterManagedInstanceLastAttemptErrors < 3) { | 5199 if (buildCounterManagedInstanceLastAttemptErrors < 3) { |
4646 o.errors = buildUnnamed2195(); | 5200 o.errors = buildUnnamed2294(); |
4647 } | 5201 } |
4648 buildCounterManagedInstanceLastAttemptErrors--; | 5202 buildCounterManagedInstanceLastAttemptErrors--; |
4649 return o; | 5203 return o; |
4650 } | 5204 } |
4651 | 5205 |
4652 checkManagedInstanceLastAttemptErrors(api.ManagedInstanceLastAttemptErrors o) { | 5206 checkManagedInstanceLastAttemptErrors(api.ManagedInstanceLastAttemptErrors o) { |
4653 buildCounterManagedInstanceLastAttemptErrors++; | 5207 buildCounterManagedInstanceLastAttemptErrors++; |
4654 if (buildCounterManagedInstanceLastAttemptErrors < 3) { | 5208 if (buildCounterManagedInstanceLastAttemptErrors < 3) { |
4655 checkUnnamed2195(o.errors); | 5209 checkUnnamed2294(o.errors); |
4656 } | 5210 } |
4657 buildCounterManagedInstanceLastAttemptErrors--; | 5211 buildCounterManagedInstanceLastAttemptErrors--; |
4658 } | 5212 } |
4659 | 5213 |
4660 core.int buildCounterManagedInstanceLastAttempt = 0; | 5214 core.int buildCounterManagedInstanceLastAttempt = 0; |
4661 buildManagedInstanceLastAttempt() { | 5215 buildManagedInstanceLastAttempt() { |
4662 var o = new api.ManagedInstanceLastAttempt(); | 5216 var o = new api.ManagedInstanceLastAttempt(); |
4663 buildCounterManagedInstanceLastAttempt++; | 5217 buildCounterManagedInstanceLastAttempt++; |
4664 if (buildCounterManagedInstanceLastAttempt < 3) { | 5218 if (buildCounterManagedInstanceLastAttempt < 3) { |
4665 o.errors = buildManagedInstanceLastAttemptErrors(); | 5219 o.errors = buildManagedInstanceLastAttemptErrors(); |
(...skipping 24 matching lines...) Expand all Loading... |
4690 | 5244 |
4691 checkMetadataItems(api.MetadataItems o) { | 5245 checkMetadataItems(api.MetadataItems o) { |
4692 buildCounterMetadataItems++; | 5246 buildCounterMetadataItems++; |
4693 if (buildCounterMetadataItems < 3) { | 5247 if (buildCounterMetadataItems < 3) { |
4694 unittest.expect(o.key, unittest.equals('foo')); | 5248 unittest.expect(o.key, unittest.equals('foo')); |
4695 unittest.expect(o.value, unittest.equals('foo')); | 5249 unittest.expect(o.value, unittest.equals('foo')); |
4696 } | 5250 } |
4697 buildCounterMetadataItems--; | 5251 buildCounterMetadataItems--; |
4698 } | 5252 } |
4699 | 5253 |
4700 buildUnnamed2196() { | 5254 buildUnnamed2295() { |
4701 var o = new core.List<api.MetadataItems>(); | 5255 var o = new core.List<api.MetadataItems>(); |
4702 o.add(buildMetadataItems()); | 5256 o.add(buildMetadataItems()); |
4703 o.add(buildMetadataItems()); | 5257 o.add(buildMetadataItems()); |
4704 return o; | 5258 return o; |
4705 } | 5259 } |
4706 | 5260 |
4707 checkUnnamed2196(core.List<api.MetadataItems> o) { | 5261 checkUnnamed2295(core.List<api.MetadataItems> o) { |
4708 unittest.expect(o, unittest.hasLength(2)); | 5262 unittest.expect(o, unittest.hasLength(2)); |
4709 checkMetadataItems(o[0]); | 5263 checkMetadataItems(o[0]); |
4710 checkMetadataItems(o[1]); | 5264 checkMetadataItems(o[1]); |
4711 } | 5265 } |
4712 | 5266 |
4713 core.int buildCounterMetadata = 0; | 5267 core.int buildCounterMetadata = 0; |
4714 buildMetadata() { | 5268 buildMetadata() { |
4715 var o = new api.Metadata(); | 5269 var o = new api.Metadata(); |
4716 buildCounterMetadata++; | 5270 buildCounterMetadata++; |
4717 if (buildCounterMetadata < 3) { | 5271 if (buildCounterMetadata < 3) { |
4718 o.fingerprint = "foo"; | 5272 o.fingerprint = "foo"; |
4719 o.items = buildUnnamed2196(); | 5273 o.items = buildUnnamed2295(); |
4720 o.kind = "foo"; | 5274 o.kind = "foo"; |
4721 } | 5275 } |
4722 buildCounterMetadata--; | 5276 buildCounterMetadata--; |
4723 return o; | 5277 return o; |
4724 } | 5278 } |
4725 | 5279 |
4726 checkMetadata(api.Metadata o) { | 5280 checkMetadata(api.Metadata o) { |
4727 buildCounterMetadata++; | 5281 buildCounterMetadata++; |
4728 if (buildCounterMetadata < 3) { | 5282 if (buildCounterMetadata < 3) { |
4729 unittest.expect(o.fingerprint, unittest.equals('foo')); | 5283 unittest.expect(o.fingerprint, unittest.equals('foo')); |
4730 checkUnnamed2196(o.items); | 5284 checkUnnamed2295(o.items); |
4731 unittest.expect(o.kind, unittest.equals('foo')); | 5285 unittest.expect(o.kind, unittest.equals('foo')); |
4732 } | 5286 } |
4733 buildCounterMetadata--; | 5287 buildCounterMetadata--; |
4734 } | 5288 } |
4735 | 5289 |
4736 core.int buildCounterNamedPort = 0; | 5290 core.int buildCounterNamedPort = 0; |
4737 buildNamedPort() { | 5291 buildNamedPort() { |
4738 var o = new api.NamedPort(); | 5292 var o = new api.NamedPort(); |
4739 buildCounterNamedPort++; | 5293 buildCounterNamedPort++; |
4740 if (buildCounterNamedPort < 3) { | 5294 if (buildCounterNamedPort < 3) { |
4741 o.name = "foo"; | 5295 o.name = "foo"; |
4742 o.port = 42; | 5296 o.port = 42; |
4743 } | 5297 } |
4744 buildCounterNamedPort--; | 5298 buildCounterNamedPort--; |
4745 return o; | 5299 return o; |
4746 } | 5300 } |
4747 | 5301 |
4748 checkNamedPort(api.NamedPort o) { | 5302 checkNamedPort(api.NamedPort o) { |
4749 buildCounterNamedPort++; | 5303 buildCounterNamedPort++; |
4750 if (buildCounterNamedPort < 3) { | 5304 if (buildCounterNamedPort < 3) { |
4751 unittest.expect(o.name, unittest.equals('foo')); | 5305 unittest.expect(o.name, unittest.equals('foo')); |
4752 unittest.expect(o.port, unittest.equals(42)); | 5306 unittest.expect(o.port, unittest.equals(42)); |
4753 } | 5307 } |
4754 buildCounterNamedPort--; | 5308 buildCounterNamedPort--; |
4755 } | 5309 } |
4756 | 5310 |
4757 buildUnnamed2197() { | 5311 buildUnnamed2296() { |
4758 var o = new core.List<api.NetworkPeering>(); | 5312 var o = new core.List<api.NetworkPeering>(); |
4759 o.add(buildNetworkPeering()); | 5313 o.add(buildNetworkPeering()); |
4760 o.add(buildNetworkPeering()); | 5314 o.add(buildNetworkPeering()); |
4761 return o; | 5315 return o; |
4762 } | 5316 } |
4763 | 5317 |
4764 checkUnnamed2197(core.List<api.NetworkPeering> o) { | 5318 checkUnnamed2296(core.List<api.NetworkPeering> o) { |
4765 unittest.expect(o, unittest.hasLength(2)); | 5319 unittest.expect(o, unittest.hasLength(2)); |
4766 checkNetworkPeering(o[0]); | 5320 checkNetworkPeering(o[0]); |
4767 checkNetworkPeering(o[1]); | 5321 checkNetworkPeering(o[1]); |
4768 } | 5322 } |
4769 | 5323 |
4770 buildUnnamed2198() { | 5324 buildUnnamed2297() { |
4771 var o = new core.List<core.String>(); | 5325 var o = new core.List<core.String>(); |
4772 o.add("foo"); | 5326 o.add("foo"); |
4773 o.add("foo"); | 5327 o.add("foo"); |
4774 return o; | 5328 return o; |
4775 } | 5329 } |
4776 | 5330 |
4777 checkUnnamed2198(core.List<core.String> o) { | 5331 checkUnnamed2297(core.List<core.String> o) { |
4778 unittest.expect(o, unittest.hasLength(2)); | 5332 unittest.expect(o, unittest.hasLength(2)); |
4779 unittest.expect(o[0], unittest.equals('foo')); | 5333 unittest.expect(o[0], unittest.equals('foo')); |
4780 unittest.expect(o[1], unittest.equals('foo')); | 5334 unittest.expect(o[1], unittest.equals('foo')); |
4781 } | 5335 } |
4782 | 5336 |
4783 core.int buildCounterNetwork = 0; | 5337 core.int buildCounterNetwork = 0; |
4784 buildNetwork() { | 5338 buildNetwork() { |
4785 var o = new api.Network(); | 5339 var o = new api.Network(); |
4786 buildCounterNetwork++; | 5340 buildCounterNetwork++; |
4787 if (buildCounterNetwork < 3) { | 5341 if (buildCounterNetwork < 3) { |
4788 o.IPv4Range = "foo"; | 5342 o.IPv4Range = "foo"; |
4789 o.autoCreateSubnetworks = true; | 5343 o.autoCreateSubnetworks = true; |
4790 o.creationTimestamp = "foo"; | 5344 o.creationTimestamp = "foo"; |
4791 o.description = "foo"; | 5345 o.description = "foo"; |
4792 o.gatewayIPv4 = "foo"; | 5346 o.gatewayIPv4 = "foo"; |
4793 o.id = "foo"; | 5347 o.id = "foo"; |
4794 o.kind = "foo"; | 5348 o.kind = "foo"; |
4795 o.name = "foo"; | 5349 o.name = "foo"; |
4796 o.peerings = buildUnnamed2197(); | 5350 o.peerings = buildUnnamed2296(); |
4797 o.selfLink = "foo"; | 5351 o.selfLink = "foo"; |
4798 o.subnetworks = buildUnnamed2198(); | 5352 o.subnetworks = buildUnnamed2297(); |
4799 } | 5353 } |
4800 buildCounterNetwork--; | 5354 buildCounterNetwork--; |
4801 return o; | 5355 return o; |
4802 } | 5356 } |
4803 | 5357 |
4804 checkNetwork(api.Network o) { | 5358 checkNetwork(api.Network o) { |
4805 buildCounterNetwork++; | 5359 buildCounterNetwork++; |
4806 if (buildCounterNetwork < 3) { | 5360 if (buildCounterNetwork < 3) { |
4807 unittest.expect(o.IPv4Range, unittest.equals('foo')); | 5361 unittest.expect(o.IPv4Range, unittest.equals('foo')); |
4808 unittest.expect(o.autoCreateSubnetworks, unittest.isTrue); | 5362 unittest.expect(o.autoCreateSubnetworks, unittest.isTrue); |
4809 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 5363 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
4810 unittest.expect(o.description, unittest.equals('foo')); | 5364 unittest.expect(o.description, unittest.equals('foo')); |
4811 unittest.expect(o.gatewayIPv4, unittest.equals('foo')); | 5365 unittest.expect(o.gatewayIPv4, unittest.equals('foo')); |
4812 unittest.expect(o.id, unittest.equals('foo')); | 5366 unittest.expect(o.id, unittest.equals('foo')); |
4813 unittest.expect(o.kind, unittest.equals('foo')); | 5367 unittest.expect(o.kind, unittest.equals('foo')); |
4814 unittest.expect(o.name, unittest.equals('foo')); | 5368 unittest.expect(o.name, unittest.equals('foo')); |
4815 checkUnnamed2197(o.peerings); | 5369 checkUnnamed2296(o.peerings); |
4816 unittest.expect(o.selfLink, unittest.equals('foo')); | 5370 unittest.expect(o.selfLink, unittest.equals('foo')); |
4817 checkUnnamed2198(o.subnetworks); | 5371 checkUnnamed2297(o.subnetworks); |
4818 } | 5372 } |
4819 buildCounterNetwork--; | 5373 buildCounterNetwork--; |
4820 } | 5374 } |
4821 | 5375 |
4822 buildUnnamed2199() { | 5376 buildUnnamed2298() { |
4823 var o = new core.List<api.AccessConfig>(); | 5377 var o = new core.List<api.AccessConfig>(); |
4824 o.add(buildAccessConfig()); | 5378 o.add(buildAccessConfig()); |
4825 o.add(buildAccessConfig()); | 5379 o.add(buildAccessConfig()); |
4826 return o; | 5380 return o; |
4827 } | 5381 } |
4828 | 5382 |
4829 checkUnnamed2199(core.List<api.AccessConfig> o) { | 5383 checkUnnamed2298(core.List<api.AccessConfig> o) { |
4830 unittest.expect(o, unittest.hasLength(2)); | 5384 unittest.expect(o, unittest.hasLength(2)); |
4831 checkAccessConfig(o[0]); | 5385 checkAccessConfig(o[0]); |
4832 checkAccessConfig(o[1]); | 5386 checkAccessConfig(o[1]); |
4833 } | 5387 } |
4834 | 5388 |
4835 core.int buildCounterNetworkInterface = 0; | 5389 core.int buildCounterNetworkInterface = 0; |
4836 buildNetworkInterface() { | 5390 buildNetworkInterface() { |
4837 var o = new api.NetworkInterface(); | 5391 var o = new api.NetworkInterface(); |
4838 buildCounterNetworkInterface++; | 5392 buildCounterNetworkInterface++; |
4839 if (buildCounterNetworkInterface < 3) { | 5393 if (buildCounterNetworkInterface < 3) { |
4840 o.accessConfigs = buildUnnamed2199(); | 5394 o.accessConfigs = buildUnnamed2298(); |
4841 o.kind = "foo"; | 5395 o.kind = "foo"; |
4842 o.name = "foo"; | 5396 o.name = "foo"; |
4843 o.network = "foo"; | 5397 o.network = "foo"; |
4844 o.networkIP = "foo"; | 5398 o.networkIP = "foo"; |
4845 o.subnetwork = "foo"; | 5399 o.subnetwork = "foo"; |
4846 } | 5400 } |
4847 buildCounterNetworkInterface--; | 5401 buildCounterNetworkInterface--; |
4848 return o; | 5402 return o; |
4849 } | 5403 } |
4850 | 5404 |
4851 checkNetworkInterface(api.NetworkInterface o) { | 5405 checkNetworkInterface(api.NetworkInterface o) { |
4852 buildCounterNetworkInterface++; | 5406 buildCounterNetworkInterface++; |
4853 if (buildCounterNetworkInterface < 3) { | 5407 if (buildCounterNetworkInterface < 3) { |
4854 checkUnnamed2199(o.accessConfigs); | 5408 checkUnnamed2298(o.accessConfigs); |
4855 unittest.expect(o.kind, unittest.equals('foo')); | 5409 unittest.expect(o.kind, unittest.equals('foo')); |
4856 unittest.expect(o.name, unittest.equals('foo')); | 5410 unittest.expect(o.name, unittest.equals('foo')); |
4857 unittest.expect(o.network, unittest.equals('foo')); | 5411 unittest.expect(o.network, unittest.equals('foo')); |
4858 unittest.expect(o.networkIP, unittest.equals('foo')); | 5412 unittest.expect(o.networkIP, unittest.equals('foo')); |
4859 unittest.expect(o.subnetwork, unittest.equals('foo')); | 5413 unittest.expect(o.subnetwork, unittest.equals('foo')); |
4860 } | 5414 } |
4861 buildCounterNetworkInterface--; | 5415 buildCounterNetworkInterface--; |
4862 } | 5416 } |
4863 | 5417 |
4864 buildUnnamed2200() { | 5418 buildUnnamed2299() { |
4865 var o = new core.List<api.Network>(); | 5419 var o = new core.List<api.Network>(); |
4866 o.add(buildNetwork()); | 5420 o.add(buildNetwork()); |
4867 o.add(buildNetwork()); | 5421 o.add(buildNetwork()); |
4868 return o; | 5422 return o; |
4869 } | 5423 } |
4870 | 5424 |
4871 checkUnnamed2200(core.List<api.Network> o) { | 5425 checkUnnamed2299(core.List<api.Network> o) { |
4872 unittest.expect(o, unittest.hasLength(2)); | 5426 unittest.expect(o, unittest.hasLength(2)); |
4873 checkNetwork(o[0]); | 5427 checkNetwork(o[0]); |
4874 checkNetwork(o[1]); | 5428 checkNetwork(o[1]); |
4875 } | 5429 } |
4876 | 5430 |
4877 core.int buildCounterNetworkList = 0; | 5431 core.int buildCounterNetworkList = 0; |
4878 buildNetworkList() { | 5432 buildNetworkList() { |
4879 var o = new api.NetworkList(); | 5433 var o = new api.NetworkList(); |
4880 buildCounterNetworkList++; | 5434 buildCounterNetworkList++; |
4881 if (buildCounterNetworkList < 3) { | 5435 if (buildCounterNetworkList < 3) { |
4882 o.id = "foo"; | 5436 o.id = "foo"; |
4883 o.items = buildUnnamed2200(); | 5437 o.items = buildUnnamed2299(); |
4884 o.kind = "foo"; | 5438 o.kind = "foo"; |
4885 o.nextPageToken = "foo"; | 5439 o.nextPageToken = "foo"; |
4886 o.selfLink = "foo"; | 5440 o.selfLink = "foo"; |
4887 } | 5441 } |
4888 buildCounterNetworkList--; | 5442 buildCounterNetworkList--; |
4889 return o; | 5443 return o; |
4890 } | 5444 } |
4891 | 5445 |
4892 checkNetworkList(api.NetworkList o) { | 5446 checkNetworkList(api.NetworkList o) { |
4893 buildCounterNetworkList++; | 5447 buildCounterNetworkList++; |
4894 if (buildCounterNetworkList < 3) { | 5448 if (buildCounterNetworkList < 3) { |
4895 unittest.expect(o.id, unittest.equals('foo')); | 5449 unittest.expect(o.id, unittest.equals('foo')); |
4896 checkUnnamed2200(o.items); | 5450 checkUnnamed2299(o.items); |
4897 unittest.expect(o.kind, unittest.equals('foo')); | 5451 unittest.expect(o.kind, unittest.equals('foo')); |
4898 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5452 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
4899 unittest.expect(o.selfLink, unittest.equals('foo')); | 5453 unittest.expect(o.selfLink, unittest.equals('foo')); |
4900 } | 5454 } |
4901 buildCounterNetworkList--; | 5455 buildCounterNetworkList--; |
4902 } | 5456 } |
4903 | 5457 |
4904 core.int buildCounterNetworkPeering = 0; | 5458 core.int buildCounterNetworkPeering = 0; |
4905 buildNetworkPeering() { | 5459 buildNetworkPeering() { |
4906 var o = new api.NetworkPeering(); | 5460 var o = new api.NetworkPeering(); |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4986 checkOperationErrorErrors(api.OperationErrorErrors o) { | 5540 checkOperationErrorErrors(api.OperationErrorErrors o) { |
4987 buildCounterOperationErrorErrors++; | 5541 buildCounterOperationErrorErrors++; |
4988 if (buildCounterOperationErrorErrors < 3) { | 5542 if (buildCounterOperationErrorErrors < 3) { |
4989 unittest.expect(o.code, unittest.equals('foo')); | 5543 unittest.expect(o.code, unittest.equals('foo')); |
4990 unittest.expect(o.location, unittest.equals('foo')); | 5544 unittest.expect(o.location, unittest.equals('foo')); |
4991 unittest.expect(o.message, unittest.equals('foo')); | 5545 unittest.expect(o.message, unittest.equals('foo')); |
4992 } | 5546 } |
4993 buildCounterOperationErrorErrors--; | 5547 buildCounterOperationErrorErrors--; |
4994 } | 5548 } |
4995 | 5549 |
4996 buildUnnamed2201() { | 5550 buildUnnamed2300() { |
4997 var o = new core.List<api.OperationErrorErrors>(); | 5551 var o = new core.List<api.OperationErrorErrors>(); |
4998 o.add(buildOperationErrorErrors()); | 5552 o.add(buildOperationErrorErrors()); |
4999 o.add(buildOperationErrorErrors()); | 5553 o.add(buildOperationErrorErrors()); |
5000 return o; | 5554 return o; |
5001 } | 5555 } |
5002 | 5556 |
5003 checkUnnamed2201(core.List<api.OperationErrorErrors> o) { | 5557 checkUnnamed2300(core.List<api.OperationErrorErrors> o) { |
5004 unittest.expect(o, unittest.hasLength(2)); | 5558 unittest.expect(o, unittest.hasLength(2)); |
5005 checkOperationErrorErrors(o[0]); | 5559 checkOperationErrorErrors(o[0]); |
5006 checkOperationErrorErrors(o[1]); | 5560 checkOperationErrorErrors(o[1]); |
5007 } | 5561 } |
5008 | 5562 |
5009 core.int buildCounterOperationError = 0; | 5563 core.int buildCounterOperationError = 0; |
5010 buildOperationError() { | 5564 buildOperationError() { |
5011 var o = new api.OperationError(); | 5565 var o = new api.OperationError(); |
5012 buildCounterOperationError++; | 5566 buildCounterOperationError++; |
5013 if (buildCounterOperationError < 3) { | 5567 if (buildCounterOperationError < 3) { |
5014 o.errors = buildUnnamed2201(); | 5568 o.errors = buildUnnamed2300(); |
5015 } | 5569 } |
5016 buildCounterOperationError--; | 5570 buildCounterOperationError--; |
5017 return o; | 5571 return o; |
5018 } | 5572 } |
5019 | 5573 |
5020 checkOperationError(api.OperationError o) { | 5574 checkOperationError(api.OperationError o) { |
5021 buildCounterOperationError++; | 5575 buildCounterOperationError++; |
5022 if (buildCounterOperationError < 3) { | 5576 if (buildCounterOperationError < 3) { |
5023 checkUnnamed2201(o.errors); | 5577 checkUnnamed2300(o.errors); |
5024 } | 5578 } |
5025 buildCounterOperationError--; | 5579 buildCounterOperationError--; |
5026 } | 5580 } |
5027 | 5581 |
5028 core.int buildCounterOperationWarningsData = 0; | 5582 core.int buildCounterOperationWarningsData = 0; |
5029 buildOperationWarningsData() { | 5583 buildOperationWarningsData() { |
5030 var o = new api.OperationWarningsData(); | 5584 var o = new api.OperationWarningsData(); |
5031 buildCounterOperationWarningsData++; | 5585 buildCounterOperationWarningsData++; |
5032 if (buildCounterOperationWarningsData < 3) { | 5586 if (buildCounterOperationWarningsData < 3) { |
5033 o.key = "foo"; | 5587 o.key = "foo"; |
5034 o.value = "foo"; | 5588 o.value = "foo"; |
5035 } | 5589 } |
5036 buildCounterOperationWarningsData--; | 5590 buildCounterOperationWarningsData--; |
5037 return o; | 5591 return o; |
5038 } | 5592 } |
5039 | 5593 |
5040 checkOperationWarningsData(api.OperationWarningsData o) { | 5594 checkOperationWarningsData(api.OperationWarningsData o) { |
5041 buildCounterOperationWarningsData++; | 5595 buildCounterOperationWarningsData++; |
5042 if (buildCounterOperationWarningsData < 3) { | 5596 if (buildCounterOperationWarningsData < 3) { |
5043 unittest.expect(o.key, unittest.equals('foo')); | 5597 unittest.expect(o.key, unittest.equals('foo')); |
5044 unittest.expect(o.value, unittest.equals('foo')); | 5598 unittest.expect(o.value, unittest.equals('foo')); |
5045 } | 5599 } |
5046 buildCounterOperationWarningsData--; | 5600 buildCounterOperationWarningsData--; |
5047 } | 5601 } |
5048 | 5602 |
5049 buildUnnamed2202() { | 5603 buildUnnamed2301() { |
5050 var o = new core.List<api.OperationWarningsData>(); | 5604 var o = new core.List<api.OperationWarningsData>(); |
5051 o.add(buildOperationWarningsData()); | 5605 o.add(buildOperationWarningsData()); |
5052 o.add(buildOperationWarningsData()); | 5606 o.add(buildOperationWarningsData()); |
5053 return o; | 5607 return o; |
5054 } | 5608 } |
5055 | 5609 |
5056 checkUnnamed2202(core.List<api.OperationWarningsData> o) { | 5610 checkUnnamed2301(core.List<api.OperationWarningsData> o) { |
5057 unittest.expect(o, unittest.hasLength(2)); | 5611 unittest.expect(o, unittest.hasLength(2)); |
5058 checkOperationWarningsData(o[0]); | 5612 checkOperationWarningsData(o[0]); |
5059 checkOperationWarningsData(o[1]); | 5613 checkOperationWarningsData(o[1]); |
5060 } | 5614 } |
5061 | 5615 |
5062 core.int buildCounterOperationWarnings = 0; | 5616 core.int buildCounterOperationWarnings = 0; |
5063 buildOperationWarnings() { | 5617 buildOperationWarnings() { |
5064 var o = new api.OperationWarnings(); | 5618 var o = new api.OperationWarnings(); |
5065 buildCounterOperationWarnings++; | 5619 buildCounterOperationWarnings++; |
5066 if (buildCounterOperationWarnings < 3) { | 5620 if (buildCounterOperationWarnings < 3) { |
5067 o.code = "foo"; | 5621 o.code = "foo"; |
5068 o.data = buildUnnamed2202(); | 5622 o.data = buildUnnamed2301(); |
5069 o.message = "foo"; | 5623 o.message = "foo"; |
5070 } | 5624 } |
5071 buildCounterOperationWarnings--; | 5625 buildCounterOperationWarnings--; |
5072 return o; | 5626 return o; |
5073 } | 5627 } |
5074 | 5628 |
5075 checkOperationWarnings(api.OperationWarnings o) { | 5629 checkOperationWarnings(api.OperationWarnings o) { |
5076 buildCounterOperationWarnings++; | 5630 buildCounterOperationWarnings++; |
5077 if (buildCounterOperationWarnings < 3) { | 5631 if (buildCounterOperationWarnings < 3) { |
5078 unittest.expect(o.code, unittest.equals('foo')); | 5632 unittest.expect(o.code, unittest.equals('foo')); |
5079 checkUnnamed2202(o.data); | 5633 checkUnnamed2301(o.data); |
5080 unittest.expect(o.message, unittest.equals('foo')); | 5634 unittest.expect(o.message, unittest.equals('foo')); |
5081 } | 5635 } |
5082 buildCounterOperationWarnings--; | 5636 buildCounterOperationWarnings--; |
5083 } | 5637 } |
5084 | 5638 |
5085 buildUnnamed2203() { | 5639 buildUnnamed2302() { |
5086 var o = new core.List<api.OperationWarnings>(); | 5640 var o = new core.List<api.OperationWarnings>(); |
5087 o.add(buildOperationWarnings()); | 5641 o.add(buildOperationWarnings()); |
5088 o.add(buildOperationWarnings()); | 5642 o.add(buildOperationWarnings()); |
5089 return o; | 5643 return o; |
5090 } | 5644 } |
5091 | 5645 |
5092 checkUnnamed2203(core.List<api.OperationWarnings> o) { | 5646 checkUnnamed2302(core.List<api.OperationWarnings> o) { |
5093 unittest.expect(o, unittest.hasLength(2)); | 5647 unittest.expect(o, unittest.hasLength(2)); |
5094 checkOperationWarnings(o[0]); | 5648 checkOperationWarnings(o[0]); |
5095 checkOperationWarnings(o[1]); | 5649 checkOperationWarnings(o[1]); |
5096 } | 5650 } |
5097 | 5651 |
5098 core.int buildCounterOperation = 0; | 5652 core.int buildCounterOperation = 0; |
5099 buildOperation() { | 5653 buildOperation() { |
5100 var o = new api.Operation(); | 5654 var o = new api.Operation(); |
5101 buildCounterOperation++; | 5655 buildCounterOperation++; |
5102 if (buildCounterOperation < 3) { | 5656 if (buildCounterOperation < 3) { |
(...skipping 11 matching lines...) Expand all Loading... |
5114 o.operationType = "foo"; | 5668 o.operationType = "foo"; |
5115 o.progress = 42; | 5669 o.progress = 42; |
5116 o.region = "foo"; | 5670 o.region = "foo"; |
5117 o.selfLink = "foo"; | 5671 o.selfLink = "foo"; |
5118 o.startTime = "foo"; | 5672 o.startTime = "foo"; |
5119 o.status = "foo"; | 5673 o.status = "foo"; |
5120 o.statusMessage = "foo"; | 5674 o.statusMessage = "foo"; |
5121 o.targetId = "foo"; | 5675 o.targetId = "foo"; |
5122 o.targetLink = "foo"; | 5676 o.targetLink = "foo"; |
5123 o.user = "foo"; | 5677 o.user = "foo"; |
5124 o.warnings = buildUnnamed2203(); | 5678 o.warnings = buildUnnamed2302(); |
5125 o.zone = "foo"; | 5679 o.zone = "foo"; |
5126 } | 5680 } |
5127 buildCounterOperation--; | 5681 buildCounterOperation--; |
5128 return o; | 5682 return o; |
5129 } | 5683 } |
5130 | 5684 |
5131 checkOperation(api.Operation o) { | 5685 checkOperation(api.Operation o) { |
5132 buildCounterOperation++; | 5686 buildCounterOperation++; |
5133 if (buildCounterOperation < 3) { | 5687 if (buildCounterOperation < 3) { |
5134 unittest.expect(o.clientOperationId, unittest.equals('foo')); | 5688 unittest.expect(o.clientOperationId, unittest.equals('foo')); |
(...skipping 10 matching lines...) Expand all Loading... |
5145 unittest.expect(o.operationType, unittest.equals('foo')); | 5699 unittest.expect(o.operationType, unittest.equals('foo')); |
5146 unittest.expect(o.progress, unittest.equals(42)); | 5700 unittest.expect(o.progress, unittest.equals(42)); |
5147 unittest.expect(o.region, unittest.equals('foo')); | 5701 unittest.expect(o.region, unittest.equals('foo')); |
5148 unittest.expect(o.selfLink, unittest.equals('foo')); | 5702 unittest.expect(o.selfLink, unittest.equals('foo')); |
5149 unittest.expect(o.startTime, unittest.equals('foo')); | 5703 unittest.expect(o.startTime, unittest.equals('foo')); |
5150 unittest.expect(o.status, unittest.equals('foo')); | 5704 unittest.expect(o.status, unittest.equals('foo')); |
5151 unittest.expect(o.statusMessage, unittest.equals('foo')); | 5705 unittest.expect(o.statusMessage, unittest.equals('foo')); |
5152 unittest.expect(o.targetId, unittest.equals('foo')); | 5706 unittest.expect(o.targetId, unittest.equals('foo')); |
5153 unittest.expect(o.targetLink, unittest.equals('foo')); | 5707 unittest.expect(o.targetLink, unittest.equals('foo')); |
5154 unittest.expect(o.user, unittest.equals('foo')); | 5708 unittest.expect(o.user, unittest.equals('foo')); |
5155 checkUnnamed2203(o.warnings); | 5709 checkUnnamed2302(o.warnings); |
5156 unittest.expect(o.zone, unittest.equals('foo')); | 5710 unittest.expect(o.zone, unittest.equals('foo')); |
5157 } | 5711 } |
5158 buildCounterOperation--; | 5712 buildCounterOperation--; |
5159 } | 5713 } |
5160 | 5714 |
5161 buildUnnamed2204() { | 5715 buildUnnamed2303() { |
5162 var o = new core.Map<core.String, api.OperationsScopedList>(); | 5716 var o = new core.Map<core.String, api.OperationsScopedList>(); |
5163 o["x"] = buildOperationsScopedList(); | 5717 o["x"] = buildOperationsScopedList(); |
5164 o["y"] = buildOperationsScopedList(); | 5718 o["y"] = buildOperationsScopedList(); |
5165 return o; | 5719 return o; |
5166 } | 5720 } |
5167 | 5721 |
5168 checkUnnamed2204(core.Map<core.String, api.OperationsScopedList> o) { | 5722 checkUnnamed2303(core.Map<core.String, api.OperationsScopedList> o) { |
5169 unittest.expect(o, unittest.hasLength(2)); | 5723 unittest.expect(o, unittest.hasLength(2)); |
5170 checkOperationsScopedList(o["x"]); | 5724 checkOperationsScopedList(o["x"]); |
5171 checkOperationsScopedList(o["y"]); | 5725 checkOperationsScopedList(o["y"]); |
5172 } | 5726 } |
5173 | 5727 |
5174 core.int buildCounterOperationAggregatedList = 0; | 5728 core.int buildCounterOperationAggregatedList = 0; |
5175 buildOperationAggregatedList() { | 5729 buildOperationAggregatedList() { |
5176 var o = new api.OperationAggregatedList(); | 5730 var o = new api.OperationAggregatedList(); |
5177 buildCounterOperationAggregatedList++; | 5731 buildCounterOperationAggregatedList++; |
5178 if (buildCounterOperationAggregatedList < 3) { | 5732 if (buildCounterOperationAggregatedList < 3) { |
5179 o.id = "foo"; | 5733 o.id = "foo"; |
5180 o.items = buildUnnamed2204(); | 5734 o.items = buildUnnamed2303(); |
5181 o.kind = "foo"; | 5735 o.kind = "foo"; |
5182 o.nextPageToken = "foo"; | 5736 o.nextPageToken = "foo"; |
5183 o.selfLink = "foo"; | 5737 o.selfLink = "foo"; |
5184 } | 5738 } |
5185 buildCounterOperationAggregatedList--; | 5739 buildCounterOperationAggregatedList--; |
5186 return o; | 5740 return o; |
5187 } | 5741 } |
5188 | 5742 |
5189 checkOperationAggregatedList(api.OperationAggregatedList o) { | 5743 checkOperationAggregatedList(api.OperationAggregatedList o) { |
5190 buildCounterOperationAggregatedList++; | 5744 buildCounterOperationAggregatedList++; |
5191 if (buildCounterOperationAggregatedList < 3) { | 5745 if (buildCounterOperationAggregatedList < 3) { |
5192 unittest.expect(o.id, unittest.equals('foo')); | 5746 unittest.expect(o.id, unittest.equals('foo')); |
5193 checkUnnamed2204(o.items); | 5747 checkUnnamed2303(o.items); |
5194 unittest.expect(o.kind, unittest.equals('foo')); | 5748 unittest.expect(o.kind, unittest.equals('foo')); |
5195 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5749 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5196 unittest.expect(o.selfLink, unittest.equals('foo')); | 5750 unittest.expect(o.selfLink, unittest.equals('foo')); |
5197 } | 5751 } |
5198 buildCounterOperationAggregatedList--; | 5752 buildCounterOperationAggregatedList--; |
5199 } | 5753 } |
5200 | 5754 |
5201 buildUnnamed2205() { | 5755 buildUnnamed2304() { |
5202 var o = new core.List<api.Operation>(); | 5756 var o = new core.List<api.Operation>(); |
5203 o.add(buildOperation()); | 5757 o.add(buildOperation()); |
5204 o.add(buildOperation()); | 5758 o.add(buildOperation()); |
5205 return o; | 5759 return o; |
5206 } | 5760 } |
5207 | 5761 |
5208 checkUnnamed2205(core.List<api.Operation> o) { | 5762 checkUnnamed2304(core.List<api.Operation> o) { |
5209 unittest.expect(o, unittest.hasLength(2)); | 5763 unittest.expect(o, unittest.hasLength(2)); |
5210 checkOperation(o[0]); | 5764 checkOperation(o[0]); |
5211 checkOperation(o[1]); | 5765 checkOperation(o[1]); |
5212 } | 5766 } |
5213 | 5767 |
5214 core.int buildCounterOperationList = 0; | 5768 core.int buildCounterOperationList = 0; |
5215 buildOperationList() { | 5769 buildOperationList() { |
5216 var o = new api.OperationList(); | 5770 var o = new api.OperationList(); |
5217 buildCounterOperationList++; | 5771 buildCounterOperationList++; |
5218 if (buildCounterOperationList < 3) { | 5772 if (buildCounterOperationList < 3) { |
5219 o.id = "foo"; | 5773 o.id = "foo"; |
5220 o.items = buildUnnamed2205(); | 5774 o.items = buildUnnamed2304(); |
5221 o.kind = "foo"; | 5775 o.kind = "foo"; |
5222 o.nextPageToken = "foo"; | 5776 o.nextPageToken = "foo"; |
5223 o.selfLink = "foo"; | 5777 o.selfLink = "foo"; |
5224 } | 5778 } |
5225 buildCounterOperationList--; | 5779 buildCounterOperationList--; |
5226 return o; | 5780 return o; |
5227 } | 5781 } |
5228 | 5782 |
5229 checkOperationList(api.OperationList o) { | 5783 checkOperationList(api.OperationList o) { |
5230 buildCounterOperationList++; | 5784 buildCounterOperationList++; |
5231 if (buildCounterOperationList < 3) { | 5785 if (buildCounterOperationList < 3) { |
5232 unittest.expect(o.id, unittest.equals('foo')); | 5786 unittest.expect(o.id, unittest.equals('foo')); |
5233 checkUnnamed2205(o.items); | 5787 checkUnnamed2304(o.items); |
5234 unittest.expect(o.kind, unittest.equals('foo')); | 5788 unittest.expect(o.kind, unittest.equals('foo')); |
5235 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5789 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5236 unittest.expect(o.selfLink, unittest.equals('foo')); | 5790 unittest.expect(o.selfLink, unittest.equals('foo')); |
5237 } | 5791 } |
5238 buildCounterOperationList--; | 5792 buildCounterOperationList--; |
5239 } | 5793 } |
5240 | 5794 |
5241 buildUnnamed2206() { | 5795 buildUnnamed2305() { |
5242 var o = new core.List<api.Operation>(); | 5796 var o = new core.List<api.Operation>(); |
5243 o.add(buildOperation()); | 5797 o.add(buildOperation()); |
5244 o.add(buildOperation()); | 5798 o.add(buildOperation()); |
5245 return o; | 5799 return o; |
5246 } | 5800 } |
5247 | 5801 |
5248 checkUnnamed2206(core.List<api.Operation> o) { | 5802 checkUnnamed2305(core.List<api.Operation> o) { |
5249 unittest.expect(o, unittest.hasLength(2)); | 5803 unittest.expect(o, unittest.hasLength(2)); |
5250 checkOperation(o[0]); | 5804 checkOperation(o[0]); |
5251 checkOperation(o[1]); | 5805 checkOperation(o[1]); |
5252 } | 5806 } |
5253 | 5807 |
5254 core.int buildCounterOperationsScopedListWarningData = 0; | 5808 core.int buildCounterOperationsScopedListWarningData = 0; |
5255 buildOperationsScopedListWarningData() { | 5809 buildOperationsScopedListWarningData() { |
5256 var o = new api.OperationsScopedListWarningData(); | 5810 var o = new api.OperationsScopedListWarningData(); |
5257 buildCounterOperationsScopedListWarningData++; | 5811 buildCounterOperationsScopedListWarningData++; |
5258 if (buildCounterOperationsScopedListWarningData < 3) { | 5812 if (buildCounterOperationsScopedListWarningData < 3) { |
5259 o.key = "foo"; | 5813 o.key = "foo"; |
5260 o.value = "foo"; | 5814 o.value = "foo"; |
5261 } | 5815 } |
5262 buildCounterOperationsScopedListWarningData--; | 5816 buildCounterOperationsScopedListWarningData--; |
5263 return o; | 5817 return o; |
5264 } | 5818 } |
5265 | 5819 |
5266 checkOperationsScopedListWarningData(api.OperationsScopedListWarningData o) { | 5820 checkOperationsScopedListWarningData(api.OperationsScopedListWarningData o) { |
5267 buildCounterOperationsScopedListWarningData++; | 5821 buildCounterOperationsScopedListWarningData++; |
5268 if (buildCounterOperationsScopedListWarningData < 3) { | 5822 if (buildCounterOperationsScopedListWarningData < 3) { |
5269 unittest.expect(o.key, unittest.equals('foo')); | 5823 unittest.expect(o.key, unittest.equals('foo')); |
5270 unittest.expect(o.value, unittest.equals('foo')); | 5824 unittest.expect(o.value, unittest.equals('foo')); |
5271 } | 5825 } |
5272 buildCounterOperationsScopedListWarningData--; | 5826 buildCounterOperationsScopedListWarningData--; |
5273 } | 5827 } |
5274 | 5828 |
5275 buildUnnamed2207() { | 5829 buildUnnamed2306() { |
5276 var o = new core.List<api.OperationsScopedListWarningData>(); | 5830 var o = new core.List<api.OperationsScopedListWarningData>(); |
5277 o.add(buildOperationsScopedListWarningData()); | 5831 o.add(buildOperationsScopedListWarningData()); |
5278 o.add(buildOperationsScopedListWarningData()); | 5832 o.add(buildOperationsScopedListWarningData()); |
5279 return o; | 5833 return o; |
5280 } | 5834 } |
5281 | 5835 |
5282 checkUnnamed2207(core.List<api.OperationsScopedListWarningData> o) { | 5836 checkUnnamed2306(core.List<api.OperationsScopedListWarningData> o) { |
5283 unittest.expect(o, unittest.hasLength(2)); | 5837 unittest.expect(o, unittest.hasLength(2)); |
5284 checkOperationsScopedListWarningData(o[0]); | 5838 checkOperationsScopedListWarningData(o[0]); |
5285 checkOperationsScopedListWarningData(o[1]); | 5839 checkOperationsScopedListWarningData(o[1]); |
5286 } | 5840 } |
5287 | 5841 |
5288 core.int buildCounterOperationsScopedListWarning = 0; | 5842 core.int buildCounterOperationsScopedListWarning = 0; |
5289 buildOperationsScopedListWarning() { | 5843 buildOperationsScopedListWarning() { |
5290 var o = new api.OperationsScopedListWarning(); | 5844 var o = new api.OperationsScopedListWarning(); |
5291 buildCounterOperationsScopedListWarning++; | 5845 buildCounterOperationsScopedListWarning++; |
5292 if (buildCounterOperationsScopedListWarning < 3) { | 5846 if (buildCounterOperationsScopedListWarning < 3) { |
5293 o.code = "foo"; | 5847 o.code = "foo"; |
5294 o.data = buildUnnamed2207(); | 5848 o.data = buildUnnamed2306(); |
5295 o.message = "foo"; | 5849 o.message = "foo"; |
5296 } | 5850 } |
5297 buildCounterOperationsScopedListWarning--; | 5851 buildCounterOperationsScopedListWarning--; |
5298 return o; | 5852 return o; |
5299 } | 5853 } |
5300 | 5854 |
5301 checkOperationsScopedListWarning(api.OperationsScopedListWarning o) { | 5855 checkOperationsScopedListWarning(api.OperationsScopedListWarning o) { |
5302 buildCounterOperationsScopedListWarning++; | 5856 buildCounterOperationsScopedListWarning++; |
5303 if (buildCounterOperationsScopedListWarning < 3) { | 5857 if (buildCounterOperationsScopedListWarning < 3) { |
5304 unittest.expect(o.code, unittest.equals('foo')); | 5858 unittest.expect(o.code, unittest.equals('foo')); |
5305 checkUnnamed2207(o.data); | 5859 checkUnnamed2306(o.data); |
5306 unittest.expect(o.message, unittest.equals('foo')); | 5860 unittest.expect(o.message, unittest.equals('foo')); |
5307 } | 5861 } |
5308 buildCounterOperationsScopedListWarning--; | 5862 buildCounterOperationsScopedListWarning--; |
5309 } | 5863 } |
5310 | 5864 |
5311 core.int buildCounterOperationsScopedList = 0; | 5865 core.int buildCounterOperationsScopedList = 0; |
5312 buildOperationsScopedList() { | 5866 buildOperationsScopedList() { |
5313 var o = new api.OperationsScopedList(); | 5867 var o = new api.OperationsScopedList(); |
5314 buildCounterOperationsScopedList++; | 5868 buildCounterOperationsScopedList++; |
5315 if (buildCounterOperationsScopedList < 3) { | 5869 if (buildCounterOperationsScopedList < 3) { |
5316 o.operations = buildUnnamed2206(); | 5870 o.operations = buildUnnamed2305(); |
5317 o.warning = buildOperationsScopedListWarning(); | 5871 o.warning = buildOperationsScopedListWarning(); |
5318 } | 5872 } |
5319 buildCounterOperationsScopedList--; | 5873 buildCounterOperationsScopedList--; |
5320 return o; | 5874 return o; |
5321 } | 5875 } |
5322 | 5876 |
5323 checkOperationsScopedList(api.OperationsScopedList o) { | 5877 checkOperationsScopedList(api.OperationsScopedList o) { |
5324 buildCounterOperationsScopedList++; | 5878 buildCounterOperationsScopedList++; |
5325 if (buildCounterOperationsScopedList < 3) { | 5879 if (buildCounterOperationsScopedList < 3) { |
5326 checkUnnamed2206(o.operations); | 5880 checkUnnamed2305(o.operations); |
5327 checkOperationsScopedListWarning(o.warning); | 5881 checkOperationsScopedListWarning(o.warning); |
5328 } | 5882 } |
5329 buildCounterOperationsScopedList--; | 5883 buildCounterOperationsScopedList--; |
5330 } | 5884 } |
5331 | 5885 |
5332 buildUnnamed2208() { | 5886 buildUnnamed2307() { |
5333 var o = new core.List<api.PathRule>(); | 5887 var o = new core.List<api.PathRule>(); |
5334 o.add(buildPathRule()); | 5888 o.add(buildPathRule()); |
5335 o.add(buildPathRule()); | 5889 o.add(buildPathRule()); |
5336 return o; | 5890 return o; |
5337 } | 5891 } |
5338 | 5892 |
5339 checkUnnamed2208(core.List<api.PathRule> o) { | 5893 checkUnnamed2307(core.List<api.PathRule> o) { |
5340 unittest.expect(o, unittest.hasLength(2)); | 5894 unittest.expect(o, unittest.hasLength(2)); |
5341 checkPathRule(o[0]); | 5895 checkPathRule(o[0]); |
5342 checkPathRule(o[1]); | 5896 checkPathRule(o[1]); |
5343 } | 5897 } |
5344 | 5898 |
5345 core.int buildCounterPathMatcher = 0; | 5899 core.int buildCounterPathMatcher = 0; |
5346 buildPathMatcher() { | 5900 buildPathMatcher() { |
5347 var o = new api.PathMatcher(); | 5901 var o = new api.PathMatcher(); |
5348 buildCounterPathMatcher++; | 5902 buildCounterPathMatcher++; |
5349 if (buildCounterPathMatcher < 3) { | 5903 if (buildCounterPathMatcher < 3) { |
5350 o.defaultService = "foo"; | 5904 o.defaultService = "foo"; |
5351 o.description = "foo"; | 5905 o.description = "foo"; |
5352 o.name = "foo"; | 5906 o.name = "foo"; |
5353 o.pathRules = buildUnnamed2208(); | 5907 o.pathRules = buildUnnamed2307(); |
5354 } | 5908 } |
5355 buildCounterPathMatcher--; | 5909 buildCounterPathMatcher--; |
5356 return o; | 5910 return o; |
5357 } | 5911 } |
5358 | 5912 |
5359 checkPathMatcher(api.PathMatcher o) { | 5913 checkPathMatcher(api.PathMatcher o) { |
5360 buildCounterPathMatcher++; | 5914 buildCounterPathMatcher++; |
5361 if (buildCounterPathMatcher < 3) { | 5915 if (buildCounterPathMatcher < 3) { |
5362 unittest.expect(o.defaultService, unittest.equals('foo')); | 5916 unittest.expect(o.defaultService, unittest.equals('foo')); |
5363 unittest.expect(o.description, unittest.equals('foo')); | 5917 unittest.expect(o.description, unittest.equals('foo')); |
5364 unittest.expect(o.name, unittest.equals('foo')); | 5918 unittest.expect(o.name, unittest.equals('foo')); |
5365 checkUnnamed2208(o.pathRules); | 5919 checkUnnamed2307(o.pathRules); |
5366 } | 5920 } |
5367 buildCounterPathMatcher--; | 5921 buildCounterPathMatcher--; |
5368 } | 5922 } |
5369 | 5923 |
5370 buildUnnamed2209() { | 5924 buildUnnamed2308() { |
5371 var o = new core.List<core.String>(); | 5925 var o = new core.List<core.String>(); |
5372 o.add("foo"); | 5926 o.add("foo"); |
5373 o.add("foo"); | 5927 o.add("foo"); |
5374 return o; | 5928 return o; |
5375 } | 5929 } |
5376 | 5930 |
5377 checkUnnamed2209(core.List<core.String> o) { | 5931 checkUnnamed2308(core.List<core.String> o) { |
5378 unittest.expect(o, unittest.hasLength(2)); | 5932 unittest.expect(o, unittest.hasLength(2)); |
5379 unittest.expect(o[0], unittest.equals('foo')); | 5933 unittest.expect(o[0], unittest.equals('foo')); |
5380 unittest.expect(o[1], unittest.equals('foo')); | 5934 unittest.expect(o[1], unittest.equals('foo')); |
5381 } | 5935 } |
5382 | 5936 |
5383 core.int buildCounterPathRule = 0; | 5937 core.int buildCounterPathRule = 0; |
5384 buildPathRule() { | 5938 buildPathRule() { |
5385 var o = new api.PathRule(); | 5939 var o = new api.PathRule(); |
5386 buildCounterPathRule++; | 5940 buildCounterPathRule++; |
5387 if (buildCounterPathRule < 3) { | 5941 if (buildCounterPathRule < 3) { |
5388 o.paths = buildUnnamed2209(); | 5942 o.paths = buildUnnamed2308(); |
5389 o.service = "foo"; | 5943 o.service = "foo"; |
5390 } | 5944 } |
5391 buildCounterPathRule--; | 5945 buildCounterPathRule--; |
5392 return o; | 5946 return o; |
5393 } | 5947 } |
5394 | 5948 |
5395 checkPathRule(api.PathRule o) { | 5949 checkPathRule(api.PathRule o) { |
5396 buildCounterPathRule++; | 5950 buildCounterPathRule++; |
5397 if (buildCounterPathRule < 3) { | 5951 if (buildCounterPathRule < 3) { |
5398 checkUnnamed2209(o.paths); | 5952 checkUnnamed2308(o.paths); |
5399 unittest.expect(o.service, unittest.equals('foo')); | 5953 unittest.expect(o.service, unittest.equals('foo')); |
5400 } | 5954 } |
5401 buildCounterPathRule--; | 5955 buildCounterPathRule--; |
5402 } | 5956 } |
5403 | 5957 |
5404 buildUnnamed2210() { | 5958 buildUnnamed2309() { |
5405 var o = new core.List<core.String>(); | 5959 var o = new core.List<core.String>(); |
5406 o.add("foo"); | 5960 o.add("foo"); |
5407 o.add("foo"); | 5961 o.add("foo"); |
5408 return o; | 5962 return o; |
5409 } | 5963 } |
5410 | 5964 |
5411 checkUnnamed2210(core.List<core.String> o) { | 5965 checkUnnamed2309(core.List<core.String> o) { |
5412 unittest.expect(o, unittest.hasLength(2)); | 5966 unittest.expect(o, unittest.hasLength(2)); |
5413 unittest.expect(o[0], unittest.equals('foo')); | 5967 unittest.expect(o[0], unittest.equals('foo')); |
5414 unittest.expect(o[1], unittest.equals('foo')); | 5968 unittest.expect(o[1], unittest.equals('foo')); |
5415 } | 5969 } |
5416 | 5970 |
5417 buildUnnamed2211() { | 5971 buildUnnamed2310() { |
5418 var o = new core.List<api.Quota>(); | 5972 var o = new core.List<api.Quota>(); |
5419 o.add(buildQuota()); | 5973 o.add(buildQuota()); |
5420 o.add(buildQuota()); | 5974 o.add(buildQuota()); |
5421 return o; | 5975 return o; |
5422 } | 5976 } |
5423 | 5977 |
5424 checkUnnamed2211(core.List<api.Quota> o) { | 5978 checkUnnamed2310(core.List<api.Quota> o) { |
5425 unittest.expect(o, unittest.hasLength(2)); | 5979 unittest.expect(o, unittest.hasLength(2)); |
5426 checkQuota(o[0]); | 5980 checkQuota(o[0]); |
5427 checkQuota(o[1]); | 5981 checkQuota(o[1]); |
5428 } | 5982 } |
5429 | 5983 |
5430 core.int buildCounterProject = 0; | 5984 core.int buildCounterProject = 0; |
5431 buildProject() { | 5985 buildProject() { |
5432 var o = new api.Project(); | 5986 var o = new api.Project(); |
5433 buildCounterProject++; | 5987 buildCounterProject++; |
5434 if (buildCounterProject < 3) { | 5988 if (buildCounterProject < 3) { |
5435 o.commonInstanceMetadata = buildMetadata(); | 5989 o.commonInstanceMetadata = buildMetadata(); |
5436 o.creationTimestamp = "foo"; | 5990 o.creationTimestamp = "foo"; |
5437 o.defaultServiceAccount = "foo"; | 5991 o.defaultServiceAccount = "foo"; |
5438 o.description = "foo"; | 5992 o.description = "foo"; |
5439 o.enabledFeatures = buildUnnamed2210(); | 5993 o.enabledFeatures = buildUnnamed2309(); |
5440 o.id = "foo"; | 5994 o.id = "foo"; |
5441 o.kind = "foo"; | 5995 o.kind = "foo"; |
5442 o.name = "foo"; | 5996 o.name = "foo"; |
5443 o.quotas = buildUnnamed2211(); | 5997 o.quotas = buildUnnamed2310(); |
5444 o.selfLink = "foo"; | 5998 o.selfLink = "foo"; |
5445 o.usageExportLocation = buildUsageExportLocation(); | 5999 o.usageExportLocation = buildUsageExportLocation(); |
5446 o.xpnProjectStatus = "foo"; | 6000 o.xpnProjectStatus = "foo"; |
5447 } | 6001 } |
5448 buildCounterProject--; | 6002 buildCounterProject--; |
5449 return o; | 6003 return o; |
5450 } | 6004 } |
5451 | 6005 |
5452 checkProject(api.Project o) { | 6006 checkProject(api.Project o) { |
5453 buildCounterProject++; | 6007 buildCounterProject++; |
5454 if (buildCounterProject < 3) { | 6008 if (buildCounterProject < 3) { |
5455 checkMetadata(o.commonInstanceMetadata); | 6009 checkMetadata(o.commonInstanceMetadata); |
5456 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 6010 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
5457 unittest.expect(o.defaultServiceAccount, unittest.equals('foo')); | 6011 unittest.expect(o.defaultServiceAccount, unittest.equals('foo')); |
5458 unittest.expect(o.description, unittest.equals('foo')); | 6012 unittest.expect(o.description, unittest.equals('foo')); |
5459 checkUnnamed2210(o.enabledFeatures); | 6013 checkUnnamed2309(o.enabledFeatures); |
5460 unittest.expect(o.id, unittest.equals('foo')); | 6014 unittest.expect(o.id, unittest.equals('foo')); |
5461 unittest.expect(o.kind, unittest.equals('foo')); | 6015 unittest.expect(o.kind, unittest.equals('foo')); |
5462 unittest.expect(o.name, unittest.equals('foo')); | 6016 unittest.expect(o.name, unittest.equals('foo')); |
5463 checkUnnamed2211(o.quotas); | 6017 checkUnnamed2310(o.quotas); |
5464 unittest.expect(o.selfLink, unittest.equals('foo')); | 6018 unittest.expect(o.selfLink, unittest.equals('foo')); |
5465 checkUsageExportLocation(o.usageExportLocation); | 6019 checkUsageExportLocation(o.usageExportLocation); |
5466 unittest.expect(o.xpnProjectStatus, unittest.equals('foo')); | 6020 unittest.expect(o.xpnProjectStatus, unittest.equals('foo')); |
5467 } | 6021 } |
5468 buildCounterProject--; | 6022 buildCounterProject--; |
5469 } | 6023 } |
5470 | 6024 |
5471 core.int buildCounterProjectsDisableXpnResourceRequest = 0; | 6025 core.int buildCounterProjectsDisableXpnResourceRequest = 0; |
5472 buildProjectsDisableXpnResourceRequest() { | 6026 buildProjectsDisableXpnResourceRequest() { |
5473 var o = new api.ProjectsDisableXpnResourceRequest(); | 6027 var o = new api.ProjectsDisableXpnResourceRequest(); |
(...skipping 25 matching lines...) Expand all Loading... |
5499 } | 6053 } |
5500 | 6054 |
5501 checkProjectsEnableXpnResourceRequest(api.ProjectsEnableXpnResourceRequest o) { | 6055 checkProjectsEnableXpnResourceRequest(api.ProjectsEnableXpnResourceRequest o) { |
5502 buildCounterProjectsEnableXpnResourceRequest++; | 6056 buildCounterProjectsEnableXpnResourceRequest++; |
5503 if (buildCounterProjectsEnableXpnResourceRequest < 3) { | 6057 if (buildCounterProjectsEnableXpnResourceRequest < 3) { |
5504 checkXpnResourceId(o.xpnResource); | 6058 checkXpnResourceId(o.xpnResource); |
5505 } | 6059 } |
5506 buildCounterProjectsEnableXpnResourceRequest--; | 6060 buildCounterProjectsEnableXpnResourceRequest--; |
5507 } | 6061 } |
5508 | 6062 |
5509 buildUnnamed2212() { | 6063 buildUnnamed2311() { |
5510 var o = new core.List<api.XpnResourceId>(); | 6064 var o = new core.List<api.XpnResourceId>(); |
5511 o.add(buildXpnResourceId()); | 6065 o.add(buildXpnResourceId()); |
5512 o.add(buildXpnResourceId()); | 6066 o.add(buildXpnResourceId()); |
5513 return o; | 6067 return o; |
5514 } | 6068 } |
5515 | 6069 |
5516 checkUnnamed2212(core.List<api.XpnResourceId> o) { | 6070 checkUnnamed2311(core.List<api.XpnResourceId> o) { |
5517 unittest.expect(o, unittest.hasLength(2)); | 6071 unittest.expect(o, unittest.hasLength(2)); |
5518 checkXpnResourceId(o[0]); | 6072 checkXpnResourceId(o[0]); |
5519 checkXpnResourceId(o[1]); | 6073 checkXpnResourceId(o[1]); |
5520 } | 6074 } |
5521 | 6075 |
5522 core.int buildCounterProjectsGetXpnResources = 0; | 6076 core.int buildCounterProjectsGetXpnResources = 0; |
5523 buildProjectsGetXpnResources() { | 6077 buildProjectsGetXpnResources() { |
5524 var o = new api.ProjectsGetXpnResources(); | 6078 var o = new api.ProjectsGetXpnResources(); |
5525 buildCounterProjectsGetXpnResources++; | 6079 buildCounterProjectsGetXpnResources++; |
5526 if (buildCounterProjectsGetXpnResources < 3) { | 6080 if (buildCounterProjectsGetXpnResources < 3) { |
5527 o.kind = "foo"; | 6081 o.kind = "foo"; |
5528 o.nextPageToken = "foo"; | 6082 o.nextPageToken = "foo"; |
5529 o.resources = buildUnnamed2212(); | 6083 o.resources = buildUnnamed2311(); |
5530 } | 6084 } |
5531 buildCounterProjectsGetXpnResources--; | 6085 buildCounterProjectsGetXpnResources--; |
5532 return o; | 6086 return o; |
5533 } | 6087 } |
5534 | 6088 |
5535 checkProjectsGetXpnResources(api.ProjectsGetXpnResources o) { | 6089 checkProjectsGetXpnResources(api.ProjectsGetXpnResources o) { |
5536 buildCounterProjectsGetXpnResources++; | 6090 buildCounterProjectsGetXpnResources++; |
5537 if (buildCounterProjectsGetXpnResources < 3) { | 6091 if (buildCounterProjectsGetXpnResources < 3) { |
5538 unittest.expect(o.kind, unittest.equals('foo')); | 6092 unittest.expect(o.kind, unittest.equals('foo')); |
5539 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6093 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5540 checkUnnamed2212(o.resources); | 6094 checkUnnamed2311(o.resources); |
5541 } | 6095 } |
5542 buildCounterProjectsGetXpnResources--; | 6096 buildCounterProjectsGetXpnResources--; |
5543 } | 6097 } |
5544 | 6098 |
5545 core.int buildCounterProjectsListXpnHostsRequest = 0; | 6099 core.int buildCounterProjectsListXpnHostsRequest = 0; |
5546 buildProjectsListXpnHostsRequest() { | 6100 buildProjectsListXpnHostsRequest() { |
5547 var o = new api.ProjectsListXpnHostsRequest(); | 6101 var o = new api.ProjectsListXpnHostsRequest(); |
5548 buildCounterProjectsListXpnHostsRequest++; | 6102 buildCounterProjectsListXpnHostsRequest++; |
5549 if (buildCounterProjectsListXpnHostsRequest < 3) { | 6103 if (buildCounterProjectsListXpnHostsRequest < 3) { |
5550 o.organization = "foo"; | 6104 o.organization = "foo"; |
(...skipping 26 matching lines...) Expand all Loading... |
5577 checkQuota(api.Quota o) { | 6131 checkQuota(api.Quota o) { |
5578 buildCounterQuota++; | 6132 buildCounterQuota++; |
5579 if (buildCounterQuota < 3) { | 6133 if (buildCounterQuota < 3) { |
5580 unittest.expect(o.limit, unittest.equals(42.0)); | 6134 unittest.expect(o.limit, unittest.equals(42.0)); |
5581 unittest.expect(o.metric, unittest.equals('foo')); | 6135 unittest.expect(o.metric, unittest.equals('foo')); |
5582 unittest.expect(o.usage, unittest.equals(42.0)); | 6136 unittest.expect(o.usage, unittest.equals(42.0)); |
5583 } | 6137 } |
5584 buildCounterQuota--; | 6138 buildCounterQuota--; |
5585 } | 6139 } |
5586 | 6140 |
5587 buildUnnamed2213() { | 6141 buildUnnamed2312() { |
5588 var o = new core.List<api.Quota>(); | 6142 var o = new core.List<api.Quota>(); |
5589 o.add(buildQuota()); | 6143 o.add(buildQuota()); |
5590 o.add(buildQuota()); | 6144 o.add(buildQuota()); |
5591 return o; | 6145 return o; |
5592 } | 6146 } |
5593 | 6147 |
5594 checkUnnamed2213(core.List<api.Quota> o) { | 6148 checkUnnamed2312(core.List<api.Quota> o) { |
5595 unittest.expect(o, unittest.hasLength(2)); | 6149 unittest.expect(o, unittest.hasLength(2)); |
5596 checkQuota(o[0]); | 6150 checkQuota(o[0]); |
5597 checkQuota(o[1]); | 6151 checkQuota(o[1]); |
5598 } | 6152 } |
5599 | 6153 |
5600 buildUnnamed2214() { | 6154 buildUnnamed2313() { |
5601 var o = new core.List<core.String>(); | 6155 var o = new core.List<core.String>(); |
5602 o.add("foo"); | 6156 o.add("foo"); |
5603 o.add("foo"); | 6157 o.add("foo"); |
5604 return o; | 6158 return o; |
5605 } | 6159 } |
5606 | 6160 |
5607 checkUnnamed2214(core.List<core.String> o) { | 6161 checkUnnamed2313(core.List<core.String> o) { |
5608 unittest.expect(o, unittest.hasLength(2)); | 6162 unittest.expect(o, unittest.hasLength(2)); |
5609 unittest.expect(o[0], unittest.equals('foo')); | 6163 unittest.expect(o[0], unittest.equals('foo')); |
5610 unittest.expect(o[1], unittest.equals('foo')); | 6164 unittest.expect(o[1], unittest.equals('foo')); |
5611 } | 6165 } |
5612 | 6166 |
5613 core.int buildCounterRegion = 0; | 6167 core.int buildCounterRegion = 0; |
5614 buildRegion() { | 6168 buildRegion() { |
5615 var o = new api.Region(); | 6169 var o = new api.Region(); |
5616 buildCounterRegion++; | 6170 buildCounterRegion++; |
5617 if (buildCounterRegion < 3) { | 6171 if (buildCounterRegion < 3) { |
5618 o.creationTimestamp = "foo"; | 6172 o.creationTimestamp = "foo"; |
5619 o.deprecated = buildDeprecationStatus(); | 6173 o.deprecated = buildDeprecationStatus(); |
5620 o.description = "foo"; | 6174 o.description = "foo"; |
5621 o.id = "foo"; | 6175 o.id = "foo"; |
5622 o.kind = "foo"; | 6176 o.kind = "foo"; |
5623 o.name = "foo"; | 6177 o.name = "foo"; |
5624 o.quotas = buildUnnamed2213(); | 6178 o.quotas = buildUnnamed2312(); |
5625 o.selfLink = "foo"; | 6179 o.selfLink = "foo"; |
5626 o.status = "foo"; | 6180 o.status = "foo"; |
5627 o.zones = buildUnnamed2214(); | 6181 o.zones = buildUnnamed2313(); |
5628 } | 6182 } |
5629 buildCounterRegion--; | 6183 buildCounterRegion--; |
5630 return o; | 6184 return o; |
5631 } | 6185 } |
5632 | 6186 |
5633 checkRegion(api.Region o) { | 6187 checkRegion(api.Region o) { |
5634 buildCounterRegion++; | 6188 buildCounterRegion++; |
5635 if (buildCounterRegion < 3) { | 6189 if (buildCounterRegion < 3) { |
5636 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 6190 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
5637 checkDeprecationStatus(o.deprecated); | 6191 checkDeprecationStatus(o.deprecated); |
5638 unittest.expect(o.description, unittest.equals('foo')); | 6192 unittest.expect(o.description, unittest.equals('foo')); |
5639 unittest.expect(o.id, unittest.equals('foo')); | 6193 unittest.expect(o.id, unittest.equals('foo')); |
5640 unittest.expect(o.kind, unittest.equals('foo')); | 6194 unittest.expect(o.kind, unittest.equals('foo')); |
5641 unittest.expect(o.name, unittest.equals('foo')); | 6195 unittest.expect(o.name, unittest.equals('foo')); |
5642 checkUnnamed2213(o.quotas); | 6196 checkUnnamed2312(o.quotas); |
5643 unittest.expect(o.selfLink, unittest.equals('foo')); | 6197 unittest.expect(o.selfLink, unittest.equals('foo')); |
5644 unittest.expect(o.status, unittest.equals('foo')); | 6198 unittest.expect(o.status, unittest.equals('foo')); |
5645 checkUnnamed2214(o.zones); | 6199 checkUnnamed2313(o.zones); |
5646 } | 6200 } |
5647 buildCounterRegion--; | 6201 buildCounterRegion--; |
5648 } | 6202 } |
5649 | 6203 |
5650 buildUnnamed2215() { | 6204 buildUnnamed2314() { |
5651 var o = new core.List<api.Autoscaler>(); | 6205 var o = new core.List<api.Autoscaler>(); |
5652 o.add(buildAutoscaler()); | 6206 o.add(buildAutoscaler()); |
5653 o.add(buildAutoscaler()); | 6207 o.add(buildAutoscaler()); |
5654 return o; | 6208 return o; |
5655 } | 6209 } |
5656 | 6210 |
5657 checkUnnamed2215(core.List<api.Autoscaler> o) { | 6211 checkUnnamed2314(core.List<api.Autoscaler> o) { |
5658 unittest.expect(o, unittest.hasLength(2)); | 6212 unittest.expect(o, unittest.hasLength(2)); |
5659 checkAutoscaler(o[0]); | 6213 checkAutoscaler(o[0]); |
5660 checkAutoscaler(o[1]); | 6214 checkAutoscaler(o[1]); |
5661 } | 6215 } |
5662 | 6216 |
5663 core.int buildCounterRegionAutoscalerList = 0; | 6217 core.int buildCounterRegionAutoscalerList = 0; |
5664 buildRegionAutoscalerList() { | 6218 buildRegionAutoscalerList() { |
5665 var o = new api.RegionAutoscalerList(); | 6219 var o = new api.RegionAutoscalerList(); |
5666 buildCounterRegionAutoscalerList++; | 6220 buildCounterRegionAutoscalerList++; |
5667 if (buildCounterRegionAutoscalerList < 3) { | 6221 if (buildCounterRegionAutoscalerList < 3) { |
5668 o.id = "foo"; | 6222 o.id = "foo"; |
5669 o.items = buildUnnamed2215(); | 6223 o.items = buildUnnamed2314(); |
5670 o.kind = "foo"; | 6224 o.kind = "foo"; |
5671 o.nextPageToken = "foo"; | 6225 o.nextPageToken = "foo"; |
5672 o.selfLink = "foo"; | 6226 o.selfLink = "foo"; |
5673 } | 6227 } |
5674 buildCounterRegionAutoscalerList--; | 6228 buildCounterRegionAutoscalerList--; |
5675 return o; | 6229 return o; |
5676 } | 6230 } |
5677 | 6231 |
5678 checkRegionAutoscalerList(api.RegionAutoscalerList o) { | 6232 checkRegionAutoscalerList(api.RegionAutoscalerList o) { |
5679 buildCounterRegionAutoscalerList++; | 6233 buildCounterRegionAutoscalerList++; |
5680 if (buildCounterRegionAutoscalerList < 3) { | 6234 if (buildCounterRegionAutoscalerList < 3) { |
5681 unittest.expect(o.id, unittest.equals('foo')); | 6235 unittest.expect(o.id, unittest.equals('foo')); |
5682 checkUnnamed2215(o.items); | 6236 checkUnnamed2314(o.items); |
5683 unittest.expect(o.kind, unittest.equals('foo')); | 6237 unittest.expect(o.kind, unittest.equals('foo')); |
5684 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6238 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5685 unittest.expect(o.selfLink, unittest.equals('foo')); | 6239 unittest.expect(o.selfLink, unittest.equals('foo')); |
5686 } | 6240 } |
5687 buildCounterRegionAutoscalerList--; | 6241 buildCounterRegionAutoscalerList--; |
5688 } | 6242 } |
5689 | 6243 |
5690 buildUnnamed2216() { | 6244 buildUnnamed2315() { |
5691 var o = new core.List<api.InstanceGroup>(); | 6245 var o = new core.List<api.InstanceGroup>(); |
5692 o.add(buildInstanceGroup()); | 6246 o.add(buildInstanceGroup()); |
5693 o.add(buildInstanceGroup()); | 6247 o.add(buildInstanceGroup()); |
5694 return o; | 6248 return o; |
5695 } | 6249 } |
5696 | 6250 |
5697 checkUnnamed2216(core.List<api.InstanceGroup> o) { | 6251 checkUnnamed2315(core.List<api.InstanceGroup> o) { |
5698 unittest.expect(o, unittest.hasLength(2)); | 6252 unittest.expect(o, unittest.hasLength(2)); |
5699 checkInstanceGroup(o[0]); | 6253 checkInstanceGroup(o[0]); |
5700 checkInstanceGroup(o[1]); | 6254 checkInstanceGroup(o[1]); |
5701 } | 6255 } |
5702 | 6256 |
5703 core.int buildCounterRegionInstanceGroupList = 0; | 6257 core.int buildCounterRegionInstanceGroupList = 0; |
5704 buildRegionInstanceGroupList() { | 6258 buildRegionInstanceGroupList() { |
5705 var o = new api.RegionInstanceGroupList(); | 6259 var o = new api.RegionInstanceGroupList(); |
5706 buildCounterRegionInstanceGroupList++; | 6260 buildCounterRegionInstanceGroupList++; |
5707 if (buildCounterRegionInstanceGroupList < 3) { | 6261 if (buildCounterRegionInstanceGroupList < 3) { |
5708 o.id = "foo"; | 6262 o.id = "foo"; |
5709 o.items = buildUnnamed2216(); | 6263 o.items = buildUnnamed2315(); |
5710 o.kind = "foo"; | 6264 o.kind = "foo"; |
5711 o.nextPageToken = "foo"; | 6265 o.nextPageToken = "foo"; |
5712 o.selfLink = "foo"; | 6266 o.selfLink = "foo"; |
5713 } | 6267 } |
5714 buildCounterRegionInstanceGroupList--; | 6268 buildCounterRegionInstanceGroupList--; |
5715 return o; | 6269 return o; |
5716 } | 6270 } |
5717 | 6271 |
5718 checkRegionInstanceGroupList(api.RegionInstanceGroupList o) { | 6272 checkRegionInstanceGroupList(api.RegionInstanceGroupList o) { |
5719 buildCounterRegionInstanceGroupList++; | 6273 buildCounterRegionInstanceGroupList++; |
5720 if (buildCounterRegionInstanceGroupList < 3) { | 6274 if (buildCounterRegionInstanceGroupList < 3) { |
5721 unittest.expect(o.id, unittest.equals('foo')); | 6275 unittest.expect(o.id, unittest.equals('foo')); |
5722 checkUnnamed2216(o.items); | 6276 checkUnnamed2315(o.items); |
5723 unittest.expect(o.kind, unittest.equals('foo')); | 6277 unittest.expect(o.kind, unittest.equals('foo')); |
5724 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6278 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5725 unittest.expect(o.selfLink, unittest.equals('foo')); | 6279 unittest.expect(o.selfLink, unittest.equals('foo')); |
5726 } | 6280 } |
5727 buildCounterRegionInstanceGroupList--; | 6281 buildCounterRegionInstanceGroupList--; |
5728 } | 6282 } |
5729 | 6283 |
5730 buildUnnamed2217() { | 6284 buildUnnamed2316() { |
5731 var o = new core.List<api.InstanceGroupManager>(); | 6285 var o = new core.List<api.InstanceGroupManager>(); |
5732 o.add(buildInstanceGroupManager()); | 6286 o.add(buildInstanceGroupManager()); |
5733 o.add(buildInstanceGroupManager()); | 6287 o.add(buildInstanceGroupManager()); |
5734 return o; | 6288 return o; |
5735 } | 6289 } |
5736 | 6290 |
5737 checkUnnamed2217(core.List<api.InstanceGroupManager> o) { | 6291 checkUnnamed2316(core.List<api.InstanceGroupManager> o) { |
5738 unittest.expect(o, unittest.hasLength(2)); | 6292 unittest.expect(o, unittest.hasLength(2)); |
5739 checkInstanceGroupManager(o[0]); | 6293 checkInstanceGroupManager(o[0]); |
5740 checkInstanceGroupManager(o[1]); | 6294 checkInstanceGroupManager(o[1]); |
5741 } | 6295 } |
5742 | 6296 |
5743 core.int buildCounterRegionInstanceGroupManagerList = 0; | 6297 core.int buildCounterRegionInstanceGroupManagerList = 0; |
5744 buildRegionInstanceGroupManagerList() { | 6298 buildRegionInstanceGroupManagerList() { |
5745 var o = new api.RegionInstanceGroupManagerList(); | 6299 var o = new api.RegionInstanceGroupManagerList(); |
5746 buildCounterRegionInstanceGroupManagerList++; | 6300 buildCounterRegionInstanceGroupManagerList++; |
5747 if (buildCounterRegionInstanceGroupManagerList < 3) { | 6301 if (buildCounterRegionInstanceGroupManagerList < 3) { |
5748 o.id = "foo"; | 6302 o.id = "foo"; |
5749 o.items = buildUnnamed2217(); | 6303 o.items = buildUnnamed2316(); |
5750 o.kind = "foo"; | 6304 o.kind = "foo"; |
5751 o.nextPageToken = "foo"; | 6305 o.nextPageToken = "foo"; |
5752 o.selfLink = "foo"; | 6306 o.selfLink = "foo"; |
5753 } | 6307 } |
5754 buildCounterRegionInstanceGroupManagerList--; | 6308 buildCounterRegionInstanceGroupManagerList--; |
5755 return o; | 6309 return o; |
5756 } | 6310 } |
5757 | 6311 |
5758 checkRegionInstanceGroupManagerList(api.RegionInstanceGroupManagerList o) { | 6312 checkRegionInstanceGroupManagerList(api.RegionInstanceGroupManagerList o) { |
5759 buildCounterRegionInstanceGroupManagerList++; | 6313 buildCounterRegionInstanceGroupManagerList++; |
5760 if (buildCounterRegionInstanceGroupManagerList < 3) { | 6314 if (buildCounterRegionInstanceGroupManagerList < 3) { |
5761 unittest.expect(o.id, unittest.equals('foo')); | 6315 unittest.expect(o.id, unittest.equals('foo')); |
5762 checkUnnamed2217(o.items); | 6316 checkUnnamed2316(o.items); |
5763 unittest.expect(o.kind, unittest.equals('foo')); | 6317 unittest.expect(o.kind, unittest.equals('foo')); |
5764 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6318 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5765 unittest.expect(o.selfLink, unittest.equals('foo')); | 6319 unittest.expect(o.selfLink, unittest.equals('foo')); |
5766 } | 6320 } |
5767 buildCounterRegionInstanceGroupManagerList--; | 6321 buildCounterRegionInstanceGroupManagerList--; |
5768 } | 6322 } |
5769 | 6323 |
5770 buildUnnamed2218() { | 6324 buildUnnamed2317() { |
5771 var o = new core.List<core.String>(); | 6325 var o = new core.List<core.String>(); |
5772 o.add("foo"); | 6326 o.add("foo"); |
5773 o.add("foo"); | 6327 o.add("foo"); |
5774 return o; | 6328 return o; |
5775 } | 6329 } |
5776 | 6330 |
5777 checkUnnamed2218(core.List<core.String> o) { | 6331 checkUnnamed2317(core.List<core.String> o) { |
5778 unittest.expect(o, unittest.hasLength(2)); | 6332 unittest.expect(o, unittest.hasLength(2)); |
5779 unittest.expect(o[0], unittest.equals('foo')); | 6333 unittest.expect(o[0], unittest.equals('foo')); |
5780 unittest.expect(o[1], unittest.equals('foo')); | 6334 unittest.expect(o[1], unittest.equals('foo')); |
5781 } | 6335 } |
5782 | 6336 |
5783 core.int buildCounterRegionInstanceGroupManagersAbandonInstancesRequest = 0; | 6337 core.int buildCounterRegionInstanceGroupManagersAbandonInstancesRequest = 0; |
5784 buildRegionInstanceGroupManagersAbandonInstancesRequest() { | 6338 buildRegionInstanceGroupManagersAbandonInstancesRequest() { |
5785 var o = new api.RegionInstanceGroupManagersAbandonInstancesRequest(); | 6339 var o = new api.RegionInstanceGroupManagersAbandonInstancesRequest(); |
5786 buildCounterRegionInstanceGroupManagersAbandonInstancesRequest++; | 6340 buildCounterRegionInstanceGroupManagersAbandonInstancesRequest++; |
5787 if (buildCounterRegionInstanceGroupManagersAbandonInstancesRequest < 3) { | 6341 if (buildCounterRegionInstanceGroupManagersAbandonInstancesRequest < 3) { |
5788 o.instances = buildUnnamed2218(); | 6342 o.instances = buildUnnamed2317(); |
5789 } | 6343 } |
5790 buildCounterRegionInstanceGroupManagersAbandonInstancesRequest--; | 6344 buildCounterRegionInstanceGroupManagersAbandonInstancesRequest--; |
5791 return o; | 6345 return o; |
5792 } | 6346 } |
5793 | 6347 |
5794 checkRegionInstanceGroupManagersAbandonInstancesRequest(api.RegionInstanceGroupM
anagersAbandonInstancesRequest o) { | 6348 checkRegionInstanceGroupManagersAbandonInstancesRequest(api.RegionInstanceGroupM
anagersAbandonInstancesRequest o) { |
5795 buildCounterRegionInstanceGroupManagersAbandonInstancesRequest++; | 6349 buildCounterRegionInstanceGroupManagersAbandonInstancesRequest++; |
5796 if (buildCounterRegionInstanceGroupManagersAbandonInstancesRequest < 3) { | 6350 if (buildCounterRegionInstanceGroupManagersAbandonInstancesRequest < 3) { |
5797 checkUnnamed2218(o.instances); | 6351 checkUnnamed2317(o.instances); |
5798 } | 6352 } |
5799 buildCounterRegionInstanceGroupManagersAbandonInstancesRequest--; | 6353 buildCounterRegionInstanceGroupManagersAbandonInstancesRequest--; |
5800 } | 6354 } |
5801 | 6355 |
5802 buildUnnamed2219() { | 6356 buildUnnamed2318() { |
5803 var o = new core.List<core.String>(); | 6357 var o = new core.List<core.String>(); |
5804 o.add("foo"); | 6358 o.add("foo"); |
5805 o.add("foo"); | 6359 o.add("foo"); |
5806 return o; | 6360 return o; |
5807 } | 6361 } |
5808 | 6362 |
5809 checkUnnamed2219(core.List<core.String> o) { | 6363 checkUnnamed2318(core.List<core.String> o) { |
5810 unittest.expect(o, unittest.hasLength(2)); | 6364 unittest.expect(o, unittest.hasLength(2)); |
5811 unittest.expect(o[0], unittest.equals('foo')); | 6365 unittest.expect(o[0], unittest.equals('foo')); |
5812 unittest.expect(o[1], unittest.equals('foo')); | 6366 unittest.expect(o[1], unittest.equals('foo')); |
5813 } | 6367 } |
5814 | 6368 |
5815 core.int buildCounterRegionInstanceGroupManagersDeleteInstancesRequest = 0; | 6369 core.int buildCounterRegionInstanceGroupManagersDeleteInstancesRequest = 0; |
5816 buildRegionInstanceGroupManagersDeleteInstancesRequest() { | 6370 buildRegionInstanceGroupManagersDeleteInstancesRequest() { |
5817 var o = new api.RegionInstanceGroupManagersDeleteInstancesRequest(); | 6371 var o = new api.RegionInstanceGroupManagersDeleteInstancesRequest(); |
5818 buildCounterRegionInstanceGroupManagersDeleteInstancesRequest++; | 6372 buildCounterRegionInstanceGroupManagersDeleteInstancesRequest++; |
5819 if (buildCounterRegionInstanceGroupManagersDeleteInstancesRequest < 3) { | 6373 if (buildCounterRegionInstanceGroupManagersDeleteInstancesRequest < 3) { |
5820 o.instances = buildUnnamed2219(); | 6374 o.instances = buildUnnamed2318(); |
5821 } | 6375 } |
5822 buildCounterRegionInstanceGroupManagersDeleteInstancesRequest--; | 6376 buildCounterRegionInstanceGroupManagersDeleteInstancesRequest--; |
5823 return o; | 6377 return o; |
5824 } | 6378 } |
5825 | 6379 |
5826 checkRegionInstanceGroupManagersDeleteInstancesRequest(api.RegionInstanceGroupMa
nagersDeleteInstancesRequest o) { | 6380 checkRegionInstanceGroupManagersDeleteInstancesRequest(api.RegionInstanceGroupMa
nagersDeleteInstancesRequest o) { |
5827 buildCounterRegionInstanceGroupManagersDeleteInstancesRequest++; | 6381 buildCounterRegionInstanceGroupManagersDeleteInstancesRequest++; |
5828 if (buildCounterRegionInstanceGroupManagersDeleteInstancesRequest < 3) { | 6382 if (buildCounterRegionInstanceGroupManagersDeleteInstancesRequest < 3) { |
5829 checkUnnamed2219(o.instances); | 6383 checkUnnamed2318(o.instances); |
5830 } | 6384 } |
5831 buildCounterRegionInstanceGroupManagersDeleteInstancesRequest--; | 6385 buildCounterRegionInstanceGroupManagersDeleteInstancesRequest--; |
5832 } | 6386 } |
5833 | 6387 |
5834 buildUnnamed2220() { | 6388 buildUnnamed2319() { |
5835 var o = new core.List<api.ManagedInstance>(); | 6389 var o = new core.List<api.ManagedInstance>(); |
5836 o.add(buildManagedInstance()); | 6390 o.add(buildManagedInstance()); |
5837 o.add(buildManagedInstance()); | 6391 o.add(buildManagedInstance()); |
5838 return o; | 6392 return o; |
5839 } | 6393 } |
5840 | 6394 |
5841 checkUnnamed2220(core.List<api.ManagedInstance> o) { | 6395 checkUnnamed2319(core.List<api.ManagedInstance> o) { |
5842 unittest.expect(o, unittest.hasLength(2)); | 6396 unittest.expect(o, unittest.hasLength(2)); |
5843 checkManagedInstance(o[0]); | 6397 checkManagedInstance(o[0]); |
5844 checkManagedInstance(o[1]); | 6398 checkManagedInstance(o[1]); |
5845 } | 6399 } |
5846 | 6400 |
5847 core.int buildCounterRegionInstanceGroupManagersListInstancesResponse = 0; | 6401 core.int buildCounterRegionInstanceGroupManagersListInstancesResponse = 0; |
5848 buildRegionInstanceGroupManagersListInstancesResponse() { | 6402 buildRegionInstanceGroupManagersListInstancesResponse() { |
5849 var o = new api.RegionInstanceGroupManagersListInstancesResponse(); | 6403 var o = new api.RegionInstanceGroupManagersListInstancesResponse(); |
5850 buildCounterRegionInstanceGroupManagersListInstancesResponse++; | 6404 buildCounterRegionInstanceGroupManagersListInstancesResponse++; |
5851 if (buildCounterRegionInstanceGroupManagersListInstancesResponse < 3) { | 6405 if (buildCounterRegionInstanceGroupManagersListInstancesResponse < 3) { |
5852 o.managedInstances = buildUnnamed2220(); | 6406 o.managedInstances = buildUnnamed2319(); |
5853 } | 6407 } |
5854 buildCounterRegionInstanceGroupManagersListInstancesResponse--; | 6408 buildCounterRegionInstanceGroupManagersListInstancesResponse--; |
5855 return o; | 6409 return o; |
5856 } | 6410 } |
5857 | 6411 |
5858 checkRegionInstanceGroupManagersListInstancesResponse(api.RegionInstanceGroupMan
agersListInstancesResponse o) { | 6412 checkRegionInstanceGroupManagersListInstancesResponse(api.RegionInstanceGroupMan
agersListInstancesResponse o) { |
5859 buildCounterRegionInstanceGroupManagersListInstancesResponse++; | 6413 buildCounterRegionInstanceGroupManagersListInstancesResponse++; |
5860 if (buildCounterRegionInstanceGroupManagersListInstancesResponse < 3) { | 6414 if (buildCounterRegionInstanceGroupManagersListInstancesResponse < 3) { |
5861 checkUnnamed2220(o.managedInstances); | 6415 checkUnnamed2319(o.managedInstances); |
5862 } | 6416 } |
5863 buildCounterRegionInstanceGroupManagersListInstancesResponse--; | 6417 buildCounterRegionInstanceGroupManagersListInstancesResponse--; |
5864 } | 6418 } |
5865 | 6419 |
5866 buildUnnamed2221() { | 6420 buildUnnamed2320() { |
5867 var o = new core.List<core.String>(); | 6421 var o = new core.List<core.String>(); |
5868 o.add("foo"); | 6422 o.add("foo"); |
5869 o.add("foo"); | 6423 o.add("foo"); |
5870 return o; | 6424 return o; |
5871 } | 6425 } |
5872 | 6426 |
5873 checkUnnamed2221(core.List<core.String> o) { | 6427 checkUnnamed2320(core.List<core.String> o) { |
5874 unittest.expect(o, unittest.hasLength(2)); | 6428 unittest.expect(o, unittest.hasLength(2)); |
5875 unittest.expect(o[0], unittest.equals('foo')); | 6429 unittest.expect(o[0], unittest.equals('foo')); |
5876 unittest.expect(o[1], unittest.equals('foo')); | 6430 unittest.expect(o[1], unittest.equals('foo')); |
5877 } | 6431 } |
5878 | 6432 |
5879 core.int buildCounterRegionInstanceGroupManagersRecreateRequest = 0; | 6433 core.int buildCounterRegionInstanceGroupManagersRecreateRequest = 0; |
5880 buildRegionInstanceGroupManagersRecreateRequest() { | 6434 buildRegionInstanceGroupManagersRecreateRequest() { |
5881 var o = new api.RegionInstanceGroupManagersRecreateRequest(); | 6435 var o = new api.RegionInstanceGroupManagersRecreateRequest(); |
5882 buildCounterRegionInstanceGroupManagersRecreateRequest++; | 6436 buildCounterRegionInstanceGroupManagersRecreateRequest++; |
5883 if (buildCounterRegionInstanceGroupManagersRecreateRequest < 3) { | 6437 if (buildCounterRegionInstanceGroupManagersRecreateRequest < 3) { |
5884 o.instances = buildUnnamed2221(); | 6438 o.instances = buildUnnamed2320(); |
5885 } | 6439 } |
5886 buildCounterRegionInstanceGroupManagersRecreateRequest--; | 6440 buildCounterRegionInstanceGroupManagersRecreateRequest--; |
5887 return o; | 6441 return o; |
5888 } | 6442 } |
5889 | 6443 |
5890 checkRegionInstanceGroupManagersRecreateRequest(api.RegionInstanceGroupManagersR
ecreateRequest o) { | 6444 checkRegionInstanceGroupManagersRecreateRequest(api.RegionInstanceGroupManagersR
ecreateRequest o) { |
5891 buildCounterRegionInstanceGroupManagersRecreateRequest++; | 6445 buildCounterRegionInstanceGroupManagersRecreateRequest++; |
5892 if (buildCounterRegionInstanceGroupManagersRecreateRequest < 3) { | 6446 if (buildCounterRegionInstanceGroupManagersRecreateRequest < 3) { |
5893 checkUnnamed2221(o.instances); | 6447 checkUnnamed2320(o.instances); |
5894 } | 6448 } |
5895 buildCounterRegionInstanceGroupManagersRecreateRequest--; | 6449 buildCounterRegionInstanceGroupManagersRecreateRequest--; |
5896 } | 6450 } |
5897 | 6451 |
5898 buildUnnamed2222() { | 6452 buildUnnamed2321() { |
5899 var o = new core.List<core.String>(); | 6453 var o = new core.List<core.String>(); |
5900 o.add("foo"); | 6454 o.add("foo"); |
5901 o.add("foo"); | 6455 o.add("foo"); |
5902 return o; | 6456 return o; |
5903 } | 6457 } |
5904 | 6458 |
5905 checkUnnamed2222(core.List<core.String> o) { | 6459 checkUnnamed2321(core.List<core.String> o) { |
5906 unittest.expect(o, unittest.hasLength(2)); | 6460 unittest.expect(o, unittest.hasLength(2)); |
5907 unittest.expect(o[0], unittest.equals('foo')); | 6461 unittest.expect(o[0], unittest.equals('foo')); |
5908 unittest.expect(o[1], unittest.equals('foo')); | 6462 unittest.expect(o[1], unittest.equals('foo')); |
5909 } | 6463 } |
5910 | 6464 |
5911 core.int buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest = 0; | 6465 core.int buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest = 0; |
5912 buildRegionInstanceGroupManagersSetTargetPoolsRequest() { | 6466 buildRegionInstanceGroupManagersSetTargetPoolsRequest() { |
5913 var o = new api.RegionInstanceGroupManagersSetTargetPoolsRequest(); | 6467 var o = new api.RegionInstanceGroupManagersSetTargetPoolsRequest(); |
5914 buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest++; | 6468 buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest++; |
5915 if (buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest < 3) { | 6469 if (buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest < 3) { |
5916 o.fingerprint = "foo"; | 6470 o.fingerprint = "foo"; |
5917 o.targetPools = buildUnnamed2222(); | 6471 o.targetPools = buildUnnamed2321(); |
5918 } | 6472 } |
5919 buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest--; | 6473 buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest--; |
5920 return o; | 6474 return o; |
5921 } | 6475 } |
5922 | 6476 |
5923 checkRegionInstanceGroupManagersSetTargetPoolsRequest(api.RegionInstanceGroupMan
agersSetTargetPoolsRequest o) { | 6477 checkRegionInstanceGroupManagersSetTargetPoolsRequest(api.RegionInstanceGroupMan
agersSetTargetPoolsRequest o) { |
5924 buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest++; | 6478 buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest++; |
5925 if (buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest < 3) { | 6479 if (buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest < 3) { |
5926 unittest.expect(o.fingerprint, unittest.equals('foo')); | 6480 unittest.expect(o.fingerprint, unittest.equals('foo')); |
5927 checkUnnamed2222(o.targetPools); | 6481 checkUnnamed2321(o.targetPools); |
5928 } | 6482 } |
5929 buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest--; | 6483 buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest--; |
5930 } | 6484 } |
5931 | 6485 |
5932 core.int buildCounterRegionInstanceGroupManagersSetTemplateRequest = 0; | 6486 core.int buildCounterRegionInstanceGroupManagersSetTemplateRequest = 0; |
5933 buildRegionInstanceGroupManagersSetTemplateRequest() { | 6487 buildRegionInstanceGroupManagersSetTemplateRequest() { |
5934 var o = new api.RegionInstanceGroupManagersSetTemplateRequest(); | 6488 var o = new api.RegionInstanceGroupManagersSetTemplateRequest(); |
5935 buildCounterRegionInstanceGroupManagersSetTemplateRequest++; | 6489 buildCounterRegionInstanceGroupManagersSetTemplateRequest++; |
5936 if (buildCounterRegionInstanceGroupManagersSetTemplateRequest < 3) { | 6490 if (buildCounterRegionInstanceGroupManagersSetTemplateRequest < 3) { |
5937 o.instanceTemplate = "foo"; | 6491 o.instanceTemplate = "foo"; |
5938 } | 6492 } |
5939 buildCounterRegionInstanceGroupManagersSetTemplateRequest--; | 6493 buildCounterRegionInstanceGroupManagersSetTemplateRequest--; |
5940 return o; | 6494 return o; |
5941 } | 6495 } |
5942 | 6496 |
5943 checkRegionInstanceGroupManagersSetTemplateRequest(api.RegionInstanceGroupManage
rsSetTemplateRequest o) { | 6497 checkRegionInstanceGroupManagersSetTemplateRequest(api.RegionInstanceGroupManage
rsSetTemplateRequest o) { |
5944 buildCounterRegionInstanceGroupManagersSetTemplateRequest++; | 6498 buildCounterRegionInstanceGroupManagersSetTemplateRequest++; |
5945 if (buildCounterRegionInstanceGroupManagersSetTemplateRequest < 3) { | 6499 if (buildCounterRegionInstanceGroupManagersSetTemplateRequest < 3) { |
5946 unittest.expect(o.instanceTemplate, unittest.equals('foo')); | 6500 unittest.expect(o.instanceTemplate, unittest.equals('foo')); |
5947 } | 6501 } |
5948 buildCounterRegionInstanceGroupManagersSetTemplateRequest--; | 6502 buildCounterRegionInstanceGroupManagersSetTemplateRequest--; |
5949 } | 6503 } |
5950 | 6504 |
5951 buildUnnamed2223() { | 6505 buildUnnamed2322() { |
5952 var o = new core.List<api.InstanceWithNamedPorts>(); | 6506 var o = new core.List<api.InstanceWithNamedPorts>(); |
5953 o.add(buildInstanceWithNamedPorts()); | 6507 o.add(buildInstanceWithNamedPorts()); |
5954 o.add(buildInstanceWithNamedPorts()); | 6508 o.add(buildInstanceWithNamedPorts()); |
5955 return o; | 6509 return o; |
5956 } | 6510 } |
5957 | 6511 |
5958 checkUnnamed2223(core.List<api.InstanceWithNamedPorts> o) { | 6512 checkUnnamed2322(core.List<api.InstanceWithNamedPorts> o) { |
5959 unittest.expect(o, unittest.hasLength(2)); | 6513 unittest.expect(o, unittest.hasLength(2)); |
5960 checkInstanceWithNamedPorts(o[0]); | 6514 checkInstanceWithNamedPorts(o[0]); |
5961 checkInstanceWithNamedPorts(o[1]); | 6515 checkInstanceWithNamedPorts(o[1]); |
5962 } | 6516 } |
5963 | 6517 |
5964 core.int buildCounterRegionInstanceGroupsListInstances = 0; | 6518 core.int buildCounterRegionInstanceGroupsListInstances = 0; |
5965 buildRegionInstanceGroupsListInstances() { | 6519 buildRegionInstanceGroupsListInstances() { |
5966 var o = new api.RegionInstanceGroupsListInstances(); | 6520 var o = new api.RegionInstanceGroupsListInstances(); |
5967 buildCounterRegionInstanceGroupsListInstances++; | 6521 buildCounterRegionInstanceGroupsListInstances++; |
5968 if (buildCounterRegionInstanceGroupsListInstances < 3) { | 6522 if (buildCounterRegionInstanceGroupsListInstances < 3) { |
5969 o.id = "foo"; | 6523 o.id = "foo"; |
5970 o.items = buildUnnamed2223(); | 6524 o.items = buildUnnamed2322(); |
5971 o.kind = "foo"; | 6525 o.kind = "foo"; |
5972 o.nextPageToken = "foo"; | 6526 o.nextPageToken = "foo"; |
5973 o.selfLink = "foo"; | 6527 o.selfLink = "foo"; |
5974 } | 6528 } |
5975 buildCounterRegionInstanceGroupsListInstances--; | 6529 buildCounterRegionInstanceGroupsListInstances--; |
5976 return o; | 6530 return o; |
5977 } | 6531 } |
5978 | 6532 |
5979 checkRegionInstanceGroupsListInstances(api.RegionInstanceGroupsListInstances o)
{ | 6533 checkRegionInstanceGroupsListInstances(api.RegionInstanceGroupsListInstances o)
{ |
5980 buildCounterRegionInstanceGroupsListInstances++; | 6534 buildCounterRegionInstanceGroupsListInstances++; |
5981 if (buildCounterRegionInstanceGroupsListInstances < 3) { | 6535 if (buildCounterRegionInstanceGroupsListInstances < 3) { |
5982 unittest.expect(o.id, unittest.equals('foo')); | 6536 unittest.expect(o.id, unittest.equals('foo')); |
5983 checkUnnamed2223(o.items); | 6537 checkUnnamed2322(o.items); |
5984 unittest.expect(o.kind, unittest.equals('foo')); | 6538 unittest.expect(o.kind, unittest.equals('foo')); |
5985 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6539 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5986 unittest.expect(o.selfLink, unittest.equals('foo')); | 6540 unittest.expect(o.selfLink, unittest.equals('foo')); |
5987 } | 6541 } |
5988 buildCounterRegionInstanceGroupsListInstances--; | 6542 buildCounterRegionInstanceGroupsListInstances--; |
5989 } | 6543 } |
5990 | 6544 |
5991 core.int buildCounterRegionInstanceGroupsListInstancesRequest = 0; | 6545 core.int buildCounterRegionInstanceGroupsListInstancesRequest = 0; |
5992 buildRegionInstanceGroupsListInstancesRequest() { | 6546 buildRegionInstanceGroupsListInstancesRequest() { |
5993 var o = new api.RegionInstanceGroupsListInstancesRequest(); | 6547 var o = new api.RegionInstanceGroupsListInstancesRequest(); |
5994 buildCounterRegionInstanceGroupsListInstancesRequest++; | 6548 buildCounterRegionInstanceGroupsListInstancesRequest++; |
5995 if (buildCounterRegionInstanceGroupsListInstancesRequest < 3) { | 6549 if (buildCounterRegionInstanceGroupsListInstancesRequest < 3) { |
5996 o.instanceState = "foo"; | 6550 o.instanceState = "foo"; |
5997 o.portName = "foo"; | 6551 o.portName = "foo"; |
5998 } | 6552 } |
5999 buildCounterRegionInstanceGroupsListInstancesRequest--; | 6553 buildCounterRegionInstanceGroupsListInstancesRequest--; |
6000 return o; | 6554 return o; |
6001 } | 6555 } |
6002 | 6556 |
6003 checkRegionInstanceGroupsListInstancesRequest(api.RegionInstanceGroupsListInstan
cesRequest o) { | 6557 checkRegionInstanceGroupsListInstancesRequest(api.RegionInstanceGroupsListInstan
cesRequest o) { |
6004 buildCounterRegionInstanceGroupsListInstancesRequest++; | 6558 buildCounterRegionInstanceGroupsListInstancesRequest++; |
6005 if (buildCounterRegionInstanceGroupsListInstancesRequest < 3) { | 6559 if (buildCounterRegionInstanceGroupsListInstancesRequest < 3) { |
6006 unittest.expect(o.instanceState, unittest.equals('foo')); | 6560 unittest.expect(o.instanceState, unittest.equals('foo')); |
6007 unittest.expect(o.portName, unittest.equals('foo')); | 6561 unittest.expect(o.portName, unittest.equals('foo')); |
6008 } | 6562 } |
6009 buildCounterRegionInstanceGroupsListInstancesRequest--; | 6563 buildCounterRegionInstanceGroupsListInstancesRequest--; |
6010 } | 6564 } |
6011 | 6565 |
6012 buildUnnamed2224() { | 6566 buildUnnamed2323() { |
6013 var o = new core.List<api.NamedPort>(); | 6567 var o = new core.List<api.NamedPort>(); |
6014 o.add(buildNamedPort()); | 6568 o.add(buildNamedPort()); |
6015 o.add(buildNamedPort()); | 6569 o.add(buildNamedPort()); |
6016 return o; | 6570 return o; |
6017 } | 6571 } |
6018 | 6572 |
6019 checkUnnamed2224(core.List<api.NamedPort> o) { | 6573 checkUnnamed2323(core.List<api.NamedPort> o) { |
6020 unittest.expect(o, unittest.hasLength(2)); | 6574 unittest.expect(o, unittest.hasLength(2)); |
6021 checkNamedPort(o[0]); | 6575 checkNamedPort(o[0]); |
6022 checkNamedPort(o[1]); | 6576 checkNamedPort(o[1]); |
6023 } | 6577 } |
6024 | 6578 |
6025 core.int buildCounterRegionInstanceGroupsSetNamedPortsRequest = 0; | 6579 core.int buildCounterRegionInstanceGroupsSetNamedPortsRequest = 0; |
6026 buildRegionInstanceGroupsSetNamedPortsRequest() { | 6580 buildRegionInstanceGroupsSetNamedPortsRequest() { |
6027 var o = new api.RegionInstanceGroupsSetNamedPortsRequest(); | 6581 var o = new api.RegionInstanceGroupsSetNamedPortsRequest(); |
6028 buildCounterRegionInstanceGroupsSetNamedPortsRequest++; | 6582 buildCounterRegionInstanceGroupsSetNamedPortsRequest++; |
6029 if (buildCounterRegionInstanceGroupsSetNamedPortsRequest < 3) { | 6583 if (buildCounterRegionInstanceGroupsSetNamedPortsRequest < 3) { |
6030 o.fingerprint = "foo"; | 6584 o.fingerprint = "foo"; |
6031 o.namedPorts = buildUnnamed2224(); | 6585 o.namedPorts = buildUnnamed2323(); |
6032 } | 6586 } |
6033 buildCounterRegionInstanceGroupsSetNamedPortsRequest--; | 6587 buildCounterRegionInstanceGroupsSetNamedPortsRequest--; |
6034 return o; | 6588 return o; |
6035 } | 6589 } |
6036 | 6590 |
6037 checkRegionInstanceGroupsSetNamedPortsRequest(api.RegionInstanceGroupsSetNamedPo
rtsRequest o) { | 6591 checkRegionInstanceGroupsSetNamedPortsRequest(api.RegionInstanceGroupsSetNamedPo
rtsRequest o) { |
6038 buildCounterRegionInstanceGroupsSetNamedPortsRequest++; | 6592 buildCounterRegionInstanceGroupsSetNamedPortsRequest++; |
6039 if (buildCounterRegionInstanceGroupsSetNamedPortsRequest < 3) { | 6593 if (buildCounterRegionInstanceGroupsSetNamedPortsRequest < 3) { |
6040 unittest.expect(o.fingerprint, unittest.equals('foo')); | 6594 unittest.expect(o.fingerprint, unittest.equals('foo')); |
6041 checkUnnamed2224(o.namedPorts); | 6595 checkUnnamed2323(o.namedPorts); |
6042 } | 6596 } |
6043 buildCounterRegionInstanceGroupsSetNamedPortsRequest--; | 6597 buildCounterRegionInstanceGroupsSetNamedPortsRequest--; |
6044 } | 6598 } |
6045 | 6599 |
6046 buildUnnamed2225() { | 6600 buildUnnamed2324() { |
6047 var o = new core.List<api.Region>(); | 6601 var o = new core.List<api.Region>(); |
6048 o.add(buildRegion()); | 6602 o.add(buildRegion()); |
6049 o.add(buildRegion()); | 6603 o.add(buildRegion()); |
6050 return o; | 6604 return o; |
6051 } | 6605 } |
6052 | 6606 |
6053 checkUnnamed2225(core.List<api.Region> o) { | 6607 checkUnnamed2324(core.List<api.Region> o) { |
6054 unittest.expect(o, unittest.hasLength(2)); | 6608 unittest.expect(o, unittest.hasLength(2)); |
6055 checkRegion(o[0]); | 6609 checkRegion(o[0]); |
6056 checkRegion(o[1]); | 6610 checkRegion(o[1]); |
6057 } | 6611 } |
6058 | 6612 |
6059 core.int buildCounterRegionList = 0; | 6613 core.int buildCounterRegionList = 0; |
6060 buildRegionList() { | 6614 buildRegionList() { |
6061 var o = new api.RegionList(); | 6615 var o = new api.RegionList(); |
6062 buildCounterRegionList++; | 6616 buildCounterRegionList++; |
6063 if (buildCounterRegionList < 3) { | 6617 if (buildCounterRegionList < 3) { |
6064 o.id = "foo"; | 6618 o.id = "foo"; |
6065 o.items = buildUnnamed2225(); | 6619 o.items = buildUnnamed2324(); |
6066 o.kind = "foo"; | 6620 o.kind = "foo"; |
6067 o.nextPageToken = "foo"; | 6621 o.nextPageToken = "foo"; |
6068 o.selfLink = "foo"; | 6622 o.selfLink = "foo"; |
6069 } | 6623 } |
6070 buildCounterRegionList--; | 6624 buildCounterRegionList--; |
6071 return o; | 6625 return o; |
6072 } | 6626 } |
6073 | 6627 |
6074 checkRegionList(api.RegionList o) { | 6628 checkRegionList(api.RegionList o) { |
6075 buildCounterRegionList++; | 6629 buildCounterRegionList++; |
6076 if (buildCounterRegionList < 3) { | 6630 if (buildCounterRegionList < 3) { |
6077 unittest.expect(o.id, unittest.equals('foo')); | 6631 unittest.expect(o.id, unittest.equals('foo')); |
6078 checkUnnamed2225(o.items); | 6632 checkUnnamed2324(o.items); |
6079 unittest.expect(o.kind, unittest.equals('foo')); | 6633 unittest.expect(o.kind, unittest.equals('foo')); |
6080 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6634 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
6081 unittest.expect(o.selfLink, unittest.equals('foo')); | 6635 unittest.expect(o.selfLink, unittest.equals('foo')); |
6082 } | 6636 } |
6083 buildCounterRegionList--; | 6637 buildCounterRegionList--; |
6084 } | 6638 } |
6085 | 6639 |
| 6640 core.int buildCounterResourceCommitment = 0; |
| 6641 buildResourceCommitment() { |
| 6642 var o = new api.ResourceCommitment(); |
| 6643 buildCounterResourceCommitment++; |
| 6644 if (buildCounterResourceCommitment < 3) { |
| 6645 o.amount = "foo"; |
| 6646 o.type = "foo"; |
| 6647 } |
| 6648 buildCounterResourceCommitment--; |
| 6649 return o; |
| 6650 } |
| 6651 |
| 6652 checkResourceCommitment(api.ResourceCommitment o) { |
| 6653 buildCounterResourceCommitment++; |
| 6654 if (buildCounterResourceCommitment < 3) { |
| 6655 unittest.expect(o.amount, unittest.equals('foo')); |
| 6656 unittest.expect(o.type, unittest.equals('foo')); |
| 6657 } |
| 6658 buildCounterResourceCommitment--; |
| 6659 } |
| 6660 |
6086 core.int buildCounterResourceGroupReference = 0; | 6661 core.int buildCounterResourceGroupReference = 0; |
6087 buildResourceGroupReference() { | 6662 buildResourceGroupReference() { |
6088 var o = new api.ResourceGroupReference(); | 6663 var o = new api.ResourceGroupReference(); |
6089 buildCounterResourceGroupReference++; | 6664 buildCounterResourceGroupReference++; |
6090 if (buildCounterResourceGroupReference < 3) { | 6665 if (buildCounterResourceGroupReference < 3) { |
6091 o.group = "foo"; | 6666 o.group = "foo"; |
6092 } | 6667 } |
6093 buildCounterResourceGroupReference--; | 6668 buildCounterResourceGroupReference--; |
6094 return o; | 6669 return o; |
6095 } | 6670 } |
6096 | 6671 |
6097 checkResourceGroupReference(api.ResourceGroupReference o) { | 6672 checkResourceGroupReference(api.ResourceGroupReference o) { |
6098 buildCounterResourceGroupReference++; | 6673 buildCounterResourceGroupReference++; |
6099 if (buildCounterResourceGroupReference < 3) { | 6674 if (buildCounterResourceGroupReference < 3) { |
6100 unittest.expect(o.group, unittest.equals('foo')); | 6675 unittest.expect(o.group, unittest.equals('foo')); |
6101 } | 6676 } |
6102 buildCounterResourceGroupReference--; | 6677 buildCounterResourceGroupReference--; |
6103 } | 6678 } |
6104 | 6679 |
6105 buildUnnamed2226() { | 6680 buildUnnamed2325() { |
6106 var o = new core.List<core.String>(); | 6681 var o = new core.List<core.String>(); |
6107 o.add("foo"); | 6682 o.add("foo"); |
6108 o.add("foo"); | 6683 o.add("foo"); |
6109 return o; | 6684 return o; |
6110 } | 6685 } |
6111 | 6686 |
6112 checkUnnamed2226(core.List<core.String> o) { | 6687 checkUnnamed2325(core.List<core.String> o) { |
6113 unittest.expect(o, unittest.hasLength(2)); | 6688 unittest.expect(o, unittest.hasLength(2)); |
6114 unittest.expect(o[0], unittest.equals('foo')); | 6689 unittest.expect(o[0], unittest.equals('foo')); |
6115 unittest.expect(o[1], unittest.equals('foo')); | 6690 unittest.expect(o[1], unittest.equals('foo')); |
6116 } | 6691 } |
6117 | 6692 |
6118 core.int buildCounterRouteWarningsData = 0; | 6693 core.int buildCounterRouteWarningsData = 0; |
6119 buildRouteWarningsData() { | 6694 buildRouteWarningsData() { |
6120 var o = new api.RouteWarningsData(); | 6695 var o = new api.RouteWarningsData(); |
6121 buildCounterRouteWarningsData++; | 6696 buildCounterRouteWarningsData++; |
6122 if (buildCounterRouteWarningsData < 3) { | 6697 if (buildCounterRouteWarningsData < 3) { |
6123 o.key = "foo"; | 6698 o.key = "foo"; |
6124 o.value = "foo"; | 6699 o.value = "foo"; |
6125 } | 6700 } |
6126 buildCounterRouteWarningsData--; | 6701 buildCounterRouteWarningsData--; |
6127 return o; | 6702 return o; |
6128 } | 6703 } |
6129 | 6704 |
6130 checkRouteWarningsData(api.RouteWarningsData o) { | 6705 checkRouteWarningsData(api.RouteWarningsData o) { |
6131 buildCounterRouteWarningsData++; | 6706 buildCounterRouteWarningsData++; |
6132 if (buildCounterRouteWarningsData < 3) { | 6707 if (buildCounterRouteWarningsData < 3) { |
6133 unittest.expect(o.key, unittest.equals('foo')); | 6708 unittest.expect(o.key, unittest.equals('foo')); |
6134 unittest.expect(o.value, unittest.equals('foo')); | 6709 unittest.expect(o.value, unittest.equals('foo')); |
6135 } | 6710 } |
6136 buildCounterRouteWarningsData--; | 6711 buildCounterRouteWarningsData--; |
6137 } | 6712 } |
6138 | 6713 |
6139 buildUnnamed2227() { | 6714 buildUnnamed2326() { |
6140 var o = new core.List<api.RouteWarningsData>(); | 6715 var o = new core.List<api.RouteWarningsData>(); |
6141 o.add(buildRouteWarningsData()); | 6716 o.add(buildRouteWarningsData()); |
6142 o.add(buildRouteWarningsData()); | 6717 o.add(buildRouteWarningsData()); |
6143 return o; | 6718 return o; |
6144 } | 6719 } |
6145 | 6720 |
6146 checkUnnamed2227(core.List<api.RouteWarningsData> o) { | 6721 checkUnnamed2326(core.List<api.RouteWarningsData> o) { |
6147 unittest.expect(o, unittest.hasLength(2)); | 6722 unittest.expect(o, unittest.hasLength(2)); |
6148 checkRouteWarningsData(o[0]); | 6723 checkRouteWarningsData(o[0]); |
6149 checkRouteWarningsData(o[1]); | 6724 checkRouteWarningsData(o[1]); |
6150 } | 6725 } |
6151 | 6726 |
6152 core.int buildCounterRouteWarnings = 0; | 6727 core.int buildCounterRouteWarnings = 0; |
6153 buildRouteWarnings() { | 6728 buildRouteWarnings() { |
6154 var o = new api.RouteWarnings(); | 6729 var o = new api.RouteWarnings(); |
6155 buildCounterRouteWarnings++; | 6730 buildCounterRouteWarnings++; |
6156 if (buildCounterRouteWarnings < 3) { | 6731 if (buildCounterRouteWarnings < 3) { |
6157 o.code = "foo"; | 6732 o.code = "foo"; |
6158 o.data = buildUnnamed2227(); | 6733 o.data = buildUnnamed2326(); |
6159 o.message = "foo"; | 6734 o.message = "foo"; |
6160 } | 6735 } |
6161 buildCounterRouteWarnings--; | 6736 buildCounterRouteWarnings--; |
6162 return o; | 6737 return o; |
6163 } | 6738 } |
6164 | 6739 |
6165 checkRouteWarnings(api.RouteWarnings o) { | 6740 checkRouteWarnings(api.RouteWarnings o) { |
6166 buildCounterRouteWarnings++; | 6741 buildCounterRouteWarnings++; |
6167 if (buildCounterRouteWarnings < 3) { | 6742 if (buildCounterRouteWarnings < 3) { |
6168 unittest.expect(o.code, unittest.equals('foo')); | 6743 unittest.expect(o.code, unittest.equals('foo')); |
6169 checkUnnamed2227(o.data); | 6744 checkUnnamed2326(o.data); |
6170 unittest.expect(o.message, unittest.equals('foo')); | 6745 unittest.expect(o.message, unittest.equals('foo')); |
6171 } | 6746 } |
6172 buildCounterRouteWarnings--; | 6747 buildCounterRouteWarnings--; |
6173 } | 6748 } |
6174 | 6749 |
6175 buildUnnamed2228() { | 6750 buildUnnamed2327() { |
6176 var o = new core.List<api.RouteWarnings>(); | 6751 var o = new core.List<api.RouteWarnings>(); |
6177 o.add(buildRouteWarnings()); | 6752 o.add(buildRouteWarnings()); |
6178 o.add(buildRouteWarnings()); | 6753 o.add(buildRouteWarnings()); |
6179 return o; | 6754 return o; |
6180 } | 6755 } |
6181 | 6756 |
6182 checkUnnamed2228(core.List<api.RouteWarnings> o) { | 6757 checkUnnamed2327(core.List<api.RouteWarnings> o) { |
6183 unittest.expect(o, unittest.hasLength(2)); | 6758 unittest.expect(o, unittest.hasLength(2)); |
6184 checkRouteWarnings(o[0]); | 6759 checkRouteWarnings(o[0]); |
6185 checkRouteWarnings(o[1]); | 6760 checkRouteWarnings(o[1]); |
6186 } | 6761 } |
6187 | 6762 |
6188 core.int buildCounterRoute = 0; | 6763 core.int buildCounterRoute = 0; |
6189 buildRoute() { | 6764 buildRoute() { |
6190 var o = new api.Route(); | 6765 var o = new api.Route(); |
6191 buildCounterRoute++; | 6766 buildCounterRoute++; |
6192 if (buildCounterRoute < 3) { | 6767 if (buildCounterRoute < 3) { |
6193 o.creationTimestamp = "foo"; | 6768 o.creationTimestamp = "foo"; |
6194 o.description = "foo"; | 6769 o.description = "foo"; |
6195 o.destRange = "foo"; | 6770 o.destRange = "foo"; |
6196 o.id = "foo"; | 6771 o.id = "foo"; |
6197 o.kind = "foo"; | 6772 o.kind = "foo"; |
6198 o.name = "foo"; | 6773 o.name = "foo"; |
6199 o.network = "foo"; | 6774 o.network = "foo"; |
6200 o.nextHopGateway = "foo"; | 6775 o.nextHopGateway = "foo"; |
6201 o.nextHopInstance = "foo"; | 6776 o.nextHopInstance = "foo"; |
6202 o.nextHopIp = "foo"; | 6777 o.nextHopIp = "foo"; |
6203 o.nextHopNetwork = "foo"; | 6778 o.nextHopNetwork = "foo"; |
6204 o.nextHopPeering = "foo"; | 6779 o.nextHopPeering = "foo"; |
6205 o.nextHopVpnTunnel = "foo"; | 6780 o.nextHopVpnTunnel = "foo"; |
6206 o.priority = 42; | 6781 o.priority = 42; |
6207 o.selfLink = "foo"; | 6782 o.selfLink = "foo"; |
6208 o.tags = buildUnnamed2226(); | 6783 o.tags = buildUnnamed2325(); |
6209 o.warnings = buildUnnamed2228(); | 6784 o.warnings = buildUnnamed2327(); |
6210 } | 6785 } |
6211 buildCounterRoute--; | 6786 buildCounterRoute--; |
6212 return o; | 6787 return o; |
6213 } | 6788 } |
6214 | 6789 |
6215 checkRoute(api.Route o) { | 6790 checkRoute(api.Route o) { |
6216 buildCounterRoute++; | 6791 buildCounterRoute++; |
6217 if (buildCounterRoute < 3) { | 6792 if (buildCounterRoute < 3) { |
6218 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 6793 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
6219 unittest.expect(o.description, unittest.equals('foo')); | 6794 unittest.expect(o.description, unittest.equals('foo')); |
6220 unittest.expect(o.destRange, unittest.equals('foo')); | 6795 unittest.expect(o.destRange, unittest.equals('foo')); |
6221 unittest.expect(o.id, unittest.equals('foo')); | 6796 unittest.expect(o.id, unittest.equals('foo')); |
6222 unittest.expect(o.kind, unittest.equals('foo')); | 6797 unittest.expect(o.kind, unittest.equals('foo')); |
6223 unittest.expect(o.name, unittest.equals('foo')); | 6798 unittest.expect(o.name, unittest.equals('foo')); |
6224 unittest.expect(o.network, unittest.equals('foo')); | 6799 unittest.expect(o.network, unittest.equals('foo')); |
6225 unittest.expect(o.nextHopGateway, unittest.equals('foo')); | 6800 unittest.expect(o.nextHopGateway, unittest.equals('foo')); |
6226 unittest.expect(o.nextHopInstance, unittest.equals('foo')); | 6801 unittest.expect(o.nextHopInstance, unittest.equals('foo')); |
6227 unittest.expect(o.nextHopIp, unittest.equals('foo')); | 6802 unittest.expect(o.nextHopIp, unittest.equals('foo')); |
6228 unittest.expect(o.nextHopNetwork, unittest.equals('foo')); | 6803 unittest.expect(o.nextHopNetwork, unittest.equals('foo')); |
6229 unittest.expect(o.nextHopPeering, unittest.equals('foo')); | 6804 unittest.expect(o.nextHopPeering, unittest.equals('foo')); |
6230 unittest.expect(o.nextHopVpnTunnel, unittest.equals('foo')); | 6805 unittest.expect(o.nextHopVpnTunnel, unittest.equals('foo')); |
6231 unittest.expect(o.priority, unittest.equals(42)); | 6806 unittest.expect(o.priority, unittest.equals(42)); |
6232 unittest.expect(o.selfLink, unittest.equals('foo')); | 6807 unittest.expect(o.selfLink, unittest.equals('foo')); |
6233 checkUnnamed2226(o.tags); | 6808 checkUnnamed2325(o.tags); |
6234 checkUnnamed2228(o.warnings); | 6809 checkUnnamed2327(o.warnings); |
6235 } | 6810 } |
6236 buildCounterRoute--; | 6811 buildCounterRoute--; |
6237 } | 6812 } |
6238 | 6813 |
6239 buildUnnamed2229() { | 6814 buildUnnamed2328() { |
6240 var o = new core.List<api.Route>(); | 6815 var o = new core.List<api.Route>(); |
6241 o.add(buildRoute()); | 6816 o.add(buildRoute()); |
6242 o.add(buildRoute()); | 6817 o.add(buildRoute()); |
6243 return o; | 6818 return o; |
6244 } | 6819 } |
6245 | 6820 |
6246 checkUnnamed2229(core.List<api.Route> o) { | 6821 checkUnnamed2328(core.List<api.Route> o) { |
6247 unittest.expect(o, unittest.hasLength(2)); | 6822 unittest.expect(o, unittest.hasLength(2)); |
6248 checkRoute(o[0]); | 6823 checkRoute(o[0]); |
6249 checkRoute(o[1]); | 6824 checkRoute(o[1]); |
6250 } | 6825 } |
6251 | 6826 |
6252 core.int buildCounterRouteList = 0; | 6827 core.int buildCounterRouteList = 0; |
6253 buildRouteList() { | 6828 buildRouteList() { |
6254 var o = new api.RouteList(); | 6829 var o = new api.RouteList(); |
6255 buildCounterRouteList++; | 6830 buildCounterRouteList++; |
6256 if (buildCounterRouteList < 3) { | 6831 if (buildCounterRouteList < 3) { |
6257 o.id = "foo"; | 6832 o.id = "foo"; |
6258 o.items = buildUnnamed2229(); | 6833 o.items = buildUnnamed2328(); |
6259 o.kind = "foo"; | 6834 o.kind = "foo"; |
6260 o.nextPageToken = "foo"; | 6835 o.nextPageToken = "foo"; |
6261 o.selfLink = "foo"; | 6836 o.selfLink = "foo"; |
6262 } | 6837 } |
6263 buildCounterRouteList--; | 6838 buildCounterRouteList--; |
6264 return o; | 6839 return o; |
6265 } | 6840 } |
6266 | 6841 |
6267 checkRouteList(api.RouteList o) { | 6842 checkRouteList(api.RouteList o) { |
6268 buildCounterRouteList++; | 6843 buildCounterRouteList++; |
6269 if (buildCounterRouteList < 3) { | 6844 if (buildCounterRouteList < 3) { |
6270 unittest.expect(o.id, unittest.equals('foo')); | 6845 unittest.expect(o.id, unittest.equals('foo')); |
6271 checkUnnamed2229(o.items); | 6846 checkUnnamed2328(o.items); |
6272 unittest.expect(o.kind, unittest.equals('foo')); | 6847 unittest.expect(o.kind, unittest.equals('foo')); |
6273 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6848 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
6274 unittest.expect(o.selfLink, unittest.equals('foo')); | 6849 unittest.expect(o.selfLink, unittest.equals('foo')); |
6275 } | 6850 } |
6276 buildCounterRouteList--; | 6851 buildCounterRouteList--; |
6277 } | 6852 } |
6278 | 6853 |
6279 buildUnnamed2230() { | 6854 buildUnnamed2329() { |
6280 var o = new core.List<api.RouterBgpPeer>(); | 6855 var o = new core.List<api.RouterBgpPeer>(); |
6281 o.add(buildRouterBgpPeer()); | 6856 o.add(buildRouterBgpPeer()); |
6282 o.add(buildRouterBgpPeer()); | 6857 o.add(buildRouterBgpPeer()); |
6283 return o; | 6858 return o; |
6284 } | 6859 } |
6285 | 6860 |
6286 checkUnnamed2230(core.List<api.RouterBgpPeer> o) { | 6861 checkUnnamed2329(core.List<api.RouterBgpPeer> o) { |
6287 unittest.expect(o, unittest.hasLength(2)); | 6862 unittest.expect(o, unittest.hasLength(2)); |
6288 checkRouterBgpPeer(o[0]); | 6863 checkRouterBgpPeer(o[0]); |
6289 checkRouterBgpPeer(o[1]); | 6864 checkRouterBgpPeer(o[1]); |
6290 } | 6865 } |
6291 | 6866 |
6292 buildUnnamed2231() { | 6867 buildUnnamed2330() { |
6293 var o = new core.List<api.RouterInterface>(); | 6868 var o = new core.List<api.RouterInterface>(); |
6294 o.add(buildRouterInterface()); | 6869 o.add(buildRouterInterface()); |
6295 o.add(buildRouterInterface()); | 6870 o.add(buildRouterInterface()); |
6296 return o; | 6871 return o; |
6297 } | 6872 } |
6298 | 6873 |
6299 checkUnnamed2231(core.List<api.RouterInterface> o) { | 6874 checkUnnamed2330(core.List<api.RouterInterface> o) { |
6300 unittest.expect(o, unittest.hasLength(2)); | 6875 unittest.expect(o, unittest.hasLength(2)); |
6301 checkRouterInterface(o[0]); | 6876 checkRouterInterface(o[0]); |
6302 checkRouterInterface(o[1]); | 6877 checkRouterInterface(o[1]); |
6303 } | 6878 } |
6304 | 6879 |
6305 core.int buildCounterRouter = 0; | 6880 core.int buildCounterRouter = 0; |
6306 buildRouter() { | 6881 buildRouter() { |
6307 var o = new api.Router(); | 6882 var o = new api.Router(); |
6308 buildCounterRouter++; | 6883 buildCounterRouter++; |
6309 if (buildCounterRouter < 3) { | 6884 if (buildCounterRouter < 3) { |
6310 o.bgp = buildRouterBgp(); | 6885 o.bgp = buildRouterBgp(); |
6311 o.bgpPeers = buildUnnamed2230(); | 6886 o.bgpPeers = buildUnnamed2329(); |
6312 o.creationTimestamp = "foo"; | 6887 o.creationTimestamp = "foo"; |
6313 o.description = "foo"; | 6888 o.description = "foo"; |
6314 o.id = "foo"; | 6889 o.id = "foo"; |
6315 o.interfaces = buildUnnamed2231(); | 6890 o.interfaces = buildUnnamed2330(); |
6316 o.kind = "foo"; | 6891 o.kind = "foo"; |
6317 o.name = "foo"; | 6892 o.name = "foo"; |
6318 o.network = "foo"; | 6893 o.network = "foo"; |
6319 o.region = "foo"; | 6894 o.region = "foo"; |
6320 o.selfLink = "foo"; | 6895 o.selfLink = "foo"; |
6321 } | 6896 } |
6322 buildCounterRouter--; | 6897 buildCounterRouter--; |
6323 return o; | 6898 return o; |
6324 } | 6899 } |
6325 | 6900 |
6326 checkRouter(api.Router o) { | 6901 checkRouter(api.Router o) { |
6327 buildCounterRouter++; | 6902 buildCounterRouter++; |
6328 if (buildCounterRouter < 3) { | 6903 if (buildCounterRouter < 3) { |
6329 checkRouterBgp(o.bgp); | 6904 checkRouterBgp(o.bgp); |
6330 checkUnnamed2230(o.bgpPeers); | 6905 checkUnnamed2329(o.bgpPeers); |
6331 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 6906 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
6332 unittest.expect(o.description, unittest.equals('foo')); | 6907 unittest.expect(o.description, unittest.equals('foo')); |
6333 unittest.expect(o.id, unittest.equals('foo')); | 6908 unittest.expect(o.id, unittest.equals('foo')); |
6334 checkUnnamed2231(o.interfaces); | 6909 checkUnnamed2330(o.interfaces); |
6335 unittest.expect(o.kind, unittest.equals('foo')); | 6910 unittest.expect(o.kind, unittest.equals('foo')); |
6336 unittest.expect(o.name, unittest.equals('foo')); | 6911 unittest.expect(o.name, unittest.equals('foo')); |
6337 unittest.expect(o.network, unittest.equals('foo')); | 6912 unittest.expect(o.network, unittest.equals('foo')); |
6338 unittest.expect(o.region, unittest.equals('foo')); | 6913 unittest.expect(o.region, unittest.equals('foo')); |
6339 unittest.expect(o.selfLink, unittest.equals('foo')); | 6914 unittest.expect(o.selfLink, unittest.equals('foo')); |
6340 } | 6915 } |
6341 buildCounterRouter--; | 6916 buildCounterRouter--; |
6342 } | 6917 } |
6343 | 6918 |
6344 buildUnnamed2232() { | 6919 buildUnnamed2331() { |
6345 var o = new core.Map<core.String, api.RoutersScopedList>(); | 6920 var o = new core.Map<core.String, api.RoutersScopedList>(); |
6346 o["x"] = buildRoutersScopedList(); | 6921 o["x"] = buildRoutersScopedList(); |
6347 o["y"] = buildRoutersScopedList(); | 6922 o["y"] = buildRoutersScopedList(); |
6348 return o; | 6923 return o; |
6349 } | 6924 } |
6350 | 6925 |
6351 checkUnnamed2232(core.Map<core.String, api.RoutersScopedList> o) { | 6926 checkUnnamed2331(core.Map<core.String, api.RoutersScopedList> o) { |
6352 unittest.expect(o, unittest.hasLength(2)); | 6927 unittest.expect(o, unittest.hasLength(2)); |
6353 checkRoutersScopedList(o["x"]); | 6928 checkRoutersScopedList(o["x"]); |
6354 checkRoutersScopedList(o["y"]); | 6929 checkRoutersScopedList(o["y"]); |
6355 } | 6930 } |
6356 | 6931 |
6357 core.int buildCounterRouterAggregatedList = 0; | 6932 core.int buildCounterRouterAggregatedList = 0; |
6358 buildRouterAggregatedList() { | 6933 buildRouterAggregatedList() { |
6359 var o = new api.RouterAggregatedList(); | 6934 var o = new api.RouterAggregatedList(); |
6360 buildCounterRouterAggregatedList++; | 6935 buildCounterRouterAggregatedList++; |
6361 if (buildCounterRouterAggregatedList < 3) { | 6936 if (buildCounterRouterAggregatedList < 3) { |
6362 o.id = "foo"; | 6937 o.id = "foo"; |
6363 o.items = buildUnnamed2232(); | 6938 o.items = buildUnnamed2331(); |
6364 o.kind = "foo"; | 6939 o.kind = "foo"; |
6365 o.nextPageToken = "foo"; | 6940 o.nextPageToken = "foo"; |
6366 o.selfLink = "foo"; | 6941 o.selfLink = "foo"; |
6367 } | 6942 } |
6368 buildCounterRouterAggregatedList--; | 6943 buildCounterRouterAggregatedList--; |
6369 return o; | 6944 return o; |
6370 } | 6945 } |
6371 | 6946 |
6372 checkRouterAggregatedList(api.RouterAggregatedList o) { | 6947 checkRouterAggregatedList(api.RouterAggregatedList o) { |
6373 buildCounterRouterAggregatedList++; | 6948 buildCounterRouterAggregatedList++; |
6374 if (buildCounterRouterAggregatedList < 3) { | 6949 if (buildCounterRouterAggregatedList < 3) { |
6375 unittest.expect(o.id, unittest.equals('foo')); | 6950 unittest.expect(o.id, unittest.equals('foo')); |
6376 checkUnnamed2232(o.items); | 6951 checkUnnamed2331(o.items); |
6377 unittest.expect(o.kind, unittest.equals('foo')); | 6952 unittest.expect(o.kind, unittest.equals('foo')); |
6378 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6953 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
6379 unittest.expect(o.selfLink, unittest.equals('foo')); | 6954 unittest.expect(o.selfLink, unittest.equals('foo')); |
6380 } | 6955 } |
6381 buildCounterRouterAggregatedList--; | 6956 buildCounterRouterAggregatedList--; |
6382 } | 6957 } |
6383 | 6958 |
6384 core.int buildCounterRouterBgp = 0; | 6959 core.int buildCounterRouterBgp = 0; |
6385 buildRouterBgp() { | 6960 buildRouterBgp() { |
6386 var o = new api.RouterBgp(); | 6961 var o = new api.RouterBgp(); |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6445 checkRouterInterface(api.RouterInterface o) { | 7020 checkRouterInterface(api.RouterInterface o) { |
6446 buildCounterRouterInterface++; | 7021 buildCounterRouterInterface++; |
6447 if (buildCounterRouterInterface < 3) { | 7022 if (buildCounterRouterInterface < 3) { |
6448 unittest.expect(o.ipRange, unittest.equals('foo')); | 7023 unittest.expect(o.ipRange, unittest.equals('foo')); |
6449 unittest.expect(o.linkedVpnTunnel, unittest.equals('foo')); | 7024 unittest.expect(o.linkedVpnTunnel, unittest.equals('foo')); |
6450 unittest.expect(o.name, unittest.equals('foo')); | 7025 unittest.expect(o.name, unittest.equals('foo')); |
6451 } | 7026 } |
6452 buildCounterRouterInterface--; | 7027 buildCounterRouterInterface--; |
6453 } | 7028 } |
6454 | 7029 |
6455 buildUnnamed2233() { | 7030 buildUnnamed2332() { |
6456 var o = new core.List<api.Router>(); | 7031 var o = new core.List<api.Router>(); |
6457 o.add(buildRouter()); | 7032 o.add(buildRouter()); |
6458 o.add(buildRouter()); | 7033 o.add(buildRouter()); |
6459 return o; | 7034 return o; |
6460 } | 7035 } |
6461 | 7036 |
6462 checkUnnamed2233(core.List<api.Router> o) { | 7037 checkUnnamed2332(core.List<api.Router> o) { |
6463 unittest.expect(o, unittest.hasLength(2)); | 7038 unittest.expect(o, unittest.hasLength(2)); |
6464 checkRouter(o[0]); | 7039 checkRouter(o[0]); |
6465 checkRouter(o[1]); | 7040 checkRouter(o[1]); |
6466 } | 7041 } |
6467 | 7042 |
6468 core.int buildCounterRouterList = 0; | 7043 core.int buildCounterRouterList = 0; |
6469 buildRouterList() { | 7044 buildRouterList() { |
6470 var o = new api.RouterList(); | 7045 var o = new api.RouterList(); |
6471 buildCounterRouterList++; | 7046 buildCounterRouterList++; |
6472 if (buildCounterRouterList < 3) { | 7047 if (buildCounterRouterList < 3) { |
6473 o.id = "foo"; | 7048 o.id = "foo"; |
6474 o.items = buildUnnamed2233(); | 7049 o.items = buildUnnamed2332(); |
6475 o.kind = "foo"; | 7050 o.kind = "foo"; |
6476 o.nextPageToken = "foo"; | 7051 o.nextPageToken = "foo"; |
6477 o.selfLink = "foo"; | 7052 o.selfLink = "foo"; |
6478 } | 7053 } |
6479 buildCounterRouterList--; | 7054 buildCounterRouterList--; |
6480 return o; | 7055 return o; |
6481 } | 7056 } |
6482 | 7057 |
6483 checkRouterList(api.RouterList o) { | 7058 checkRouterList(api.RouterList o) { |
6484 buildCounterRouterList++; | 7059 buildCounterRouterList++; |
6485 if (buildCounterRouterList < 3) { | 7060 if (buildCounterRouterList < 3) { |
6486 unittest.expect(o.id, unittest.equals('foo')); | 7061 unittest.expect(o.id, unittest.equals('foo')); |
6487 checkUnnamed2233(o.items); | 7062 checkUnnamed2332(o.items); |
6488 unittest.expect(o.kind, unittest.equals('foo')); | 7063 unittest.expect(o.kind, unittest.equals('foo')); |
6489 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 7064 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
6490 unittest.expect(o.selfLink, unittest.equals('foo')); | 7065 unittest.expect(o.selfLink, unittest.equals('foo')); |
6491 } | 7066 } |
6492 buildCounterRouterList--; | 7067 buildCounterRouterList--; |
6493 } | 7068 } |
6494 | 7069 |
6495 buildUnnamed2234() { | 7070 buildUnnamed2333() { |
6496 var o = new core.List<api.Route>(); | 7071 var o = new core.List<api.Route>(); |
6497 o.add(buildRoute()); | 7072 o.add(buildRoute()); |
6498 o.add(buildRoute()); | 7073 o.add(buildRoute()); |
6499 return o; | 7074 return o; |
6500 } | 7075 } |
6501 | 7076 |
6502 checkUnnamed2234(core.List<api.Route> o) { | 7077 checkUnnamed2333(core.List<api.Route> o) { |
6503 unittest.expect(o, unittest.hasLength(2)); | 7078 unittest.expect(o, unittest.hasLength(2)); |
6504 checkRoute(o[0]); | 7079 checkRoute(o[0]); |
6505 checkRoute(o[1]); | 7080 checkRoute(o[1]); |
6506 } | 7081 } |
6507 | 7082 |
6508 buildUnnamed2235() { | 7083 buildUnnamed2334() { |
6509 var o = new core.List<api.Route>(); | 7084 var o = new core.List<api.Route>(); |
6510 o.add(buildRoute()); | 7085 o.add(buildRoute()); |
6511 o.add(buildRoute()); | 7086 o.add(buildRoute()); |
6512 return o; | 7087 return o; |
6513 } | 7088 } |
6514 | 7089 |
6515 checkUnnamed2235(core.List<api.Route> o) { | 7090 checkUnnamed2334(core.List<api.Route> o) { |
6516 unittest.expect(o, unittest.hasLength(2)); | 7091 unittest.expect(o, unittest.hasLength(2)); |
6517 checkRoute(o[0]); | 7092 checkRoute(o[0]); |
6518 checkRoute(o[1]); | 7093 checkRoute(o[1]); |
6519 } | 7094 } |
6520 | 7095 |
6521 buildUnnamed2236() { | 7096 buildUnnamed2335() { |
6522 var o = new core.List<api.RouterStatusBgpPeerStatus>(); | 7097 var o = new core.List<api.RouterStatusBgpPeerStatus>(); |
6523 o.add(buildRouterStatusBgpPeerStatus()); | 7098 o.add(buildRouterStatusBgpPeerStatus()); |
6524 o.add(buildRouterStatusBgpPeerStatus()); | 7099 o.add(buildRouterStatusBgpPeerStatus()); |
6525 return o; | 7100 return o; |
6526 } | 7101 } |
6527 | 7102 |
6528 checkUnnamed2236(core.List<api.RouterStatusBgpPeerStatus> o) { | 7103 checkUnnamed2335(core.List<api.RouterStatusBgpPeerStatus> o) { |
6529 unittest.expect(o, unittest.hasLength(2)); | 7104 unittest.expect(o, unittest.hasLength(2)); |
6530 checkRouterStatusBgpPeerStatus(o[0]); | 7105 checkRouterStatusBgpPeerStatus(o[0]); |
6531 checkRouterStatusBgpPeerStatus(o[1]); | 7106 checkRouterStatusBgpPeerStatus(o[1]); |
6532 } | 7107 } |
6533 | 7108 |
6534 core.int buildCounterRouterStatus = 0; | 7109 core.int buildCounterRouterStatus = 0; |
6535 buildRouterStatus() { | 7110 buildRouterStatus() { |
6536 var o = new api.RouterStatus(); | 7111 var o = new api.RouterStatus(); |
6537 buildCounterRouterStatus++; | 7112 buildCounterRouterStatus++; |
6538 if (buildCounterRouterStatus < 3) { | 7113 if (buildCounterRouterStatus < 3) { |
6539 o.bestRoutes = buildUnnamed2234(); | 7114 o.bestRoutes = buildUnnamed2333(); |
6540 o.bestRoutesForRouter = buildUnnamed2235(); | 7115 o.bestRoutesForRouter = buildUnnamed2334(); |
6541 o.bgpPeerStatus = buildUnnamed2236(); | 7116 o.bgpPeerStatus = buildUnnamed2335(); |
6542 o.network = "foo"; | 7117 o.network = "foo"; |
6543 } | 7118 } |
6544 buildCounterRouterStatus--; | 7119 buildCounterRouterStatus--; |
6545 return o; | 7120 return o; |
6546 } | 7121 } |
6547 | 7122 |
6548 checkRouterStatus(api.RouterStatus o) { | 7123 checkRouterStatus(api.RouterStatus o) { |
6549 buildCounterRouterStatus++; | 7124 buildCounterRouterStatus++; |
6550 if (buildCounterRouterStatus < 3) { | 7125 if (buildCounterRouterStatus < 3) { |
6551 checkUnnamed2234(o.bestRoutes); | 7126 checkUnnamed2333(o.bestRoutes); |
6552 checkUnnamed2235(o.bestRoutesForRouter); | 7127 checkUnnamed2334(o.bestRoutesForRouter); |
6553 checkUnnamed2236(o.bgpPeerStatus); | 7128 checkUnnamed2335(o.bgpPeerStatus); |
6554 unittest.expect(o.network, unittest.equals('foo')); | 7129 unittest.expect(o.network, unittest.equals('foo')); |
6555 } | 7130 } |
6556 buildCounterRouterStatus--; | 7131 buildCounterRouterStatus--; |
6557 } | 7132 } |
6558 | 7133 |
6559 buildUnnamed2237() { | 7134 buildUnnamed2336() { |
6560 var o = new core.List<api.Route>(); | 7135 var o = new core.List<api.Route>(); |
6561 o.add(buildRoute()); | 7136 o.add(buildRoute()); |
6562 o.add(buildRoute()); | 7137 o.add(buildRoute()); |
6563 return o; | 7138 return o; |
6564 } | 7139 } |
6565 | 7140 |
6566 checkUnnamed2237(core.List<api.Route> o) { | 7141 checkUnnamed2336(core.List<api.Route> o) { |
6567 unittest.expect(o, unittest.hasLength(2)); | 7142 unittest.expect(o, unittest.hasLength(2)); |
6568 checkRoute(o[0]); | 7143 checkRoute(o[0]); |
6569 checkRoute(o[1]); | 7144 checkRoute(o[1]); |
6570 } | 7145 } |
6571 | 7146 |
6572 core.int buildCounterRouterStatusBgpPeerStatus = 0; | 7147 core.int buildCounterRouterStatusBgpPeerStatus = 0; |
6573 buildRouterStatusBgpPeerStatus() { | 7148 buildRouterStatusBgpPeerStatus() { |
6574 var o = new api.RouterStatusBgpPeerStatus(); | 7149 var o = new api.RouterStatusBgpPeerStatus(); |
6575 buildCounterRouterStatusBgpPeerStatus++; | 7150 buildCounterRouterStatusBgpPeerStatus++; |
6576 if (buildCounterRouterStatusBgpPeerStatus < 3) { | 7151 if (buildCounterRouterStatusBgpPeerStatus < 3) { |
6577 o.advertisedRoutes = buildUnnamed2237(); | 7152 o.advertisedRoutes = buildUnnamed2336(); |
6578 o.ipAddress = "foo"; | 7153 o.ipAddress = "foo"; |
6579 o.linkedVpnTunnel = "foo"; | 7154 o.linkedVpnTunnel = "foo"; |
6580 o.name = "foo"; | 7155 o.name = "foo"; |
6581 o.numLearnedRoutes = 42; | 7156 o.numLearnedRoutes = 42; |
6582 o.peerIpAddress = "foo"; | 7157 o.peerIpAddress = "foo"; |
6583 o.state = "foo"; | 7158 o.state = "foo"; |
6584 o.status = "foo"; | 7159 o.status = "foo"; |
6585 o.uptime = "foo"; | 7160 o.uptime = "foo"; |
6586 o.uptimeSeconds = "foo"; | 7161 o.uptimeSeconds = "foo"; |
6587 } | 7162 } |
6588 buildCounterRouterStatusBgpPeerStatus--; | 7163 buildCounterRouterStatusBgpPeerStatus--; |
6589 return o; | 7164 return o; |
6590 } | 7165 } |
6591 | 7166 |
6592 checkRouterStatusBgpPeerStatus(api.RouterStatusBgpPeerStatus o) { | 7167 checkRouterStatusBgpPeerStatus(api.RouterStatusBgpPeerStatus o) { |
6593 buildCounterRouterStatusBgpPeerStatus++; | 7168 buildCounterRouterStatusBgpPeerStatus++; |
6594 if (buildCounterRouterStatusBgpPeerStatus < 3) { | 7169 if (buildCounterRouterStatusBgpPeerStatus < 3) { |
6595 checkUnnamed2237(o.advertisedRoutes); | 7170 checkUnnamed2336(o.advertisedRoutes); |
6596 unittest.expect(o.ipAddress, unittest.equals('foo')); | 7171 unittest.expect(o.ipAddress, unittest.equals('foo')); |
6597 unittest.expect(o.linkedVpnTunnel, unittest.equals('foo')); | 7172 unittest.expect(o.linkedVpnTunnel, unittest.equals('foo')); |
6598 unittest.expect(o.name, unittest.equals('foo')); | 7173 unittest.expect(o.name, unittest.equals('foo')); |
6599 unittest.expect(o.numLearnedRoutes, unittest.equals(42)); | 7174 unittest.expect(o.numLearnedRoutes, unittest.equals(42)); |
6600 unittest.expect(o.peerIpAddress, unittest.equals('foo')); | 7175 unittest.expect(o.peerIpAddress, unittest.equals('foo')); |
6601 unittest.expect(o.state, unittest.equals('foo')); | 7176 unittest.expect(o.state, unittest.equals('foo')); |
6602 unittest.expect(o.status, unittest.equals('foo')); | 7177 unittest.expect(o.status, unittest.equals('foo')); |
6603 unittest.expect(o.uptime, unittest.equals('foo')); | 7178 unittest.expect(o.uptime, unittest.equals('foo')); |
6604 unittest.expect(o.uptimeSeconds, unittest.equals('foo')); | 7179 unittest.expect(o.uptimeSeconds, unittest.equals('foo')); |
6605 } | 7180 } |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6639 } | 7214 } |
6640 | 7215 |
6641 checkRoutersPreviewResponse(api.RoutersPreviewResponse o) { | 7216 checkRoutersPreviewResponse(api.RoutersPreviewResponse o) { |
6642 buildCounterRoutersPreviewResponse++; | 7217 buildCounterRoutersPreviewResponse++; |
6643 if (buildCounterRoutersPreviewResponse < 3) { | 7218 if (buildCounterRoutersPreviewResponse < 3) { |
6644 checkRouter(o.resource); | 7219 checkRouter(o.resource); |
6645 } | 7220 } |
6646 buildCounterRoutersPreviewResponse--; | 7221 buildCounterRoutersPreviewResponse--; |
6647 } | 7222 } |
6648 | 7223 |
6649 buildUnnamed2238() { | 7224 buildUnnamed2337() { |
6650 var o = new core.List<api.Router>(); | 7225 var o = new core.List<api.Router>(); |
6651 o.add(buildRouter()); | 7226 o.add(buildRouter()); |
6652 o.add(buildRouter()); | 7227 o.add(buildRouter()); |
6653 return o; | 7228 return o; |
6654 } | 7229 } |
6655 | 7230 |
6656 checkUnnamed2238(core.List<api.Router> o) { | 7231 checkUnnamed2337(core.List<api.Router> o) { |
6657 unittest.expect(o, unittest.hasLength(2)); | 7232 unittest.expect(o, unittest.hasLength(2)); |
6658 checkRouter(o[0]); | 7233 checkRouter(o[0]); |
6659 checkRouter(o[1]); | 7234 checkRouter(o[1]); |
6660 } | 7235 } |
6661 | 7236 |
6662 core.int buildCounterRoutersScopedListWarningData = 0; | 7237 core.int buildCounterRoutersScopedListWarningData = 0; |
6663 buildRoutersScopedListWarningData() { | 7238 buildRoutersScopedListWarningData() { |
6664 var o = new api.RoutersScopedListWarningData(); | 7239 var o = new api.RoutersScopedListWarningData(); |
6665 buildCounterRoutersScopedListWarningData++; | 7240 buildCounterRoutersScopedListWarningData++; |
6666 if (buildCounterRoutersScopedListWarningData < 3) { | 7241 if (buildCounterRoutersScopedListWarningData < 3) { |
6667 o.key = "foo"; | 7242 o.key = "foo"; |
6668 o.value = "foo"; | 7243 o.value = "foo"; |
6669 } | 7244 } |
6670 buildCounterRoutersScopedListWarningData--; | 7245 buildCounterRoutersScopedListWarningData--; |
6671 return o; | 7246 return o; |
6672 } | 7247 } |
6673 | 7248 |
6674 checkRoutersScopedListWarningData(api.RoutersScopedListWarningData o) { | 7249 checkRoutersScopedListWarningData(api.RoutersScopedListWarningData o) { |
6675 buildCounterRoutersScopedListWarningData++; | 7250 buildCounterRoutersScopedListWarningData++; |
6676 if (buildCounterRoutersScopedListWarningData < 3) { | 7251 if (buildCounterRoutersScopedListWarningData < 3) { |
6677 unittest.expect(o.key, unittest.equals('foo')); | 7252 unittest.expect(o.key, unittest.equals('foo')); |
6678 unittest.expect(o.value, unittest.equals('foo')); | 7253 unittest.expect(o.value, unittest.equals('foo')); |
6679 } | 7254 } |
6680 buildCounterRoutersScopedListWarningData--; | 7255 buildCounterRoutersScopedListWarningData--; |
6681 } | 7256 } |
6682 | 7257 |
6683 buildUnnamed2239() { | 7258 buildUnnamed2338() { |
6684 var o = new core.List<api.RoutersScopedListWarningData>(); | 7259 var o = new core.List<api.RoutersScopedListWarningData>(); |
6685 o.add(buildRoutersScopedListWarningData()); | 7260 o.add(buildRoutersScopedListWarningData()); |
6686 o.add(buildRoutersScopedListWarningData()); | 7261 o.add(buildRoutersScopedListWarningData()); |
6687 return o; | 7262 return o; |
6688 } | 7263 } |
6689 | 7264 |
6690 checkUnnamed2239(core.List<api.RoutersScopedListWarningData> o) { | 7265 checkUnnamed2338(core.List<api.RoutersScopedListWarningData> o) { |
6691 unittest.expect(o, unittest.hasLength(2)); | 7266 unittest.expect(o, unittest.hasLength(2)); |
6692 checkRoutersScopedListWarningData(o[0]); | 7267 checkRoutersScopedListWarningData(o[0]); |
6693 checkRoutersScopedListWarningData(o[1]); | 7268 checkRoutersScopedListWarningData(o[1]); |
6694 } | 7269 } |
6695 | 7270 |
6696 core.int buildCounterRoutersScopedListWarning = 0; | 7271 core.int buildCounterRoutersScopedListWarning = 0; |
6697 buildRoutersScopedListWarning() { | 7272 buildRoutersScopedListWarning() { |
6698 var o = new api.RoutersScopedListWarning(); | 7273 var o = new api.RoutersScopedListWarning(); |
6699 buildCounterRoutersScopedListWarning++; | 7274 buildCounterRoutersScopedListWarning++; |
6700 if (buildCounterRoutersScopedListWarning < 3) { | 7275 if (buildCounterRoutersScopedListWarning < 3) { |
6701 o.code = "foo"; | 7276 o.code = "foo"; |
6702 o.data = buildUnnamed2239(); | 7277 o.data = buildUnnamed2338(); |
6703 o.message = "foo"; | 7278 o.message = "foo"; |
6704 } | 7279 } |
6705 buildCounterRoutersScopedListWarning--; | 7280 buildCounterRoutersScopedListWarning--; |
6706 return o; | 7281 return o; |
6707 } | 7282 } |
6708 | 7283 |
6709 checkRoutersScopedListWarning(api.RoutersScopedListWarning o) { | 7284 checkRoutersScopedListWarning(api.RoutersScopedListWarning o) { |
6710 buildCounterRoutersScopedListWarning++; | 7285 buildCounterRoutersScopedListWarning++; |
6711 if (buildCounterRoutersScopedListWarning < 3) { | 7286 if (buildCounterRoutersScopedListWarning < 3) { |
6712 unittest.expect(o.code, unittest.equals('foo')); | 7287 unittest.expect(o.code, unittest.equals('foo')); |
6713 checkUnnamed2239(o.data); | 7288 checkUnnamed2338(o.data); |
6714 unittest.expect(o.message, unittest.equals('foo')); | 7289 unittest.expect(o.message, unittest.equals('foo')); |
6715 } | 7290 } |
6716 buildCounterRoutersScopedListWarning--; | 7291 buildCounterRoutersScopedListWarning--; |
6717 } | 7292 } |
6718 | 7293 |
6719 core.int buildCounterRoutersScopedList = 0; | 7294 core.int buildCounterRoutersScopedList = 0; |
6720 buildRoutersScopedList() { | 7295 buildRoutersScopedList() { |
6721 var o = new api.RoutersScopedList(); | 7296 var o = new api.RoutersScopedList(); |
6722 buildCounterRoutersScopedList++; | 7297 buildCounterRoutersScopedList++; |
6723 if (buildCounterRoutersScopedList < 3) { | 7298 if (buildCounterRoutersScopedList < 3) { |
6724 o.routers = buildUnnamed2238(); | 7299 o.routers = buildUnnamed2337(); |
6725 o.warning = buildRoutersScopedListWarning(); | 7300 o.warning = buildRoutersScopedListWarning(); |
6726 } | 7301 } |
6727 buildCounterRoutersScopedList--; | 7302 buildCounterRoutersScopedList--; |
6728 return o; | 7303 return o; |
6729 } | 7304 } |
6730 | 7305 |
6731 checkRoutersScopedList(api.RoutersScopedList o) { | 7306 checkRoutersScopedList(api.RoutersScopedList o) { |
6732 buildCounterRoutersScopedList++; | 7307 buildCounterRoutersScopedList++; |
6733 if (buildCounterRoutersScopedList < 3) { | 7308 if (buildCounterRoutersScopedList < 3) { |
6734 checkUnnamed2238(o.routers); | 7309 checkUnnamed2337(o.routers); |
6735 checkRoutersScopedListWarning(o.warning); | 7310 checkRoutersScopedListWarning(o.warning); |
6736 } | 7311 } |
6737 buildCounterRoutersScopedList--; | 7312 buildCounterRoutersScopedList--; |
6738 } | 7313 } |
6739 | 7314 |
6740 core.int buildCounterSSLHealthCheck = 0; | 7315 core.int buildCounterSSLHealthCheck = 0; |
6741 buildSSLHealthCheck() { | 7316 buildSSLHealthCheck() { |
6742 var o = new api.SSLHealthCheck(); | 7317 var o = new api.SSLHealthCheck(); |
6743 buildCounterSSLHealthCheck++; | 7318 buildCounterSSLHealthCheck++; |
6744 if (buildCounterSSLHealthCheck < 3) { | 7319 if (buildCounterSSLHealthCheck < 3) { |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6807 if (buildCounterSerialPortOutput < 3) { | 7382 if (buildCounterSerialPortOutput < 3) { |
6808 unittest.expect(o.contents, unittest.equals('foo')); | 7383 unittest.expect(o.contents, unittest.equals('foo')); |
6809 unittest.expect(o.kind, unittest.equals('foo')); | 7384 unittest.expect(o.kind, unittest.equals('foo')); |
6810 unittest.expect(o.next, unittest.equals('foo')); | 7385 unittest.expect(o.next, unittest.equals('foo')); |
6811 unittest.expect(o.selfLink, unittest.equals('foo')); | 7386 unittest.expect(o.selfLink, unittest.equals('foo')); |
6812 unittest.expect(o.start, unittest.equals('foo')); | 7387 unittest.expect(o.start, unittest.equals('foo')); |
6813 } | 7388 } |
6814 buildCounterSerialPortOutput--; | 7389 buildCounterSerialPortOutput--; |
6815 } | 7390 } |
6816 | 7391 |
6817 buildUnnamed2240() { | 7392 buildUnnamed2339() { |
6818 var o = new core.List<core.String>(); | 7393 var o = new core.List<core.String>(); |
6819 o.add("foo"); | 7394 o.add("foo"); |
6820 o.add("foo"); | 7395 o.add("foo"); |
6821 return o; | 7396 return o; |
6822 } | 7397 } |
6823 | 7398 |
6824 checkUnnamed2240(core.List<core.String> o) { | 7399 checkUnnamed2339(core.List<core.String> o) { |
6825 unittest.expect(o, unittest.hasLength(2)); | 7400 unittest.expect(o, unittest.hasLength(2)); |
6826 unittest.expect(o[0], unittest.equals('foo')); | 7401 unittest.expect(o[0], unittest.equals('foo')); |
6827 unittest.expect(o[1], unittest.equals('foo')); | 7402 unittest.expect(o[1], unittest.equals('foo')); |
6828 } | 7403 } |
6829 | 7404 |
6830 core.int buildCounterServiceAccount = 0; | 7405 core.int buildCounterServiceAccount = 0; |
6831 buildServiceAccount() { | 7406 buildServiceAccount() { |
6832 var o = new api.ServiceAccount(); | 7407 var o = new api.ServiceAccount(); |
6833 buildCounterServiceAccount++; | 7408 buildCounterServiceAccount++; |
6834 if (buildCounterServiceAccount < 3) { | 7409 if (buildCounterServiceAccount < 3) { |
6835 o.email = "foo"; | 7410 o.email = "foo"; |
6836 o.scopes = buildUnnamed2240(); | 7411 o.scopes = buildUnnamed2339(); |
6837 } | 7412 } |
6838 buildCounterServiceAccount--; | 7413 buildCounterServiceAccount--; |
6839 return o; | 7414 return o; |
6840 } | 7415 } |
6841 | 7416 |
6842 checkServiceAccount(api.ServiceAccount o) { | 7417 checkServiceAccount(api.ServiceAccount o) { |
6843 buildCounterServiceAccount++; | 7418 buildCounterServiceAccount++; |
6844 if (buildCounterServiceAccount < 3) { | 7419 if (buildCounterServiceAccount < 3) { |
6845 unittest.expect(o.email, unittest.equals('foo')); | 7420 unittest.expect(o.email, unittest.equals('foo')); |
6846 checkUnnamed2240(o.scopes); | 7421 checkUnnamed2339(o.scopes); |
6847 } | 7422 } |
6848 buildCounterServiceAccount--; | 7423 buildCounterServiceAccount--; |
6849 } | 7424 } |
6850 | 7425 |
6851 buildUnnamed2241() { | 7426 buildUnnamed2340() { |
6852 var o = new core.Map<core.String, core.String>(); | 7427 var o = new core.Map<core.String, core.String>(); |
6853 o["x"] = "foo"; | 7428 o["x"] = "foo"; |
6854 o["y"] = "foo"; | 7429 o["y"] = "foo"; |
6855 return o; | 7430 return o; |
6856 } | 7431 } |
6857 | 7432 |
6858 checkUnnamed2241(core.Map<core.String, core.String> o) { | 7433 checkUnnamed2340(core.Map<core.String, core.String> o) { |
6859 unittest.expect(o, unittest.hasLength(2)); | 7434 unittest.expect(o, unittest.hasLength(2)); |
6860 unittest.expect(o["x"], unittest.equals('foo')); | 7435 unittest.expect(o["x"], unittest.equals('foo')); |
6861 unittest.expect(o["y"], unittest.equals('foo')); | 7436 unittest.expect(o["y"], unittest.equals('foo')); |
6862 } | 7437 } |
6863 | 7438 |
6864 buildUnnamed2242() { | 7439 buildUnnamed2341() { |
6865 var o = new core.List<core.String>(); | 7440 var o = new core.List<core.String>(); |
6866 o.add("foo"); | 7441 o.add("foo"); |
6867 o.add("foo"); | 7442 o.add("foo"); |
6868 return o; | 7443 return o; |
6869 } | 7444 } |
6870 | 7445 |
6871 checkUnnamed2242(core.List<core.String> o) { | 7446 checkUnnamed2341(core.List<core.String> o) { |
6872 unittest.expect(o, unittest.hasLength(2)); | 7447 unittest.expect(o, unittest.hasLength(2)); |
6873 unittest.expect(o[0], unittest.equals('foo')); | 7448 unittest.expect(o[0], unittest.equals('foo')); |
6874 unittest.expect(o[1], unittest.equals('foo')); | 7449 unittest.expect(o[1], unittest.equals('foo')); |
6875 } | 7450 } |
6876 | 7451 |
6877 core.int buildCounterSnapshot = 0; | 7452 core.int buildCounterSnapshot = 0; |
6878 buildSnapshot() { | 7453 buildSnapshot() { |
6879 var o = new api.Snapshot(); | 7454 var o = new api.Snapshot(); |
6880 buildCounterSnapshot++; | 7455 buildCounterSnapshot++; |
6881 if (buildCounterSnapshot < 3) { | 7456 if (buildCounterSnapshot < 3) { |
6882 o.creationTimestamp = "foo"; | 7457 o.creationTimestamp = "foo"; |
6883 o.description = "foo"; | 7458 o.description = "foo"; |
6884 o.diskSizeGb = "foo"; | 7459 o.diskSizeGb = "foo"; |
6885 o.id = "foo"; | 7460 o.id = "foo"; |
6886 o.kind = "foo"; | 7461 o.kind = "foo"; |
6887 o.labelFingerprint = "foo"; | 7462 o.labelFingerprint = "foo"; |
6888 o.labels = buildUnnamed2241(); | 7463 o.labels = buildUnnamed2340(); |
6889 o.licenses = buildUnnamed2242(); | 7464 o.licenses = buildUnnamed2341(); |
6890 o.name = "foo"; | 7465 o.name = "foo"; |
6891 o.selfLink = "foo"; | 7466 o.selfLink = "foo"; |
6892 o.snapshotEncryptionKey = buildCustomerEncryptionKey(); | 7467 o.snapshotEncryptionKey = buildCustomerEncryptionKey(); |
6893 o.sourceDisk = "foo"; | 7468 o.sourceDisk = "foo"; |
6894 o.sourceDiskEncryptionKey = buildCustomerEncryptionKey(); | 7469 o.sourceDiskEncryptionKey = buildCustomerEncryptionKey(); |
6895 o.sourceDiskId = "foo"; | 7470 o.sourceDiskId = "foo"; |
6896 o.status = "foo"; | 7471 o.status = "foo"; |
6897 o.storageBytes = "foo"; | 7472 o.storageBytes = "foo"; |
6898 o.storageBytesStatus = "foo"; | 7473 o.storageBytesStatus = "foo"; |
6899 } | 7474 } |
6900 buildCounterSnapshot--; | 7475 buildCounterSnapshot--; |
6901 return o; | 7476 return o; |
6902 } | 7477 } |
6903 | 7478 |
6904 checkSnapshot(api.Snapshot o) { | 7479 checkSnapshot(api.Snapshot o) { |
6905 buildCounterSnapshot++; | 7480 buildCounterSnapshot++; |
6906 if (buildCounterSnapshot < 3) { | 7481 if (buildCounterSnapshot < 3) { |
6907 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 7482 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
6908 unittest.expect(o.description, unittest.equals('foo')); | 7483 unittest.expect(o.description, unittest.equals('foo')); |
6909 unittest.expect(o.diskSizeGb, unittest.equals('foo')); | 7484 unittest.expect(o.diskSizeGb, unittest.equals('foo')); |
6910 unittest.expect(o.id, unittest.equals('foo')); | 7485 unittest.expect(o.id, unittest.equals('foo')); |
6911 unittest.expect(o.kind, unittest.equals('foo')); | 7486 unittest.expect(o.kind, unittest.equals('foo')); |
6912 unittest.expect(o.labelFingerprint, unittest.equals('foo')); | 7487 unittest.expect(o.labelFingerprint, unittest.equals('foo')); |
6913 checkUnnamed2241(o.labels); | 7488 checkUnnamed2340(o.labels); |
6914 checkUnnamed2242(o.licenses); | 7489 checkUnnamed2341(o.licenses); |
6915 unittest.expect(o.name, unittest.equals('foo')); | 7490 unittest.expect(o.name, unittest.equals('foo')); |
6916 unittest.expect(o.selfLink, unittest.equals('foo')); | 7491 unittest.expect(o.selfLink, unittest.equals('foo')); |
6917 checkCustomerEncryptionKey(o.snapshotEncryptionKey); | 7492 checkCustomerEncryptionKey(o.snapshotEncryptionKey); |
6918 unittest.expect(o.sourceDisk, unittest.equals('foo')); | 7493 unittest.expect(o.sourceDisk, unittest.equals('foo')); |
6919 checkCustomerEncryptionKey(o.sourceDiskEncryptionKey); | 7494 checkCustomerEncryptionKey(o.sourceDiskEncryptionKey); |
6920 unittest.expect(o.sourceDiskId, unittest.equals('foo')); | 7495 unittest.expect(o.sourceDiskId, unittest.equals('foo')); |
6921 unittest.expect(o.status, unittest.equals('foo')); | 7496 unittest.expect(o.status, unittest.equals('foo')); |
6922 unittest.expect(o.storageBytes, unittest.equals('foo')); | 7497 unittest.expect(o.storageBytes, unittest.equals('foo')); |
6923 unittest.expect(o.storageBytesStatus, unittest.equals('foo')); | 7498 unittest.expect(o.storageBytesStatus, unittest.equals('foo')); |
6924 } | 7499 } |
6925 buildCounterSnapshot--; | 7500 buildCounterSnapshot--; |
6926 } | 7501 } |
6927 | 7502 |
6928 buildUnnamed2243() { | 7503 buildUnnamed2342() { |
6929 var o = new core.List<api.Snapshot>(); | 7504 var o = new core.List<api.Snapshot>(); |
6930 o.add(buildSnapshot()); | 7505 o.add(buildSnapshot()); |
6931 o.add(buildSnapshot()); | 7506 o.add(buildSnapshot()); |
6932 return o; | 7507 return o; |
6933 } | 7508 } |
6934 | 7509 |
6935 checkUnnamed2243(core.List<api.Snapshot> o) { | 7510 checkUnnamed2342(core.List<api.Snapshot> o) { |
6936 unittest.expect(o, unittest.hasLength(2)); | 7511 unittest.expect(o, unittest.hasLength(2)); |
6937 checkSnapshot(o[0]); | 7512 checkSnapshot(o[0]); |
6938 checkSnapshot(o[1]); | 7513 checkSnapshot(o[1]); |
6939 } | 7514 } |
6940 | 7515 |
6941 core.int buildCounterSnapshotList = 0; | 7516 core.int buildCounterSnapshotList = 0; |
6942 buildSnapshotList() { | 7517 buildSnapshotList() { |
6943 var o = new api.SnapshotList(); | 7518 var o = new api.SnapshotList(); |
6944 buildCounterSnapshotList++; | 7519 buildCounterSnapshotList++; |
6945 if (buildCounterSnapshotList < 3) { | 7520 if (buildCounterSnapshotList < 3) { |
6946 o.id = "foo"; | 7521 o.id = "foo"; |
6947 o.items = buildUnnamed2243(); | 7522 o.items = buildUnnamed2342(); |
6948 o.kind = "foo"; | 7523 o.kind = "foo"; |
6949 o.nextPageToken = "foo"; | 7524 o.nextPageToken = "foo"; |
6950 o.selfLink = "foo"; | 7525 o.selfLink = "foo"; |
6951 } | 7526 } |
6952 buildCounterSnapshotList--; | 7527 buildCounterSnapshotList--; |
6953 return o; | 7528 return o; |
6954 } | 7529 } |
6955 | 7530 |
6956 checkSnapshotList(api.SnapshotList o) { | 7531 checkSnapshotList(api.SnapshotList o) { |
6957 buildCounterSnapshotList++; | 7532 buildCounterSnapshotList++; |
6958 if (buildCounterSnapshotList < 3) { | 7533 if (buildCounterSnapshotList < 3) { |
6959 unittest.expect(o.id, unittest.equals('foo')); | 7534 unittest.expect(o.id, unittest.equals('foo')); |
6960 checkUnnamed2243(o.items); | 7535 checkUnnamed2342(o.items); |
6961 unittest.expect(o.kind, unittest.equals('foo')); | 7536 unittest.expect(o.kind, unittest.equals('foo')); |
6962 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 7537 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
6963 unittest.expect(o.selfLink, unittest.equals('foo')); | 7538 unittest.expect(o.selfLink, unittest.equals('foo')); |
6964 } | 7539 } |
6965 buildCounterSnapshotList--; | 7540 buildCounterSnapshotList--; |
6966 } | 7541 } |
6967 | 7542 |
6968 core.int buildCounterSslCertificate = 0; | 7543 core.int buildCounterSslCertificate = 0; |
6969 buildSslCertificate() { | 7544 buildSslCertificate() { |
6970 var o = new api.SslCertificate(); | 7545 var o = new api.SslCertificate(); |
(...skipping 20 matching lines...) Expand all Loading... |
6991 unittest.expect(o.description, unittest.equals('foo')); | 7566 unittest.expect(o.description, unittest.equals('foo')); |
6992 unittest.expect(o.id, unittest.equals('foo')); | 7567 unittest.expect(o.id, unittest.equals('foo')); |
6993 unittest.expect(o.kind, unittest.equals('foo')); | 7568 unittest.expect(o.kind, unittest.equals('foo')); |
6994 unittest.expect(o.name, unittest.equals('foo')); | 7569 unittest.expect(o.name, unittest.equals('foo')); |
6995 unittest.expect(o.privateKey, unittest.equals('foo')); | 7570 unittest.expect(o.privateKey, unittest.equals('foo')); |
6996 unittest.expect(o.selfLink, unittest.equals('foo')); | 7571 unittest.expect(o.selfLink, unittest.equals('foo')); |
6997 } | 7572 } |
6998 buildCounterSslCertificate--; | 7573 buildCounterSslCertificate--; |
6999 } | 7574 } |
7000 | 7575 |
7001 buildUnnamed2244() { | 7576 buildUnnamed2343() { |
7002 var o = new core.List<api.SslCertificate>(); | 7577 var o = new core.List<api.SslCertificate>(); |
7003 o.add(buildSslCertificate()); | 7578 o.add(buildSslCertificate()); |
7004 o.add(buildSslCertificate()); | 7579 o.add(buildSslCertificate()); |
7005 return o; | 7580 return o; |
7006 } | 7581 } |
7007 | 7582 |
7008 checkUnnamed2244(core.List<api.SslCertificate> o) { | 7583 checkUnnamed2343(core.List<api.SslCertificate> o) { |
7009 unittest.expect(o, unittest.hasLength(2)); | 7584 unittest.expect(o, unittest.hasLength(2)); |
7010 checkSslCertificate(o[0]); | 7585 checkSslCertificate(o[0]); |
7011 checkSslCertificate(o[1]); | 7586 checkSslCertificate(o[1]); |
7012 } | 7587 } |
7013 | 7588 |
7014 core.int buildCounterSslCertificateList = 0; | 7589 core.int buildCounterSslCertificateList = 0; |
7015 buildSslCertificateList() { | 7590 buildSslCertificateList() { |
7016 var o = new api.SslCertificateList(); | 7591 var o = new api.SslCertificateList(); |
7017 buildCounterSslCertificateList++; | 7592 buildCounterSslCertificateList++; |
7018 if (buildCounterSslCertificateList < 3) { | 7593 if (buildCounterSslCertificateList < 3) { |
7019 o.id = "foo"; | 7594 o.id = "foo"; |
7020 o.items = buildUnnamed2244(); | 7595 o.items = buildUnnamed2343(); |
7021 o.kind = "foo"; | 7596 o.kind = "foo"; |
7022 o.nextPageToken = "foo"; | 7597 o.nextPageToken = "foo"; |
7023 o.selfLink = "foo"; | 7598 o.selfLink = "foo"; |
7024 } | 7599 } |
7025 buildCounterSslCertificateList--; | 7600 buildCounterSslCertificateList--; |
7026 return o; | 7601 return o; |
7027 } | 7602 } |
7028 | 7603 |
7029 checkSslCertificateList(api.SslCertificateList o) { | 7604 checkSslCertificateList(api.SslCertificateList o) { |
7030 buildCounterSslCertificateList++; | 7605 buildCounterSslCertificateList++; |
7031 if (buildCounterSslCertificateList < 3) { | 7606 if (buildCounterSslCertificateList < 3) { |
7032 unittest.expect(o.id, unittest.equals('foo')); | 7607 unittest.expect(o.id, unittest.equals('foo')); |
7033 checkUnnamed2244(o.items); | 7608 checkUnnamed2343(o.items); |
7034 unittest.expect(o.kind, unittest.equals('foo')); | 7609 unittest.expect(o.kind, unittest.equals('foo')); |
7035 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 7610 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
7036 unittest.expect(o.selfLink, unittest.equals('foo')); | 7611 unittest.expect(o.selfLink, unittest.equals('foo')); |
7037 } | 7612 } |
7038 buildCounterSslCertificateList--; | 7613 buildCounterSslCertificateList--; |
7039 } | 7614 } |
7040 | 7615 |
7041 core.int buildCounterSubnetwork = 0; | 7616 core.int buildCounterSubnetwork = 0; |
7042 buildSubnetwork() { | 7617 buildSubnetwork() { |
7043 var o = new api.Subnetwork(); | 7618 var o = new api.Subnetwork(); |
(...skipping 26 matching lines...) Expand all Loading... |
7070 unittest.expect(o.kind, unittest.equals('foo')); | 7645 unittest.expect(o.kind, unittest.equals('foo')); |
7071 unittest.expect(o.name, unittest.equals('foo')); | 7646 unittest.expect(o.name, unittest.equals('foo')); |
7072 unittest.expect(o.network, unittest.equals('foo')); | 7647 unittest.expect(o.network, unittest.equals('foo')); |
7073 unittest.expect(o.privateIpGoogleAccess, unittest.isTrue); | 7648 unittest.expect(o.privateIpGoogleAccess, unittest.isTrue); |
7074 unittest.expect(o.region, unittest.equals('foo')); | 7649 unittest.expect(o.region, unittest.equals('foo')); |
7075 unittest.expect(o.selfLink, unittest.equals('foo')); | 7650 unittest.expect(o.selfLink, unittest.equals('foo')); |
7076 } | 7651 } |
7077 buildCounterSubnetwork--; | 7652 buildCounterSubnetwork--; |
7078 } | 7653 } |
7079 | 7654 |
7080 buildUnnamed2245() { | 7655 buildUnnamed2344() { |
7081 var o = new core.Map<core.String, api.SubnetworksScopedList>(); | 7656 var o = new core.Map<core.String, api.SubnetworksScopedList>(); |
7082 o["x"] = buildSubnetworksScopedList(); | 7657 o["x"] = buildSubnetworksScopedList(); |
7083 o["y"] = buildSubnetworksScopedList(); | 7658 o["y"] = buildSubnetworksScopedList(); |
7084 return o; | 7659 return o; |
7085 } | 7660 } |
7086 | 7661 |
7087 checkUnnamed2245(core.Map<core.String, api.SubnetworksScopedList> o) { | 7662 checkUnnamed2344(core.Map<core.String, api.SubnetworksScopedList> o) { |
7088 unittest.expect(o, unittest.hasLength(2)); | 7663 unittest.expect(o, unittest.hasLength(2)); |
7089 checkSubnetworksScopedList(o["x"]); | 7664 checkSubnetworksScopedList(o["x"]); |
7090 checkSubnetworksScopedList(o["y"]); | 7665 checkSubnetworksScopedList(o["y"]); |
7091 } | 7666 } |
7092 | 7667 |
7093 core.int buildCounterSubnetworkAggregatedList = 0; | 7668 core.int buildCounterSubnetworkAggregatedList = 0; |
7094 buildSubnetworkAggregatedList() { | 7669 buildSubnetworkAggregatedList() { |
7095 var o = new api.SubnetworkAggregatedList(); | 7670 var o = new api.SubnetworkAggregatedList(); |
7096 buildCounterSubnetworkAggregatedList++; | 7671 buildCounterSubnetworkAggregatedList++; |
7097 if (buildCounterSubnetworkAggregatedList < 3) { | 7672 if (buildCounterSubnetworkAggregatedList < 3) { |
7098 o.id = "foo"; | 7673 o.id = "foo"; |
7099 o.items = buildUnnamed2245(); | 7674 o.items = buildUnnamed2344(); |
7100 o.kind = "foo"; | 7675 o.kind = "foo"; |
7101 o.nextPageToken = "foo"; | 7676 o.nextPageToken = "foo"; |
7102 o.selfLink = "foo"; | 7677 o.selfLink = "foo"; |
7103 } | 7678 } |
7104 buildCounterSubnetworkAggregatedList--; | 7679 buildCounterSubnetworkAggregatedList--; |
7105 return o; | 7680 return o; |
7106 } | 7681 } |
7107 | 7682 |
7108 checkSubnetworkAggregatedList(api.SubnetworkAggregatedList o) { | 7683 checkSubnetworkAggregatedList(api.SubnetworkAggregatedList o) { |
7109 buildCounterSubnetworkAggregatedList++; | 7684 buildCounterSubnetworkAggregatedList++; |
7110 if (buildCounterSubnetworkAggregatedList < 3) { | 7685 if (buildCounterSubnetworkAggregatedList < 3) { |
7111 unittest.expect(o.id, unittest.equals('foo')); | 7686 unittest.expect(o.id, unittest.equals('foo')); |
7112 checkUnnamed2245(o.items); | 7687 checkUnnamed2344(o.items); |
7113 unittest.expect(o.kind, unittest.equals('foo')); | 7688 unittest.expect(o.kind, unittest.equals('foo')); |
7114 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 7689 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
7115 unittest.expect(o.selfLink, unittest.equals('foo')); | 7690 unittest.expect(o.selfLink, unittest.equals('foo')); |
7116 } | 7691 } |
7117 buildCounterSubnetworkAggregatedList--; | 7692 buildCounterSubnetworkAggregatedList--; |
7118 } | 7693 } |
7119 | 7694 |
7120 buildUnnamed2246() { | 7695 buildUnnamed2345() { |
7121 var o = new core.List<api.Subnetwork>(); | 7696 var o = new core.List<api.Subnetwork>(); |
7122 o.add(buildSubnetwork()); | 7697 o.add(buildSubnetwork()); |
7123 o.add(buildSubnetwork()); | 7698 o.add(buildSubnetwork()); |
7124 return o; | 7699 return o; |
7125 } | 7700 } |
7126 | 7701 |
7127 checkUnnamed2246(core.List<api.Subnetwork> o) { | 7702 checkUnnamed2345(core.List<api.Subnetwork> o) { |
7128 unittest.expect(o, unittest.hasLength(2)); | 7703 unittest.expect(o, unittest.hasLength(2)); |
7129 checkSubnetwork(o[0]); | 7704 checkSubnetwork(o[0]); |
7130 checkSubnetwork(o[1]); | 7705 checkSubnetwork(o[1]); |
7131 } | 7706 } |
7132 | 7707 |
7133 core.int buildCounterSubnetworkList = 0; | 7708 core.int buildCounterSubnetworkList = 0; |
7134 buildSubnetworkList() { | 7709 buildSubnetworkList() { |
7135 var o = new api.SubnetworkList(); | 7710 var o = new api.SubnetworkList(); |
7136 buildCounterSubnetworkList++; | 7711 buildCounterSubnetworkList++; |
7137 if (buildCounterSubnetworkList < 3) { | 7712 if (buildCounterSubnetworkList < 3) { |
7138 o.id = "foo"; | 7713 o.id = "foo"; |
7139 o.items = buildUnnamed2246(); | 7714 o.items = buildUnnamed2345(); |
7140 o.kind = "foo"; | 7715 o.kind = "foo"; |
7141 o.nextPageToken = "foo"; | 7716 o.nextPageToken = "foo"; |
7142 o.selfLink = "foo"; | 7717 o.selfLink = "foo"; |
7143 } | 7718 } |
7144 buildCounterSubnetworkList--; | 7719 buildCounterSubnetworkList--; |
7145 return o; | 7720 return o; |
7146 } | 7721 } |
7147 | 7722 |
7148 checkSubnetworkList(api.SubnetworkList o) { | 7723 checkSubnetworkList(api.SubnetworkList o) { |
7149 buildCounterSubnetworkList++; | 7724 buildCounterSubnetworkList++; |
7150 if (buildCounterSubnetworkList < 3) { | 7725 if (buildCounterSubnetworkList < 3) { |
7151 unittest.expect(o.id, unittest.equals('foo')); | 7726 unittest.expect(o.id, unittest.equals('foo')); |
7152 checkUnnamed2246(o.items); | 7727 checkUnnamed2345(o.items); |
7153 unittest.expect(o.kind, unittest.equals('foo')); | 7728 unittest.expect(o.kind, unittest.equals('foo')); |
7154 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 7729 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
7155 unittest.expect(o.selfLink, unittest.equals('foo')); | 7730 unittest.expect(o.selfLink, unittest.equals('foo')); |
7156 } | 7731 } |
7157 buildCounterSubnetworkList--; | 7732 buildCounterSubnetworkList--; |
7158 } | 7733 } |
7159 | 7734 |
7160 core.int buildCounterSubnetworksExpandIpCidrRangeRequest = 0; | 7735 core.int buildCounterSubnetworksExpandIpCidrRangeRequest = 0; |
7161 buildSubnetworksExpandIpCidrRangeRequest() { | 7736 buildSubnetworksExpandIpCidrRangeRequest() { |
7162 var o = new api.SubnetworksExpandIpCidrRangeRequest(); | 7737 var o = new api.SubnetworksExpandIpCidrRangeRequest(); |
7163 buildCounterSubnetworksExpandIpCidrRangeRequest++; | 7738 buildCounterSubnetworksExpandIpCidrRangeRequest++; |
7164 if (buildCounterSubnetworksExpandIpCidrRangeRequest < 3) { | 7739 if (buildCounterSubnetworksExpandIpCidrRangeRequest < 3) { |
7165 o.ipCidrRange = "foo"; | 7740 o.ipCidrRange = "foo"; |
7166 } | 7741 } |
7167 buildCounterSubnetworksExpandIpCidrRangeRequest--; | 7742 buildCounterSubnetworksExpandIpCidrRangeRequest--; |
7168 return o; | 7743 return o; |
7169 } | 7744 } |
7170 | 7745 |
7171 checkSubnetworksExpandIpCidrRangeRequest(api.SubnetworksExpandIpCidrRangeRequest
o) { | 7746 checkSubnetworksExpandIpCidrRangeRequest(api.SubnetworksExpandIpCidrRangeRequest
o) { |
7172 buildCounterSubnetworksExpandIpCidrRangeRequest++; | 7747 buildCounterSubnetworksExpandIpCidrRangeRequest++; |
7173 if (buildCounterSubnetworksExpandIpCidrRangeRequest < 3) { | 7748 if (buildCounterSubnetworksExpandIpCidrRangeRequest < 3) { |
7174 unittest.expect(o.ipCidrRange, unittest.equals('foo')); | 7749 unittest.expect(o.ipCidrRange, unittest.equals('foo')); |
7175 } | 7750 } |
7176 buildCounterSubnetworksExpandIpCidrRangeRequest--; | 7751 buildCounterSubnetworksExpandIpCidrRangeRequest--; |
7177 } | 7752 } |
7178 | 7753 |
7179 buildUnnamed2247() { | 7754 buildUnnamed2346() { |
7180 var o = new core.List<api.Subnetwork>(); | 7755 var o = new core.List<api.Subnetwork>(); |
7181 o.add(buildSubnetwork()); | 7756 o.add(buildSubnetwork()); |
7182 o.add(buildSubnetwork()); | 7757 o.add(buildSubnetwork()); |
7183 return o; | 7758 return o; |
7184 } | 7759 } |
7185 | 7760 |
7186 checkUnnamed2247(core.List<api.Subnetwork> o) { | 7761 checkUnnamed2346(core.List<api.Subnetwork> o) { |
7187 unittest.expect(o, unittest.hasLength(2)); | 7762 unittest.expect(o, unittest.hasLength(2)); |
7188 checkSubnetwork(o[0]); | 7763 checkSubnetwork(o[0]); |
7189 checkSubnetwork(o[1]); | 7764 checkSubnetwork(o[1]); |
7190 } | 7765 } |
7191 | 7766 |
7192 core.int buildCounterSubnetworksScopedListWarningData = 0; | 7767 core.int buildCounterSubnetworksScopedListWarningData = 0; |
7193 buildSubnetworksScopedListWarningData() { | 7768 buildSubnetworksScopedListWarningData() { |
7194 var o = new api.SubnetworksScopedListWarningData(); | 7769 var o = new api.SubnetworksScopedListWarningData(); |
7195 buildCounterSubnetworksScopedListWarningData++; | 7770 buildCounterSubnetworksScopedListWarningData++; |
7196 if (buildCounterSubnetworksScopedListWarningData < 3) { | 7771 if (buildCounterSubnetworksScopedListWarningData < 3) { |
7197 o.key = "foo"; | 7772 o.key = "foo"; |
7198 o.value = "foo"; | 7773 o.value = "foo"; |
7199 } | 7774 } |
7200 buildCounterSubnetworksScopedListWarningData--; | 7775 buildCounterSubnetworksScopedListWarningData--; |
7201 return o; | 7776 return o; |
7202 } | 7777 } |
7203 | 7778 |
7204 checkSubnetworksScopedListWarningData(api.SubnetworksScopedListWarningData o) { | 7779 checkSubnetworksScopedListWarningData(api.SubnetworksScopedListWarningData o) { |
7205 buildCounterSubnetworksScopedListWarningData++; | 7780 buildCounterSubnetworksScopedListWarningData++; |
7206 if (buildCounterSubnetworksScopedListWarningData < 3) { | 7781 if (buildCounterSubnetworksScopedListWarningData < 3) { |
7207 unittest.expect(o.key, unittest.equals('foo')); | 7782 unittest.expect(o.key, unittest.equals('foo')); |
7208 unittest.expect(o.value, unittest.equals('foo')); | 7783 unittest.expect(o.value, unittest.equals('foo')); |
7209 } | 7784 } |
7210 buildCounterSubnetworksScopedListWarningData--; | 7785 buildCounterSubnetworksScopedListWarningData--; |
7211 } | 7786 } |
7212 | 7787 |
7213 buildUnnamed2248() { | 7788 buildUnnamed2347() { |
7214 var o = new core.List<api.SubnetworksScopedListWarningData>(); | 7789 var o = new core.List<api.SubnetworksScopedListWarningData>(); |
7215 o.add(buildSubnetworksScopedListWarningData()); | 7790 o.add(buildSubnetworksScopedListWarningData()); |
7216 o.add(buildSubnetworksScopedListWarningData()); | 7791 o.add(buildSubnetworksScopedListWarningData()); |
7217 return o; | 7792 return o; |
7218 } | 7793 } |
7219 | 7794 |
7220 checkUnnamed2248(core.List<api.SubnetworksScopedListWarningData> o) { | 7795 checkUnnamed2347(core.List<api.SubnetworksScopedListWarningData> o) { |
7221 unittest.expect(o, unittest.hasLength(2)); | 7796 unittest.expect(o, unittest.hasLength(2)); |
7222 checkSubnetworksScopedListWarningData(o[0]); | 7797 checkSubnetworksScopedListWarningData(o[0]); |
7223 checkSubnetworksScopedListWarningData(o[1]); | 7798 checkSubnetworksScopedListWarningData(o[1]); |
7224 } | 7799 } |
7225 | 7800 |
7226 core.int buildCounterSubnetworksScopedListWarning = 0; | 7801 core.int buildCounterSubnetworksScopedListWarning = 0; |
7227 buildSubnetworksScopedListWarning() { | 7802 buildSubnetworksScopedListWarning() { |
7228 var o = new api.SubnetworksScopedListWarning(); | 7803 var o = new api.SubnetworksScopedListWarning(); |
7229 buildCounterSubnetworksScopedListWarning++; | 7804 buildCounterSubnetworksScopedListWarning++; |
7230 if (buildCounterSubnetworksScopedListWarning < 3) { | 7805 if (buildCounterSubnetworksScopedListWarning < 3) { |
7231 o.code = "foo"; | 7806 o.code = "foo"; |
7232 o.data = buildUnnamed2248(); | 7807 o.data = buildUnnamed2347(); |
7233 o.message = "foo"; | 7808 o.message = "foo"; |
7234 } | 7809 } |
7235 buildCounterSubnetworksScopedListWarning--; | 7810 buildCounterSubnetworksScopedListWarning--; |
7236 return o; | 7811 return o; |
7237 } | 7812 } |
7238 | 7813 |
7239 checkSubnetworksScopedListWarning(api.SubnetworksScopedListWarning o) { | 7814 checkSubnetworksScopedListWarning(api.SubnetworksScopedListWarning o) { |
7240 buildCounterSubnetworksScopedListWarning++; | 7815 buildCounterSubnetworksScopedListWarning++; |
7241 if (buildCounterSubnetworksScopedListWarning < 3) { | 7816 if (buildCounterSubnetworksScopedListWarning < 3) { |
7242 unittest.expect(o.code, unittest.equals('foo')); | 7817 unittest.expect(o.code, unittest.equals('foo')); |
7243 checkUnnamed2248(o.data); | 7818 checkUnnamed2347(o.data); |
7244 unittest.expect(o.message, unittest.equals('foo')); | 7819 unittest.expect(o.message, unittest.equals('foo')); |
7245 } | 7820 } |
7246 buildCounterSubnetworksScopedListWarning--; | 7821 buildCounterSubnetworksScopedListWarning--; |
7247 } | 7822 } |
7248 | 7823 |
7249 core.int buildCounterSubnetworksScopedList = 0; | 7824 core.int buildCounterSubnetworksScopedList = 0; |
7250 buildSubnetworksScopedList() { | 7825 buildSubnetworksScopedList() { |
7251 var o = new api.SubnetworksScopedList(); | 7826 var o = new api.SubnetworksScopedList(); |
7252 buildCounterSubnetworksScopedList++; | 7827 buildCounterSubnetworksScopedList++; |
7253 if (buildCounterSubnetworksScopedList < 3) { | 7828 if (buildCounterSubnetworksScopedList < 3) { |
7254 o.subnetworks = buildUnnamed2247(); | 7829 o.subnetworks = buildUnnamed2346(); |
7255 o.warning = buildSubnetworksScopedListWarning(); | 7830 o.warning = buildSubnetworksScopedListWarning(); |
7256 } | 7831 } |
7257 buildCounterSubnetworksScopedList--; | 7832 buildCounterSubnetworksScopedList--; |
7258 return o; | 7833 return o; |
7259 } | 7834 } |
7260 | 7835 |
7261 checkSubnetworksScopedList(api.SubnetworksScopedList o) { | 7836 checkSubnetworksScopedList(api.SubnetworksScopedList o) { |
7262 buildCounterSubnetworksScopedList++; | 7837 buildCounterSubnetworksScopedList++; |
7263 if (buildCounterSubnetworksScopedList < 3) { | 7838 if (buildCounterSubnetworksScopedList < 3) { |
7264 checkUnnamed2247(o.subnetworks); | 7839 checkUnnamed2346(o.subnetworks); |
7265 checkSubnetworksScopedListWarning(o.warning); | 7840 checkSubnetworksScopedListWarning(o.warning); |
7266 } | 7841 } |
7267 buildCounterSubnetworksScopedList--; | 7842 buildCounterSubnetworksScopedList--; |
7268 } | 7843 } |
7269 | 7844 |
7270 core.int buildCounterSubnetworksSetPrivateIpGoogleAccessRequest = 0; | 7845 core.int buildCounterSubnetworksSetPrivateIpGoogleAccessRequest = 0; |
7271 buildSubnetworksSetPrivateIpGoogleAccessRequest() { | 7846 buildSubnetworksSetPrivateIpGoogleAccessRequest() { |
7272 var o = new api.SubnetworksSetPrivateIpGoogleAccessRequest(); | 7847 var o = new api.SubnetworksSetPrivateIpGoogleAccessRequest(); |
7273 buildCounterSubnetworksSetPrivateIpGoogleAccessRequest++; | 7848 buildCounterSubnetworksSetPrivateIpGoogleAccessRequest++; |
7274 if (buildCounterSubnetworksSetPrivateIpGoogleAccessRequest < 3) { | 7849 if (buildCounterSubnetworksSetPrivateIpGoogleAccessRequest < 3) { |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7306 if (buildCounterTCPHealthCheck < 3) { | 7881 if (buildCounterTCPHealthCheck < 3) { |
7307 unittest.expect(o.port, unittest.equals(42)); | 7882 unittest.expect(o.port, unittest.equals(42)); |
7308 unittest.expect(o.portName, unittest.equals('foo')); | 7883 unittest.expect(o.portName, unittest.equals('foo')); |
7309 unittest.expect(o.proxyHeader, unittest.equals('foo')); | 7884 unittest.expect(o.proxyHeader, unittest.equals('foo')); |
7310 unittest.expect(o.request, unittest.equals('foo')); | 7885 unittest.expect(o.request, unittest.equals('foo')); |
7311 unittest.expect(o.response, unittest.equals('foo')); | 7886 unittest.expect(o.response, unittest.equals('foo')); |
7312 } | 7887 } |
7313 buildCounterTCPHealthCheck--; | 7888 buildCounterTCPHealthCheck--; |
7314 } | 7889 } |
7315 | 7890 |
7316 buildUnnamed2249() { | 7891 buildUnnamed2348() { |
7317 var o = new core.List<core.String>(); | 7892 var o = new core.List<core.String>(); |
7318 o.add("foo"); | 7893 o.add("foo"); |
7319 o.add("foo"); | 7894 o.add("foo"); |
7320 return o; | 7895 return o; |
7321 } | 7896 } |
7322 | 7897 |
7323 checkUnnamed2249(core.List<core.String> o) { | 7898 checkUnnamed2348(core.List<core.String> o) { |
7324 unittest.expect(o, unittest.hasLength(2)); | 7899 unittest.expect(o, unittest.hasLength(2)); |
7325 unittest.expect(o[0], unittest.equals('foo')); | 7900 unittest.expect(o[0], unittest.equals('foo')); |
7326 unittest.expect(o[1], unittest.equals('foo')); | 7901 unittest.expect(o[1], unittest.equals('foo')); |
7327 } | 7902 } |
7328 | 7903 |
7329 core.int buildCounterTags = 0; | 7904 core.int buildCounterTags = 0; |
7330 buildTags() { | 7905 buildTags() { |
7331 var o = new api.Tags(); | 7906 var o = new api.Tags(); |
7332 buildCounterTags++; | 7907 buildCounterTags++; |
7333 if (buildCounterTags < 3) { | 7908 if (buildCounterTags < 3) { |
7334 o.fingerprint = "foo"; | 7909 o.fingerprint = "foo"; |
7335 o.items = buildUnnamed2249(); | 7910 o.items = buildUnnamed2348(); |
7336 } | 7911 } |
7337 buildCounterTags--; | 7912 buildCounterTags--; |
7338 return o; | 7913 return o; |
7339 } | 7914 } |
7340 | 7915 |
7341 checkTags(api.Tags o) { | 7916 checkTags(api.Tags o) { |
7342 buildCounterTags++; | 7917 buildCounterTags++; |
7343 if (buildCounterTags < 3) { | 7918 if (buildCounterTags < 3) { |
7344 unittest.expect(o.fingerprint, unittest.equals('foo')); | 7919 unittest.expect(o.fingerprint, unittest.equals('foo')); |
7345 checkUnnamed2249(o.items); | 7920 checkUnnamed2348(o.items); |
7346 } | 7921 } |
7347 buildCounterTags--; | 7922 buildCounterTags--; |
7348 } | 7923 } |
7349 | 7924 |
7350 core.int buildCounterTargetHttpProxy = 0; | 7925 core.int buildCounterTargetHttpProxy = 0; |
7351 buildTargetHttpProxy() { | 7926 buildTargetHttpProxy() { |
7352 var o = new api.TargetHttpProxy(); | 7927 var o = new api.TargetHttpProxy(); |
7353 buildCounterTargetHttpProxy++; | 7928 buildCounterTargetHttpProxy++; |
7354 if (buildCounterTargetHttpProxy < 3) { | 7929 if (buildCounterTargetHttpProxy < 3) { |
7355 o.creationTimestamp = "foo"; | 7930 o.creationTimestamp = "foo"; |
(...skipping 15 matching lines...) Expand all Loading... |
7371 unittest.expect(o.description, unittest.equals('foo')); | 7946 unittest.expect(o.description, unittest.equals('foo')); |
7372 unittest.expect(o.id, unittest.equals('foo')); | 7947 unittest.expect(o.id, unittest.equals('foo')); |
7373 unittest.expect(o.kind, unittest.equals('foo')); | 7948 unittest.expect(o.kind, unittest.equals('foo')); |
7374 unittest.expect(o.name, unittest.equals('foo')); | 7949 unittest.expect(o.name, unittest.equals('foo')); |
7375 unittest.expect(o.selfLink, unittest.equals('foo')); | 7950 unittest.expect(o.selfLink, unittest.equals('foo')); |
7376 unittest.expect(o.urlMap, unittest.equals('foo')); | 7951 unittest.expect(o.urlMap, unittest.equals('foo')); |
7377 } | 7952 } |
7378 buildCounterTargetHttpProxy--; | 7953 buildCounterTargetHttpProxy--; |
7379 } | 7954 } |
7380 | 7955 |
7381 buildUnnamed2250() { | 7956 buildUnnamed2349() { |
7382 var o = new core.List<api.TargetHttpProxy>(); | 7957 var o = new core.List<api.TargetHttpProxy>(); |
7383 o.add(buildTargetHttpProxy()); | 7958 o.add(buildTargetHttpProxy()); |
7384 o.add(buildTargetHttpProxy()); | 7959 o.add(buildTargetHttpProxy()); |
7385 return o; | 7960 return o; |
7386 } | 7961 } |
7387 | 7962 |
7388 checkUnnamed2250(core.List<api.TargetHttpProxy> o) { | 7963 checkUnnamed2349(core.List<api.TargetHttpProxy> o) { |
7389 unittest.expect(o, unittest.hasLength(2)); | 7964 unittest.expect(o, unittest.hasLength(2)); |
7390 checkTargetHttpProxy(o[0]); | 7965 checkTargetHttpProxy(o[0]); |
7391 checkTargetHttpProxy(o[1]); | 7966 checkTargetHttpProxy(o[1]); |
7392 } | 7967 } |
7393 | 7968 |
7394 core.int buildCounterTargetHttpProxyList = 0; | 7969 core.int buildCounterTargetHttpProxyList = 0; |
7395 buildTargetHttpProxyList() { | 7970 buildTargetHttpProxyList() { |
7396 var o = new api.TargetHttpProxyList(); | 7971 var o = new api.TargetHttpProxyList(); |
7397 buildCounterTargetHttpProxyList++; | 7972 buildCounterTargetHttpProxyList++; |
7398 if (buildCounterTargetHttpProxyList < 3) { | 7973 if (buildCounterTargetHttpProxyList < 3) { |
7399 o.id = "foo"; | 7974 o.id = "foo"; |
7400 o.items = buildUnnamed2250(); | 7975 o.items = buildUnnamed2349(); |
7401 o.kind = "foo"; | 7976 o.kind = "foo"; |
7402 o.nextPageToken = "foo"; | 7977 o.nextPageToken = "foo"; |
7403 o.selfLink = "foo"; | 7978 o.selfLink = "foo"; |
7404 } | 7979 } |
7405 buildCounterTargetHttpProxyList--; | 7980 buildCounterTargetHttpProxyList--; |
7406 return o; | 7981 return o; |
7407 } | 7982 } |
7408 | 7983 |
7409 checkTargetHttpProxyList(api.TargetHttpProxyList o) { | 7984 checkTargetHttpProxyList(api.TargetHttpProxyList o) { |
7410 buildCounterTargetHttpProxyList++; | 7985 buildCounterTargetHttpProxyList++; |
7411 if (buildCounterTargetHttpProxyList < 3) { | 7986 if (buildCounterTargetHttpProxyList < 3) { |
7412 unittest.expect(o.id, unittest.equals('foo')); | 7987 unittest.expect(o.id, unittest.equals('foo')); |
7413 checkUnnamed2250(o.items); | 7988 checkUnnamed2349(o.items); |
7414 unittest.expect(o.kind, unittest.equals('foo')); | 7989 unittest.expect(o.kind, unittest.equals('foo')); |
7415 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 7990 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
7416 unittest.expect(o.selfLink, unittest.equals('foo')); | 7991 unittest.expect(o.selfLink, unittest.equals('foo')); |
7417 } | 7992 } |
7418 buildCounterTargetHttpProxyList--; | 7993 buildCounterTargetHttpProxyList--; |
7419 } | 7994 } |
7420 | 7995 |
7421 buildUnnamed2251() { | 7996 buildUnnamed2350() { |
7422 var o = new core.List<core.String>(); | 7997 var o = new core.List<core.String>(); |
7423 o.add("foo"); | 7998 o.add("foo"); |
7424 o.add("foo"); | 7999 o.add("foo"); |
7425 return o; | 8000 return o; |
7426 } | 8001 } |
7427 | 8002 |
7428 checkUnnamed2251(core.List<core.String> o) { | 8003 checkUnnamed2350(core.List<core.String> o) { |
7429 unittest.expect(o, unittest.hasLength(2)); | 8004 unittest.expect(o, unittest.hasLength(2)); |
7430 unittest.expect(o[0], unittest.equals('foo')); | 8005 unittest.expect(o[0], unittest.equals('foo')); |
7431 unittest.expect(o[1], unittest.equals('foo')); | 8006 unittest.expect(o[1], unittest.equals('foo')); |
7432 } | 8007 } |
7433 | 8008 |
7434 core.int buildCounterTargetHttpsProxiesSetSslCertificatesRequest = 0; | 8009 core.int buildCounterTargetHttpsProxiesSetSslCertificatesRequest = 0; |
7435 buildTargetHttpsProxiesSetSslCertificatesRequest() { | 8010 buildTargetHttpsProxiesSetSslCertificatesRequest() { |
7436 var o = new api.TargetHttpsProxiesSetSslCertificatesRequest(); | 8011 var o = new api.TargetHttpsProxiesSetSslCertificatesRequest(); |
7437 buildCounterTargetHttpsProxiesSetSslCertificatesRequest++; | 8012 buildCounterTargetHttpsProxiesSetSslCertificatesRequest++; |
7438 if (buildCounterTargetHttpsProxiesSetSslCertificatesRequest < 3) { | 8013 if (buildCounterTargetHttpsProxiesSetSslCertificatesRequest < 3) { |
7439 o.sslCertificates = buildUnnamed2251(); | 8014 o.sslCertificates = buildUnnamed2350(); |
7440 } | 8015 } |
7441 buildCounterTargetHttpsProxiesSetSslCertificatesRequest--; | 8016 buildCounterTargetHttpsProxiesSetSslCertificatesRequest--; |
7442 return o; | 8017 return o; |
7443 } | 8018 } |
7444 | 8019 |
7445 checkTargetHttpsProxiesSetSslCertificatesRequest(api.TargetHttpsProxiesSetSslCer
tificatesRequest o) { | 8020 checkTargetHttpsProxiesSetSslCertificatesRequest(api.TargetHttpsProxiesSetSslCer
tificatesRequest o) { |
7446 buildCounterTargetHttpsProxiesSetSslCertificatesRequest++; | 8021 buildCounterTargetHttpsProxiesSetSslCertificatesRequest++; |
7447 if (buildCounterTargetHttpsProxiesSetSslCertificatesRequest < 3) { | 8022 if (buildCounterTargetHttpsProxiesSetSslCertificatesRequest < 3) { |
7448 checkUnnamed2251(o.sslCertificates); | 8023 checkUnnamed2350(o.sslCertificates); |
7449 } | 8024 } |
7450 buildCounterTargetHttpsProxiesSetSslCertificatesRequest--; | 8025 buildCounterTargetHttpsProxiesSetSslCertificatesRequest--; |
7451 } | 8026 } |
7452 | 8027 |
7453 buildUnnamed2252() { | 8028 buildUnnamed2351() { |
7454 var o = new core.List<core.String>(); | 8029 var o = new core.List<core.String>(); |
7455 o.add("foo"); | 8030 o.add("foo"); |
7456 o.add("foo"); | 8031 o.add("foo"); |
7457 return o; | 8032 return o; |
7458 } | 8033 } |
7459 | 8034 |
7460 checkUnnamed2252(core.List<core.String> o) { | 8035 checkUnnamed2351(core.List<core.String> o) { |
7461 unittest.expect(o, unittest.hasLength(2)); | 8036 unittest.expect(o, unittest.hasLength(2)); |
7462 unittest.expect(o[0], unittest.equals('foo')); | 8037 unittest.expect(o[0], unittest.equals('foo')); |
7463 unittest.expect(o[1], unittest.equals('foo')); | 8038 unittest.expect(o[1], unittest.equals('foo')); |
7464 } | 8039 } |
7465 | 8040 |
7466 core.int buildCounterTargetHttpsProxy = 0; | 8041 core.int buildCounterTargetHttpsProxy = 0; |
7467 buildTargetHttpsProxy() { | 8042 buildTargetHttpsProxy() { |
7468 var o = new api.TargetHttpsProxy(); | 8043 var o = new api.TargetHttpsProxy(); |
7469 buildCounterTargetHttpsProxy++; | 8044 buildCounterTargetHttpsProxy++; |
7470 if (buildCounterTargetHttpsProxy < 3) { | 8045 if (buildCounterTargetHttpsProxy < 3) { |
7471 o.creationTimestamp = "foo"; | 8046 o.creationTimestamp = "foo"; |
7472 o.description = "foo"; | 8047 o.description = "foo"; |
7473 o.id = "foo"; | 8048 o.id = "foo"; |
7474 o.kind = "foo"; | 8049 o.kind = "foo"; |
7475 o.name = "foo"; | 8050 o.name = "foo"; |
7476 o.selfLink = "foo"; | 8051 o.selfLink = "foo"; |
7477 o.sslCertificates = buildUnnamed2252(); | 8052 o.sslCertificates = buildUnnamed2351(); |
7478 o.urlMap = "foo"; | 8053 o.urlMap = "foo"; |
7479 } | 8054 } |
7480 buildCounterTargetHttpsProxy--; | 8055 buildCounterTargetHttpsProxy--; |
7481 return o; | 8056 return o; |
7482 } | 8057 } |
7483 | 8058 |
7484 checkTargetHttpsProxy(api.TargetHttpsProxy o) { | 8059 checkTargetHttpsProxy(api.TargetHttpsProxy o) { |
7485 buildCounterTargetHttpsProxy++; | 8060 buildCounterTargetHttpsProxy++; |
7486 if (buildCounterTargetHttpsProxy < 3) { | 8061 if (buildCounterTargetHttpsProxy < 3) { |
7487 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 8062 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
7488 unittest.expect(o.description, unittest.equals('foo')); | 8063 unittest.expect(o.description, unittest.equals('foo')); |
7489 unittest.expect(o.id, unittest.equals('foo')); | 8064 unittest.expect(o.id, unittest.equals('foo')); |
7490 unittest.expect(o.kind, unittest.equals('foo')); | 8065 unittest.expect(o.kind, unittest.equals('foo')); |
7491 unittest.expect(o.name, unittest.equals('foo')); | 8066 unittest.expect(o.name, unittest.equals('foo')); |
7492 unittest.expect(o.selfLink, unittest.equals('foo')); | 8067 unittest.expect(o.selfLink, unittest.equals('foo')); |
7493 checkUnnamed2252(o.sslCertificates); | 8068 checkUnnamed2351(o.sslCertificates); |
7494 unittest.expect(o.urlMap, unittest.equals('foo')); | 8069 unittest.expect(o.urlMap, unittest.equals('foo')); |
7495 } | 8070 } |
7496 buildCounterTargetHttpsProxy--; | 8071 buildCounterTargetHttpsProxy--; |
7497 } | 8072 } |
7498 | 8073 |
7499 buildUnnamed2253() { | 8074 buildUnnamed2352() { |
7500 var o = new core.List<api.TargetHttpsProxy>(); | 8075 var o = new core.List<api.TargetHttpsProxy>(); |
7501 o.add(buildTargetHttpsProxy()); | 8076 o.add(buildTargetHttpsProxy()); |
7502 o.add(buildTargetHttpsProxy()); | 8077 o.add(buildTargetHttpsProxy()); |
7503 return o; | 8078 return o; |
7504 } | 8079 } |
7505 | 8080 |
7506 checkUnnamed2253(core.List<api.TargetHttpsProxy> o) { | 8081 checkUnnamed2352(core.List<api.TargetHttpsProxy> o) { |
7507 unittest.expect(o, unittest.hasLength(2)); | 8082 unittest.expect(o, unittest.hasLength(2)); |
7508 checkTargetHttpsProxy(o[0]); | 8083 checkTargetHttpsProxy(o[0]); |
7509 checkTargetHttpsProxy(o[1]); | 8084 checkTargetHttpsProxy(o[1]); |
7510 } | 8085 } |
7511 | 8086 |
7512 core.int buildCounterTargetHttpsProxyList = 0; | 8087 core.int buildCounterTargetHttpsProxyList = 0; |
7513 buildTargetHttpsProxyList() { | 8088 buildTargetHttpsProxyList() { |
7514 var o = new api.TargetHttpsProxyList(); | 8089 var o = new api.TargetHttpsProxyList(); |
7515 buildCounterTargetHttpsProxyList++; | 8090 buildCounterTargetHttpsProxyList++; |
7516 if (buildCounterTargetHttpsProxyList < 3) { | 8091 if (buildCounterTargetHttpsProxyList < 3) { |
7517 o.id = "foo"; | 8092 o.id = "foo"; |
7518 o.items = buildUnnamed2253(); | 8093 o.items = buildUnnamed2352(); |
7519 o.kind = "foo"; | 8094 o.kind = "foo"; |
7520 o.nextPageToken = "foo"; | 8095 o.nextPageToken = "foo"; |
7521 o.selfLink = "foo"; | 8096 o.selfLink = "foo"; |
7522 } | 8097 } |
7523 buildCounterTargetHttpsProxyList--; | 8098 buildCounterTargetHttpsProxyList--; |
7524 return o; | 8099 return o; |
7525 } | 8100 } |
7526 | 8101 |
7527 checkTargetHttpsProxyList(api.TargetHttpsProxyList o) { | 8102 checkTargetHttpsProxyList(api.TargetHttpsProxyList o) { |
7528 buildCounterTargetHttpsProxyList++; | 8103 buildCounterTargetHttpsProxyList++; |
7529 if (buildCounterTargetHttpsProxyList < 3) { | 8104 if (buildCounterTargetHttpsProxyList < 3) { |
7530 unittest.expect(o.id, unittest.equals('foo')); | 8105 unittest.expect(o.id, unittest.equals('foo')); |
7531 checkUnnamed2253(o.items); | 8106 checkUnnamed2352(o.items); |
7532 unittest.expect(o.kind, unittest.equals('foo')); | 8107 unittest.expect(o.kind, unittest.equals('foo')); |
7533 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 8108 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
7534 unittest.expect(o.selfLink, unittest.equals('foo')); | 8109 unittest.expect(o.selfLink, unittest.equals('foo')); |
7535 } | 8110 } |
7536 buildCounterTargetHttpsProxyList--; | 8111 buildCounterTargetHttpsProxyList--; |
7537 } | 8112 } |
7538 | 8113 |
7539 core.int buildCounterTargetInstance = 0; | 8114 core.int buildCounterTargetInstance = 0; |
7540 buildTargetInstance() { | 8115 buildTargetInstance() { |
7541 var o = new api.TargetInstance(); | 8116 var o = new api.TargetInstance(); |
(...skipping 22 matching lines...) Expand all Loading... |
7564 unittest.expect(o.instance, unittest.equals('foo')); | 8139 unittest.expect(o.instance, unittest.equals('foo')); |
7565 unittest.expect(o.kind, unittest.equals('foo')); | 8140 unittest.expect(o.kind, unittest.equals('foo')); |
7566 unittest.expect(o.name, unittest.equals('foo')); | 8141 unittest.expect(o.name, unittest.equals('foo')); |
7567 unittest.expect(o.natPolicy, unittest.equals('foo')); | 8142 unittest.expect(o.natPolicy, unittest.equals('foo')); |
7568 unittest.expect(o.selfLink, unittest.equals('foo')); | 8143 unittest.expect(o.selfLink, unittest.equals('foo')); |
7569 unittest.expect(o.zone, unittest.equals('foo')); | 8144 unittest.expect(o.zone, unittest.equals('foo')); |
7570 } | 8145 } |
7571 buildCounterTargetInstance--; | 8146 buildCounterTargetInstance--; |
7572 } | 8147 } |
7573 | 8148 |
7574 buildUnnamed2254() { | 8149 buildUnnamed2353() { |
7575 var o = new core.Map<core.String, api.TargetInstancesScopedList>(); | 8150 var o = new core.Map<core.String, api.TargetInstancesScopedList>(); |
7576 o["x"] = buildTargetInstancesScopedList(); | 8151 o["x"] = buildTargetInstancesScopedList(); |
7577 o["y"] = buildTargetInstancesScopedList(); | 8152 o["y"] = buildTargetInstancesScopedList(); |
7578 return o; | 8153 return o; |
7579 } | 8154 } |
7580 | 8155 |
7581 checkUnnamed2254(core.Map<core.String, api.TargetInstancesScopedList> o) { | 8156 checkUnnamed2353(core.Map<core.String, api.TargetInstancesScopedList> o) { |
7582 unittest.expect(o, unittest.hasLength(2)); | 8157 unittest.expect(o, unittest.hasLength(2)); |
7583 checkTargetInstancesScopedList(o["x"]); | 8158 checkTargetInstancesScopedList(o["x"]); |
7584 checkTargetInstancesScopedList(o["y"]); | 8159 checkTargetInstancesScopedList(o["y"]); |
7585 } | 8160 } |
7586 | 8161 |
7587 core.int buildCounterTargetInstanceAggregatedList = 0; | 8162 core.int buildCounterTargetInstanceAggregatedList = 0; |
7588 buildTargetInstanceAggregatedList() { | 8163 buildTargetInstanceAggregatedList() { |
7589 var o = new api.TargetInstanceAggregatedList(); | 8164 var o = new api.TargetInstanceAggregatedList(); |
7590 buildCounterTargetInstanceAggregatedList++; | 8165 buildCounterTargetInstanceAggregatedList++; |
7591 if (buildCounterTargetInstanceAggregatedList < 3) { | 8166 if (buildCounterTargetInstanceAggregatedList < 3) { |
7592 o.id = "foo"; | 8167 o.id = "foo"; |
7593 o.items = buildUnnamed2254(); | 8168 o.items = buildUnnamed2353(); |
7594 o.kind = "foo"; | 8169 o.kind = "foo"; |
7595 o.nextPageToken = "foo"; | 8170 o.nextPageToken = "foo"; |
7596 o.selfLink = "foo"; | 8171 o.selfLink = "foo"; |
7597 } | 8172 } |
7598 buildCounterTargetInstanceAggregatedList--; | 8173 buildCounterTargetInstanceAggregatedList--; |
7599 return o; | 8174 return o; |
7600 } | 8175 } |
7601 | 8176 |
7602 checkTargetInstanceAggregatedList(api.TargetInstanceAggregatedList o) { | 8177 checkTargetInstanceAggregatedList(api.TargetInstanceAggregatedList o) { |
7603 buildCounterTargetInstanceAggregatedList++; | 8178 buildCounterTargetInstanceAggregatedList++; |
7604 if (buildCounterTargetInstanceAggregatedList < 3) { | 8179 if (buildCounterTargetInstanceAggregatedList < 3) { |
7605 unittest.expect(o.id, unittest.equals('foo')); | 8180 unittest.expect(o.id, unittest.equals('foo')); |
7606 checkUnnamed2254(o.items); | 8181 checkUnnamed2353(o.items); |
7607 unittest.expect(o.kind, unittest.equals('foo')); | 8182 unittest.expect(o.kind, unittest.equals('foo')); |
7608 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 8183 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
7609 unittest.expect(o.selfLink, unittest.equals('foo')); | 8184 unittest.expect(o.selfLink, unittest.equals('foo')); |
7610 } | 8185 } |
7611 buildCounterTargetInstanceAggregatedList--; | 8186 buildCounterTargetInstanceAggregatedList--; |
7612 } | 8187 } |
7613 | 8188 |
7614 buildUnnamed2255() { | 8189 buildUnnamed2354() { |
7615 var o = new core.List<api.TargetInstance>(); | 8190 var o = new core.List<api.TargetInstance>(); |
7616 o.add(buildTargetInstance()); | 8191 o.add(buildTargetInstance()); |
7617 o.add(buildTargetInstance()); | 8192 o.add(buildTargetInstance()); |
7618 return o; | 8193 return o; |
7619 } | 8194 } |
7620 | 8195 |
7621 checkUnnamed2255(core.List<api.TargetInstance> o) { | 8196 checkUnnamed2354(core.List<api.TargetInstance> o) { |
7622 unittest.expect(o, unittest.hasLength(2)); | 8197 unittest.expect(o, unittest.hasLength(2)); |
7623 checkTargetInstance(o[0]); | 8198 checkTargetInstance(o[0]); |
7624 checkTargetInstance(o[1]); | 8199 checkTargetInstance(o[1]); |
7625 } | 8200 } |
7626 | 8201 |
7627 core.int buildCounterTargetInstanceList = 0; | 8202 core.int buildCounterTargetInstanceList = 0; |
7628 buildTargetInstanceList() { | 8203 buildTargetInstanceList() { |
7629 var o = new api.TargetInstanceList(); | 8204 var o = new api.TargetInstanceList(); |
7630 buildCounterTargetInstanceList++; | 8205 buildCounterTargetInstanceList++; |
7631 if (buildCounterTargetInstanceList < 3) { | 8206 if (buildCounterTargetInstanceList < 3) { |
7632 o.id = "foo"; | 8207 o.id = "foo"; |
7633 o.items = buildUnnamed2255(); | 8208 o.items = buildUnnamed2354(); |
7634 o.kind = "foo"; | 8209 o.kind = "foo"; |
7635 o.nextPageToken = "foo"; | 8210 o.nextPageToken = "foo"; |
7636 o.selfLink = "foo"; | 8211 o.selfLink = "foo"; |
7637 } | 8212 } |
7638 buildCounterTargetInstanceList--; | 8213 buildCounterTargetInstanceList--; |
7639 return o; | 8214 return o; |
7640 } | 8215 } |
7641 | 8216 |
7642 checkTargetInstanceList(api.TargetInstanceList o) { | 8217 checkTargetInstanceList(api.TargetInstanceList o) { |
7643 buildCounterTargetInstanceList++; | 8218 buildCounterTargetInstanceList++; |
7644 if (buildCounterTargetInstanceList < 3) { | 8219 if (buildCounterTargetInstanceList < 3) { |
7645 unittest.expect(o.id, unittest.equals('foo')); | 8220 unittest.expect(o.id, unittest.equals('foo')); |
7646 checkUnnamed2255(o.items); | 8221 checkUnnamed2354(o.items); |
7647 unittest.expect(o.kind, unittest.equals('foo')); | 8222 unittest.expect(o.kind, unittest.equals('foo')); |
7648 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 8223 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
7649 unittest.expect(o.selfLink, unittest.equals('foo')); | 8224 unittest.expect(o.selfLink, unittest.equals('foo')); |
7650 } | 8225 } |
7651 buildCounterTargetInstanceList--; | 8226 buildCounterTargetInstanceList--; |
7652 } | 8227 } |
7653 | 8228 |
7654 buildUnnamed2256() { | 8229 buildUnnamed2355() { |
7655 var o = new core.List<api.TargetInstance>(); | 8230 var o = new core.List<api.TargetInstance>(); |
7656 o.add(buildTargetInstance()); | 8231 o.add(buildTargetInstance()); |
7657 o.add(buildTargetInstance()); | 8232 o.add(buildTargetInstance()); |
7658 return o; | 8233 return o; |
7659 } | 8234 } |
7660 | 8235 |
7661 checkUnnamed2256(core.List<api.TargetInstance> o) { | 8236 checkUnnamed2355(core.List<api.TargetInstance> o) { |
7662 unittest.expect(o, unittest.hasLength(2)); | 8237 unittest.expect(o, unittest.hasLength(2)); |
7663 checkTargetInstance(o[0]); | 8238 checkTargetInstance(o[0]); |
7664 checkTargetInstance(o[1]); | 8239 checkTargetInstance(o[1]); |
7665 } | 8240 } |
7666 | 8241 |
7667 core.int buildCounterTargetInstancesScopedListWarningData = 0; | 8242 core.int buildCounterTargetInstancesScopedListWarningData = 0; |
7668 buildTargetInstancesScopedListWarningData() { | 8243 buildTargetInstancesScopedListWarningData() { |
7669 var o = new api.TargetInstancesScopedListWarningData(); | 8244 var o = new api.TargetInstancesScopedListWarningData(); |
7670 buildCounterTargetInstancesScopedListWarningData++; | 8245 buildCounterTargetInstancesScopedListWarningData++; |
7671 if (buildCounterTargetInstancesScopedListWarningData < 3) { | 8246 if (buildCounterTargetInstancesScopedListWarningData < 3) { |
7672 o.key = "foo"; | 8247 o.key = "foo"; |
7673 o.value = "foo"; | 8248 o.value = "foo"; |
7674 } | 8249 } |
7675 buildCounterTargetInstancesScopedListWarningData--; | 8250 buildCounterTargetInstancesScopedListWarningData--; |
7676 return o; | 8251 return o; |
7677 } | 8252 } |
7678 | 8253 |
7679 checkTargetInstancesScopedListWarningData(api.TargetInstancesScopedListWarningDa
ta o) { | 8254 checkTargetInstancesScopedListWarningData(api.TargetInstancesScopedListWarningDa
ta o) { |
7680 buildCounterTargetInstancesScopedListWarningData++; | 8255 buildCounterTargetInstancesScopedListWarningData++; |
7681 if (buildCounterTargetInstancesScopedListWarningData < 3) { | 8256 if (buildCounterTargetInstancesScopedListWarningData < 3) { |
7682 unittest.expect(o.key, unittest.equals('foo')); | 8257 unittest.expect(o.key, unittest.equals('foo')); |
7683 unittest.expect(o.value, unittest.equals('foo')); | 8258 unittest.expect(o.value, unittest.equals('foo')); |
7684 } | 8259 } |
7685 buildCounterTargetInstancesScopedListWarningData--; | 8260 buildCounterTargetInstancesScopedListWarningData--; |
7686 } | 8261 } |
7687 | 8262 |
7688 buildUnnamed2257() { | 8263 buildUnnamed2356() { |
7689 var o = new core.List<api.TargetInstancesScopedListWarningData>(); | 8264 var o = new core.List<api.TargetInstancesScopedListWarningData>(); |
7690 o.add(buildTargetInstancesScopedListWarningData()); | 8265 o.add(buildTargetInstancesScopedListWarningData()); |
7691 o.add(buildTargetInstancesScopedListWarningData()); | 8266 o.add(buildTargetInstancesScopedListWarningData()); |
7692 return o; | 8267 return o; |
7693 } | 8268 } |
7694 | 8269 |
7695 checkUnnamed2257(core.List<api.TargetInstancesScopedListWarningData> o) { | 8270 checkUnnamed2356(core.List<api.TargetInstancesScopedListWarningData> o) { |
7696 unittest.expect(o, unittest.hasLength(2)); | 8271 unittest.expect(o, unittest.hasLength(2)); |
7697 checkTargetInstancesScopedListWarningData(o[0]); | 8272 checkTargetInstancesScopedListWarningData(o[0]); |
7698 checkTargetInstancesScopedListWarningData(o[1]); | 8273 checkTargetInstancesScopedListWarningData(o[1]); |
7699 } | 8274 } |
7700 | 8275 |
7701 core.int buildCounterTargetInstancesScopedListWarning = 0; | 8276 core.int buildCounterTargetInstancesScopedListWarning = 0; |
7702 buildTargetInstancesScopedListWarning() { | 8277 buildTargetInstancesScopedListWarning() { |
7703 var o = new api.TargetInstancesScopedListWarning(); | 8278 var o = new api.TargetInstancesScopedListWarning(); |
7704 buildCounterTargetInstancesScopedListWarning++; | 8279 buildCounterTargetInstancesScopedListWarning++; |
7705 if (buildCounterTargetInstancesScopedListWarning < 3) { | 8280 if (buildCounterTargetInstancesScopedListWarning < 3) { |
7706 o.code = "foo"; | 8281 o.code = "foo"; |
7707 o.data = buildUnnamed2257(); | 8282 o.data = buildUnnamed2356(); |
7708 o.message = "foo"; | 8283 o.message = "foo"; |
7709 } | 8284 } |
7710 buildCounterTargetInstancesScopedListWarning--; | 8285 buildCounterTargetInstancesScopedListWarning--; |
7711 return o; | 8286 return o; |
7712 } | 8287 } |
7713 | 8288 |
7714 checkTargetInstancesScopedListWarning(api.TargetInstancesScopedListWarning o) { | 8289 checkTargetInstancesScopedListWarning(api.TargetInstancesScopedListWarning o) { |
7715 buildCounterTargetInstancesScopedListWarning++; | 8290 buildCounterTargetInstancesScopedListWarning++; |
7716 if (buildCounterTargetInstancesScopedListWarning < 3) { | 8291 if (buildCounterTargetInstancesScopedListWarning < 3) { |
7717 unittest.expect(o.code, unittest.equals('foo')); | 8292 unittest.expect(o.code, unittest.equals('foo')); |
7718 checkUnnamed2257(o.data); | 8293 checkUnnamed2356(o.data); |
7719 unittest.expect(o.message, unittest.equals('foo')); | 8294 unittest.expect(o.message, unittest.equals('foo')); |
7720 } | 8295 } |
7721 buildCounterTargetInstancesScopedListWarning--; | 8296 buildCounterTargetInstancesScopedListWarning--; |
7722 } | 8297 } |
7723 | 8298 |
7724 core.int buildCounterTargetInstancesScopedList = 0; | 8299 core.int buildCounterTargetInstancesScopedList = 0; |
7725 buildTargetInstancesScopedList() { | 8300 buildTargetInstancesScopedList() { |
7726 var o = new api.TargetInstancesScopedList(); | 8301 var o = new api.TargetInstancesScopedList(); |
7727 buildCounterTargetInstancesScopedList++; | 8302 buildCounterTargetInstancesScopedList++; |
7728 if (buildCounterTargetInstancesScopedList < 3) { | 8303 if (buildCounterTargetInstancesScopedList < 3) { |
7729 o.targetInstances = buildUnnamed2256(); | 8304 o.targetInstances = buildUnnamed2355(); |
7730 o.warning = buildTargetInstancesScopedListWarning(); | 8305 o.warning = buildTargetInstancesScopedListWarning(); |
7731 } | 8306 } |
7732 buildCounterTargetInstancesScopedList--; | 8307 buildCounterTargetInstancesScopedList--; |
7733 return o; | 8308 return o; |
7734 } | 8309 } |
7735 | 8310 |
7736 checkTargetInstancesScopedList(api.TargetInstancesScopedList o) { | 8311 checkTargetInstancesScopedList(api.TargetInstancesScopedList o) { |
7737 buildCounterTargetInstancesScopedList++; | 8312 buildCounterTargetInstancesScopedList++; |
7738 if (buildCounterTargetInstancesScopedList < 3) { | 8313 if (buildCounterTargetInstancesScopedList < 3) { |
7739 checkUnnamed2256(o.targetInstances); | 8314 checkUnnamed2355(o.targetInstances); |
7740 checkTargetInstancesScopedListWarning(o.warning); | 8315 checkTargetInstancesScopedListWarning(o.warning); |
7741 } | 8316 } |
7742 buildCounterTargetInstancesScopedList--; | 8317 buildCounterTargetInstancesScopedList--; |
7743 } | 8318 } |
7744 | 8319 |
7745 buildUnnamed2258() { | 8320 buildUnnamed2357() { |
7746 var o = new core.List<core.String>(); | 8321 var o = new core.List<core.String>(); |
7747 o.add("foo"); | 8322 o.add("foo"); |
7748 o.add("foo"); | 8323 o.add("foo"); |
7749 return o; | 8324 return o; |
7750 } | 8325 } |
7751 | 8326 |
7752 checkUnnamed2258(core.List<core.String> o) { | 8327 checkUnnamed2357(core.List<core.String> o) { |
7753 unittest.expect(o, unittest.hasLength(2)); | 8328 unittest.expect(o, unittest.hasLength(2)); |
7754 unittest.expect(o[0], unittest.equals('foo')); | 8329 unittest.expect(o[0], unittest.equals('foo')); |
7755 unittest.expect(o[1], unittest.equals('foo')); | 8330 unittest.expect(o[1], unittest.equals('foo')); |
7756 } | 8331 } |
7757 | 8332 |
7758 buildUnnamed2259() { | 8333 buildUnnamed2358() { |
7759 var o = new core.List<core.String>(); | 8334 var o = new core.List<core.String>(); |
7760 o.add("foo"); | 8335 o.add("foo"); |
7761 o.add("foo"); | 8336 o.add("foo"); |
7762 return o; | 8337 return o; |
7763 } | 8338 } |
7764 | 8339 |
7765 checkUnnamed2259(core.List<core.String> o) { | 8340 checkUnnamed2358(core.List<core.String> o) { |
7766 unittest.expect(o, unittest.hasLength(2)); | 8341 unittest.expect(o, unittest.hasLength(2)); |
7767 unittest.expect(o[0], unittest.equals('foo')); | 8342 unittest.expect(o[0], unittest.equals('foo')); |
7768 unittest.expect(o[1], unittest.equals('foo')); | 8343 unittest.expect(o[1], unittest.equals('foo')); |
7769 } | 8344 } |
7770 | 8345 |
7771 core.int buildCounterTargetPool = 0; | 8346 core.int buildCounterTargetPool = 0; |
7772 buildTargetPool() { | 8347 buildTargetPool() { |
7773 var o = new api.TargetPool(); | 8348 var o = new api.TargetPool(); |
7774 buildCounterTargetPool++; | 8349 buildCounterTargetPool++; |
7775 if (buildCounterTargetPool < 3) { | 8350 if (buildCounterTargetPool < 3) { |
7776 o.backupPool = "foo"; | 8351 o.backupPool = "foo"; |
7777 o.creationTimestamp = "foo"; | 8352 o.creationTimestamp = "foo"; |
7778 o.description = "foo"; | 8353 o.description = "foo"; |
7779 o.failoverRatio = 42.0; | 8354 o.failoverRatio = 42.0; |
7780 o.healthChecks = buildUnnamed2258(); | 8355 o.healthChecks = buildUnnamed2357(); |
7781 o.id = "foo"; | 8356 o.id = "foo"; |
7782 o.instances = buildUnnamed2259(); | 8357 o.instances = buildUnnamed2358(); |
7783 o.kind = "foo"; | 8358 o.kind = "foo"; |
7784 o.name = "foo"; | 8359 o.name = "foo"; |
7785 o.region = "foo"; | 8360 o.region = "foo"; |
7786 o.selfLink = "foo"; | 8361 o.selfLink = "foo"; |
7787 o.sessionAffinity = "foo"; | 8362 o.sessionAffinity = "foo"; |
7788 } | 8363 } |
7789 buildCounterTargetPool--; | 8364 buildCounterTargetPool--; |
7790 return o; | 8365 return o; |
7791 } | 8366 } |
7792 | 8367 |
7793 checkTargetPool(api.TargetPool o) { | 8368 checkTargetPool(api.TargetPool o) { |
7794 buildCounterTargetPool++; | 8369 buildCounterTargetPool++; |
7795 if (buildCounterTargetPool < 3) { | 8370 if (buildCounterTargetPool < 3) { |
7796 unittest.expect(o.backupPool, unittest.equals('foo')); | 8371 unittest.expect(o.backupPool, unittest.equals('foo')); |
7797 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 8372 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
7798 unittest.expect(o.description, unittest.equals('foo')); | 8373 unittest.expect(o.description, unittest.equals('foo')); |
7799 unittest.expect(o.failoverRatio, unittest.equals(42.0)); | 8374 unittest.expect(o.failoverRatio, unittest.equals(42.0)); |
7800 checkUnnamed2258(o.healthChecks); | 8375 checkUnnamed2357(o.healthChecks); |
7801 unittest.expect(o.id, unittest.equals('foo')); | 8376 unittest.expect(o.id, unittest.equals('foo')); |
7802 checkUnnamed2259(o.instances); | 8377 checkUnnamed2358(o.instances); |
7803 unittest.expect(o.kind, unittest.equals('foo')); | 8378 unittest.expect(o.kind, unittest.equals('foo')); |
7804 unittest.expect(o.name, unittest.equals('foo')); | 8379 unittest.expect(o.name, unittest.equals('foo')); |
7805 unittest.expect(o.region, unittest.equals('foo')); | 8380 unittest.expect(o.region, unittest.equals('foo')); |
7806 unittest.expect(o.selfLink, unittest.equals('foo')); | 8381 unittest.expect(o.selfLink, unittest.equals('foo')); |
7807 unittest.expect(o.sessionAffinity, unittest.equals('foo')); | 8382 unittest.expect(o.sessionAffinity, unittest.equals('foo')); |
7808 } | 8383 } |
7809 buildCounterTargetPool--; | 8384 buildCounterTargetPool--; |
7810 } | 8385 } |
7811 | 8386 |
7812 buildUnnamed2260() { | 8387 buildUnnamed2359() { |
7813 var o = new core.Map<core.String, api.TargetPoolsScopedList>(); | 8388 var o = new core.Map<core.String, api.TargetPoolsScopedList>(); |
7814 o["x"] = buildTargetPoolsScopedList(); | 8389 o["x"] = buildTargetPoolsScopedList(); |
7815 o["y"] = buildTargetPoolsScopedList(); | 8390 o["y"] = buildTargetPoolsScopedList(); |
7816 return o; | 8391 return o; |
7817 } | 8392 } |
7818 | 8393 |
7819 checkUnnamed2260(core.Map<core.String, api.TargetPoolsScopedList> o) { | 8394 checkUnnamed2359(core.Map<core.String, api.TargetPoolsScopedList> o) { |
7820 unittest.expect(o, unittest.hasLength(2)); | 8395 unittest.expect(o, unittest.hasLength(2)); |
7821 checkTargetPoolsScopedList(o["x"]); | 8396 checkTargetPoolsScopedList(o["x"]); |
7822 checkTargetPoolsScopedList(o["y"]); | 8397 checkTargetPoolsScopedList(o["y"]); |
7823 } | 8398 } |
7824 | 8399 |
7825 core.int buildCounterTargetPoolAggregatedList = 0; | 8400 core.int buildCounterTargetPoolAggregatedList = 0; |
7826 buildTargetPoolAggregatedList() { | 8401 buildTargetPoolAggregatedList() { |
7827 var o = new api.TargetPoolAggregatedList(); | 8402 var o = new api.TargetPoolAggregatedList(); |
7828 buildCounterTargetPoolAggregatedList++; | 8403 buildCounterTargetPoolAggregatedList++; |
7829 if (buildCounterTargetPoolAggregatedList < 3) { | 8404 if (buildCounterTargetPoolAggregatedList < 3) { |
7830 o.id = "foo"; | 8405 o.id = "foo"; |
7831 o.items = buildUnnamed2260(); | 8406 o.items = buildUnnamed2359(); |
7832 o.kind = "foo"; | 8407 o.kind = "foo"; |
7833 o.nextPageToken = "foo"; | 8408 o.nextPageToken = "foo"; |
7834 o.selfLink = "foo"; | 8409 o.selfLink = "foo"; |
7835 } | 8410 } |
7836 buildCounterTargetPoolAggregatedList--; | 8411 buildCounterTargetPoolAggregatedList--; |
7837 return o; | 8412 return o; |
7838 } | 8413 } |
7839 | 8414 |
7840 checkTargetPoolAggregatedList(api.TargetPoolAggregatedList o) { | 8415 checkTargetPoolAggregatedList(api.TargetPoolAggregatedList o) { |
7841 buildCounterTargetPoolAggregatedList++; | 8416 buildCounterTargetPoolAggregatedList++; |
7842 if (buildCounterTargetPoolAggregatedList < 3) { | 8417 if (buildCounterTargetPoolAggregatedList < 3) { |
7843 unittest.expect(o.id, unittest.equals('foo')); | 8418 unittest.expect(o.id, unittest.equals('foo')); |
7844 checkUnnamed2260(o.items); | 8419 checkUnnamed2359(o.items); |
7845 unittest.expect(o.kind, unittest.equals('foo')); | 8420 unittest.expect(o.kind, unittest.equals('foo')); |
7846 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 8421 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
7847 unittest.expect(o.selfLink, unittest.equals('foo')); | 8422 unittest.expect(o.selfLink, unittest.equals('foo')); |
7848 } | 8423 } |
7849 buildCounterTargetPoolAggregatedList--; | 8424 buildCounterTargetPoolAggregatedList--; |
7850 } | 8425 } |
7851 | 8426 |
7852 buildUnnamed2261() { | 8427 buildUnnamed2360() { |
7853 var o = new core.List<api.HealthStatus>(); | 8428 var o = new core.List<api.HealthStatus>(); |
7854 o.add(buildHealthStatus()); | 8429 o.add(buildHealthStatus()); |
7855 o.add(buildHealthStatus()); | 8430 o.add(buildHealthStatus()); |
7856 return o; | 8431 return o; |
7857 } | 8432 } |
7858 | 8433 |
7859 checkUnnamed2261(core.List<api.HealthStatus> o) { | 8434 checkUnnamed2360(core.List<api.HealthStatus> o) { |
7860 unittest.expect(o, unittest.hasLength(2)); | 8435 unittest.expect(o, unittest.hasLength(2)); |
7861 checkHealthStatus(o[0]); | 8436 checkHealthStatus(o[0]); |
7862 checkHealthStatus(o[1]); | 8437 checkHealthStatus(o[1]); |
7863 } | 8438 } |
7864 | 8439 |
7865 core.int buildCounterTargetPoolInstanceHealth = 0; | 8440 core.int buildCounterTargetPoolInstanceHealth = 0; |
7866 buildTargetPoolInstanceHealth() { | 8441 buildTargetPoolInstanceHealth() { |
7867 var o = new api.TargetPoolInstanceHealth(); | 8442 var o = new api.TargetPoolInstanceHealth(); |
7868 buildCounterTargetPoolInstanceHealth++; | 8443 buildCounterTargetPoolInstanceHealth++; |
7869 if (buildCounterTargetPoolInstanceHealth < 3) { | 8444 if (buildCounterTargetPoolInstanceHealth < 3) { |
7870 o.healthStatus = buildUnnamed2261(); | 8445 o.healthStatus = buildUnnamed2360(); |
7871 o.kind = "foo"; | 8446 o.kind = "foo"; |
7872 } | 8447 } |
7873 buildCounterTargetPoolInstanceHealth--; | 8448 buildCounterTargetPoolInstanceHealth--; |
7874 return o; | 8449 return o; |
7875 } | 8450 } |
7876 | 8451 |
7877 checkTargetPoolInstanceHealth(api.TargetPoolInstanceHealth o) { | 8452 checkTargetPoolInstanceHealth(api.TargetPoolInstanceHealth o) { |
7878 buildCounterTargetPoolInstanceHealth++; | 8453 buildCounterTargetPoolInstanceHealth++; |
7879 if (buildCounterTargetPoolInstanceHealth < 3) { | 8454 if (buildCounterTargetPoolInstanceHealth < 3) { |
7880 checkUnnamed2261(o.healthStatus); | 8455 checkUnnamed2360(o.healthStatus); |
7881 unittest.expect(o.kind, unittest.equals('foo')); | 8456 unittest.expect(o.kind, unittest.equals('foo')); |
7882 } | 8457 } |
7883 buildCounterTargetPoolInstanceHealth--; | 8458 buildCounterTargetPoolInstanceHealth--; |
7884 } | 8459 } |
7885 | 8460 |
7886 buildUnnamed2262() { | 8461 buildUnnamed2361() { |
7887 var o = new core.List<api.TargetPool>(); | 8462 var o = new core.List<api.TargetPool>(); |
7888 o.add(buildTargetPool()); | 8463 o.add(buildTargetPool()); |
7889 o.add(buildTargetPool()); | 8464 o.add(buildTargetPool()); |
7890 return o; | 8465 return o; |
7891 } | 8466 } |
7892 | 8467 |
7893 checkUnnamed2262(core.List<api.TargetPool> o) { | 8468 checkUnnamed2361(core.List<api.TargetPool> o) { |
7894 unittest.expect(o, unittest.hasLength(2)); | 8469 unittest.expect(o, unittest.hasLength(2)); |
7895 checkTargetPool(o[0]); | 8470 checkTargetPool(o[0]); |
7896 checkTargetPool(o[1]); | 8471 checkTargetPool(o[1]); |
7897 } | 8472 } |
7898 | 8473 |
7899 core.int buildCounterTargetPoolList = 0; | 8474 core.int buildCounterTargetPoolList = 0; |
7900 buildTargetPoolList() { | 8475 buildTargetPoolList() { |
7901 var o = new api.TargetPoolList(); | 8476 var o = new api.TargetPoolList(); |
7902 buildCounterTargetPoolList++; | 8477 buildCounterTargetPoolList++; |
7903 if (buildCounterTargetPoolList < 3) { | 8478 if (buildCounterTargetPoolList < 3) { |
7904 o.id = "foo"; | 8479 o.id = "foo"; |
7905 o.items = buildUnnamed2262(); | 8480 o.items = buildUnnamed2361(); |
7906 o.kind = "foo"; | 8481 o.kind = "foo"; |
7907 o.nextPageToken = "foo"; | 8482 o.nextPageToken = "foo"; |
7908 o.selfLink = "foo"; | 8483 o.selfLink = "foo"; |
7909 } | 8484 } |
7910 buildCounterTargetPoolList--; | 8485 buildCounterTargetPoolList--; |
7911 return o; | 8486 return o; |
7912 } | 8487 } |
7913 | 8488 |
7914 checkTargetPoolList(api.TargetPoolList o) { | 8489 checkTargetPoolList(api.TargetPoolList o) { |
7915 buildCounterTargetPoolList++; | 8490 buildCounterTargetPoolList++; |
7916 if (buildCounterTargetPoolList < 3) { | 8491 if (buildCounterTargetPoolList < 3) { |
7917 unittest.expect(o.id, unittest.equals('foo')); | 8492 unittest.expect(o.id, unittest.equals('foo')); |
7918 checkUnnamed2262(o.items); | 8493 checkUnnamed2361(o.items); |
7919 unittest.expect(o.kind, unittest.equals('foo')); | 8494 unittest.expect(o.kind, unittest.equals('foo')); |
7920 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 8495 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
7921 unittest.expect(o.selfLink, unittest.equals('foo')); | 8496 unittest.expect(o.selfLink, unittest.equals('foo')); |
7922 } | 8497 } |
7923 buildCounterTargetPoolList--; | 8498 buildCounterTargetPoolList--; |
7924 } | 8499 } |
7925 | 8500 |
7926 buildUnnamed2263() { | 8501 buildUnnamed2362() { |
7927 var o = new core.List<api.HealthCheckReference>(); | 8502 var o = new core.List<api.HealthCheckReference>(); |
7928 o.add(buildHealthCheckReference()); | 8503 o.add(buildHealthCheckReference()); |
7929 o.add(buildHealthCheckReference()); | 8504 o.add(buildHealthCheckReference()); |
7930 return o; | 8505 return o; |
7931 } | 8506 } |
7932 | 8507 |
7933 checkUnnamed2263(core.List<api.HealthCheckReference> o) { | 8508 checkUnnamed2362(core.List<api.HealthCheckReference> o) { |
7934 unittest.expect(o, unittest.hasLength(2)); | 8509 unittest.expect(o, unittest.hasLength(2)); |
7935 checkHealthCheckReference(o[0]); | 8510 checkHealthCheckReference(o[0]); |
7936 checkHealthCheckReference(o[1]); | 8511 checkHealthCheckReference(o[1]); |
7937 } | 8512 } |
7938 | 8513 |
7939 core.int buildCounterTargetPoolsAddHealthCheckRequest = 0; | 8514 core.int buildCounterTargetPoolsAddHealthCheckRequest = 0; |
7940 buildTargetPoolsAddHealthCheckRequest() { | 8515 buildTargetPoolsAddHealthCheckRequest() { |
7941 var o = new api.TargetPoolsAddHealthCheckRequest(); | 8516 var o = new api.TargetPoolsAddHealthCheckRequest(); |
7942 buildCounterTargetPoolsAddHealthCheckRequest++; | 8517 buildCounterTargetPoolsAddHealthCheckRequest++; |
7943 if (buildCounterTargetPoolsAddHealthCheckRequest < 3) { | 8518 if (buildCounterTargetPoolsAddHealthCheckRequest < 3) { |
7944 o.healthChecks = buildUnnamed2263(); | 8519 o.healthChecks = buildUnnamed2362(); |
7945 } | 8520 } |
7946 buildCounterTargetPoolsAddHealthCheckRequest--; | 8521 buildCounterTargetPoolsAddHealthCheckRequest--; |
7947 return o; | 8522 return o; |
7948 } | 8523 } |
7949 | 8524 |
7950 checkTargetPoolsAddHealthCheckRequest(api.TargetPoolsAddHealthCheckRequest o) { | 8525 checkTargetPoolsAddHealthCheckRequest(api.TargetPoolsAddHealthCheckRequest o) { |
7951 buildCounterTargetPoolsAddHealthCheckRequest++; | 8526 buildCounterTargetPoolsAddHealthCheckRequest++; |
7952 if (buildCounterTargetPoolsAddHealthCheckRequest < 3) { | 8527 if (buildCounterTargetPoolsAddHealthCheckRequest < 3) { |
7953 checkUnnamed2263(o.healthChecks); | 8528 checkUnnamed2362(o.healthChecks); |
7954 } | 8529 } |
7955 buildCounterTargetPoolsAddHealthCheckRequest--; | 8530 buildCounterTargetPoolsAddHealthCheckRequest--; |
7956 } | 8531 } |
7957 | 8532 |
7958 buildUnnamed2264() { | 8533 buildUnnamed2363() { |
7959 var o = new core.List<api.InstanceReference>(); | 8534 var o = new core.List<api.InstanceReference>(); |
7960 o.add(buildInstanceReference()); | 8535 o.add(buildInstanceReference()); |
7961 o.add(buildInstanceReference()); | 8536 o.add(buildInstanceReference()); |
7962 return o; | 8537 return o; |
7963 } | 8538 } |
7964 | 8539 |
7965 checkUnnamed2264(core.List<api.InstanceReference> o) { | 8540 checkUnnamed2363(core.List<api.InstanceReference> o) { |
7966 unittest.expect(o, unittest.hasLength(2)); | 8541 unittest.expect(o, unittest.hasLength(2)); |
7967 checkInstanceReference(o[0]); | 8542 checkInstanceReference(o[0]); |
7968 checkInstanceReference(o[1]); | 8543 checkInstanceReference(o[1]); |
7969 } | 8544 } |
7970 | 8545 |
7971 core.int buildCounterTargetPoolsAddInstanceRequest = 0; | 8546 core.int buildCounterTargetPoolsAddInstanceRequest = 0; |
7972 buildTargetPoolsAddInstanceRequest() { | 8547 buildTargetPoolsAddInstanceRequest() { |
7973 var o = new api.TargetPoolsAddInstanceRequest(); | 8548 var o = new api.TargetPoolsAddInstanceRequest(); |
7974 buildCounterTargetPoolsAddInstanceRequest++; | 8549 buildCounterTargetPoolsAddInstanceRequest++; |
7975 if (buildCounterTargetPoolsAddInstanceRequest < 3) { | 8550 if (buildCounterTargetPoolsAddInstanceRequest < 3) { |
7976 o.instances = buildUnnamed2264(); | 8551 o.instances = buildUnnamed2363(); |
7977 } | 8552 } |
7978 buildCounterTargetPoolsAddInstanceRequest--; | 8553 buildCounterTargetPoolsAddInstanceRequest--; |
7979 return o; | 8554 return o; |
7980 } | 8555 } |
7981 | 8556 |
7982 checkTargetPoolsAddInstanceRequest(api.TargetPoolsAddInstanceRequest o) { | 8557 checkTargetPoolsAddInstanceRequest(api.TargetPoolsAddInstanceRequest o) { |
7983 buildCounterTargetPoolsAddInstanceRequest++; | 8558 buildCounterTargetPoolsAddInstanceRequest++; |
7984 if (buildCounterTargetPoolsAddInstanceRequest < 3) { | 8559 if (buildCounterTargetPoolsAddInstanceRequest < 3) { |
7985 checkUnnamed2264(o.instances); | 8560 checkUnnamed2363(o.instances); |
7986 } | 8561 } |
7987 buildCounterTargetPoolsAddInstanceRequest--; | 8562 buildCounterTargetPoolsAddInstanceRequest--; |
7988 } | 8563 } |
7989 | 8564 |
7990 buildUnnamed2265() { | 8565 buildUnnamed2364() { |
7991 var o = new core.List<api.HealthCheckReference>(); | 8566 var o = new core.List<api.HealthCheckReference>(); |
7992 o.add(buildHealthCheckReference()); | 8567 o.add(buildHealthCheckReference()); |
7993 o.add(buildHealthCheckReference()); | 8568 o.add(buildHealthCheckReference()); |
7994 return o; | 8569 return o; |
7995 } | 8570 } |
7996 | 8571 |
7997 checkUnnamed2265(core.List<api.HealthCheckReference> o) { | 8572 checkUnnamed2364(core.List<api.HealthCheckReference> o) { |
7998 unittest.expect(o, unittest.hasLength(2)); | 8573 unittest.expect(o, unittest.hasLength(2)); |
7999 checkHealthCheckReference(o[0]); | 8574 checkHealthCheckReference(o[0]); |
8000 checkHealthCheckReference(o[1]); | 8575 checkHealthCheckReference(o[1]); |
8001 } | 8576 } |
8002 | 8577 |
8003 core.int buildCounterTargetPoolsRemoveHealthCheckRequest = 0; | 8578 core.int buildCounterTargetPoolsRemoveHealthCheckRequest = 0; |
8004 buildTargetPoolsRemoveHealthCheckRequest() { | 8579 buildTargetPoolsRemoveHealthCheckRequest() { |
8005 var o = new api.TargetPoolsRemoveHealthCheckRequest(); | 8580 var o = new api.TargetPoolsRemoveHealthCheckRequest(); |
8006 buildCounterTargetPoolsRemoveHealthCheckRequest++; | 8581 buildCounterTargetPoolsRemoveHealthCheckRequest++; |
8007 if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) { | 8582 if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) { |
8008 o.healthChecks = buildUnnamed2265(); | 8583 o.healthChecks = buildUnnamed2364(); |
8009 } | 8584 } |
8010 buildCounterTargetPoolsRemoveHealthCheckRequest--; | 8585 buildCounterTargetPoolsRemoveHealthCheckRequest--; |
8011 return o; | 8586 return o; |
8012 } | 8587 } |
8013 | 8588 |
8014 checkTargetPoolsRemoveHealthCheckRequest(api.TargetPoolsRemoveHealthCheckRequest
o) { | 8589 checkTargetPoolsRemoveHealthCheckRequest(api.TargetPoolsRemoveHealthCheckRequest
o) { |
8015 buildCounterTargetPoolsRemoveHealthCheckRequest++; | 8590 buildCounterTargetPoolsRemoveHealthCheckRequest++; |
8016 if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) { | 8591 if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) { |
8017 checkUnnamed2265(o.healthChecks); | 8592 checkUnnamed2364(o.healthChecks); |
8018 } | 8593 } |
8019 buildCounterTargetPoolsRemoveHealthCheckRequest--; | 8594 buildCounterTargetPoolsRemoveHealthCheckRequest--; |
8020 } | 8595 } |
8021 | 8596 |
8022 buildUnnamed2266() { | 8597 buildUnnamed2365() { |
8023 var o = new core.List<api.InstanceReference>(); | 8598 var o = new core.List<api.InstanceReference>(); |
8024 o.add(buildInstanceReference()); | 8599 o.add(buildInstanceReference()); |
8025 o.add(buildInstanceReference()); | 8600 o.add(buildInstanceReference()); |
8026 return o; | 8601 return o; |
8027 } | 8602 } |
8028 | 8603 |
8029 checkUnnamed2266(core.List<api.InstanceReference> o) { | 8604 checkUnnamed2365(core.List<api.InstanceReference> o) { |
8030 unittest.expect(o, unittest.hasLength(2)); | 8605 unittest.expect(o, unittest.hasLength(2)); |
8031 checkInstanceReference(o[0]); | 8606 checkInstanceReference(o[0]); |
8032 checkInstanceReference(o[1]); | 8607 checkInstanceReference(o[1]); |
8033 } | 8608 } |
8034 | 8609 |
8035 core.int buildCounterTargetPoolsRemoveInstanceRequest = 0; | 8610 core.int buildCounterTargetPoolsRemoveInstanceRequest = 0; |
8036 buildTargetPoolsRemoveInstanceRequest() { | 8611 buildTargetPoolsRemoveInstanceRequest() { |
8037 var o = new api.TargetPoolsRemoveInstanceRequest(); | 8612 var o = new api.TargetPoolsRemoveInstanceRequest(); |
8038 buildCounterTargetPoolsRemoveInstanceRequest++; | 8613 buildCounterTargetPoolsRemoveInstanceRequest++; |
8039 if (buildCounterTargetPoolsRemoveInstanceRequest < 3) { | 8614 if (buildCounterTargetPoolsRemoveInstanceRequest < 3) { |
8040 o.instances = buildUnnamed2266(); | 8615 o.instances = buildUnnamed2365(); |
8041 } | 8616 } |
8042 buildCounterTargetPoolsRemoveInstanceRequest--; | 8617 buildCounterTargetPoolsRemoveInstanceRequest--; |
8043 return o; | 8618 return o; |
8044 } | 8619 } |
8045 | 8620 |
8046 checkTargetPoolsRemoveInstanceRequest(api.TargetPoolsRemoveInstanceRequest o) { | 8621 checkTargetPoolsRemoveInstanceRequest(api.TargetPoolsRemoveInstanceRequest o) { |
8047 buildCounterTargetPoolsRemoveInstanceRequest++; | 8622 buildCounterTargetPoolsRemoveInstanceRequest++; |
8048 if (buildCounterTargetPoolsRemoveInstanceRequest < 3) { | 8623 if (buildCounterTargetPoolsRemoveInstanceRequest < 3) { |
8049 checkUnnamed2266(o.instances); | 8624 checkUnnamed2365(o.instances); |
8050 } | 8625 } |
8051 buildCounterTargetPoolsRemoveInstanceRequest--; | 8626 buildCounterTargetPoolsRemoveInstanceRequest--; |
8052 } | 8627 } |
8053 | 8628 |
8054 buildUnnamed2267() { | 8629 buildUnnamed2366() { |
8055 var o = new core.List<api.TargetPool>(); | 8630 var o = new core.List<api.TargetPool>(); |
8056 o.add(buildTargetPool()); | 8631 o.add(buildTargetPool()); |
8057 o.add(buildTargetPool()); | 8632 o.add(buildTargetPool()); |
8058 return o; | 8633 return o; |
8059 } | 8634 } |
8060 | 8635 |
8061 checkUnnamed2267(core.List<api.TargetPool> o) { | 8636 checkUnnamed2366(core.List<api.TargetPool> o) { |
8062 unittest.expect(o, unittest.hasLength(2)); | 8637 unittest.expect(o, unittest.hasLength(2)); |
8063 checkTargetPool(o[0]); | 8638 checkTargetPool(o[0]); |
8064 checkTargetPool(o[1]); | 8639 checkTargetPool(o[1]); |
8065 } | 8640 } |
8066 | 8641 |
8067 core.int buildCounterTargetPoolsScopedListWarningData = 0; | 8642 core.int buildCounterTargetPoolsScopedListWarningData = 0; |
8068 buildTargetPoolsScopedListWarningData() { | 8643 buildTargetPoolsScopedListWarningData() { |
8069 var o = new api.TargetPoolsScopedListWarningData(); | 8644 var o = new api.TargetPoolsScopedListWarningData(); |
8070 buildCounterTargetPoolsScopedListWarningData++; | 8645 buildCounterTargetPoolsScopedListWarningData++; |
8071 if (buildCounterTargetPoolsScopedListWarningData < 3) { | 8646 if (buildCounterTargetPoolsScopedListWarningData < 3) { |
8072 o.key = "foo"; | 8647 o.key = "foo"; |
8073 o.value = "foo"; | 8648 o.value = "foo"; |
8074 } | 8649 } |
8075 buildCounterTargetPoolsScopedListWarningData--; | 8650 buildCounterTargetPoolsScopedListWarningData--; |
8076 return o; | 8651 return o; |
8077 } | 8652 } |
8078 | 8653 |
8079 checkTargetPoolsScopedListWarningData(api.TargetPoolsScopedListWarningData o) { | 8654 checkTargetPoolsScopedListWarningData(api.TargetPoolsScopedListWarningData o) { |
8080 buildCounterTargetPoolsScopedListWarningData++; | 8655 buildCounterTargetPoolsScopedListWarningData++; |
8081 if (buildCounterTargetPoolsScopedListWarningData < 3) { | 8656 if (buildCounterTargetPoolsScopedListWarningData < 3) { |
8082 unittest.expect(o.key, unittest.equals('foo')); | 8657 unittest.expect(o.key, unittest.equals('foo')); |
8083 unittest.expect(o.value, unittest.equals('foo')); | 8658 unittest.expect(o.value, unittest.equals('foo')); |
8084 } | 8659 } |
8085 buildCounterTargetPoolsScopedListWarningData--; | 8660 buildCounterTargetPoolsScopedListWarningData--; |
8086 } | 8661 } |
8087 | 8662 |
8088 buildUnnamed2268() { | 8663 buildUnnamed2367() { |
8089 var o = new core.List<api.TargetPoolsScopedListWarningData>(); | 8664 var o = new core.List<api.TargetPoolsScopedListWarningData>(); |
8090 o.add(buildTargetPoolsScopedListWarningData()); | 8665 o.add(buildTargetPoolsScopedListWarningData()); |
8091 o.add(buildTargetPoolsScopedListWarningData()); | 8666 o.add(buildTargetPoolsScopedListWarningData()); |
8092 return o; | 8667 return o; |
8093 } | 8668 } |
8094 | 8669 |
8095 checkUnnamed2268(core.List<api.TargetPoolsScopedListWarningData> o) { | 8670 checkUnnamed2367(core.List<api.TargetPoolsScopedListWarningData> o) { |
8096 unittest.expect(o, unittest.hasLength(2)); | 8671 unittest.expect(o, unittest.hasLength(2)); |
8097 checkTargetPoolsScopedListWarningData(o[0]); | 8672 checkTargetPoolsScopedListWarningData(o[0]); |
8098 checkTargetPoolsScopedListWarningData(o[1]); | 8673 checkTargetPoolsScopedListWarningData(o[1]); |
8099 } | 8674 } |
8100 | 8675 |
8101 core.int buildCounterTargetPoolsScopedListWarning = 0; | 8676 core.int buildCounterTargetPoolsScopedListWarning = 0; |
8102 buildTargetPoolsScopedListWarning() { | 8677 buildTargetPoolsScopedListWarning() { |
8103 var o = new api.TargetPoolsScopedListWarning(); | 8678 var o = new api.TargetPoolsScopedListWarning(); |
8104 buildCounterTargetPoolsScopedListWarning++; | 8679 buildCounterTargetPoolsScopedListWarning++; |
8105 if (buildCounterTargetPoolsScopedListWarning < 3) { | 8680 if (buildCounterTargetPoolsScopedListWarning < 3) { |
8106 o.code = "foo"; | 8681 o.code = "foo"; |
8107 o.data = buildUnnamed2268(); | 8682 o.data = buildUnnamed2367(); |
8108 o.message = "foo"; | 8683 o.message = "foo"; |
8109 } | 8684 } |
8110 buildCounterTargetPoolsScopedListWarning--; | 8685 buildCounterTargetPoolsScopedListWarning--; |
8111 return o; | 8686 return o; |
8112 } | 8687 } |
8113 | 8688 |
8114 checkTargetPoolsScopedListWarning(api.TargetPoolsScopedListWarning o) { | 8689 checkTargetPoolsScopedListWarning(api.TargetPoolsScopedListWarning o) { |
8115 buildCounterTargetPoolsScopedListWarning++; | 8690 buildCounterTargetPoolsScopedListWarning++; |
8116 if (buildCounterTargetPoolsScopedListWarning < 3) { | 8691 if (buildCounterTargetPoolsScopedListWarning < 3) { |
8117 unittest.expect(o.code, unittest.equals('foo')); | 8692 unittest.expect(o.code, unittest.equals('foo')); |
8118 checkUnnamed2268(o.data); | 8693 checkUnnamed2367(o.data); |
8119 unittest.expect(o.message, unittest.equals('foo')); | 8694 unittest.expect(o.message, unittest.equals('foo')); |
8120 } | 8695 } |
8121 buildCounterTargetPoolsScopedListWarning--; | 8696 buildCounterTargetPoolsScopedListWarning--; |
8122 } | 8697 } |
8123 | 8698 |
8124 core.int buildCounterTargetPoolsScopedList = 0; | 8699 core.int buildCounterTargetPoolsScopedList = 0; |
8125 buildTargetPoolsScopedList() { | 8700 buildTargetPoolsScopedList() { |
8126 var o = new api.TargetPoolsScopedList(); | 8701 var o = new api.TargetPoolsScopedList(); |
8127 buildCounterTargetPoolsScopedList++; | 8702 buildCounterTargetPoolsScopedList++; |
8128 if (buildCounterTargetPoolsScopedList < 3) { | 8703 if (buildCounterTargetPoolsScopedList < 3) { |
8129 o.targetPools = buildUnnamed2267(); | 8704 o.targetPools = buildUnnamed2366(); |
8130 o.warning = buildTargetPoolsScopedListWarning(); | 8705 o.warning = buildTargetPoolsScopedListWarning(); |
8131 } | 8706 } |
8132 buildCounterTargetPoolsScopedList--; | 8707 buildCounterTargetPoolsScopedList--; |
8133 return o; | 8708 return o; |
8134 } | 8709 } |
8135 | 8710 |
8136 checkTargetPoolsScopedList(api.TargetPoolsScopedList o) { | 8711 checkTargetPoolsScopedList(api.TargetPoolsScopedList o) { |
8137 buildCounterTargetPoolsScopedList++; | 8712 buildCounterTargetPoolsScopedList++; |
8138 if (buildCounterTargetPoolsScopedList < 3) { | 8713 if (buildCounterTargetPoolsScopedList < 3) { |
8139 checkUnnamed2267(o.targetPools); | 8714 checkUnnamed2366(o.targetPools); |
8140 checkTargetPoolsScopedListWarning(o.warning); | 8715 checkTargetPoolsScopedListWarning(o.warning); |
8141 } | 8716 } |
8142 buildCounterTargetPoolsScopedList--; | 8717 buildCounterTargetPoolsScopedList--; |
8143 } | 8718 } |
8144 | 8719 |
8145 core.int buildCounterTargetReference = 0; | 8720 core.int buildCounterTargetReference = 0; |
8146 buildTargetReference() { | 8721 buildTargetReference() { |
8147 var o = new api.TargetReference(); | 8722 var o = new api.TargetReference(); |
8148 buildCounterTargetReference++; | 8723 buildCounterTargetReference++; |
8149 if (buildCounterTargetReference < 3) { | 8724 if (buildCounterTargetReference < 3) { |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8192 } | 8767 } |
8193 | 8768 |
8194 checkTargetSslProxiesSetProxyHeaderRequest(api.TargetSslProxiesSetProxyHeaderReq
uest o) { | 8769 checkTargetSslProxiesSetProxyHeaderRequest(api.TargetSslProxiesSetProxyHeaderReq
uest o) { |
8195 buildCounterTargetSslProxiesSetProxyHeaderRequest++; | 8770 buildCounterTargetSslProxiesSetProxyHeaderRequest++; |
8196 if (buildCounterTargetSslProxiesSetProxyHeaderRequest < 3) { | 8771 if (buildCounterTargetSslProxiesSetProxyHeaderRequest < 3) { |
8197 unittest.expect(o.proxyHeader, unittest.equals('foo')); | 8772 unittest.expect(o.proxyHeader, unittest.equals('foo')); |
8198 } | 8773 } |
8199 buildCounterTargetSslProxiesSetProxyHeaderRequest--; | 8774 buildCounterTargetSslProxiesSetProxyHeaderRequest--; |
8200 } | 8775 } |
8201 | 8776 |
8202 buildUnnamed2269() { | 8777 buildUnnamed2368() { |
8203 var o = new core.List<core.String>(); | 8778 var o = new core.List<core.String>(); |
8204 o.add("foo"); | 8779 o.add("foo"); |
8205 o.add("foo"); | 8780 o.add("foo"); |
8206 return o; | 8781 return o; |
8207 } | 8782 } |
8208 | 8783 |
8209 checkUnnamed2269(core.List<core.String> o) { | 8784 checkUnnamed2368(core.List<core.String> o) { |
8210 unittest.expect(o, unittest.hasLength(2)); | 8785 unittest.expect(o, unittest.hasLength(2)); |
8211 unittest.expect(o[0], unittest.equals('foo')); | 8786 unittest.expect(o[0], unittest.equals('foo')); |
8212 unittest.expect(o[1], unittest.equals('foo')); | 8787 unittest.expect(o[1], unittest.equals('foo')); |
8213 } | 8788 } |
8214 | 8789 |
8215 core.int buildCounterTargetSslProxiesSetSslCertificatesRequest = 0; | 8790 core.int buildCounterTargetSslProxiesSetSslCertificatesRequest = 0; |
8216 buildTargetSslProxiesSetSslCertificatesRequest() { | 8791 buildTargetSslProxiesSetSslCertificatesRequest() { |
8217 var o = new api.TargetSslProxiesSetSslCertificatesRequest(); | 8792 var o = new api.TargetSslProxiesSetSslCertificatesRequest(); |
8218 buildCounterTargetSslProxiesSetSslCertificatesRequest++; | 8793 buildCounterTargetSslProxiesSetSslCertificatesRequest++; |
8219 if (buildCounterTargetSslProxiesSetSslCertificatesRequest < 3) { | 8794 if (buildCounterTargetSslProxiesSetSslCertificatesRequest < 3) { |
8220 o.sslCertificates = buildUnnamed2269(); | 8795 o.sslCertificates = buildUnnamed2368(); |
8221 } | 8796 } |
8222 buildCounterTargetSslProxiesSetSslCertificatesRequest--; | 8797 buildCounterTargetSslProxiesSetSslCertificatesRequest--; |
8223 return o; | 8798 return o; |
8224 } | 8799 } |
8225 | 8800 |
8226 checkTargetSslProxiesSetSslCertificatesRequest(api.TargetSslProxiesSetSslCertifi
catesRequest o) { | 8801 checkTargetSslProxiesSetSslCertificatesRequest(api.TargetSslProxiesSetSslCertifi
catesRequest o) { |
8227 buildCounterTargetSslProxiesSetSslCertificatesRequest++; | 8802 buildCounterTargetSslProxiesSetSslCertificatesRequest++; |
8228 if (buildCounterTargetSslProxiesSetSslCertificatesRequest < 3) { | 8803 if (buildCounterTargetSslProxiesSetSslCertificatesRequest < 3) { |
8229 checkUnnamed2269(o.sslCertificates); | 8804 checkUnnamed2368(o.sslCertificates); |
8230 } | 8805 } |
8231 buildCounterTargetSslProxiesSetSslCertificatesRequest--; | 8806 buildCounterTargetSslProxiesSetSslCertificatesRequest--; |
8232 } | 8807 } |
8233 | 8808 |
8234 buildUnnamed2270() { | 8809 buildUnnamed2369() { |
8235 var o = new core.List<core.String>(); | 8810 var o = new core.List<core.String>(); |
8236 o.add("foo"); | 8811 o.add("foo"); |
8237 o.add("foo"); | 8812 o.add("foo"); |
8238 return o; | 8813 return o; |
8239 } | 8814 } |
8240 | 8815 |
8241 checkUnnamed2270(core.List<core.String> o) { | 8816 checkUnnamed2369(core.List<core.String> o) { |
8242 unittest.expect(o, unittest.hasLength(2)); | 8817 unittest.expect(o, unittest.hasLength(2)); |
8243 unittest.expect(o[0], unittest.equals('foo')); | 8818 unittest.expect(o[0], unittest.equals('foo')); |
8244 unittest.expect(o[1], unittest.equals('foo')); | 8819 unittest.expect(o[1], unittest.equals('foo')); |
8245 } | 8820 } |
8246 | 8821 |
8247 core.int buildCounterTargetSslProxy = 0; | 8822 core.int buildCounterTargetSslProxy = 0; |
8248 buildTargetSslProxy() { | 8823 buildTargetSslProxy() { |
8249 var o = new api.TargetSslProxy(); | 8824 var o = new api.TargetSslProxy(); |
8250 buildCounterTargetSslProxy++; | 8825 buildCounterTargetSslProxy++; |
8251 if (buildCounterTargetSslProxy < 3) { | 8826 if (buildCounterTargetSslProxy < 3) { |
8252 o.creationTimestamp = "foo"; | 8827 o.creationTimestamp = "foo"; |
8253 o.description = "foo"; | 8828 o.description = "foo"; |
8254 o.id = "foo"; | 8829 o.id = "foo"; |
8255 o.kind = "foo"; | 8830 o.kind = "foo"; |
8256 o.name = "foo"; | 8831 o.name = "foo"; |
8257 o.proxyHeader = "foo"; | 8832 o.proxyHeader = "foo"; |
8258 o.selfLink = "foo"; | 8833 o.selfLink = "foo"; |
8259 o.service = "foo"; | 8834 o.service = "foo"; |
8260 o.sslCertificates = buildUnnamed2270(); | 8835 o.sslCertificates = buildUnnamed2369(); |
8261 } | 8836 } |
8262 buildCounterTargetSslProxy--; | 8837 buildCounterTargetSslProxy--; |
8263 return o; | 8838 return o; |
8264 } | 8839 } |
8265 | 8840 |
8266 checkTargetSslProxy(api.TargetSslProxy o) { | 8841 checkTargetSslProxy(api.TargetSslProxy o) { |
8267 buildCounterTargetSslProxy++; | 8842 buildCounterTargetSslProxy++; |
8268 if (buildCounterTargetSslProxy < 3) { | 8843 if (buildCounterTargetSslProxy < 3) { |
8269 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 8844 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
8270 unittest.expect(o.description, unittest.equals('foo')); | 8845 unittest.expect(o.description, unittest.equals('foo')); |
8271 unittest.expect(o.id, unittest.equals('foo')); | 8846 unittest.expect(o.id, unittest.equals('foo')); |
8272 unittest.expect(o.kind, unittest.equals('foo')); | 8847 unittest.expect(o.kind, unittest.equals('foo')); |
8273 unittest.expect(o.name, unittest.equals('foo')); | 8848 unittest.expect(o.name, unittest.equals('foo')); |
8274 unittest.expect(o.proxyHeader, unittest.equals('foo')); | 8849 unittest.expect(o.proxyHeader, unittest.equals('foo')); |
8275 unittest.expect(o.selfLink, unittest.equals('foo')); | 8850 unittest.expect(o.selfLink, unittest.equals('foo')); |
8276 unittest.expect(o.service, unittest.equals('foo')); | 8851 unittest.expect(o.service, unittest.equals('foo')); |
8277 checkUnnamed2270(o.sslCertificates); | 8852 checkUnnamed2369(o.sslCertificates); |
8278 } | 8853 } |
8279 buildCounterTargetSslProxy--; | 8854 buildCounterTargetSslProxy--; |
8280 } | 8855 } |
8281 | 8856 |
8282 buildUnnamed2271() { | 8857 buildUnnamed2370() { |
8283 var o = new core.List<api.TargetSslProxy>(); | 8858 var o = new core.List<api.TargetSslProxy>(); |
8284 o.add(buildTargetSslProxy()); | 8859 o.add(buildTargetSslProxy()); |
8285 o.add(buildTargetSslProxy()); | 8860 o.add(buildTargetSslProxy()); |
8286 return o; | 8861 return o; |
8287 } | 8862 } |
8288 | 8863 |
8289 checkUnnamed2271(core.List<api.TargetSslProxy> o) { | 8864 checkUnnamed2370(core.List<api.TargetSslProxy> o) { |
8290 unittest.expect(o, unittest.hasLength(2)); | 8865 unittest.expect(o, unittest.hasLength(2)); |
8291 checkTargetSslProxy(o[0]); | 8866 checkTargetSslProxy(o[0]); |
8292 checkTargetSslProxy(o[1]); | 8867 checkTargetSslProxy(o[1]); |
8293 } | 8868 } |
8294 | 8869 |
8295 core.int buildCounterTargetSslProxyList = 0; | 8870 core.int buildCounterTargetSslProxyList = 0; |
8296 buildTargetSslProxyList() { | 8871 buildTargetSslProxyList() { |
8297 var o = new api.TargetSslProxyList(); | 8872 var o = new api.TargetSslProxyList(); |
8298 buildCounterTargetSslProxyList++; | 8873 buildCounterTargetSslProxyList++; |
8299 if (buildCounterTargetSslProxyList < 3) { | 8874 if (buildCounterTargetSslProxyList < 3) { |
8300 o.id = "foo"; | 8875 o.id = "foo"; |
8301 o.items = buildUnnamed2271(); | 8876 o.items = buildUnnamed2370(); |
8302 o.kind = "foo"; | 8877 o.kind = "foo"; |
8303 o.nextPageToken = "foo"; | 8878 o.nextPageToken = "foo"; |
8304 o.selfLink = "foo"; | 8879 o.selfLink = "foo"; |
8305 } | 8880 } |
8306 buildCounterTargetSslProxyList--; | 8881 buildCounterTargetSslProxyList--; |
8307 return o; | 8882 return o; |
8308 } | 8883 } |
8309 | 8884 |
8310 checkTargetSslProxyList(api.TargetSslProxyList o) { | 8885 checkTargetSslProxyList(api.TargetSslProxyList o) { |
8311 buildCounterTargetSslProxyList++; | 8886 buildCounterTargetSslProxyList++; |
8312 if (buildCounterTargetSslProxyList < 3) { | 8887 if (buildCounterTargetSslProxyList < 3) { |
8313 unittest.expect(o.id, unittest.equals('foo')); | 8888 unittest.expect(o.id, unittest.equals('foo')); |
8314 checkUnnamed2271(o.items); | 8889 checkUnnamed2370(o.items); |
8315 unittest.expect(o.kind, unittest.equals('foo')); | 8890 unittest.expect(o.kind, unittest.equals('foo')); |
8316 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 8891 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
8317 unittest.expect(o.selfLink, unittest.equals('foo')); | 8892 unittest.expect(o.selfLink, unittest.equals('foo')); |
8318 } | 8893 } |
8319 buildCounterTargetSslProxyList--; | 8894 buildCounterTargetSslProxyList--; |
8320 } | 8895 } |
8321 | 8896 |
8322 core.int buildCounterTargetTcpProxiesSetBackendServiceRequest = 0; | 8897 core.int buildCounterTargetTcpProxiesSetBackendServiceRequest = 0; |
8323 buildTargetTcpProxiesSetBackendServiceRequest() { | 8898 buildTargetTcpProxiesSetBackendServiceRequest() { |
8324 var o = new api.TargetTcpProxiesSetBackendServiceRequest(); | 8899 var o = new api.TargetTcpProxiesSetBackendServiceRequest(); |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8383 unittest.expect(o.id, unittest.equals('foo')); | 8958 unittest.expect(o.id, unittest.equals('foo')); |
8384 unittest.expect(o.kind, unittest.equals('foo')); | 8959 unittest.expect(o.kind, unittest.equals('foo')); |
8385 unittest.expect(o.name, unittest.equals('foo')); | 8960 unittest.expect(o.name, unittest.equals('foo')); |
8386 unittest.expect(o.proxyHeader, unittest.equals('foo')); | 8961 unittest.expect(o.proxyHeader, unittest.equals('foo')); |
8387 unittest.expect(o.selfLink, unittest.equals('foo')); | 8962 unittest.expect(o.selfLink, unittest.equals('foo')); |
8388 unittest.expect(o.service, unittest.equals('foo')); | 8963 unittest.expect(o.service, unittest.equals('foo')); |
8389 } | 8964 } |
8390 buildCounterTargetTcpProxy--; | 8965 buildCounterTargetTcpProxy--; |
8391 } | 8966 } |
8392 | 8967 |
8393 buildUnnamed2272() { | 8968 buildUnnamed2371() { |
8394 var o = new core.List<api.TargetTcpProxy>(); | 8969 var o = new core.List<api.TargetTcpProxy>(); |
8395 o.add(buildTargetTcpProxy()); | 8970 o.add(buildTargetTcpProxy()); |
8396 o.add(buildTargetTcpProxy()); | 8971 o.add(buildTargetTcpProxy()); |
8397 return o; | 8972 return o; |
8398 } | 8973 } |
8399 | 8974 |
8400 checkUnnamed2272(core.List<api.TargetTcpProxy> o) { | 8975 checkUnnamed2371(core.List<api.TargetTcpProxy> o) { |
8401 unittest.expect(o, unittest.hasLength(2)); | 8976 unittest.expect(o, unittest.hasLength(2)); |
8402 checkTargetTcpProxy(o[0]); | 8977 checkTargetTcpProxy(o[0]); |
8403 checkTargetTcpProxy(o[1]); | 8978 checkTargetTcpProxy(o[1]); |
8404 } | 8979 } |
8405 | 8980 |
8406 core.int buildCounterTargetTcpProxyList = 0; | 8981 core.int buildCounterTargetTcpProxyList = 0; |
8407 buildTargetTcpProxyList() { | 8982 buildTargetTcpProxyList() { |
8408 var o = new api.TargetTcpProxyList(); | 8983 var o = new api.TargetTcpProxyList(); |
8409 buildCounterTargetTcpProxyList++; | 8984 buildCounterTargetTcpProxyList++; |
8410 if (buildCounterTargetTcpProxyList < 3) { | 8985 if (buildCounterTargetTcpProxyList < 3) { |
8411 o.id = "foo"; | 8986 o.id = "foo"; |
8412 o.items = buildUnnamed2272(); | 8987 o.items = buildUnnamed2371(); |
8413 o.kind = "foo"; | 8988 o.kind = "foo"; |
8414 o.nextPageToken = "foo"; | 8989 o.nextPageToken = "foo"; |
8415 o.selfLink = "foo"; | 8990 o.selfLink = "foo"; |
8416 } | 8991 } |
8417 buildCounterTargetTcpProxyList--; | 8992 buildCounterTargetTcpProxyList--; |
8418 return o; | 8993 return o; |
8419 } | 8994 } |
8420 | 8995 |
8421 checkTargetTcpProxyList(api.TargetTcpProxyList o) { | 8996 checkTargetTcpProxyList(api.TargetTcpProxyList o) { |
8422 buildCounterTargetTcpProxyList++; | 8997 buildCounterTargetTcpProxyList++; |
8423 if (buildCounterTargetTcpProxyList < 3) { | 8998 if (buildCounterTargetTcpProxyList < 3) { |
8424 unittest.expect(o.id, unittest.equals('foo')); | 8999 unittest.expect(o.id, unittest.equals('foo')); |
8425 checkUnnamed2272(o.items); | 9000 checkUnnamed2371(o.items); |
8426 unittest.expect(o.kind, unittest.equals('foo')); | 9001 unittest.expect(o.kind, unittest.equals('foo')); |
8427 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 9002 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
8428 unittest.expect(o.selfLink, unittest.equals('foo')); | 9003 unittest.expect(o.selfLink, unittest.equals('foo')); |
8429 } | 9004 } |
8430 buildCounterTargetTcpProxyList--; | 9005 buildCounterTargetTcpProxyList--; |
8431 } | 9006 } |
8432 | 9007 |
8433 buildUnnamed2273() { | 9008 buildUnnamed2372() { |
8434 var o = new core.List<core.String>(); | 9009 var o = new core.List<core.String>(); |
8435 o.add("foo"); | 9010 o.add("foo"); |
8436 o.add("foo"); | 9011 o.add("foo"); |
8437 return o; | 9012 return o; |
8438 } | 9013 } |
8439 | 9014 |
8440 checkUnnamed2273(core.List<core.String> o) { | 9015 checkUnnamed2372(core.List<core.String> o) { |
8441 unittest.expect(o, unittest.hasLength(2)); | 9016 unittest.expect(o, unittest.hasLength(2)); |
8442 unittest.expect(o[0], unittest.equals('foo')); | 9017 unittest.expect(o[0], unittest.equals('foo')); |
8443 unittest.expect(o[1], unittest.equals('foo')); | 9018 unittest.expect(o[1], unittest.equals('foo')); |
8444 } | 9019 } |
8445 | 9020 |
8446 buildUnnamed2274() { | 9021 buildUnnamed2373() { |
8447 var o = new core.List<core.String>(); | 9022 var o = new core.List<core.String>(); |
8448 o.add("foo"); | 9023 o.add("foo"); |
8449 o.add("foo"); | 9024 o.add("foo"); |
8450 return o; | 9025 return o; |
8451 } | 9026 } |
8452 | 9027 |
8453 checkUnnamed2274(core.List<core.String> o) { | 9028 checkUnnamed2373(core.List<core.String> o) { |
8454 unittest.expect(o, unittest.hasLength(2)); | 9029 unittest.expect(o, unittest.hasLength(2)); |
8455 unittest.expect(o[0], unittest.equals('foo')); | 9030 unittest.expect(o[0], unittest.equals('foo')); |
8456 unittest.expect(o[1], unittest.equals('foo')); | 9031 unittest.expect(o[1], unittest.equals('foo')); |
8457 } | 9032 } |
8458 | 9033 |
8459 core.int buildCounterTargetVpnGateway = 0; | 9034 core.int buildCounterTargetVpnGateway = 0; |
8460 buildTargetVpnGateway() { | 9035 buildTargetVpnGateway() { |
8461 var o = new api.TargetVpnGateway(); | 9036 var o = new api.TargetVpnGateway(); |
8462 buildCounterTargetVpnGateway++; | 9037 buildCounterTargetVpnGateway++; |
8463 if (buildCounterTargetVpnGateway < 3) { | 9038 if (buildCounterTargetVpnGateway < 3) { |
8464 o.creationTimestamp = "foo"; | 9039 o.creationTimestamp = "foo"; |
8465 o.description = "foo"; | 9040 o.description = "foo"; |
8466 o.forwardingRules = buildUnnamed2273(); | 9041 o.forwardingRules = buildUnnamed2372(); |
8467 o.id = "foo"; | 9042 o.id = "foo"; |
8468 o.kind = "foo"; | 9043 o.kind = "foo"; |
8469 o.name = "foo"; | 9044 o.name = "foo"; |
8470 o.network = "foo"; | 9045 o.network = "foo"; |
8471 o.region = "foo"; | 9046 o.region = "foo"; |
8472 o.selfLink = "foo"; | 9047 o.selfLink = "foo"; |
8473 o.status = "foo"; | 9048 o.status = "foo"; |
8474 o.tunnels = buildUnnamed2274(); | 9049 o.tunnels = buildUnnamed2373(); |
8475 } | 9050 } |
8476 buildCounterTargetVpnGateway--; | 9051 buildCounterTargetVpnGateway--; |
8477 return o; | 9052 return o; |
8478 } | 9053 } |
8479 | 9054 |
8480 checkTargetVpnGateway(api.TargetVpnGateway o) { | 9055 checkTargetVpnGateway(api.TargetVpnGateway o) { |
8481 buildCounterTargetVpnGateway++; | 9056 buildCounterTargetVpnGateway++; |
8482 if (buildCounterTargetVpnGateway < 3) { | 9057 if (buildCounterTargetVpnGateway < 3) { |
8483 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 9058 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
8484 unittest.expect(o.description, unittest.equals('foo')); | 9059 unittest.expect(o.description, unittest.equals('foo')); |
8485 checkUnnamed2273(o.forwardingRules); | 9060 checkUnnamed2372(o.forwardingRules); |
8486 unittest.expect(o.id, unittest.equals('foo')); | 9061 unittest.expect(o.id, unittest.equals('foo')); |
8487 unittest.expect(o.kind, unittest.equals('foo')); | 9062 unittest.expect(o.kind, unittest.equals('foo')); |
8488 unittest.expect(o.name, unittest.equals('foo')); | 9063 unittest.expect(o.name, unittest.equals('foo')); |
8489 unittest.expect(o.network, unittest.equals('foo')); | 9064 unittest.expect(o.network, unittest.equals('foo')); |
8490 unittest.expect(o.region, unittest.equals('foo')); | 9065 unittest.expect(o.region, unittest.equals('foo')); |
8491 unittest.expect(o.selfLink, unittest.equals('foo')); | 9066 unittest.expect(o.selfLink, unittest.equals('foo')); |
8492 unittest.expect(o.status, unittest.equals('foo')); | 9067 unittest.expect(o.status, unittest.equals('foo')); |
8493 checkUnnamed2274(o.tunnels); | 9068 checkUnnamed2373(o.tunnels); |
8494 } | 9069 } |
8495 buildCounterTargetVpnGateway--; | 9070 buildCounterTargetVpnGateway--; |
8496 } | 9071 } |
8497 | 9072 |
8498 buildUnnamed2275() { | 9073 buildUnnamed2374() { |
8499 var o = new core.Map<core.String, api.TargetVpnGatewaysScopedList>(); | 9074 var o = new core.Map<core.String, api.TargetVpnGatewaysScopedList>(); |
8500 o["x"] = buildTargetVpnGatewaysScopedList(); | 9075 o["x"] = buildTargetVpnGatewaysScopedList(); |
8501 o["y"] = buildTargetVpnGatewaysScopedList(); | 9076 o["y"] = buildTargetVpnGatewaysScopedList(); |
8502 return o; | 9077 return o; |
8503 } | 9078 } |
8504 | 9079 |
8505 checkUnnamed2275(core.Map<core.String, api.TargetVpnGatewaysScopedList> o) { | 9080 checkUnnamed2374(core.Map<core.String, api.TargetVpnGatewaysScopedList> o) { |
8506 unittest.expect(o, unittest.hasLength(2)); | 9081 unittest.expect(o, unittest.hasLength(2)); |
8507 checkTargetVpnGatewaysScopedList(o["x"]); | 9082 checkTargetVpnGatewaysScopedList(o["x"]); |
8508 checkTargetVpnGatewaysScopedList(o["y"]); | 9083 checkTargetVpnGatewaysScopedList(o["y"]); |
8509 } | 9084 } |
8510 | 9085 |
8511 core.int buildCounterTargetVpnGatewayAggregatedList = 0; | 9086 core.int buildCounterTargetVpnGatewayAggregatedList = 0; |
8512 buildTargetVpnGatewayAggregatedList() { | 9087 buildTargetVpnGatewayAggregatedList() { |
8513 var o = new api.TargetVpnGatewayAggregatedList(); | 9088 var o = new api.TargetVpnGatewayAggregatedList(); |
8514 buildCounterTargetVpnGatewayAggregatedList++; | 9089 buildCounterTargetVpnGatewayAggregatedList++; |
8515 if (buildCounterTargetVpnGatewayAggregatedList < 3) { | 9090 if (buildCounterTargetVpnGatewayAggregatedList < 3) { |
8516 o.id = "foo"; | 9091 o.id = "foo"; |
8517 o.items = buildUnnamed2275(); | 9092 o.items = buildUnnamed2374(); |
8518 o.kind = "foo"; | 9093 o.kind = "foo"; |
8519 o.nextPageToken = "foo"; | 9094 o.nextPageToken = "foo"; |
8520 o.selfLink = "foo"; | 9095 o.selfLink = "foo"; |
8521 } | 9096 } |
8522 buildCounterTargetVpnGatewayAggregatedList--; | 9097 buildCounterTargetVpnGatewayAggregatedList--; |
8523 return o; | 9098 return o; |
8524 } | 9099 } |
8525 | 9100 |
8526 checkTargetVpnGatewayAggregatedList(api.TargetVpnGatewayAggregatedList o) { | 9101 checkTargetVpnGatewayAggregatedList(api.TargetVpnGatewayAggregatedList o) { |
8527 buildCounterTargetVpnGatewayAggregatedList++; | 9102 buildCounterTargetVpnGatewayAggregatedList++; |
8528 if (buildCounterTargetVpnGatewayAggregatedList < 3) { | 9103 if (buildCounterTargetVpnGatewayAggregatedList < 3) { |
8529 unittest.expect(o.id, unittest.equals('foo')); | 9104 unittest.expect(o.id, unittest.equals('foo')); |
8530 checkUnnamed2275(o.items); | 9105 checkUnnamed2374(o.items); |
8531 unittest.expect(o.kind, unittest.equals('foo')); | 9106 unittest.expect(o.kind, unittest.equals('foo')); |
8532 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 9107 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
8533 unittest.expect(o.selfLink, unittest.equals('foo')); | 9108 unittest.expect(o.selfLink, unittest.equals('foo')); |
8534 } | 9109 } |
8535 buildCounterTargetVpnGatewayAggregatedList--; | 9110 buildCounterTargetVpnGatewayAggregatedList--; |
8536 } | 9111 } |
8537 | 9112 |
8538 buildUnnamed2276() { | 9113 buildUnnamed2375() { |
8539 var o = new core.List<api.TargetVpnGateway>(); | 9114 var o = new core.List<api.TargetVpnGateway>(); |
8540 o.add(buildTargetVpnGateway()); | 9115 o.add(buildTargetVpnGateway()); |
8541 o.add(buildTargetVpnGateway()); | 9116 o.add(buildTargetVpnGateway()); |
8542 return o; | 9117 return o; |
8543 } | 9118 } |
8544 | 9119 |
8545 checkUnnamed2276(core.List<api.TargetVpnGateway> o) { | 9120 checkUnnamed2375(core.List<api.TargetVpnGateway> o) { |
8546 unittest.expect(o, unittest.hasLength(2)); | 9121 unittest.expect(o, unittest.hasLength(2)); |
8547 checkTargetVpnGateway(o[0]); | 9122 checkTargetVpnGateway(o[0]); |
8548 checkTargetVpnGateway(o[1]); | 9123 checkTargetVpnGateway(o[1]); |
8549 } | 9124 } |
8550 | 9125 |
8551 core.int buildCounterTargetVpnGatewayList = 0; | 9126 core.int buildCounterTargetVpnGatewayList = 0; |
8552 buildTargetVpnGatewayList() { | 9127 buildTargetVpnGatewayList() { |
8553 var o = new api.TargetVpnGatewayList(); | 9128 var o = new api.TargetVpnGatewayList(); |
8554 buildCounterTargetVpnGatewayList++; | 9129 buildCounterTargetVpnGatewayList++; |
8555 if (buildCounterTargetVpnGatewayList < 3) { | 9130 if (buildCounterTargetVpnGatewayList < 3) { |
8556 o.id = "foo"; | 9131 o.id = "foo"; |
8557 o.items = buildUnnamed2276(); | 9132 o.items = buildUnnamed2375(); |
8558 o.kind = "foo"; | 9133 o.kind = "foo"; |
8559 o.nextPageToken = "foo"; | 9134 o.nextPageToken = "foo"; |
8560 o.selfLink = "foo"; | 9135 o.selfLink = "foo"; |
8561 } | 9136 } |
8562 buildCounterTargetVpnGatewayList--; | 9137 buildCounterTargetVpnGatewayList--; |
8563 return o; | 9138 return o; |
8564 } | 9139 } |
8565 | 9140 |
8566 checkTargetVpnGatewayList(api.TargetVpnGatewayList o) { | 9141 checkTargetVpnGatewayList(api.TargetVpnGatewayList o) { |
8567 buildCounterTargetVpnGatewayList++; | 9142 buildCounterTargetVpnGatewayList++; |
8568 if (buildCounterTargetVpnGatewayList < 3) { | 9143 if (buildCounterTargetVpnGatewayList < 3) { |
8569 unittest.expect(o.id, unittest.equals('foo')); | 9144 unittest.expect(o.id, unittest.equals('foo')); |
8570 checkUnnamed2276(o.items); | 9145 checkUnnamed2375(o.items); |
8571 unittest.expect(o.kind, unittest.equals('foo')); | 9146 unittest.expect(o.kind, unittest.equals('foo')); |
8572 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 9147 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
8573 unittest.expect(o.selfLink, unittest.equals('foo')); | 9148 unittest.expect(o.selfLink, unittest.equals('foo')); |
8574 } | 9149 } |
8575 buildCounterTargetVpnGatewayList--; | 9150 buildCounterTargetVpnGatewayList--; |
8576 } | 9151 } |
8577 | 9152 |
8578 buildUnnamed2277() { | 9153 buildUnnamed2376() { |
8579 var o = new core.List<api.TargetVpnGateway>(); | 9154 var o = new core.List<api.TargetVpnGateway>(); |
8580 o.add(buildTargetVpnGateway()); | 9155 o.add(buildTargetVpnGateway()); |
8581 o.add(buildTargetVpnGateway()); | 9156 o.add(buildTargetVpnGateway()); |
8582 return o; | 9157 return o; |
8583 } | 9158 } |
8584 | 9159 |
8585 checkUnnamed2277(core.List<api.TargetVpnGateway> o) { | 9160 checkUnnamed2376(core.List<api.TargetVpnGateway> o) { |
8586 unittest.expect(o, unittest.hasLength(2)); | 9161 unittest.expect(o, unittest.hasLength(2)); |
8587 checkTargetVpnGateway(o[0]); | 9162 checkTargetVpnGateway(o[0]); |
8588 checkTargetVpnGateway(o[1]); | 9163 checkTargetVpnGateway(o[1]); |
8589 } | 9164 } |
8590 | 9165 |
8591 core.int buildCounterTargetVpnGatewaysScopedListWarningData = 0; | 9166 core.int buildCounterTargetVpnGatewaysScopedListWarningData = 0; |
8592 buildTargetVpnGatewaysScopedListWarningData() { | 9167 buildTargetVpnGatewaysScopedListWarningData() { |
8593 var o = new api.TargetVpnGatewaysScopedListWarningData(); | 9168 var o = new api.TargetVpnGatewaysScopedListWarningData(); |
8594 buildCounterTargetVpnGatewaysScopedListWarningData++; | 9169 buildCounterTargetVpnGatewaysScopedListWarningData++; |
8595 if (buildCounterTargetVpnGatewaysScopedListWarningData < 3) { | 9170 if (buildCounterTargetVpnGatewaysScopedListWarningData < 3) { |
8596 o.key = "foo"; | 9171 o.key = "foo"; |
8597 o.value = "foo"; | 9172 o.value = "foo"; |
8598 } | 9173 } |
8599 buildCounterTargetVpnGatewaysScopedListWarningData--; | 9174 buildCounterTargetVpnGatewaysScopedListWarningData--; |
8600 return o; | 9175 return o; |
8601 } | 9176 } |
8602 | 9177 |
8603 checkTargetVpnGatewaysScopedListWarningData(api.TargetVpnGatewaysScopedListWarni
ngData o) { | 9178 checkTargetVpnGatewaysScopedListWarningData(api.TargetVpnGatewaysScopedListWarni
ngData o) { |
8604 buildCounterTargetVpnGatewaysScopedListWarningData++; | 9179 buildCounterTargetVpnGatewaysScopedListWarningData++; |
8605 if (buildCounterTargetVpnGatewaysScopedListWarningData < 3) { | 9180 if (buildCounterTargetVpnGatewaysScopedListWarningData < 3) { |
8606 unittest.expect(o.key, unittest.equals('foo')); | 9181 unittest.expect(o.key, unittest.equals('foo')); |
8607 unittest.expect(o.value, unittest.equals('foo')); | 9182 unittest.expect(o.value, unittest.equals('foo')); |
8608 } | 9183 } |
8609 buildCounterTargetVpnGatewaysScopedListWarningData--; | 9184 buildCounterTargetVpnGatewaysScopedListWarningData--; |
8610 } | 9185 } |
8611 | 9186 |
8612 buildUnnamed2278() { | 9187 buildUnnamed2377() { |
8613 var o = new core.List<api.TargetVpnGatewaysScopedListWarningData>(); | 9188 var o = new core.List<api.TargetVpnGatewaysScopedListWarningData>(); |
8614 o.add(buildTargetVpnGatewaysScopedListWarningData()); | 9189 o.add(buildTargetVpnGatewaysScopedListWarningData()); |
8615 o.add(buildTargetVpnGatewaysScopedListWarningData()); | 9190 o.add(buildTargetVpnGatewaysScopedListWarningData()); |
8616 return o; | 9191 return o; |
8617 } | 9192 } |
8618 | 9193 |
8619 checkUnnamed2278(core.List<api.TargetVpnGatewaysScopedListWarningData> o) { | 9194 checkUnnamed2377(core.List<api.TargetVpnGatewaysScopedListWarningData> o) { |
8620 unittest.expect(o, unittest.hasLength(2)); | 9195 unittest.expect(o, unittest.hasLength(2)); |
8621 checkTargetVpnGatewaysScopedListWarningData(o[0]); | 9196 checkTargetVpnGatewaysScopedListWarningData(o[0]); |
8622 checkTargetVpnGatewaysScopedListWarningData(o[1]); | 9197 checkTargetVpnGatewaysScopedListWarningData(o[1]); |
8623 } | 9198 } |
8624 | 9199 |
8625 core.int buildCounterTargetVpnGatewaysScopedListWarning = 0; | 9200 core.int buildCounterTargetVpnGatewaysScopedListWarning = 0; |
8626 buildTargetVpnGatewaysScopedListWarning() { | 9201 buildTargetVpnGatewaysScopedListWarning() { |
8627 var o = new api.TargetVpnGatewaysScopedListWarning(); | 9202 var o = new api.TargetVpnGatewaysScopedListWarning(); |
8628 buildCounterTargetVpnGatewaysScopedListWarning++; | 9203 buildCounterTargetVpnGatewaysScopedListWarning++; |
8629 if (buildCounterTargetVpnGatewaysScopedListWarning < 3) { | 9204 if (buildCounterTargetVpnGatewaysScopedListWarning < 3) { |
8630 o.code = "foo"; | 9205 o.code = "foo"; |
8631 o.data = buildUnnamed2278(); | 9206 o.data = buildUnnamed2377(); |
8632 o.message = "foo"; | 9207 o.message = "foo"; |
8633 } | 9208 } |
8634 buildCounterTargetVpnGatewaysScopedListWarning--; | 9209 buildCounterTargetVpnGatewaysScopedListWarning--; |
8635 return o; | 9210 return o; |
8636 } | 9211 } |
8637 | 9212 |
8638 checkTargetVpnGatewaysScopedListWarning(api.TargetVpnGatewaysScopedListWarning o
) { | 9213 checkTargetVpnGatewaysScopedListWarning(api.TargetVpnGatewaysScopedListWarning o
) { |
8639 buildCounterTargetVpnGatewaysScopedListWarning++; | 9214 buildCounterTargetVpnGatewaysScopedListWarning++; |
8640 if (buildCounterTargetVpnGatewaysScopedListWarning < 3) { | 9215 if (buildCounterTargetVpnGatewaysScopedListWarning < 3) { |
8641 unittest.expect(o.code, unittest.equals('foo')); | 9216 unittest.expect(o.code, unittest.equals('foo')); |
8642 checkUnnamed2278(o.data); | 9217 checkUnnamed2377(o.data); |
8643 unittest.expect(o.message, unittest.equals('foo')); | 9218 unittest.expect(o.message, unittest.equals('foo')); |
8644 } | 9219 } |
8645 buildCounterTargetVpnGatewaysScopedListWarning--; | 9220 buildCounterTargetVpnGatewaysScopedListWarning--; |
8646 } | 9221 } |
8647 | 9222 |
8648 core.int buildCounterTargetVpnGatewaysScopedList = 0; | 9223 core.int buildCounterTargetVpnGatewaysScopedList = 0; |
8649 buildTargetVpnGatewaysScopedList() { | 9224 buildTargetVpnGatewaysScopedList() { |
8650 var o = new api.TargetVpnGatewaysScopedList(); | 9225 var o = new api.TargetVpnGatewaysScopedList(); |
8651 buildCounterTargetVpnGatewaysScopedList++; | 9226 buildCounterTargetVpnGatewaysScopedList++; |
8652 if (buildCounterTargetVpnGatewaysScopedList < 3) { | 9227 if (buildCounterTargetVpnGatewaysScopedList < 3) { |
8653 o.targetVpnGateways = buildUnnamed2277(); | 9228 o.targetVpnGateways = buildUnnamed2376(); |
8654 o.warning = buildTargetVpnGatewaysScopedListWarning(); | 9229 o.warning = buildTargetVpnGatewaysScopedListWarning(); |
8655 } | 9230 } |
8656 buildCounterTargetVpnGatewaysScopedList--; | 9231 buildCounterTargetVpnGatewaysScopedList--; |
8657 return o; | 9232 return o; |
8658 } | 9233 } |
8659 | 9234 |
8660 checkTargetVpnGatewaysScopedList(api.TargetVpnGatewaysScopedList o) { | 9235 checkTargetVpnGatewaysScopedList(api.TargetVpnGatewaysScopedList o) { |
8661 buildCounterTargetVpnGatewaysScopedList++; | 9236 buildCounterTargetVpnGatewaysScopedList++; |
8662 if (buildCounterTargetVpnGatewaysScopedList < 3) { | 9237 if (buildCounterTargetVpnGatewaysScopedList < 3) { |
8663 checkUnnamed2277(o.targetVpnGateways); | 9238 checkUnnamed2376(o.targetVpnGateways); |
8664 checkTargetVpnGatewaysScopedListWarning(o.warning); | 9239 checkTargetVpnGatewaysScopedListWarning(o.warning); |
8665 } | 9240 } |
8666 buildCounterTargetVpnGatewaysScopedList--; | 9241 buildCounterTargetVpnGatewaysScopedList--; |
8667 } | 9242 } |
8668 | 9243 |
8669 core.int buildCounterTestFailure = 0; | 9244 core.int buildCounterTestFailure = 0; |
8670 buildTestFailure() { | 9245 buildTestFailure() { |
8671 var o = new api.TestFailure(); | 9246 var o = new api.TestFailure(); |
8672 buildCounterTestFailure++; | 9247 buildCounterTestFailure++; |
8673 if (buildCounterTestFailure < 3) { | 9248 if (buildCounterTestFailure < 3) { |
(...skipping 10 matching lines...) Expand all Loading... |
8684 buildCounterTestFailure++; | 9259 buildCounterTestFailure++; |
8685 if (buildCounterTestFailure < 3) { | 9260 if (buildCounterTestFailure < 3) { |
8686 unittest.expect(o.actualService, unittest.equals('foo')); | 9261 unittest.expect(o.actualService, unittest.equals('foo')); |
8687 unittest.expect(o.expectedService, unittest.equals('foo')); | 9262 unittest.expect(o.expectedService, unittest.equals('foo')); |
8688 unittest.expect(o.host, unittest.equals('foo')); | 9263 unittest.expect(o.host, unittest.equals('foo')); |
8689 unittest.expect(o.path, unittest.equals('foo')); | 9264 unittest.expect(o.path, unittest.equals('foo')); |
8690 } | 9265 } |
8691 buildCounterTestFailure--; | 9266 buildCounterTestFailure--; |
8692 } | 9267 } |
8693 | 9268 |
8694 buildUnnamed2279() { | 9269 buildUnnamed2378() { |
8695 var o = new core.List<api.HostRule>(); | 9270 var o = new core.List<api.HostRule>(); |
8696 o.add(buildHostRule()); | 9271 o.add(buildHostRule()); |
8697 o.add(buildHostRule()); | 9272 o.add(buildHostRule()); |
8698 return o; | 9273 return o; |
8699 } | 9274 } |
8700 | 9275 |
8701 checkUnnamed2279(core.List<api.HostRule> o) { | 9276 checkUnnamed2378(core.List<api.HostRule> o) { |
8702 unittest.expect(o, unittest.hasLength(2)); | 9277 unittest.expect(o, unittest.hasLength(2)); |
8703 checkHostRule(o[0]); | 9278 checkHostRule(o[0]); |
8704 checkHostRule(o[1]); | 9279 checkHostRule(o[1]); |
8705 } | 9280 } |
8706 | 9281 |
8707 buildUnnamed2280() { | 9282 buildUnnamed2379() { |
8708 var o = new core.List<api.PathMatcher>(); | 9283 var o = new core.List<api.PathMatcher>(); |
8709 o.add(buildPathMatcher()); | 9284 o.add(buildPathMatcher()); |
8710 o.add(buildPathMatcher()); | 9285 o.add(buildPathMatcher()); |
8711 return o; | 9286 return o; |
8712 } | 9287 } |
8713 | 9288 |
8714 checkUnnamed2280(core.List<api.PathMatcher> o) { | 9289 checkUnnamed2379(core.List<api.PathMatcher> o) { |
8715 unittest.expect(o, unittest.hasLength(2)); | 9290 unittest.expect(o, unittest.hasLength(2)); |
8716 checkPathMatcher(o[0]); | 9291 checkPathMatcher(o[0]); |
8717 checkPathMatcher(o[1]); | 9292 checkPathMatcher(o[1]); |
8718 } | 9293 } |
8719 | 9294 |
8720 buildUnnamed2281() { | 9295 buildUnnamed2380() { |
8721 var o = new core.List<api.UrlMapTest>(); | 9296 var o = new core.List<api.UrlMapTest>(); |
8722 o.add(buildUrlMapTest()); | 9297 o.add(buildUrlMapTest()); |
8723 o.add(buildUrlMapTest()); | 9298 o.add(buildUrlMapTest()); |
8724 return o; | 9299 return o; |
8725 } | 9300 } |
8726 | 9301 |
8727 checkUnnamed2281(core.List<api.UrlMapTest> o) { | 9302 checkUnnamed2380(core.List<api.UrlMapTest> o) { |
8728 unittest.expect(o, unittest.hasLength(2)); | 9303 unittest.expect(o, unittest.hasLength(2)); |
8729 checkUrlMapTest(o[0]); | 9304 checkUrlMapTest(o[0]); |
8730 checkUrlMapTest(o[1]); | 9305 checkUrlMapTest(o[1]); |
8731 } | 9306 } |
8732 | 9307 |
8733 core.int buildCounterUrlMap = 0; | 9308 core.int buildCounterUrlMap = 0; |
8734 buildUrlMap() { | 9309 buildUrlMap() { |
8735 var o = new api.UrlMap(); | 9310 var o = new api.UrlMap(); |
8736 buildCounterUrlMap++; | 9311 buildCounterUrlMap++; |
8737 if (buildCounterUrlMap < 3) { | 9312 if (buildCounterUrlMap < 3) { |
8738 o.creationTimestamp = "foo"; | 9313 o.creationTimestamp = "foo"; |
8739 o.defaultService = "foo"; | 9314 o.defaultService = "foo"; |
8740 o.description = "foo"; | 9315 o.description = "foo"; |
8741 o.fingerprint = "foo"; | 9316 o.fingerprint = "foo"; |
8742 o.hostRules = buildUnnamed2279(); | 9317 o.hostRules = buildUnnamed2378(); |
8743 o.id = "foo"; | 9318 o.id = "foo"; |
8744 o.kind = "foo"; | 9319 o.kind = "foo"; |
8745 o.name = "foo"; | 9320 o.name = "foo"; |
8746 o.pathMatchers = buildUnnamed2280(); | 9321 o.pathMatchers = buildUnnamed2379(); |
8747 o.selfLink = "foo"; | 9322 o.selfLink = "foo"; |
8748 o.tests = buildUnnamed2281(); | 9323 o.tests = buildUnnamed2380(); |
8749 } | 9324 } |
8750 buildCounterUrlMap--; | 9325 buildCounterUrlMap--; |
8751 return o; | 9326 return o; |
8752 } | 9327 } |
8753 | 9328 |
8754 checkUrlMap(api.UrlMap o) { | 9329 checkUrlMap(api.UrlMap o) { |
8755 buildCounterUrlMap++; | 9330 buildCounterUrlMap++; |
8756 if (buildCounterUrlMap < 3) { | 9331 if (buildCounterUrlMap < 3) { |
8757 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 9332 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
8758 unittest.expect(o.defaultService, unittest.equals('foo')); | 9333 unittest.expect(o.defaultService, unittest.equals('foo')); |
8759 unittest.expect(o.description, unittest.equals('foo')); | 9334 unittest.expect(o.description, unittest.equals('foo')); |
8760 unittest.expect(o.fingerprint, unittest.equals('foo')); | 9335 unittest.expect(o.fingerprint, unittest.equals('foo')); |
8761 checkUnnamed2279(o.hostRules); | 9336 checkUnnamed2378(o.hostRules); |
8762 unittest.expect(o.id, unittest.equals('foo')); | 9337 unittest.expect(o.id, unittest.equals('foo')); |
8763 unittest.expect(o.kind, unittest.equals('foo')); | 9338 unittest.expect(o.kind, unittest.equals('foo')); |
8764 unittest.expect(o.name, unittest.equals('foo')); | 9339 unittest.expect(o.name, unittest.equals('foo')); |
8765 checkUnnamed2280(o.pathMatchers); | 9340 checkUnnamed2379(o.pathMatchers); |
8766 unittest.expect(o.selfLink, unittest.equals('foo')); | 9341 unittest.expect(o.selfLink, unittest.equals('foo')); |
8767 checkUnnamed2281(o.tests); | 9342 checkUnnamed2380(o.tests); |
8768 } | 9343 } |
8769 buildCounterUrlMap--; | 9344 buildCounterUrlMap--; |
8770 } | 9345 } |
8771 | 9346 |
8772 buildUnnamed2282() { | 9347 buildUnnamed2381() { |
8773 var o = new core.List<api.UrlMap>(); | 9348 var o = new core.List<api.UrlMap>(); |
8774 o.add(buildUrlMap()); | 9349 o.add(buildUrlMap()); |
8775 o.add(buildUrlMap()); | 9350 o.add(buildUrlMap()); |
8776 return o; | 9351 return o; |
8777 } | 9352 } |
8778 | 9353 |
8779 checkUnnamed2282(core.List<api.UrlMap> o) { | 9354 checkUnnamed2381(core.List<api.UrlMap> o) { |
8780 unittest.expect(o, unittest.hasLength(2)); | 9355 unittest.expect(o, unittest.hasLength(2)); |
8781 checkUrlMap(o[0]); | 9356 checkUrlMap(o[0]); |
8782 checkUrlMap(o[1]); | 9357 checkUrlMap(o[1]); |
8783 } | 9358 } |
8784 | 9359 |
8785 core.int buildCounterUrlMapList = 0; | 9360 core.int buildCounterUrlMapList = 0; |
8786 buildUrlMapList() { | 9361 buildUrlMapList() { |
8787 var o = new api.UrlMapList(); | 9362 var o = new api.UrlMapList(); |
8788 buildCounterUrlMapList++; | 9363 buildCounterUrlMapList++; |
8789 if (buildCounterUrlMapList < 3) { | 9364 if (buildCounterUrlMapList < 3) { |
8790 o.id = "foo"; | 9365 o.id = "foo"; |
8791 o.items = buildUnnamed2282(); | 9366 o.items = buildUnnamed2381(); |
8792 o.kind = "foo"; | 9367 o.kind = "foo"; |
8793 o.nextPageToken = "foo"; | 9368 o.nextPageToken = "foo"; |
8794 o.selfLink = "foo"; | 9369 o.selfLink = "foo"; |
8795 } | 9370 } |
8796 buildCounterUrlMapList--; | 9371 buildCounterUrlMapList--; |
8797 return o; | 9372 return o; |
8798 } | 9373 } |
8799 | 9374 |
8800 checkUrlMapList(api.UrlMapList o) { | 9375 checkUrlMapList(api.UrlMapList o) { |
8801 buildCounterUrlMapList++; | 9376 buildCounterUrlMapList++; |
8802 if (buildCounterUrlMapList < 3) { | 9377 if (buildCounterUrlMapList < 3) { |
8803 unittest.expect(o.id, unittest.equals('foo')); | 9378 unittest.expect(o.id, unittest.equals('foo')); |
8804 checkUnnamed2282(o.items); | 9379 checkUnnamed2381(o.items); |
8805 unittest.expect(o.kind, unittest.equals('foo')); | 9380 unittest.expect(o.kind, unittest.equals('foo')); |
8806 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 9381 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
8807 unittest.expect(o.selfLink, unittest.equals('foo')); | 9382 unittest.expect(o.selfLink, unittest.equals('foo')); |
8808 } | 9383 } |
8809 buildCounterUrlMapList--; | 9384 buildCounterUrlMapList--; |
8810 } | 9385 } |
8811 | 9386 |
8812 core.int buildCounterUrlMapReference = 0; | 9387 core.int buildCounterUrlMapReference = 0; |
8813 buildUrlMapReference() { | 9388 buildUrlMapReference() { |
8814 var o = new api.UrlMapReference(); | 9389 var o = new api.UrlMapReference(); |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8846 buildCounterUrlMapTest++; | 9421 buildCounterUrlMapTest++; |
8847 if (buildCounterUrlMapTest < 3) { | 9422 if (buildCounterUrlMapTest < 3) { |
8848 unittest.expect(o.description, unittest.equals('foo')); | 9423 unittest.expect(o.description, unittest.equals('foo')); |
8849 unittest.expect(o.host, unittest.equals('foo')); | 9424 unittest.expect(o.host, unittest.equals('foo')); |
8850 unittest.expect(o.path, unittest.equals('foo')); | 9425 unittest.expect(o.path, unittest.equals('foo')); |
8851 unittest.expect(o.service, unittest.equals('foo')); | 9426 unittest.expect(o.service, unittest.equals('foo')); |
8852 } | 9427 } |
8853 buildCounterUrlMapTest--; | 9428 buildCounterUrlMapTest--; |
8854 } | 9429 } |
8855 | 9430 |
8856 buildUnnamed2283() { | 9431 buildUnnamed2382() { |
8857 var o = new core.List<core.String>(); | 9432 var o = new core.List<core.String>(); |
8858 o.add("foo"); | 9433 o.add("foo"); |
8859 o.add("foo"); | 9434 o.add("foo"); |
8860 return o; | 9435 return o; |
8861 } | 9436 } |
8862 | 9437 |
8863 checkUnnamed2283(core.List<core.String> o) { | 9438 checkUnnamed2382(core.List<core.String> o) { |
8864 unittest.expect(o, unittest.hasLength(2)); | 9439 unittest.expect(o, unittest.hasLength(2)); |
8865 unittest.expect(o[0], unittest.equals('foo')); | 9440 unittest.expect(o[0], unittest.equals('foo')); |
8866 unittest.expect(o[1], unittest.equals('foo')); | 9441 unittest.expect(o[1], unittest.equals('foo')); |
8867 } | 9442 } |
8868 | 9443 |
8869 buildUnnamed2284() { | 9444 buildUnnamed2383() { |
8870 var o = new core.List<api.TestFailure>(); | 9445 var o = new core.List<api.TestFailure>(); |
8871 o.add(buildTestFailure()); | 9446 o.add(buildTestFailure()); |
8872 o.add(buildTestFailure()); | 9447 o.add(buildTestFailure()); |
8873 return o; | 9448 return o; |
8874 } | 9449 } |
8875 | 9450 |
8876 checkUnnamed2284(core.List<api.TestFailure> o) { | 9451 checkUnnamed2383(core.List<api.TestFailure> o) { |
8877 unittest.expect(o, unittest.hasLength(2)); | 9452 unittest.expect(o, unittest.hasLength(2)); |
8878 checkTestFailure(o[0]); | 9453 checkTestFailure(o[0]); |
8879 checkTestFailure(o[1]); | 9454 checkTestFailure(o[1]); |
8880 } | 9455 } |
8881 | 9456 |
8882 core.int buildCounterUrlMapValidationResult = 0; | 9457 core.int buildCounterUrlMapValidationResult = 0; |
8883 buildUrlMapValidationResult() { | 9458 buildUrlMapValidationResult() { |
8884 var o = new api.UrlMapValidationResult(); | 9459 var o = new api.UrlMapValidationResult(); |
8885 buildCounterUrlMapValidationResult++; | 9460 buildCounterUrlMapValidationResult++; |
8886 if (buildCounterUrlMapValidationResult < 3) { | 9461 if (buildCounterUrlMapValidationResult < 3) { |
8887 o.loadErrors = buildUnnamed2283(); | 9462 o.loadErrors = buildUnnamed2382(); |
8888 o.loadSucceeded = true; | 9463 o.loadSucceeded = true; |
8889 o.testFailures = buildUnnamed2284(); | 9464 o.testFailures = buildUnnamed2383(); |
8890 o.testPassed = true; | 9465 o.testPassed = true; |
8891 } | 9466 } |
8892 buildCounterUrlMapValidationResult--; | 9467 buildCounterUrlMapValidationResult--; |
8893 return o; | 9468 return o; |
8894 } | 9469 } |
8895 | 9470 |
8896 checkUrlMapValidationResult(api.UrlMapValidationResult o) { | 9471 checkUrlMapValidationResult(api.UrlMapValidationResult o) { |
8897 buildCounterUrlMapValidationResult++; | 9472 buildCounterUrlMapValidationResult++; |
8898 if (buildCounterUrlMapValidationResult < 3) { | 9473 if (buildCounterUrlMapValidationResult < 3) { |
8899 checkUnnamed2283(o.loadErrors); | 9474 checkUnnamed2382(o.loadErrors); |
8900 unittest.expect(o.loadSucceeded, unittest.isTrue); | 9475 unittest.expect(o.loadSucceeded, unittest.isTrue); |
8901 checkUnnamed2284(o.testFailures); | 9476 checkUnnamed2383(o.testFailures); |
8902 unittest.expect(o.testPassed, unittest.isTrue); | 9477 unittest.expect(o.testPassed, unittest.isTrue); |
8903 } | 9478 } |
8904 buildCounterUrlMapValidationResult--; | 9479 buildCounterUrlMapValidationResult--; |
8905 } | 9480 } |
8906 | 9481 |
8907 core.int buildCounterUrlMapsValidateRequest = 0; | 9482 core.int buildCounterUrlMapsValidateRequest = 0; |
8908 buildUrlMapsValidateRequest() { | 9483 buildUrlMapsValidateRequest() { |
8909 var o = new api.UrlMapsValidateRequest(); | 9484 var o = new api.UrlMapsValidateRequest(); |
8910 buildCounterUrlMapsValidateRequest++; | 9485 buildCounterUrlMapsValidateRequest++; |
8911 if (buildCounterUrlMapsValidateRequest < 3) { | 9486 if (buildCounterUrlMapsValidateRequest < 3) { |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8956 | 9531 |
8957 checkUsageExportLocation(api.UsageExportLocation o) { | 9532 checkUsageExportLocation(api.UsageExportLocation o) { |
8958 buildCounterUsageExportLocation++; | 9533 buildCounterUsageExportLocation++; |
8959 if (buildCounterUsageExportLocation < 3) { | 9534 if (buildCounterUsageExportLocation < 3) { |
8960 unittest.expect(o.bucketName, unittest.equals('foo')); | 9535 unittest.expect(o.bucketName, unittest.equals('foo')); |
8961 unittest.expect(o.reportNamePrefix, unittest.equals('foo')); | 9536 unittest.expect(o.reportNamePrefix, unittest.equals('foo')); |
8962 } | 9537 } |
8963 buildCounterUsageExportLocation--; | 9538 buildCounterUsageExportLocation--; |
8964 } | 9539 } |
8965 | 9540 |
8966 buildUnnamed2285() { | 9541 buildUnnamed2384() { |
8967 var o = new core.List<core.String>(); | 9542 var o = new core.List<core.String>(); |
8968 o.add("foo"); | 9543 o.add("foo"); |
8969 o.add("foo"); | 9544 o.add("foo"); |
8970 return o; | 9545 return o; |
8971 } | 9546 } |
8972 | 9547 |
8973 checkUnnamed2285(core.List<core.String> o) { | 9548 checkUnnamed2384(core.List<core.String> o) { |
8974 unittest.expect(o, unittest.hasLength(2)); | 9549 unittest.expect(o, unittest.hasLength(2)); |
8975 unittest.expect(o[0], unittest.equals('foo')); | 9550 unittest.expect(o[0], unittest.equals('foo')); |
8976 unittest.expect(o[1], unittest.equals('foo')); | 9551 unittest.expect(o[1], unittest.equals('foo')); |
8977 } | 9552 } |
8978 | 9553 |
8979 buildUnnamed2286() { | 9554 buildUnnamed2385() { |
8980 var o = new core.List<core.String>(); | 9555 var o = new core.List<core.String>(); |
8981 o.add("foo"); | 9556 o.add("foo"); |
8982 o.add("foo"); | 9557 o.add("foo"); |
8983 return o; | 9558 return o; |
8984 } | 9559 } |
8985 | 9560 |
8986 checkUnnamed2286(core.List<core.String> o) { | 9561 checkUnnamed2385(core.List<core.String> o) { |
8987 unittest.expect(o, unittest.hasLength(2)); | 9562 unittest.expect(o, unittest.hasLength(2)); |
8988 unittest.expect(o[0], unittest.equals('foo')); | 9563 unittest.expect(o[0], unittest.equals('foo')); |
8989 unittest.expect(o[1], unittest.equals('foo')); | 9564 unittest.expect(o[1], unittest.equals('foo')); |
8990 } | 9565 } |
8991 | 9566 |
8992 core.int buildCounterVpnTunnel = 0; | 9567 core.int buildCounterVpnTunnel = 0; |
8993 buildVpnTunnel() { | 9568 buildVpnTunnel() { |
8994 var o = new api.VpnTunnel(); | 9569 var o = new api.VpnTunnel(); |
8995 buildCounterVpnTunnel++; | 9570 buildCounterVpnTunnel++; |
8996 if (buildCounterVpnTunnel < 3) { | 9571 if (buildCounterVpnTunnel < 3) { |
8997 o.creationTimestamp = "foo"; | 9572 o.creationTimestamp = "foo"; |
8998 o.description = "foo"; | 9573 o.description = "foo"; |
8999 o.detailedStatus = "foo"; | 9574 o.detailedStatus = "foo"; |
9000 o.id = "foo"; | 9575 o.id = "foo"; |
9001 o.ikeVersion = 42; | 9576 o.ikeVersion = 42; |
9002 o.kind = "foo"; | 9577 o.kind = "foo"; |
9003 o.localTrafficSelector = buildUnnamed2285(); | 9578 o.localTrafficSelector = buildUnnamed2384(); |
9004 o.name = "foo"; | 9579 o.name = "foo"; |
9005 o.peerIp = "foo"; | 9580 o.peerIp = "foo"; |
9006 o.region = "foo"; | 9581 o.region = "foo"; |
9007 o.remoteTrafficSelector = buildUnnamed2286(); | 9582 o.remoteTrafficSelector = buildUnnamed2385(); |
9008 o.router = "foo"; | 9583 o.router = "foo"; |
9009 o.selfLink = "foo"; | 9584 o.selfLink = "foo"; |
9010 o.sharedSecret = "foo"; | 9585 o.sharedSecret = "foo"; |
9011 o.sharedSecretHash = "foo"; | 9586 o.sharedSecretHash = "foo"; |
9012 o.status = "foo"; | 9587 o.status = "foo"; |
9013 o.targetVpnGateway = "foo"; | 9588 o.targetVpnGateway = "foo"; |
9014 } | 9589 } |
9015 buildCounterVpnTunnel--; | 9590 buildCounterVpnTunnel--; |
9016 return o; | 9591 return o; |
9017 } | 9592 } |
9018 | 9593 |
9019 checkVpnTunnel(api.VpnTunnel o) { | 9594 checkVpnTunnel(api.VpnTunnel o) { |
9020 buildCounterVpnTunnel++; | 9595 buildCounterVpnTunnel++; |
9021 if (buildCounterVpnTunnel < 3) { | 9596 if (buildCounterVpnTunnel < 3) { |
9022 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 9597 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
9023 unittest.expect(o.description, unittest.equals('foo')); | 9598 unittest.expect(o.description, unittest.equals('foo')); |
9024 unittest.expect(o.detailedStatus, unittest.equals('foo')); | 9599 unittest.expect(o.detailedStatus, unittest.equals('foo')); |
9025 unittest.expect(o.id, unittest.equals('foo')); | 9600 unittest.expect(o.id, unittest.equals('foo')); |
9026 unittest.expect(o.ikeVersion, unittest.equals(42)); | 9601 unittest.expect(o.ikeVersion, unittest.equals(42)); |
9027 unittest.expect(o.kind, unittest.equals('foo')); | 9602 unittest.expect(o.kind, unittest.equals('foo')); |
9028 checkUnnamed2285(o.localTrafficSelector); | 9603 checkUnnamed2384(o.localTrafficSelector); |
9029 unittest.expect(o.name, unittest.equals('foo')); | 9604 unittest.expect(o.name, unittest.equals('foo')); |
9030 unittest.expect(o.peerIp, unittest.equals('foo')); | 9605 unittest.expect(o.peerIp, unittest.equals('foo')); |
9031 unittest.expect(o.region, unittest.equals('foo')); | 9606 unittest.expect(o.region, unittest.equals('foo')); |
9032 checkUnnamed2286(o.remoteTrafficSelector); | 9607 checkUnnamed2385(o.remoteTrafficSelector); |
9033 unittest.expect(o.router, unittest.equals('foo')); | 9608 unittest.expect(o.router, unittest.equals('foo')); |
9034 unittest.expect(o.selfLink, unittest.equals('foo')); | 9609 unittest.expect(o.selfLink, unittest.equals('foo')); |
9035 unittest.expect(o.sharedSecret, unittest.equals('foo')); | 9610 unittest.expect(o.sharedSecret, unittest.equals('foo')); |
9036 unittest.expect(o.sharedSecretHash, unittest.equals('foo')); | 9611 unittest.expect(o.sharedSecretHash, unittest.equals('foo')); |
9037 unittest.expect(o.status, unittest.equals('foo')); | 9612 unittest.expect(o.status, unittest.equals('foo')); |
9038 unittest.expect(o.targetVpnGateway, unittest.equals('foo')); | 9613 unittest.expect(o.targetVpnGateway, unittest.equals('foo')); |
9039 } | 9614 } |
9040 buildCounterVpnTunnel--; | 9615 buildCounterVpnTunnel--; |
9041 } | 9616 } |
9042 | 9617 |
9043 buildUnnamed2287() { | 9618 buildUnnamed2386() { |
9044 var o = new core.Map<core.String, api.VpnTunnelsScopedList>(); | 9619 var o = new core.Map<core.String, api.VpnTunnelsScopedList>(); |
9045 o["x"] = buildVpnTunnelsScopedList(); | 9620 o["x"] = buildVpnTunnelsScopedList(); |
9046 o["y"] = buildVpnTunnelsScopedList(); | 9621 o["y"] = buildVpnTunnelsScopedList(); |
9047 return o; | 9622 return o; |
9048 } | 9623 } |
9049 | 9624 |
9050 checkUnnamed2287(core.Map<core.String, api.VpnTunnelsScopedList> o) { | 9625 checkUnnamed2386(core.Map<core.String, api.VpnTunnelsScopedList> o) { |
9051 unittest.expect(o, unittest.hasLength(2)); | 9626 unittest.expect(o, unittest.hasLength(2)); |
9052 checkVpnTunnelsScopedList(o["x"]); | 9627 checkVpnTunnelsScopedList(o["x"]); |
9053 checkVpnTunnelsScopedList(o["y"]); | 9628 checkVpnTunnelsScopedList(o["y"]); |
9054 } | 9629 } |
9055 | 9630 |
9056 core.int buildCounterVpnTunnelAggregatedList = 0; | 9631 core.int buildCounterVpnTunnelAggregatedList = 0; |
9057 buildVpnTunnelAggregatedList() { | 9632 buildVpnTunnelAggregatedList() { |
9058 var o = new api.VpnTunnelAggregatedList(); | 9633 var o = new api.VpnTunnelAggregatedList(); |
9059 buildCounterVpnTunnelAggregatedList++; | 9634 buildCounterVpnTunnelAggregatedList++; |
9060 if (buildCounterVpnTunnelAggregatedList < 3) { | 9635 if (buildCounterVpnTunnelAggregatedList < 3) { |
9061 o.id = "foo"; | 9636 o.id = "foo"; |
9062 o.items = buildUnnamed2287(); | 9637 o.items = buildUnnamed2386(); |
9063 o.kind = "foo"; | 9638 o.kind = "foo"; |
9064 o.nextPageToken = "foo"; | 9639 o.nextPageToken = "foo"; |
9065 o.selfLink = "foo"; | 9640 o.selfLink = "foo"; |
9066 } | 9641 } |
9067 buildCounterVpnTunnelAggregatedList--; | 9642 buildCounterVpnTunnelAggregatedList--; |
9068 return o; | 9643 return o; |
9069 } | 9644 } |
9070 | 9645 |
9071 checkVpnTunnelAggregatedList(api.VpnTunnelAggregatedList o) { | 9646 checkVpnTunnelAggregatedList(api.VpnTunnelAggregatedList o) { |
9072 buildCounterVpnTunnelAggregatedList++; | 9647 buildCounterVpnTunnelAggregatedList++; |
9073 if (buildCounterVpnTunnelAggregatedList < 3) { | 9648 if (buildCounterVpnTunnelAggregatedList < 3) { |
9074 unittest.expect(o.id, unittest.equals('foo')); | 9649 unittest.expect(o.id, unittest.equals('foo')); |
9075 checkUnnamed2287(o.items); | 9650 checkUnnamed2386(o.items); |
9076 unittest.expect(o.kind, unittest.equals('foo')); | 9651 unittest.expect(o.kind, unittest.equals('foo')); |
9077 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 9652 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
9078 unittest.expect(o.selfLink, unittest.equals('foo')); | 9653 unittest.expect(o.selfLink, unittest.equals('foo')); |
9079 } | 9654 } |
9080 buildCounterVpnTunnelAggregatedList--; | 9655 buildCounterVpnTunnelAggregatedList--; |
9081 } | 9656 } |
9082 | 9657 |
9083 buildUnnamed2288() { | 9658 buildUnnamed2387() { |
9084 var o = new core.List<api.VpnTunnel>(); | 9659 var o = new core.List<api.VpnTunnel>(); |
9085 o.add(buildVpnTunnel()); | 9660 o.add(buildVpnTunnel()); |
9086 o.add(buildVpnTunnel()); | 9661 o.add(buildVpnTunnel()); |
9087 return o; | 9662 return o; |
9088 } | 9663 } |
9089 | 9664 |
9090 checkUnnamed2288(core.List<api.VpnTunnel> o) { | 9665 checkUnnamed2387(core.List<api.VpnTunnel> o) { |
9091 unittest.expect(o, unittest.hasLength(2)); | 9666 unittest.expect(o, unittest.hasLength(2)); |
9092 checkVpnTunnel(o[0]); | 9667 checkVpnTunnel(o[0]); |
9093 checkVpnTunnel(o[1]); | 9668 checkVpnTunnel(o[1]); |
9094 } | 9669 } |
9095 | 9670 |
9096 core.int buildCounterVpnTunnelList = 0; | 9671 core.int buildCounterVpnTunnelList = 0; |
9097 buildVpnTunnelList() { | 9672 buildVpnTunnelList() { |
9098 var o = new api.VpnTunnelList(); | 9673 var o = new api.VpnTunnelList(); |
9099 buildCounterVpnTunnelList++; | 9674 buildCounterVpnTunnelList++; |
9100 if (buildCounterVpnTunnelList < 3) { | 9675 if (buildCounterVpnTunnelList < 3) { |
9101 o.id = "foo"; | 9676 o.id = "foo"; |
9102 o.items = buildUnnamed2288(); | 9677 o.items = buildUnnamed2387(); |
9103 o.kind = "foo"; | 9678 o.kind = "foo"; |
9104 o.nextPageToken = "foo"; | 9679 o.nextPageToken = "foo"; |
9105 o.selfLink = "foo"; | 9680 o.selfLink = "foo"; |
9106 } | 9681 } |
9107 buildCounterVpnTunnelList--; | 9682 buildCounterVpnTunnelList--; |
9108 return o; | 9683 return o; |
9109 } | 9684 } |
9110 | 9685 |
9111 checkVpnTunnelList(api.VpnTunnelList o) { | 9686 checkVpnTunnelList(api.VpnTunnelList o) { |
9112 buildCounterVpnTunnelList++; | 9687 buildCounterVpnTunnelList++; |
9113 if (buildCounterVpnTunnelList < 3) { | 9688 if (buildCounterVpnTunnelList < 3) { |
9114 unittest.expect(o.id, unittest.equals('foo')); | 9689 unittest.expect(o.id, unittest.equals('foo')); |
9115 checkUnnamed2288(o.items); | 9690 checkUnnamed2387(o.items); |
9116 unittest.expect(o.kind, unittest.equals('foo')); | 9691 unittest.expect(o.kind, unittest.equals('foo')); |
9117 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 9692 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
9118 unittest.expect(o.selfLink, unittest.equals('foo')); | 9693 unittest.expect(o.selfLink, unittest.equals('foo')); |
9119 } | 9694 } |
9120 buildCounterVpnTunnelList--; | 9695 buildCounterVpnTunnelList--; |
9121 } | 9696 } |
9122 | 9697 |
9123 buildUnnamed2289() { | 9698 buildUnnamed2388() { |
9124 var o = new core.List<api.VpnTunnel>(); | 9699 var o = new core.List<api.VpnTunnel>(); |
9125 o.add(buildVpnTunnel()); | 9700 o.add(buildVpnTunnel()); |
9126 o.add(buildVpnTunnel()); | 9701 o.add(buildVpnTunnel()); |
9127 return o; | 9702 return o; |
9128 } | 9703 } |
9129 | 9704 |
9130 checkUnnamed2289(core.List<api.VpnTunnel> o) { | 9705 checkUnnamed2388(core.List<api.VpnTunnel> o) { |
9131 unittest.expect(o, unittest.hasLength(2)); | 9706 unittest.expect(o, unittest.hasLength(2)); |
9132 checkVpnTunnel(o[0]); | 9707 checkVpnTunnel(o[0]); |
9133 checkVpnTunnel(o[1]); | 9708 checkVpnTunnel(o[1]); |
9134 } | 9709 } |
9135 | 9710 |
9136 core.int buildCounterVpnTunnelsScopedListWarningData = 0; | 9711 core.int buildCounterVpnTunnelsScopedListWarningData = 0; |
9137 buildVpnTunnelsScopedListWarningData() { | 9712 buildVpnTunnelsScopedListWarningData() { |
9138 var o = new api.VpnTunnelsScopedListWarningData(); | 9713 var o = new api.VpnTunnelsScopedListWarningData(); |
9139 buildCounterVpnTunnelsScopedListWarningData++; | 9714 buildCounterVpnTunnelsScopedListWarningData++; |
9140 if (buildCounterVpnTunnelsScopedListWarningData < 3) { | 9715 if (buildCounterVpnTunnelsScopedListWarningData < 3) { |
9141 o.key = "foo"; | 9716 o.key = "foo"; |
9142 o.value = "foo"; | 9717 o.value = "foo"; |
9143 } | 9718 } |
9144 buildCounterVpnTunnelsScopedListWarningData--; | 9719 buildCounterVpnTunnelsScopedListWarningData--; |
9145 return o; | 9720 return o; |
9146 } | 9721 } |
9147 | 9722 |
9148 checkVpnTunnelsScopedListWarningData(api.VpnTunnelsScopedListWarningData o) { | 9723 checkVpnTunnelsScopedListWarningData(api.VpnTunnelsScopedListWarningData o) { |
9149 buildCounterVpnTunnelsScopedListWarningData++; | 9724 buildCounterVpnTunnelsScopedListWarningData++; |
9150 if (buildCounterVpnTunnelsScopedListWarningData < 3) { | 9725 if (buildCounterVpnTunnelsScopedListWarningData < 3) { |
9151 unittest.expect(o.key, unittest.equals('foo')); | 9726 unittest.expect(o.key, unittest.equals('foo')); |
9152 unittest.expect(o.value, unittest.equals('foo')); | 9727 unittest.expect(o.value, unittest.equals('foo')); |
9153 } | 9728 } |
9154 buildCounterVpnTunnelsScopedListWarningData--; | 9729 buildCounterVpnTunnelsScopedListWarningData--; |
9155 } | 9730 } |
9156 | 9731 |
9157 buildUnnamed2290() { | 9732 buildUnnamed2389() { |
9158 var o = new core.List<api.VpnTunnelsScopedListWarningData>(); | 9733 var o = new core.List<api.VpnTunnelsScopedListWarningData>(); |
9159 o.add(buildVpnTunnelsScopedListWarningData()); | 9734 o.add(buildVpnTunnelsScopedListWarningData()); |
9160 o.add(buildVpnTunnelsScopedListWarningData()); | 9735 o.add(buildVpnTunnelsScopedListWarningData()); |
9161 return o; | 9736 return o; |
9162 } | 9737 } |
9163 | 9738 |
9164 checkUnnamed2290(core.List<api.VpnTunnelsScopedListWarningData> o) { | 9739 checkUnnamed2389(core.List<api.VpnTunnelsScopedListWarningData> o) { |
9165 unittest.expect(o, unittest.hasLength(2)); | 9740 unittest.expect(o, unittest.hasLength(2)); |
9166 checkVpnTunnelsScopedListWarningData(o[0]); | 9741 checkVpnTunnelsScopedListWarningData(o[0]); |
9167 checkVpnTunnelsScopedListWarningData(o[1]); | 9742 checkVpnTunnelsScopedListWarningData(o[1]); |
9168 } | 9743 } |
9169 | 9744 |
9170 core.int buildCounterVpnTunnelsScopedListWarning = 0; | 9745 core.int buildCounterVpnTunnelsScopedListWarning = 0; |
9171 buildVpnTunnelsScopedListWarning() { | 9746 buildVpnTunnelsScopedListWarning() { |
9172 var o = new api.VpnTunnelsScopedListWarning(); | 9747 var o = new api.VpnTunnelsScopedListWarning(); |
9173 buildCounterVpnTunnelsScopedListWarning++; | 9748 buildCounterVpnTunnelsScopedListWarning++; |
9174 if (buildCounterVpnTunnelsScopedListWarning < 3) { | 9749 if (buildCounterVpnTunnelsScopedListWarning < 3) { |
9175 o.code = "foo"; | 9750 o.code = "foo"; |
9176 o.data = buildUnnamed2290(); | 9751 o.data = buildUnnamed2389(); |
9177 o.message = "foo"; | 9752 o.message = "foo"; |
9178 } | 9753 } |
9179 buildCounterVpnTunnelsScopedListWarning--; | 9754 buildCounterVpnTunnelsScopedListWarning--; |
9180 return o; | 9755 return o; |
9181 } | 9756 } |
9182 | 9757 |
9183 checkVpnTunnelsScopedListWarning(api.VpnTunnelsScopedListWarning o) { | 9758 checkVpnTunnelsScopedListWarning(api.VpnTunnelsScopedListWarning o) { |
9184 buildCounterVpnTunnelsScopedListWarning++; | 9759 buildCounterVpnTunnelsScopedListWarning++; |
9185 if (buildCounterVpnTunnelsScopedListWarning < 3) { | 9760 if (buildCounterVpnTunnelsScopedListWarning < 3) { |
9186 unittest.expect(o.code, unittest.equals('foo')); | 9761 unittest.expect(o.code, unittest.equals('foo')); |
9187 checkUnnamed2290(o.data); | 9762 checkUnnamed2389(o.data); |
9188 unittest.expect(o.message, unittest.equals('foo')); | 9763 unittest.expect(o.message, unittest.equals('foo')); |
9189 } | 9764 } |
9190 buildCounterVpnTunnelsScopedListWarning--; | 9765 buildCounterVpnTunnelsScopedListWarning--; |
9191 } | 9766 } |
9192 | 9767 |
9193 core.int buildCounterVpnTunnelsScopedList = 0; | 9768 core.int buildCounterVpnTunnelsScopedList = 0; |
9194 buildVpnTunnelsScopedList() { | 9769 buildVpnTunnelsScopedList() { |
9195 var o = new api.VpnTunnelsScopedList(); | 9770 var o = new api.VpnTunnelsScopedList(); |
9196 buildCounterVpnTunnelsScopedList++; | 9771 buildCounterVpnTunnelsScopedList++; |
9197 if (buildCounterVpnTunnelsScopedList < 3) { | 9772 if (buildCounterVpnTunnelsScopedList < 3) { |
9198 o.vpnTunnels = buildUnnamed2289(); | 9773 o.vpnTunnels = buildUnnamed2388(); |
9199 o.warning = buildVpnTunnelsScopedListWarning(); | 9774 o.warning = buildVpnTunnelsScopedListWarning(); |
9200 } | 9775 } |
9201 buildCounterVpnTunnelsScopedList--; | 9776 buildCounterVpnTunnelsScopedList--; |
9202 return o; | 9777 return o; |
9203 } | 9778 } |
9204 | 9779 |
9205 checkVpnTunnelsScopedList(api.VpnTunnelsScopedList o) { | 9780 checkVpnTunnelsScopedList(api.VpnTunnelsScopedList o) { |
9206 buildCounterVpnTunnelsScopedList++; | 9781 buildCounterVpnTunnelsScopedList++; |
9207 if (buildCounterVpnTunnelsScopedList < 3) { | 9782 if (buildCounterVpnTunnelsScopedList < 3) { |
9208 checkUnnamed2289(o.vpnTunnels); | 9783 checkUnnamed2388(o.vpnTunnels); |
9209 checkVpnTunnelsScopedListWarning(o.warning); | 9784 checkVpnTunnelsScopedListWarning(o.warning); |
9210 } | 9785 } |
9211 buildCounterVpnTunnelsScopedList--; | 9786 buildCounterVpnTunnelsScopedList--; |
9212 } | 9787 } |
9213 | 9788 |
9214 buildUnnamed2291() { | 9789 buildUnnamed2390() { |
9215 var o = new core.List<api.Project>(); | 9790 var o = new core.List<api.Project>(); |
9216 o.add(buildProject()); | 9791 o.add(buildProject()); |
9217 o.add(buildProject()); | 9792 o.add(buildProject()); |
9218 return o; | 9793 return o; |
9219 } | 9794 } |
9220 | 9795 |
9221 checkUnnamed2291(core.List<api.Project> o) { | 9796 checkUnnamed2390(core.List<api.Project> o) { |
9222 unittest.expect(o, unittest.hasLength(2)); | 9797 unittest.expect(o, unittest.hasLength(2)); |
9223 checkProject(o[0]); | 9798 checkProject(o[0]); |
9224 checkProject(o[1]); | 9799 checkProject(o[1]); |
9225 } | 9800 } |
9226 | 9801 |
9227 core.int buildCounterXpnHostList = 0; | 9802 core.int buildCounterXpnHostList = 0; |
9228 buildXpnHostList() { | 9803 buildXpnHostList() { |
9229 var o = new api.XpnHostList(); | 9804 var o = new api.XpnHostList(); |
9230 buildCounterXpnHostList++; | 9805 buildCounterXpnHostList++; |
9231 if (buildCounterXpnHostList < 3) { | 9806 if (buildCounterXpnHostList < 3) { |
9232 o.id = "foo"; | 9807 o.id = "foo"; |
9233 o.items = buildUnnamed2291(); | 9808 o.items = buildUnnamed2390(); |
9234 o.kind = "foo"; | 9809 o.kind = "foo"; |
9235 o.nextPageToken = "foo"; | 9810 o.nextPageToken = "foo"; |
9236 o.selfLink = "foo"; | 9811 o.selfLink = "foo"; |
9237 } | 9812 } |
9238 buildCounterXpnHostList--; | 9813 buildCounterXpnHostList--; |
9239 return o; | 9814 return o; |
9240 } | 9815 } |
9241 | 9816 |
9242 checkXpnHostList(api.XpnHostList o) { | 9817 checkXpnHostList(api.XpnHostList o) { |
9243 buildCounterXpnHostList++; | 9818 buildCounterXpnHostList++; |
9244 if (buildCounterXpnHostList < 3) { | 9819 if (buildCounterXpnHostList < 3) { |
9245 unittest.expect(o.id, unittest.equals('foo')); | 9820 unittest.expect(o.id, unittest.equals('foo')); |
9246 checkUnnamed2291(o.items); | 9821 checkUnnamed2390(o.items); |
9247 unittest.expect(o.kind, unittest.equals('foo')); | 9822 unittest.expect(o.kind, unittest.equals('foo')); |
9248 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 9823 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
9249 unittest.expect(o.selfLink, unittest.equals('foo')); | 9824 unittest.expect(o.selfLink, unittest.equals('foo')); |
9250 } | 9825 } |
9251 buildCounterXpnHostList--; | 9826 buildCounterXpnHostList--; |
9252 } | 9827 } |
9253 | 9828 |
9254 core.int buildCounterXpnResourceId = 0; | 9829 core.int buildCounterXpnResourceId = 0; |
9255 buildXpnResourceId() { | 9830 buildXpnResourceId() { |
9256 var o = new api.XpnResourceId(); | 9831 var o = new api.XpnResourceId(); |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9300 unittest.expect(o.id, unittest.equals('foo')); | 9875 unittest.expect(o.id, unittest.equals('foo')); |
9301 unittest.expect(o.kind, unittest.equals('foo')); | 9876 unittest.expect(o.kind, unittest.equals('foo')); |
9302 unittest.expect(o.name, unittest.equals('foo')); | 9877 unittest.expect(o.name, unittest.equals('foo')); |
9303 unittest.expect(o.region, unittest.equals('foo')); | 9878 unittest.expect(o.region, unittest.equals('foo')); |
9304 unittest.expect(o.selfLink, unittest.equals('foo')); | 9879 unittest.expect(o.selfLink, unittest.equals('foo')); |
9305 unittest.expect(o.status, unittest.equals('foo')); | 9880 unittest.expect(o.status, unittest.equals('foo')); |
9306 } | 9881 } |
9307 buildCounterZone--; | 9882 buildCounterZone--; |
9308 } | 9883 } |
9309 | 9884 |
9310 buildUnnamed2292() { | 9885 buildUnnamed2391() { |
9311 var o = new core.List<api.Zone>(); | 9886 var o = new core.List<api.Zone>(); |
9312 o.add(buildZone()); | 9887 o.add(buildZone()); |
9313 o.add(buildZone()); | 9888 o.add(buildZone()); |
9314 return o; | 9889 return o; |
9315 } | 9890 } |
9316 | 9891 |
9317 checkUnnamed2292(core.List<api.Zone> o) { | 9892 checkUnnamed2391(core.List<api.Zone> o) { |
9318 unittest.expect(o, unittest.hasLength(2)); | 9893 unittest.expect(o, unittest.hasLength(2)); |
9319 checkZone(o[0]); | 9894 checkZone(o[0]); |
9320 checkZone(o[1]); | 9895 checkZone(o[1]); |
9321 } | 9896 } |
9322 | 9897 |
9323 core.int buildCounterZoneList = 0; | 9898 core.int buildCounterZoneList = 0; |
9324 buildZoneList() { | 9899 buildZoneList() { |
9325 var o = new api.ZoneList(); | 9900 var o = new api.ZoneList(); |
9326 buildCounterZoneList++; | 9901 buildCounterZoneList++; |
9327 if (buildCounterZoneList < 3) { | 9902 if (buildCounterZoneList < 3) { |
9328 o.id = "foo"; | 9903 o.id = "foo"; |
9329 o.items = buildUnnamed2292(); | 9904 o.items = buildUnnamed2391(); |
9330 o.kind = "foo"; | 9905 o.kind = "foo"; |
9331 o.nextPageToken = "foo"; | 9906 o.nextPageToken = "foo"; |
9332 o.selfLink = "foo"; | 9907 o.selfLink = "foo"; |
9333 } | 9908 } |
9334 buildCounterZoneList--; | 9909 buildCounterZoneList--; |
9335 return o; | 9910 return o; |
9336 } | 9911 } |
9337 | 9912 |
9338 checkZoneList(api.ZoneList o) { | 9913 checkZoneList(api.ZoneList o) { |
9339 buildCounterZoneList++; | 9914 buildCounterZoneList++; |
9340 if (buildCounterZoneList < 3) { | 9915 if (buildCounterZoneList < 3) { |
9341 unittest.expect(o.id, unittest.equals('foo')); | 9916 unittest.expect(o.id, unittest.equals('foo')); |
9342 checkUnnamed2292(o.items); | 9917 checkUnnamed2391(o.items); |
9343 unittest.expect(o.kind, unittest.equals('foo')); | 9918 unittest.expect(o.kind, unittest.equals('foo')); |
9344 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 9919 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
9345 unittest.expect(o.selfLink, unittest.equals('foo')); | 9920 unittest.expect(o.selfLink, unittest.equals('foo')); |
9346 } | 9921 } |
9347 buildCounterZoneList--; | 9922 buildCounterZoneList--; |
9348 } | 9923 } |
9349 | 9924 |
9350 buildUnnamed2293() { | 9925 buildUnnamed2392() { |
9351 var o = new core.Map<core.String, core.String>(); | 9926 var o = new core.Map<core.String, core.String>(); |
9352 o["x"] = "foo"; | 9927 o["x"] = "foo"; |
9353 o["y"] = "foo"; | 9928 o["y"] = "foo"; |
9354 return o; | 9929 return o; |
9355 } | 9930 } |
9356 | 9931 |
9357 checkUnnamed2293(core.Map<core.String, core.String> o) { | 9932 checkUnnamed2392(core.Map<core.String, core.String> o) { |
9358 unittest.expect(o, unittest.hasLength(2)); | 9933 unittest.expect(o, unittest.hasLength(2)); |
9359 unittest.expect(o["x"], unittest.equals('foo')); | 9934 unittest.expect(o["x"], unittest.equals('foo')); |
9360 unittest.expect(o["y"], unittest.equals('foo')); | 9935 unittest.expect(o["y"], unittest.equals('foo')); |
9361 } | 9936 } |
9362 | 9937 |
9363 core.int buildCounterZoneSetLabelsRequest = 0; | 9938 core.int buildCounterZoneSetLabelsRequest = 0; |
9364 buildZoneSetLabelsRequest() { | 9939 buildZoneSetLabelsRequest() { |
9365 var o = new api.ZoneSetLabelsRequest(); | 9940 var o = new api.ZoneSetLabelsRequest(); |
9366 buildCounterZoneSetLabelsRequest++; | 9941 buildCounterZoneSetLabelsRequest++; |
9367 if (buildCounterZoneSetLabelsRequest < 3) { | 9942 if (buildCounterZoneSetLabelsRequest < 3) { |
9368 o.labelFingerprint = "foo"; | 9943 o.labelFingerprint = "foo"; |
9369 o.labels = buildUnnamed2293(); | 9944 o.labels = buildUnnamed2392(); |
9370 } | 9945 } |
9371 buildCounterZoneSetLabelsRequest--; | 9946 buildCounterZoneSetLabelsRequest--; |
9372 return o; | 9947 return o; |
9373 } | 9948 } |
9374 | 9949 |
9375 checkZoneSetLabelsRequest(api.ZoneSetLabelsRequest o) { | 9950 checkZoneSetLabelsRequest(api.ZoneSetLabelsRequest o) { |
9376 buildCounterZoneSetLabelsRequest++; | 9951 buildCounterZoneSetLabelsRequest++; |
9377 if (buildCounterZoneSetLabelsRequest < 3) { | 9952 if (buildCounterZoneSetLabelsRequest < 3) { |
9378 unittest.expect(o.labelFingerprint, unittest.equals('foo')); | 9953 unittest.expect(o.labelFingerprint, unittest.equals('foo')); |
9379 checkUnnamed2293(o.labels); | 9954 checkUnnamed2392(o.labels); |
9380 } | 9955 } |
9381 buildCounterZoneSetLabelsRequest--; | 9956 buildCounterZoneSetLabelsRequest--; |
9382 } | 9957 } |
9383 | 9958 |
9384 | 9959 |
9385 main() { | 9960 main() { |
| 9961 unittest.group("obj-schema-AcceleratorConfig", () { |
| 9962 unittest.test("to-json--from-json", () { |
| 9963 var o = buildAcceleratorConfig(); |
| 9964 var od = new api.AcceleratorConfig.fromJson(o.toJson()); |
| 9965 checkAcceleratorConfig(od); |
| 9966 }); |
| 9967 }); |
| 9968 |
| 9969 |
| 9970 unittest.group("obj-schema-AcceleratorType", () { |
| 9971 unittest.test("to-json--from-json", () { |
| 9972 var o = buildAcceleratorType(); |
| 9973 var od = new api.AcceleratorType.fromJson(o.toJson()); |
| 9974 checkAcceleratorType(od); |
| 9975 }); |
| 9976 }); |
| 9977 |
| 9978 |
| 9979 unittest.group("obj-schema-AcceleratorTypeAggregatedList", () { |
| 9980 unittest.test("to-json--from-json", () { |
| 9981 var o = buildAcceleratorTypeAggregatedList(); |
| 9982 var od = new api.AcceleratorTypeAggregatedList.fromJson(o.toJson()); |
| 9983 checkAcceleratorTypeAggregatedList(od); |
| 9984 }); |
| 9985 }); |
| 9986 |
| 9987 |
| 9988 unittest.group("obj-schema-AcceleratorTypeList", () { |
| 9989 unittest.test("to-json--from-json", () { |
| 9990 var o = buildAcceleratorTypeList(); |
| 9991 var od = new api.AcceleratorTypeList.fromJson(o.toJson()); |
| 9992 checkAcceleratorTypeList(od); |
| 9993 }); |
| 9994 }); |
| 9995 |
| 9996 |
| 9997 unittest.group("obj-schema-AcceleratorTypesScopedListWarningData", () { |
| 9998 unittest.test("to-json--from-json", () { |
| 9999 var o = buildAcceleratorTypesScopedListWarningData(); |
| 10000 var od = new api.AcceleratorTypesScopedListWarningData.fromJson(o.toJson()
); |
| 10001 checkAcceleratorTypesScopedListWarningData(od); |
| 10002 }); |
| 10003 }); |
| 10004 |
| 10005 |
| 10006 unittest.group("obj-schema-AcceleratorTypesScopedListWarning", () { |
| 10007 unittest.test("to-json--from-json", () { |
| 10008 var o = buildAcceleratorTypesScopedListWarning(); |
| 10009 var od = new api.AcceleratorTypesScopedListWarning.fromJson(o.toJson()); |
| 10010 checkAcceleratorTypesScopedListWarning(od); |
| 10011 }); |
| 10012 }); |
| 10013 |
| 10014 |
| 10015 unittest.group("obj-schema-AcceleratorTypesScopedList", () { |
| 10016 unittest.test("to-json--from-json", () { |
| 10017 var o = buildAcceleratorTypesScopedList(); |
| 10018 var od = new api.AcceleratorTypesScopedList.fromJson(o.toJson()); |
| 10019 checkAcceleratorTypesScopedList(od); |
| 10020 }); |
| 10021 }); |
| 10022 |
| 10023 |
9386 unittest.group("obj-schema-AccessConfig", () { | 10024 unittest.group("obj-schema-AccessConfig", () { |
9387 unittest.test("to-json--from-json", () { | 10025 unittest.test("to-json--from-json", () { |
9388 var o = buildAccessConfig(); | 10026 var o = buildAccessConfig(); |
9389 var od = new api.AccessConfig.fromJson(o.toJson()); | 10027 var od = new api.AccessConfig.fromJson(o.toJson()); |
9390 checkAccessConfig(od); | 10028 checkAccessConfig(od); |
9391 }); | 10029 }); |
9392 }); | 10030 }); |
9393 | 10031 |
9394 | 10032 |
9395 unittest.group("obj-schema-Address", () { | 10033 unittest.group("obj-schema-Address", () { |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9484 | 10122 |
9485 unittest.group("obj-schema-AutoscalerList", () { | 10123 unittest.group("obj-schema-AutoscalerList", () { |
9486 unittest.test("to-json--from-json", () { | 10124 unittest.test("to-json--from-json", () { |
9487 var o = buildAutoscalerList(); | 10125 var o = buildAutoscalerList(); |
9488 var od = new api.AutoscalerList.fromJson(o.toJson()); | 10126 var od = new api.AutoscalerList.fromJson(o.toJson()); |
9489 checkAutoscalerList(od); | 10127 checkAutoscalerList(od); |
9490 }); | 10128 }); |
9491 }); | 10129 }); |
9492 | 10130 |
9493 | 10131 |
| 10132 unittest.group("obj-schema-AutoscalerStatusDetails", () { |
| 10133 unittest.test("to-json--from-json", () { |
| 10134 var o = buildAutoscalerStatusDetails(); |
| 10135 var od = new api.AutoscalerStatusDetails.fromJson(o.toJson()); |
| 10136 checkAutoscalerStatusDetails(od); |
| 10137 }); |
| 10138 }); |
| 10139 |
| 10140 |
9494 unittest.group("obj-schema-AutoscalersScopedListWarningData", () { | 10141 unittest.group("obj-schema-AutoscalersScopedListWarningData", () { |
9495 unittest.test("to-json--from-json", () { | 10142 unittest.test("to-json--from-json", () { |
9496 var o = buildAutoscalersScopedListWarningData(); | 10143 var o = buildAutoscalersScopedListWarningData(); |
9497 var od = new api.AutoscalersScopedListWarningData.fromJson(o.toJson()); | 10144 var od = new api.AutoscalersScopedListWarningData.fromJson(o.toJson()); |
9498 checkAutoscalersScopedListWarningData(od); | 10145 checkAutoscalersScopedListWarningData(od); |
9499 }); | 10146 }); |
9500 }); | 10147 }); |
9501 | 10148 |
9502 | 10149 |
9503 unittest.group("obj-schema-AutoscalersScopedListWarning", () { | 10150 unittest.group("obj-schema-AutoscalersScopedListWarning", () { |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9673 | 10320 |
9674 unittest.group("obj-schema-CacheKeyPolicy", () { | 10321 unittest.group("obj-schema-CacheKeyPolicy", () { |
9675 unittest.test("to-json--from-json", () { | 10322 unittest.test("to-json--from-json", () { |
9676 var o = buildCacheKeyPolicy(); | 10323 var o = buildCacheKeyPolicy(); |
9677 var od = new api.CacheKeyPolicy.fromJson(o.toJson()); | 10324 var od = new api.CacheKeyPolicy.fromJson(o.toJson()); |
9678 checkCacheKeyPolicy(od); | 10325 checkCacheKeyPolicy(od); |
9679 }); | 10326 }); |
9680 }); | 10327 }); |
9681 | 10328 |
9682 | 10329 |
| 10330 unittest.group("obj-schema-Commitment", () { |
| 10331 unittest.test("to-json--from-json", () { |
| 10332 var o = buildCommitment(); |
| 10333 var od = new api.Commitment.fromJson(o.toJson()); |
| 10334 checkCommitment(od); |
| 10335 }); |
| 10336 }); |
| 10337 |
| 10338 |
| 10339 unittest.group("obj-schema-CommitmentAggregatedList", () { |
| 10340 unittest.test("to-json--from-json", () { |
| 10341 var o = buildCommitmentAggregatedList(); |
| 10342 var od = new api.CommitmentAggregatedList.fromJson(o.toJson()); |
| 10343 checkCommitmentAggregatedList(od); |
| 10344 }); |
| 10345 }); |
| 10346 |
| 10347 |
| 10348 unittest.group("obj-schema-CommitmentList", () { |
| 10349 unittest.test("to-json--from-json", () { |
| 10350 var o = buildCommitmentList(); |
| 10351 var od = new api.CommitmentList.fromJson(o.toJson()); |
| 10352 checkCommitmentList(od); |
| 10353 }); |
| 10354 }); |
| 10355 |
| 10356 |
| 10357 unittest.group("obj-schema-CommitmentsScopedListWarningData", () { |
| 10358 unittest.test("to-json--from-json", () { |
| 10359 var o = buildCommitmentsScopedListWarningData(); |
| 10360 var od = new api.CommitmentsScopedListWarningData.fromJson(o.toJson()); |
| 10361 checkCommitmentsScopedListWarningData(od); |
| 10362 }); |
| 10363 }); |
| 10364 |
| 10365 |
| 10366 unittest.group("obj-schema-CommitmentsScopedListWarning", () { |
| 10367 unittest.test("to-json--from-json", () { |
| 10368 var o = buildCommitmentsScopedListWarning(); |
| 10369 var od = new api.CommitmentsScopedListWarning.fromJson(o.toJson()); |
| 10370 checkCommitmentsScopedListWarning(od); |
| 10371 }); |
| 10372 }); |
| 10373 |
| 10374 |
| 10375 unittest.group("obj-schema-CommitmentsScopedList", () { |
| 10376 unittest.test("to-json--from-json", () { |
| 10377 var o = buildCommitmentsScopedList(); |
| 10378 var od = new api.CommitmentsScopedList.fromJson(o.toJson()); |
| 10379 checkCommitmentsScopedList(od); |
| 10380 }); |
| 10381 }); |
| 10382 |
| 10383 |
9683 unittest.group("obj-schema-ConnectionDraining", () { | 10384 unittest.group("obj-schema-ConnectionDraining", () { |
9684 unittest.test("to-json--from-json", () { | 10385 unittest.test("to-json--from-json", () { |
9685 var o = buildConnectionDraining(); | 10386 var o = buildConnectionDraining(); |
9686 var od = new api.ConnectionDraining.fromJson(o.toJson()); | 10387 var od = new api.ConnectionDraining.fromJson(o.toJson()); |
9687 checkConnectionDraining(od); | 10388 checkConnectionDraining(od); |
9688 }); | 10389 }); |
9689 }); | 10390 }); |
9690 | 10391 |
9691 | 10392 |
9692 unittest.group("obj-schema-CustomerEncryptionKey", () { | 10393 unittest.group("obj-schema-CustomerEncryptionKey", () { |
(...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10393 | 11094 |
10394 unittest.group("obj-schema-InstancesSetLabelsRequest", () { | 11095 unittest.group("obj-schema-InstancesSetLabelsRequest", () { |
10395 unittest.test("to-json--from-json", () { | 11096 unittest.test("to-json--from-json", () { |
10396 var o = buildInstancesSetLabelsRequest(); | 11097 var o = buildInstancesSetLabelsRequest(); |
10397 var od = new api.InstancesSetLabelsRequest.fromJson(o.toJson()); | 11098 var od = new api.InstancesSetLabelsRequest.fromJson(o.toJson()); |
10398 checkInstancesSetLabelsRequest(od); | 11099 checkInstancesSetLabelsRequest(od); |
10399 }); | 11100 }); |
10400 }); | 11101 }); |
10401 | 11102 |
10402 | 11103 |
| 11104 unittest.group("obj-schema-InstancesSetMachineResourcesRequest", () { |
| 11105 unittest.test("to-json--from-json", () { |
| 11106 var o = buildInstancesSetMachineResourcesRequest(); |
| 11107 var od = new api.InstancesSetMachineResourcesRequest.fromJson(o.toJson()); |
| 11108 checkInstancesSetMachineResourcesRequest(od); |
| 11109 }); |
| 11110 }); |
| 11111 |
| 11112 |
10403 unittest.group("obj-schema-InstancesSetMachineTypeRequest", () { | 11113 unittest.group("obj-schema-InstancesSetMachineTypeRequest", () { |
10404 unittest.test("to-json--from-json", () { | 11114 unittest.test("to-json--from-json", () { |
10405 var o = buildInstancesSetMachineTypeRequest(); | 11115 var o = buildInstancesSetMachineTypeRequest(); |
10406 var od = new api.InstancesSetMachineTypeRequest.fromJson(o.toJson()); | 11116 var od = new api.InstancesSetMachineTypeRequest.fromJson(o.toJson()); |
10407 checkInstancesSetMachineTypeRequest(od); | 11117 checkInstancesSetMachineTypeRequest(od); |
10408 }); | 11118 }); |
10409 }); | 11119 }); |
10410 | 11120 |
10411 | 11121 |
10412 unittest.group("obj-schema-InstancesSetServiceAccountRequest", () { | 11122 unittest.group("obj-schema-InstancesSetServiceAccountRequest", () { |
(...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10897 | 11607 |
10898 unittest.group("obj-schema-RegionList", () { | 11608 unittest.group("obj-schema-RegionList", () { |
10899 unittest.test("to-json--from-json", () { | 11609 unittest.test("to-json--from-json", () { |
10900 var o = buildRegionList(); | 11610 var o = buildRegionList(); |
10901 var od = new api.RegionList.fromJson(o.toJson()); | 11611 var od = new api.RegionList.fromJson(o.toJson()); |
10902 checkRegionList(od); | 11612 checkRegionList(od); |
10903 }); | 11613 }); |
10904 }); | 11614 }); |
10905 | 11615 |
10906 | 11616 |
| 11617 unittest.group("obj-schema-ResourceCommitment", () { |
| 11618 unittest.test("to-json--from-json", () { |
| 11619 var o = buildResourceCommitment(); |
| 11620 var od = new api.ResourceCommitment.fromJson(o.toJson()); |
| 11621 checkResourceCommitment(od); |
| 11622 }); |
| 11623 }); |
| 11624 |
| 11625 |
10907 unittest.group("obj-schema-ResourceGroupReference", () { | 11626 unittest.group("obj-schema-ResourceGroupReference", () { |
10908 unittest.test("to-json--from-json", () { | 11627 unittest.test("to-json--from-json", () { |
10909 var o = buildResourceGroupReference(); | 11628 var o = buildResourceGroupReference(); |
10910 var od = new api.ResourceGroupReference.fromJson(o.toJson()); | 11629 var od = new api.ResourceGroupReference.fromJson(o.toJson()); |
10911 checkResourceGroupReference(od); | 11630 checkResourceGroupReference(od); |
10912 }); | 11631 }); |
10913 }); | 11632 }); |
10914 | 11633 |
10915 | 11634 |
10916 unittest.group("obj-schema-RouteWarningsData", () { | 11635 unittest.group("obj-schema-RouteWarningsData", () { |
(...skipping 826 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11743 | 12462 |
11744 unittest.group("obj-schema-ZoneSetLabelsRequest", () { | 12463 unittest.group("obj-schema-ZoneSetLabelsRequest", () { |
11745 unittest.test("to-json--from-json", () { | 12464 unittest.test("to-json--from-json", () { |
11746 var o = buildZoneSetLabelsRequest(); | 12465 var o = buildZoneSetLabelsRequest(); |
11747 var od = new api.ZoneSetLabelsRequest.fromJson(o.toJson()); | 12466 var od = new api.ZoneSetLabelsRequest.fromJson(o.toJson()); |
11748 checkZoneSetLabelsRequest(od); | 12467 checkZoneSetLabelsRequest(od); |
11749 }); | 12468 }); |
11750 }); | 12469 }); |
11751 | 12470 |
11752 | 12471 |
| 12472 unittest.group("resource-AcceleratorTypesResourceApi", () { |
| 12473 unittest.test("method--aggregatedList", () { |
| 12474 |
| 12475 var mock = new HttpServerMock(); |
| 12476 api.AcceleratorTypesResourceApi res = new api.ComputeApi(mock).accelerator
Types; |
| 12477 var arg_project = "foo"; |
| 12478 var arg_filter = "foo"; |
| 12479 var arg_maxResults = 42; |
| 12480 var arg_orderBy = "foo"; |
| 12481 var arg_pageToken = "foo"; |
| 12482 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { |
| 12483 var path = (req.url).path; |
| 12484 var pathOffset = 0; |
| 12485 var index; |
| 12486 var subPart; |
| 12487 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 12488 pathOffset += 1; |
| 12489 |
| 12490 var query = (req.url).query; |
| 12491 var queryOffset = 0; |
| 12492 var queryMap = {}; |
| 12493 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 12494 parseBool(n) { |
| 12495 if (n == "true") return true; |
| 12496 if (n == "false") return false; |
| 12497 if (n == null) return null; |
| 12498 throw new core.ArgumentError("Invalid boolean: $n"); |
| 12499 } |
| 12500 if (query.length > 0) { |
| 12501 for (var part in query.split("&")) { |
| 12502 var keyvalue = part.split("="); |
| 12503 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 12504 } |
| 12505 } |
| 12506 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); |
| 12507 unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.e
quals(arg_maxResults)); |
| 12508 unittest.expect(queryMap["orderBy"].first, unittest.equals(arg_orderBy))
; |
| 12509 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); |
| 12510 |
| 12511 |
| 12512 var h = { |
| 12513 "content-type" : "application/json; charset=utf-8", |
| 12514 }; |
| 12515 var resp = convert.JSON.encode(buildAcceleratorTypeAggregatedList()); |
| 12516 return new async.Future.value(stringResponse(200, h, resp)); |
| 12517 }), true); |
| 12518 res.aggregatedList(arg_project, filter: arg_filter, maxResults: arg_maxRes
ults, orderBy: arg_orderBy, pageToken: arg_pageToken).then(unittest.expectAsync1
(((api.AcceleratorTypeAggregatedList response) { |
| 12519 checkAcceleratorTypeAggregatedList(response); |
| 12520 }))); |
| 12521 }); |
| 12522 |
| 12523 unittest.test("method--get", () { |
| 12524 |
| 12525 var mock = new HttpServerMock(); |
| 12526 api.AcceleratorTypesResourceApi res = new api.ComputeApi(mock).accelerator
Types; |
| 12527 var arg_project = "foo"; |
| 12528 var arg_zone = "foo"; |
| 12529 var arg_acceleratorType = "foo"; |
| 12530 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { |
| 12531 var path = (req.url).path; |
| 12532 var pathOffset = 0; |
| 12533 var index; |
| 12534 var subPart; |
| 12535 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 12536 pathOffset += 1; |
| 12537 |
| 12538 var query = (req.url).query; |
| 12539 var queryOffset = 0; |
| 12540 var queryMap = {}; |
| 12541 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 12542 parseBool(n) { |
| 12543 if (n == "true") return true; |
| 12544 if (n == "false") return false; |
| 12545 if (n == null) return null; |
| 12546 throw new core.ArgumentError("Invalid boolean: $n"); |
| 12547 } |
| 12548 if (query.length > 0) { |
| 12549 for (var part in query.split("&")) { |
| 12550 var keyvalue = part.split("="); |
| 12551 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 12552 } |
| 12553 } |
| 12554 |
| 12555 |
| 12556 var h = { |
| 12557 "content-type" : "application/json; charset=utf-8", |
| 12558 }; |
| 12559 var resp = convert.JSON.encode(buildAcceleratorType()); |
| 12560 return new async.Future.value(stringResponse(200, h, resp)); |
| 12561 }), true); |
| 12562 res.get(arg_project, arg_zone, arg_acceleratorType).then(unittest.expectAs
ync1(((api.AcceleratorType response) { |
| 12563 checkAcceleratorType(response); |
| 12564 }))); |
| 12565 }); |
| 12566 |
| 12567 unittest.test("method--list", () { |
| 12568 |
| 12569 var mock = new HttpServerMock(); |
| 12570 api.AcceleratorTypesResourceApi res = new api.ComputeApi(mock).accelerator
Types; |
| 12571 var arg_project = "foo"; |
| 12572 var arg_zone = "foo"; |
| 12573 var arg_filter = "foo"; |
| 12574 var arg_maxResults = 42; |
| 12575 var arg_orderBy = "foo"; |
| 12576 var arg_pageToken = "foo"; |
| 12577 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { |
| 12578 var path = (req.url).path; |
| 12579 var pathOffset = 0; |
| 12580 var index; |
| 12581 var subPart; |
| 12582 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 12583 pathOffset += 1; |
| 12584 |
| 12585 var query = (req.url).query; |
| 12586 var queryOffset = 0; |
| 12587 var queryMap = {}; |
| 12588 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 12589 parseBool(n) { |
| 12590 if (n == "true") return true; |
| 12591 if (n == "false") return false; |
| 12592 if (n == null) return null; |
| 12593 throw new core.ArgumentError("Invalid boolean: $n"); |
| 12594 } |
| 12595 if (query.length > 0) { |
| 12596 for (var part in query.split("&")) { |
| 12597 var keyvalue = part.split("="); |
| 12598 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 12599 } |
| 12600 } |
| 12601 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); |
| 12602 unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.e
quals(arg_maxResults)); |
| 12603 unittest.expect(queryMap["orderBy"].first, unittest.equals(arg_orderBy))
; |
| 12604 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); |
| 12605 |
| 12606 |
| 12607 var h = { |
| 12608 "content-type" : "application/json; charset=utf-8", |
| 12609 }; |
| 12610 var resp = convert.JSON.encode(buildAcceleratorTypeList()); |
| 12611 return new async.Future.value(stringResponse(200, h, resp)); |
| 12612 }), true); |
| 12613 res.list(arg_project, arg_zone, filter: arg_filter, maxResults: arg_maxRes
ults, orderBy: arg_orderBy, pageToken: arg_pageToken).then(unittest.expectAsync1
(((api.AcceleratorTypeList response) { |
| 12614 checkAcceleratorTypeList(response); |
| 12615 }))); |
| 12616 }); |
| 12617 |
| 12618 }); |
| 12619 |
| 12620 |
11753 unittest.group("resource-AddressesResourceApi", () { | 12621 unittest.group("resource-AddressesResourceApi", () { |
11754 unittest.test("method--aggregatedList", () { | 12622 unittest.test("method--aggregatedList", () { |
11755 | 12623 |
11756 var mock = new HttpServerMock(); | 12624 var mock = new HttpServerMock(); |
11757 api.AddressesResourceApi res = new api.ComputeApi(mock).addresses; | 12625 api.AddressesResourceApi res = new api.ComputeApi(mock).addresses; |
11758 var arg_project = "foo"; | 12626 var arg_project = "foo"; |
11759 var arg_filter = "foo"; | 12627 var arg_filter = "foo"; |
11760 var arg_maxResults = 42; | 12628 var arg_maxResults = 42; |
11761 var arg_orderBy = "foo"; | 12629 var arg_orderBy = "foo"; |
11762 var arg_pageToken = "foo"; | 12630 var arg_pageToken = "foo"; |
(...skipping 3950 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15713 checkImage(response); | 16581 checkImage(response); |
15714 }))); | 16582 }))); |
15715 }); | 16583 }); |
15716 | 16584 |
15717 unittest.test("method--insert", () { | 16585 unittest.test("method--insert", () { |
15718 | 16586 |
15719 var mock = new HttpServerMock(); | 16587 var mock = new HttpServerMock(); |
15720 api.ImagesResourceApi res = new api.ComputeApi(mock).images; | 16588 api.ImagesResourceApi res = new api.ComputeApi(mock).images; |
15721 var arg_request = buildImage(); | 16589 var arg_request = buildImage(); |
15722 var arg_project = "foo"; | 16590 var arg_project = "foo"; |
| 16591 var arg_forceCreate = true; |
15723 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { | 16592 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { |
15724 var obj = new api.Image.fromJson(json); | 16593 var obj = new api.Image.fromJson(json); |
15725 checkImage(obj); | 16594 checkImage(obj); |
15726 | 16595 |
15727 var path = (req.url).path; | 16596 var path = (req.url).path; |
15728 var pathOffset = 0; | 16597 var pathOffset = 0; |
15729 var index; | 16598 var index; |
15730 var subPart; | 16599 var subPart; |
15731 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16600 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
15732 pathOffset += 1; | 16601 pathOffset += 1; |
15733 | 16602 |
15734 var query = (req.url).query; | 16603 var query = (req.url).query; |
15735 var queryOffset = 0; | 16604 var queryOffset = 0; |
15736 var queryMap = {}; | 16605 var queryMap = {}; |
15737 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); | 16606 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
15738 parseBool(n) { | 16607 parseBool(n) { |
15739 if (n == "true") return true; | 16608 if (n == "true") return true; |
15740 if (n == "false") return false; | 16609 if (n == "false") return false; |
15741 if (n == null) return null; | 16610 if (n == null) return null; |
15742 throw new core.ArgumentError("Invalid boolean: $n"); | 16611 throw new core.ArgumentError("Invalid boolean: $n"); |
15743 } | 16612 } |
15744 if (query.length > 0) { | 16613 if (query.length > 0) { |
15745 for (var part in query.split("&")) { | 16614 for (var part in query.split("&")) { |
15746 var keyvalue = part.split("="); | 16615 var keyvalue = part.split("="); |
15747 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 16616 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
15748 } | 16617 } |
15749 } | 16618 } |
| 16619 unittest.expect(queryMap["forceCreate"].first, unittest.equals("$arg_for
ceCreate")); |
15750 | 16620 |
15751 | 16621 |
15752 var h = { | 16622 var h = { |
15753 "content-type" : "application/json; charset=utf-8", | 16623 "content-type" : "application/json; charset=utf-8", |
15754 }; | 16624 }; |
15755 var resp = convert.JSON.encode(buildOperation()); | 16625 var resp = convert.JSON.encode(buildOperation()); |
15756 return new async.Future.value(stringResponse(200, h, resp)); | 16626 return new async.Future.value(stringResponse(200, h, resp)); |
15757 }), true); | 16627 }), true); |
15758 res.insert(arg_request, arg_project).then(unittest.expectAsync1(((api.Oper
ation response) { | 16628 res.insert(arg_request, arg_project, forceCreate: arg_forceCreate).then(un
ittest.expectAsync1(((api.Operation response) { |
15759 checkOperation(response); | 16629 checkOperation(response); |
15760 }))); | 16630 }))); |
15761 }); | 16631 }); |
15762 | 16632 |
15763 unittest.test("method--list", () { | 16633 unittest.test("method--list", () { |
15764 | 16634 |
15765 var mock = new HttpServerMock(); | 16635 var mock = new HttpServerMock(); |
15766 api.ImagesResourceApi res = new api.ComputeApi(mock).images; | 16636 api.ImagesResourceApi res = new api.ComputeApi(mock).images; |
15767 var arg_project = "foo"; | 16637 var arg_project = "foo"; |
15768 var arg_filter = "foo"; | 16638 var arg_filter = "foo"; |
(...skipping 1905 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
17674 "content-type" : "application/json; charset=utf-8", | 18544 "content-type" : "application/json; charset=utf-8", |
17675 }; | 18545 }; |
17676 var resp = convert.JSON.encode(buildOperation()); | 18546 var resp = convert.JSON.encode(buildOperation()); |
17677 return new async.Future.value(stringResponse(200, h, resp)); | 18547 return new async.Future.value(stringResponse(200, h, resp)); |
17678 }), true); | 18548 }), true); |
17679 res.setLabels(arg_request, arg_project, arg_zone, arg_instance).then(unitt
est.expectAsync1(((api.Operation response) { | 18549 res.setLabels(arg_request, arg_project, arg_zone, arg_instance).then(unitt
est.expectAsync1(((api.Operation response) { |
17680 checkOperation(response); | 18550 checkOperation(response); |
17681 }))); | 18551 }))); |
17682 }); | 18552 }); |
17683 | 18553 |
| 18554 unittest.test("method--setMachineResources", () { |
| 18555 |
| 18556 var mock = new HttpServerMock(); |
| 18557 api.InstancesResourceApi res = new api.ComputeApi(mock).instances; |
| 18558 var arg_request = buildInstancesSetMachineResourcesRequest(); |
| 18559 var arg_project = "foo"; |
| 18560 var arg_zone = "foo"; |
| 18561 var arg_instance = "foo"; |
| 18562 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { |
| 18563 var obj = new api.InstancesSetMachineResourcesRequest.fromJson(json); |
| 18564 checkInstancesSetMachineResourcesRequest(obj); |
| 18565 |
| 18566 var path = (req.url).path; |
| 18567 var pathOffset = 0; |
| 18568 var index; |
| 18569 var subPart; |
| 18570 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 18571 pathOffset += 1; |
| 18572 |
| 18573 var query = (req.url).query; |
| 18574 var queryOffset = 0; |
| 18575 var queryMap = {}; |
| 18576 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 18577 parseBool(n) { |
| 18578 if (n == "true") return true; |
| 18579 if (n == "false") return false; |
| 18580 if (n == null) return null; |
| 18581 throw new core.ArgumentError("Invalid boolean: $n"); |
| 18582 } |
| 18583 if (query.length > 0) { |
| 18584 for (var part in query.split("&")) { |
| 18585 var keyvalue = part.split("="); |
| 18586 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 18587 } |
| 18588 } |
| 18589 |
| 18590 |
| 18591 var h = { |
| 18592 "content-type" : "application/json; charset=utf-8", |
| 18593 }; |
| 18594 var resp = convert.JSON.encode(buildOperation()); |
| 18595 return new async.Future.value(stringResponse(200, h, resp)); |
| 18596 }), true); |
| 18597 res.setMachineResources(arg_request, arg_project, arg_zone, arg_instance).
then(unittest.expectAsync1(((api.Operation response) { |
| 18598 checkOperation(response); |
| 18599 }))); |
| 18600 }); |
| 18601 |
17684 unittest.test("method--setMachineType", () { | 18602 unittest.test("method--setMachineType", () { |
17685 | 18603 |
17686 var mock = new HttpServerMock(); | 18604 var mock = new HttpServerMock(); |
17687 api.InstancesResourceApi res = new api.ComputeApi(mock).instances; | 18605 api.InstancesResourceApi res = new api.ComputeApi(mock).instances; |
17688 var arg_request = buildInstancesSetMachineTypeRequest(); | 18606 var arg_request = buildInstancesSetMachineTypeRequest(); |
17689 var arg_project = "foo"; | 18607 var arg_project = "foo"; |
17690 var arg_zone = "foo"; | 18608 var arg_zone = "foo"; |
17691 var arg_instance = "foo"; | 18609 var arg_instance = "foo"; |
17692 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { | 18610 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { |
17693 var obj = new api.InstancesSetMachineTypeRequest.fromJson(json); | 18611 var obj = new api.InstancesSetMachineTypeRequest.fromJson(json); |
(...skipping 2052 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
19746 return new async.Future.value(stringResponse(200, h, resp)); | 20664 return new async.Future.value(stringResponse(200, h, resp)); |
19747 }), true); | 20665 }), true); |
19748 res.update(arg_request, arg_project, arg_region, arg_backendService).then(
unittest.expectAsync1(((api.Operation response) { | 20666 res.update(arg_request, arg_project, arg_region, arg_backendService).then(
unittest.expectAsync1(((api.Operation response) { |
19749 checkOperation(response); | 20667 checkOperation(response); |
19750 }))); | 20668 }))); |
19751 }); | 20669 }); |
19752 | 20670 |
19753 }); | 20671 }); |
19754 | 20672 |
19755 | 20673 |
| 20674 unittest.group("resource-RegionCommitmentsResourceApi", () { |
| 20675 unittest.test("method--aggregatedList", () { |
| 20676 |
| 20677 var mock = new HttpServerMock(); |
| 20678 api.RegionCommitmentsResourceApi res = new api.ComputeApi(mock).regionComm
itments; |
| 20679 var arg_project = "foo"; |
| 20680 var arg_filter = "foo"; |
| 20681 var arg_maxResults = 42; |
| 20682 var arg_orderBy = "foo"; |
| 20683 var arg_pageToken = "foo"; |
| 20684 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { |
| 20685 var path = (req.url).path; |
| 20686 var pathOffset = 0; |
| 20687 var index; |
| 20688 var subPart; |
| 20689 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 20690 pathOffset += 1; |
| 20691 |
| 20692 var query = (req.url).query; |
| 20693 var queryOffset = 0; |
| 20694 var queryMap = {}; |
| 20695 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 20696 parseBool(n) { |
| 20697 if (n == "true") return true; |
| 20698 if (n == "false") return false; |
| 20699 if (n == null) return null; |
| 20700 throw new core.ArgumentError("Invalid boolean: $n"); |
| 20701 } |
| 20702 if (query.length > 0) { |
| 20703 for (var part in query.split("&")) { |
| 20704 var keyvalue = part.split("="); |
| 20705 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 20706 } |
| 20707 } |
| 20708 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); |
| 20709 unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.e
quals(arg_maxResults)); |
| 20710 unittest.expect(queryMap["orderBy"].first, unittest.equals(arg_orderBy))
; |
| 20711 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); |
| 20712 |
| 20713 |
| 20714 var h = { |
| 20715 "content-type" : "application/json; charset=utf-8", |
| 20716 }; |
| 20717 var resp = convert.JSON.encode(buildCommitmentAggregatedList()); |
| 20718 return new async.Future.value(stringResponse(200, h, resp)); |
| 20719 }), true); |
| 20720 res.aggregatedList(arg_project, filter: arg_filter, maxResults: arg_maxRes
ults, orderBy: arg_orderBy, pageToken: arg_pageToken).then(unittest.expectAsync1
(((api.CommitmentAggregatedList response) { |
| 20721 checkCommitmentAggregatedList(response); |
| 20722 }))); |
| 20723 }); |
| 20724 |
| 20725 unittest.test("method--get", () { |
| 20726 |
| 20727 var mock = new HttpServerMock(); |
| 20728 api.RegionCommitmentsResourceApi res = new api.ComputeApi(mock).regionComm
itments; |
| 20729 var arg_project = "foo"; |
| 20730 var arg_region = "foo"; |
| 20731 var arg_commitment = "foo"; |
| 20732 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { |
| 20733 var path = (req.url).path; |
| 20734 var pathOffset = 0; |
| 20735 var index; |
| 20736 var subPart; |
| 20737 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 20738 pathOffset += 1; |
| 20739 |
| 20740 var query = (req.url).query; |
| 20741 var queryOffset = 0; |
| 20742 var queryMap = {}; |
| 20743 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 20744 parseBool(n) { |
| 20745 if (n == "true") return true; |
| 20746 if (n == "false") return false; |
| 20747 if (n == null) return null; |
| 20748 throw new core.ArgumentError("Invalid boolean: $n"); |
| 20749 } |
| 20750 if (query.length > 0) { |
| 20751 for (var part in query.split("&")) { |
| 20752 var keyvalue = part.split("="); |
| 20753 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 20754 } |
| 20755 } |
| 20756 |
| 20757 |
| 20758 var h = { |
| 20759 "content-type" : "application/json; charset=utf-8", |
| 20760 }; |
| 20761 var resp = convert.JSON.encode(buildCommitment()); |
| 20762 return new async.Future.value(stringResponse(200, h, resp)); |
| 20763 }), true); |
| 20764 res.get(arg_project, arg_region, arg_commitment).then(unittest.expectAsync
1(((api.Commitment response) { |
| 20765 checkCommitment(response); |
| 20766 }))); |
| 20767 }); |
| 20768 |
| 20769 unittest.test("method--insert", () { |
| 20770 |
| 20771 var mock = new HttpServerMock(); |
| 20772 api.RegionCommitmentsResourceApi res = new api.ComputeApi(mock).regionComm
itments; |
| 20773 var arg_request = buildCommitment(); |
| 20774 var arg_project = "foo"; |
| 20775 var arg_region = "foo"; |
| 20776 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { |
| 20777 var obj = new api.Commitment.fromJson(json); |
| 20778 checkCommitment(obj); |
| 20779 |
| 20780 var path = (req.url).path; |
| 20781 var pathOffset = 0; |
| 20782 var index; |
| 20783 var subPart; |
| 20784 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 20785 pathOffset += 1; |
| 20786 |
| 20787 var query = (req.url).query; |
| 20788 var queryOffset = 0; |
| 20789 var queryMap = {}; |
| 20790 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 20791 parseBool(n) { |
| 20792 if (n == "true") return true; |
| 20793 if (n == "false") return false; |
| 20794 if (n == null) return null; |
| 20795 throw new core.ArgumentError("Invalid boolean: $n"); |
| 20796 } |
| 20797 if (query.length > 0) { |
| 20798 for (var part in query.split("&")) { |
| 20799 var keyvalue = part.split("="); |
| 20800 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 20801 } |
| 20802 } |
| 20803 |
| 20804 |
| 20805 var h = { |
| 20806 "content-type" : "application/json; charset=utf-8", |
| 20807 }; |
| 20808 var resp = convert.JSON.encode(buildOperation()); |
| 20809 return new async.Future.value(stringResponse(200, h, resp)); |
| 20810 }), true); |
| 20811 res.insert(arg_request, arg_project, arg_region).then(unittest.expectAsync
1(((api.Operation response) { |
| 20812 checkOperation(response); |
| 20813 }))); |
| 20814 }); |
| 20815 |
| 20816 unittest.test("method--list", () { |
| 20817 |
| 20818 var mock = new HttpServerMock(); |
| 20819 api.RegionCommitmentsResourceApi res = new api.ComputeApi(mock).regionComm
itments; |
| 20820 var arg_project = "foo"; |
| 20821 var arg_region = "foo"; |
| 20822 var arg_filter = "foo"; |
| 20823 var arg_maxResults = 42; |
| 20824 var arg_orderBy = "foo"; |
| 20825 var arg_pageToken = "foo"; |
| 20826 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { |
| 20827 var path = (req.url).path; |
| 20828 var pathOffset = 0; |
| 20829 var index; |
| 20830 var subPart; |
| 20831 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 20832 pathOffset += 1; |
| 20833 |
| 20834 var query = (req.url).query; |
| 20835 var queryOffset = 0; |
| 20836 var queryMap = {}; |
| 20837 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 20838 parseBool(n) { |
| 20839 if (n == "true") return true; |
| 20840 if (n == "false") return false; |
| 20841 if (n == null) return null; |
| 20842 throw new core.ArgumentError("Invalid boolean: $n"); |
| 20843 } |
| 20844 if (query.length > 0) { |
| 20845 for (var part in query.split("&")) { |
| 20846 var keyvalue = part.split("="); |
| 20847 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 20848 } |
| 20849 } |
| 20850 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); |
| 20851 unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.e
quals(arg_maxResults)); |
| 20852 unittest.expect(queryMap["orderBy"].first, unittest.equals(arg_orderBy))
; |
| 20853 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); |
| 20854 |
| 20855 |
| 20856 var h = { |
| 20857 "content-type" : "application/json; charset=utf-8", |
| 20858 }; |
| 20859 var resp = convert.JSON.encode(buildCommitmentList()); |
| 20860 return new async.Future.value(stringResponse(200, h, resp)); |
| 20861 }), true); |
| 20862 res.list(arg_project, arg_region, filter: arg_filter, maxResults: arg_maxR
esults, orderBy: arg_orderBy, pageToken: arg_pageToken).then(unittest.expectAsyn
c1(((api.CommitmentList response) { |
| 20863 checkCommitmentList(response); |
| 20864 }))); |
| 20865 }); |
| 20866 |
| 20867 }); |
| 20868 |
| 20869 |
19756 unittest.group("resource-RegionInstanceGroupManagersResourceApi", () { | 20870 unittest.group("resource-RegionInstanceGroupManagersResourceApi", () { |
19757 unittest.test("method--abandonInstances", () { | 20871 unittest.test("method--abandonInstances", () { |
19758 | 20872 |
19759 var mock = new HttpServerMock(); | 20873 var mock = new HttpServerMock(); |
19760 api.RegionInstanceGroupManagersResourceApi res = new api.ComputeApi(mock).
regionInstanceGroupManagers; | 20874 api.RegionInstanceGroupManagersResourceApi res = new api.ComputeApi(mock).
regionInstanceGroupManagers; |
19761 var arg_request = buildRegionInstanceGroupManagersAbandonInstancesRequest(
); | 20875 var arg_request = buildRegionInstanceGroupManagersAbandonInstancesRequest(
); |
19762 var arg_project = "foo"; | 20876 var arg_project = "foo"; |
19763 var arg_region = "foo"; | 20877 var arg_region = "foo"; |
19764 var arg_instanceGroupManager = "foo"; | 20878 var arg_instanceGroupManager = "foo"; |
19765 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { | 20879 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { |
(...skipping 5256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
25022 res.list(arg_project, filter: arg_filter, maxResults: arg_maxResults, orde
rBy: arg_orderBy, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.Zon
eList response) { | 26136 res.list(arg_project, filter: arg_filter, maxResults: arg_maxResults, orde
rBy: arg_orderBy, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.Zon
eList response) { |
25023 checkZoneList(response); | 26137 checkZoneList(response); |
25024 }))); | 26138 }))); |
25025 }); | 26139 }); |
25026 | 26140 |
25027 }); | 26141 }); |
25028 | 26142 |
25029 | 26143 |
25030 } | 26144 } |
25031 | 26145 |
OLD | NEW |