| 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:unittest/unittest.dart' as unittest; | 10 import 'package:unittest/unittest.dart' as unittest; |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 buildCounterAccessConfig++; | 69 buildCounterAccessConfig++; |
| 70 if (buildCounterAccessConfig < 3) { | 70 if (buildCounterAccessConfig < 3) { |
| 71 unittest.expect(o.kind, unittest.equals('foo')); | 71 unittest.expect(o.kind, unittest.equals('foo')); |
| 72 unittest.expect(o.name, unittest.equals('foo')); | 72 unittest.expect(o.name, unittest.equals('foo')); |
| 73 unittest.expect(o.natIP, unittest.equals('foo')); | 73 unittest.expect(o.natIP, unittest.equals('foo')); |
| 74 unittest.expect(o.type, unittest.equals('foo')); | 74 unittest.expect(o.type, unittest.equals('foo')); |
| 75 } | 75 } |
| 76 buildCounterAccessConfig--; | 76 buildCounterAccessConfig--; |
| 77 } | 77 } |
| 78 | 78 |
| 79 buildUnnamed1902() { | 79 buildUnnamed2006() { |
| 80 var o = new core.List<core.String>(); | 80 var o = new core.List<core.String>(); |
| 81 o.add("foo"); | 81 o.add("foo"); |
| 82 o.add("foo"); | 82 o.add("foo"); |
| 83 return o; | 83 return o; |
| 84 } | 84 } |
| 85 | 85 |
| 86 checkUnnamed1902(core.List<core.String> o) { | 86 checkUnnamed2006(core.List<core.String> o) { |
| 87 unittest.expect(o, unittest.hasLength(2)); | 87 unittest.expect(o, unittest.hasLength(2)); |
| 88 unittest.expect(o[0], unittest.equals('foo')); | 88 unittest.expect(o[0], unittest.equals('foo')); |
| 89 unittest.expect(o[1], unittest.equals('foo')); | 89 unittest.expect(o[1], unittest.equals('foo')); |
| 90 } | 90 } |
| 91 | 91 |
| 92 core.int buildCounterAddress = 0; | 92 core.int buildCounterAddress = 0; |
| 93 buildAddress() { | 93 buildAddress() { |
| 94 var o = new api.Address(); | 94 var o = new api.Address(); |
| 95 buildCounterAddress++; | 95 buildCounterAddress++; |
| 96 if (buildCounterAddress < 3) { | 96 if (buildCounterAddress < 3) { |
| 97 o.address = "foo"; | 97 o.address = "foo"; |
| 98 o.creationTimestamp = "foo"; | 98 o.creationTimestamp = "foo"; |
| 99 o.description = "foo"; | 99 o.description = "foo"; |
| 100 o.id = "foo"; | 100 o.id = "foo"; |
| 101 o.kind = "foo"; | 101 o.kind = "foo"; |
| 102 o.name = "foo"; | 102 o.name = "foo"; |
| 103 o.region = "foo"; | 103 o.region = "foo"; |
| 104 o.selfLink = "foo"; | 104 o.selfLink = "foo"; |
| 105 o.status = "foo"; | 105 o.status = "foo"; |
| 106 o.users = buildUnnamed1902(); | 106 o.users = buildUnnamed2006(); |
| 107 } | 107 } |
| 108 buildCounterAddress--; | 108 buildCounterAddress--; |
| 109 return o; | 109 return o; |
| 110 } | 110 } |
| 111 | 111 |
| 112 checkAddress(api.Address o) { | 112 checkAddress(api.Address o) { |
| 113 buildCounterAddress++; | 113 buildCounterAddress++; |
| 114 if (buildCounterAddress < 3) { | 114 if (buildCounterAddress < 3) { |
| 115 unittest.expect(o.address, unittest.equals('foo')); | 115 unittest.expect(o.address, unittest.equals('foo')); |
| 116 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 116 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 117 unittest.expect(o.description, unittest.equals('foo')); | 117 unittest.expect(o.description, unittest.equals('foo')); |
| 118 unittest.expect(o.id, unittest.equals('foo')); | 118 unittest.expect(o.id, unittest.equals('foo')); |
| 119 unittest.expect(o.kind, unittest.equals('foo')); | 119 unittest.expect(o.kind, unittest.equals('foo')); |
| 120 unittest.expect(o.name, unittest.equals('foo')); | 120 unittest.expect(o.name, unittest.equals('foo')); |
| 121 unittest.expect(o.region, unittest.equals('foo')); | 121 unittest.expect(o.region, unittest.equals('foo')); |
| 122 unittest.expect(o.selfLink, unittest.equals('foo')); | 122 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 123 unittest.expect(o.status, unittest.equals('foo')); | 123 unittest.expect(o.status, unittest.equals('foo')); |
| 124 checkUnnamed1902(o.users); | 124 checkUnnamed2006(o.users); |
| 125 } | 125 } |
| 126 buildCounterAddress--; | 126 buildCounterAddress--; |
| 127 } | 127 } |
| 128 | 128 |
| 129 buildUnnamed1903() { | 129 buildUnnamed2007() { |
| 130 var o = new core.Map<core.String, api.AddressesScopedList>(); | 130 var o = new core.Map<core.String, api.AddressesScopedList>(); |
| 131 o["x"] = buildAddressesScopedList(); | 131 o["x"] = buildAddressesScopedList(); |
| 132 o["y"] = buildAddressesScopedList(); | 132 o["y"] = buildAddressesScopedList(); |
| 133 return o; | 133 return o; |
| 134 } | 134 } |
| 135 | 135 |
| 136 checkUnnamed1903(core.Map<core.String, api.AddressesScopedList> o) { | 136 checkUnnamed2007(core.Map<core.String, api.AddressesScopedList> o) { |
| 137 unittest.expect(o, unittest.hasLength(2)); | 137 unittest.expect(o, unittest.hasLength(2)); |
| 138 checkAddressesScopedList(o["x"]); | 138 checkAddressesScopedList(o["x"]); |
| 139 checkAddressesScopedList(o["y"]); | 139 checkAddressesScopedList(o["y"]); |
| 140 } | 140 } |
| 141 | 141 |
| 142 core.int buildCounterAddressAggregatedList = 0; | 142 core.int buildCounterAddressAggregatedList = 0; |
| 143 buildAddressAggregatedList() { | 143 buildAddressAggregatedList() { |
| 144 var o = new api.AddressAggregatedList(); | 144 var o = new api.AddressAggregatedList(); |
| 145 buildCounterAddressAggregatedList++; | 145 buildCounterAddressAggregatedList++; |
| 146 if (buildCounterAddressAggregatedList < 3) { | 146 if (buildCounterAddressAggregatedList < 3) { |
| 147 o.id = "foo"; | 147 o.id = "foo"; |
| 148 o.items = buildUnnamed1903(); | 148 o.items = buildUnnamed2007(); |
| 149 o.kind = "foo"; | 149 o.kind = "foo"; |
| 150 o.nextPageToken = "foo"; | 150 o.nextPageToken = "foo"; |
| 151 o.selfLink = "foo"; | 151 o.selfLink = "foo"; |
| 152 } | 152 } |
| 153 buildCounterAddressAggregatedList--; | 153 buildCounterAddressAggregatedList--; |
| 154 return o; | 154 return o; |
| 155 } | 155 } |
| 156 | 156 |
| 157 checkAddressAggregatedList(api.AddressAggregatedList o) { | 157 checkAddressAggregatedList(api.AddressAggregatedList o) { |
| 158 buildCounterAddressAggregatedList++; | 158 buildCounterAddressAggregatedList++; |
| 159 if (buildCounterAddressAggregatedList < 3) { | 159 if (buildCounterAddressAggregatedList < 3) { |
| 160 unittest.expect(o.id, unittest.equals('foo')); | 160 unittest.expect(o.id, unittest.equals('foo')); |
| 161 checkUnnamed1903(o.items); | 161 checkUnnamed2007(o.items); |
| 162 unittest.expect(o.kind, unittest.equals('foo')); | 162 unittest.expect(o.kind, unittest.equals('foo')); |
| 163 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 163 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 164 unittest.expect(o.selfLink, unittest.equals('foo')); | 164 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 165 } | 165 } |
| 166 buildCounterAddressAggregatedList--; | 166 buildCounterAddressAggregatedList--; |
| 167 } | 167 } |
| 168 | 168 |
| 169 buildUnnamed1904() { | 169 buildUnnamed2008() { |
| 170 var o = new core.List<api.Address>(); | 170 var o = new core.List<api.Address>(); |
| 171 o.add(buildAddress()); | 171 o.add(buildAddress()); |
| 172 o.add(buildAddress()); | 172 o.add(buildAddress()); |
| 173 return o; | 173 return o; |
| 174 } | 174 } |
| 175 | 175 |
| 176 checkUnnamed1904(core.List<api.Address> o) { | 176 checkUnnamed2008(core.List<api.Address> o) { |
| 177 unittest.expect(o, unittest.hasLength(2)); | 177 unittest.expect(o, unittest.hasLength(2)); |
| 178 checkAddress(o[0]); | 178 checkAddress(o[0]); |
| 179 checkAddress(o[1]); | 179 checkAddress(o[1]); |
| 180 } | 180 } |
| 181 | 181 |
| 182 core.int buildCounterAddressList = 0; | 182 core.int buildCounterAddressList = 0; |
| 183 buildAddressList() { | 183 buildAddressList() { |
| 184 var o = new api.AddressList(); | 184 var o = new api.AddressList(); |
| 185 buildCounterAddressList++; | 185 buildCounterAddressList++; |
| 186 if (buildCounterAddressList < 3) { | 186 if (buildCounterAddressList < 3) { |
| 187 o.id = "foo"; | 187 o.id = "foo"; |
| 188 o.items = buildUnnamed1904(); | 188 o.items = buildUnnamed2008(); |
| 189 o.kind = "foo"; | 189 o.kind = "foo"; |
| 190 o.nextPageToken = "foo"; | 190 o.nextPageToken = "foo"; |
| 191 o.selfLink = "foo"; | 191 o.selfLink = "foo"; |
| 192 } | 192 } |
| 193 buildCounterAddressList--; | 193 buildCounterAddressList--; |
| 194 return o; | 194 return o; |
| 195 } | 195 } |
| 196 | 196 |
| 197 checkAddressList(api.AddressList o) { | 197 checkAddressList(api.AddressList o) { |
| 198 buildCounterAddressList++; | 198 buildCounterAddressList++; |
| 199 if (buildCounterAddressList < 3) { | 199 if (buildCounterAddressList < 3) { |
| 200 unittest.expect(o.id, unittest.equals('foo')); | 200 unittest.expect(o.id, unittest.equals('foo')); |
| 201 checkUnnamed1904(o.items); | 201 checkUnnamed2008(o.items); |
| 202 unittest.expect(o.kind, unittest.equals('foo')); | 202 unittest.expect(o.kind, unittest.equals('foo')); |
| 203 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 203 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 204 unittest.expect(o.selfLink, unittest.equals('foo')); | 204 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 205 } | 205 } |
| 206 buildCounterAddressList--; | 206 buildCounterAddressList--; |
| 207 } | 207 } |
| 208 | 208 |
| 209 buildUnnamed1905() { | 209 buildUnnamed2009() { |
| 210 var o = new core.List<api.Address>(); | 210 var o = new core.List<api.Address>(); |
| 211 o.add(buildAddress()); | 211 o.add(buildAddress()); |
| 212 o.add(buildAddress()); | 212 o.add(buildAddress()); |
| 213 return o; | 213 return o; |
| 214 } | 214 } |
| 215 | 215 |
| 216 checkUnnamed1905(core.List<api.Address> o) { | 216 checkUnnamed2009(core.List<api.Address> o) { |
| 217 unittest.expect(o, unittest.hasLength(2)); | 217 unittest.expect(o, unittest.hasLength(2)); |
| 218 checkAddress(o[0]); | 218 checkAddress(o[0]); |
| 219 checkAddress(o[1]); | 219 checkAddress(o[1]); |
| 220 } | 220 } |
| 221 | 221 |
| 222 core.int buildCounterAddressesScopedListWarningData = 0; | 222 core.int buildCounterAddressesScopedListWarningData = 0; |
| 223 buildAddressesScopedListWarningData() { | 223 buildAddressesScopedListWarningData() { |
| 224 var o = new api.AddressesScopedListWarningData(); | 224 var o = new api.AddressesScopedListWarningData(); |
| 225 buildCounterAddressesScopedListWarningData++; | 225 buildCounterAddressesScopedListWarningData++; |
| 226 if (buildCounterAddressesScopedListWarningData < 3) { | 226 if (buildCounterAddressesScopedListWarningData < 3) { |
| 227 o.key = "foo"; | 227 o.key = "foo"; |
| 228 o.value = "foo"; | 228 o.value = "foo"; |
| 229 } | 229 } |
| 230 buildCounterAddressesScopedListWarningData--; | 230 buildCounterAddressesScopedListWarningData--; |
| 231 return o; | 231 return o; |
| 232 } | 232 } |
| 233 | 233 |
| 234 checkAddressesScopedListWarningData(api.AddressesScopedListWarningData o) { | 234 checkAddressesScopedListWarningData(api.AddressesScopedListWarningData o) { |
| 235 buildCounterAddressesScopedListWarningData++; | 235 buildCounterAddressesScopedListWarningData++; |
| 236 if (buildCounterAddressesScopedListWarningData < 3) { | 236 if (buildCounterAddressesScopedListWarningData < 3) { |
| 237 unittest.expect(o.key, unittest.equals('foo')); | 237 unittest.expect(o.key, unittest.equals('foo')); |
| 238 unittest.expect(o.value, unittest.equals('foo')); | 238 unittest.expect(o.value, unittest.equals('foo')); |
| 239 } | 239 } |
| 240 buildCounterAddressesScopedListWarningData--; | 240 buildCounterAddressesScopedListWarningData--; |
| 241 } | 241 } |
| 242 | 242 |
| 243 buildUnnamed1906() { | 243 buildUnnamed2010() { |
| 244 var o = new core.List<api.AddressesScopedListWarningData>(); | 244 var o = new core.List<api.AddressesScopedListWarningData>(); |
| 245 o.add(buildAddressesScopedListWarningData()); | 245 o.add(buildAddressesScopedListWarningData()); |
| 246 o.add(buildAddressesScopedListWarningData()); | 246 o.add(buildAddressesScopedListWarningData()); |
| 247 return o; | 247 return o; |
| 248 } | 248 } |
| 249 | 249 |
| 250 checkUnnamed1906(core.List<api.AddressesScopedListWarningData> o) { | 250 checkUnnamed2010(core.List<api.AddressesScopedListWarningData> o) { |
| 251 unittest.expect(o, unittest.hasLength(2)); | 251 unittest.expect(o, unittest.hasLength(2)); |
| 252 checkAddressesScopedListWarningData(o[0]); | 252 checkAddressesScopedListWarningData(o[0]); |
| 253 checkAddressesScopedListWarningData(o[1]); | 253 checkAddressesScopedListWarningData(o[1]); |
| 254 } | 254 } |
| 255 | 255 |
| 256 core.int buildCounterAddressesScopedListWarning = 0; | 256 core.int buildCounterAddressesScopedListWarning = 0; |
| 257 buildAddressesScopedListWarning() { | 257 buildAddressesScopedListWarning() { |
| 258 var o = new api.AddressesScopedListWarning(); | 258 var o = new api.AddressesScopedListWarning(); |
| 259 buildCounterAddressesScopedListWarning++; | 259 buildCounterAddressesScopedListWarning++; |
| 260 if (buildCounterAddressesScopedListWarning < 3) { | 260 if (buildCounterAddressesScopedListWarning < 3) { |
| 261 o.code = "foo"; | 261 o.code = "foo"; |
| 262 o.data = buildUnnamed1906(); | 262 o.data = buildUnnamed2010(); |
| 263 o.message = "foo"; | 263 o.message = "foo"; |
| 264 } | 264 } |
| 265 buildCounterAddressesScopedListWarning--; | 265 buildCounterAddressesScopedListWarning--; |
| 266 return o; | 266 return o; |
| 267 } | 267 } |
| 268 | 268 |
| 269 checkAddressesScopedListWarning(api.AddressesScopedListWarning o) { | 269 checkAddressesScopedListWarning(api.AddressesScopedListWarning o) { |
| 270 buildCounterAddressesScopedListWarning++; | 270 buildCounterAddressesScopedListWarning++; |
| 271 if (buildCounterAddressesScopedListWarning < 3) { | 271 if (buildCounterAddressesScopedListWarning < 3) { |
| 272 unittest.expect(o.code, unittest.equals('foo')); | 272 unittest.expect(o.code, unittest.equals('foo')); |
| 273 checkUnnamed1906(o.data); | 273 checkUnnamed2010(o.data); |
| 274 unittest.expect(o.message, unittest.equals('foo')); | 274 unittest.expect(o.message, unittest.equals('foo')); |
| 275 } | 275 } |
| 276 buildCounterAddressesScopedListWarning--; | 276 buildCounterAddressesScopedListWarning--; |
| 277 } | 277 } |
| 278 | 278 |
| 279 core.int buildCounterAddressesScopedList = 0; | 279 core.int buildCounterAddressesScopedList = 0; |
| 280 buildAddressesScopedList() { | 280 buildAddressesScopedList() { |
| 281 var o = new api.AddressesScopedList(); | 281 var o = new api.AddressesScopedList(); |
| 282 buildCounterAddressesScopedList++; | 282 buildCounterAddressesScopedList++; |
| 283 if (buildCounterAddressesScopedList < 3) { | 283 if (buildCounterAddressesScopedList < 3) { |
| 284 o.addresses = buildUnnamed1905(); | 284 o.addresses = buildUnnamed2009(); |
| 285 o.warning = buildAddressesScopedListWarning(); | 285 o.warning = buildAddressesScopedListWarning(); |
| 286 } | 286 } |
| 287 buildCounterAddressesScopedList--; | 287 buildCounterAddressesScopedList--; |
| 288 return o; | 288 return o; |
| 289 } | 289 } |
| 290 | 290 |
| 291 checkAddressesScopedList(api.AddressesScopedList o) { | 291 checkAddressesScopedList(api.AddressesScopedList o) { |
| 292 buildCounterAddressesScopedList++; | 292 buildCounterAddressesScopedList++; |
| 293 if (buildCounterAddressesScopedList < 3) { | 293 if (buildCounterAddressesScopedList < 3) { |
| 294 checkUnnamed1905(o.addresses); | 294 checkUnnamed2009(o.addresses); |
| 295 checkAddressesScopedListWarning(o.warning); | 295 checkAddressesScopedListWarning(o.warning); |
| 296 } | 296 } |
| 297 buildCounterAddressesScopedList--; | 297 buildCounterAddressesScopedList--; |
| 298 } | 298 } |
| 299 | 299 |
| 300 buildUnnamed1907() { | 300 buildUnnamed2011() { |
| 301 var o = new core.List<core.String>(); | 301 var o = new core.List<core.String>(); |
| 302 o.add("foo"); | 302 o.add("foo"); |
| 303 o.add("foo"); | 303 o.add("foo"); |
| 304 return o; | 304 return o; |
| 305 } | 305 } |
| 306 | 306 |
| 307 checkUnnamed1907(core.List<core.String> o) { | 307 checkUnnamed2011(core.List<core.String> o) { |
| 308 unittest.expect(o, unittest.hasLength(2)); | 308 unittest.expect(o, unittest.hasLength(2)); |
| 309 unittest.expect(o[0], unittest.equals('foo')); | 309 unittest.expect(o[0], unittest.equals('foo')); |
| 310 unittest.expect(o[1], unittest.equals('foo')); | 310 unittest.expect(o[1], unittest.equals('foo')); |
| 311 } | 311 } |
| 312 | 312 |
| 313 core.int buildCounterAttachedDisk = 0; | 313 core.int buildCounterAttachedDisk = 0; |
| 314 buildAttachedDisk() { | 314 buildAttachedDisk() { |
| 315 var o = new api.AttachedDisk(); | 315 var o = new api.AttachedDisk(); |
| 316 buildCounterAttachedDisk++; | 316 buildCounterAttachedDisk++; |
| 317 if (buildCounterAttachedDisk < 3) { | 317 if (buildCounterAttachedDisk < 3) { |
| 318 o.autoDelete = true; | 318 o.autoDelete = true; |
| 319 o.boot = true; | 319 o.boot = true; |
| 320 o.deviceName = "foo"; | 320 o.deviceName = "foo"; |
| 321 o.diskEncryptionKey = buildCustomerEncryptionKey(); | 321 o.diskEncryptionKey = buildCustomerEncryptionKey(); |
| 322 o.index = 42; | 322 o.index = 42; |
| 323 o.initializeParams = buildAttachedDiskInitializeParams(); | 323 o.initializeParams = buildAttachedDiskInitializeParams(); |
| 324 o.interface = "foo"; | 324 o.interface = "foo"; |
| 325 o.kind = "foo"; | 325 o.kind = "foo"; |
| 326 o.licenses = buildUnnamed1907(); | 326 o.licenses = buildUnnamed2011(); |
| 327 o.mode = "foo"; | 327 o.mode = "foo"; |
| 328 o.source = "foo"; | 328 o.source = "foo"; |
| 329 o.type = "foo"; | 329 o.type = "foo"; |
| 330 } | 330 } |
| 331 buildCounterAttachedDisk--; | 331 buildCounterAttachedDisk--; |
| 332 return o; | 332 return o; |
| 333 } | 333 } |
| 334 | 334 |
| 335 checkAttachedDisk(api.AttachedDisk o) { | 335 checkAttachedDisk(api.AttachedDisk o) { |
| 336 buildCounterAttachedDisk++; | 336 buildCounterAttachedDisk++; |
| 337 if (buildCounterAttachedDisk < 3) { | 337 if (buildCounterAttachedDisk < 3) { |
| 338 unittest.expect(o.autoDelete, unittest.isTrue); | 338 unittest.expect(o.autoDelete, unittest.isTrue); |
| 339 unittest.expect(o.boot, unittest.isTrue); | 339 unittest.expect(o.boot, unittest.isTrue); |
| 340 unittest.expect(o.deviceName, unittest.equals('foo')); | 340 unittest.expect(o.deviceName, unittest.equals('foo')); |
| 341 checkCustomerEncryptionKey(o.diskEncryptionKey); | 341 checkCustomerEncryptionKey(o.diskEncryptionKey); |
| 342 unittest.expect(o.index, unittest.equals(42)); | 342 unittest.expect(o.index, unittest.equals(42)); |
| 343 checkAttachedDiskInitializeParams(o.initializeParams); | 343 checkAttachedDiskInitializeParams(o.initializeParams); |
| 344 unittest.expect(o.interface, unittest.equals('foo')); | 344 unittest.expect(o.interface, unittest.equals('foo')); |
| 345 unittest.expect(o.kind, unittest.equals('foo')); | 345 unittest.expect(o.kind, unittest.equals('foo')); |
| 346 checkUnnamed1907(o.licenses); | 346 checkUnnamed2011(o.licenses); |
| 347 unittest.expect(o.mode, unittest.equals('foo')); | 347 unittest.expect(o.mode, unittest.equals('foo')); |
| 348 unittest.expect(o.source, unittest.equals('foo')); | 348 unittest.expect(o.source, unittest.equals('foo')); |
| 349 unittest.expect(o.type, unittest.equals('foo')); | 349 unittest.expect(o.type, unittest.equals('foo')); |
| 350 } | 350 } |
| 351 buildCounterAttachedDisk--; | 351 buildCounterAttachedDisk--; |
| 352 } | 352 } |
| 353 | 353 |
| 354 core.int buildCounterAttachedDiskInitializeParams = 0; | 354 core.int buildCounterAttachedDiskInitializeParams = 0; |
| 355 buildAttachedDiskInitializeParams() { | 355 buildAttachedDiskInitializeParams() { |
| 356 var o = new api.AttachedDiskInitializeParams(); | 356 var o = new api.AttachedDiskInitializeParams(); |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 408 unittest.expect(o.kind, unittest.equals('foo')); | 408 unittest.expect(o.kind, unittest.equals('foo')); |
| 409 unittest.expect(o.name, unittest.equals('foo')); | 409 unittest.expect(o.name, unittest.equals('foo')); |
| 410 unittest.expect(o.region, unittest.equals('foo')); | 410 unittest.expect(o.region, unittest.equals('foo')); |
| 411 unittest.expect(o.selfLink, unittest.equals('foo')); | 411 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 412 unittest.expect(o.target, unittest.equals('foo')); | 412 unittest.expect(o.target, unittest.equals('foo')); |
| 413 unittest.expect(o.zone, unittest.equals('foo')); | 413 unittest.expect(o.zone, unittest.equals('foo')); |
| 414 } | 414 } |
| 415 buildCounterAutoscaler--; | 415 buildCounterAutoscaler--; |
| 416 } | 416 } |
| 417 | 417 |
| 418 buildUnnamed1908() { | 418 buildUnnamed2012() { |
| 419 var o = new core.Map<core.String, api.AutoscalersScopedList>(); | 419 var o = new core.Map<core.String, api.AutoscalersScopedList>(); |
| 420 o["x"] = buildAutoscalersScopedList(); | 420 o["x"] = buildAutoscalersScopedList(); |
| 421 o["y"] = buildAutoscalersScopedList(); | 421 o["y"] = buildAutoscalersScopedList(); |
| 422 return o; | 422 return o; |
| 423 } | 423 } |
| 424 | 424 |
| 425 checkUnnamed1908(core.Map<core.String, api.AutoscalersScopedList> o) { | 425 checkUnnamed2012(core.Map<core.String, api.AutoscalersScopedList> o) { |
| 426 unittest.expect(o, unittest.hasLength(2)); | 426 unittest.expect(o, unittest.hasLength(2)); |
| 427 checkAutoscalersScopedList(o["x"]); | 427 checkAutoscalersScopedList(o["x"]); |
| 428 checkAutoscalersScopedList(o["y"]); | 428 checkAutoscalersScopedList(o["y"]); |
| 429 } | 429 } |
| 430 | 430 |
| 431 core.int buildCounterAutoscalerAggregatedList = 0; | 431 core.int buildCounterAutoscalerAggregatedList = 0; |
| 432 buildAutoscalerAggregatedList() { | 432 buildAutoscalerAggregatedList() { |
| 433 var o = new api.AutoscalerAggregatedList(); | 433 var o = new api.AutoscalerAggregatedList(); |
| 434 buildCounterAutoscalerAggregatedList++; | 434 buildCounterAutoscalerAggregatedList++; |
| 435 if (buildCounterAutoscalerAggregatedList < 3) { | 435 if (buildCounterAutoscalerAggregatedList < 3) { |
| 436 o.id = "foo"; | 436 o.id = "foo"; |
| 437 o.items = buildUnnamed1908(); | 437 o.items = buildUnnamed2012(); |
| 438 o.kind = "foo"; | 438 o.kind = "foo"; |
| 439 o.nextPageToken = "foo"; | 439 o.nextPageToken = "foo"; |
| 440 o.selfLink = "foo"; | 440 o.selfLink = "foo"; |
| 441 } | 441 } |
| 442 buildCounterAutoscalerAggregatedList--; | 442 buildCounterAutoscalerAggregatedList--; |
| 443 return o; | 443 return o; |
| 444 } | 444 } |
| 445 | 445 |
| 446 checkAutoscalerAggregatedList(api.AutoscalerAggregatedList o) { | 446 checkAutoscalerAggregatedList(api.AutoscalerAggregatedList o) { |
| 447 buildCounterAutoscalerAggregatedList++; | 447 buildCounterAutoscalerAggregatedList++; |
| 448 if (buildCounterAutoscalerAggregatedList < 3) { | 448 if (buildCounterAutoscalerAggregatedList < 3) { |
| 449 unittest.expect(o.id, unittest.equals('foo')); | 449 unittest.expect(o.id, unittest.equals('foo')); |
| 450 checkUnnamed1908(o.items); | 450 checkUnnamed2012(o.items); |
| 451 unittest.expect(o.kind, unittest.equals('foo')); | 451 unittest.expect(o.kind, unittest.equals('foo')); |
| 452 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 452 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 453 unittest.expect(o.selfLink, unittest.equals('foo')); | 453 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 454 } | 454 } |
| 455 buildCounterAutoscalerAggregatedList--; | 455 buildCounterAutoscalerAggregatedList--; |
| 456 } | 456 } |
| 457 | 457 |
| 458 buildUnnamed1909() { | 458 buildUnnamed2013() { |
| 459 var o = new core.List<api.Autoscaler>(); | 459 var o = new core.List<api.Autoscaler>(); |
| 460 o.add(buildAutoscaler()); | 460 o.add(buildAutoscaler()); |
| 461 o.add(buildAutoscaler()); | 461 o.add(buildAutoscaler()); |
| 462 return o; | 462 return o; |
| 463 } | 463 } |
| 464 | 464 |
| 465 checkUnnamed1909(core.List<api.Autoscaler> o) { | 465 checkUnnamed2013(core.List<api.Autoscaler> o) { |
| 466 unittest.expect(o, unittest.hasLength(2)); | 466 unittest.expect(o, unittest.hasLength(2)); |
| 467 checkAutoscaler(o[0]); | 467 checkAutoscaler(o[0]); |
| 468 checkAutoscaler(o[1]); | 468 checkAutoscaler(o[1]); |
| 469 } | 469 } |
| 470 | 470 |
| 471 core.int buildCounterAutoscalerList = 0; | 471 core.int buildCounterAutoscalerList = 0; |
| 472 buildAutoscalerList() { | 472 buildAutoscalerList() { |
| 473 var o = new api.AutoscalerList(); | 473 var o = new api.AutoscalerList(); |
| 474 buildCounterAutoscalerList++; | 474 buildCounterAutoscalerList++; |
| 475 if (buildCounterAutoscalerList < 3) { | 475 if (buildCounterAutoscalerList < 3) { |
| 476 o.id = "foo"; | 476 o.id = "foo"; |
| 477 o.items = buildUnnamed1909(); | 477 o.items = buildUnnamed2013(); |
| 478 o.kind = "foo"; | 478 o.kind = "foo"; |
| 479 o.nextPageToken = "foo"; | 479 o.nextPageToken = "foo"; |
| 480 o.selfLink = "foo"; | 480 o.selfLink = "foo"; |
| 481 } | 481 } |
| 482 buildCounterAutoscalerList--; | 482 buildCounterAutoscalerList--; |
| 483 return o; | 483 return o; |
| 484 } | 484 } |
| 485 | 485 |
| 486 checkAutoscalerList(api.AutoscalerList o) { | 486 checkAutoscalerList(api.AutoscalerList o) { |
| 487 buildCounterAutoscalerList++; | 487 buildCounterAutoscalerList++; |
| 488 if (buildCounterAutoscalerList < 3) { | 488 if (buildCounterAutoscalerList < 3) { |
| 489 unittest.expect(o.id, unittest.equals('foo')); | 489 unittest.expect(o.id, unittest.equals('foo')); |
| 490 checkUnnamed1909(o.items); | 490 checkUnnamed2013(o.items); |
| 491 unittest.expect(o.kind, unittest.equals('foo')); | 491 unittest.expect(o.kind, unittest.equals('foo')); |
| 492 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 492 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 493 unittest.expect(o.selfLink, unittest.equals('foo')); | 493 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 494 } | 494 } |
| 495 buildCounterAutoscalerList--; | 495 buildCounterAutoscalerList--; |
| 496 } | 496 } |
| 497 | 497 |
| 498 buildUnnamed1910() { | 498 buildUnnamed2014() { |
| 499 var o = new core.List<api.Autoscaler>(); | 499 var o = new core.List<api.Autoscaler>(); |
| 500 o.add(buildAutoscaler()); | 500 o.add(buildAutoscaler()); |
| 501 o.add(buildAutoscaler()); | 501 o.add(buildAutoscaler()); |
| 502 return o; | 502 return o; |
| 503 } | 503 } |
| 504 | 504 |
| 505 checkUnnamed1910(core.List<api.Autoscaler> o) { | 505 checkUnnamed2014(core.List<api.Autoscaler> o) { |
| 506 unittest.expect(o, unittest.hasLength(2)); | 506 unittest.expect(o, unittest.hasLength(2)); |
| 507 checkAutoscaler(o[0]); | 507 checkAutoscaler(o[0]); |
| 508 checkAutoscaler(o[1]); | 508 checkAutoscaler(o[1]); |
| 509 } | 509 } |
| 510 | 510 |
| 511 core.int buildCounterAutoscalersScopedListWarningData = 0; | 511 core.int buildCounterAutoscalersScopedListWarningData = 0; |
| 512 buildAutoscalersScopedListWarningData() { | 512 buildAutoscalersScopedListWarningData() { |
| 513 var o = new api.AutoscalersScopedListWarningData(); | 513 var o = new api.AutoscalersScopedListWarningData(); |
| 514 buildCounterAutoscalersScopedListWarningData++; | 514 buildCounterAutoscalersScopedListWarningData++; |
| 515 if (buildCounterAutoscalersScopedListWarningData < 3) { | 515 if (buildCounterAutoscalersScopedListWarningData < 3) { |
| 516 o.key = "foo"; | 516 o.key = "foo"; |
| 517 o.value = "foo"; | 517 o.value = "foo"; |
| 518 } | 518 } |
| 519 buildCounterAutoscalersScopedListWarningData--; | 519 buildCounterAutoscalersScopedListWarningData--; |
| 520 return o; | 520 return o; |
| 521 } | 521 } |
| 522 | 522 |
| 523 checkAutoscalersScopedListWarningData(api.AutoscalersScopedListWarningData o) { | 523 checkAutoscalersScopedListWarningData(api.AutoscalersScopedListWarningData o) { |
| 524 buildCounterAutoscalersScopedListWarningData++; | 524 buildCounterAutoscalersScopedListWarningData++; |
| 525 if (buildCounterAutoscalersScopedListWarningData < 3) { | 525 if (buildCounterAutoscalersScopedListWarningData < 3) { |
| 526 unittest.expect(o.key, unittest.equals('foo')); | 526 unittest.expect(o.key, unittest.equals('foo')); |
| 527 unittest.expect(o.value, unittest.equals('foo')); | 527 unittest.expect(o.value, unittest.equals('foo')); |
| 528 } | 528 } |
| 529 buildCounterAutoscalersScopedListWarningData--; | 529 buildCounterAutoscalersScopedListWarningData--; |
| 530 } | 530 } |
| 531 | 531 |
| 532 buildUnnamed1911() { | 532 buildUnnamed2015() { |
| 533 var o = new core.List<api.AutoscalersScopedListWarningData>(); | 533 var o = new core.List<api.AutoscalersScopedListWarningData>(); |
| 534 o.add(buildAutoscalersScopedListWarningData()); | 534 o.add(buildAutoscalersScopedListWarningData()); |
| 535 o.add(buildAutoscalersScopedListWarningData()); | 535 o.add(buildAutoscalersScopedListWarningData()); |
| 536 return o; | 536 return o; |
| 537 } | 537 } |
| 538 | 538 |
| 539 checkUnnamed1911(core.List<api.AutoscalersScopedListWarningData> o) { | 539 checkUnnamed2015(core.List<api.AutoscalersScopedListWarningData> o) { |
| 540 unittest.expect(o, unittest.hasLength(2)); | 540 unittest.expect(o, unittest.hasLength(2)); |
| 541 checkAutoscalersScopedListWarningData(o[0]); | 541 checkAutoscalersScopedListWarningData(o[0]); |
| 542 checkAutoscalersScopedListWarningData(o[1]); | 542 checkAutoscalersScopedListWarningData(o[1]); |
| 543 } | 543 } |
| 544 | 544 |
| 545 core.int buildCounterAutoscalersScopedListWarning = 0; | 545 core.int buildCounterAutoscalersScopedListWarning = 0; |
| 546 buildAutoscalersScopedListWarning() { | 546 buildAutoscalersScopedListWarning() { |
| 547 var o = new api.AutoscalersScopedListWarning(); | 547 var o = new api.AutoscalersScopedListWarning(); |
| 548 buildCounterAutoscalersScopedListWarning++; | 548 buildCounterAutoscalersScopedListWarning++; |
| 549 if (buildCounterAutoscalersScopedListWarning < 3) { | 549 if (buildCounterAutoscalersScopedListWarning < 3) { |
| 550 o.code = "foo"; | 550 o.code = "foo"; |
| 551 o.data = buildUnnamed1911(); | 551 o.data = buildUnnamed2015(); |
| 552 o.message = "foo"; | 552 o.message = "foo"; |
| 553 } | 553 } |
| 554 buildCounterAutoscalersScopedListWarning--; | 554 buildCounterAutoscalersScopedListWarning--; |
| 555 return o; | 555 return o; |
| 556 } | 556 } |
| 557 | 557 |
| 558 checkAutoscalersScopedListWarning(api.AutoscalersScopedListWarning o) { | 558 checkAutoscalersScopedListWarning(api.AutoscalersScopedListWarning o) { |
| 559 buildCounterAutoscalersScopedListWarning++; | 559 buildCounterAutoscalersScopedListWarning++; |
| 560 if (buildCounterAutoscalersScopedListWarning < 3) { | 560 if (buildCounterAutoscalersScopedListWarning < 3) { |
| 561 unittest.expect(o.code, unittest.equals('foo')); | 561 unittest.expect(o.code, unittest.equals('foo')); |
| 562 checkUnnamed1911(o.data); | 562 checkUnnamed2015(o.data); |
| 563 unittest.expect(o.message, unittest.equals('foo')); | 563 unittest.expect(o.message, unittest.equals('foo')); |
| 564 } | 564 } |
| 565 buildCounterAutoscalersScopedListWarning--; | 565 buildCounterAutoscalersScopedListWarning--; |
| 566 } | 566 } |
| 567 | 567 |
| 568 core.int buildCounterAutoscalersScopedList = 0; | 568 core.int buildCounterAutoscalersScopedList = 0; |
| 569 buildAutoscalersScopedList() { | 569 buildAutoscalersScopedList() { |
| 570 var o = new api.AutoscalersScopedList(); | 570 var o = new api.AutoscalersScopedList(); |
| 571 buildCounterAutoscalersScopedList++; | 571 buildCounterAutoscalersScopedList++; |
| 572 if (buildCounterAutoscalersScopedList < 3) { | 572 if (buildCounterAutoscalersScopedList < 3) { |
| 573 o.autoscalers = buildUnnamed1910(); | 573 o.autoscalers = buildUnnamed2014(); |
| 574 o.warning = buildAutoscalersScopedListWarning(); | 574 o.warning = buildAutoscalersScopedListWarning(); |
| 575 } | 575 } |
| 576 buildCounterAutoscalersScopedList--; | 576 buildCounterAutoscalersScopedList--; |
| 577 return o; | 577 return o; |
| 578 } | 578 } |
| 579 | 579 |
| 580 checkAutoscalersScopedList(api.AutoscalersScopedList o) { | 580 checkAutoscalersScopedList(api.AutoscalersScopedList o) { |
| 581 buildCounterAutoscalersScopedList++; | 581 buildCounterAutoscalersScopedList++; |
| 582 if (buildCounterAutoscalersScopedList < 3) { | 582 if (buildCounterAutoscalersScopedList < 3) { |
| 583 checkUnnamed1910(o.autoscalers); | 583 checkUnnamed2014(o.autoscalers); |
| 584 checkAutoscalersScopedListWarning(o.warning); | 584 checkAutoscalersScopedListWarning(o.warning); |
| 585 } | 585 } |
| 586 buildCounterAutoscalersScopedList--; | 586 buildCounterAutoscalersScopedList--; |
| 587 } | 587 } |
| 588 | 588 |
| 589 buildUnnamed1912() { | 589 buildUnnamed2016() { |
| 590 var o = new core.List<api.AutoscalingPolicyCustomMetricUtilization>(); | 590 var o = new core.List<api.AutoscalingPolicyCustomMetricUtilization>(); |
| 591 o.add(buildAutoscalingPolicyCustomMetricUtilization()); | 591 o.add(buildAutoscalingPolicyCustomMetricUtilization()); |
| 592 o.add(buildAutoscalingPolicyCustomMetricUtilization()); | 592 o.add(buildAutoscalingPolicyCustomMetricUtilization()); |
| 593 return o; | 593 return o; |
| 594 } | 594 } |
| 595 | 595 |
| 596 checkUnnamed1912(core.List<api.AutoscalingPolicyCustomMetricUtilization> o) { | 596 checkUnnamed2016(core.List<api.AutoscalingPolicyCustomMetricUtilization> o) { |
| 597 unittest.expect(o, unittest.hasLength(2)); | 597 unittest.expect(o, unittest.hasLength(2)); |
| 598 checkAutoscalingPolicyCustomMetricUtilization(o[0]); | 598 checkAutoscalingPolicyCustomMetricUtilization(o[0]); |
| 599 checkAutoscalingPolicyCustomMetricUtilization(o[1]); | 599 checkAutoscalingPolicyCustomMetricUtilization(o[1]); |
| 600 } | 600 } |
| 601 | 601 |
| 602 core.int buildCounterAutoscalingPolicy = 0; | 602 core.int buildCounterAutoscalingPolicy = 0; |
| 603 buildAutoscalingPolicy() { | 603 buildAutoscalingPolicy() { |
| 604 var o = new api.AutoscalingPolicy(); | 604 var o = new api.AutoscalingPolicy(); |
| 605 buildCounterAutoscalingPolicy++; | 605 buildCounterAutoscalingPolicy++; |
| 606 if (buildCounterAutoscalingPolicy < 3) { | 606 if (buildCounterAutoscalingPolicy < 3) { |
| 607 o.coolDownPeriodSec = 42; | 607 o.coolDownPeriodSec = 42; |
| 608 o.cpuUtilization = buildAutoscalingPolicyCpuUtilization(); | 608 o.cpuUtilization = buildAutoscalingPolicyCpuUtilization(); |
| 609 o.customMetricUtilizations = buildUnnamed1912(); | 609 o.customMetricUtilizations = buildUnnamed2016(); |
| 610 o.loadBalancingUtilization = buildAutoscalingPolicyLoadBalancingUtilization(
); | 610 o.loadBalancingUtilization = buildAutoscalingPolicyLoadBalancingUtilization(
); |
| 611 o.maxNumReplicas = 42; | 611 o.maxNumReplicas = 42; |
| 612 o.minNumReplicas = 42; | 612 o.minNumReplicas = 42; |
| 613 } | 613 } |
| 614 buildCounterAutoscalingPolicy--; | 614 buildCounterAutoscalingPolicy--; |
| 615 return o; | 615 return o; |
| 616 } | 616 } |
| 617 | 617 |
| 618 checkAutoscalingPolicy(api.AutoscalingPolicy o) { | 618 checkAutoscalingPolicy(api.AutoscalingPolicy o) { |
| 619 buildCounterAutoscalingPolicy++; | 619 buildCounterAutoscalingPolicy++; |
| 620 if (buildCounterAutoscalingPolicy < 3) { | 620 if (buildCounterAutoscalingPolicy < 3) { |
| 621 unittest.expect(o.coolDownPeriodSec, unittest.equals(42)); | 621 unittest.expect(o.coolDownPeriodSec, unittest.equals(42)); |
| 622 checkAutoscalingPolicyCpuUtilization(o.cpuUtilization); | 622 checkAutoscalingPolicyCpuUtilization(o.cpuUtilization); |
| 623 checkUnnamed1912(o.customMetricUtilizations); | 623 checkUnnamed2016(o.customMetricUtilizations); |
| 624 checkAutoscalingPolicyLoadBalancingUtilization(o.loadBalancingUtilization); | 624 checkAutoscalingPolicyLoadBalancingUtilization(o.loadBalancingUtilization); |
| 625 unittest.expect(o.maxNumReplicas, unittest.equals(42)); | 625 unittest.expect(o.maxNumReplicas, unittest.equals(42)); |
| 626 unittest.expect(o.minNumReplicas, unittest.equals(42)); | 626 unittest.expect(o.minNumReplicas, unittest.equals(42)); |
| 627 } | 627 } |
| 628 buildCounterAutoscalingPolicy--; | 628 buildCounterAutoscalingPolicy--; |
| 629 } | 629 } |
| 630 | 630 |
| 631 core.int buildCounterAutoscalingPolicyCpuUtilization = 0; | 631 core.int buildCounterAutoscalingPolicyCpuUtilization = 0; |
| 632 buildAutoscalingPolicyCpuUtilization() { | 632 buildAutoscalingPolicyCpuUtilization() { |
| 633 var o = new api.AutoscalingPolicyCpuUtilization(); | 633 var o = new api.AutoscalingPolicyCpuUtilization(); |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 717 unittest.expect(o.group, unittest.equals('foo')); | 717 unittest.expect(o.group, unittest.equals('foo')); |
| 718 unittest.expect(o.maxConnections, unittest.equals(42)); | 718 unittest.expect(o.maxConnections, unittest.equals(42)); |
| 719 unittest.expect(o.maxConnectionsPerInstance, unittest.equals(42)); | 719 unittest.expect(o.maxConnectionsPerInstance, unittest.equals(42)); |
| 720 unittest.expect(o.maxRate, unittest.equals(42)); | 720 unittest.expect(o.maxRate, unittest.equals(42)); |
| 721 unittest.expect(o.maxRatePerInstance, unittest.equals(42.0)); | 721 unittest.expect(o.maxRatePerInstance, unittest.equals(42.0)); |
| 722 unittest.expect(o.maxUtilization, unittest.equals(42.0)); | 722 unittest.expect(o.maxUtilization, unittest.equals(42.0)); |
| 723 } | 723 } |
| 724 buildCounterBackend--; | 724 buildCounterBackend--; |
| 725 } | 725 } |
| 726 | 726 |
| 727 buildUnnamed1913() { | 727 core.int buildCounterBackendBucket = 0; |
| 728 buildBackendBucket() { |
| 729 var o = new api.BackendBucket(); |
| 730 buildCounterBackendBucket++; |
| 731 if (buildCounterBackendBucket < 3) { |
| 732 o.bucketName = "foo"; |
| 733 o.creationTimestamp = "foo"; |
| 734 o.description = "foo"; |
| 735 o.enableCdn = true; |
| 736 o.id = "foo"; |
| 737 o.kind = "foo"; |
| 738 o.name = "foo"; |
| 739 o.selfLink = "foo"; |
| 740 } |
| 741 buildCounterBackendBucket--; |
| 742 return o; |
| 743 } |
| 744 |
| 745 checkBackendBucket(api.BackendBucket o) { |
| 746 buildCounterBackendBucket++; |
| 747 if (buildCounterBackendBucket < 3) { |
| 748 unittest.expect(o.bucketName, unittest.equals('foo')); |
| 749 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 750 unittest.expect(o.description, unittest.equals('foo')); |
| 751 unittest.expect(o.enableCdn, unittest.isTrue); |
| 752 unittest.expect(o.id, unittest.equals('foo')); |
| 753 unittest.expect(o.kind, unittest.equals('foo')); |
| 754 unittest.expect(o.name, unittest.equals('foo')); |
| 755 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 756 } |
| 757 buildCounterBackendBucket--; |
| 758 } |
| 759 |
| 760 buildUnnamed2017() { |
| 761 var o = new core.List<api.BackendBucket>(); |
| 762 o.add(buildBackendBucket()); |
| 763 o.add(buildBackendBucket()); |
| 764 return o; |
| 765 } |
| 766 |
| 767 checkUnnamed2017(core.List<api.BackendBucket> o) { |
| 768 unittest.expect(o, unittest.hasLength(2)); |
| 769 checkBackendBucket(o[0]); |
| 770 checkBackendBucket(o[1]); |
| 771 } |
| 772 |
| 773 core.int buildCounterBackendBucketList = 0; |
| 774 buildBackendBucketList() { |
| 775 var o = new api.BackendBucketList(); |
| 776 buildCounterBackendBucketList++; |
| 777 if (buildCounterBackendBucketList < 3) { |
| 778 o.id = "foo"; |
| 779 o.items = buildUnnamed2017(); |
| 780 o.kind = "foo"; |
| 781 o.nextPageToken = "foo"; |
| 782 o.selfLink = "foo"; |
| 783 } |
| 784 buildCounterBackendBucketList--; |
| 785 return o; |
| 786 } |
| 787 |
| 788 checkBackendBucketList(api.BackendBucketList o) { |
| 789 buildCounterBackendBucketList++; |
| 790 if (buildCounterBackendBucketList < 3) { |
| 791 unittest.expect(o.id, unittest.equals('foo')); |
| 792 checkUnnamed2017(o.items); |
| 793 unittest.expect(o.kind, unittest.equals('foo')); |
| 794 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 795 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 796 } |
| 797 buildCounterBackendBucketList--; |
| 798 } |
| 799 |
| 800 buildUnnamed2018() { |
| 728 var o = new core.List<api.Backend>(); | 801 var o = new core.List<api.Backend>(); |
| 729 o.add(buildBackend()); | 802 o.add(buildBackend()); |
| 730 o.add(buildBackend()); | 803 o.add(buildBackend()); |
| 731 return o; | 804 return o; |
| 732 } | 805 } |
| 733 | 806 |
| 734 checkUnnamed1913(core.List<api.Backend> o) { | 807 checkUnnamed2018(core.List<api.Backend> o) { |
| 735 unittest.expect(o, unittest.hasLength(2)); | 808 unittest.expect(o, unittest.hasLength(2)); |
| 736 checkBackend(o[0]); | 809 checkBackend(o[0]); |
| 737 checkBackend(o[1]); | 810 checkBackend(o[1]); |
| 738 } | 811 } |
| 739 | 812 |
| 740 buildUnnamed1914() { | 813 buildUnnamed2019() { |
| 741 var o = new core.List<core.String>(); | 814 var o = new core.List<core.String>(); |
| 742 o.add("foo"); | 815 o.add("foo"); |
| 743 o.add("foo"); | 816 o.add("foo"); |
| 744 return o; | 817 return o; |
| 745 } | 818 } |
| 746 | 819 |
| 747 checkUnnamed1914(core.List<core.String> o) { | 820 checkUnnamed2019(core.List<core.String> o) { |
| 748 unittest.expect(o, unittest.hasLength(2)); | 821 unittest.expect(o, unittest.hasLength(2)); |
| 749 unittest.expect(o[0], unittest.equals('foo')); | 822 unittest.expect(o[0], unittest.equals('foo')); |
| 750 unittest.expect(o[1], unittest.equals('foo')); | 823 unittest.expect(o[1], unittest.equals('foo')); |
| 751 } | 824 } |
| 752 | 825 |
| 753 core.int buildCounterBackendService = 0; | 826 core.int buildCounterBackendService = 0; |
| 754 buildBackendService() { | 827 buildBackendService() { |
| 755 var o = new api.BackendService(); | 828 var o = new api.BackendService(); |
| 756 buildCounterBackendService++; | 829 buildCounterBackendService++; |
| 757 if (buildCounterBackendService < 3) { | 830 if (buildCounterBackendService < 3) { |
| 758 o.affinityCookieTtlSec = 42; | 831 o.affinityCookieTtlSec = 42; |
| 759 o.backends = buildUnnamed1913(); | 832 o.backends = buildUnnamed2018(); |
| 760 o.connectionDraining = buildConnectionDraining(); | 833 o.connectionDraining = buildConnectionDraining(); |
| 761 o.creationTimestamp = "foo"; | 834 o.creationTimestamp = "foo"; |
| 762 o.description = "foo"; | 835 o.description = "foo"; |
| 763 o.enableCDN = true; | 836 o.enableCDN = true; |
| 764 o.fingerprint = "foo"; | 837 o.fingerprint = "foo"; |
| 765 o.healthChecks = buildUnnamed1914(); | 838 o.healthChecks = buildUnnamed2019(); |
| 766 o.id = "foo"; | 839 o.id = "foo"; |
| 767 o.kind = "foo"; | 840 o.kind = "foo"; |
| 768 o.loadBalancingScheme = "foo"; | 841 o.loadBalancingScheme = "foo"; |
| 769 o.name = "foo"; | 842 o.name = "foo"; |
| 770 o.port = 42; | 843 o.port = 42; |
| 771 o.portName = "foo"; | 844 o.portName = "foo"; |
| 772 o.protocol = "foo"; | 845 o.protocol = "foo"; |
| 773 o.region = "foo"; | 846 o.region = "foo"; |
| 774 o.selfLink = "foo"; | 847 o.selfLink = "foo"; |
| 775 o.sessionAffinity = "foo"; | 848 o.sessionAffinity = "foo"; |
| 776 o.timeoutSec = 42; | 849 o.timeoutSec = 42; |
| 777 } | 850 } |
| 778 buildCounterBackendService--; | 851 buildCounterBackendService--; |
| 779 return o; | 852 return o; |
| 780 } | 853 } |
| 781 | 854 |
| 782 checkBackendService(api.BackendService o) { | 855 checkBackendService(api.BackendService o) { |
| 783 buildCounterBackendService++; | 856 buildCounterBackendService++; |
| 784 if (buildCounterBackendService < 3) { | 857 if (buildCounterBackendService < 3) { |
| 785 unittest.expect(o.affinityCookieTtlSec, unittest.equals(42)); | 858 unittest.expect(o.affinityCookieTtlSec, unittest.equals(42)); |
| 786 checkUnnamed1913(o.backends); | 859 checkUnnamed2018(o.backends); |
| 787 checkConnectionDraining(o.connectionDraining); | 860 checkConnectionDraining(o.connectionDraining); |
| 788 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 861 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 789 unittest.expect(o.description, unittest.equals('foo')); | 862 unittest.expect(o.description, unittest.equals('foo')); |
| 790 unittest.expect(o.enableCDN, unittest.isTrue); | 863 unittest.expect(o.enableCDN, unittest.isTrue); |
| 791 unittest.expect(o.fingerprint, unittest.equals('foo')); | 864 unittest.expect(o.fingerprint, unittest.equals('foo')); |
| 792 checkUnnamed1914(o.healthChecks); | 865 checkUnnamed2019(o.healthChecks); |
| 793 unittest.expect(o.id, unittest.equals('foo')); | 866 unittest.expect(o.id, unittest.equals('foo')); |
| 794 unittest.expect(o.kind, unittest.equals('foo')); | 867 unittest.expect(o.kind, unittest.equals('foo')); |
| 795 unittest.expect(o.loadBalancingScheme, unittest.equals('foo')); | 868 unittest.expect(o.loadBalancingScheme, unittest.equals('foo')); |
| 796 unittest.expect(o.name, unittest.equals('foo')); | 869 unittest.expect(o.name, unittest.equals('foo')); |
| 797 unittest.expect(o.port, unittest.equals(42)); | 870 unittest.expect(o.port, unittest.equals(42)); |
| 798 unittest.expect(o.portName, unittest.equals('foo')); | 871 unittest.expect(o.portName, unittest.equals('foo')); |
| 799 unittest.expect(o.protocol, unittest.equals('foo')); | 872 unittest.expect(o.protocol, unittest.equals('foo')); |
| 800 unittest.expect(o.region, unittest.equals('foo')); | 873 unittest.expect(o.region, unittest.equals('foo')); |
| 801 unittest.expect(o.selfLink, unittest.equals('foo')); | 874 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 802 unittest.expect(o.sessionAffinity, unittest.equals('foo')); | 875 unittest.expect(o.sessionAffinity, unittest.equals('foo')); |
| 803 unittest.expect(o.timeoutSec, unittest.equals(42)); | 876 unittest.expect(o.timeoutSec, unittest.equals(42)); |
| 804 } | 877 } |
| 805 buildCounterBackendService--; | 878 buildCounterBackendService--; |
| 806 } | 879 } |
| 807 | 880 |
| 808 buildUnnamed1915() { | 881 buildUnnamed2020() { |
| 809 var o = new core.Map<core.String, api.BackendServicesScopedList>(); | 882 var o = new core.Map<core.String, api.BackendServicesScopedList>(); |
| 810 o["x"] = buildBackendServicesScopedList(); | 883 o["x"] = buildBackendServicesScopedList(); |
| 811 o["y"] = buildBackendServicesScopedList(); | 884 o["y"] = buildBackendServicesScopedList(); |
| 812 return o; | 885 return o; |
| 813 } | 886 } |
| 814 | 887 |
| 815 checkUnnamed1915(core.Map<core.String, api.BackendServicesScopedList> o) { | 888 checkUnnamed2020(core.Map<core.String, api.BackendServicesScopedList> o) { |
| 816 unittest.expect(o, unittest.hasLength(2)); | 889 unittest.expect(o, unittest.hasLength(2)); |
| 817 checkBackendServicesScopedList(o["x"]); | 890 checkBackendServicesScopedList(o["x"]); |
| 818 checkBackendServicesScopedList(o["y"]); | 891 checkBackendServicesScopedList(o["y"]); |
| 819 } | 892 } |
| 820 | 893 |
| 821 core.int buildCounterBackendServiceAggregatedList = 0; | 894 core.int buildCounterBackendServiceAggregatedList = 0; |
| 822 buildBackendServiceAggregatedList() { | 895 buildBackendServiceAggregatedList() { |
| 823 var o = new api.BackendServiceAggregatedList(); | 896 var o = new api.BackendServiceAggregatedList(); |
| 824 buildCounterBackendServiceAggregatedList++; | 897 buildCounterBackendServiceAggregatedList++; |
| 825 if (buildCounterBackendServiceAggregatedList < 3) { | 898 if (buildCounterBackendServiceAggregatedList < 3) { |
| 826 o.id = "foo"; | 899 o.id = "foo"; |
| 827 o.items = buildUnnamed1915(); | 900 o.items = buildUnnamed2020(); |
| 828 o.kind = "foo"; | 901 o.kind = "foo"; |
| 829 o.nextPageToken = "foo"; | 902 o.nextPageToken = "foo"; |
| 830 o.selfLink = "foo"; | 903 o.selfLink = "foo"; |
| 831 } | 904 } |
| 832 buildCounterBackendServiceAggregatedList--; | 905 buildCounterBackendServiceAggregatedList--; |
| 833 return o; | 906 return o; |
| 834 } | 907 } |
| 835 | 908 |
| 836 checkBackendServiceAggregatedList(api.BackendServiceAggregatedList o) { | 909 checkBackendServiceAggregatedList(api.BackendServiceAggregatedList o) { |
| 837 buildCounterBackendServiceAggregatedList++; | 910 buildCounterBackendServiceAggregatedList++; |
| 838 if (buildCounterBackendServiceAggregatedList < 3) { | 911 if (buildCounterBackendServiceAggregatedList < 3) { |
| 839 unittest.expect(o.id, unittest.equals('foo')); | 912 unittest.expect(o.id, unittest.equals('foo')); |
| 840 checkUnnamed1915(o.items); | 913 checkUnnamed2020(o.items); |
| 841 unittest.expect(o.kind, unittest.equals('foo')); | 914 unittest.expect(o.kind, unittest.equals('foo')); |
| 842 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 915 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 843 unittest.expect(o.selfLink, unittest.equals('foo')); | 916 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 844 } | 917 } |
| 845 buildCounterBackendServiceAggregatedList--; | 918 buildCounterBackendServiceAggregatedList--; |
| 846 } | 919 } |
| 847 | 920 |
| 848 buildUnnamed1916() { | 921 buildUnnamed2021() { |
| 849 var o = new core.List<api.HealthStatus>(); | 922 var o = new core.List<api.HealthStatus>(); |
| 850 o.add(buildHealthStatus()); | 923 o.add(buildHealthStatus()); |
| 851 o.add(buildHealthStatus()); | 924 o.add(buildHealthStatus()); |
| 852 return o; | 925 return o; |
| 853 } | 926 } |
| 854 | 927 |
| 855 checkUnnamed1916(core.List<api.HealthStatus> o) { | 928 checkUnnamed2021(core.List<api.HealthStatus> o) { |
| 856 unittest.expect(o, unittest.hasLength(2)); | 929 unittest.expect(o, unittest.hasLength(2)); |
| 857 checkHealthStatus(o[0]); | 930 checkHealthStatus(o[0]); |
| 858 checkHealthStatus(o[1]); | 931 checkHealthStatus(o[1]); |
| 859 } | 932 } |
| 860 | 933 |
| 861 core.int buildCounterBackendServiceGroupHealth = 0; | 934 core.int buildCounterBackendServiceGroupHealth = 0; |
| 862 buildBackendServiceGroupHealth() { | 935 buildBackendServiceGroupHealth() { |
| 863 var o = new api.BackendServiceGroupHealth(); | 936 var o = new api.BackendServiceGroupHealth(); |
| 864 buildCounterBackendServiceGroupHealth++; | 937 buildCounterBackendServiceGroupHealth++; |
| 865 if (buildCounterBackendServiceGroupHealth < 3) { | 938 if (buildCounterBackendServiceGroupHealth < 3) { |
| 866 o.healthStatus = buildUnnamed1916(); | 939 o.healthStatus = buildUnnamed2021(); |
| 867 o.kind = "foo"; | 940 o.kind = "foo"; |
| 868 } | 941 } |
| 869 buildCounterBackendServiceGroupHealth--; | 942 buildCounterBackendServiceGroupHealth--; |
| 870 return o; | 943 return o; |
| 871 } | 944 } |
| 872 | 945 |
| 873 checkBackendServiceGroupHealth(api.BackendServiceGroupHealth o) { | 946 checkBackendServiceGroupHealth(api.BackendServiceGroupHealth o) { |
| 874 buildCounterBackendServiceGroupHealth++; | 947 buildCounterBackendServiceGroupHealth++; |
| 875 if (buildCounterBackendServiceGroupHealth < 3) { | 948 if (buildCounterBackendServiceGroupHealth < 3) { |
| 876 checkUnnamed1916(o.healthStatus); | 949 checkUnnamed2021(o.healthStatus); |
| 877 unittest.expect(o.kind, unittest.equals('foo')); | 950 unittest.expect(o.kind, unittest.equals('foo')); |
| 878 } | 951 } |
| 879 buildCounterBackendServiceGroupHealth--; | 952 buildCounterBackendServiceGroupHealth--; |
| 880 } | 953 } |
| 881 | 954 |
| 882 buildUnnamed1917() { | 955 buildUnnamed2022() { |
| 883 var o = new core.List<api.BackendService>(); | 956 var o = new core.List<api.BackendService>(); |
| 884 o.add(buildBackendService()); | 957 o.add(buildBackendService()); |
| 885 o.add(buildBackendService()); | 958 o.add(buildBackendService()); |
| 886 return o; | 959 return o; |
| 887 } | 960 } |
| 888 | 961 |
| 889 checkUnnamed1917(core.List<api.BackendService> o) { | 962 checkUnnamed2022(core.List<api.BackendService> o) { |
| 890 unittest.expect(o, unittest.hasLength(2)); | 963 unittest.expect(o, unittest.hasLength(2)); |
| 891 checkBackendService(o[0]); | 964 checkBackendService(o[0]); |
| 892 checkBackendService(o[1]); | 965 checkBackendService(o[1]); |
| 893 } | 966 } |
| 894 | 967 |
| 895 core.int buildCounterBackendServiceList = 0; | 968 core.int buildCounterBackendServiceList = 0; |
| 896 buildBackendServiceList() { | 969 buildBackendServiceList() { |
| 897 var o = new api.BackendServiceList(); | 970 var o = new api.BackendServiceList(); |
| 898 buildCounterBackendServiceList++; | 971 buildCounterBackendServiceList++; |
| 899 if (buildCounterBackendServiceList < 3) { | 972 if (buildCounterBackendServiceList < 3) { |
| 900 o.id = "foo"; | 973 o.id = "foo"; |
| 901 o.items = buildUnnamed1917(); | 974 o.items = buildUnnamed2022(); |
| 902 o.kind = "foo"; | 975 o.kind = "foo"; |
| 903 o.nextPageToken = "foo"; | 976 o.nextPageToken = "foo"; |
| 904 o.selfLink = "foo"; | 977 o.selfLink = "foo"; |
| 905 } | 978 } |
| 906 buildCounterBackendServiceList--; | 979 buildCounterBackendServiceList--; |
| 907 return o; | 980 return o; |
| 908 } | 981 } |
| 909 | 982 |
| 910 checkBackendServiceList(api.BackendServiceList o) { | 983 checkBackendServiceList(api.BackendServiceList o) { |
| 911 buildCounterBackendServiceList++; | 984 buildCounterBackendServiceList++; |
| 912 if (buildCounterBackendServiceList < 3) { | 985 if (buildCounterBackendServiceList < 3) { |
| 913 unittest.expect(o.id, unittest.equals('foo')); | 986 unittest.expect(o.id, unittest.equals('foo')); |
| 914 checkUnnamed1917(o.items); | 987 checkUnnamed2022(o.items); |
| 915 unittest.expect(o.kind, unittest.equals('foo')); | 988 unittest.expect(o.kind, unittest.equals('foo')); |
| 916 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 989 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 917 unittest.expect(o.selfLink, unittest.equals('foo')); | 990 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 918 } | 991 } |
| 919 buildCounterBackendServiceList--; | 992 buildCounterBackendServiceList--; |
| 920 } | 993 } |
| 921 | 994 |
| 922 buildUnnamed1918() { | 995 buildUnnamed2023() { |
| 923 var o = new core.List<api.BackendService>(); | 996 var o = new core.List<api.BackendService>(); |
| 924 o.add(buildBackendService()); | 997 o.add(buildBackendService()); |
| 925 o.add(buildBackendService()); | 998 o.add(buildBackendService()); |
| 926 return o; | 999 return o; |
| 927 } | 1000 } |
| 928 | 1001 |
| 929 checkUnnamed1918(core.List<api.BackendService> o) { | 1002 checkUnnamed2023(core.List<api.BackendService> o) { |
| 930 unittest.expect(o, unittest.hasLength(2)); | 1003 unittest.expect(o, unittest.hasLength(2)); |
| 931 checkBackendService(o[0]); | 1004 checkBackendService(o[0]); |
| 932 checkBackendService(o[1]); | 1005 checkBackendService(o[1]); |
| 933 } | 1006 } |
| 934 | 1007 |
| 935 core.int buildCounterBackendServicesScopedListWarningData = 0; | 1008 core.int buildCounterBackendServicesScopedListWarningData = 0; |
| 936 buildBackendServicesScopedListWarningData() { | 1009 buildBackendServicesScopedListWarningData() { |
| 937 var o = new api.BackendServicesScopedListWarningData(); | 1010 var o = new api.BackendServicesScopedListWarningData(); |
| 938 buildCounterBackendServicesScopedListWarningData++; | 1011 buildCounterBackendServicesScopedListWarningData++; |
| 939 if (buildCounterBackendServicesScopedListWarningData < 3) { | 1012 if (buildCounterBackendServicesScopedListWarningData < 3) { |
| 940 o.key = "foo"; | 1013 o.key = "foo"; |
| 941 o.value = "foo"; | 1014 o.value = "foo"; |
| 942 } | 1015 } |
| 943 buildCounterBackendServicesScopedListWarningData--; | 1016 buildCounterBackendServicesScopedListWarningData--; |
| 944 return o; | 1017 return o; |
| 945 } | 1018 } |
| 946 | 1019 |
| 947 checkBackendServicesScopedListWarningData(api.BackendServicesScopedListWarningDa
ta o) { | 1020 checkBackendServicesScopedListWarningData(api.BackendServicesScopedListWarningDa
ta o) { |
| 948 buildCounterBackendServicesScopedListWarningData++; | 1021 buildCounterBackendServicesScopedListWarningData++; |
| 949 if (buildCounterBackendServicesScopedListWarningData < 3) { | 1022 if (buildCounterBackendServicesScopedListWarningData < 3) { |
| 950 unittest.expect(o.key, unittest.equals('foo')); | 1023 unittest.expect(o.key, unittest.equals('foo')); |
| 951 unittest.expect(o.value, unittest.equals('foo')); | 1024 unittest.expect(o.value, unittest.equals('foo')); |
| 952 } | 1025 } |
| 953 buildCounterBackendServicesScopedListWarningData--; | 1026 buildCounterBackendServicesScopedListWarningData--; |
| 954 } | 1027 } |
| 955 | 1028 |
| 956 buildUnnamed1919() { | 1029 buildUnnamed2024() { |
| 957 var o = new core.List<api.BackendServicesScopedListWarningData>(); | 1030 var o = new core.List<api.BackendServicesScopedListWarningData>(); |
| 958 o.add(buildBackendServicesScopedListWarningData()); | 1031 o.add(buildBackendServicesScopedListWarningData()); |
| 959 o.add(buildBackendServicesScopedListWarningData()); | 1032 o.add(buildBackendServicesScopedListWarningData()); |
| 960 return o; | 1033 return o; |
| 961 } | 1034 } |
| 962 | 1035 |
| 963 checkUnnamed1919(core.List<api.BackendServicesScopedListWarningData> o) { | 1036 checkUnnamed2024(core.List<api.BackendServicesScopedListWarningData> o) { |
| 964 unittest.expect(o, unittest.hasLength(2)); | 1037 unittest.expect(o, unittest.hasLength(2)); |
| 965 checkBackendServicesScopedListWarningData(o[0]); | 1038 checkBackendServicesScopedListWarningData(o[0]); |
| 966 checkBackendServicesScopedListWarningData(o[1]); | 1039 checkBackendServicesScopedListWarningData(o[1]); |
| 967 } | 1040 } |
| 968 | 1041 |
| 969 core.int buildCounterBackendServicesScopedListWarning = 0; | 1042 core.int buildCounterBackendServicesScopedListWarning = 0; |
| 970 buildBackendServicesScopedListWarning() { | 1043 buildBackendServicesScopedListWarning() { |
| 971 var o = new api.BackendServicesScopedListWarning(); | 1044 var o = new api.BackendServicesScopedListWarning(); |
| 972 buildCounterBackendServicesScopedListWarning++; | 1045 buildCounterBackendServicesScopedListWarning++; |
| 973 if (buildCounterBackendServicesScopedListWarning < 3) { | 1046 if (buildCounterBackendServicesScopedListWarning < 3) { |
| 974 o.code = "foo"; | 1047 o.code = "foo"; |
| 975 o.data = buildUnnamed1919(); | 1048 o.data = buildUnnamed2024(); |
| 976 o.message = "foo"; | 1049 o.message = "foo"; |
| 977 } | 1050 } |
| 978 buildCounterBackendServicesScopedListWarning--; | 1051 buildCounterBackendServicesScopedListWarning--; |
| 979 return o; | 1052 return o; |
| 980 } | 1053 } |
| 981 | 1054 |
| 982 checkBackendServicesScopedListWarning(api.BackendServicesScopedListWarning o) { | 1055 checkBackendServicesScopedListWarning(api.BackendServicesScopedListWarning o) { |
| 983 buildCounterBackendServicesScopedListWarning++; | 1056 buildCounterBackendServicesScopedListWarning++; |
| 984 if (buildCounterBackendServicesScopedListWarning < 3) { | 1057 if (buildCounterBackendServicesScopedListWarning < 3) { |
| 985 unittest.expect(o.code, unittest.equals('foo')); | 1058 unittest.expect(o.code, unittest.equals('foo')); |
| 986 checkUnnamed1919(o.data); | 1059 checkUnnamed2024(o.data); |
| 987 unittest.expect(o.message, unittest.equals('foo')); | 1060 unittest.expect(o.message, unittest.equals('foo')); |
| 988 } | 1061 } |
| 989 buildCounterBackendServicesScopedListWarning--; | 1062 buildCounterBackendServicesScopedListWarning--; |
| 990 } | 1063 } |
| 991 | 1064 |
| 992 core.int buildCounterBackendServicesScopedList = 0; | 1065 core.int buildCounterBackendServicesScopedList = 0; |
| 993 buildBackendServicesScopedList() { | 1066 buildBackendServicesScopedList() { |
| 994 var o = new api.BackendServicesScopedList(); | 1067 var o = new api.BackendServicesScopedList(); |
| 995 buildCounterBackendServicesScopedList++; | 1068 buildCounterBackendServicesScopedList++; |
| 996 if (buildCounterBackendServicesScopedList < 3) { | 1069 if (buildCounterBackendServicesScopedList < 3) { |
| 997 o.backendServices = buildUnnamed1918(); | 1070 o.backendServices = buildUnnamed2023(); |
| 998 o.warning = buildBackendServicesScopedListWarning(); | 1071 o.warning = buildBackendServicesScopedListWarning(); |
| 999 } | 1072 } |
| 1000 buildCounterBackendServicesScopedList--; | 1073 buildCounterBackendServicesScopedList--; |
| 1001 return o; | 1074 return o; |
| 1002 } | 1075 } |
| 1003 | 1076 |
| 1004 checkBackendServicesScopedList(api.BackendServicesScopedList o) { | 1077 checkBackendServicesScopedList(api.BackendServicesScopedList o) { |
| 1005 buildCounterBackendServicesScopedList++; | 1078 buildCounterBackendServicesScopedList++; |
| 1006 if (buildCounterBackendServicesScopedList < 3) { | 1079 if (buildCounterBackendServicesScopedList < 3) { |
| 1007 checkUnnamed1918(o.backendServices); | 1080 checkUnnamed2023(o.backendServices); |
| 1008 checkBackendServicesScopedListWarning(o.warning); | 1081 checkBackendServicesScopedListWarning(o.warning); |
| 1009 } | 1082 } |
| 1010 buildCounterBackendServicesScopedList--; | 1083 buildCounterBackendServicesScopedList--; |
| 1011 } | 1084 } |
| 1012 | 1085 |
| 1013 core.int buildCounterCacheInvalidationRule = 0; | 1086 core.int buildCounterCacheInvalidationRule = 0; |
| 1014 buildCacheInvalidationRule() { | 1087 buildCacheInvalidationRule() { |
| 1015 var o = new api.CacheInvalidationRule(); | 1088 var o = new api.CacheInvalidationRule(); |
| 1016 buildCounterCacheInvalidationRule++; | 1089 buildCounterCacheInvalidationRule++; |
| 1017 if (buildCounterCacheInvalidationRule < 3) { | 1090 if (buildCounterCacheInvalidationRule < 3) { |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1112 if (buildCounterDeprecationStatus < 3) { | 1185 if (buildCounterDeprecationStatus < 3) { |
| 1113 unittest.expect(o.deleted, unittest.equals('foo')); | 1186 unittest.expect(o.deleted, unittest.equals('foo')); |
| 1114 unittest.expect(o.deprecated, unittest.equals('foo')); | 1187 unittest.expect(o.deprecated, unittest.equals('foo')); |
| 1115 unittest.expect(o.obsolete, unittest.equals('foo')); | 1188 unittest.expect(o.obsolete, unittest.equals('foo')); |
| 1116 unittest.expect(o.replacement, unittest.equals('foo')); | 1189 unittest.expect(o.replacement, unittest.equals('foo')); |
| 1117 unittest.expect(o.state, unittest.equals('foo')); | 1190 unittest.expect(o.state, unittest.equals('foo')); |
| 1118 } | 1191 } |
| 1119 buildCounterDeprecationStatus--; | 1192 buildCounterDeprecationStatus--; |
| 1120 } | 1193 } |
| 1121 | 1194 |
| 1122 buildUnnamed1920() { | 1195 buildUnnamed2025() { |
| 1123 var o = new core.List<core.String>(); | 1196 var o = new core.List<core.String>(); |
| 1124 o.add("foo"); | 1197 o.add("foo"); |
| 1125 o.add("foo"); | 1198 o.add("foo"); |
| 1126 return o; | 1199 return o; |
| 1127 } | 1200 } |
| 1128 | 1201 |
| 1129 checkUnnamed1920(core.List<core.String> o) { | 1202 checkUnnamed2025(core.List<core.String> o) { |
| 1130 unittest.expect(o, unittest.hasLength(2)); | 1203 unittest.expect(o, unittest.hasLength(2)); |
| 1131 unittest.expect(o[0], unittest.equals('foo')); | 1204 unittest.expect(o[0], unittest.equals('foo')); |
| 1132 unittest.expect(o[1], unittest.equals('foo')); | 1205 unittest.expect(o[1], unittest.equals('foo')); |
| 1133 } | 1206 } |
| 1134 | 1207 |
| 1135 buildUnnamed1921() { | 1208 buildUnnamed2026() { |
| 1136 var o = new core.List<core.String>(); | 1209 var o = new core.List<core.String>(); |
| 1137 o.add("foo"); | 1210 o.add("foo"); |
| 1138 o.add("foo"); | 1211 o.add("foo"); |
| 1139 return o; | 1212 return o; |
| 1140 } | 1213 } |
| 1141 | 1214 |
| 1142 checkUnnamed1921(core.List<core.String> o) { | 1215 checkUnnamed2026(core.List<core.String> o) { |
| 1143 unittest.expect(o, unittest.hasLength(2)); | 1216 unittest.expect(o, unittest.hasLength(2)); |
| 1144 unittest.expect(o[0], unittest.equals('foo')); | 1217 unittest.expect(o[0], unittest.equals('foo')); |
| 1145 unittest.expect(o[1], unittest.equals('foo')); | 1218 unittest.expect(o[1], unittest.equals('foo')); |
| 1146 } | 1219 } |
| 1147 | 1220 |
| 1148 core.int buildCounterDisk = 0; | 1221 core.int buildCounterDisk = 0; |
| 1149 buildDisk() { | 1222 buildDisk() { |
| 1150 var o = new api.Disk(); | 1223 var o = new api.Disk(); |
| 1151 buildCounterDisk++; | 1224 buildCounterDisk++; |
| 1152 if (buildCounterDisk < 3) { | 1225 if (buildCounterDisk < 3) { |
| 1153 o.creationTimestamp = "foo"; | 1226 o.creationTimestamp = "foo"; |
| 1154 o.description = "foo"; | 1227 o.description = "foo"; |
| 1155 o.diskEncryptionKey = buildCustomerEncryptionKey(); | 1228 o.diskEncryptionKey = buildCustomerEncryptionKey(); |
| 1156 o.id = "foo"; | 1229 o.id = "foo"; |
| 1157 o.kind = "foo"; | 1230 o.kind = "foo"; |
| 1158 o.lastAttachTimestamp = "foo"; | 1231 o.lastAttachTimestamp = "foo"; |
| 1159 o.lastDetachTimestamp = "foo"; | 1232 o.lastDetachTimestamp = "foo"; |
| 1160 o.licenses = buildUnnamed1920(); | 1233 o.licenses = buildUnnamed2025(); |
| 1161 o.name = "foo"; | 1234 o.name = "foo"; |
| 1162 o.options = "foo"; | 1235 o.options = "foo"; |
| 1163 o.selfLink = "foo"; | 1236 o.selfLink = "foo"; |
| 1164 o.sizeGb = "foo"; | 1237 o.sizeGb = "foo"; |
| 1165 o.sourceImage = "foo"; | 1238 o.sourceImage = "foo"; |
| 1166 o.sourceImageEncryptionKey = buildCustomerEncryptionKey(); | 1239 o.sourceImageEncryptionKey = buildCustomerEncryptionKey(); |
| 1167 o.sourceImageId = "foo"; | 1240 o.sourceImageId = "foo"; |
| 1168 o.sourceSnapshot = "foo"; | 1241 o.sourceSnapshot = "foo"; |
| 1169 o.sourceSnapshotEncryptionKey = buildCustomerEncryptionKey(); | 1242 o.sourceSnapshotEncryptionKey = buildCustomerEncryptionKey(); |
| 1170 o.sourceSnapshotId = "foo"; | 1243 o.sourceSnapshotId = "foo"; |
| 1171 o.status = "foo"; | 1244 o.status = "foo"; |
| 1172 o.type = "foo"; | 1245 o.type = "foo"; |
| 1173 o.users = buildUnnamed1921(); | 1246 o.users = buildUnnamed2026(); |
| 1174 o.zone = "foo"; | 1247 o.zone = "foo"; |
| 1175 } | 1248 } |
| 1176 buildCounterDisk--; | 1249 buildCounterDisk--; |
| 1177 return o; | 1250 return o; |
| 1178 } | 1251 } |
| 1179 | 1252 |
| 1180 checkDisk(api.Disk o) { | 1253 checkDisk(api.Disk o) { |
| 1181 buildCounterDisk++; | 1254 buildCounterDisk++; |
| 1182 if (buildCounterDisk < 3) { | 1255 if (buildCounterDisk < 3) { |
| 1183 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 1256 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 1184 unittest.expect(o.description, unittest.equals('foo')); | 1257 unittest.expect(o.description, unittest.equals('foo')); |
| 1185 checkCustomerEncryptionKey(o.diskEncryptionKey); | 1258 checkCustomerEncryptionKey(o.diskEncryptionKey); |
| 1186 unittest.expect(o.id, unittest.equals('foo')); | 1259 unittest.expect(o.id, unittest.equals('foo')); |
| 1187 unittest.expect(o.kind, unittest.equals('foo')); | 1260 unittest.expect(o.kind, unittest.equals('foo')); |
| 1188 unittest.expect(o.lastAttachTimestamp, unittest.equals('foo')); | 1261 unittest.expect(o.lastAttachTimestamp, unittest.equals('foo')); |
| 1189 unittest.expect(o.lastDetachTimestamp, unittest.equals('foo')); | 1262 unittest.expect(o.lastDetachTimestamp, unittest.equals('foo')); |
| 1190 checkUnnamed1920(o.licenses); | 1263 checkUnnamed2025(o.licenses); |
| 1191 unittest.expect(o.name, unittest.equals('foo')); | 1264 unittest.expect(o.name, unittest.equals('foo')); |
| 1192 unittest.expect(o.options, unittest.equals('foo')); | 1265 unittest.expect(o.options, unittest.equals('foo')); |
| 1193 unittest.expect(o.selfLink, unittest.equals('foo')); | 1266 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1194 unittest.expect(o.sizeGb, unittest.equals('foo')); | 1267 unittest.expect(o.sizeGb, unittest.equals('foo')); |
| 1195 unittest.expect(o.sourceImage, unittest.equals('foo')); | 1268 unittest.expect(o.sourceImage, unittest.equals('foo')); |
| 1196 checkCustomerEncryptionKey(o.sourceImageEncryptionKey); | 1269 checkCustomerEncryptionKey(o.sourceImageEncryptionKey); |
| 1197 unittest.expect(o.sourceImageId, unittest.equals('foo')); | 1270 unittest.expect(o.sourceImageId, unittest.equals('foo')); |
| 1198 unittest.expect(o.sourceSnapshot, unittest.equals('foo')); | 1271 unittest.expect(o.sourceSnapshot, unittest.equals('foo')); |
| 1199 checkCustomerEncryptionKey(o.sourceSnapshotEncryptionKey); | 1272 checkCustomerEncryptionKey(o.sourceSnapshotEncryptionKey); |
| 1200 unittest.expect(o.sourceSnapshotId, unittest.equals('foo')); | 1273 unittest.expect(o.sourceSnapshotId, unittest.equals('foo')); |
| 1201 unittest.expect(o.status, unittest.equals('foo')); | 1274 unittest.expect(o.status, unittest.equals('foo')); |
| 1202 unittest.expect(o.type, unittest.equals('foo')); | 1275 unittest.expect(o.type, unittest.equals('foo')); |
| 1203 checkUnnamed1921(o.users); | 1276 checkUnnamed2026(o.users); |
| 1204 unittest.expect(o.zone, unittest.equals('foo')); | 1277 unittest.expect(o.zone, unittest.equals('foo')); |
| 1205 } | 1278 } |
| 1206 buildCounterDisk--; | 1279 buildCounterDisk--; |
| 1207 } | 1280 } |
| 1208 | 1281 |
| 1209 buildUnnamed1922() { | 1282 buildUnnamed2027() { |
| 1210 var o = new core.Map<core.String, api.DisksScopedList>(); | 1283 var o = new core.Map<core.String, api.DisksScopedList>(); |
| 1211 o["x"] = buildDisksScopedList(); | 1284 o["x"] = buildDisksScopedList(); |
| 1212 o["y"] = buildDisksScopedList(); | 1285 o["y"] = buildDisksScopedList(); |
| 1213 return o; | 1286 return o; |
| 1214 } | 1287 } |
| 1215 | 1288 |
| 1216 checkUnnamed1922(core.Map<core.String, api.DisksScopedList> o) { | 1289 checkUnnamed2027(core.Map<core.String, api.DisksScopedList> o) { |
| 1217 unittest.expect(o, unittest.hasLength(2)); | 1290 unittest.expect(o, unittest.hasLength(2)); |
| 1218 checkDisksScopedList(o["x"]); | 1291 checkDisksScopedList(o["x"]); |
| 1219 checkDisksScopedList(o["y"]); | 1292 checkDisksScopedList(o["y"]); |
| 1220 } | 1293 } |
| 1221 | 1294 |
| 1222 core.int buildCounterDiskAggregatedList = 0; | 1295 core.int buildCounterDiskAggregatedList = 0; |
| 1223 buildDiskAggregatedList() { | 1296 buildDiskAggregatedList() { |
| 1224 var o = new api.DiskAggregatedList(); | 1297 var o = new api.DiskAggregatedList(); |
| 1225 buildCounterDiskAggregatedList++; | 1298 buildCounterDiskAggregatedList++; |
| 1226 if (buildCounterDiskAggregatedList < 3) { | 1299 if (buildCounterDiskAggregatedList < 3) { |
| 1227 o.id = "foo"; | 1300 o.id = "foo"; |
| 1228 o.items = buildUnnamed1922(); | 1301 o.items = buildUnnamed2027(); |
| 1229 o.kind = "foo"; | 1302 o.kind = "foo"; |
| 1230 o.nextPageToken = "foo"; | 1303 o.nextPageToken = "foo"; |
| 1231 o.selfLink = "foo"; | 1304 o.selfLink = "foo"; |
| 1232 } | 1305 } |
| 1233 buildCounterDiskAggregatedList--; | 1306 buildCounterDiskAggregatedList--; |
| 1234 return o; | 1307 return o; |
| 1235 } | 1308 } |
| 1236 | 1309 |
| 1237 checkDiskAggregatedList(api.DiskAggregatedList o) { | 1310 checkDiskAggregatedList(api.DiskAggregatedList o) { |
| 1238 buildCounterDiskAggregatedList++; | 1311 buildCounterDiskAggregatedList++; |
| 1239 if (buildCounterDiskAggregatedList < 3) { | 1312 if (buildCounterDiskAggregatedList < 3) { |
| 1240 unittest.expect(o.id, unittest.equals('foo')); | 1313 unittest.expect(o.id, unittest.equals('foo')); |
| 1241 checkUnnamed1922(o.items); | 1314 checkUnnamed2027(o.items); |
| 1242 unittest.expect(o.kind, unittest.equals('foo')); | 1315 unittest.expect(o.kind, unittest.equals('foo')); |
| 1243 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1316 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1244 unittest.expect(o.selfLink, unittest.equals('foo')); | 1317 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1245 } | 1318 } |
| 1246 buildCounterDiskAggregatedList--; | 1319 buildCounterDiskAggregatedList--; |
| 1247 } | 1320 } |
| 1248 | 1321 |
| 1249 buildUnnamed1923() { | 1322 buildUnnamed2028() { |
| 1250 var o = new core.List<api.Disk>(); | 1323 var o = new core.List<api.Disk>(); |
| 1251 o.add(buildDisk()); | 1324 o.add(buildDisk()); |
| 1252 o.add(buildDisk()); | 1325 o.add(buildDisk()); |
| 1253 return o; | 1326 return o; |
| 1254 } | 1327 } |
| 1255 | 1328 |
| 1256 checkUnnamed1923(core.List<api.Disk> o) { | 1329 checkUnnamed2028(core.List<api.Disk> o) { |
| 1257 unittest.expect(o, unittest.hasLength(2)); | 1330 unittest.expect(o, unittest.hasLength(2)); |
| 1258 checkDisk(o[0]); | 1331 checkDisk(o[0]); |
| 1259 checkDisk(o[1]); | 1332 checkDisk(o[1]); |
| 1260 } | 1333 } |
| 1261 | 1334 |
| 1262 core.int buildCounterDiskList = 0; | 1335 core.int buildCounterDiskList = 0; |
| 1263 buildDiskList() { | 1336 buildDiskList() { |
| 1264 var o = new api.DiskList(); | 1337 var o = new api.DiskList(); |
| 1265 buildCounterDiskList++; | 1338 buildCounterDiskList++; |
| 1266 if (buildCounterDiskList < 3) { | 1339 if (buildCounterDiskList < 3) { |
| 1267 o.id = "foo"; | 1340 o.id = "foo"; |
| 1268 o.items = buildUnnamed1923(); | 1341 o.items = buildUnnamed2028(); |
| 1269 o.kind = "foo"; | 1342 o.kind = "foo"; |
| 1270 o.nextPageToken = "foo"; | 1343 o.nextPageToken = "foo"; |
| 1271 o.selfLink = "foo"; | 1344 o.selfLink = "foo"; |
| 1272 } | 1345 } |
| 1273 buildCounterDiskList--; | 1346 buildCounterDiskList--; |
| 1274 return o; | 1347 return o; |
| 1275 } | 1348 } |
| 1276 | 1349 |
| 1277 checkDiskList(api.DiskList o) { | 1350 checkDiskList(api.DiskList o) { |
| 1278 buildCounterDiskList++; | 1351 buildCounterDiskList++; |
| 1279 if (buildCounterDiskList < 3) { | 1352 if (buildCounterDiskList < 3) { |
| 1280 unittest.expect(o.id, unittest.equals('foo')); | 1353 unittest.expect(o.id, unittest.equals('foo')); |
| 1281 checkUnnamed1923(o.items); | 1354 checkUnnamed2028(o.items); |
| 1282 unittest.expect(o.kind, unittest.equals('foo')); | 1355 unittest.expect(o.kind, unittest.equals('foo')); |
| 1283 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1356 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1284 unittest.expect(o.selfLink, unittest.equals('foo')); | 1357 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1285 } | 1358 } |
| 1286 buildCounterDiskList--; | 1359 buildCounterDiskList--; |
| 1287 } | 1360 } |
| 1288 | 1361 |
| 1289 core.int buildCounterDiskMoveRequest = 0; | 1362 core.int buildCounterDiskMoveRequest = 0; |
| 1290 buildDiskMoveRequest() { | 1363 buildDiskMoveRequest() { |
| 1291 var o = new api.DiskMoveRequest(); | 1364 var o = new api.DiskMoveRequest(); |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1337 unittest.expect(o.id, unittest.equals('foo')); | 1410 unittest.expect(o.id, unittest.equals('foo')); |
| 1338 unittest.expect(o.kind, unittest.equals('foo')); | 1411 unittest.expect(o.kind, unittest.equals('foo')); |
| 1339 unittest.expect(o.name, unittest.equals('foo')); | 1412 unittest.expect(o.name, unittest.equals('foo')); |
| 1340 unittest.expect(o.selfLink, unittest.equals('foo')); | 1413 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1341 unittest.expect(o.validDiskSize, unittest.equals('foo')); | 1414 unittest.expect(o.validDiskSize, unittest.equals('foo')); |
| 1342 unittest.expect(o.zone, unittest.equals('foo')); | 1415 unittest.expect(o.zone, unittest.equals('foo')); |
| 1343 } | 1416 } |
| 1344 buildCounterDiskType--; | 1417 buildCounterDiskType--; |
| 1345 } | 1418 } |
| 1346 | 1419 |
| 1347 buildUnnamed1924() { | 1420 buildUnnamed2029() { |
| 1348 var o = new core.Map<core.String, api.DiskTypesScopedList>(); | 1421 var o = new core.Map<core.String, api.DiskTypesScopedList>(); |
| 1349 o["x"] = buildDiskTypesScopedList(); | 1422 o["x"] = buildDiskTypesScopedList(); |
| 1350 o["y"] = buildDiskTypesScopedList(); | 1423 o["y"] = buildDiskTypesScopedList(); |
| 1351 return o; | 1424 return o; |
| 1352 } | 1425 } |
| 1353 | 1426 |
| 1354 checkUnnamed1924(core.Map<core.String, api.DiskTypesScopedList> o) { | 1427 checkUnnamed2029(core.Map<core.String, api.DiskTypesScopedList> o) { |
| 1355 unittest.expect(o, unittest.hasLength(2)); | 1428 unittest.expect(o, unittest.hasLength(2)); |
| 1356 checkDiskTypesScopedList(o["x"]); | 1429 checkDiskTypesScopedList(o["x"]); |
| 1357 checkDiskTypesScopedList(o["y"]); | 1430 checkDiskTypesScopedList(o["y"]); |
| 1358 } | 1431 } |
| 1359 | 1432 |
| 1360 core.int buildCounterDiskTypeAggregatedList = 0; | 1433 core.int buildCounterDiskTypeAggregatedList = 0; |
| 1361 buildDiskTypeAggregatedList() { | 1434 buildDiskTypeAggregatedList() { |
| 1362 var o = new api.DiskTypeAggregatedList(); | 1435 var o = new api.DiskTypeAggregatedList(); |
| 1363 buildCounterDiskTypeAggregatedList++; | 1436 buildCounterDiskTypeAggregatedList++; |
| 1364 if (buildCounterDiskTypeAggregatedList < 3) { | 1437 if (buildCounterDiskTypeAggregatedList < 3) { |
| 1365 o.id = "foo"; | 1438 o.id = "foo"; |
| 1366 o.items = buildUnnamed1924(); | 1439 o.items = buildUnnamed2029(); |
| 1367 o.kind = "foo"; | 1440 o.kind = "foo"; |
| 1368 o.nextPageToken = "foo"; | 1441 o.nextPageToken = "foo"; |
| 1369 o.selfLink = "foo"; | 1442 o.selfLink = "foo"; |
| 1370 } | 1443 } |
| 1371 buildCounterDiskTypeAggregatedList--; | 1444 buildCounterDiskTypeAggregatedList--; |
| 1372 return o; | 1445 return o; |
| 1373 } | 1446 } |
| 1374 | 1447 |
| 1375 checkDiskTypeAggregatedList(api.DiskTypeAggregatedList o) { | 1448 checkDiskTypeAggregatedList(api.DiskTypeAggregatedList o) { |
| 1376 buildCounterDiskTypeAggregatedList++; | 1449 buildCounterDiskTypeAggregatedList++; |
| 1377 if (buildCounterDiskTypeAggregatedList < 3) { | 1450 if (buildCounterDiskTypeAggregatedList < 3) { |
| 1378 unittest.expect(o.id, unittest.equals('foo')); | 1451 unittest.expect(o.id, unittest.equals('foo')); |
| 1379 checkUnnamed1924(o.items); | 1452 checkUnnamed2029(o.items); |
| 1380 unittest.expect(o.kind, unittest.equals('foo')); | 1453 unittest.expect(o.kind, unittest.equals('foo')); |
| 1381 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1454 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1382 unittest.expect(o.selfLink, unittest.equals('foo')); | 1455 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1383 } | 1456 } |
| 1384 buildCounterDiskTypeAggregatedList--; | 1457 buildCounterDiskTypeAggregatedList--; |
| 1385 } | 1458 } |
| 1386 | 1459 |
| 1387 buildUnnamed1925() { | 1460 buildUnnamed2030() { |
| 1388 var o = new core.List<api.DiskType>(); | 1461 var o = new core.List<api.DiskType>(); |
| 1389 o.add(buildDiskType()); | 1462 o.add(buildDiskType()); |
| 1390 o.add(buildDiskType()); | 1463 o.add(buildDiskType()); |
| 1391 return o; | 1464 return o; |
| 1392 } | 1465 } |
| 1393 | 1466 |
| 1394 checkUnnamed1925(core.List<api.DiskType> o) { | 1467 checkUnnamed2030(core.List<api.DiskType> o) { |
| 1395 unittest.expect(o, unittest.hasLength(2)); | 1468 unittest.expect(o, unittest.hasLength(2)); |
| 1396 checkDiskType(o[0]); | 1469 checkDiskType(o[0]); |
| 1397 checkDiskType(o[1]); | 1470 checkDiskType(o[1]); |
| 1398 } | 1471 } |
| 1399 | 1472 |
| 1400 core.int buildCounterDiskTypeList = 0; | 1473 core.int buildCounterDiskTypeList = 0; |
| 1401 buildDiskTypeList() { | 1474 buildDiskTypeList() { |
| 1402 var o = new api.DiskTypeList(); | 1475 var o = new api.DiskTypeList(); |
| 1403 buildCounterDiskTypeList++; | 1476 buildCounterDiskTypeList++; |
| 1404 if (buildCounterDiskTypeList < 3) { | 1477 if (buildCounterDiskTypeList < 3) { |
| 1405 o.id = "foo"; | 1478 o.id = "foo"; |
| 1406 o.items = buildUnnamed1925(); | 1479 o.items = buildUnnamed2030(); |
| 1407 o.kind = "foo"; | 1480 o.kind = "foo"; |
| 1408 o.nextPageToken = "foo"; | 1481 o.nextPageToken = "foo"; |
| 1409 o.selfLink = "foo"; | 1482 o.selfLink = "foo"; |
| 1410 } | 1483 } |
| 1411 buildCounterDiskTypeList--; | 1484 buildCounterDiskTypeList--; |
| 1412 return o; | 1485 return o; |
| 1413 } | 1486 } |
| 1414 | 1487 |
| 1415 checkDiskTypeList(api.DiskTypeList o) { | 1488 checkDiskTypeList(api.DiskTypeList o) { |
| 1416 buildCounterDiskTypeList++; | 1489 buildCounterDiskTypeList++; |
| 1417 if (buildCounterDiskTypeList < 3) { | 1490 if (buildCounterDiskTypeList < 3) { |
| 1418 unittest.expect(o.id, unittest.equals('foo')); | 1491 unittest.expect(o.id, unittest.equals('foo')); |
| 1419 checkUnnamed1925(o.items); | 1492 checkUnnamed2030(o.items); |
| 1420 unittest.expect(o.kind, unittest.equals('foo')); | 1493 unittest.expect(o.kind, unittest.equals('foo')); |
| 1421 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1494 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1422 unittest.expect(o.selfLink, unittest.equals('foo')); | 1495 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1423 } | 1496 } |
| 1424 buildCounterDiskTypeList--; | 1497 buildCounterDiskTypeList--; |
| 1425 } | 1498 } |
| 1426 | 1499 |
| 1427 buildUnnamed1926() { | 1500 buildUnnamed2031() { |
| 1428 var o = new core.List<api.DiskType>(); | 1501 var o = new core.List<api.DiskType>(); |
| 1429 o.add(buildDiskType()); | 1502 o.add(buildDiskType()); |
| 1430 o.add(buildDiskType()); | 1503 o.add(buildDiskType()); |
| 1431 return o; | 1504 return o; |
| 1432 } | 1505 } |
| 1433 | 1506 |
| 1434 checkUnnamed1926(core.List<api.DiskType> o) { | 1507 checkUnnamed2031(core.List<api.DiskType> o) { |
| 1435 unittest.expect(o, unittest.hasLength(2)); | 1508 unittest.expect(o, unittest.hasLength(2)); |
| 1436 checkDiskType(o[0]); | 1509 checkDiskType(o[0]); |
| 1437 checkDiskType(o[1]); | 1510 checkDiskType(o[1]); |
| 1438 } | 1511 } |
| 1439 | 1512 |
| 1440 core.int buildCounterDiskTypesScopedListWarningData = 0; | 1513 core.int buildCounterDiskTypesScopedListWarningData = 0; |
| 1441 buildDiskTypesScopedListWarningData() { | 1514 buildDiskTypesScopedListWarningData() { |
| 1442 var o = new api.DiskTypesScopedListWarningData(); | 1515 var o = new api.DiskTypesScopedListWarningData(); |
| 1443 buildCounterDiskTypesScopedListWarningData++; | 1516 buildCounterDiskTypesScopedListWarningData++; |
| 1444 if (buildCounterDiskTypesScopedListWarningData < 3) { | 1517 if (buildCounterDiskTypesScopedListWarningData < 3) { |
| 1445 o.key = "foo"; | 1518 o.key = "foo"; |
| 1446 o.value = "foo"; | 1519 o.value = "foo"; |
| 1447 } | 1520 } |
| 1448 buildCounterDiskTypesScopedListWarningData--; | 1521 buildCounterDiskTypesScopedListWarningData--; |
| 1449 return o; | 1522 return o; |
| 1450 } | 1523 } |
| 1451 | 1524 |
| 1452 checkDiskTypesScopedListWarningData(api.DiskTypesScopedListWarningData o) { | 1525 checkDiskTypesScopedListWarningData(api.DiskTypesScopedListWarningData o) { |
| 1453 buildCounterDiskTypesScopedListWarningData++; | 1526 buildCounterDiskTypesScopedListWarningData++; |
| 1454 if (buildCounterDiskTypesScopedListWarningData < 3) { | 1527 if (buildCounterDiskTypesScopedListWarningData < 3) { |
| 1455 unittest.expect(o.key, unittest.equals('foo')); | 1528 unittest.expect(o.key, unittest.equals('foo')); |
| 1456 unittest.expect(o.value, unittest.equals('foo')); | 1529 unittest.expect(o.value, unittest.equals('foo')); |
| 1457 } | 1530 } |
| 1458 buildCounterDiskTypesScopedListWarningData--; | 1531 buildCounterDiskTypesScopedListWarningData--; |
| 1459 } | 1532 } |
| 1460 | 1533 |
| 1461 buildUnnamed1927() { | 1534 buildUnnamed2032() { |
| 1462 var o = new core.List<api.DiskTypesScopedListWarningData>(); | 1535 var o = new core.List<api.DiskTypesScopedListWarningData>(); |
| 1463 o.add(buildDiskTypesScopedListWarningData()); | 1536 o.add(buildDiskTypesScopedListWarningData()); |
| 1464 o.add(buildDiskTypesScopedListWarningData()); | 1537 o.add(buildDiskTypesScopedListWarningData()); |
| 1465 return o; | 1538 return o; |
| 1466 } | 1539 } |
| 1467 | 1540 |
| 1468 checkUnnamed1927(core.List<api.DiskTypesScopedListWarningData> o) { | 1541 checkUnnamed2032(core.List<api.DiskTypesScopedListWarningData> o) { |
| 1469 unittest.expect(o, unittest.hasLength(2)); | 1542 unittest.expect(o, unittest.hasLength(2)); |
| 1470 checkDiskTypesScopedListWarningData(o[0]); | 1543 checkDiskTypesScopedListWarningData(o[0]); |
| 1471 checkDiskTypesScopedListWarningData(o[1]); | 1544 checkDiskTypesScopedListWarningData(o[1]); |
| 1472 } | 1545 } |
| 1473 | 1546 |
| 1474 core.int buildCounterDiskTypesScopedListWarning = 0; | 1547 core.int buildCounterDiskTypesScopedListWarning = 0; |
| 1475 buildDiskTypesScopedListWarning() { | 1548 buildDiskTypesScopedListWarning() { |
| 1476 var o = new api.DiskTypesScopedListWarning(); | 1549 var o = new api.DiskTypesScopedListWarning(); |
| 1477 buildCounterDiskTypesScopedListWarning++; | 1550 buildCounterDiskTypesScopedListWarning++; |
| 1478 if (buildCounterDiskTypesScopedListWarning < 3) { | 1551 if (buildCounterDiskTypesScopedListWarning < 3) { |
| 1479 o.code = "foo"; | 1552 o.code = "foo"; |
| 1480 o.data = buildUnnamed1927(); | 1553 o.data = buildUnnamed2032(); |
| 1481 o.message = "foo"; | 1554 o.message = "foo"; |
| 1482 } | 1555 } |
| 1483 buildCounterDiskTypesScopedListWarning--; | 1556 buildCounterDiskTypesScopedListWarning--; |
| 1484 return o; | 1557 return o; |
| 1485 } | 1558 } |
| 1486 | 1559 |
| 1487 checkDiskTypesScopedListWarning(api.DiskTypesScopedListWarning o) { | 1560 checkDiskTypesScopedListWarning(api.DiskTypesScopedListWarning o) { |
| 1488 buildCounterDiskTypesScopedListWarning++; | 1561 buildCounterDiskTypesScopedListWarning++; |
| 1489 if (buildCounterDiskTypesScopedListWarning < 3) { | 1562 if (buildCounterDiskTypesScopedListWarning < 3) { |
| 1490 unittest.expect(o.code, unittest.equals('foo')); | 1563 unittest.expect(o.code, unittest.equals('foo')); |
| 1491 checkUnnamed1927(o.data); | 1564 checkUnnamed2032(o.data); |
| 1492 unittest.expect(o.message, unittest.equals('foo')); | 1565 unittest.expect(o.message, unittest.equals('foo')); |
| 1493 } | 1566 } |
| 1494 buildCounterDiskTypesScopedListWarning--; | 1567 buildCounterDiskTypesScopedListWarning--; |
| 1495 } | 1568 } |
| 1496 | 1569 |
| 1497 core.int buildCounterDiskTypesScopedList = 0; | 1570 core.int buildCounterDiskTypesScopedList = 0; |
| 1498 buildDiskTypesScopedList() { | 1571 buildDiskTypesScopedList() { |
| 1499 var o = new api.DiskTypesScopedList(); | 1572 var o = new api.DiskTypesScopedList(); |
| 1500 buildCounterDiskTypesScopedList++; | 1573 buildCounterDiskTypesScopedList++; |
| 1501 if (buildCounterDiskTypesScopedList < 3) { | 1574 if (buildCounterDiskTypesScopedList < 3) { |
| 1502 o.diskTypes = buildUnnamed1926(); | 1575 o.diskTypes = buildUnnamed2031(); |
| 1503 o.warning = buildDiskTypesScopedListWarning(); | 1576 o.warning = buildDiskTypesScopedListWarning(); |
| 1504 } | 1577 } |
| 1505 buildCounterDiskTypesScopedList--; | 1578 buildCounterDiskTypesScopedList--; |
| 1506 return o; | 1579 return o; |
| 1507 } | 1580 } |
| 1508 | 1581 |
| 1509 checkDiskTypesScopedList(api.DiskTypesScopedList o) { | 1582 checkDiskTypesScopedList(api.DiskTypesScopedList o) { |
| 1510 buildCounterDiskTypesScopedList++; | 1583 buildCounterDiskTypesScopedList++; |
| 1511 if (buildCounterDiskTypesScopedList < 3) { | 1584 if (buildCounterDiskTypesScopedList < 3) { |
| 1512 checkUnnamed1926(o.diskTypes); | 1585 checkUnnamed2031(o.diskTypes); |
| 1513 checkDiskTypesScopedListWarning(o.warning); | 1586 checkDiskTypesScopedListWarning(o.warning); |
| 1514 } | 1587 } |
| 1515 buildCounterDiskTypesScopedList--; | 1588 buildCounterDiskTypesScopedList--; |
| 1516 } | 1589 } |
| 1517 | 1590 |
| 1518 core.int buildCounterDisksResizeRequest = 0; | 1591 core.int buildCounterDisksResizeRequest = 0; |
| 1519 buildDisksResizeRequest() { | 1592 buildDisksResizeRequest() { |
| 1520 var o = new api.DisksResizeRequest(); | 1593 var o = new api.DisksResizeRequest(); |
| 1521 buildCounterDisksResizeRequest++; | 1594 buildCounterDisksResizeRequest++; |
| 1522 if (buildCounterDisksResizeRequest < 3) { | 1595 if (buildCounterDisksResizeRequest < 3) { |
| 1523 o.sizeGb = "foo"; | 1596 o.sizeGb = "foo"; |
| 1524 } | 1597 } |
| 1525 buildCounterDisksResizeRequest--; | 1598 buildCounterDisksResizeRequest--; |
| 1526 return o; | 1599 return o; |
| 1527 } | 1600 } |
| 1528 | 1601 |
| 1529 checkDisksResizeRequest(api.DisksResizeRequest o) { | 1602 checkDisksResizeRequest(api.DisksResizeRequest o) { |
| 1530 buildCounterDisksResizeRequest++; | 1603 buildCounterDisksResizeRequest++; |
| 1531 if (buildCounterDisksResizeRequest < 3) { | 1604 if (buildCounterDisksResizeRequest < 3) { |
| 1532 unittest.expect(o.sizeGb, unittest.equals('foo')); | 1605 unittest.expect(o.sizeGb, unittest.equals('foo')); |
| 1533 } | 1606 } |
| 1534 buildCounterDisksResizeRequest--; | 1607 buildCounterDisksResizeRequest--; |
| 1535 } | 1608 } |
| 1536 | 1609 |
| 1537 buildUnnamed1928() { | 1610 buildUnnamed2033() { |
| 1538 var o = new core.List<api.Disk>(); | 1611 var o = new core.List<api.Disk>(); |
| 1539 o.add(buildDisk()); | 1612 o.add(buildDisk()); |
| 1540 o.add(buildDisk()); | 1613 o.add(buildDisk()); |
| 1541 return o; | 1614 return o; |
| 1542 } | 1615 } |
| 1543 | 1616 |
| 1544 checkUnnamed1928(core.List<api.Disk> o) { | 1617 checkUnnamed2033(core.List<api.Disk> o) { |
| 1545 unittest.expect(o, unittest.hasLength(2)); | 1618 unittest.expect(o, unittest.hasLength(2)); |
| 1546 checkDisk(o[0]); | 1619 checkDisk(o[0]); |
| 1547 checkDisk(o[1]); | 1620 checkDisk(o[1]); |
| 1548 } | 1621 } |
| 1549 | 1622 |
| 1550 core.int buildCounterDisksScopedListWarningData = 0; | 1623 core.int buildCounterDisksScopedListWarningData = 0; |
| 1551 buildDisksScopedListWarningData() { | 1624 buildDisksScopedListWarningData() { |
| 1552 var o = new api.DisksScopedListWarningData(); | 1625 var o = new api.DisksScopedListWarningData(); |
| 1553 buildCounterDisksScopedListWarningData++; | 1626 buildCounterDisksScopedListWarningData++; |
| 1554 if (buildCounterDisksScopedListWarningData < 3) { | 1627 if (buildCounterDisksScopedListWarningData < 3) { |
| 1555 o.key = "foo"; | 1628 o.key = "foo"; |
| 1556 o.value = "foo"; | 1629 o.value = "foo"; |
| 1557 } | 1630 } |
| 1558 buildCounterDisksScopedListWarningData--; | 1631 buildCounterDisksScopedListWarningData--; |
| 1559 return o; | 1632 return o; |
| 1560 } | 1633 } |
| 1561 | 1634 |
| 1562 checkDisksScopedListWarningData(api.DisksScopedListWarningData o) { | 1635 checkDisksScopedListWarningData(api.DisksScopedListWarningData o) { |
| 1563 buildCounterDisksScopedListWarningData++; | 1636 buildCounterDisksScopedListWarningData++; |
| 1564 if (buildCounterDisksScopedListWarningData < 3) { | 1637 if (buildCounterDisksScopedListWarningData < 3) { |
| 1565 unittest.expect(o.key, unittest.equals('foo')); | 1638 unittest.expect(o.key, unittest.equals('foo')); |
| 1566 unittest.expect(o.value, unittest.equals('foo')); | 1639 unittest.expect(o.value, unittest.equals('foo')); |
| 1567 } | 1640 } |
| 1568 buildCounterDisksScopedListWarningData--; | 1641 buildCounterDisksScopedListWarningData--; |
| 1569 } | 1642 } |
| 1570 | 1643 |
| 1571 buildUnnamed1929() { | 1644 buildUnnamed2034() { |
| 1572 var o = new core.List<api.DisksScopedListWarningData>(); | 1645 var o = new core.List<api.DisksScopedListWarningData>(); |
| 1573 o.add(buildDisksScopedListWarningData()); | 1646 o.add(buildDisksScopedListWarningData()); |
| 1574 o.add(buildDisksScopedListWarningData()); | 1647 o.add(buildDisksScopedListWarningData()); |
| 1575 return o; | 1648 return o; |
| 1576 } | 1649 } |
| 1577 | 1650 |
| 1578 checkUnnamed1929(core.List<api.DisksScopedListWarningData> o) { | 1651 checkUnnamed2034(core.List<api.DisksScopedListWarningData> o) { |
| 1579 unittest.expect(o, unittest.hasLength(2)); | 1652 unittest.expect(o, unittest.hasLength(2)); |
| 1580 checkDisksScopedListWarningData(o[0]); | 1653 checkDisksScopedListWarningData(o[0]); |
| 1581 checkDisksScopedListWarningData(o[1]); | 1654 checkDisksScopedListWarningData(o[1]); |
| 1582 } | 1655 } |
| 1583 | 1656 |
| 1584 core.int buildCounterDisksScopedListWarning = 0; | 1657 core.int buildCounterDisksScopedListWarning = 0; |
| 1585 buildDisksScopedListWarning() { | 1658 buildDisksScopedListWarning() { |
| 1586 var o = new api.DisksScopedListWarning(); | 1659 var o = new api.DisksScopedListWarning(); |
| 1587 buildCounterDisksScopedListWarning++; | 1660 buildCounterDisksScopedListWarning++; |
| 1588 if (buildCounterDisksScopedListWarning < 3) { | 1661 if (buildCounterDisksScopedListWarning < 3) { |
| 1589 o.code = "foo"; | 1662 o.code = "foo"; |
| 1590 o.data = buildUnnamed1929(); | 1663 o.data = buildUnnamed2034(); |
| 1591 o.message = "foo"; | 1664 o.message = "foo"; |
| 1592 } | 1665 } |
| 1593 buildCounterDisksScopedListWarning--; | 1666 buildCounterDisksScopedListWarning--; |
| 1594 return o; | 1667 return o; |
| 1595 } | 1668 } |
| 1596 | 1669 |
| 1597 checkDisksScopedListWarning(api.DisksScopedListWarning o) { | 1670 checkDisksScopedListWarning(api.DisksScopedListWarning o) { |
| 1598 buildCounterDisksScopedListWarning++; | 1671 buildCounterDisksScopedListWarning++; |
| 1599 if (buildCounterDisksScopedListWarning < 3) { | 1672 if (buildCounterDisksScopedListWarning < 3) { |
| 1600 unittest.expect(o.code, unittest.equals('foo')); | 1673 unittest.expect(o.code, unittest.equals('foo')); |
| 1601 checkUnnamed1929(o.data); | 1674 checkUnnamed2034(o.data); |
| 1602 unittest.expect(o.message, unittest.equals('foo')); | 1675 unittest.expect(o.message, unittest.equals('foo')); |
| 1603 } | 1676 } |
| 1604 buildCounterDisksScopedListWarning--; | 1677 buildCounterDisksScopedListWarning--; |
| 1605 } | 1678 } |
| 1606 | 1679 |
| 1607 core.int buildCounterDisksScopedList = 0; | 1680 core.int buildCounterDisksScopedList = 0; |
| 1608 buildDisksScopedList() { | 1681 buildDisksScopedList() { |
| 1609 var o = new api.DisksScopedList(); | 1682 var o = new api.DisksScopedList(); |
| 1610 buildCounterDisksScopedList++; | 1683 buildCounterDisksScopedList++; |
| 1611 if (buildCounterDisksScopedList < 3) { | 1684 if (buildCounterDisksScopedList < 3) { |
| 1612 o.disks = buildUnnamed1928(); | 1685 o.disks = buildUnnamed2033(); |
| 1613 o.warning = buildDisksScopedListWarning(); | 1686 o.warning = buildDisksScopedListWarning(); |
| 1614 } | 1687 } |
| 1615 buildCounterDisksScopedList--; | 1688 buildCounterDisksScopedList--; |
| 1616 return o; | 1689 return o; |
| 1617 } | 1690 } |
| 1618 | 1691 |
| 1619 checkDisksScopedList(api.DisksScopedList o) { | 1692 checkDisksScopedList(api.DisksScopedList o) { |
| 1620 buildCounterDisksScopedList++; | 1693 buildCounterDisksScopedList++; |
| 1621 if (buildCounterDisksScopedList < 3) { | 1694 if (buildCounterDisksScopedList < 3) { |
| 1622 checkUnnamed1928(o.disks); | 1695 checkUnnamed2033(o.disks); |
| 1623 checkDisksScopedListWarning(o.warning); | 1696 checkDisksScopedListWarning(o.warning); |
| 1624 } | 1697 } |
| 1625 buildCounterDisksScopedList--; | 1698 buildCounterDisksScopedList--; |
| 1626 } | 1699 } |
| 1627 | 1700 |
| 1628 buildUnnamed1930() { | 1701 buildUnnamed2035() { |
| 1629 var o = new core.List<core.String>(); | 1702 var o = new core.List<core.String>(); |
| 1630 o.add("foo"); | 1703 o.add("foo"); |
| 1631 o.add("foo"); | 1704 o.add("foo"); |
| 1632 return o; | 1705 return o; |
| 1633 } | 1706 } |
| 1634 | 1707 |
| 1635 checkUnnamed1930(core.List<core.String> o) { | 1708 checkUnnamed2035(core.List<core.String> o) { |
| 1636 unittest.expect(o, unittest.hasLength(2)); | 1709 unittest.expect(o, unittest.hasLength(2)); |
| 1637 unittest.expect(o[0], unittest.equals('foo')); | 1710 unittest.expect(o[0], unittest.equals('foo')); |
| 1638 unittest.expect(o[1], unittest.equals('foo')); | 1711 unittest.expect(o[1], unittest.equals('foo')); |
| 1639 } | 1712 } |
| 1640 | 1713 |
| 1641 core.int buildCounterFirewallAllowed = 0; | 1714 core.int buildCounterFirewallAllowed = 0; |
| 1642 buildFirewallAllowed() { | 1715 buildFirewallAllowed() { |
| 1643 var o = new api.FirewallAllowed(); | 1716 var o = new api.FirewallAllowed(); |
| 1644 buildCounterFirewallAllowed++; | 1717 buildCounterFirewallAllowed++; |
| 1645 if (buildCounterFirewallAllowed < 3) { | 1718 if (buildCounterFirewallAllowed < 3) { |
| 1646 o.IPProtocol = "foo"; | 1719 o.IPProtocol = "foo"; |
| 1647 o.ports = buildUnnamed1930(); | 1720 o.ports = buildUnnamed2035(); |
| 1648 } | 1721 } |
| 1649 buildCounterFirewallAllowed--; | 1722 buildCounterFirewallAllowed--; |
| 1650 return o; | 1723 return o; |
| 1651 } | 1724 } |
| 1652 | 1725 |
| 1653 checkFirewallAllowed(api.FirewallAllowed o) { | 1726 checkFirewallAllowed(api.FirewallAllowed o) { |
| 1654 buildCounterFirewallAllowed++; | 1727 buildCounterFirewallAllowed++; |
| 1655 if (buildCounterFirewallAllowed < 3) { | 1728 if (buildCounterFirewallAllowed < 3) { |
| 1656 unittest.expect(o.IPProtocol, unittest.equals('foo')); | 1729 unittest.expect(o.IPProtocol, unittest.equals('foo')); |
| 1657 checkUnnamed1930(o.ports); | 1730 checkUnnamed2035(o.ports); |
| 1658 } | 1731 } |
| 1659 buildCounterFirewallAllowed--; | 1732 buildCounterFirewallAllowed--; |
| 1660 } | 1733 } |
| 1661 | 1734 |
| 1662 buildUnnamed1931() { | 1735 buildUnnamed2036() { |
| 1663 var o = new core.List<api.FirewallAllowed>(); | 1736 var o = new core.List<api.FirewallAllowed>(); |
| 1664 o.add(buildFirewallAllowed()); | 1737 o.add(buildFirewallAllowed()); |
| 1665 o.add(buildFirewallAllowed()); | 1738 o.add(buildFirewallAllowed()); |
| 1666 return o; | 1739 return o; |
| 1667 } | 1740 } |
| 1668 | 1741 |
| 1669 checkUnnamed1931(core.List<api.FirewallAllowed> o) { | 1742 checkUnnamed2036(core.List<api.FirewallAllowed> o) { |
| 1670 unittest.expect(o, unittest.hasLength(2)); | 1743 unittest.expect(o, unittest.hasLength(2)); |
| 1671 checkFirewallAllowed(o[0]); | 1744 checkFirewallAllowed(o[0]); |
| 1672 checkFirewallAllowed(o[1]); | 1745 checkFirewallAllowed(o[1]); |
| 1673 } | 1746 } |
| 1674 | 1747 |
| 1675 buildUnnamed1932() { | 1748 buildUnnamed2037() { |
| 1676 var o = new core.List<core.String>(); | 1749 var o = new core.List<core.String>(); |
| 1677 o.add("foo"); | 1750 o.add("foo"); |
| 1678 o.add("foo"); | 1751 o.add("foo"); |
| 1679 return o; | 1752 return o; |
| 1680 } | 1753 } |
| 1681 | 1754 |
| 1682 checkUnnamed1932(core.List<core.String> o) { | 1755 checkUnnamed2037(core.List<core.String> o) { |
| 1683 unittest.expect(o, unittest.hasLength(2)); | 1756 unittest.expect(o, unittest.hasLength(2)); |
| 1684 unittest.expect(o[0], unittest.equals('foo')); | 1757 unittest.expect(o[0], unittest.equals('foo')); |
| 1685 unittest.expect(o[1], unittest.equals('foo')); | 1758 unittest.expect(o[1], unittest.equals('foo')); |
| 1686 } | 1759 } |
| 1687 | 1760 |
| 1688 buildUnnamed1933() { | 1761 buildUnnamed2038() { |
| 1689 var o = new core.List<core.String>(); | 1762 var o = new core.List<core.String>(); |
| 1690 o.add("foo"); | 1763 o.add("foo"); |
| 1691 o.add("foo"); | 1764 o.add("foo"); |
| 1692 return o; | 1765 return o; |
| 1693 } | 1766 } |
| 1694 | 1767 |
| 1695 checkUnnamed1933(core.List<core.String> o) { | 1768 checkUnnamed2038(core.List<core.String> o) { |
| 1696 unittest.expect(o, unittest.hasLength(2)); | 1769 unittest.expect(o, unittest.hasLength(2)); |
| 1697 unittest.expect(o[0], unittest.equals('foo')); | 1770 unittest.expect(o[0], unittest.equals('foo')); |
| 1698 unittest.expect(o[1], unittest.equals('foo')); | 1771 unittest.expect(o[1], unittest.equals('foo')); |
| 1699 } | 1772 } |
| 1700 | 1773 |
| 1701 buildUnnamed1934() { | 1774 buildUnnamed2039() { |
| 1702 var o = new core.List<core.String>(); | 1775 var o = new core.List<core.String>(); |
| 1703 o.add("foo"); | 1776 o.add("foo"); |
| 1704 o.add("foo"); | 1777 o.add("foo"); |
| 1705 return o; | 1778 return o; |
| 1706 } | 1779 } |
| 1707 | 1780 |
| 1708 checkUnnamed1934(core.List<core.String> o) { | 1781 checkUnnamed2039(core.List<core.String> o) { |
| 1709 unittest.expect(o, unittest.hasLength(2)); | 1782 unittest.expect(o, unittest.hasLength(2)); |
| 1710 unittest.expect(o[0], unittest.equals('foo')); | 1783 unittest.expect(o[0], unittest.equals('foo')); |
| 1711 unittest.expect(o[1], unittest.equals('foo')); | 1784 unittest.expect(o[1], unittest.equals('foo')); |
| 1712 } | 1785 } |
| 1713 | 1786 |
| 1714 core.int buildCounterFirewall = 0; | 1787 core.int buildCounterFirewall = 0; |
| 1715 buildFirewall() { | 1788 buildFirewall() { |
| 1716 var o = new api.Firewall(); | 1789 var o = new api.Firewall(); |
| 1717 buildCounterFirewall++; | 1790 buildCounterFirewall++; |
| 1718 if (buildCounterFirewall < 3) { | 1791 if (buildCounterFirewall < 3) { |
| 1719 o.allowed = buildUnnamed1931(); | 1792 o.allowed = buildUnnamed2036(); |
| 1720 o.creationTimestamp = "foo"; | 1793 o.creationTimestamp = "foo"; |
| 1721 o.description = "foo"; | 1794 o.description = "foo"; |
| 1722 o.id = "foo"; | 1795 o.id = "foo"; |
| 1723 o.kind = "foo"; | 1796 o.kind = "foo"; |
| 1724 o.name = "foo"; | 1797 o.name = "foo"; |
| 1725 o.network = "foo"; | 1798 o.network = "foo"; |
| 1726 o.selfLink = "foo"; | 1799 o.selfLink = "foo"; |
| 1727 o.sourceRanges = buildUnnamed1932(); | 1800 o.sourceRanges = buildUnnamed2037(); |
| 1728 o.sourceTags = buildUnnamed1933(); | 1801 o.sourceTags = buildUnnamed2038(); |
| 1729 o.targetTags = buildUnnamed1934(); | 1802 o.targetTags = buildUnnamed2039(); |
| 1730 } | 1803 } |
| 1731 buildCounterFirewall--; | 1804 buildCounterFirewall--; |
| 1732 return o; | 1805 return o; |
| 1733 } | 1806 } |
| 1734 | 1807 |
| 1735 checkFirewall(api.Firewall o) { | 1808 checkFirewall(api.Firewall o) { |
| 1736 buildCounterFirewall++; | 1809 buildCounterFirewall++; |
| 1737 if (buildCounterFirewall < 3) { | 1810 if (buildCounterFirewall < 3) { |
| 1738 checkUnnamed1931(o.allowed); | 1811 checkUnnamed2036(o.allowed); |
| 1739 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 1812 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 1740 unittest.expect(o.description, unittest.equals('foo')); | 1813 unittest.expect(o.description, unittest.equals('foo')); |
| 1741 unittest.expect(o.id, unittest.equals('foo')); | 1814 unittest.expect(o.id, unittest.equals('foo')); |
| 1742 unittest.expect(o.kind, unittest.equals('foo')); | 1815 unittest.expect(o.kind, unittest.equals('foo')); |
| 1743 unittest.expect(o.name, unittest.equals('foo')); | 1816 unittest.expect(o.name, unittest.equals('foo')); |
| 1744 unittest.expect(o.network, unittest.equals('foo')); | 1817 unittest.expect(o.network, unittest.equals('foo')); |
| 1745 unittest.expect(o.selfLink, unittest.equals('foo')); | 1818 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1746 checkUnnamed1932(o.sourceRanges); | 1819 checkUnnamed2037(o.sourceRanges); |
| 1747 checkUnnamed1933(o.sourceTags); | 1820 checkUnnamed2038(o.sourceTags); |
| 1748 checkUnnamed1934(o.targetTags); | 1821 checkUnnamed2039(o.targetTags); |
| 1749 } | 1822 } |
| 1750 buildCounterFirewall--; | 1823 buildCounterFirewall--; |
| 1751 } | 1824 } |
| 1752 | 1825 |
| 1753 buildUnnamed1935() { | 1826 buildUnnamed2040() { |
| 1754 var o = new core.List<api.Firewall>(); | 1827 var o = new core.List<api.Firewall>(); |
| 1755 o.add(buildFirewall()); | 1828 o.add(buildFirewall()); |
| 1756 o.add(buildFirewall()); | 1829 o.add(buildFirewall()); |
| 1757 return o; | 1830 return o; |
| 1758 } | 1831 } |
| 1759 | 1832 |
| 1760 checkUnnamed1935(core.List<api.Firewall> o) { | 1833 checkUnnamed2040(core.List<api.Firewall> o) { |
| 1761 unittest.expect(o, unittest.hasLength(2)); | 1834 unittest.expect(o, unittest.hasLength(2)); |
| 1762 checkFirewall(o[0]); | 1835 checkFirewall(o[0]); |
| 1763 checkFirewall(o[1]); | 1836 checkFirewall(o[1]); |
| 1764 } | 1837 } |
| 1765 | 1838 |
| 1766 core.int buildCounterFirewallList = 0; | 1839 core.int buildCounterFirewallList = 0; |
| 1767 buildFirewallList() { | 1840 buildFirewallList() { |
| 1768 var o = new api.FirewallList(); | 1841 var o = new api.FirewallList(); |
| 1769 buildCounterFirewallList++; | 1842 buildCounterFirewallList++; |
| 1770 if (buildCounterFirewallList < 3) { | 1843 if (buildCounterFirewallList < 3) { |
| 1771 o.id = "foo"; | 1844 o.id = "foo"; |
| 1772 o.items = buildUnnamed1935(); | 1845 o.items = buildUnnamed2040(); |
| 1773 o.kind = "foo"; | 1846 o.kind = "foo"; |
| 1774 o.nextPageToken = "foo"; | 1847 o.nextPageToken = "foo"; |
| 1775 o.selfLink = "foo"; | 1848 o.selfLink = "foo"; |
| 1776 } | 1849 } |
| 1777 buildCounterFirewallList--; | 1850 buildCounterFirewallList--; |
| 1778 return o; | 1851 return o; |
| 1779 } | 1852 } |
| 1780 | 1853 |
| 1781 checkFirewallList(api.FirewallList o) { | 1854 checkFirewallList(api.FirewallList o) { |
| 1782 buildCounterFirewallList++; | 1855 buildCounterFirewallList++; |
| 1783 if (buildCounterFirewallList < 3) { | 1856 if (buildCounterFirewallList < 3) { |
| 1784 unittest.expect(o.id, unittest.equals('foo')); | 1857 unittest.expect(o.id, unittest.equals('foo')); |
| 1785 checkUnnamed1935(o.items); | 1858 checkUnnamed2040(o.items); |
| 1786 unittest.expect(o.kind, unittest.equals('foo')); | 1859 unittest.expect(o.kind, unittest.equals('foo')); |
| 1787 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1860 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1788 unittest.expect(o.selfLink, unittest.equals('foo')); | 1861 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1789 } | 1862 } |
| 1790 buildCounterFirewallList--; | 1863 buildCounterFirewallList--; |
| 1791 } | 1864 } |
| 1792 | 1865 |
| 1793 buildUnnamed1936() { | 1866 buildUnnamed2041() { |
| 1794 var o = new core.List<core.String>(); | 1867 var o = new core.List<core.String>(); |
| 1795 o.add("foo"); | 1868 o.add("foo"); |
| 1796 o.add("foo"); | 1869 o.add("foo"); |
| 1797 return o; | 1870 return o; |
| 1798 } | 1871 } |
| 1799 | 1872 |
| 1800 checkUnnamed1936(core.List<core.String> o) { | 1873 checkUnnamed2041(core.List<core.String> o) { |
| 1801 unittest.expect(o, unittest.hasLength(2)); | 1874 unittest.expect(o, unittest.hasLength(2)); |
| 1802 unittest.expect(o[0], unittest.equals('foo')); | 1875 unittest.expect(o[0], unittest.equals('foo')); |
| 1803 unittest.expect(o[1], unittest.equals('foo')); | 1876 unittest.expect(o[1], unittest.equals('foo')); |
| 1804 } | 1877 } |
| 1805 | 1878 |
| 1806 core.int buildCounterForwardingRule = 0; | 1879 core.int buildCounterForwardingRule = 0; |
| 1807 buildForwardingRule() { | 1880 buildForwardingRule() { |
| 1808 var o = new api.ForwardingRule(); | 1881 var o = new api.ForwardingRule(); |
| 1809 buildCounterForwardingRule++; | 1882 buildCounterForwardingRule++; |
| 1810 if (buildCounterForwardingRule < 3) { | 1883 if (buildCounterForwardingRule < 3) { |
| 1811 o.IPAddress = "foo"; | 1884 o.IPAddress = "foo"; |
| 1812 o.IPProtocol = "foo"; | 1885 o.IPProtocol = "foo"; |
| 1813 o.backendService = "foo"; | 1886 o.backendService = "foo"; |
| 1814 o.creationTimestamp = "foo"; | 1887 o.creationTimestamp = "foo"; |
| 1815 o.description = "foo"; | 1888 o.description = "foo"; |
| 1816 o.id = "foo"; | 1889 o.id = "foo"; |
| 1817 o.kind = "foo"; | 1890 o.kind = "foo"; |
| 1818 o.loadBalancingScheme = "foo"; | 1891 o.loadBalancingScheme = "foo"; |
| 1819 o.name = "foo"; | 1892 o.name = "foo"; |
| 1820 o.network = "foo"; | 1893 o.network = "foo"; |
| 1821 o.portRange = "foo"; | 1894 o.portRange = "foo"; |
| 1822 o.ports = buildUnnamed1936(); | 1895 o.ports = buildUnnamed2041(); |
| 1823 o.region = "foo"; | 1896 o.region = "foo"; |
| 1824 o.selfLink = "foo"; | 1897 o.selfLink = "foo"; |
| 1825 o.subnetwork = "foo"; | 1898 o.subnetwork = "foo"; |
| 1826 o.target = "foo"; | 1899 o.target = "foo"; |
| 1827 } | 1900 } |
| 1828 buildCounterForwardingRule--; | 1901 buildCounterForwardingRule--; |
| 1829 return o; | 1902 return o; |
| 1830 } | 1903 } |
| 1831 | 1904 |
| 1832 checkForwardingRule(api.ForwardingRule o) { | 1905 checkForwardingRule(api.ForwardingRule o) { |
| 1833 buildCounterForwardingRule++; | 1906 buildCounterForwardingRule++; |
| 1834 if (buildCounterForwardingRule < 3) { | 1907 if (buildCounterForwardingRule < 3) { |
| 1835 unittest.expect(o.IPAddress, unittest.equals('foo')); | 1908 unittest.expect(o.IPAddress, unittest.equals('foo')); |
| 1836 unittest.expect(o.IPProtocol, unittest.equals('foo')); | 1909 unittest.expect(o.IPProtocol, unittest.equals('foo')); |
| 1837 unittest.expect(o.backendService, unittest.equals('foo')); | 1910 unittest.expect(o.backendService, unittest.equals('foo')); |
| 1838 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 1911 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 1839 unittest.expect(o.description, unittest.equals('foo')); | 1912 unittest.expect(o.description, unittest.equals('foo')); |
| 1840 unittest.expect(o.id, unittest.equals('foo')); | 1913 unittest.expect(o.id, unittest.equals('foo')); |
| 1841 unittest.expect(o.kind, unittest.equals('foo')); | 1914 unittest.expect(o.kind, unittest.equals('foo')); |
| 1842 unittest.expect(o.loadBalancingScheme, unittest.equals('foo')); | 1915 unittest.expect(o.loadBalancingScheme, unittest.equals('foo')); |
| 1843 unittest.expect(o.name, unittest.equals('foo')); | 1916 unittest.expect(o.name, unittest.equals('foo')); |
| 1844 unittest.expect(o.network, unittest.equals('foo')); | 1917 unittest.expect(o.network, unittest.equals('foo')); |
| 1845 unittest.expect(o.portRange, unittest.equals('foo')); | 1918 unittest.expect(o.portRange, unittest.equals('foo')); |
| 1846 checkUnnamed1936(o.ports); | 1919 checkUnnamed2041(o.ports); |
| 1847 unittest.expect(o.region, unittest.equals('foo')); | 1920 unittest.expect(o.region, unittest.equals('foo')); |
| 1848 unittest.expect(o.selfLink, unittest.equals('foo')); | 1921 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1849 unittest.expect(o.subnetwork, unittest.equals('foo')); | 1922 unittest.expect(o.subnetwork, unittest.equals('foo')); |
| 1850 unittest.expect(o.target, unittest.equals('foo')); | 1923 unittest.expect(o.target, unittest.equals('foo')); |
| 1851 } | 1924 } |
| 1852 buildCounterForwardingRule--; | 1925 buildCounterForwardingRule--; |
| 1853 } | 1926 } |
| 1854 | 1927 |
| 1855 buildUnnamed1937() { | 1928 buildUnnamed2042() { |
| 1856 var o = new core.Map<core.String, api.ForwardingRulesScopedList>(); | 1929 var o = new core.Map<core.String, api.ForwardingRulesScopedList>(); |
| 1857 o["x"] = buildForwardingRulesScopedList(); | 1930 o["x"] = buildForwardingRulesScopedList(); |
| 1858 o["y"] = buildForwardingRulesScopedList(); | 1931 o["y"] = buildForwardingRulesScopedList(); |
| 1859 return o; | 1932 return o; |
| 1860 } | 1933 } |
| 1861 | 1934 |
| 1862 checkUnnamed1937(core.Map<core.String, api.ForwardingRulesScopedList> o) { | 1935 checkUnnamed2042(core.Map<core.String, api.ForwardingRulesScopedList> o) { |
| 1863 unittest.expect(o, unittest.hasLength(2)); | 1936 unittest.expect(o, unittest.hasLength(2)); |
| 1864 checkForwardingRulesScopedList(o["x"]); | 1937 checkForwardingRulesScopedList(o["x"]); |
| 1865 checkForwardingRulesScopedList(o["y"]); | 1938 checkForwardingRulesScopedList(o["y"]); |
| 1866 } | 1939 } |
| 1867 | 1940 |
| 1868 core.int buildCounterForwardingRuleAggregatedList = 0; | 1941 core.int buildCounterForwardingRuleAggregatedList = 0; |
| 1869 buildForwardingRuleAggregatedList() { | 1942 buildForwardingRuleAggregatedList() { |
| 1870 var o = new api.ForwardingRuleAggregatedList(); | 1943 var o = new api.ForwardingRuleAggregatedList(); |
| 1871 buildCounterForwardingRuleAggregatedList++; | 1944 buildCounterForwardingRuleAggregatedList++; |
| 1872 if (buildCounterForwardingRuleAggregatedList < 3) { | 1945 if (buildCounterForwardingRuleAggregatedList < 3) { |
| 1873 o.id = "foo"; | 1946 o.id = "foo"; |
| 1874 o.items = buildUnnamed1937(); | 1947 o.items = buildUnnamed2042(); |
| 1875 o.kind = "foo"; | 1948 o.kind = "foo"; |
| 1876 o.nextPageToken = "foo"; | 1949 o.nextPageToken = "foo"; |
| 1877 o.selfLink = "foo"; | 1950 o.selfLink = "foo"; |
| 1878 } | 1951 } |
| 1879 buildCounterForwardingRuleAggregatedList--; | 1952 buildCounterForwardingRuleAggregatedList--; |
| 1880 return o; | 1953 return o; |
| 1881 } | 1954 } |
| 1882 | 1955 |
| 1883 checkForwardingRuleAggregatedList(api.ForwardingRuleAggregatedList o) { | 1956 checkForwardingRuleAggregatedList(api.ForwardingRuleAggregatedList o) { |
| 1884 buildCounterForwardingRuleAggregatedList++; | 1957 buildCounterForwardingRuleAggregatedList++; |
| 1885 if (buildCounterForwardingRuleAggregatedList < 3) { | 1958 if (buildCounterForwardingRuleAggregatedList < 3) { |
| 1886 unittest.expect(o.id, unittest.equals('foo')); | 1959 unittest.expect(o.id, unittest.equals('foo')); |
| 1887 checkUnnamed1937(o.items); | 1960 checkUnnamed2042(o.items); |
| 1888 unittest.expect(o.kind, unittest.equals('foo')); | 1961 unittest.expect(o.kind, unittest.equals('foo')); |
| 1889 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1962 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1890 unittest.expect(o.selfLink, unittest.equals('foo')); | 1963 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1891 } | 1964 } |
| 1892 buildCounterForwardingRuleAggregatedList--; | 1965 buildCounterForwardingRuleAggregatedList--; |
| 1893 } | 1966 } |
| 1894 | 1967 |
| 1895 buildUnnamed1938() { | 1968 buildUnnamed2043() { |
| 1896 var o = new core.List<api.ForwardingRule>(); | 1969 var o = new core.List<api.ForwardingRule>(); |
| 1897 o.add(buildForwardingRule()); | 1970 o.add(buildForwardingRule()); |
| 1898 o.add(buildForwardingRule()); | 1971 o.add(buildForwardingRule()); |
| 1899 return o; | 1972 return o; |
| 1900 } | 1973 } |
| 1901 | 1974 |
| 1902 checkUnnamed1938(core.List<api.ForwardingRule> o) { | 1975 checkUnnamed2043(core.List<api.ForwardingRule> o) { |
| 1903 unittest.expect(o, unittest.hasLength(2)); | 1976 unittest.expect(o, unittest.hasLength(2)); |
| 1904 checkForwardingRule(o[0]); | 1977 checkForwardingRule(o[0]); |
| 1905 checkForwardingRule(o[1]); | 1978 checkForwardingRule(o[1]); |
| 1906 } | 1979 } |
| 1907 | 1980 |
| 1908 core.int buildCounterForwardingRuleList = 0; | 1981 core.int buildCounterForwardingRuleList = 0; |
| 1909 buildForwardingRuleList() { | 1982 buildForwardingRuleList() { |
| 1910 var o = new api.ForwardingRuleList(); | 1983 var o = new api.ForwardingRuleList(); |
| 1911 buildCounterForwardingRuleList++; | 1984 buildCounterForwardingRuleList++; |
| 1912 if (buildCounterForwardingRuleList < 3) { | 1985 if (buildCounterForwardingRuleList < 3) { |
| 1913 o.id = "foo"; | 1986 o.id = "foo"; |
| 1914 o.items = buildUnnamed1938(); | 1987 o.items = buildUnnamed2043(); |
| 1915 o.kind = "foo"; | 1988 o.kind = "foo"; |
| 1916 o.nextPageToken = "foo"; | 1989 o.nextPageToken = "foo"; |
| 1917 o.selfLink = "foo"; | 1990 o.selfLink = "foo"; |
| 1918 } | 1991 } |
| 1919 buildCounterForwardingRuleList--; | 1992 buildCounterForwardingRuleList--; |
| 1920 return o; | 1993 return o; |
| 1921 } | 1994 } |
| 1922 | 1995 |
| 1923 checkForwardingRuleList(api.ForwardingRuleList o) { | 1996 checkForwardingRuleList(api.ForwardingRuleList o) { |
| 1924 buildCounterForwardingRuleList++; | 1997 buildCounterForwardingRuleList++; |
| 1925 if (buildCounterForwardingRuleList < 3) { | 1998 if (buildCounterForwardingRuleList < 3) { |
| 1926 unittest.expect(o.id, unittest.equals('foo')); | 1999 unittest.expect(o.id, unittest.equals('foo')); |
| 1927 checkUnnamed1938(o.items); | 2000 checkUnnamed2043(o.items); |
| 1928 unittest.expect(o.kind, unittest.equals('foo')); | 2001 unittest.expect(o.kind, unittest.equals('foo')); |
| 1929 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2002 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1930 unittest.expect(o.selfLink, unittest.equals('foo')); | 2003 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1931 } | 2004 } |
| 1932 buildCounterForwardingRuleList--; | 2005 buildCounterForwardingRuleList--; |
| 1933 } | 2006 } |
| 1934 | 2007 |
| 1935 buildUnnamed1939() { | 2008 buildUnnamed2044() { |
| 1936 var o = new core.List<api.ForwardingRule>(); | 2009 var o = new core.List<api.ForwardingRule>(); |
| 1937 o.add(buildForwardingRule()); | 2010 o.add(buildForwardingRule()); |
| 1938 o.add(buildForwardingRule()); | 2011 o.add(buildForwardingRule()); |
| 1939 return o; | 2012 return o; |
| 1940 } | 2013 } |
| 1941 | 2014 |
| 1942 checkUnnamed1939(core.List<api.ForwardingRule> o) { | 2015 checkUnnamed2044(core.List<api.ForwardingRule> o) { |
| 1943 unittest.expect(o, unittest.hasLength(2)); | 2016 unittest.expect(o, unittest.hasLength(2)); |
| 1944 checkForwardingRule(o[0]); | 2017 checkForwardingRule(o[0]); |
| 1945 checkForwardingRule(o[1]); | 2018 checkForwardingRule(o[1]); |
| 1946 } | 2019 } |
| 1947 | 2020 |
| 1948 core.int buildCounterForwardingRulesScopedListWarningData = 0; | 2021 core.int buildCounterForwardingRulesScopedListWarningData = 0; |
| 1949 buildForwardingRulesScopedListWarningData() { | 2022 buildForwardingRulesScopedListWarningData() { |
| 1950 var o = new api.ForwardingRulesScopedListWarningData(); | 2023 var o = new api.ForwardingRulesScopedListWarningData(); |
| 1951 buildCounterForwardingRulesScopedListWarningData++; | 2024 buildCounterForwardingRulesScopedListWarningData++; |
| 1952 if (buildCounterForwardingRulesScopedListWarningData < 3) { | 2025 if (buildCounterForwardingRulesScopedListWarningData < 3) { |
| 1953 o.key = "foo"; | 2026 o.key = "foo"; |
| 1954 o.value = "foo"; | 2027 o.value = "foo"; |
| 1955 } | 2028 } |
| 1956 buildCounterForwardingRulesScopedListWarningData--; | 2029 buildCounterForwardingRulesScopedListWarningData--; |
| 1957 return o; | 2030 return o; |
| 1958 } | 2031 } |
| 1959 | 2032 |
| 1960 checkForwardingRulesScopedListWarningData(api.ForwardingRulesScopedListWarningDa
ta o) { | 2033 checkForwardingRulesScopedListWarningData(api.ForwardingRulesScopedListWarningDa
ta o) { |
| 1961 buildCounterForwardingRulesScopedListWarningData++; | 2034 buildCounterForwardingRulesScopedListWarningData++; |
| 1962 if (buildCounterForwardingRulesScopedListWarningData < 3) { | 2035 if (buildCounterForwardingRulesScopedListWarningData < 3) { |
| 1963 unittest.expect(o.key, unittest.equals('foo')); | 2036 unittest.expect(o.key, unittest.equals('foo')); |
| 1964 unittest.expect(o.value, unittest.equals('foo')); | 2037 unittest.expect(o.value, unittest.equals('foo')); |
| 1965 } | 2038 } |
| 1966 buildCounterForwardingRulesScopedListWarningData--; | 2039 buildCounterForwardingRulesScopedListWarningData--; |
| 1967 } | 2040 } |
| 1968 | 2041 |
| 1969 buildUnnamed1940() { | 2042 buildUnnamed2045() { |
| 1970 var o = new core.List<api.ForwardingRulesScopedListWarningData>(); | 2043 var o = new core.List<api.ForwardingRulesScopedListWarningData>(); |
| 1971 o.add(buildForwardingRulesScopedListWarningData()); | 2044 o.add(buildForwardingRulesScopedListWarningData()); |
| 1972 o.add(buildForwardingRulesScopedListWarningData()); | 2045 o.add(buildForwardingRulesScopedListWarningData()); |
| 1973 return o; | 2046 return o; |
| 1974 } | 2047 } |
| 1975 | 2048 |
| 1976 checkUnnamed1940(core.List<api.ForwardingRulesScopedListWarningData> o) { | 2049 checkUnnamed2045(core.List<api.ForwardingRulesScopedListWarningData> o) { |
| 1977 unittest.expect(o, unittest.hasLength(2)); | 2050 unittest.expect(o, unittest.hasLength(2)); |
| 1978 checkForwardingRulesScopedListWarningData(o[0]); | 2051 checkForwardingRulesScopedListWarningData(o[0]); |
| 1979 checkForwardingRulesScopedListWarningData(o[1]); | 2052 checkForwardingRulesScopedListWarningData(o[1]); |
| 1980 } | 2053 } |
| 1981 | 2054 |
| 1982 core.int buildCounterForwardingRulesScopedListWarning = 0; | 2055 core.int buildCounterForwardingRulesScopedListWarning = 0; |
| 1983 buildForwardingRulesScopedListWarning() { | 2056 buildForwardingRulesScopedListWarning() { |
| 1984 var o = new api.ForwardingRulesScopedListWarning(); | 2057 var o = new api.ForwardingRulesScopedListWarning(); |
| 1985 buildCounterForwardingRulesScopedListWarning++; | 2058 buildCounterForwardingRulesScopedListWarning++; |
| 1986 if (buildCounterForwardingRulesScopedListWarning < 3) { | 2059 if (buildCounterForwardingRulesScopedListWarning < 3) { |
| 1987 o.code = "foo"; | 2060 o.code = "foo"; |
| 1988 o.data = buildUnnamed1940(); | 2061 o.data = buildUnnamed2045(); |
| 1989 o.message = "foo"; | 2062 o.message = "foo"; |
| 1990 } | 2063 } |
| 1991 buildCounterForwardingRulesScopedListWarning--; | 2064 buildCounterForwardingRulesScopedListWarning--; |
| 1992 return o; | 2065 return o; |
| 1993 } | 2066 } |
| 1994 | 2067 |
| 1995 checkForwardingRulesScopedListWarning(api.ForwardingRulesScopedListWarning o) { | 2068 checkForwardingRulesScopedListWarning(api.ForwardingRulesScopedListWarning o) { |
| 1996 buildCounterForwardingRulesScopedListWarning++; | 2069 buildCounterForwardingRulesScopedListWarning++; |
| 1997 if (buildCounterForwardingRulesScopedListWarning < 3) { | 2070 if (buildCounterForwardingRulesScopedListWarning < 3) { |
| 1998 unittest.expect(o.code, unittest.equals('foo')); | 2071 unittest.expect(o.code, unittest.equals('foo')); |
| 1999 checkUnnamed1940(o.data); | 2072 checkUnnamed2045(o.data); |
| 2000 unittest.expect(o.message, unittest.equals('foo')); | 2073 unittest.expect(o.message, unittest.equals('foo')); |
| 2001 } | 2074 } |
| 2002 buildCounterForwardingRulesScopedListWarning--; | 2075 buildCounterForwardingRulesScopedListWarning--; |
| 2003 } | 2076 } |
| 2004 | 2077 |
| 2005 core.int buildCounterForwardingRulesScopedList = 0; | 2078 core.int buildCounterForwardingRulesScopedList = 0; |
| 2006 buildForwardingRulesScopedList() { | 2079 buildForwardingRulesScopedList() { |
| 2007 var o = new api.ForwardingRulesScopedList(); | 2080 var o = new api.ForwardingRulesScopedList(); |
| 2008 buildCounterForwardingRulesScopedList++; | 2081 buildCounterForwardingRulesScopedList++; |
| 2009 if (buildCounterForwardingRulesScopedList < 3) { | 2082 if (buildCounterForwardingRulesScopedList < 3) { |
| 2010 o.forwardingRules = buildUnnamed1939(); | 2083 o.forwardingRules = buildUnnamed2044(); |
| 2011 o.warning = buildForwardingRulesScopedListWarning(); | 2084 o.warning = buildForwardingRulesScopedListWarning(); |
| 2012 } | 2085 } |
| 2013 buildCounterForwardingRulesScopedList--; | 2086 buildCounterForwardingRulesScopedList--; |
| 2014 return o; | 2087 return o; |
| 2015 } | 2088 } |
| 2016 | 2089 |
| 2017 checkForwardingRulesScopedList(api.ForwardingRulesScopedList o) { | 2090 checkForwardingRulesScopedList(api.ForwardingRulesScopedList o) { |
| 2018 buildCounterForwardingRulesScopedList++; | 2091 buildCounterForwardingRulesScopedList++; |
| 2019 if (buildCounterForwardingRulesScopedList < 3) { | 2092 if (buildCounterForwardingRulesScopedList < 3) { |
| 2020 checkUnnamed1939(o.forwardingRules); | 2093 checkUnnamed2044(o.forwardingRules); |
| 2021 checkForwardingRulesScopedListWarning(o.warning); | 2094 checkForwardingRulesScopedListWarning(o.warning); |
| 2022 } | 2095 } |
| 2023 buildCounterForwardingRulesScopedList--; | 2096 buildCounterForwardingRulesScopedList--; |
| 2024 } | 2097 } |
| 2025 | 2098 |
| 2026 core.int buildCounterGuestOsFeature = 0; | 2099 core.int buildCounterGuestOsFeature = 0; |
| 2027 buildGuestOsFeature() { | 2100 buildGuestOsFeature() { |
| 2028 var o = new api.GuestOsFeature(); | 2101 var o = new api.GuestOsFeature(); |
| 2029 buildCounterGuestOsFeature++; | 2102 buildCounterGuestOsFeature++; |
| 2030 if (buildCounterGuestOsFeature < 3) { | 2103 if (buildCounterGuestOsFeature < 3) { |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2136 unittest.expect(o.selfLink, unittest.equals('foo')); | 2209 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 2137 checkSSLHealthCheck(o.sslHealthCheck); | 2210 checkSSLHealthCheck(o.sslHealthCheck); |
| 2138 checkTCPHealthCheck(o.tcpHealthCheck); | 2211 checkTCPHealthCheck(o.tcpHealthCheck); |
| 2139 unittest.expect(o.timeoutSec, unittest.equals(42)); | 2212 unittest.expect(o.timeoutSec, unittest.equals(42)); |
| 2140 unittest.expect(o.type, unittest.equals('foo')); | 2213 unittest.expect(o.type, unittest.equals('foo')); |
| 2141 unittest.expect(o.unhealthyThreshold, unittest.equals(42)); | 2214 unittest.expect(o.unhealthyThreshold, unittest.equals(42)); |
| 2142 } | 2215 } |
| 2143 buildCounterHealthCheck--; | 2216 buildCounterHealthCheck--; |
| 2144 } | 2217 } |
| 2145 | 2218 |
| 2146 buildUnnamed1941() { | 2219 buildUnnamed2046() { |
| 2147 var o = new core.List<api.HealthCheck>(); | 2220 var o = new core.List<api.HealthCheck>(); |
| 2148 o.add(buildHealthCheck()); | 2221 o.add(buildHealthCheck()); |
| 2149 o.add(buildHealthCheck()); | 2222 o.add(buildHealthCheck()); |
| 2150 return o; | 2223 return o; |
| 2151 } | 2224 } |
| 2152 | 2225 |
| 2153 checkUnnamed1941(core.List<api.HealthCheck> o) { | 2226 checkUnnamed2046(core.List<api.HealthCheck> o) { |
| 2154 unittest.expect(o, unittest.hasLength(2)); | 2227 unittest.expect(o, unittest.hasLength(2)); |
| 2155 checkHealthCheck(o[0]); | 2228 checkHealthCheck(o[0]); |
| 2156 checkHealthCheck(o[1]); | 2229 checkHealthCheck(o[1]); |
| 2157 } | 2230 } |
| 2158 | 2231 |
| 2159 core.int buildCounterHealthCheckList = 0; | 2232 core.int buildCounterHealthCheckList = 0; |
| 2160 buildHealthCheckList() { | 2233 buildHealthCheckList() { |
| 2161 var o = new api.HealthCheckList(); | 2234 var o = new api.HealthCheckList(); |
| 2162 buildCounterHealthCheckList++; | 2235 buildCounterHealthCheckList++; |
| 2163 if (buildCounterHealthCheckList < 3) { | 2236 if (buildCounterHealthCheckList < 3) { |
| 2164 o.id = "foo"; | 2237 o.id = "foo"; |
| 2165 o.items = buildUnnamed1941(); | 2238 o.items = buildUnnamed2046(); |
| 2166 o.kind = "foo"; | 2239 o.kind = "foo"; |
| 2167 o.nextPageToken = "foo"; | 2240 o.nextPageToken = "foo"; |
| 2168 o.selfLink = "foo"; | 2241 o.selfLink = "foo"; |
| 2169 } | 2242 } |
| 2170 buildCounterHealthCheckList--; | 2243 buildCounterHealthCheckList--; |
| 2171 return o; | 2244 return o; |
| 2172 } | 2245 } |
| 2173 | 2246 |
| 2174 checkHealthCheckList(api.HealthCheckList o) { | 2247 checkHealthCheckList(api.HealthCheckList o) { |
| 2175 buildCounterHealthCheckList++; | 2248 buildCounterHealthCheckList++; |
| 2176 if (buildCounterHealthCheckList < 3) { | 2249 if (buildCounterHealthCheckList < 3) { |
| 2177 unittest.expect(o.id, unittest.equals('foo')); | 2250 unittest.expect(o.id, unittest.equals('foo')); |
| 2178 checkUnnamed1941(o.items); | 2251 checkUnnamed2046(o.items); |
| 2179 unittest.expect(o.kind, unittest.equals('foo')); | 2252 unittest.expect(o.kind, unittest.equals('foo')); |
| 2180 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2253 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2181 unittest.expect(o.selfLink, unittest.equals('foo')); | 2254 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 2182 } | 2255 } |
| 2183 buildCounterHealthCheckList--; | 2256 buildCounterHealthCheckList--; |
| 2184 } | 2257 } |
| 2185 | 2258 |
| 2186 core.int buildCounterHealthCheckReference = 0; | 2259 core.int buildCounterHealthCheckReference = 0; |
| 2187 buildHealthCheckReference() { | 2260 buildHealthCheckReference() { |
| 2188 var o = new api.HealthCheckReference(); | 2261 var o = new api.HealthCheckReference(); |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2220 buildCounterHealthStatus++; | 2293 buildCounterHealthStatus++; |
| 2221 if (buildCounterHealthStatus < 3) { | 2294 if (buildCounterHealthStatus < 3) { |
| 2222 unittest.expect(o.healthState, unittest.equals('foo')); | 2295 unittest.expect(o.healthState, unittest.equals('foo')); |
| 2223 unittest.expect(o.instance, unittest.equals('foo')); | 2296 unittest.expect(o.instance, unittest.equals('foo')); |
| 2224 unittest.expect(o.ipAddress, unittest.equals('foo')); | 2297 unittest.expect(o.ipAddress, unittest.equals('foo')); |
| 2225 unittest.expect(o.port, unittest.equals(42)); | 2298 unittest.expect(o.port, unittest.equals(42)); |
| 2226 } | 2299 } |
| 2227 buildCounterHealthStatus--; | 2300 buildCounterHealthStatus--; |
| 2228 } | 2301 } |
| 2229 | 2302 |
| 2230 buildUnnamed1942() { | 2303 buildUnnamed2047() { |
| 2231 var o = new core.List<core.String>(); | 2304 var o = new core.List<core.String>(); |
| 2232 o.add("foo"); | 2305 o.add("foo"); |
| 2233 o.add("foo"); | 2306 o.add("foo"); |
| 2234 return o; | 2307 return o; |
| 2235 } | 2308 } |
| 2236 | 2309 |
| 2237 checkUnnamed1942(core.List<core.String> o) { | 2310 checkUnnamed2047(core.List<core.String> o) { |
| 2238 unittest.expect(o, unittest.hasLength(2)); | 2311 unittest.expect(o, unittest.hasLength(2)); |
| 2239 unittest.expect(o[0], unittest.equals('foo')); | 2312 unittest.expect(o[0], unittest.equals('foo')); |
| 2240 unittest.expect(o[1], unittest.equals('foo')); | 2313 unittest.expect(o[1], unittest.equals('foo')); |
| 2241 } | 2314 } |
| 2242 | 2315 |
| 2243 core.int buildCounterHostRule = 0; | 2316 core.int buildCounterHostRule = 0; |
| 2244 buildHostRule() { | 2317 buildHostRule() { |
| 2245 var o = new api.HostRule(); | 2318 var o = new api.HostRule(); |
| 2246 buildCounterHostRule++; | 2319 buildCounterHostRule++; |
| 2247 if (buildCounterHostRule < 3) { | 2320 if (buildCounterHostRule < 3) { |
| 2248 o.description = "foo"; | 2321 o.description = "foo"; |
| 2249 o.hosts = buildUnnamed1942(); | 2322 o.hosts = buildUnnamed2047(); |
| 2250 o.pathMatcher = "foo"; | 2323 o.pathMatcher = "foo"; |
| 2251 } | 2324 } |
| 2252 buildCounterHostRule--; | 2325 buildCounterHostRule--; |
| 2253 return o; | 2326 return o; |
| 2254 } | 2327 } |
| 2255 | 2328 |
| 2256 checkHostRule(api.HostRule o) { | 2329 checkHostRule(api.HostRule o) { |
| 2257 buildCounterHostRule++; | 2330 buildCounterHostRule++; |
| 2258 if (buildCounterHostRule < 3) { | 2331 if (buildCounterHostRule < 3) { |
| 2259 unittest.expect(o.description, unittest.equals('foo')); | 2332 unittest.expect(o.description, unittest.equals('foo')); |
| 2260 checkUnnamed1942(o.hosts); | 2333 checkUnnamed2047(o.hosts); |
| 2261 unittest.expect(o.pathMatcher, unittest.equals('foo')); | 2334 unittest.expect(o.pathMatcher, unittest.equals('foo')); |
| 2262 } | 2335 } |
| 2263 buildCounterHostRule--; | 2336 buildCounterHostRule--; |
| 2264 } | 2337 } |
| 2265 | 2338 |
| 2266 core.int buildCounterHttpHealthCheck = 0; | 2339 core.int buildCounterHttpHealthCheck = 0; |
| 2267 buildHttpHealthCheck() { | 2340 buildHttpHealthCheck() { |
| 2268 var o = new api.HttpHealthCheck(); | 2341 var o = new api.HttpHealthCheck(); |
| 2269 buildCounterHttpHealthCheck++; | 2342 buildCounterHttpHealthCheck++; |
| 2270 if (buildCounterHttpHealthCheck < 3) { | 2343 if (buildCounterHttpHealthCheck < 3) { |
| (...skipping 28 matching lines...) Expand all Loading... |
| 2299 unittest.expect(o.name, unittest.equals('foo')); | 2372 unittest.expect(o.name, unittest.equals('foo')); |
| 2300 unittest.expect(o.port, unittest.equals(42)); | 2373 unittest.expect(o.port, unittest.equals(42)); |
| 2301 unittest.expect(o.requestPath, unittest.equals('foo')); | 2374 unittest.expect(o.requestPath, unittest.equals('foo')); |
| 2302 unittest.expect(o.selfLink, unittest.equals('foo')); | 2375 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 2303 unittest.expect(o.timeoutSec, unittest.equals(42)); | 2376 unittest.expect(o.timeoutSec, unittest.equals(42)); |
| 2304 unittest.expect(o.unhealthyThreshold, unittest.equals(42)); | 2377 unittest.expect(o.unhealthyThreshold, unittest.equals(42)); |
| 2305 } | 2378 } |
| 2306 buildCounterHttpHealthCheck--; | 2379 buildCounterHttpHealthCheck--; |
| 2307 } | 2380 } |
| 2308 | 2381 |
| 2309 buildUnnamed1943() { | 2382 buildUnnamed2048() { |
| 2310 var o = new core.List<api.HttpHealthCheck>(); | 2383 var o = new core.List<api.HttpHealthCheck>(); |
| 2311 o.add(buildHttpHealthCheck()); | 2384 o.add(buildHttpHealthCheck()); |
| 2312 o.add(buildHttpHealthCheck()); | 2385 o.add(buildHttpHealthCheck()); |
| 2313 return o; | 2386 return o; |
| 2314 } | 2387 } |
| 2315 | 2388 |
| 2316 checkUnnamed1943(core.List<api.HttpHealthCheck> o) { | 2389 checkUnnamed2048(core.List<api.HttpHealthCheck> o) { |
| 2317 unittest.expect(o, unittest.hasLength(2)); | 2390 unittest.expect(o, unittest.hasLength(2)); |
| 2318 checkHttpHealthCheck(o[0]); | 2391 checkHttpHealthCheck(o[0]); |
| 2319 checkHttpHealthCheck(o[1]); | 2392 checkHttpHealthCheck(o[1]); |
| 2320 } | 2393 } |
| 2321 | 2394 |
| 2322 core.int buildCounterHttpHealthCheckList = 0; | 2395 core.int buildCounterHttpHealthCheckList = 0; |
| 2323 buildHttpHealthCheckList() { | 2396 buildHttpHealthCheckList() { |
| 2324 var o = new api.HttpHealthCheckList(); | 2397 var o = new api.HttpHealthCheckList(); |
| 2325 buildCounterHttpHealthCheckList++; | 2398 buildCounterHttpHealthCheckList++; |
| 2326 if (buildCounterHttpHealthCheckList < 3) { | 2399 if (buildCounterHttpHealthCheckList < 3) { |
| 2327 o.id = "foo"; | 2400 o.id = "foo"; |
| 2328 o.items = buildUnnamed1943(); | 2401 o.items = buildUnnamed2048(); |
| 2329 o.kind = "foo"; | 2402 o.kind = "foo"; |
| 2330 o.nextPageToken = "foo"; | 2403 o.nextPageToken = "foo"; |
| 2331 o.selfLink = "foo"; | 2404 o.selfLink = "foo"; |
| 2332 } | 2405 } |
| 2333 buildCounterHttpHealthCheckList--; | 2406 buildCounterHttpHealthCheckList--; |
| 2334 return o; | 2407 return o; |
| 2335 } | 2408 } |
| 2336 | 2409 |
| 2337 checkHttpHealthCheckList(api.HttpHealthCheckList o) { | 2410 checkHttpHealthCheckList(api.HttpHealthCheckList o) { |
| 2338 buildCounterHttpHealthCheckList++; | 2411 buildCounterHttpHealthCheckList++; |
| 2339 if (buildCounterHttpHealthCheckList < 3) { | 2412 if (buildCounterHttpHealthCheckList < 3) { |
| 2340 unittest.expect(o.id, unittest.equals('foo')); | 2413 unittest.expect(o.id, unittest.equals('foo')); |
| 2341 checkUnnamed1943(o.items); | 2414 checkUnnamed2048(o.items); |
| 2342 unittest.expect(o.kind, unittest.equals('foo')); | 2415 unittest.expect(o.kind, unittest.equals('foo')); |
| 2343 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2416 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2344 unittest.expect(o.selfLink, unittest.equals('foo')); | 2417 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 2345 } | 2418 } |
| 2346 buildCounterHttpHealthCheckList--; | 2419 buildCounterHttpHealthCheckList--; |
| 2347 } | 2420 } |
| 2348 | 2421 |
| 2349 core.int buildCounterHttpsHealthCheck = 0; | 2422 core.int buildCounterHttpsHealthCheck = 0; |
| 2350 buildHttpsHealthCheck() { | 2423 buildHttpsHealthCheck() { |
| 2351 var o = new api.HttpsHealthCheck(); | 2424 var o = new api.HttpsHealthCheck(); |
| (...skipping 30 matching lines...) Expand all Loading... |
| 2382 unittest.expect(o.name, unittest.equals('foo')); | 2455 unittest.expect(o.name, unittest.equals('foo')); |
| 2383 unittest.expect(o.port, unittest.equals(42)); | 2456 unittest.expect(o.port, unittest.equals(42)); |
| 2384 unittest.expect(o.requestPath, unittest.equals('foo')); | 2457 unittest.expect(o.requestPath, unittest.equals('foo')); |
| 2385 unittest.expect(o.selfLink, unittest.equals('foo')); | 2458 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 2386 unittest.expect(o.timeoutSec, unittest.equals(42)); | 2459 unittest.expect(o.timeoutSec, unittest.equals(42)); |
| 2387 unittest.expect(o.unhealthyThreshold, unittest.equals(42)); | 2460 unittest.expect(o.unhealthyThreshold, unittest.equals(42)); |
| 2388 } | 2461 } |
| 2389 buildCounterHttpsHealthCheck--; | 2462 buildCounterHttpsHealthCheck--; |
| 2390 } | 2463 } |
| 2391 | 2464 |
| 2392 buildUnnamed1944() { | 2465 buildUnnamed2049() { |
| 2393 var o = new core.List<api.HttpsHealthCheck>(); | 2466 var o = new core.List<api.HttpsHealthCheck>(); |
| 2394 o.add(buildHttpsHealthCheck()); | 2467 o.add(buildHttpsHealthCheck()); |
| 2395 o.add(buildHttpsHealthCheck()); | 2468 o.add(buildHttpsHealthCheck()); |
| 2396 return o; | 2469 return o; |
| 2397 } | 2470 } |
| 2398 | 2471 |
| 2399 checkUnnamed1944(core.List<api.HttpsHealthCheck> o) { | 2472 checkUnnamed2049(core.List<api.HttpsHealthCheck> o) { |
| 2400 unittest.expect(o, unittest.hasLength(2)); | 2473 unittest.expect(o, unittest.hasLength(2)); |
| 2401 checkHttpsHealthCheck(o[0]); | 2474 checkHttpsHealthCheck(o[0]); |
| 2402 checkHttpsHealthCheck(o[1]); | 2475 checkHttpsHealthCheck(o[1]); |
| 2403 } | 2476 } |
| 2404 | 2477 |
| 2405 core.int buildCounterHttpsHealthCheckList = 0; | 2478 core.int buildCounterHttpsHealthCheckList = 0; |
| 2406 buildHttpsHealthCheckList() { | 2479 buildHttpsHealthCheckList() { |
| 2407 var o = new api.HttpsHealthCheckList(); | 2480 var o = new api.HttpsHealthCheckList(); |
| 2408 buildCounterHttpsHealthCheckList++; | 2481 buildCounterHttpsHealthCheckList++; |
| 2409 if (buildCounterHttpsHealthCheckList < 3) { | 2482 if (buildCounterHttpsHealthCheckList < 3) { |
| 2410 o.id = "foo"; | 2483 o.id = "foo"; |
| 2411 o.items = buildUnnamed1944(); | 2484 o.items = buildUnnamed2049(); |
| 2412 o.kind = "foo"; | 2485 o.kind = "foo"; |
| 2413 o.nextPageToken = "foo"; | 2486 o.nextPageToken = "foo"; |
| 2414 o.selfLink = "foo"; | 2487 o.selfLink = "foo"; |
| 2415 } | 2488 } |
| 2416 buildCounterHttpsHealthCheckList--; | 2489 buildCounterHttpsHealthCheckList--; |
| 2417 return o; | 2490 return o; |
| 2418 } | 2491 } |
| 2419 | 2492 |
| 2420 checkHttpsHealthCheckList(api.HttpsHealthCheckList o) { | 2493 checkHttpsHealthCheckList(api.HttpsHealthCheckList o) { |
| 2421 buildCounterHttpsHealthCheckList++; | 2494 buildCounterHttpsHealthCheckList++; |
| 2422 if (buildCounterHttpsHealthCheckList < 3) { | 2495 if (buildCounterHttpsHealthCheckList < 3) { |
| 2423 unittest.expect(o.id, unittest.equals('foo')); | 2496 unittest.expect(o.id, unittest.equals('foo')); |
| 2424 checkUnnamed1944(o.items); | 2497 checkUnnamed2049(o.items); |
| 2425 unittest.expect(o.kind, unittest.equals('foo')); | 2498 unittest.expect(o.kind, unittest.equals('foo')); |
| 2426 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2499 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2427 unittest.expect(o.selfLink, unittest.equals('foo')); | 2500 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 2428 } | 2501 } |
| 2429 buildCounterHttpsHealthCheckList--; | 2502 buildCounterHttpsHealthCheckList--; |
| 2430 } | 2503 } |
| 2431 | 2504 |
| 2432 buildUnnamed1945() { | 2505 buildUnnamed2050() { |
| 2433 var o = new core.List<api.GuestOsFeature>(); | 2506 var o = new core.List<api.GuestOsFeature>(); |
| 2434 o.add(buildGuestOsFeature()); | 2507 o.add(buildGuestOsFeature()); |
| 2435 o.add(buildGuestOsFeature()); | 2508 o.add(buildGuestOsFeature()); |
| 2436 return o; | 2509 return o; |
| 2437 } | 2510 } |
| 2438 | 2511 |
| 2439 checkUnnamed1945(core.List<api.GuestOsFeature> o) { | 2512 checkUnnamed2050(core.List<api.GuestOsFeature> o) { |
| 2440 unittest.expect(o, unittest.hasLength(2)); | 2513 unittest.expect(o, unittest.hasLength(2)); |
| 2441 checkGuestOsFeature(o[0]); | 2514 checkGuestOsFeature(o[0]); |
| 2442 checkGuestOsFeature(o[1]); | 2515 checkGuestOsFeature(o[1]); |
| 2443 } | 2516 } |
| 2444 | 2517 |
| 2445 buildUnnamed1946() { | 2518 buildUnnamed2051() { |
| 2446 var o = new core.List<core.String>(); | 2519 var o = new core.List<core.String>(); |
| 2447 o.add("foo"); | 2520 o.add("foo"); |
| 2448 o.add("foo"); | 2521 o.add("foo"); |
| 2449 return o; | 2522 return o; |
| 2450 } | 2523 } |
| 2451 | 2524 |
| 2452 checkUnnamed1946(core.List<core.String> o) { | 2525 checkUnnamed2051(core.List<core.String> o) { |
| 2453 unittest.expect(o, unittest.hasLength(2)); | 2526 unittest.expect(o, unittest.hasLength(2)); |
| 2454 unittest.expect(o[0], unittest.equals('foo')); | 2527 unittest.expect(o[0], unittest.equals('foo')); |
| 2455 unittest.expect(o[1], unittest.equals('foo')); | 2528 unittest.expect(o[1], unittest.equals('foo')); |
| 2456 } | 2529 } |
| 2457 | 2530 |
| 2458 core.int buildCounterImageRawDisk = 0; | 2531 core.int buildCounterImageRawDisk = 0; |
| 2459 buildImageRawDisk() { | 2532 buildImageRawDisk() { |
| 2460 var o = new api.ImageRawDisk(); | 2533 var o = new api.ImageRawDisk(); |
| 2461 buildCounterImageRawDisk++; | 2534 buildCounterImageRawDisk++; |
| 2462 if (buildCounterImageRawDisk < 3) { | 2535 if (buildCounterImageRawDisk < 3) { |
| (...skipping 19 matching lines...) Expand all Loading... |
| 2482 buildImage() { | 2555 buildImage() { |
| 2483 var o = new api.Image(); | 2556 var o = new api.Image(); |
| 2484 buildCounterImage++; | 2557 buildCounterImage++; |
| 2485 if (buildCounterImage < 3) { | 2558 if (buildCounterImage < 3) { |
| 2486 o.archiveSizeBytes = "foo"; | 2559 o.archiveSizeBytes = "foo"; |
| 2487 o.creationTimestamp = "foo"; | 2560 o.creationTimestamp = "foo"; |
| 2488 o.deprecated = buildDeprecationStatus(); | 2561 o.deprecated = buildDeprecationStatus(); |
| 2489 o.description = "foo"; | 2562 o.description = "foo"; |
| 2490 o.diskSizeGb = "foo"; | 2563 o.diskSizeGb = "foo"; |
| 2491 o.family = "foo"; | 2564 o.family = "foo"; |
| 2492 o.guestOsFeatures = buildUnnamed1945(); | 2565 o.guestOsFeatures = buildUnnamed2050(); |
| 2493 o.id = "foo"; | 2566 o.id = "foo"; |
| 2494 o.imageEncryptionKey = buildCustomerEncryptionKey(); | 2567 o.imageEncryptionKey = buildCustomerEncryptionKey(); |
| 2495 o.kind = "foo"; | 2568 o.kind = "foo"; |
| 2496 o.licenses = buildUnnamed1946(); | 2569 o.licenses = buildUnnamed2051(); |
| 2497 o.name = "foo"; | 2570 o.name = "foo"; |
| 2498 o.rawDisk = buildImageRawDisk(); | 2571 o.rawDisk = buildImageRawDisk(); |
| 2499 o.selfLink = "foo"; | 2572 o.selfLink = "foo"; |
| 2500 o.sourceDisk = "foo"; | 2573 o.sourceDisk = "foo"; |
| 2501 o.sourceDiskEncryptionKey = buildCustomerEncryptionKey(); | 2574 o.sourceDiskEncryptionKey = buildCustomerEncryptionKey(); |
| 2502 o.sourceDiskId = "foo"; | 2575 o.sourceDiskId = "foo"; |
| 2503 o.sourceType = "foo"; | 2576 o.sourceType = "foo"; |
| 2504 o.status = "foo"; | 2577 o.status = "foo"; |
| 2505 } | 2578 } |
| 2506 buildCounterImage--; | 2579 buildCounterImage--; |
| 2507 return o; | 2580 return o; |
| 2508 } | 2581 } |
| 2509 | 2582 |
| 2510 checkImage(api.Image o) { | 2583 checkImage(api.Image o) { |
| 2511 buildCounterImage++; | 2584 buildCounterImage++; |
| 2512 if (buildCounterImage < 3) { | 2585 if (buildCounterImage < 3) { |
| 2513 unittest.expect(o.archiveSizeBytes, unittest.equals('foo')); | 2586 unittest.expect(o.archiveSizeBytes, unittest.equals('foo')); |
| 2514 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 2587 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 2515 checkDeprecationStatus(o.deprecated); | 2588 checkDeprecationStatus(o.deprecated); |
| 2516 unittest.expect(o.description, unittest.equals('foo')); | 2589 unittest.expect(o.description, unittest.equals('foo')); |
| 2517 unittest.expect(o.diskSizeGb, unittest.equals('foo')); | 2590 unittest.expect(o.diskSizeGb, unittest.equals('foo')); |
| 2518 unittest.expect(o.family, unittest.equals('foo')); | 2591 unittest.expect(o.family, unittest.equals('foo')); |
| 2519 checkUnnamed1945(o.guestOsFeatures); | 2592 checkUnnamed2050(o.guestOsFeatures); |
| 2520 unittest.expect(o.id, unittest.equals('foo')); | 2593 unittest.expect(o.id, unittest.equals('foo')); |
| 2521 checkCustomerEncryptionKey(o.imageEncryptionKey); | 2594 checkCustomerEncryptionKey(o.imageEncryptionKey); |
| 2522 unittest.expect(o.kind, unittest.equals('foo')); | 2595 unittest.expect(o.kind, unittest.equals('foo')); |
| 2523 checkUnnamed1946(o.licenses); | 2596 checkUnnamed2051(o.licenses); |
| 2524 unittest.expect(o.name, unittest.equals('foo')); | 2597 unittest.expect(o.name, unittest.equals('foo')); |
| 2525 checkImageRawDisk(o.rawDisk); | 2598 checkImageRawDisk(o.rawDisk); |
| 2526 unittest.expect(o.selfLink, unittest.equals('foo')); | 2599 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 2527 unittest.expect(o.sourceDisk, unittest.equals('foo')); | 2600 unittest.expect(o.sourceDisk, unittest.equals('foo')); |
| 2528 checkCustomerEncryptionKey(o.sourceDiskEncryptionKey); | 2601 checkCustomerEncryptionKey(o.sourceDiskEncryptionKey); |
| 2529 unittest.expect(o.sourceDiskId, unittest.equals('foo')); | 2602 unittest.expect(o.sourceDiskId, unittest.equals('foo')); |
| 2530 unittest.expect(o.sourceType, unittest.equals('foo')); | 2603 unittest.expect(o.sourceType, unittest.equals('foo')); |
| 2531 unittest.expect(o.status, unittest.equals('foo')); | 2604 unittest.expect(o.status, unittest.equals('foo')); |
| 2532 } | 2605 } |
| 2533 buildCounterImage--; | 2606 buildCounterImage--; |
| 2534 } | 2607 } |
| 2535 | 2608 |
| 2536 buildUnnamed1947() { | 2609 buildUnnamed2052() { |
| 2537 var o = new core.List<api.Image>(); | 2610 var o = new core.List<api.Image>(); |
| 2538 o.add(buildImage()); | 2611 o.add(buildImage()); |
| 2539 o.add(buildImage()); | 2612 o.add(buildImage()); |
| 2540 return o; | 2613 return o; |
| 2541 } | 2614 } |
| 2542 | 2615 |
| 2543 checkUnnamed1947(core.List<api.Image> o) { | 2616 checkUnnamed2052(core.List<api.Image> o) { |
| 2544 unittest.expect(o, unittest.hasLength(2)); | 2617 unittest.expect(o, unittest.hasLength(2)); |
| 2545 checkImage(o[0]); | 2618 checkImage(o[0]); |
| 2546 checkImage(o[1]); | 2619 checkImage(o[1]); |
| 2547 } | 2620 } |
| 2548 | 2621 |
| 2549 core.int buildCounterImageList = 0; | 2622 core.int buildCounterImageList = 0; |
| 2550 buildImageList() { | 2623 buildImageList() { |
| 2551 var o = new api.ImageList(); | 2624 var o = new api.ImageList(); |
| 2552 buildCounterImageList++; | 2625 buildCounterImageList++; |
| 2553 if (buildCounterImageList < 3) { | 2626 if (buildCounterImageList < 3) { |
| 2554 o.id = "foo"; | 2627 o.id = "foo"; |
| 2555 o.items = buildUnnamed1947(); | 2628 o.items = buildUnnamed2052(); |
| 2556 o.kind = "foo"; | 2629 o.kind = "foo"; |
| 2557 o.nextPageToken = "foo"; | 2630 o.nextPageToken = "foo"; |
| 2558 o.selfLink = "foo"; | 2631 o.selfLink = "foo"; |
| 2559 } | 2632 } |
| 2560 buildCounterImageList--; | 2633 buildCounterImageList--; |
| 2561 return o; | 2634 return o; |
| 2562 } | 2635 } |
| 2563 | 2636 |
| 2564 checkImageList(api.ImageList o) { | 2637 checkImageList(api.ImageList o) { |
| 2565 buildCounterImageList++; | 2638 buildCounterImageList++; |
| 2566 if (buildCounterImageList < 3) { | 2639 if (buildCounterImageList < 3) { |
| 2567 unittest.expect(o.id, unittest.equals('foo')); | 2640 unittest.expect(o.id, unittest.equals('foo')); |
| 2568 checkUnnamed1947(o.items); | 2641 checkUnnamed2052(o.items); |
| 2569 unittest.expect(o.kind, unittest.equals('foo')); | 2642 unittest.expect(o.kind, unittest.equals('foo')); |
| 2570 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2643 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2571 unittest.expect(o.selfLink, unittest.equals('foo')); | 2644 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 2572 } | 2645 } |
| 2573 buildCounterImageList--; | 2646 buildCounterImageList--; |
| 2574 } | 2647 } |
| 2575 | 2648 |
| 2576 buildUnnamed1948() { | 2649 buildUnnamed2053() { |
| 2577 var o = new core.List<api.AttachedDisk>(); | 2650 var o = new core.List<api.AttachedDisk>(); |
| 2578 o.add(buildAttachedDisk()); | 2651 o.add(buildAttachedDisk()); |
| 2579 o.add(buildAttachedDisk()); | 2652 o.add(buildAttachedDisk()); |
| 2580 return o; | 2653 return o; |
| 2581 } | 2654 } |
| 2582 | 2655 |
| 2583 checkUnnamed1948(core.List<api.AttachedDisk> o) { | 2656 checkUnnamed2053(core.List<api.AttachedDisk> o) { |
| 2584 unittest.expect(o, unittest.hasLength(2)); | 2657 unittest.expect(o, unittest.hasLength(2)); |
| 2585 checkAttachedDisk(o[0]); | 2658 checkAttachedDisk(o[0]); |
| 2586 checkAttachedDisk(o[1]); | 2659 checkAttachedDisk(o[1]); |
| 2587 } | 2660 } |
| 2588 | 2661 |
| 2589 buildUnnamed1949() { | 2662 buildUnnamed2054() { |
| 2590 var o = new core.List<api.NetworkInterface>(); | 2663 var o = new core.List<api.NetworkInterface>(); |
| 2591 o.add(buildNetworkInterface()); | 2664 o.add(buildNetworkInterface()); |
| 2592 o.add(buildNetworkInterface()); | 2665 o.add(buildNetworkInterface()); |
| 2593 return o; | 2666 return o; |
| 2594 } | 2667 } |
| 2595 | 2668 |
| 2596 checkUnnamed1949(core.List<api.NetworkInterface> o) { | 2669 checkUnnamed2054(core.List<api.NetworkInterface> o) { |
| 2597 unittest.expect(o, unittest.hasLength(2)); | 2670 unittest.expect(o, unittest.hasLength(2)); |
| 2598 checkNetworkInterface(o[0]); | 2671 checkNetworkInterface(o[0]); |
| 2599 checkNetworkInterface(o[1]); | 2672 checkNetworkInterface(o[1]); |
| 2600 } | 2673 } |
| 2601 | 2674 |
| 2602 buildUnnamed1950() { | 2675 buildUnnamed2055() { |
| 2603 var o = new core.List<api.ServiceAccount>(); | 2676 var o = new core.List<api.ServiceAccount>(); |
| 2604 o.add(buildServiceAccount()); | 2677 o.add(buildServiceAccount()); |
| 2605 o.add(buildServiceAccount()); | 2678 o.add(buildServiceAccount()); |
| 2606 return o; | 2679 return o; |
| 2607 } | 2680 } |
| 2608 | 2681 |
| 2609 checkUnnamed1950(core.List<api.ServiceAccount> o) { | 2682 checkUnnamed2055(core.List<api.ServiceAccount> o) { |
| 2610 unittest.expect(o, unittest.hasLength(2)); | 2683 unittest.expect(o, unittest.hasLength(2)); |
| 2611 checkServiceAccount(o[0]); | 2684 checkServiceAccount(o[0]); |
| 2612 checkServiceAccount(o[1]); | 2685 checkServiceAccount(o[1]); |
| 2613 } | 2686 } |
| 2614 | 2687 |
| 2615 core.int buildCounterInstance = 0; | 2688 core.int buildCounterInstance = 0; |
| 2616 buildInstance() { | 2689 buildInstance() { |
| 2617 var o = new api.Instance(); | 2690 var o = new api.Instance(); |
| 2618 buildCounterInstance++; | 2691 buildCounterInstance++; |
| 2619 if (buildCounterInstance < 3) { | 2692 if (buildCounterInstance < 3) { |
| 2620 o.canIpForward = true; | 2693 o.canIpForward = true; |
| 2621 o.cpuPlatform = "foo"; | 2694 o.cpuPlatform = "foo"; |
| 2622 o.creationTimestamp = "foo"; | 2695 o.creationTimestamp = "foo"; |
| 2623 o.description = "foo"; | 2696 o.description = "foo"; |
| 2624 o.disks = buildUnnamed1948(); | 2697 o.disks = buildUnnamed2053(); |
| 2625 o.id = "foo"; | 2698 o.id = "foo"; |
| 2626 o.kind = "foo"; | 2699 o.kind = "foo"; |
| 2627 o.machineType = "foo"; | 2700 o.machineType = "foo"; |
| 2628 o.metadata = buildMetadata(); | 2701 o.metadata = buildMetadata(); |
| 2629 o.name = "foo"; | 2702 o.name = "foo"; |
| 2630 o.networkInterfaces = buildUnnamed1949(); | 2703 o.networkInterfaces = buildUnnamed2054(); |
| 2631 o.scheduling = buildScheduling(); | 2704 o.scheduling = buildScheduling(); |
| 2632 o.selfLink = "foo"; | 2705 o.selfLink = "foo"; |
| 2633 o.serviceAccounts = buildUnnamed1950(); | 2706 o.serviceAccounts = buildUnnamed2055(); |
| 2634 o.status = "foo"; | 2707 o.status = "foo"; |
| 2635 o.statusMessage = "foo"; | 2708 o.statusMessage = "foo"; |
| 2636 o.tags = buildTags(); | 2709 o.tags = buildTags(); |
| 2637 o.zone = "foo"; | 2710 o.zone = "foo"; |
| 2638 } | 2711 } |
| 2639 buildCounterInstance--; | 2712 buildCounterInstance--; |
| 2640 return o; | 2713 return o; |
| 2641 } | 2714 } |
| 2642 | 2715 |
| 2643 checkInstance(api.Instance o) { | 2716 checkInstance(api.Instance o) { |
| 2644 buildCounterInstance++; | 2717 buildCounterInstance++; |
| 2645 if (buildCounterInstance < 3) { | 2718 if (buildCounterInstance < 3) { |
| 2646 unittest.expect(o.canIpForward, unittest.isTrue); | 2719 unittest.expect(o.canIpForward, unittest.isTrue); |
| 2647 unittest.expect(o.cpuPlatform, unittest.equals('foo')); | 2720 unittest.expect(o.cpuPlatform, unittest.equals('foo')); |
| 2648 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 2721 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 2649 unittest.expect(o.description, unittest.equals('foo')); | 2722 unittest.expect(o.description, unittest.equals('foo')); |
| 2650 checkUnnamed1948(o.disks); | 2723 checkUnnamed2053(o.disks); |
| 2651 unittest.expect(o.id, unittest.equals('foo')); | 2724 unittest.expect(o.id, unittest.equals('foo')); |
| 2652 unittest.expect(o.kind, unittest.equals('foo')); | 2725 unittest.expect(o.kind, unittest.equals('foo')); |
| 2653 unittest.expect(o.machineType, unittest.equals('foo')); | 2726 unittest.expect(o.machineType, unittest.equals('foo')); |
| 2654 checkMetadata(o.metadata); | 2727 checkMetadata(o.metadata); |
| 2655 unittest.expect(o.name, unittest.equals('foo')); | 2728 unittest.expect(o.name, unittest.equals('foo')); |
| 2656 checkUnnamed1949(o.networkInterfaces); | 2729 checkUnnamed2054(o.networkInterfaces); |
| 2657 checkScheduling(o.scheduling); | 2730 checkScheduling(o.scheduling); |
| 2658 unittest.expect(o.selfLink, unittest.equals('foo')); | 2731 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 2659 checkUnnamed1950(o.serviceAccounts); | 2732 checkUnnamed2055(o.serviceAccounts); |
| 2660 unittest.expect(o.status, unittest.equals('foo')); | 2733 unittest.expect(o.status, unittest.equals('foo')); |
| 2661 unittest.expect(o.statusMessage, unittest.equals('foo')); | 2734 unittest.expect(o.statusMessage, unittest.equals('foo')); |
| 2662 checkTags(o.tags); | 2735 checkTags(o.tags); |
| 2663 unittest.expect(o.zone, unittest.equals('foo')); | 2736 unittest.expect(o.zone, unittest.equals('foo')); |
| 2664 } | 2737 } |
| 2665 buildCounterInstance--; | 2738 buildCounterInstance--; |
| 2666 } | 2739 } |
| 2667 | 2740 |
| 2668 buildUnnamed1951() { | 2741 buildUnnamed2056() { |
| 2669 var o = new core.Map<core.String, api.InstancesScopedList>(); | 2742 var o = new core.Map<core.String, api.InstancesScopedList>(); |
| 2670 o["x"] = buildInstancesScopedList(); | 2743 o["x"] = buildInstancesScopedList(); |
| 2671 o["y"] = buildInstancesScopedList(); | 2744 o["y"] = buildInstancesScopedList(); |
| 2672 return o; | 2745 return o; |
| 2673 } | 2746 } |
| 2674 | 2747 |
| 2675 checkUnnamed1951(core.Map<core.String, api.InstancesScopedList> o) { | 2748 checkUnnamed2056(core.Map<core.String, api.InstancesScopedList> o) { |
| 2676 unittest.expect(o, unittest.hasLength(2)); | 2749 unittest.expect(o, unittest.hasLength(2)); |
| 2677 checkInstancesScopedList(o["x"]); | 2750 checkInstancesScopedList(o["x"]); |
| 2678 checkInstancesScopedList(o["y"]); | 2751 checkInstancesScopedList(o["y"]); |
| 2679 } | 2752 } |
| 2680 | 2753 |
| 2681 core.int buildCounterInstanceAggregatedList = 0; | 2754 core.int buildCounterInstanceAggregatedList = 0; |
| 2682 buildInstanceAggregatedList() { | 2755 buildInstanceAggregatedList() { |
| 2683 var o = new api.InstanceAggregatedList(); | 2756 var o = new api.InstanceAggregatedList(); |
| 2684 buildCounterInstanceAggregatedList++; | 2757 buildCounterInstanceAggregatedList++; |
| 2685 if (buildCounterInstanceAggregatedList < 3) { | 2758 if (buildCounterInstanceAggregatedList < 3) { |
| 2686 o.id = "foo"; | 2759 o.id = "foo"; |
| 2687 o.items = buildUnnamed1951(); | 2760 o.items = buildUnnamed2056(); |
| 2688 o.kind = "foo"; | 2761 o.kind = "foo"; |
| 2689 o.nextPageToken = "foo"; | 2762 o.nextPageToken = "foo"; |
| 2690 o.selfLink = "foo"; | 2763 o.selfLink = "foo"; |
| 2691 } | 2764 } |
| 2692 buildCounterInstanceAggregatedList--; | 2765 buildCounterInstanceAggregatedList--; |
| 2693 return o; | 2766 return o; |
| 2694 } | 2767 } |
| 2695 | 2768 |
| 2696 checkInstanceAggregatedList(api.InstanceAggregatedList o) { | 2769 checkInstanceAggregatedList(api.InstanceAggregatedList o) { |
| 2697 buildCounterInstanceAggregatedList++; | 2770 buildCounterInstanceAggregatedList++; |
| 2698 if (buildCounterInstanceAggregatedList < 3) { | 2771 if (buildCounterInstanceAggregatedList < 3) { |
| 2699 unittest.expect(o.id, unittest.equals('foo')); | 2772 unittest.expect(o.id, unittest.equals('foo')); |
| 2700 checkUnnamed1951(o.items); | 2773 checkUnnamed2056(o.items); |
| 2701 unittest.expect(o.kind, unittest.equals('foo')); | 2774 unittest.expect(o.kind, unittest.equals('foo')); |
| 2702 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2775 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2703 unittest.expect(o.selfLink, unittest.equals('foo')); | 2776 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 2704 } | 2777 } |
| 2705 buildCounterInstanceAggregatedList--; | 2778 buildCounterInstanceAggregatedList--; |
| 2706 } | 2779 } |
| 2707 | 2780 |
| 2708 buildUnnamed1952() { | 2781 buildUnnamed2057() { |
| 2709 var o = new core.List<api.NamedPort>(); | 2782 var o = new core.List<api.NamedPort>(); |
| 2710 o.add(buildNamedPort()); | 2783 o.add(buildNamedPort()); |
| 2711 o.add(buildNamedPort()); | 2784 o.add(buildNamedPort()); |
| 2712 return o; | 2785 return o; |
| 2713 } | 2786 } |
| 2714 | 2787 |
| 2715 checkUnnamed1952(core.List<api.NamedPort> o) { | 2788 checkUnnamed2057(core.List<api.NamedPort> o) { |
| 2716 unittest.expect(o, unittest.hasLength(2)); | 2789 unittest.expect(o, unittest.hasLength(2)); |
| 2717 checkNamedPort(o[0]); | 2790 checkNamedPort(o[0]); |
| 2718 checkNamedPort(o[1]); | 2791 checkNamedPort(o[1]); |
| 2719 } | 2792 } |
| 2720 | 2793 |
| 2721 core.int buildCounterInstanceGroup = 0; | 2794 core.int buildCounterInstanceGroup = 0; |
| 2722 buildInstanceGroup() { | 2795 buildInstanceGroup() { |
| 2723 var o = new api.InstanceGroup(); | 2796 var o = new api.InstanceGroup(); |
| 2724 buildCounterInstanceGroup++; | 2797 buildCounterInstanceGroup++; |
| 2725 if (buildCounterInstanceGroup < 3) { | 2798 if (buildCounterInstanceGroup < 3) { |
| 2726 o.creationTimestamp = "foo"; | 2799 o.creationTimestamp = "foo"; |
| 2727 o.description = "foo"; | 2800 o.description = "foo"; |
| 2728 o.fingerprint = "foo"; | 2801 o.fingerprint = "foo"; |
| 2729 o.id = "foo"; | 2802 o.id = "foo"; |
| 2730 o.kind = "foo"; | 2803 o.kind = "foo"; |
| 2731 o.name = "foo"; | 2804 o.name = "foo"; |
| 2732 o.namedPorts = buildUnnamed1952(); | 2805 o.namedPorts = buildUnnamed2057(); |
| 2733 o.network = "foo"; | 2806 o.network = "foo"; |
| 2734 o.region = "foo"; | 2807 o.region = "foo"; |
| 2735 o.selfLink = "foo"; | 2808 o.selfLink = "foo"; |
| 2736 o.size = 42; | 2809 o.size = 42; |
| 2737 o.subnetwork = "foo"; | 2810 o.subnetwork = "foo"; |
| 2738 o.zone = "foo"; | 2811 o.zone = "foo"; |
| 2739 } | 2812 } |
| 2740 buildCounterInstanceGroup--; | 2813 buildCounterInstanceGroup--; |
| 2741 return o; | 2814 return o; |
| 2742 } | 2815 } |
| 2743 | 2816 |
| 2744 checkInstanceGroup(api.InstanceGroup o) { | 2817 checkInstanceGroup(api.InstanceGroup o) { |
| 2745 buildCounterInstanceGroup++; | 2818 buildCounterInstanceGroup++; |
| 2746 if (buildCounterInstanceGroup < 3) { | 2819 if (buildCounterInstanceGroup < 3) { |
| 2747 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 2820 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 2748 unittest.expect(o.description, unittest.equals('foo')); | 2821 unittest.expect(o.description, unittest.equals('foo')); |
| 2749 unittest.expect(o.fingerprint, unittest.equals('foo')); | 2822 unittest.expect(o.fingerprint, unittest.equals('foo')); |
| 2750 unittest.expect(o.id, unittest.equals('foo')); | 2823 unittest.expect(o.id, unittest.equals('foo')); |
| 2751 unittest.expect(o.kind, unittest.equals('foo')); | 2824 unittest.expect(o.kind, unittest.equals('foo')); |
| 2752 unittest.expect(o.name, unittest.equals('foo')); | 2825 unittest.expect(o.name, unittest.equals('foo')); |
| 2753 checkUnnamed1952(o.namedPorts); | 2826 checkUnnamed2057(o.namedPorts); |
| 2754 unittest.expect(o.network, unittest.equals('foo')); | 2827 unittest.expect(o.network, unittest.equals('foo')); |
| 2755 unittest.expect(o.region, unittest.equals('foo')); | 2828 unittest.expect(o.region, unittest.equals('foo')); |
| 2756 unittest.expect(o.selfLink, unittest.equals('foo')); | 2829 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 2757 unittest.expect(o.size, unittest.equals(42)); | 2830 unittest.expect(o.size, unittest.equals(42)); |
| 2758 unittest.expect(o.subnetwork, unittest.equals('foo')); | 2831 unittest.expect(o.subnetwork, unittest.equals('foo')); |
| 2759 unittest.expect(o.zone, unittest.equals('foo')); | 2832 unittest.expect(o.zone, unittest.equals('foo')); |
| 2760 } | 2833 } |
| 2761 buildCounterInstanceGroup--; | 2834 buildCounterInstanceGroup--; |
| 2762 } | 2835 } |
| 2763 | 2836 |
| 2764 buildUnnamed1953() { | 2837 buildUnnamed2058() { |
| 2765 var o = new core.Map<core.String, api.InstanceGroupsScopedList>(); | 2838 var o = new core.Map<core.String, api.InstanceGroupsScopedList>(); |
| 2766 o["x"] = buildInstanceGroupsScopedList(); | 2839 o["x"] = buildInstanceGroupsScopedList(); |
| 2767 o["y"] = buildInstanceGroupsScopedList(); | 2840 o["y"] = buildInstanceGroupsScopedList(); |
| 2768 return o; | 2841 return o; |
| 2769 } | 2842 } |
| 2770 | 2843 |
| 2771 checkUnnamed1953(core.Map<core.String, api.InstanceGroupsScopedList> o) { | 2844 checkUnnamed2058(core.Map<core.String, api.InstanceGroupsScopedList> o) { |
| 2772 unittest.expect(o, unittest.hasLength(2)); | 2845 unittest.expect(o, unittest.hasLength(2)); |
| 2773 checkInstanceGroupsScopedList(o["x"]); | 2846 checkInstanceGroupsScopedList(o["x"]); |
| 2774 checkInstanceGroupsScopedList(o["y"]); | 2847 checkInstanceGroupsScopedList(o["y"]); |
| 2775 } | 2848 } |
| 2776 | 2849 |
| 2777 core.int buildCounterInstanceGroupAggregatedList = 0; | 2850 core.int buildCounterInstanceGroupAggregatedList = 0; |
| 2778 buildInstanceGroupAggregatedList() { | 2851 buildInstanceGroupAggregatedList() { |
| 2779 var o = new api.InstanceGroupAggregatedList(); | 2852 var o = new api.InstanceGroupAggregatedList(); |
| 2780 buildCounterInstanceGroupAggregatedList++; | 2853 buildCounterInstanceGroupAggregatedList++; |
| 2781 if (buildCounterInstanceGroupAggregatedList < 3) { | 2854 if (buildCounterInstanceGroupAggregatedList < 3) { |
| 2782 o.id = "foo"; | 2855 o.id = "foo"; |
| 2783 o.items = buildUnnamed1953(); | 2856 o.items = buildUnnamed2058(); |
| 2784 o.kind = "foo"; | 2857 o.kind = "foo"; |
| 2785 o.nextPageToken = "foo"; | 2858 o.nextPageToken = "foo"; |
| 2786 o.selfLink = "foo"; | 2859 o.selfLink = "foo"; |
| 2787 } | 2860 } |
| 2788 buildCounterInstanceGroupAggregatedList--; | 2861 buildCounterInstanceGroupAggregatedList--; |
| 2789 return o; | 2862 return o; |
| 2790 } | 2863 } |
| 2791 | 2864 |
| 2792 checkInstanceGroupAggregatedList(api.InstanceGroupAggregatedList o) { | 2865 checkInstanceGroupAggregatedList(api.InstanceGroupAggregatedList o) { |
| 2793 buildCounterInstanceGroupAggregatedList++; | 2866 buildCounterInstanceGroupAggregatedList++; |
| 2794 if (buildCounterInstanceGroupAggregatedList < 3) { | 2867 if (buildCounterInstanceGroupAggregatedList < 3) { |
| 2795 unittest.expect(o.id, unittest.equals('foo')); | 2868 unittest.expect(o.id, unittest.equals('foo')); |
| 2796 checkUnnamed1953(o.items); | 2869 checkUnnamed2058(o.items); |
| 2797 unittest.expect(o.kind, unittest.equals('foo')); | 2870 unittest.expect(o.kind, unittest.equals('foo')); |
| 2798 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2871 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2799 unittest.expect(o.selfLink, unittest.equals('foo')); | 2872 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 2800 } | 2873 } |
| 2801 buildCounterInstanceGroupAggregatedList--; | 2874 buildCounterInstanceGroupAggregatedList--; |
| 2802 } | 2875 } |
| 2803 | 2876 |
| 2804 buildUnnamed1954() { | 2877 buildUnnamed2059() { |
| 2805 var o = new core.List<api.InstanceGroup>(); | 2878 var o = new core.List<api.InstanceGroup>(); |
| 2806 o.add(buildInstanceGroup()); | 2879 o.add(buildInstanceGroup()); |
| 2807 o.add(buildInstanceGroup()); | 2880 o.add(buildInstanceGroup()); |
| 2808 return o; | 2881 return o; |
| 2809 } | 2882 } |
| 2810 | 2883 |
| 2811 checkUnnamed1954(core.List<api.InstanceGroup> o) { | 2884 checkUnnamed2059(core.List<api.InstanceGroup> o) { |
| 2812 unittest.expect(o, unittest.hasLength(2)); | 2885 unittest.expect(o, unittest.hasLength(2)); |
| 2813 checkInstanceGroup(o[0]); | 2886 checkInstanceGroup(o[0]); |
| 2814 checkInstanceGroup(o[1]); | 2887 checkInstanceGroup(o[1]); |
| 2815 } | 2888 } |
| 2816 | 2889 |
| 2817 core.int buildCounterInstanceGroupList = 0; | 2890 core.int buildCounterInstanceGroupList = 0; |
| 2818 buildInstanceGroupList() { | 2891 buildInstanceGroupList() { |
| 2819 var o = new api.InstanceGroupList(); | 2892 var o = new api.InstanceGroupList(); |
| 2820 buildCounterInstanceGroupList++; | 2893 buildCounterInstanceGroupList++; |
| 2821 if (buildCounterInstanceGroupList < 3) { | 2894 if (buildCounterInstanceGroupList < 3) { |
| 2822 o.id = "foo"; | 2895 o.id = "foo"; |
| 2823 o.items = buildUnnamed1954(); | 2896 o.items = buildUnnamed2059(); |
| 2824 o.kind = "foo"; | 2897 o.kind = "foo"; |
| 2825 o.nextPageToken = "foo"; | 2898 o.nextPageToken = "foo"; |
| 2826 o.selfLink = "foo"; | 2899 o.selfLink = "foo"; |
| 2827 } | 2900 } |
| 2828 buildCounterInstanceGroupList--; | 2901 buildCounterInstanceGroupList--; |
| 2829 return o; | 2902 return o; |
| 2830 } | 2903 } |
| 2831 | 2904 |
| 2832 checkInstanceGroupList(api.InstanceGroupList o) { | 2905 checkInstanceGroupList(api.InstanceGroupList o) { |
| 2833 buildCounterInstanceGroupList++; | 2906 buildCounterInstanceGroupList++; |
| 2834 if (buildCounterInstanceGroupList < 3) { | 2907 if (buildCounterInstanceGroupList < 3) { |
| 2835 unittest.expect(o.id, unittest.equals('foo')); | 2908 unittest.expect(o.id, unittest.equals('foo')); |
| 2836 checkUnnamed1954(o.items); | 2909 checkUnnamed2059(o.items); |
| 2837 unittest.expect(o.kind, unittest.equals('foo')); | 2910 unittest.expect(o.kind, unittest.equals('foo')); |
| 2838 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2911 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2839 unittest.expect(o.selfLink, unittest.equals('foo')); | 2912 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 2840 } | 2913 } |
| 2841 buildCounterInstanceGroupList--; | 2914 buildCounterInstanceGroupList--; |
| 2842 } | 2915 } |
| 2843 | 2916 |
| 2844 buildUnnamed1955() { | 2917 buildUnnamed2060() { |
| 2845 var o = new core.List<api.NamedPort>(); | 2918 var o = new core.List<api.NamedPort>(); |
| 2846 o.add(buildNamedPort()); | 2919 o.add(buildNamedPort()); |
| 2847 o.add(buildNamedPort()); | 2920 o.add(buildNamedPort()); |
| 2848 return o; | 2921 return o; |
| 2849 } | 2922 } |
| 2850 | 2923 |
| 2851 checkUnnamed1955(core.List<api.NamedPort> o) { | 2924 checkUnnamed2060(core.List<api.NamedPort> o) { |
| 2852 unittest.expect(o, unittest.hasLength(2)); | 2925 unittest.expect(o, unittest.hasLength(2)); |
| 2853 checkNamedPort(o[0]); | 2926 checkNamedPort(o[0]); |
| 2854 checkNamedPort(o[1]); | 2927 checkNamedPort(o[1]); |
| 2855 } | 2928 } |
| 2856 | 2929 |
| 2857 buildUnnamed1956() { | 2930 buildUnnamed2061() { |
| 2858 var o = new core.List<core.String>(); | 2931 var o = new core.List<core.String>(); |
| 2859 o.add("foo"); | 2932 o.add("foo"); |
| 2860 o.add("foo"); | 2933 o.add("foo"); |
| 2861 return o; | 2934 return o; |
| 2862 } | 2935 } |
| 2863 | 2936 |
| 2864 checkUnnamed1956(core.List<core.String> o) { | 2937 checkUnnamed2061(core.List<core.String> o) { |
| 2865 unittest.expect(o, unittest.hasLength(2)); | 2938 unittest.expect(o, unittest.hasLength(2)); |
| 2866 unittest.expect(o[0], unittest.equals('foo')); | 2939 unittest.expect(o[0], unittest.equals('foo')); |
| 2867 unittest.expect(o[1], unittest.equals('foo')); | 2940 unittest.expect(o[1], unittest.equals('foo')); |
| 2868 } | 2941 } |
| 2869 | 2942 |
| 2870 core.int buildCounterInstanceGroupManager = 0; | 2943 core.int buildCounterInstanceGroupManager = 0; |
| 2871 buildInstanceGroupManager() { | 2944 buildInstanceGroupManager() { |
| 2872 var o = new api.InstanceGroupManager(); | 2945 var o = new api.InstanceGroupManager(); |
| 2873 buildCounterInstanceGroupManager++; | 2946 buildCounterInstanceGroupManager++; |
| 2874 if (buildCounterInstanceGroupManager < 3) { | 2947 if (buildCounterInstanceGroupManager < 3) { |
| 2875 o.baseInstanceName = "foo"; | 2948 o.baseInstanceName = "foo"; |
| 2876 o.creationTimestamp = "foo"; | 2949 o.creationTimestamp = "foo"; |
| 2877 o.currentActions = buildInstanceGroupManagerActionsSummary(); | 2950 o.currentActions = buildInstanceGroupManagerActionsSummary(); |
| 2878 o.description = "foo"; | 2951 o.description = "foo"; |
| 2879 o.fingerprint = "foo"; | 2952 o.fingerprint = "foo"; |
| 2880 o.id = "foo"; | 2953 o.id = "foo"; |
| 2881 o.instanceGroup = "foo"; | 2954 o.instanceGroup = "foo"; |
| 2882 o.instanceTemplate = "foo"; | 2955 o.instanceTemplate = "foo"; |
| 2883 o.kind = "foo"; | 2956 o.kind = "foo"; |
| 2884 o.name = "foo"; | 2957 o.name = "foo"; |
| 2885 o.namedPorts = buildUnnamed1955(); | 2958 o.namedPorts = buildUnnamed2060(); |
| 2886 o.region = "foo"; | 2959 o.region = "foo"; |
| 2887 o.selfLink = "foo"; | 2960 o.selfLink = "foo"; |
| 2888 o.targetPools = buildUnnamed1956(); | 2961 o.targetPools = buildUnnamed2061(); |
| 2889 o.targetSize = 42; | 2962 o.targetSize = 42; |
| 2890 o.zone = "foo"; | 2963 o.zone = "foo"; |
| 2891 } | 2964 } |
| 2892 buildCounterInstanceGroupManager--; | 2965 buildCounterInstanceGroupManager--; |
| 2893 return o; | 2966 return o; |
| 2894 } | 2967 } |
| 2895 | 2968 |
| 2896 checkInstanceGroupManager(api.InstanceGroupManager o) { | 2969 checkInstanceGroupManager(api.InstanceGroupManager o) { |
| 2897 buildCounterInstanceGroupManager++; | 2970 buildCounterInstanceGroupManager++; |
| 2898 if (buildCounterInstanceGroupManager < 3) { | 2971 if (buildCounterInstanceGroupManager < 3) { |
| 2899 unittest.expect(o.baseInstanceName, unittest.equals('foo')); | 2972 unittest.expect(o.baseInstanceName, unittest.equals('foo')); |
| 2900 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 2973 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 2901 checkInstanceGroupManagerActionsSummary(o.currentActions); | 2974 checkInstanceGroupManagerActionsSummary(o.currentActions); |
| 2902 unittest.expect(o.description, unittest.equals('foo')); | 2975 unittest.expect(o.description, unittest.equals('foo')); |
| 2903 unittest.expect(o.fingerprint, unittest.equals('foo')); | 2976 unittest.expect(o.fingerprint, unittest.equals('foo')); |
| 2904 unittest.expect(o.id, unittest.equals('foo')); | 2977 unittest.expect(o.id, unittest.equals('foo')); |
| 2905 unittest.expect(o.instanceGroup, unittest.equals('foo')); | 2978 unittest.expect(o.instanceGroup, unittest.equals('foo')); |
| 2906 unittest.expect(o.instanceTemplate, unittest.equals('foo')); | 2979 unittest.expect(o.instanceTemplate, unittest.equals('foo')); |
| 2907 unittest.expect(o.kind, unittest.equals('foo')); | 2980 unittest.expect(o.kind, unittest.equals('foo')); |
| 2908 unittest.expect(o.name, unittest.equals('foo')); | 2981 unittest.expect(o.name, unittest.equals('foo')); |
| 2909 checkUnnamed1955(o.namedPorts); | 2982 checkUnnamed2060(o.namedPorts); |
| 2910 unittest.expect(o.region, unittest.equals('foo')); | 2983 unittest.expect(o.region, unittest.equals('foo')); |
| 2911 unittest.expect(o.selfLink, unittest.equals('foo')); | 2984 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 2912 checkUnnamed1956(o.targetPools); | 2985 checkUnnamed2061(o.targetPools); |
| 2913 unittest.expect(o.targetSize, unittest.equals(42)); | 2986 unittest.expect(o.targetSize, unittest.equals(42)); |
| 2914 unittest.expect(o.zone, unittest.equals('foo')); | 2987 unittest.expect(o.zone, unittest.equals('foo')); |
| 2915 } | 2988 } |
| 2916 buildCounterInstanceGroupManager--; | 2989 buildCounterInstanceGroupManager--; |
| 2917 } | 2990 } |
| 2918 | 2991 |
| 2919 core.int buildCounterInstanceGroupManagerActionsSummary = 0; | 2992 core.int buildCounterInstanceGroupManagerActionsSummary = 0; |
| 2920 buildInstanceGroupManagerActionsSummary() { | 2993 buildInstanceGroupManagerActionsSummary() { |
| 2921 var o = new api.InstanceGroupManagerActionsSummary(); | 2994 var o = new api.InstanceGroupManagerActionsSummary(); |
| 2922 buildCounterInstanceGroupManagerActionsSummary++; | 2995 buildCounterInstanceGroupManagerActionsSummary++; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 2942 unittest.expect(o.creatingWithoutRetries, unittest.equals(42)); | 3015 unittest.expect(o.creatingWithoutRetries, unittest.equals(42)); |
| 2943 unittest.expect(o.deleting, unittest.equals(42)); | 3016 unittest.expect(o.deleting, unittest.equals(42)); |
| 2944 unittest.expect(o.none, unittest.equals(42)); | 3017 unittest.expect(o.none, unittest.equals(42)); |
| 2945 unittest.expect(o.recreating, unittest.equals(42)); | 3018 unittest.expect(o.recreating, unittest.equals(42)); |
| 2946 unittest.expect(o.refreshing, unittest.equals(42)); | 3019 unittest.expect(o.refreshing, unittest.equals(42)); |
| 2947 unittest.expect(o.restarting, unittest.equals(42)); | 3020 unittest.expect(o.restarting, unittest.equals(42)); |
| 2948 } | 3021 } |
| 2949 buildCounterInstanceGroupManagerActionsSummary--; | 3022 buildCounterInstanceGroupManagerActionsSummary--; |
| 2950 } | 3023 } |
| 2951 | 3024 |
| 2952 buildUnnamed1957() { | 3025 buildUnnamed2062() { |
| 2953 var o = new core.Map<core.String, api.InstanceGroupManagersScopedList>(); | 3026 var o = new core.Map<core.String, api.InstanceGroupManagersScopedList>(); |
| 2954 o["x"] = buildInstanceGroupManagersScopedList(); | 3027 o["x"] = buildInstanceGroupManagersScopedList(); |
| 2955 o["y"] = buildInstanceGroupManagersScopedList(); | 3028 o["y"] = buildInstanceGroupManagersScopedList(); |
| 2956 return o; | 3029 return o; |
| 2957 } | 3030 } |
| 2958 | 3031 |
| 2959 checkUnnamed1957(core.Map<core.String, api.InstanceGroupManagersScopedList> o) { | 3032 checkUnnamed2062(core.Map<core.String, api.InstanceGroupManagersScopedList> o) { |
| 2960 unittest.expect(o, unittest.hasLength(2)); | 3033 unittest.expect(o, unittest.hasLength(2)); |
| 2961 checkInstanceGroupManagersScopedList(o["x"]); | 3034 checkInstanceGroupManagersScopedList(o["x"]); |
| 2962 checkInstanceGroupManagersScopedList(o["y"]); | 3035 checkInstanceGroupManagersScopedList(o["y"]); |
| 2963 } | 3036 } |
| 2964 | 3037 |
| 2965 core.int buildCounterInstanceGroupManagerAggregatedList = 0; | 3038 core.int buildCounterInstanceGroupManagerAggregatedList = 0; |
| 2966 buildInstanceGroupManagerAggregatedList() { | 3039 buildInstanceGroupManagerAggregatedList() { |
| 2967 var o = new api.InstanceGroupManagerAggregatedList(); | 3040 var o = new api.InstanceGroupManagerAggregatedList(); |
| 2968 buildCounterInstanceGroupManagerAggregatedList++; | 3041 buildCounterInstanceGroupManagerAggregatedList++; |
| 2969 if (buildCounterInstanceGroupManagerAggregatedList < 3) { | 3042 if (buildCounterInstanceGroupManagerAggregatedList < 3) { |
| 2970 o.id = "foo"; | 3043 o.id = "foo"; |
| 2971 o.items = buildUnnamed1957(); | 3044 o.items = buildUnnamed2062(); |
| 2972 o.kind = "foo"; | 3045 o.kind = "foo"; |
| 2973 o.nextPageToken = "foo"; | 3046 o.nextPageToken = "foo"; |
| 2974 o.selfLink = "foo"; | 3047 o.selfLink = "foo"; |
| 2975 } | 3048 } |
| 2976 buildCounterInstanceGroupManagerAggregatedList--; | 3049 buildCounterInstanceGroupManagerAggregatedList--; |
| 2977 return o; | 3050 return o; |
| 2978 } | 3051 } |
| 2979 | 3052 |
| 2980 checkInstanceGroupManagerAggregatedList(api.InstanceGroupManagerAggregatedList o
) { | 3053 checkInstanceGroupManagerAggregatedList(api.InstanceGroupManagerAggregatedList o
) { |
| 2981 buildCounterInstanceGroupManagerAggregatedList++; | 3054 buildCounterInstanceGroupManagerAggregatedList++; |
| 2982 if (buildCounterInstanceGroupManagerAggregatedList < 3) { | 3055 if (buildCounterInstanceGroupManagerAggregatedList < 3) { |
| 2983 unittest.expect(o.id, unittest.equals('foo')); | 3056 unittest.expect(o.id, unittest.equals('foo')); |
| 2984 checkUnnamed1957(o.items); | 3057 checkUnnamed2062(o.items); |
| 2985 unittest.expect(o.kind, unittest.equals('foo')); | 3058 unittest.expect(o.kind, unittest.equals('foo')); |
| 2986 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3059 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2987 unittest.expect(o.selfLink, unittest.equals('foo')); | 3060 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 2988 } | 3061 } |
| 2989 buildCounterInstanceGroupManagerAggregatedList--; | 3062 buildCounterInstanceGroupManagerAggregatedList--; |
| 2990 } | 3063 } |
| 2991 | 3064 |
| 2992 buildUnnamed1958() { | 3065 buildUnnamed2063() { |
| 2993 var o = new core.List<api.InstanceGroupManager>(); | 3066 var o = new core.List<api.InstanceGroupManager>(); |
| 2994 o.add(buildInstanceGroupManager()); | 3067 o.add(buildInstanceGroupManager()); |
| 2995 o.add(buildInstanceGroupManager()); | 3068 o.add(buildInstanceGroupManager()); |
| 2996 return o; | 3069 return o; |
| 2997 } | 3070 } |
| 2998 | 3071 |
| 2999 checkUnnamed1958(core.List<api.InstanceGroupManager> o) { | 3072 checkUnnamed2063(core.List<api.InstanceGroupManager> o) { |
| 3000 unittest.expect(o, unittest.hasLength(2)); | 3073 unittest.expect(o, unittest.hasLength(2)); |
| 3001 checkInstanceGroupManager(o[0]); | 3074 checkInstanceGroupManager(o[0]); |
| 3002 checkInstanceGroupManager(o[1]); | 3075 checkInstanceGroupManager(o[1]); |
| 3003 } | 3076 } |
| 3004 | 3077 |
| 3005 core.int buildCounterInstanceGroupManagerList = 0; | 3078 core.int buildCounterInstanceGroupManagerList = 0; |
| 3006 buildInstanceGroupManagerList() { | 3079 buildInstanceGroupManagerList() { |
| 3007 var o = new api.InstanceGroupManagerList(); | 3080 var o = new api.InstanceGroupManagerList(); |
| 3008 buildCounterInstanceGroupManagerList++; | 3081 buildCounterInstanceGroupManagerList++; |
| 3009 if (buildCounterInstanceGroupManagerList < 3) { | 3082 if (buildCounterInstanceGroupManagerList < 3) { |
| 3010 o.id = "foo"; | 3083 o.id = "foo"; |
| 3011 o.items = buildUnnamed1958(); | 3084 o.items = buildUnnamed2063(); |
| 3012 o.kind = "foo"; | 3085 o.kind = "foo"; |
| 3013 o.nextPageToken = "foo"; | 3086 o.nextPageToken = "foo"; |
| 3014 o.selfLink = "foo"; | 3087 o.selfLink = "foo"; |
| 3015 } | 3088 } |
| 3016 buildCounterInstanceGroupManagerList--; | 3089 buildCounterInstanceGroupManagerList--; |
| 3017 return o; | 3090 return o; |
| 3018 } | 3091 } |
| 3019 | 3092 |
| 3020 checkInstanceGroupManagerList(api.InstanceGroupManagerList o) { | 3093 checkInstanceGroupManagerList(api.InstanceGroupManagerList o) { |
| 3021 buildCounterInstanceGroupManagerList++; | 3094 buildCounterInstanceGroupManagerList++; |
| 3022 if (buildCounterInstanceGroupManagerList < 3) { | 3095 if (buildCounterInstanceGroupManagerList < 3) { |
| 3023 unittest.expect(o.id, unittest.equals('foo')); | 3096 unittest.expect(o.id, unittest.equals('foo')); |
| 3024 checkUnnamed1958(o.items); | 3097 checkUnnamed2063(o.items); |
| 3025 unittest.expect(o.kind, unittest.equals('foo')); | 3098 unittest.expect(o.kind, unittest.equals('foo')); |
| 3026 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3099 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3027 unittest.expect(o.selfLink, unittest.equals('foo')); | 3100 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 3028 } | 3101 } |
| 3029 buildCounterInstanceGroupManagerList--; | 3102 buildCounterInstanceGroupManagerList--; |
| 3030 } | 3103 } |
| 3031 | 3104 |
| 3032 buildUnnamed1959() { | 3105 buildUnnamed2064() { |
| 3033 var o = new core.List<core.String>(); | 3106 var o = new core.List<core.String>(); |
| 3034 o.add("foo"); | 3107 o.add("foo"); |
| 3035 o.add("foo"); | 3108 o.add("foo"); |
| 3036 return o; | 3109 return o; |
| 3037 } | 3110 } |
| 3038 | 3111 |
| 3039 checkUnnamed1959(core.List<core.String> o) { | 3112 checkUnnamed2064(core.List<core.String> o) { |
| 3040 unittest.expect(o, unittest.hasLength(2)); | 3113 unittest.expect(o, unittest.hasLength(2)); |
| 3041 unittest.expect(o[0], unittest.equals('foo')); | 3114 unittest.expect(o[0], unittest.equals('foo')); |
| 3042 unittest.expect(o[1], unittest.equals('foo')); | 3115 unittest.expect(o[1], unittest.equals('foo')); |
| 3043 } | 3116 } |
| 3044 | 3117 |
| 3045 core.int buildCounterInstanceGroupManagersAbandonInstancesRequest = 0; | 3118 core.int buildCounterInstanceGroupManagersAbandonInstancesRequest = 0; |
| 3046 buildInstanceGroupManagersAbandonInstancesRequest() { | 3119 buildInstanceGroupManagersAbandonInstancesRequest() { |
| 3047 var o = new api.InstanceGroupManagersAbandonInstancesRequest(); | 3120 var o = new api.InstanceGroupManagersAbandonInstancesRequest(); |
| 3048 buildCounterInstanceGroupManagersAbandonInstancesRequest++; | 3121 buildCounterInstanceGroupManagersAbandonInstancesRequest++; |
| 3049 if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) { | 3122 if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) { |
| 3050 o.instances = buildUnnamed1959(); | 3123 o.instances = buildUnnamed2064(); |
| 3051 } | 3124 } |
| 3052 buildCounterInstanceGroupManagersAbandonInstancesRequest--; | 3125 buildCounterInstanceGroupManagersAbandonInstancesRequest--; |
| 3053 return o; | 3126 return o; |
| 3054 } | 3127 } |
| 3055 | 3128 |
| 3056 checkInstanceGroupManagersAbandonInstancesRequest(api.InstanceGroupManagersAband
onInstancesRequest o) { | 3129 checkInstanceGroupManagersAbandonInstancesRequest(api.InstanceGroupManagersAband
onInstancesRequest o) { |
| 3057 buildCounterInstanceGroupManagersAbandonInstancesRequest++; | 3130 buildCounterInstanceGroupManagersAbandonInstancesRequest++; |
| 3058 if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) { | 3131 if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) { |
| 3059 checkUnnamed1959(o.instances); | 3132 checkUnnamed2064(o.instances); |
| 3060 } | 3133 } |
| 3061 buildCounterInstanceGroupManagersAbandonInstancesRequest--; | 3134 buildCounterInstanceGroupManagersAbandonInstancesRequest--; |
| 3062 } | 3135 } |
| 3063 | 3136 |
| 3064 buildUnnamed1960() { | 3137 buildUnnamed2065() { |
| 3065 var o = new core.List<core.String>(); | 3138 var o = new core.List<core.String>(); |
| 3066 o.add("foo"); | 3139 o.add("foo"); |
| 3067 o.add("foo"); | 3140 o.add("foo"); |
| 3068 return o; | 3141 return o; |
| 3069 } | 3142 } |
| 3070 | 3143 |
| 3071 checkUnnamed1960(core.List<core.String> o) { | 3144 checkUnnamed2065(core.List<core.String> o) { |
| 3072 unittest.expect(o, unittest.hasLength(2)); | 3145 unittest.expect(o, unittest.hasLength(2)); |
| 3073 unittest.expect(o[0], unittest.equals('foo')); | 3146 unittest.expect(o[0], unittest.equals('foo')); |
| 3074 unittest.expect(o[1], unittest.equals('foo')); | 3147 unittest.expect(o[1], unittest.equals('foo')); |
| 3075 } | 3148 } |
| 3076 | 3149 |
| 3077 core.int buildCounterInstanceGroupManagersDeleteInstancesRequest = 0; | 3150 core.int buildCounterInstanceGroupManagersDeleteInstancesRequest = 0; |
| 3078 buildInstanceGroupManagersDeleteInstancesRequest() { | 3151 buildInstanceGroupManagersDeleteInstancesRequest() { |
| 3079 var o = new api.InstanceGroupManagersDeleteInstancesRequest(); | 3152 var o = new api.InstanceGroupManagersDeleteInstancesRequest(); |
| 3080 buildCounterInstanceGroupManagersDeleteInstancesRequest++; | 3153 buildCounterInstanceGroupManagersDeleteInstancesRequest++; |
| 3081 if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) { | 3154 if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) { |
| 3082 o.instances = buildUnnamed1960(); | 3155 o.instances = buildUnnamed2065(); |
| 3083 } | 3156 } |
| 3084 buildCounterInstanceGroupManagersDeleteInstancesRequest--; | 3157 buildCounterInstanceGroupManagersDeleteInstancesRequest--; |
| 3085 return o; | 3158 return o; |
| 3086 } | 3159 } |
| 3087 | 3160 |
| 3088 checkInstanceGroupManagersDeleteInstancesRequest(api.InstanceGroupManagersDelete
InstancesRequest o) { | 3161 checkInstanceGroupManagersDeleteInstancesRequest(api.InstanceGroupManagersDelete
InstancesRequest o) { |
| 3089 buildCounterInstanceGroupManagersDeleteInstancesRequest++; | 3162 buildCounterInstanceGroupManagersDeleteInstancesRequest++; |
| 3090 if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) { | 3163 if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) { |
| 3091 checkUnnamed1960(o.instances); | 3164 checkUnnamed2065(o.instances); |
| 3092 } | 3165 } |
| 3093 buildCounterInstanceGroupManagersDeleteInstancesRequest--; | 3166 buildCounterInstanceGroupManagersDeleteInstancesRequest--; |
| 3094 } | 3167 } |
| 3095 | 3168 |
| 3096 buildUnnamed1961() { | 3169 buildUnnamed2066() { |
| 3097 var o = new core.List<api.ManagedInstance>(); | 3170 var o = new core.List<api.ManagedInstance>(); |
| 3098 o.add(buildManagedInstance()); | 3171 o.add(buildManagedInstance()); |
| 3099 o.add(buildManagedInstance()); | 3172 o.add(buildManagedInstance()); |
| 3100 return o; | 3173 return o; |
| 3101 } | 3174 } |
| 3102 | 3175 |
| 3103 checkUnnamed1961(core.List<api.ManagedInstance> o) { | 3176 checkUnnamed2066(core.List<api.ManagedInstance> o) { |
| 3104 unittest.expect(o, unittest.hasLength(2)); | 3177 unittest.expect(o, unittest.hasLength(2)); |
| 3105 checkManagedInstance(o[0]); | 3178 checkManagedInstance(o[0]); |
| 3106 checkManagedInstance(o[1]); | 3179 checkManagedInstance(o[1]); |
| 3107 } | 3180 } |
| 3108 | 3181 |
| 3109 core.int buildCounterInstanceGroupManagersListManagedInstancesResponse = 0; | 3182 core.int buildCounterInstanceGroupManagersListManagedInstancesResponse = 0; |
| 3110 buildInstanceGroupManagersListManagedInstancesResponse() { | 3183 buildInstanceGroupManagersListManagedInstancesResponse() { |
| 3111 var o = new api.InstanceGroupManagersListManagedInstancesResponse(); | 3184 var o = new api.InstanceGroupManagersListManagedInstancesResponse(); |
| 3112 buildCounterInstanceGroupManagersListManagedInstancesResponse++; | 3185 buildCounterInstanceGroupManagersListManagedInstancesResponse++; |
| 3113 if (buildCounterInstanceGroupManagersListManagedInstancesResponse < 3) { | 3186 if (buildCounterInstanceGroupManagersListManagedInstancesResponse < 3) { |
| 3114 o.managedInstances = buildUnnamed1961(); | 3187 o.managedInstances = buildUnnamed2066(); |
| 3115 } | 3188 } |
| 3116 buildCounterInstanceGroupManagersListManagedInstancesResponse--; | 3189 buildCounterInstanceGroupManagersListManagedInstancesResponse--; |
| 3117 return o; | 3190 return o; |
| 3118 } | 3191 } |
| 3119 | 3192 |
| 3120 checkInstanceGroupManagersListManagedInstancesResponse(api.InstanceGroupManagers
ListManagedInstancesResponse o) { | 3193 checkInstanceGroupManagersListManagedInstancesResponse(api.InstanceGroupManagers
ListManagedInstancesResponse o) { |
| 3121 buildCounterInstanceGroupManagersListManagedInstancesResponse++; | 3194 buildCounterInstanceGroupManagersListManagedInstancesResponse++; |
| 3122 if (buildCounterInstanceGroupManagersListManagedInstancesResponse < 3) { | 3195 if (buildCounterInstanceGroupManagersListManagedInstancesResponse < 3) { |
| 3123 checkUnnamed1961(o.managedInstances); | 3196 checkUnnamed2066(o.managedInstances); |
| 3124 } | 3197 } |
| 3125 buildCounterInstanceGroupManagersListManagedInstancesResponse--; | 3198 buildCounterInstanceGroupManagersListManagedInstancesResponse--; |
| 3126 } | 3199 } |
| 3127 | 3200 |
| 3128 buildUnnamed1962() { | 3201 buildUnnamed2067() { |
| 3129 var o = new core.List<core.String>(); | 3202 var o = new core.List<core.String>(); |
| 3130 o.add("foo"); | 3203 o.add("foo"); |
| 3131 o.add("foo"); | 3204 o.add("foo"); |
| 3132 return o; | 3205 return o; |
| 3133 } | 3206 } |
| 3134 | 3207 |
| 3135 checkUnnamed1962(core.List<core.String> o) { | 3208 checkUnnamed2067(core.List<core.String> o) { |
| 3136 unittest.expect(o, unittest.hasLength(2)); | 3209 unittest.expect(o, unittest.hasLength(2)); |
| 3137 unittest.expect(o[0], unittest.equals('foo')); | 3210 unittest.expect(o[0], unittest.equals('foo')); |
| 3138 unittest.expect(o[1], unittest.equals('foo')); | 3211 unittest.expect(o[1], unittest.equals('foo')); |
| 3139 } | 3212 } |
| 3140 | 3213 |
| 3141 core.int buildCounterInstanceGroupManagersRecreateInstancesRequest = 0; | 3214 core.int buildCounterInstanceGroupManagersRecreateInstancesRequest = 0; |
| 3142 buildInstanceGroupManagersRecreateInstancesRequest() { | 3215 buildInstanceGroupManagersRecreateInstancesRequest() { |
| 3143 var o = new api.InstanceGroupManagersRecreateInstancesRequest(); | 3216 var o = new api.InstanceGroupManagersRecreateInstancesRequest(); |
| 3144 buildCounterInstanceGroupManagersRecreateInstancesRequest++; | 3217 buildCounterInstanceGroupManagersRecreateInstancesRequest++; |
| 3145 if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) { | 3218 if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) { |
| 3146 o.instances = buildUnnamed1962(); | 3219 o.instances = buildUnnamed2067(); |
| 3147 } | 3220 } |
| 3148 buildCounterInstanceGroupManagersRecreateInstancesRequest--; | 3221 buildCounterInstanceGroupManagersRecreateInstancesRequest--; |
| 3149 return o; | 3222 return o; |
| 3150 } | 3223 } |
| 3151 | 3224 |
| 3152 checkInstanceGroupManagersRecreateInstancesRequest(api.InstanceGroupManagersRecr
eateInstancesRequest o) { | 3225 checkInstanceGroupManagersRecreateInstancesRequest(api.InstanceGroupManagersRecr
eateInstancesRequest o) { |
| 3153 buildCounterInstanceGroupManagersRecreateInstancesRequest++; | 3226 buildCounterInstanceGroupManagersRecreateInstancesRequest++; |
| 3154 if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) { | 3227 if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) { |
| 3155 checkUnnamed1962(o.instances); | 3228 checkUnnamed2067(o.instances); |
| 3156 } | 3229 } |
| 3157 buildCounterInstanceGroupManagersRecreateInstancesRequest--; | 3230 buildCounterInstanceGroupManagersRecreateInstancesRequest--; |
| 3158 } | 3231 } |
| 3159 | 3232 |
| 3160 buildUnnamed1963() { | 3233 buildUnnamed2068() { |
| 3161 var o = new core.List<api.InstanceGroupManager>(); | 3234 var o = new core.List<api.InstanceGroupManager>(); |
| 3162 o.add(buildInstanceGroupManager()); | 3235 o.add(buildInstanceGroupManager()); |
| 3163 o.add(buildInstanceGroupManager()); | 3236 o.add(buildInstanceGroupManager()); |
| 3164 return o; | 3237 return o; |
| 3165 } | 3238 } |
| 3166 | 3239 |
| 3167 checkUnnamed1963(core.List<api.InstanceGroupManager> o) { | 3240 checkUnnamed2068(core.List<api.InstanceGroupManager> o) { |
| 3168 unittest.expect(o, unittest.hasLength(2)); | 3241 unittest.expect(o, unittest.hasLength(2)); |
| 3169 checkInstanceGroupManager(o[0]); | 3242 checkInstanceGroupManager(o[0]); |
| 3170 checkInstanceGroupManager(o[1]); | 3243 checkInstanceGroupManager(o[1]); |
| 3171 } | 3244 } |
| 3172 | 3245 |
| 3173 core.int buildCounterInstanceGroupManagersScopedListWarningData = 0; | 3246 core.int buildCounterInstanceGroupManagersScopedListWarningData = 0; |
| 3174 buildInstanceGroupManagersScopedListWarningData() { | 3247 buildInstanceGroupManagersScopedListWarningData() { |
| 3175 var o = new api.InstanceGroupManagersScopedListWarningData(); | 3248 var o = new api.InstanceGroupManagersScopedListWarningData(); |
| 3176 buildCounterInstanceGroupManagersScopedListWarningData++; | 3249 buildCounterInstanceGroupManagersScopedListWarningData++; |
| 3177 if (buildCounterInstanceGroupManagersScopedListWarningData < 3) { | 3250 if (buildCounterInstanceGroupManagersScopedListWarningData < 3) { |
| 3178 o.key = "foo"; | 3251 o.key = "foo"; |
| 3179 o.value = "foo"; | 3252 o.value = "foo"; |
| 3180 } | 3253 } |
| 3181 buildCounterInstanceGroupManagersScopedListWarningData--; | 3254 buildCounterInstanceGroupManagersScopedListWarningData--; |
| 3182 return o; | 3255 return o; |
| 3183 } | 3256 } |
| 3184 | 3257 |
| 3185 checkInstanceGroupManagersScopedListWarningData(api.InstanceGroupManagersScopedL
istWarningData o) { | 3258 checkInstanceGroupManagersScopedListWarningData(api.InstanceGroupManagersScopedL
istWarningData o) { |
| 3186 buildCounterInstanceGroupManagersScopedListWarningData++; | 3259 buildCounterInstanceGroupManagersScopedListWarningData++; |
| 3187 if (buildCounterInstanceGroupManagersScopedListWarningData < 3) { | 3260 if (buildCounterInstanceGroupManagersScopedListWarningData < 3) { |
| 3188 unittest.expect(o.key, unittest.equals('foo')); | 3261 unittest.expect(o.key, unittest.equals('foo')); |
| 3189 unittest.expect(o.value, unittest.equals('foo')); | 3262 unittest.expect(o.value, unittest.equals('foo')); |
| 3190 } | 3263 } |
| 3191 buildCounterInstanceGroupManagersScopedListWarningData--; | 3264 buildCounterInstanceGroupManagersScopedListWarningData--; |
| 3192 } | 3265 } |
| 3193 | 3266 |
| 3194 buildUnnamed1964() { | 3267 buildUnnamed2069() { |
| 3195 var o = new core.List<api.InstanceGroupManagersScopedListWarningData>(); | 3268 var o = new core.List<api.InstanceGroupManagersScopedListWarningData>(); |
| 3196 o.add(buildInstanceGroupManagersScopedListWarningData()); | 3269 o.add(buildInstanceGroupManagersScopedListWarningData()); |
| 3197 o.add(buildInstanceGroupManagersScopedListWarningData()); | 3270 o.add(buildInstanceGroupManagersScopedListWarningData()); |
| 3198 return o; | 3271 return o; |
| 3199 } | 3272 } |
| 3200 | 3273 |
| 3201 checkUnnamed1964(core.List<api.InstanceGroupManagersScopedListWarningData> o) { | 3274 checkUnnamed2069(core.List<api.InstanceGroupManagersScopedListWarningData> o) { |
| 3202 unittest.expect(o, unittest.hasLength(2)); | 3275 unittest.expect(o, unittest.hasLength(2)); |
| 3203 checkInstanceGroupManagersScopedListWarningData(o[0]); | 3276 checkInstanceGroupManagersScopedListWarningData(o[0]); |
| 3204 checkInstanceGroupManagersScopedListWarningData(o[1]); | 3277 checkInstanceGroupManagersScopedListWarningData(o[1]); |
| 3205 } | 3278 } |
| 3206 | 3279 |
| 3207 core.int buildCounterInstanceGroupManagersScopedListWarning = 0; | 3280 core.int buildCounterInstanceGroupManagersScopedListWarning = 0; |
| 3208 buildInstanceGroupManagersScopedListWarning() { | 3281 buildInstanceGroupManagersScopedListWarning() { |
| 3209 var o = new api.InstanceGroupManagersScopedListWarning(); | 3282 var o = new api.InstanceGroupManagersScopedListWarning(); |
| 3210 buildCounterInstanceGroupManagersScopedListWarning++; | 3283 buildCounterInstanceGroupManagersScopedListWarning++; |
| 3211 if (buildCounterInstanceGroupManagersScopedListWarning < 3) { | 3284 if (buildCounterInstanceGroupManagersScopedListWarning < 3) { |
| 3212 o.code = "foo"; | 3285 o.code = "foo"; |
| 3213 o.data = buildUnnamed1964(); | 3286 o.data = buildUnnamed2069(); |
| 3214 o.message = "foo"; | 3287 o.message = "foo"; |
| 3215 } | 3288 } |
| 3216 buildCounterInstanceGroupManagersScopedListWarning--; | 3289 buildCounterInstanceGroupManagersScopedListWarning--; |
| 3217 return o; | 3290 return o; |
| 3218 } | 3291 } |
| 3219 | 3292 |
| 3220 checkInstanceGroupManagersScopedListWarning(api.InstanceGroupManagersScopedListW
arning o) { | 3293 checkInstanceGroupManagersScopedListWarning(api.InstanceGroupManagersScopedListW
arning o) { |
| 3221 buildCounterInstanceGroupManagersScopedListWarning++; | 3294 buildCounterInstanceGroupManagersScopedListWarning++; |
| 3222 if (buildCounterInstanceGroupManagersScopedListWarning < 3) { | 3295 if (buildCounterInstanceGroupManagersScopedListWarning < 3) { |
| 3223 unittest.expect(o.code, unittest.equals('foo')); | 3296 unittest.expect(o.code, unittest.equals('foo')); |
| 3224 checkUnnamed1964(o.data); | 3297 checkUnnamed2069(o.data); |
| 3225 unittest.expect(o.message, unittest.equals('foo')); | 3298 unittest.expect(o.message, unittest.equals('foo')); |
| 3226 } | 3299 } |
| 3227 buildCounterInstanceGroupManagersScopedListWarning--; | 3300 buildCounterInstanceGroupManagersScopedListWarning--; |
| 3228 } | 3301 } |
| 3229 | 3302 |
| 3230 core.int buildCounterInstanceGroupManagersScopedList = 0; | 3303 core.int buildCounterInstanceGroupManagersScopedList = 0; |
| 3231 buildInstanceGroupManagersScopedList() { | 3304 buildInstanceGroupManagersScopedList() { |
| 3232 var o = new api.InstanceGroupManagersScopedList(); | 3305 var o = new api.InstanceGroupManagersScopedList(); |
| 3233 buildCounterInstanceGroupManagersScopedList++; | 3306 buildCounterInstanceGroupManagersScopedList++; |
| 3234 if (buildCounterInstanceGroupManagersScopedList < 3) { | 3307 if (buildCounterInstanceGroupManagersScopedList < 3) { |
| 3235 o.instanceGroupManagers = buildUnnamed1963(); | 3308 o.instanceGroupManagers = buildUnnamed2068(); |
| 3236 o.warning = buildInstanceGroupManagersScopedListWarning(); | 3309 o.warning = buildInstanceGroupManagersScopedListWarning(); |
| 3237 } | 3310 } |
| 3238 buildCounterInstanceGroupManagersScopedList--; | 3311 buildCounterInstanceGroupManagersScopedList--; |
| 3239 return o; | 3312 return o; |
| 3240 } | 3313 } |
| 3241 | 3314 |
| 3242 checkInstanceGroupManagersScopedList(api.InstanceGroupManagersScopedList o) { | 3315 checkInstanceGroupManagersScopedList(api.InstanceGroupManagersScopedList o) { |
| 3243 buildCounterInstanceGroupManagersScopedList++; | 3316 buildCounterInstanceGroupManagersScopedList++; |
| 3244 if (buildCounterInstanceGroupManagersScopedList < 3) { | 3317 if (buildCounterInstanceGroupManagersScopedList < 3) { |
| 3245 checkUnnamed1963(o.instanceGroupManagers); | 3318 checkUnnamed2068(o.instanceGroupManagers); |
| 3246 checkInstanceGroupManagersScopedListWarning(o.warning); | 3319 checkInstanceGroupManagersScopedListWarning(o.warning); |
| 3247 } | 3320 } |
| 3248 buildCounterInstanceGroupManagersScopedList--; | 3321 buildCounterInstanceGroupManagersScopedList--; |
| 3249 } | 3322 } |
| 3250 | 3323 |
| 3251 core.int buildCounterInstanceGroupManagersSetInstanceTemplateRequest = 0; | 3324 core.int buildCounterInstanceGroupManagersSetInstanceTemplateRequest = 0; |
| 3252 buildInstanceGroupManagersSetInstanceTemplateRequest() { | 3325 buildInstanceGroupManagersSetInstanceTemplateRequest() { |
| 3253 var o = new api.InstanceGroupManagersSetInstanceTemplateRequest(); | 3326 var o = new api.InstanceGroupManagersSetInstanceTemplateRequest(); |
| 3254 buildCounterInstanceGroupManagersSetInstanceTemplateRequest++; | 3327 buildCounterInstanceGroupManagersSetInstanceTemplateRequest++; |
| 3255 if (buildCounterInstanceGroupManagersSetInstanceTemplateRequest < 3) { | 3328 if (buildCounterInstanceGroupManagersSetInstanceTemplateRequest < 3) { |
| 3256 o.instanceTemplate = "foo"; | 3329 o.instanceTemplate = "foo"; |
| 3257 } | 3330 } |
| 3258 buildCounterInstanceGroupManagersSetInstanceTemplateRequest--; | 3331 buildCounterInstanceGroupManagersSetInstanceTemplateRequest--; |
| 3259 return o; | 3332 return o; |
| 3260 } | 3333 } |
| 3261 | 3334 |
| 3262 checkInstanceGroupManagersSetInstanceTemplateRequest(api.InstanceGroupManagersSe
tInstanceTemplateRequest o) { | 3335 checkInstanceGroupManagersSetInstanceTemplateRequest(api.InstanceGroupManagersSe
tInstanceTemplateRequest o) { |
| 3263 buildCounterInstanceGroupManagersSetInstanceTemplateRequest++; | 3336 buildCounterInstanceGroupManagersSetInstanceTemplateRequest++; |
| 3264 if (buildCounterInstanceGroupManagersSetInstanceTemplateRequest < 3) { | 3337 if (buildCounterInstanceGroupManagersSetInstanceTemplateRequest < 3) { |
| 3265 unittest.expect(o.instanceTemplate, unittest.equals('foo')); | 3338 unittest.expect(o.instanceTemplate, unittest.equals('foo')); |
| 3266 } | 3339 } |
| 3267 buildCounterInstanceGroupManagersSetInstanceTemplateRequest--; | 3340 buildCounterInstanceGroupManagersSetInstanceTemplateRequest--; |
| 3268 } | 3341 } |
| 3269 | 3342 |
| 3270 buildUnnamed1965() { | 3343 buildUnnamed2070() { |
| 3271 var o = new core.List<core.String>(); | 3344 var o = new core.List<core.String>(); |
| 3272 o.add("foo"); | 3345 o.add("foo"); |
| 3273 o.add("foo"); | 3346 o.add("foo"); |
| 3274 return o; | 3347 return o; |
| 3275 } | 3348 } |
| 3276 | 3349 |
| 3277 checkUnnamed1965(core.List<core.String> o) { | 3350 checkUnnamed2070(core.List<core.String> o) { |
| 3278 unittest.expect(o, unittest.hasLength(2)); | 3351 unittest.expect(o, unittest.hasLength(2)); |
| 3279 unittest.expect(o[0], unittest.equals('foo')); | 3352 unittest.expect(o[0], unittest.equals('foo')); |
| 3280 unittest.expect(o[1], unittest.equals('foo')); | 3353 unittest.expect(o[1], unittest.equals('foo')); |
| 3281 } | 3354 } |
| 3282 | 3355 |
| 3283 core.int buildCounterInstanceGroupManagersSetTargetPoolsRequest = 0; | 3356 core.int buildCounterInstanceGroupManagersSetTargetPoolsRequest = 0; |
| 3284 buildInstanceGroupManagersSetTargetPoolsRequest() { | 3357 buildInstanceGroupManagersSetTargetPoolsRequest() { |
| 3285 var o = new api.InstanceGroupManagersSetTargetPoolsRequest(); | 3358 var o = new api.InstanceGroupManagersSetTargetPoolsRequest(); |
| 3286 buildCounterInstanceGroupManagersSetTargetPoolsRequest++; | 3359 buildCounterInstanceGroupManagersSetTargetPoolsRequest++; |
| 3287 if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) { | 3360 if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) { |
| 3288 o.fingerprint = "foo"; | 3361 o.fingerprint = "foo"; |
| 3289 o.targetPools = buildUnnamed1965(); | 3362 o.targetPools = buildUnnamed2070(); |
| 3290 } | 3363 } |
| 3291 buildCounterInstanceGroupManagersSetTargetPoolsRequest--; | 3364 buildCounterInstanceGroupManagersSetTargetPoolsRequest--; |
| 3292 return o; | 3365 return o; |
| 3293 } | 3366 } |
| 3294 | 3367 |
| 3295 checkInstanceGroupManagersSetTargetPoolsRequest(api.InstanceGroupManagersSetTarg
etPoolsRequest o) { | 3368 checkInstanceGroupManagersSetTargetPoolsRequest(api.InstanceGroupManagersSetTarg
etPoolsRequest o) { |
| 3296 buildCounterInstanceGroupManagersSetTargetPoolsRequest++; | 3369 buildCounterInstanceGroupManagersSetTargetPoolsRequest++; |
| 3297 if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) { | 3370 if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) { |
| 3298 unittest.expect(o.fingerprint, unittest.equals('foo')); | 3371 unittest.expect(o.fingerprint, unittest.equals('foo')); |
| 3299 checkUnnamed1965(o.targetPools); | 3372 checkUnnamed2070(o.targetPools); |
| 3300 } | 3373 } |
| 3301 buildCounterInstanceGroupManagersSetTargetPoolsRequest--; | 3374 buildCounterInstanceGroupManagersSetTargetPoolsRequest--; |
| 3302 } | 3375 } |
| 3303 | 3376 |
| 3304 buildUnnamed1966() { | 3377 buildUnnamed2071() { |
| 3305 var o = new core.List<api.InstanceReference>(); | 3378 var o = new core.List<api.InstanceReference>(); |
| 3306 o.add(buildInstanceReference()); | 3379 o.add(buildInstanceReference()); |
| 3307 o.add(buildInstanceReference()); | 3380 o.add(buildInstanceReference()); |
| 3308 return o; | 3381 return o; |
| 3309 } | 3382 } |
| 3310 | 3383 |
| 3311 checkUnnamed1966(core.List<api.InstanceReference> o) { | 3384 checkUnnamed2071(core.List<api.InstanceReference> o) { |
| 3312 unittest.expect(o, unittest.hasLength(2)); | 3385 unittest.expect(o, unittest.hasLength(2)); |
| 3313 checkInstanceReference(o[0]); | 3386 checkInstanceReference(o[0]); |
| 3314 checkInstanceReference(o[1]); | 3387 checkInstanceReference(o[1]); |
| 3315 } | 3388 } |
| 3316 | 3389 |
| 3317 core.int buildCounterInstanceGroupsAddInstancesRequest = 0; | 3390 core.int buildCounterInstanceGroupsAddInstancesRequest = 0; |
| 3318 buildInstanceGroupsAddInstancesRequest() { | 3391 buildInstanceGroupsAddInstancesRequest() { |
| 3319 var o = new api.InstanceGroupsAddInstancesRequest(); | 3392 var o = new api.InstanceGroupsAddInstancesRequest(); |
| 3320 buildCounterInstanceGroupsAddInstancesRequest++; | 3393 buildCounterInstanceGroupsAddInstancesRequest++; |
| 3321 if (buildCounterInstanceGroupsAddInstancesRequest < 3) { | 3394 if (buildCounterInstanceGroupsAddInstancesRequest < 3) { |
| 3322 o.instances = buildUnnamed1966(); | 3395 o.instances = buildUnnamed2071(); |
| 3323 } | 3396 } |
| 3324 buildCounterInstanceGroupsAddInstancesRequest--; | 3397 buildCounterInstanceGroupsAddInstancesRequest--; |
| 3325 return o; | 3398 return o; |
| 3326 } | 3399 } |
| 3327 | 3400 |
| 3328 checkInstanceGroupsAddInstancesRequest(api.InstanceGroupsAddInstancesRequest o)
{ | 3401 checkInstanceGroupsAddInstancesRequest(api.InstanceGroupsAddInstancesRequest o)
{ |
| 3329 buildCounterInstanceGroupsAddInstancesRequest++; | 3402 buildCounterInstanceGroupsAddInstancesRequest++; |
| 3330 if (buildCounterInstanceGroupsAddInstancesRequest < 3) { | 3403 if (buildCounterInstanceGroupsAddInstancesRequest < 3) { |
| 3331 checkUnnamed1966(o.instances); | 3404 checkUnnamed2071(o.instances); |
| 3332 } | 3405 } |
| 3333 buildCounterInstanceGroupsAddInstancesRequest--; | 3406 buildCounterInstanceGroupsAddInstancesRequest--; |
| 3334 } | 3407 } |
| 3335 | 3408 |
| 3336 buildUnnamed1967() { | 3409 buildUnnamed2072() { |
| 3337 var o = new core.List<api.InstanceWithNamedPorts>(); | 3410 var o = new core.List<api.InstanceWithNamedPorts>(); |
| 3338 o.add(buildInstanceWithNamedPorts()); | 3411 o.add(buildInstanceWithNamedPorts()); |
| 3339 o.add(buildInstanceWithNamedPorts()); | 3412 o.add(buildInstanceWithNamedPorts()); |
| 3340 return o; | 3413 return o; |
| 3341 } | 3414 } |
| 3342 | 3415 |
| 3343 checkUnnamed1967(core.List<api.InstanceWithNamedPorts> o) { | 3416 checkUnnamed2072(core.List<api.InstanceWithNamedPorts> o) { |
| 3344 unittest.expect(o, unittest.hasLength(2)); | 3417 unittest.expect(o, unittest.hasLength(2)); |
| 3345 checkInstanceWithNamedPorts(o[0]); | 3418 checkInstanceWithNamedPorts(o[0]); |
| 3346 checkInstanceWithNamedPorts(o[1]); | 3419 checkInstanceWithNamedPorts(o[1]); |
| 3347 } | 3420 } |
| 3348 | 3421 |
| 3349 core.int buildCounterInstanceGroupsListInstances = 0; | 3422 core.int buildCounterInstanceGroupsListInstances = 0; |
| 3350 buildInstanceGroupsListInstances() { | 3423 buildInstanceGroupsListInstances() { |
| 3351 var o = new api.InstanceGroupsListInstances(); | 3424 var o = new api.InstanceGroupsListInstances(); |
| 3352 buildCounterInstanceGroupsListInstances++; | 3425 buildCounterInstanceGroupsListInstances++; |
| 3353 if (buildCounterInstanceGroupsListInstances < 3) { | 3426 if (buildCounterInstanceGroupsListInstances < 3) { |
| 3354 o.id = "foo"; | 3427 o.id = "foo"; |
| 3355 o.items = buildUnnamed1967(); | 3428 o.items = buildUnnamed2072(); |
| 3356 o.kind = "foo"; | 3429 o.kind = "foo"; |
| 3357 o.nextPageToken = "foo"; | 3430 o.nextPageToken = "foo"; |
| 3358 o.selfLink = "foo"; | 3431 o.selfLink = "foo"; |
| 3359 } | 3432 } |
| 3360 buildCounterInstanceGroupsListInstances--; | 3433 buildCounterInstanceGroupsListInstances--; |
| 3361 return o; | 3434 return o; |
| 3362 } | 3435 } |
| 3363 | 3436 |
| 3364 checkInstanceGroupsListInstances(api.InstanceGroupsListInstances o) { | 3437 checkInstanceGroupsListInstances(api.InstanceGroupsListInstances o) { |
| 3365 buildCounterInstanceGroupsListInstances++; | 3438 buildCounterInstanceGroupsListInstances++; |
| 3366 if (buildCounterInstanceGroupsListInstances < 3) { | 3439 if (buildCounterInstanceGroupsListInstances < 3) { |
| 3367 unittest.expect(o.id, unittest.equals('foo')); | 3440 unittest.expect(o.id, unittest.equals('foo')); |
| 3368 checkUnnamed1967(o.items); | 3441 checkUnnamed2072(o.items); |
| 3369 unittest.expect(o.kind, unittest.equals('foo')); | 3442 unittest.expect(o.kind, unittest.equals('foo')); |
| 3370 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3443 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3371 unittest.expect(o.selfLink, unittest.equals('foo')); | 3444 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 3372 } | 3445 } |
| 3373 buildCounterInstanceGroupsListInstances--; | 3446 buildCounterInstanceGroupsListInstances--; |
| 3374 } | 3447 } |
| 3375 | 3448 |
| 3376 core.int buildCounterInstanceGroupsListInstancesRequest = 0; | 3449 core.int buildCounterInstanceGroupsListInstancesRequest = 0; |
| 3377 buildInstanceGroupsListInstancesRequest() { | 3450 buildInstanceGroupsListInstancesRequest() { |
| 3378 var o = new api.InstanceGroupsListInstancesRequest(); | 3451 var o = new api.InstanceGroupsListInstancesRequest(); |
| 3379 buildCounterInstanceGroupsListInstancesRequest++; | 3452 buildCounterInstanceGroupsListInstancesRequest++; |
| 3380 if (buildCounterInstanceGroupsListInstancesRequest < 3) { | 3453 if (buildCounterInstanceGroupsListInstancesRequest < 3) { |
| 3381 o.instanceState = "foo"; | 3454 o.instanceState = "foo"; |
| 3382 } | 3455 } |
| 3383 buildCounterInstanceGroupsListInstancesRequest--; | 3456 buildCounterInstanceGroupsListInstancesRequest--; |
| 3384 return o; | 3457 return o; |
| 3385 } | 3458 } |
| 3386 | 3459 |
| 3387 checkInstanceGroupsListInstancesRequest(api.InstanceGroupsListInstancesRequest o
) { | 3460 checkInstanceGroupsListInstancesRequest(api.InstanceGroupsListInstancesRequest o
) { |
| 3388 buildCounterInstanceGroupsListInstancesRequest++; | 3461 buildCounterInstanceGroupsListInstancesRequest++; |
| 3389 if (buildCounterInstanceGroupsListInstancesRequest < 3) { | 3462 if (buildCounterInstanceGroupsListInstancesRequest < 3) { |
| 3390 unittest.expect(o.instanceState, unittest.equals('foo')); | 3463 unittest.expect(o.instanceState, unittest.equals('foo')); |
| 3391 } | 3464 } |
| 3392 buildCounterInstanceGroupsListInstancesRequest--; | 3465 buildCounterInstanceGroupsListInstancesRequest--; |
| 3393 } | 3466 } |
| 3394 | 3467 |
| 3395 buildUnnamed1968() { | 3468 buildUnnamed2073() { |
| 3396 var o = new core.List<api.InstanceReference>(); | 3469 var o = new core.List<api.InstanceReference>(); |
| 3397 o.add(buildInstanceReference()); | 3470 o.add(buildInstanceReference()); |
| 3398 o.add(buildInstanceReference()); | 3471 o.add(buildInstanceReference()); |
| 3399 return o; | 3472 return o; |
| 3400 } | 3473 } |
| 3401 | 3474 |
| 3402 checkUnnamed1968(core.List<api.InstanceReference> o) { | 3475 checkUnnamed2073(core.List<api.InstanceReference> o) { |
| 3403 unittest.expect(o, unittest.hasLength(2)); | 3476 unittest.expect(o, unittest.hasLength(2)); |
| 3404 checkInstanceReference(o[0]); | 3477 checkInstanceReference(o[0]); |
| 3405 checkInstanceReference(o[1]); | 3478 checkInstanceReference(o[1]); |
| 3406 } | 3479 } |
| 3407 | 3480 |
| 3408 core.int buildCounterInstanceGroupsRemoveInstancesRequest = 0; | 3481 core.int buildCounterInstanceGroupsRemoveInstancesRequest = 0; |
| 3409 buildInstanceGroupsRemoveInstancesRequest() { | 3482 buildInstanceGroupsRemoveInstancesRequest() { |
| 3410 var o = new api.InstanceGroupsRemoveInstancesRequest(); | 3483 var o = new api.InstanceGroupsRemoveInstancesRequest(); |
| 3411 buildCounterInstanceGroupsRemoveInstancesRequest++; | 3484 buildCounterInstanceGroupsRemoveInstancesRequest++; |
| 3412 if (buildCounterInstanceGroupsRemoveInstancesRequest < 3) { | 3485 if (buildCounterInstanceGroupsRemoveInstancesRequest < 3) { |
| 3413 o.instances = buildUnnamed1968(); | 3486 o.instances = buildUnnamed2073(); |
| 3414 } | 3487 } |
| 3415 buildCounterInstanceGroupsRemoveInstancesRequest--; | 3488 buildCounterInstanceGroupsRemoveInstancesRequest--; |
| 3416 return o; | 3489 return o; |
| 3417 } | 3490 } |
| 3418 | 3491 |
| 3419 checkInstanceGroupsRemoveInstancesRequest(api.InstanceGroupsRemoveInstancesReque
st o) { | 3492 checkInstanceGroupsRemoveInstancesRequest(api.InstanceGroupsRemoveInstancesReque
st o) { |
| 3420 buildCounterInstanceGroupsRemoveInstancesRequest++; | 3493 buildCounterInstanceGroupsRemoveInstancesRequest++; |
| 3421 if (buildCounterInstanceGroupsRemoveInstancesRequest < 3) { | 3494 if (buildCounterInstanceGroupsRemoveInstancesRequest < 3) { |
| 3422 checkUnnamed1968(o.instances); | 3495 checkUnnamed2073(o.instances); |
| 3423 } | 3496 } |
| 3424 buildCounterInstanceGroupsRemoveInstancesRequest--; | 3497 buildCounterInstanceGroupsRemoveInstancesRequest--; |
| 3425 } | 3498 } |
| 3426 | 3499 |
| 3427 buildUnnamed1969() { | 3500 buildUnnamed2074() { |
| 3428 var o = new core.List<api.InstanceGroup>(); | 3501 var o = new core.List<api.InstanceGroup>(); |
| 3429 o.add(buildInstanceGroup()); | 3502 o.add(buildInstanceGroup()); |
| 3430 o.add(buildInstanceGroup()); | 3503 o.add(buildInstanceGroup()); |
| 3431 return o; | 3504 return o; |
| 3432 } | 3505 } |
| 3433 | 3506 |
| 3434 checkUnnamed1969(core.List<api.InstanceGroup> o) { | 3507 checkUnnamed2074(core.List<api.InstanceGroup> o) { |
| 3435 unittest.expect(o, unittest.hasLength(2)); | 3508 unittest.expect(o, unittest.hasLength(2)); |
| 3436 checkInstanceGroup(o[0]); | 3509 checkInstanceGroup(o[0]); |
| 3437 checkInstanceGroup(o[1]); | 3510 checkInstanceGroup(o[1]); |
| 3438 } | 3511 } |
| 3439 | 3512 |
| 3440 core.int buildCounterInstanceGroupsScopedListWarningData = 0; | 3513 core.int buildCounterInstanceGroupsScopedListWarningData = 0; |
| 3441 buildInstanceGroupsScopedListWarningData() { | 3514 buildInstanceGroupsScopedListWarningData() { |
| 3442 var o = new api.InstanceGroupsScopedListWarningData(); | 3515 var o = new api.InstanceGroupsScopedListWarningData(); |
| 3443 buildCounterInstanceGroupsScopedListWarningData++; | 3516 buildCounterInstanceGroupsScopedListWarningData++; |
| 3444 if (buildCounterInstanceGroupsScopedListWarningData < 3) { | 3517 if (buildCounterInstanceGroupsScopedListWarningData < 3) { |
| 3445 o.key = "foo"; | 3518 o.key = "foo"; |
| 3446 o.value = "foo"; | 3519 o.value = "foo"; |
| 3447 } | 3520 } |
| 3448 buildCounterInstanceGroupsScopedListWarningData--; | 3521 buildCounterInstanceGroupsScopedListWarningData--; |
| 3449 return o; | 3522 return o; |
| 3450 } | 3523 } |
| 3451 | 3524 |
| 3452 checkInstanceGroupsScopedListWarningData(api.InstanceGroupsScopedListWarningData
o) { | 3525 checkInstanceGroupsScopedListWarningData(api.InstanceGroupsScopedListWarningData
o) { |
| 3453 buildCounterInstanceGroupsScopedListWarningData++; | 3526 buildCounterInstanceGroupsScopedListWarningData++; |
| 3454 if (buildCounterInstanceGroupsScopedListWarningData < 3) { | 3527 if (buildCounterInstanceGroupsScopedListWarningData < 3) { |
| 3455 unittest.expect(o.key, unittest.equals('foo')); | 3528 unittest.expect(o.key, unittest.equals('foo')); |
| 3456 unittest.expect(o.value, unittest.equals('foo')); | 3529 unittest.expect(o.value, unittest.equals('foo')); |
| 3457 } | 3530 } |
| 3458 buildCounterInstanceGroupsScopedListWarningData--; | 3531 buildCounterInstanceGroupsScopedListWarningData--; |
| 3459 } | 3532 } |
| 3460 | 3533 |
| 3461 buildUnnamed1970() { | 3534 buildUnnamed2075() { |
| 3462 var o = new core.List<api.InstanceGroupsScopedListWarningData>(); | 3535 var o = new core.List<api.InstanceGroupsScopedListWarningData>(); |
| 3463 o.add(buildInstanceGroupsScopedListWarningData()); | 3536 o.add(buildInstanceGroupsScopedListWarningData()); |
| 3464 o.add(buildInstanceGroupsScopedListWarningData()); | 3537 o.add(buildInstanceGroupsScopedListWarningData()); |
| 3465 return o; | 3538 return o; |
| 3466 } | 3539 } |
| 3467 | 3540 |
| 3468 checkUnnamed1970(core.List<api.InstanceGroupsScopedListWarningData> o) { | 3541 checkUnnamed2075(core.List<api.InstanceGroupsScopedListWarningData> o) { |
| 3469 unittest.expect(o, unittest.hasLength(2)); | 3542 unittest.expect(o, unittest.hasLength(2)); |
| 3470 checkInstanceGroupsScopedListWarningData(o[0]); | 3543 checkInstanceGroupsScopedListWarningData(o[0]); |
| 3471 checkInstanceGroupsScopedListWarningData(o[1]); | 3544 checkInstanceGroupsScopedListWarningData(o[1]); |
| 3472 } | 3545 } |
| 3473 | 3546 |
| 3474 core.int buildCounterInstanceGroupsScopedListWarning = 0; | 3547 core.int buildCounterInstanceGroupsScopedListWarning = 0; |
| 3475 buildInstanceGroupsScopedListWarning() { | 3548 buildInstanceGroupsScopedListWarning() { |
| 3476 var o = new api.InstanceGroupsScopedListWarning(); | 3549 var o = new api.InstanceGroupsScopedListWarning(); |
| 3477 buildCounterInstanceGroupsScopedListWarning++; | 3550 buildCounterInstanceGroupsScopedListWarning++; |
| 3478 if (buildCounterInstanceGroupsScopedListWarning < 3) { | 3551 if (buildCounterInstanceGroupsScopedListWarning < 3) { |
| 3479 o.code = "foo"; | 3552 o.code = "foo"; |
| 3480 o.data = buildUnnamed1970(); | 3553 o.data = buildUnnamed2075(); |
| 3481 o.message = "foo"; | 3554 o.message = "foo"; |
| 3482 } | 3555 } |
| 3483 buildCounterInstanceGroupsScopedListWarning--; | 3556 buildCounterInstanceGroupsScopedListWarning--; |
| 3484 return o; | 3557 return o; |
| 3485 } | 3558 } |
| 3486 | 3559 |
| 3487 checkInstanceGroupsScopedListWarning(api.InstanceGroupsScopedListWarning o) { | 3560 checkInstanceGroupsScopedListWarning(api.InstanceGroupsScopedListWarning o) { |
| 3488 buildCounterInstanceGroupsScopedListWarning++; | 3561 buildCounterInstanceGroupsScopedListWarning++; |
| 3489 if (buildCounterInstanceGroupsScopedListWarning < 3) { | 3562 if (buildCounterInstanceGroupsScopedListWarning < 3) { |
| 3490 unittest.expect(o.code, unittest.equals('foo')); | 3563 unittest.expect(o.code, unittest.equals('foo')); |
| 3491 checkUnnamed1970(o.data); | 3564 checkUnnamed2075(o.data); |
| 3492 unittest.expect(o.message, unittest.equals('foo')); | 3565 unittest.expect(o.message, unittest.equals('foo')); |
| 3493 } | 3566 } |
| 3494 buildCounterInstanceGroupsScopedListWarning--; | 3567 buildCounterInstanceGroupsScopedListWarning--; |
| 3495 } | 3568 } |
| 3496 | 3569 |
| 3497 core.int buildCounterInstanceGroupsScopedList = 0; | 3570 core.int buildCounterInstanceGroupsScopedList = 0; |
| 3498 buildInstanceGroupsScopedList() { | 3571 buildInstanceGroupsScopedList() { |
| 3499 var o = new api.InstanceGroupsScopedList(); | 3572 var o = new api.InstanceGroupsScopedList(); |
| 3500 buildCounterInstanceGroupsScopedList++; | 3573 buildCounterInstanceGroupsScopedList++; |
| 3501 if (buildCounterInstanceGroupsScopedList < 3) { | 3574 if (buildCounterInstanceGroupsScopedList < 3) { |
| 3502 o.instanceGroups = buildUnnamed1969(); | 3575 o.instanceGroups = buildUnnamed2074(); |
| 3503 o.warning = buildInstanceGroupsScopedListWarning(); | 3576 o.warning = buildInstanceGroupsScopedListWarning(); |
| 3504 } | 3577 } |
| 3505 buildCounterInstanceGroupsScopedList--; | 3578 buildCounterInstanceGroupsScopedList--; |
| 3506 return o; | 3579 return o; |
| 3507 } | 3580 } |
| 3508 | 3581 |
| 3509 checkInstanceGroupsScopedList(api.InstanceGroupsScopedList o) { | 3582 checkInstanceGroupsScopedList(api.InstanceGroupsScopedList o) { |
| 3510 buildCounterInstanceGroupsScopedList++; | 3583 buildCounterInstanceGroupsScopedList++; |
| 3511 if (buildCounterInstanceGroupsScopedList < 3) { | 3584 if (buildCounterInstanceGroupsScopedList < 3) { |
| 3512 checkUnnamed1969(o.instanceGroups); | 3585 checkUnnamed2074(o.instanceGroups); |
| 3513 checkInstanceGroupsScopedListWarning(o.warning); | 3586 checkInstanceGroupsScopedListWarning(o.warning); |
| 3514 } | 3587 } |
| 3515 buildCounterInstanceGroupsScopedList--; | 3588 buildCounterInstanceGroupsScopedList--; |
| 3516 } | 3589 } |
| 3517 | 3590 |
| 3518 buildUnnamed1971() { | 3591 buildUnnamed2076() { |
| 3519 var o = new core.List<api.NamedPort>(); | 3592 var o = new core.List<api.NamedPort>(); |
| 3520 o.add(buildNamedPort()); | 3593 o.add(buildNamedPort()); |
| 3521 o.add(buildNamedPort()); | 3594 o.add(buildNamedPort()); |
| 3522 return o; | 3595 return o; |
| 3523 } | 3596 } |
| 3524 | 3597 |
| 3525 checkUnnamed1971(core.List<api.NamedPort> o) { | 3598 checkUnnamed2076(core.List<api.NamedPort> o) { |
| 3526 unittest.expect(o, unittest.hasLength(2)); | 3599 unittest.expect(o, unittest.hasLength(2)); |
| 3527 checkNamedPort(o[0]); | 3600 checkNamedPort(o[0]); |
| 3528 checkNamedPort(o[1]); | 3601 checkNamedPort(o[1]); |
| 3529 } | 3602 } |
| 3530 | 3603 |
| 3531 core.int buildCounterInstanceGroupsSetNamedPortsRequest = 0; | 3604 core.int buildCounterInstanceGroupsSetNamedPortsRequest = 0; |
| 3532 buildInstanceGroupsSetNamedPortsRequest() { | 3605 buildInstanceGroupsSetNamedPortsRequest() { |
| 3533 var o = new api.InstanceGroupsSetNamedPortsRequest(); | 3606 var o = new api.InstanceGroupsSetNamedPortsRequest(); |
| 3534 buildCounterInstanceGroupsSetNamedPortsRequest++; | 3607 buildCounterInstanceGroupsSetNamedPortsRequest++; |
| 3535 if (buildCounterInstanceGroupsSetNamedPortsRequest < 3) { | 3608 if (buildCounterInstanceGroupsSetNamedPortsRequest < 3) { |
| 3536 o.fingerprint = "foo"; | 3609 o.fingerprint = "foo"; |
| 3537 o.namedPorts = buildUnnamed1971(); | 3610 o.namedPorts = buildUnnamed2076(); |
| 3538 } | 3611 } |
| 3539 buildCounterInstanceGroupsSetNamedPortsRequest--; | 3612 buildCounterInstanceGroupsSetNamedPortsRequest--; |
| 3540 return o; | 3613 return o; |
| 3541 } | 3614 } |
| 3542 | 3615 |
| 3543 checkInstanceGroupsSetNamedPortsRequest(api.InstanceGroupsSetNamedPortsRequest o
) { | 3616 checkInstanceGroupsSetNamedPortsRequest(api.InstanceGroupsSetNamedPortsRequest o
) { |
| 3544 buildCounterInstanceGroupsSetNamedPortsRequest++; | 3617 buildCounterInstanceGroupsSetNamedPortsRequest++; |
| 3545 if (buildCounterInstanceGroupsSetNamedPortsRequest < 3) { | 3618 if (buildCounterInstanceGroupsSetNamedPortsRequest < 3) { |
| 3546 unittest.expect(o.fingerprint, unittest.equals('foo')); | 3619 unittest.expect(o.fingerprint, unittest.equals('foo')); |
| 3547 checkUnnamed1971(o.namedPorts); | 3620 checkUnnamed2076(o.namedPorts); |
| 3548 } | 3621 } |
| 3549 buildCounterInstanceGroupsSetNamedPortsRequest--; | 3622 buildCounterInstanceGroupsSetNamedPortsRequest--; |
| 3550 } | 3623 } |
| 3551 | 3624 |
| 3552 buildUnnamed1972() { | 3625 buildUnnamed2077() { |
| 3553 var o = new core.List<api.Instance>(); | 3626 var o = new core.List<api.Instance>(); |
| 3554 o.add(buildInstance()); | 3627 o.add(buildInstance()); |
| 3555 o.add(buildInstance()); | 3628 o.add(buildInstance()); |
| 3556 return o; | 3629 return o; |
| 3557 } | 3630 } |
| 3558 | 3631 |
| 3559 checkUnnamed1972(core.List<api.Instance> o) { | 3632 checkUnnamed2077(core.List<api.Instance> o) { |
| 3560 unittest.expect(o, unittest.hasLength(2)); | 3633 unittest.expect(o, unittest.hasLength(2)); |
| 3561 checkInstance(o[0]); | 3634 checkInstance(o[0]); |
| 3562 checkInstance(o[1]); | 3635 checkInstance(o[1]); |
| 3563 } | 3636 } |
| 3564 | 3637 |
| 3565 core.int buildCounterInstanceList = 0; | 3638 core.int buildCounterInstanceList = 0; |
| 3566 buildInstanceList() { | 3639 buildInstanceList() { |
| 3567 var o = new api.InstanceList(); | 3640 var o = new api.InstanceList(); |
| 3568 buildCounterInstanceList++; | 3641 buildCounterInstanceList++; |
| 3569 if (buildCounterInstanceList < 3) { | 3642 if (buildCounterInstanceList < 3) { |
| 3570 o.id = "foo"; | 3643 o.id = "foo"; |
| 3571 o.items = buildUnnamed1972(); | 3644 o.items = buildUnnamed2077(); |
| 3572 o.kind = "foo"; | 3645 o.kind = "foo"; |
| 3573 o.nextPageToken = "foo"; | 3646 o.nextPageToken = "foo"; |
| 3574 o.selfLink = "foo"; | 3647 o.selfLink = "foo"; |
| 3575 } | 3648 } |
| 3576 buildCounterInstanceList--; | 3649 buildCounterInstanceList--; |
| 3577 return o; | 3650 return o; |
| 3578 } | 3651 } |
| 3579 | 3652 |
| 3580 checkInstanceList(api.InstanceList o) { | 3653 checkInstanceList(api.InstanceList o) { |
| 3581 buildCounterInstanceList++; | 3654 buildCounterInstanceList++; |
| 3582 if (buildCounterInstanceList < 3) { | 3655 if (buildCounterInstanceList < 3) { |
| 3583 unittest.expect(o.id, unittest.equals('foo')); | 3656 unittest.expect(o.id, unittest.equals('foo')); |
| 3584 checkUnnamed1972(o.items); | 3657 checkUnnamed2077(o.items); |
| 3585 unittest.expect(o.kind, unittest.equals('foo')); | 3658 unittest.expect(o.kind, unittest.equals('foo')); |
| 3586 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3659 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3587 unittest.expect(o.selfLink, unittest.equals('foo')); | 3660 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 3588 } | 3661 } |
| 3589 buildCounterInstanceList--; | 3662 buildCounterInstanceList--; |
| 3590 } | 3663 } |
| 3591 | 3664 |
| 3592 core.int buildCounterInstanceMoveRequest = 0; | 3665 core.int buildCounterInstanceMoveRequest = 0; |
| 3593 buildInstanceMoveRequest() { | 3666 buildInstanceMoveRequest() { |
| 3594 var o = new api.InstanceMoveRequest(); | 3667 var o = new api.InstanceMoveRequest(); |
| 3595 buildCounterInstanceMoveRequest++; | 3668 buildCounterInstanceMoveRequest++; |
| 3596 if (buildCounterInstanceMoveRequest < 3) { | 3669 if (buildCounterInstanceMoveRequest < 3) { |
| 3597 o.destinationZone = "foo"; | 3670 o.destinationZone = "foo"; |
| 3598 o.targetInstance = "foo"; | 3671 o.targetInstance = "foo"; |
| 3599 } | 3672 } |
| 3600 buildCounterInstanceMoveRequest--; | 3673 buildCounterInstanceMoveRequest--; |
| 3601 return o; | 3674 return o; |
| 3602 } | 3675 } |
| 3603 | 3676 |
| 3604 checkInstanceMoveRequest(api.InstanceMoveRequest o) { | 3677 checkInstanceMoveRequest(api.InstanceMoveRequest o) { |
| 3605 buildCounterInstanceMoveRequest++; | 3678 buildCounterInstanceMoveRequest++; |
| 3606 if (buildCounterInstanceMoveRequest < 3) { | 3679 if (buildCounterInstanceMoveRequest < 3) { |
| 3607 unittest.expect(o.destinationZone, unittest.equals('foo')); | 3680 unittest.expect(o.destinationZone, unittest.equals('foo')); |
| 3608 unittest.expect(o.targetInstance, unittest.equals('foo')); | 3681 unittest.expect(o.targetInstance, unittest.equals('foo')); |
| 3609 } | 3682 } |
| 3610 buildCounterInstanceMoveRequest--; | 3683 buildCounterInstanceMoveRequest--; |
| 3611 } | 3684 } |
| 3612 | 3685 |
| 3613 buildUnnamed1973() { | 3686 buildUnnamed2078() { |
| 3614 var o = new core.List<api.AttachedDisk>(); | 3687 var o = new core.List<api.AttachedDisk>(); |
| 3615 o.add(buildAttachedDisk()); | 3688 o.add(buildAttachedDisk()); |
| 3616 o.add(buildAttachedDisk()); | 3689 o.add(buildAttachedDisk()); |
| 3617 return o; | 3690 return o; |
| 3618 } | 3691 } |
| 3619 | 3692 |
| 3620 checkUnnamed1973(core.List<api.AttachedDisk> o) { | 3693 checkUnnamed2078(core.List<api.AttachedDisk> o) { |
| 3621 unittest.expect(o, unittest.hasLength(2)); | 3694 unittest.expect(o, unittest.hasLength(2)); |
| 3622 checkAttachedDisk(o[0]); | 3695 checkAttachedDisk(o[0]); |
| 3623 checkAttachedDisk(o[1]); | 3696 checkAttachedDisk(o[1]); |
| 3624 } | 3697 } |
| 3625 | 3698 |
| 3626 buildUnnamed1974() { | 3699 buildUnnamed2079() { |
| 3627 var o = new core.List<api.NetworkInterface>(); | 3700 var o = new core.List<api.NetworkInterface>(); |
| 3628 o.add(buildNetworkInterface()); | 3701 o.add(buildNetworkInterface()); |
| 3629 o.add(buildNetworkInterface()); | 3702 o.add(buildNetworkInterface()); |
| 3630 return o; | 3703 return o; |
| 3631 } | 3704 } |
| 3632 | 3705 |
| 3633 checkUnnamed1974(core.List<api.NetworkInterface> o) { | 3706 checkUnnamed2079(core.List<api.NetworkInterface> o) { |
| 3634 unittest.expect(o, unittest.hasLength(2)); | 3707 unittest.expect(o, unittest.hasLength(2)); |
| 3635 checkNetworkInterface(o[0]); | 3708 checkNetworkInterface(o[0]); |
| 3636 checkNetworkInterface(o[1]); | 3709 checkNetworkInterface(o[1]); |
| 3637 } | 3710 } |
| 3638 | 3711 |
| 3639 buildUnnamed1975() { | 3712 buildUnnamed2080() { |
| 3640 var o = new core.List<api.ServiceAccount>(); | 3713 var o = new core.List<api.ServiceAccount>(); |
| 3641 o.add(buildServiceAccount()); | 3714 o.add(buildServiceAccount()); |
| 3642 o.add(buildServiceAccount()); | 3715 o.add(buildServiceAccount()); |
| 3643 return o; | 3716 return o; |
| 3644 } | 3717 } |
| 3645 | 3718 |
| 3646 checkUnnamed1975(core.List<api.ServiceAccount> o) { | 3719 checkUnnamed2080(core.List<api.ServiceAccount> o) { |
| 3647 unittest.expect(o, unittest.hasLength(2)); | 3720 unittest.expect(o, unittest.hasLength(2)); |
| 3648 checkServiceAccount(o[0]); | 3721 checkServiceAccount(o[0]); |
| 3649 checkServiceAccount(o[1]); | 3722 checkServiceAccount(o[1]); |
| 3650 } | 3723 } |
| 3651 | 3724 |
| 3652 core.int buildCounterInstanceProperties = 0; | 3725 core.int buildCounterInstanceProperties = 0; |
| 3653 buildInstanceProperties() { | 3726 buildInstanceProperties() { |
| 3654 var o = new api.InstanceProperties(); | 3727 var o = new api.InstanceProperties(); |
| 3655 buildCounterInstanceProperties++; | 3728 buildCounterInstanceProperties++; |
| 3656 if (buildCounterInstanceProperties < 3) { | 3729 if (buildCounterInstanceProperties < 3) { |
| 3657 o.canIpForward = true; | 3730 o.canIpForward = true; |
| 3658 o.description = "foo"; | 3731 o.description = "foo"; |
| 3659 o.disks = buildUnnamed1973(); | 3732 o.disks = buildUnnamed2078(); |
| 3660 o.machineType = "foo"; | 3733 o.machineType = "foo"; |
| 3661 o.metadata = buildMetadata(); | 3734 o.metadata = buildMetadata(); |
| 3662 o.networkInterfaces = buildUnnamed1974(); | 3735 o.networkInterfaces = buildUnnamed2079(); |
| 3663 o.scheduling = buildScheduling(); | 3736 o.scheduling = buildScheduling(); |
| 3664 o.serviceAccounts = buildUnnamed1975(); | 3737 o.serviceAccounts = buildUnnamed2080(); |
| 3665 o.tags = buildTags(); | 3738 o.tags = buildTags(); |
| 3666 } | 3739 } |
| 3667 buildCounterInstanceProperties--; | 3740 buildCounterInstanceProperties--; |
| 3668 return o; | 3741 return o; |
| 3669 } | 3742 } |
| 3670 | 3743 |
| 3671 checkInstanceProperties(api.InstanceProperties o) { | 3744 checkInstanceProperties(api.InstanceProperties o) { |
| 3672 buildCounterInstanceProperties++; | 3745 buildCounterInstanceProperties++; |
| 3673 if (buildCounterInstanceProperties < 3) { | 3746 if (buildCounterInstanceProperties < 3) { |
| 3674 unittest.expect(o.canIpForward, unittest.isTrue); | 3747 unittest.expect(o.canIpForward, unittest.isTrue); |
| 3675 unittest.expect(o.description, unittest.equals('foo')); | 3748 unittest.expect(o.description, unittest.equals('foo')); |
| 3676 checkUnnamed1973(o.disks); | 3749 checkUnnamed2078(o.disks); |
| 3677 unittest.expect(o.machineType, unittest.equals('foo')); | 3750 unittest.expect(o.machineType, unittest.equals('foo')); |
| 3678 checkMetadata(o.metadata); | 3751 checkMetadata(o.metadata); |
| 3679 checkUnnamed1974(o.networkInterfaces); | 3752 checkUnnamed2079(o.networkInterfaces); |
| 3680 checkScheduling(o.scheduling); | 3753 checkScheduling(o.scheduling); |
| 3681 checkUnnamed1975(o.serviceAccounts); | 3754 checkUnnamed2080(o.serviceAccounts); |
| 3682 checkTags(o.tags); | 3755 checkTags(o.tags); |
| 3683 } | 3756 } |
| 3684 buildCounterInstanceProperties--; | 3757 buildCounterInstanceProperties--; |
| 3685 } | 3758 } |
| 3686 | 3759 |
| 3687 core.int buildCounterInstanceReference = 0; | 3760 core.int buildCounterInstanceReference = 0; |
| 3688 buildInstanceReference() { | 3761 buildInstanceReference() { |
| 3689 var o = new api.InstanceReference(); | 3762 var o = new api.InstanceReference(); |
| 3690 buildCounterInstanceReference++; | 3763 buildCounterInstanceReference++; |
| 3691 if (buildCounterInstanceReference < 3) { | 3764 if (buildCounterInstanceReference < 3) { |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3727 unittest.expect(o.description, unittest.equals('foo')); | 3800 unittest.expect(o.description, unittest.equals('foo')); |
| 3728 unittest.expect(o.id, unittest.equals('foo')); | 3801 unittest.expect(o.id, unittest.equals('foo')); |
| 3729 unittest.expect(o.kind, unittest.equals('foo')); | 3802 unittest.expect(o.kind, unittest.equals('foo')); |
| 3730 unittest.expect(o.name, unittest.equals('foo')); | 3803 unittest.expect(o.name, unittest.equals('foo')); |
| 3731 checkInstanceProperties(o.properties); | 3804 checkInstanceProperties(o.properties); |
| 3732 unittest.expect(o.selfLink, unittest.equals('foo')); | 3805 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 3733 } | 3806 } |
| 3734 buildCounterInstanceTemplate--; | 3807 buildCounterInstanceTemplate--; |
| 3735 } | 3808 } |
| 3736 | 3809 |
| 3737 buildUnnamed1976() { | 3810 buildUnnamed2081() { |
| 3738 var o = new core.List<api.InstanceTemplate>(); | 3811 var o = new core.List<api.InstanceTemplate>(); |
| 3739 o.add(buildInstanceTemplate()); | 3812 o.add(buildInstanceTemplate()); |
| 3740 o.add(buildInstanceTemplate()); | 3813 o.add(buildInstanceTemplate()); |
| 3741 return o; | 3814 return o; |
| 3742 } | 3815 } |
| 3743 | 3816 |
| 3744 checkUnnamed1976(core.List<api.InstanceTemplate> o) { | 3817 checkUnnamed2081(core.List<api.InstanceTemplate> o) { |
| 3745 unittest.expect(o, unittest.hasLength(2)); | 3818 unittest.expect(o, unittest.hasLength(2)); |
| 3746 checkInstanceTemplate(o[0]); | 3819 checkInstanceTemplate(o[0]); |
| 3747 checkInstanceTemplate(o[1]); | 3820 checkInstanceTemplate(o[1]); |
| 3748 } | 3821 } |
| 3749 | 3822 |
| 3750 core.int buildCounterInstanceTemplateList = 0; | 3823 core.int buildCounterInstanceTemplateList = 0; |
| 3751 buildInstanceTemplateList() { | 3824 buildInstanceTemplateList() { |
| 3752 var o = new api.InstanceTemplateList(); | 3825 var o = new api.InstanceTemplateList(); |
| 3753 buildCounterInstanceTemplateList++; | 3826 buildCounterInstanceTemplateList++; |
| 3754 if (buildCounterInstanceTemplateList < 3) { | 3827 if (buildCounterInstanceTemplateList < 3) { |
| 3755 o.id = "foo"; | 3828 o.id = "foo"; |
| 3756 o.items = buildUnnamed1976(); | 3829 o.items = buildUnnamed2081(); |
| 3757 o.kind = "foo"; | 3830 o.kind = "foo"; |
| 3758 o.nextPageToken = "foo"; | 3831 o.nextPageToken = "foo"; |
| 3759 o.selfLink = "foo"; | 3832 o.selfLink = "foo"; |
| 3760 } | 3833 } |
| 3761 buildCounterInstanceTemplateList--; | 3834 buildCounterInstanceTemplateList--; |
| 3762 return o; | 3835 return o; |
| 3763 } | 3836 } |
| 3764 | 3837 |
| 3765 checkInstanceTemplateList(api.InstanceTemplateList o) { | 3838 checkInstanceTemplateList(api.InstanceTemplateList o) { |
| 3766 buildCounterInstanceTemplateList++; | 3839 buildCounterInstanceTemplateList++; |
| 3767 if (buildCounterInstanceTemplateList < 3) { | 3840 if (buildCounterInstanceTemplateList < 3) { |
| 3768 unittest.expect(o.id, unittest.equals('foo')); | 3841 unittest.expect(o.id, unittest.equals('foo')); |
| 3769 checkUnnamed1976(o.items); | 3842 checkUnnamed2081(o.items); |
| 3770 unittest.expect(o.kind, unittest.equals('foo')); | 3843 unittest.expect(o.kind, unittest.equals('foo')); |
| 3771 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3844 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3772 unittest.expect(o.selfLink, unittest.equals('foo')); | 3845 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 3773 } | 3846 } |
| 3774 buildCounterInstanceTemplateList--; | 3847 buildCounterInstanceTemplateList--; |
| 3775 } | 3848 } |
| 3776 | 3849 |
| 3777 buildUnnamed1977() { | 3850 buildUnnamed2082() { |
| 3778 var o = new core.List<api.NamedPort>(); | 3851 var o = new core.List<api.NamedPort>(); |
| 3779 o.add(buildNamedPort()); | 3852 o.add(buildNamedPort()); |
| 3780 o.add(buildNamedPort()); | 3853 o.add(buildNamedPort()); |
| 3781 return o; | 3854 return o; |
| 3782 } | 3855 } |
| 3783 | 3856 |
| 3784 checkUnnamed1977(core.List<api.NamedPort> o) { | 3857 checkUnnamed2082(core.List<api.NamedPort> o) { |
| 3785 unittest.expect(o, unittest.hasLength(2)); | 3858 unittest.expect(o, unittest.hasLength(2)); |
| 3786 checkNamedPort(o[0]); | 3859 checkNamedPort(o[0]); |
| 3787 checkNamedPort(o[1]); | 3860 checkNamedPort(o[1]); |
| 3788 } | 3861 } |
| 3789 | 3862 |
| 3790 core.int buildCounterInstanceWithNamedPorts = 0; | 3863 core.int buildCounterInstanceWithNamedPorts = 0; |
| 3791 buildInstanceWithNamedPorts() { | 3864 buildInstanceWithNamedPorts() { |
| 3792 var o = new api.InstanceWithNamedPorts(); | 3865 var o = new api.InstanceWithNamedPorts(); |
| 3793 buildCounterInstanceWithNamedPorts++; | 3866 buildCounterInstanceWithNamedPorts++; |
| 3794 if (buildCounterInstanceWithNamedPorts < 3) { | 3867 if (buildCounterInstanceWithNamedPorts < 3) { |
| 3795 o.instance = "foo"; | 3868 o.instance = "foo"; |
| 3796 o.namedPorts = buildUnnamed1977(); | 3869 o.namedPorts = buildUnnamed2082(); |
| 3797 o.status = "foo"; | 3870 o.status = "foo"; |
| 3798 } | 3871 } |
| 3799 buildCounterInstanceWithNamedPorts--; | 3872 buildCounterInstanceWithNamedPorts--; |
| 3800 return o; | 3873 return o; |
| 3801 } | 3874 } |
| 3802 | 3875 |
| 3803 checkInstanceWithNamedPorts(api.InstanceWithNamedPorts o) { | 3876 checkInstanceWithNamedPorts(api.InstanceWithNamedPorts o) { |
| 3804 buildCounterInstanceWithNamedPorts++; | 3877 buildCounterInstanceWithNamedPorts++; |
| 3805 if (buildCounterInstanceWithNamedPorts < 3) { | 3878 if (buildCounterInstanceWithNamedPorts < 3) { |
| 3806 unittest.expect(o.instance, unittest.equals('foo')); | 3879 unittest.expect(o.instance, unittest.equals('foo')); |
| 3807 checkUnnamed1977(o.namedPorts); | 3880 checkUnnamed2082(o.namedPorts); |
| 3808 unittest.expect(o.status, unittest.equals('foo')); | 3881 unittest.expect(o.status, unittest.equals('foo')); |
| 3809 } | 3882 } |
| 3810 buildCounterInstanceWithNamedPorts--; | 3883 buildCounterInstanceWithNamedPorts--; |
| 3811 } | 3884 } |
| 3812 | 3885 |
| 3813 buildUnnamed1978() { | 3886 buildUnnamed2083() { |
| 3814 var o = new core.List<api.Instance>(); | 3887 var o = new core.List<api.Instance>(); |
| 3815 o.add(buildInstance()); | 3888 o.add(buildInstance()); |
| 3816 o.add(buildInstance()); | 3889 o.add(buildInstance()); |
| 3817 return o; | 3890 return o; |
| 3818 } | 3891 } |
| 3819 | 3892 |
| 3820 checkUnnamed1978(core.List<api.Instance> o) { | 3893 checkUnnamed2083(core.List<api.Instance> o) { |
| 3821 unittest.expect(o, unittest.hasLength(2)); | 3894 unittest.expect(o, unittest.hasLength(2)); |
| 3822 checkInstance(o[0]); | 3895 checkInstance(o[0]); |
| 3823 checkInstance(o[1]); | 3896 checkInstance(o[1]); |
| 3824 } | 3897 } |
| 3825 | 3898 |
| 3826 core.int buildCounterInstancesScopedListWarningData = 0; | 3899 core.int buildCounterInstancesScopedListWarningData = 0; |
| 3827 buildInstancesScopedListWarningData() { | 3900 buildInstancesScopedListWarningData() { |
| 3828 var o = new api.InstancesScopedListWarningData(); | 3901 var o = new api.InstancesScopedListWarningData(); |
| 3829 buildCounterInstancesScopedListWarningData++; | 3902 buildCounterInstancesScopedListWarningData++; |
| 3830 if (buildCounterInstancesScopedListWarningData < 3) { | 3903 if (buildCounterInstancesScopedListWarningData < 3) { |
| 3831 o.key = "foo"; | 3904 o.key = "foo"; |
| 3832 o.value = "foo"; | 3905 o.value = "foo"; |
| 3833 } | 3906 } |
| 3834 buildCounterInstancesScopedListWarningData--; | 3907 buildCounterInstancesScopedListWarningData--; |
| 3835 return o; | 3908 return o; |
| 3836 } | 3909 } |
| 3837 | 3910 |
| 3838 checkInstancesScopedListWarningData(api.InstancesScopedListWarningData o) { | 3911 checkInstancesScopedListWarningData(api.InstancesScopedListWarningData o) { |
| 3839 buildCounterInstancesScopedListWarningData++; | 3912 buildCounterInstancesScopedListWarningData++; |
| 3840 if (buildCounterInstancesScopedListWarningData < 3) { | 3913 if (buildCounterInstancesScopedListWarningData < 3) { |
| 3841 unittest.expect(o.key, unittest.equals('foo')); | 3914 unittest.expect(o.key, unittest.equals('foo')); |
| 3842 unittest.expect(o.value, unittest.equals('foo')); | 3915 unittest.expect(o.value, unittest.equals('foo')); |
| 3843 } | 3916 } |
| 3844 buildCounterInstancesScopedListWarningData--; | 3917 buildCounterInstancesScopedListWarningData--; |
| 3845 } | 3918 } |
| 3846 | 3919 |
| 3847 buildUnnamed1979() { | 3920 buildUnnamed2084() { |
| 3848 var o = new core.List<api.InstancesScopedListWarningData>(); | 3921 var o = new core.List<api.InstancesScopedListWarningData>(); |
| 3849 o.add(buildInstancesScopedListWarningData()); | 3922 o.add(buildInstancesScopedListWarningData()); |
| 3850 o.add(buildInstancesScopedListWarningData()); | 3923 o.add(buildInstancesScopedListWarningData()); |
| 3851 return o; | 3924 return o; |
| 3852 } | 3925 } |
| 3853 | 3926 |
| 3854 checkUnnamed1979(core.List<api.InstancesScopedListWarningData> o) { | 3927 checkUnnamed2084(core.List<api.InstancesScopedListWarningData> o) { |
| 3855 unittest.expect(o, unittest.hasLength(2)); | 3928 unittest.expect(o, unittest.hasLength(2)); |
| 3856 checkInstancesScopedListWarningData(o[0]); | 3929 checkInstancesScopedListWarningData(o[0]); |
| 3857 checkInstancesScopedListWarningData(o[1]); | 3930 checkInstancesScopedListWarningData(o[1]); |
| 3858 } | 3931 } |
| 3859 | 3932 |
| 3860 core.int buildCounterInstancesScopedListWarning = 0; | 3933 core.int buildCounterInstancesScopedListWarning = 0; |
| 3861 buildInstancesScopedListWarning() { | 3934 buildInstancesScopedListWarning() { |
| 3862 var o = new api.InstancesScopedListWarning(); | 3935 var o = new api.InstancesScopedListWarning(); |
| 3863 buildCounterInstancesScopedListWarning++; | 3936 buildCounterInstancesScopedListWarning++; |
| 3864 if (buildCounterInstancesScopedListWarning < 3) { | 3937 if (buildCounterInstancesScopedListWarning < 3) { |
| 3865 o.code = "foo"; | 3938 o.code = "foo"; |
| 3866 o.data = buildUnnamed1979(); | 3939 o.data = buildUnnamed2084(); |
| 3867 o.message = "foo"; | 3940 o.message = "foo"; |
| 3868 } | 3941 } |
| 3869 buildCounterInstancesScopedListWarning--; | 3942 buildCounterInstancesScopedListWarning--; |
| 3870 return o; | 3943 return o; |
| 3871 } | 3944 } |
| 3872 | 3945 |
| 3873 checkInstancesScopedListWarning(api.InstancesScopedListWarning o) { | 3946 checkInstancesScopedListWarning(api.InstancesScopedListWarning o) { |
| 3874 buildCounterInstancesScopedListWarning++; | 3947 buildCounterInstancesScopedListWarning++; |
| 3875 if (buildCounterInstancesScopedListWarning < 3) { | 3948 if (buildCounterInstancesScopedListWarning < 3) { |
| 3876 unittest.expect(o.code, unittest.equals('foo')); | 3949 unittest.expect(o.code, unittest.equals('foo')); |
| 3877 checkUnnamed1979(o.data); | 3950 checkUnnamed2084(o.data); |
| 3878 unittest.expect(o.message, unittest.equals('foo')); | 3951 unittest.expect(o.message, unittest.equals('foo')); |
| 3879 } | 3952 } |
| 3880 buildCounterInstancesScopedListWarning--; | 3953 buildCounterInstancesScopedListWarning--; |
| 3881 } | 3954 } |
| 3882 | 3955 |
| 3883 core.int buildCounterInstancesScopedList = 0; | 3956 core.int buildCounterInstancesScopedList = 0; |
| 3884 buildInstancesScopedList() { | 3957 buildInstancesScopedList() { |
| 3885 var o = new api.InstancesScopedList(); | 3958 var o = new api.InstancesScopedList(); |
| 3886 buildCounterInstancesScopedList++; | 3959 buildCounterInstancesScopedList++; |
| 3887 if (buildCounterInstancesScopedList < 3) { | 3960 if (buildCounterInstancesScopedList < 3) { |
| 3888 o.instances = buildUnnamed1978(); | 3961 o.instances = buildUnnamed2083(); |
| 3889 o.warning = buildInstancesScopedListWarning(); | 3962 o.warning = buildInstancesScopedListWarning(); |
| 3890 } | 3963 } |
| 3891 buildCounterInstancesScopedList--; | 3964 buildCounterInstancesScopedList--; |
| 3892 return o; | 3965 return o; |
| 3893 } | 3966 } |
| 3894 | 3967 |
| 3895 checkInstancesScopedList(api.InstancesScopedList o) { | 3968 checkInstancesScopedList(api.InstancesScopedList o) { |
| 3896 buildCounterInstancesScopedList++; | 3969 buildCounterInstancesScopedList++; |
| 3897 if (buildCounterInstancesScopedList < 3) { | 3970 if (buildCounterInstancesScopedList < 3) { |
| 3898 checkUnnamed1978(o.instances); | 3971 checkUnnamed2083(o.instances); |
| 3899 checkInstancesScopedListWarning(o.warning); | 3972 checkInstancesScopedListWarning(o.warning); |
| 3900 } | 3973 } |
| 3901 buildCounterInstancesScopedList--; | 3974 buildCounterInstancesScopedList--; |
| 3902 } | 3975 } |
| 3903 | 3976 |
| 3904 core.int buildCounterInstancesSetMachineTypeRequest = 0; | 3977 core.int buildCounterInstancesSetMachineTypeRequest = 0; |
| 3905 buildInstancesSetMachineTypeRequest() { | 3978 buildInstancesSetMachineTypeRequest() { |
| 3906 var o = new api.InstancesSetMachineTypeRequest(); | 3979 var o = new api.InstancesSetMachineTypeRequest(); |
| 3907 buildCounterInstancesSetMachineTypeRequest++; | 3980 buildCounterInstancesSetMachineTypeRequest++; |
| 3908 if (buildCounterInstancesSetMachineTypeRequest < 3) { | 3981 if (buildCounterInstancesSetMachineTypeRequest < 3) { |
| 3909 o.machineType = "foo"; | 3982 o.machineType = "foo"; |
| 3910 } | 3983 } |
| 3911 buildCounterInstancesSetMachineTypeRequest--; | 3984 buildCounterInstancesSetMachineTypeRequest--; |
| 3912 return o; | 3985 return o; |
| 3913 } | 3986 } |
| 3914 | 3987 |
| 3915 checkInstancesSetMachineTypeRequest(api.InstancesSetMachineTypeRequest o) { | 3988 checkInstancesSetMachineTypeRequest(api.InstancesSetMachineTypeRequest o) { |
| 3916 buildCounterInstancesSetMachineTypeRequest++; | 3989 buildCounterInstancesSetMachineTypeRequest++; |
| 3917 if (buildCounterInstancesSetMachineTypeRequest < 3) { | 3990 if (buildCounterInstancesSetMachineTypeRequest < 3) { |
| 3918 unittest.expect(o.machineType, unittest.equals('foo')); | 3991 unittest.expect(o.machineType, unittest.equals('foo')); |
| 3919 } | 3992 } |
| 3920 buildCounterInstancesSetMachineTypeRequest--; | 3993 buildCounterInstancesSetMachineTypeRequest--; |
| 3921 } | 3994 } |
| 3922 | 3995 |
| 3923 buildUnnamed1980() { | 3996 buildUnnamed2085() { |
| 3924 var o = new core.List<core.String>(); | 3997 var o = new core.List<core.String>(); |
| 3925 o.add("foo"); | 3998 o.add("foo"); |
| 3926 o.add("foo"); | 3999 o.add("foo"); |
| 3927 return o; | 4000 return o; |
| 3928 } | 4001 } |
| 3929 | 4002 |
| 3930 checkUnnamed1980(core.List<core.String> o) { | 4003 checkUnnamed2085(core.List<core.String> o) { |
| 3931 unittest.expect(o, unittest.hasLength(2)); | 4004 unittest.expect(o, unittest.hasLength(2)); |
| 3932 unittest.expect(o[0], unittest.equals('foo')); | 4005 unittest.expect(o[0], unittest.equals('foo')); |
| 3933 unittest.expect(o[1], unittest.equals('foo')); | 4006 unittest.expect(o[1], unittest.equals('foo')); |
| 3934 } | 4007 } |
| 3935 | 4008 |
| 3936 core.int buildCounterInstancesSetServiceAccountRequest = 0; | 4009 core.int buildCounterInstancesSetServiceAccountRequest = 0; |
| 3937 buildInstancesSetServiceAccountRequest() { | 4010 buildInstancesSetServiceAccountRequest() { |
| 3938 var o = new api.InstancesSetServiceAccountRequest(); | 4011 var o = new api.InstancesSetServiceAccountRequest(); |
| 3939 buildCounterInstancesSetServiceAccountRequest++; | 4012 buildCounterInstancesSetServiceAccountRequest++; |
| 3940 if (buildCounterInstancesSetServiceAccountRequest < 3) { | 4013 if (buildCounterInstancesSetServiceAccountRequest < 3) { |
| 3941 o.email = "foo"; | 4014 o.email = "foo"; |
| 3942 o.scopes = buildUnnamed1980(); | 4015 o.scopes = buildUnnamed2085(); |
| 3943 } | 4016 } |
| 3944 buildCounterInstancesSetServiceAccountRequest--; | 4017 buildCounterInstancesSetServiceAccountRequest--; |
| 3945 return o; | 4018 return o; |
| 3946 } | 4019 } |
| 3947 | 4020 |
| 3948 checkInstancesSetServiceAccountRequest(api.InstancesSetServiceAccountRequest o)
{ | 4021 checkInstancesSetServiceAccountRequest(api.InstancesSetServiceAccountRequest o)
{ |
| 3949 buildCounterInstancesSetServiceAccountRequest++; | 4022 buildCounterInstancesSetServiceAccountRequest++; |
| 3950 if (buildCounterInstancesSetServiceAccountRequest < 3) { | 4023 if (buildCounterInstancesSetServiceAccountRequest < 3) { |
| 3951 unittest.expect(o.email, unittest.equals('foo')); | 4024 unittest.expect(o.email, unittest.equals('foo')); |
| 3952 checkUnnamed1980(o.scopes); | 4025 checkUnnamed2085(o.scopes); |
| 3953 } | 4026 } |
| 3954 buildCounterInstancesSetServiceAccountRequest--; | 4027 buildCounterInstancesSetServiceAccountRequest--; |
| 3955 } | 4028 } |
| 3956 | 4029 |
| 3957 buildUnnamed1981() { | 4030 buildUnnamed2086() { |
| 3958 var o = new core.List<api.CustomerEncryptionKeyProtectedDisk>(); | 4031 var o = new core.List<api.CustomerEncryptionKeyProtectedDisk>(); |
| 3959 o.add(buildCustomerEncryptionKeyProtectedDisk()); | 4032 o.add(buildCustomerEncryptionKeyProtectedDisk()); |
| 3960 o.add(buildCustomerEncryptionKeyProtectedDisk()); | 4033 o.add(buildCustomerEncryptionKeyProtectedDisk()); |
| 3961 return o; | 4034 return o; |
| 3962 } | 4035 } |
| 3963 | 4036 |
| 3964 checkUnnamed1981(core.List<api.CustomerEncryptionKeyProtectedDisk> o) { | 4037 checkUnnamed2086(core.List<api.CustomerEncryptionKeyProtectedDisk> o) { |
| 3965 unittest.expect(o, unittest.hasLength(2)); | 4038 unittest.expect(o, unittest.hasLength(2)); |
| 3966 checkCustomerEncryptionKeyProtectedDisk(o[0]); | 4039 checkCustomerEncryptionKeyProtectedDisk(o[0]); |
| 3967 checkCustomerEncryptionKeyProtectedDisk(o[1]); | 4040 checkCustomerEncryptionKeyProtectedDisk(o[1]); |
| 3968 } | 4041 } |
| 3969 | 4042 |
| 3970 core.int buildCounterInstancesStartWithEncryptionKeyRequest = 0; | 4043 core.int buildCounterInstancesStartWithEncryptionKeyRequest = 0; |
| 3971 buildInstancesStartWithEncryptionKeyRequest() { | 4044 buildInstancesStartWithEncryptionKeyRequest() { |
| 3972 var o = new api.InstancesStartWithEncryptionKeyRequest(); | 4045 var o = new api.InstancesStartWithEncryptionKeyRequest(); |
| 3973 buildCounterInstancesStartWithEncryptionKeyRequest++; | 4046 buildCounterInstancesStartWithEncryptionKeyRequest++; |
| 3974 if (buildCounterInstancesStartWithEncryptionKeyRequest < 3) { | 4047 if (buildCounterInstancesStartWithEncryptionKeyRequest < 3) { |
| 3975 o.disks = buildUnnamed1981(); | 4048 o.disks = buildUnnamed2086(); |
| 3976 } | 4049 } |
| 3977 buildCounterInstancesStartWithEncryptionKeyRequest--; | 4050 buildCounterInstancesStartWithEncryptionKeyRequest--; |
| 3978 return o; | 4051 return o; |
| 3979 } | 4052 } |
| 3980 | 4053 |
| 3981 checkInstancesStartWithEncryptionKeyRequest(api.InstancesStartWithEncryptionKeyR
equest o) { | 4054 checkInstancesStartWithEncryptionKeyRequest(api.InstancesStartWithEncryptionKeyR
equest o) { |
| 3982 buildCounterInstancesStartWithEncryptionKeyRequest++; | 4055 buildCounterInstancesStartWithEncryptionKeyRequest++; |
| 3983 if (buildCounterInstancesStartWithEncryptionKeyRequest < 3) { | 4056 if (buildCounterInstancesStartWithEncryptionKeyRequest < 3) { |
| 3984 checkUnnamed1981(o.disks); | 4057 checkUnnamed2086(o.disks); |
| 3985 } | 4058 } |
| 3986 buildCounterInstancesStartWithEncryptionKeyRequest--; | 4059 buildCounterInstancesStartWithEncryptionKeyRequest--; |
| 3987 } | 4060 } |
| 3988 | 4061 |
| 3989 core.int buildCounterLicense = 0; | 4062 core.int buildCounterLicense = 0; |
| 3990 buildLicense() { | 4063 buildLicense() { |
| 3991 var o = new api.License(); | 4064 var o = new api.License(); |
| 3992 buildCounterLicense++; | 4065 buildCounterLicense++; |
| 3993 if (buildCounterLicense < 3) { | 4066 if (buildCounterLicense < 3) { |
| 3994 o.chargesUseFee = true; | 4067 o.chargesUseFee = true; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 4023 } | 4096 } |
| 4024 | 4097 |
| 4025 checkMachineTypeScratchDisks(api.MachineTypeScratchDisks o) { | 4098 checkMachineTypeScratchDisks(api.MachineTypeScratchDisks o) { |
| 4026 buildCounterMachineTypeScratchDisks++; | 4099 buildCounterMachineTypeScratchDisks++; |
| 4027 if (buildCounterMachineTypeScratchDisks < 3) { | 4100 if (buildCounterMachineTypeScratchDisks < 3) { |
| 4028 unittest.expect(o.diskGb, unittest.equals(42)); | 4101 unittest.expect(o.diskGb, unittest.equals(42)); |
| 4029 } | 4102 } |
| 4030 buildCounterMachineTypeScratchDisks--; | 4103 buildCounterMachineTypeScratchDisks--; |
| 4031 } | 4104 } |
| 4032 | 4105 |
| 4033 buildUnnamed1982() { | 4106 buildUnnamed2087() { |
| 4034 var o = new core.List<api.MachineTypeScratchDisks>(); | 4107 var o = new core.List<api.MachineTypeScratchDisks>(); |
| 4035 o.add(buildMachineTypeScratchDisks()); | 4108 o.add(buildMachineTypeScratchDisks()); |
| 4036 o.add(buildMachineTypeScratchDisks()); | 4109 o.add(buildMachineTypeScratchDisks()); |
| 4037 return o; | 4110 return o; |
| 4038 } | 4111 } |
| 4039 | 4112 |
| 4040 checkUnnamed1982(core.List<api.MachineTypeScratchDisks> o) { | 4113 checkUnnamed2087(core.List<api.MachineTypeScratchDisks> o) { |
| 4041 unittest.expect(o, unittest.hasLength(2)); | 4114 unittest.expect(o, unittest.hasLength(2)); |
| 4042 checkMachineTypeScratchDisks(o[0]); | 4115 checkMachineTypeScratchDisks(o[0]); |
| 4043 checkMachineTypeScratchDisks(o[1]); | 4116 checkMachineTypeScratchDisks(o[1]); |
| 4044 } | 4117 } |
| 4045 | 4118 |
| 4046 core.int buildCounterMachineType = 0; | 4119 core.int buildCounterMachineType = 0; |
| 4047 buildMachineType() { | 4120 buildMachineType() { |
| 4048 var o = new api.MachineType(); | 4121 var o = new api.MachineType(); |
| 4049 buildCounterMachineType++; | 4122 buildCounterMachineType++; |
| 4050 if (buildCounterMachineType < 3) { | 4123 if (buildCounterMachineType < 3) { |
| 4051 o.creationTimestamp = "foo"; | 4124 o.creationTimestamp = "foo"; |
| 4052 o.deprecated = buildDeprecationStatus(); | 4125 o.deprecated = buildDeprecationStatus(); |
| 4053 o.description = "foo"; | 4126 o.description = "foo"; |
| 4054 o.guestCpus = 42; | 4127 o.guestCpus = 42; |
| 4055 o.id = "foo"; | 4128 o.id = "foo"; |
| 4056 o.imageSpaceGb = 42; | 4129 o.imageSpaceGb = 42; |
| 4057 o.isSharedCpu = true; | 4130 o.isSharedCpu = true; |
| 4058 o.kind = "foo"; | 4131 o.kind = "foo"; |
| 4059 o.maximumPersistentDisks = 42; | 4132 o.maximumPersistentDisks = 42; |
| 4060 o.maximumPersistentDisksSizeGb = "foo"; | 4133 o.maximumPersistentDisksSizeGb = "foo"; |
| 4061 o.memoryMb = 42; | 4134 o.memoryMb = 42; |
| 4062 o.name = "foo"; | 4135 o.name = "foo"; |
| 4063 o.scratchDisks = buildUnnamed1982(); | 4136 o.scratchDisks = buildUnnamed2087(); |
| 4064 o.selfLink = "foo"; | 4137 o.selfLink = "foo"; |
| 4065 o.zone = "foo"; | 4138 o.zone = "foo"; |
| 4066 } | 4139 } |
| 4067 buildCounterMachineType--; | 4140 buildCounterMachineType--; |
| 4068 return o; | 4141 return o; |
| 4069 } | 4142 } |
| 4070 | 4143 |
| 4071 checkMachineType(api.MachineType o) { | 4144 checkMachineType(api.MachineType o) { |
| 4072 buildCounterMachineType++; | 4145 buildCounterMachineType++; |
| 4073 if (buildCounterMachineType < 3) { | 4146 if (buildCounterMachineType < 3) { |
| 4074 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 4147 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 4075 checkDeprecationStatus(o.deprecated); | 4148 checkDeprecationStatus(o.deprecated); |
| 4076 unittest.expect(o.description, unittest.equals('foo')); | 4149 unittest.expect(o.description, unittest.equals('foo')); |
| 4077 unittest.expect(o.guestCpus, unittest.equals(42)); | 4150 unittest.expect(o.guestCpus, unittest.equals(42)); |
| 4078 unittest.expect(o.id, unittest.equals('foo')); | 4151 unittest.expect(o.id, unittest.equals('foo')); |
| 4079 unittest.expect(o.imageSpaceGb, unittest.equals(42)); | 4152 unittest.expect(o.imageSpaceGb, unittest.equals(42)); |
| 4080 unittest.expect(o.isSharedCpu, unittest.isTrue); | 4153 unittest.expect(o.isSharedCpu, unittest.isTrue); |
| 4081 unittest.expect(o.kind, unittest.equals('foo')); | 4154 unittest.expect(o.kind, unittest.equals('foo')); |
| 4082 unittest.expect(o.maximumPersistentDisks, unittest.equals(42)); | 4155 unittest.expect(o.maximumPersistentDisks, unittest.equals(42)); |
| 4083 unittest.expect(o.maximumPersistentDisksSizeGb, unittest.equals('foo')); | 4156 unittest.expect(o.maximumPersistentDisksSizeGb, unittest.equals('foo')); |
| 4084 unittest.expect(o.memoryMb, unittest.equals(42)); | 4157 unittest.expect(o.memoryMb, unittest.equals(42)); |
| 4085 unittest.expect(o.name, unittest.equals('foo')); | 4158 unittest.expect(o.name, unittest.equals('foo')); |
| 4086 checkUnnamed1982(o.scratchDisks); | 4159 checkUnnamed2087(o.scratchDisks); |
| 4087 unittest.expect(o.selfLink, unittest.equals('foo')); | 4160 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 4088 unittest.expect(o.zone, unittest.equals('foo')); | 4161 unittest.expect(o.zone, unittest.equals('foo')); |
| 4089 } | 4162 } |
| 4090 buildCounterMachineType--; | 4163 buildCounterMachineType--; |
| 4091 } | 4164 } |
| 4092 | 4165 |
| 4093 buildUnnamed1983() { | 4166 buildUnnamed2088() { |
| 4094 var o = new core.Map<core.String, api.MachineTypesScopedList>(); | 4167 var o = new core.Map<core.String, api.MachineTypesScopedList>(); |
| 4095 o["x"] = buildMachineTypesScopedList(); | 4168 o["x"] = buildMachineTypesScopedList(); |
| 4096 o["y"] = buildMachineTypesScopedList(); | 4169 o["y"] = buildMachineTypesScopedList(); |
| 4097 return o; | 4170 return o; |
| 4098 } | 4171 } |
| 4099 | 4172 |
| 4100 checkUnnamed1983(core.Map<core.String, api.MachineTypesScopedList> o) { | 4173 checkUnnamed2088(core.Map<core.String, api.MachineTypesScopedList> o) { |
| 4101 unittest.expect(o, unittest.hasLength(2)); | 4174 unittest.expect(o, unittest.hasLength(2)); |
| 4102 checkMachineTypesScopedList(o["x"]); | 4175 checkMachineTypesScopedList(o["x"]); |
| 4103 checkMachineTypesScopedList(o["y"]); | 4176 checkMachineTypesScopedList(o["y"]); |
| 4104 } | 4177 } |
| 4105 | 4178 |
| 4106 core.int buildCounterMachineTypeAggregatedList = 0; | 4179 core.int buildCounterMachineTypeAggregatedList = 0; |
| 4107 buildMachineTypeAggregatedList() { | 4180 buildMachineTypeAggregatedList() { |
| 4108 var o = new api.MachineTypeAggregatedList(); | 4181 var o = new api.MachineTypeAggregatedList(); |
| 4109 buildCounterMachineTypeAggregatedList++; | 4182 buildCounterMachineTypeAggregatedList++; |
| 4110 if (buildCounterMachineTypeAggregatedList < 3) { | 4183 if (buildCounterMachineTypeAggregatedList < 3) { |
| 4111 o.id = "foo"; | 4184 o.id = "foo"; |
| 4112 o.items = buildUnnamed1983(); | 4185 o.items = buildUnnamed2088(); |
| 4113 o.kind = "foo"; | 4186 o.kind = "foo"; |
| 4114 o.nextPageToken = "foo"; | 4187 o.nextPageToken = "foo"; |
| 4115 o.selfLink = "foo"; | 4188 o.selfLink = "foo"; |
| 4116 } | 4189 } |
| 4117 buildCounterMachineTypeAggregatedList--; | 4190 buildCounterMachineTypeAggregatedList--; |
| 4118 return o; | 4191 return o; |
| 4119 } | 4192 } |
| 4120 | 4193 |
| 4121 checkMachineTypeAggregatedList(api.MachineTypeAggregatedList o) { | 4194 checkMachineTypeAggregatedList(api.MachineTypeAggregatedList o) { |
| 4122 buildCounterMachineTypeAggregatedList++; | 4195 buildCounterMachineTypeAggregatedList++; |
| 4123 if (buildCounterMachineTypeAggregatedList < 3) { | 4196 if (buildCounterMachineTypeAggregatedList < 3) { |
| 4124 unittest.expect(o.id, unittest.equals('foo')); | 4197 unittest.expect(o.id, unittest.equals('foo')); |
| 4125 checkUnnamed1983(o.items); | 4198 checkUnnamed2088(o.items); |
| 4126 unittest.expect(o.kind, unittest.equals('foo')); | 4199 unittest.expect(o.kind, unittest.equals('foo')); |
| 4127 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4200 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 4128 unittest.expect(o.selfLink, unittest.equals('foo')); | 4201 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 4129 } | 4202 } |
| 4130 buildCounterMachineTypeAggregatedList--; | 4203 buildCounterMachineTypeAggregatedList--; |
| 4131 } | 4204 } |
| 4132 | 4205 |
| 4133 buildUnnamed1984() { | 4206 buildUnnamed2089() { |
| 4134 var o = new core.List<api.MachineType>(); | 4207 var o = new core.List<api.MachineType>(); |
| 4135 o.add(buildMachineType()); | 4208 o.add(buildMachineType()); |
| 4136 o.add(buildMachineType()); | 4209 o.add(buildMachineType()); |
| 4137 return o; | 4210 return o; |
| 4138 } | 4211 } |
| 4139 | 4212 |
| 4140 checkUnnamed1984(core.List<api.MachineType> o) { | 4213 checkUnnamed2089(core.List<api.MachineType> o) { |
| 4141 unittest.expect(o, unittest.hasLength(2)); | 4214 unittest.expect(o, unittest.hasLength(2)); |
| 4142 checkMachineType(o[0]); | 4215 checkMachineType(o[0]); |
| 4143 checkMachineType(o[1]); | 4216 checkMachineType(o[1]); |
| 4144 } | 4217 } |
| 4145 | 4218 |
| 4146 core.int buildCounterMachineTypeList = 0; | 4219 core.int buildCounterMachineTypeList = 0; |
| 4147 buildMachineTypeList() { | 4220 buildMachineTypeList() { |
| 4148 var o = new api.MachineTypeList(); | 4221 var o = new api.MachineTypeList(); |
| 4149 buildCounterMachineTypeList++; | 4222 buildCounterMachineTypeList++; |
| 4150 if (buildCounterMachineTypeList < 3) { | 4223 if (buildCounterMachineTypeList < 3) { |
| 4151 o.id = "foo"; | 4224 o.id = "foo"; |
| 4152 o.items = buildUnnamed1984(); | 4225 o.items = buildUnnamed2089(); |
| 4153 o.kind = "foo"; | 4226 o.kind = "foo"; |
| 4154 o.nextPageToken = "foo"; | 4227 o.nextPageToken = "foo"; |
| 4155 o.selfLink = "foo"; | 4228 o.selfLink = "foo"; |
| 4156 } | 4229 } |
| 4157 buildCounterMachineTypeList--; | 4230 buildCounterMachineTypeList--; |
| 4158 return o; | 4231 return o; |
| 4159 } | 4232 } |
| 4160 | 4233 |
| 4161 checkMachineTypeList(api.MachineTypeList o) { | 4234 checkMachineTypeList(api.MachineTypeList o) { |
| 4162 buildCounterMachineTypeList++; | 4235 buildCounterMachineTypeList++; |
| 4163 if (buildCounterMachineTypeList < 3) { | 4236 if (buildCounterMachineTypeList < 3) { |
| 4164 unittest.expect(o.id, unittest.equals('foo')); | 4237 unittest.expect(o.id, unittest.equals('foo')); |
| 4165 checkUnnamed1984(o.items); | 4238 checkUnnamed2089(o.items); |
| 4166 unittest.expect(o.kind, unittest.equals('foo')); | 4239 unittest.expect(o.kind, unittest.equals('foo')); |
| 4167 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4240 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 4168 unittest.expect(o.selfLink, unittest.equals('foo')); | 4241 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 4169 } | 4242 } |
| 4170 buildCounterMachineTypeList--; | 4243 buildCounterMachineTypeList--; |
| 4171 } | 4244 } |
| 4172 | 4245 |
| 4173 buildUnnamed1985() { | 4246 buildUnnamed2090() { |
| 4174 var o = new core.List<api.MachineType>(); | 4247 var o = new core.List<api.MachineType>(); |
| 4175 o.add(buildMachineType()); | 4248 o.add(buildMachineType()); |
| 4176 o.add(buildMachineType()); | 4249 o.add(buildMachineType()); |
| 4177 return o; | 4250 return o; |
| 4178 } | 4251 } |
| 4179 | 4252 |
| 4180 checkUnnamed1985(core.List<api.MachineType> o) { | 4253 checkUnnamed2090(core.List<api.MachineType> o) { |
| 4181 unittest.expect(o, unittest.hasLength(2)); | 4254 unittest.expect(o, unittest.hasLength(2)); |
| 4182 checkMachineType(o[0]); | 4255 checkMachineType(o[0]); |
| 4183 checkMachineType(o[1]); | 4256 checkMachineType(o[1]); |
| 4184 } | 4257 } |
| 4185 | 4258 |
| 4186 core.int buildCounterMachineTypesScopedListWarningData = 0; | 4259 core.int buildCounterMachineTypesScopedListWarningData = 0; |
| 4187 buildMachineTypesScopedListWarningData() { | 4260 buildMachineTypesScopedListWarningData() { |
| 4188 var o = new api.MachineTypesScopedListWarningData(); | 4261 var o = new api.MachineTypesScopedListWarningData(); |
| 4189 buildCounterMachineTypesScopedListWarningData++; | 4262 buildCounterMachineTypesScopedListWarningData++; |
| 4190 if (buildCounterMachineTypesScopedListWarningData < 3) { | 4263 if (buildCounterMachineTypesScopedListWarningData < 3) { |
| 4191 o.key = "foo"; | 4264 o.key = "foo"; |
| 4192 o.value = "foo"; | 4265 o.value = "foo"; |
| 4193 } | 4266 } |
| 4194 buildCounterMachineTypesScopedListWarningData--; | 4267 buildCounterMachineTypesScopedListWarningData--; |
| 4195 return o; | 4268 return o; |
| 4196 } | 4269 } |
| 4197 | 4270 |
| 4198 checkMachineTypesScopedListWarningData(api.MachineTypesScopedListWarningData o)
{ | 4271 checkMachineTypesScopedListWarningData(api.MachineTypesScopedListWarningData o)
{ |
| 4199 buildCounterMachineTypesScopedListWarningData++; | 4272 buildCounterMachineTypesScopedListWarningData++; |
| 4200 if (buildCounterMachineTypesScopedListWarningData < 3) { | 4273 if (buildCounterMachineTypesScopedListWarningData < 3) { |
| 4201 unittest.expect(o.key, unittest.equals('foo')); | 4274 unittest.expect(o.key, unittest.equals('foo')); |
| 4202 unittest.expect(o.value, unittest.equals('foo')); | 4275 unittest.expect(o.value, unittest.equals('foo')); |
| 4203 } | 4276 } |
| 4204 buildCounterMachineTypesScopedListWarningData--; | 4277 buildCounterMachineTypesScopedListWarningData--; |
| 4205 } | 4278 } |
| 4206 | 4279 |
| 4207 buildUnnamed1986() { | 4280 buildUnnamed2091() { |
| 4208 var o = new core.List<api.MachineTypesScopedListWarningData>(); | 4281 var o = new core.List<api.MachineTypesScopedListWarningData>(); |
| 4209 o.add(buildMachineTypesScopedListWarningData()); | 4282 o.add(buildMachineTypesScopedListWarningData()); |
| 4210 o.add(buildMachineTypesScopedListWarningData()); | 4283 o.add(buildMachineTypesScopedListWarningData()); |
| 4211 return o; | 4284 return o; |
| 4212 } | 4285 } |
| 4213 | 4286 |
| 4214 checkUnnamed1986(core.List<api.MachineTypesScopedListWarningData> o) { | 4287 checkUnnamed2091(core.List<api.MachineTypesScopedListWarningData> o) { |
| 4215 unittest.expect(o, unittest.hasLength(2)); | 4288 unittest.expect(o, unittest.hasLength(2)); |
| 4216 checkMachineTypesScopedListWarningData(o[0]); | 4289 checkMachineTypesScopedListWarningData(o[0]); |
| 4217 checkMachineTypesScopedListWarningData(o[1]); | 4290 checkMachineTypesScopedListWarningData(o[1]); |
| 4218 } | 4291 } |
| 4219 | 4292 |
| 4220 core.int buildCounterMachineTypesScopedListWarning = 0; | 4293 core.int buildCounterMachineTypesScopedListWarning = 0; |
| 4221 buildMachineTypesScopedListWarning() { | 4294 buildMachineTypesScopedListWarning() { |
| 4222 var o = new api.MachineTypesScopedListWarning(); | 4295 var o = new api.MachineTypesScopedListWarning(); |
| 4223 buildCounterMachineTypesScopedListWarning++; | 4296 buildCounterMachineTypesScopedListWarning++; |
| 4224 if (buildCounterMachineTypesScopedListWarning < 3) { | 4297 if (buildCounterMachineTypesScopedListWarning < 3) { |
| 4225 o.code = "foo"; | 4298 o.code = "foo"; |
| 4226 o.data = buildUnnamed1986(); | 4299 o.data = buildUnnamed2091(); |
| 4227 o.message = "foo"; | 4300 o.message = "foo"; |
| 4228 } | 4301 } |
| 4229 buildCounterMachineTypesScopedListWarning--; | 4302 buildCounterMachineTypesScopedListWarning--; |
| 4230 return o; | 4303 return o; |
| 4231 } | 4304 } |
| 4232 | 4305 |
| 4233 checkMachineTypesScopedListWarning(api.MachineTypesScopedListWarning o) { | 4306 checkMachineTypesScopedListWarning(api.MachineTypesScopedListWarning o) { |
| 4234 buildCounterMachineTypesScopedListWarning++; | 4307 buildCounterMachineTypesScopedListWarning++; |
| 4235 if (buildCounterMachineTypesScopedListWarning < 3) { | 4308 if (buildCounterMachineTypesScopedListWarning < 3) { |
| 4236 unittest.expect(o.code, unittest.equals('foo')); | 4309 unittest.expect(o.code, unittest.equals('foo')); |
| 4237 checkUnnamed1986(o.data); | 4310 checkUnnamed2091(o.data); |
| 4238 unittest.expect(o.message, unittest.equals('foo')); | 4311 unittest.expect(o.message, unittest.equals('foo')); |
| 4239 } | 4312 } |
| 4240 buildCounterMachineTypesScopedListWarning--; | 4313 buildCounterMachineTypesScopedListWarning--; |
| 4241 } | 4314 } |
| 4242 | 4315 |
| 4243 core.int buildCounterMachineTypesScopedList = 0; | 4316 core.int buildCounterMachineTypesScopedList = 0; |
| 4244 buildMachineTypesScopedList() { | 4317 buildMachineTypesScopedList() { |
| 4245 var o = new api.MachineTypesScopedList(); | 4318 var o = new api.MachineTypesScopedList(); |
| 4246 buildCounterMachineTypesScopedList++; | 4319 buildCounterMachineTypesScopedList++; |
| 4247 if (buildCounterMachineTypesScopedList < 3) { | 4320 if (buildCounterMachineTypesScopedList < 3) { |
| 4248 o.machineTypes = buildUnnamed1985(); | 4321 o.machineTypes = buildUnnamed2090(); |
| 4249 o.warning = buildMachineTypesScopedListWarning(); | 4322 o.warning = buildMachineTypesScopedListWarning(); |
| 4250 } | 4323 } |
| 4251 buildCounterMachineTypesScopedList--; | 4324 buildCounterMachineTypesScopedList--; |
| 4252 return o; | 4325 return o; |
| 4253 } | 4326 } |
| 4254 | 4327 |
| 4255 checkMachineTypesScopedList(api.MachineTypesScopedList o) { | 4328 checkMachineTypesScopedList(api.MachineTypesScopedList o) { |
| 4256 buildCounterMachineTypesScopedList++; | 4329 buildCounterMachineTypesScopedList++; |
| 4257 if (buildCounterMachineTypesScopedList < 3) { | 4330 if (buildCounterMachineTypesScopedList < 3) { |
| 4258 checkUnnamed1985(o.machineTypes); | 4331 checkUnnamed2090(o.machineTypes); |
| 4259 checkMachineTypesScopedListWarning(o.warning); | 4332 checkMachineTypesScopedListWarning(o.warning); |
| 4260 } | 4333 } |
| 4261 buildCounterMachineTypesScopedList--; | 4334 buildCounterMachineTypesScopedList--; |
| 4262 } | 4335 } |
| 4263 | 4336 |
| 4264 core.int buildCounterManagedInstance = 0; | 4337 core.int buildCounterManagedInstance = 0; |
| 4265 buildManagedInstance() { | 4338 buildManagedInstance() { |
| 4266 var o = new api.ManagedInstance(); | 4339 var o = new api.ManagedInstance(); |
| 4267 buildCounterManagedInstance++; | 4340 buildCounterManagedInstance++; |
| 4268 if (buildCounterManagedInstance < 3) { | 4341 if (buildCounterManagedInstance < 3) { |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4304 checkManagedInstanceLastAttemptErrorsErrors(api.ManagedInstanceLastAttemptErrors
Errors o) { | 4377 checkManagedInstanceLastAttemptErrorsErrors(api.ManagedInstanceLastAttemptErrors
Errors o) { |
| 4305 buildCounterManagedInstanceLastAttemptErrorsErrors++; | 4378 buildCounterManagedInstanceLastAttemptErrorsErrors++; |
| 4306 if (buildCounterManagedInstanceLastAttemptErrorsErrors < 3) { | 4379 if (buildCounterManagedInstanceLastAttemptErrorsErrors < 3) { |
| 4307 unittest.expect(o.code, unittest.equals('foo')); | 4380 unittest.expect(o.code, unittest.equals('foo')); |
| 4308 unittest.expect(o.location, unittest.equals('foo')); | 4381 unittest.expect(o.location, unittest.equals('foo')); |
| 4309 unittest.expect(o.message, unittest.equals('foo')); | 4382 unittest.expect(o.message, unittest.equals('foo')); |
| 4310 } | 4383 } |
| 4311 buildCounterManagedInstanceLastAttemptErrorsErrors--; | 4384 buildCounterManagedInstanceLastAttemptErrorsErrors--; |
| 4312 } | 4385 } |
| 4313 | 4386 |
| 4314 buildUnnamed1987() { | 4387 buildUnnamed2092() { |
| 4315 var o = new core.List<api.ManagedInstanceLastAttemptErrorsErrors>(); | 4388 var o = new core.List<api.ManagedInstanceLastAttemptErrorsErrors>(); |
| 4316 o.add(buildManagedInstanceLastAttemptErrorsErrors()); | 4389 o.add(buildManagedInstanceLastAttemptErrorsErrors()); |
| 4317 o.add(buildManagedInstanceLastAttemptErrorsErrors()); | 4390 o.add(buildManagedInstanceLastAttemptErrorsErrors()); |
| 4318 return o; | 4391 return o; |
| 4319 } | 4392 } |
| 4320 | 4393 |
| 4321 checkUnnamed1987(core.List<api.ManagedInstanceLastAttemptErrorsErrors> o) { | 4394 checkUnnamed2092(core.List<api.ManagedInstanceLastAttemptErrorsErrors> o) { |
| 4322 unittest.expect(o, unittest.hasLength(2)); | 4395 unittest.expect(o, unittest.hasLength(2)); |
| 4323 checkManagedInstanceLastAttemptErrorsErrors(o[0]); | 4396 checkManagedInstanceLastAttemptErrorsErrors(o[0]); |
| 4324 checkManagedInstanceLastAttemptErrorsErrors(o[1]); | 4397 checkManagedInstanceLastAttemptErrorsErrors(o[1]); |
| 4325 } | 4398 } |
| 4326 | 4399 |
| 4327 core.int buildCounterManagedInstanceLastAttemptErrors = 0; | 4400 core.int buildCounterManagedInstanceLastAttemptErrors = 0; |
| 4328 buildManagedInstanceLastAttemptErrors() { | 4401 buildManagedInstanceLastAttemptErrors() { |
| 4329 var o = new api.ManagedInstanceLastAttemptErrors(); | 4402 var o = new api.ManagedInstanceLastAttemptErrors(); |
| 4330 buildCounterManagedInstanceLastAttemptErrors++; | 4403 buildCounterManagedInstanceLastAttemptErrors++; |
| 4331 if (buildCounterManagedInstanceLastAttemptErrors < 3) { | 4404 if (buildCounterManagedInstanceLastAttemptErrors < 3) { |
| 4332 o.errors = buildUnnamed1987(); | 4405 o.errors = buildUnnamed2092(); |
| 4333 } | 4406 } |
| 4334 buildCounterManagedInstanceLastAttemptErrors--; | 4407 buildCounterManagedInstanceLastAttemptErrors--; |
| 4335 return o; | 4408 return o; |
| 4336 } | 4409 } |
| 4337 | 4410 |
| 4338 checkManagedInstanceLastAttemptErrors(api.ManagedInstanceLastAttemptErrors o) { | 4411 checkManagedInstanceLastAttemptErrors(api.ManagedInstanceLastAttemptErrors o) { |
| 4339 buildCounterManagedInstanceLastAttemptErrors++; | 4412 buildCounterManagedInstanceLastAttemptErrors++; |
| 4340 if (buildCounterManagedInstanceLastAttemptErrors < 3) { | 4413 if (buildCounterManagedInstanceLastAttemptErrors < 3) { |
| 4341 checkUnnamed1987(o.errors); | 4414 checkUnnamed2092(o.errors); |
| 4342 } | 4415 } |
| 4343 buildCounterManagedInstanceLastAttemptErrors--; | 4416 buildCounterManagedInstanceLastAttemptErrors--; |
| 4344 } | 4417 } |
| 4345 | 4418 |
| 4346 core.int buildCounterManagedInstanceLastAttempt = 0; | 4419 core.int buildCounterManagedInstanceLastAttempt = 0; |
| 4347 buildManagedInstanceLastAttempt() { | 4420 buildManagedInstanceLastAttempt() { |
| 4348 var o = new api.ManagedInstanceLastAttempt(); | 4421 var o = new api.ManagedInstanceLastAttempt(); |
| 4349 buildCounterManagedInstanceLastAttempt++; | 4422 buildCounterManagedInstanceLastAttempt++; |
| 4350 if (buildCounterManagedInstanceLastAttempt < 3) { | 4423 if (buildCounterManagedInstanceLastAttempt < 3) { |
| 4351 o.errors = buildManagedInstanceLastAttemptErrors(); | 4424 o.errors = buildManagedInstanceLastAttemptErrors(); |
| (...skipping 24 matching lines...) Expand all Loading... |
| 4376 | 4449 |
| 4377 checkMetadataItems(api.MetadataItems o) { | 4450 checkMetadataItems(api.MetadataItems o) { |
| 4378 buildCounterMetadataItems++; | 4451 buildCounterMetadataItems++; |
| 4379 if (buildCounterMetadataItems < 3) { | 4452 if (buildCounterMetadataItems < 3) { |
| 4380 unittest.expect(o.key, unittest.equals('foo')); | 4453 unittest.expect(o.key, unittest.equals('foo')); |
| 4381 unittest.expect(o.value, unittest.equals('foo')); | 4454 unittest.expect(o.value, unittest.equals('foo')); |
| 4382 } | 4455 } |
| 4383 buildCounterMetadataItems--; | 4456 buildCounterMetadataItems--; |
| 4384 } | 4457 } |
| 4385 | 4458 |
| 4386 buildUnnamed1988() { | 4459 buildUnnamed2093() { |
| 4387 var o = new core.List<api.MetadataItems>(); | 4460 var o = new core.List<api.MetadataItems>(); |
| 4388 o.add(buildMetadataItems()); | 4461 o.add(buildMetadataItems()); |
| 4389 o.add(buildMetadataItems()); | 4462 o.add(buildMetadataItems()); |
| 4390 return o; | 4463 return o; |
| 4391 } | 4464 } |
| 4392 | 4465 |
| 4393 checkUnnamed1988(core.List<api.MetadataItems> o) { | 4466 checkUnnamed2093(core.List<api.MetadataItems> o) { |
| 4394 unittest.expect(o, unittest.hasLength(2)); | 4467 unittest.expect(o, unittest.hasLength(2)); |
| 4395 checkMetadataItems(o[0]); | 4468 checkMetadataItems(o[0]); |
| 4396 checkMetadataItems(o[1]); | 4469 checkMetadataItems(o[1]); |
| 4397 } | 4470 } |
| 4398 | 4471 |
| 4399 core.int buildCounterMetadata = 0; | 4472 core.int buildCounterMetadata = 0; |
| 4400 buildMetadata() { | 4473 buildMetadata() { |
| 4401 var o = new api.Metadata(); | 4474 var o = new api.Metadata(); |
| 4402 buildCounterMetadata++; | 4475 buildCounterMetadata++; |
| 4403 if (buildCounterMetadata < 3) { | 4476 if (buildCounterMetadata < 3) { |
| 4404 o.fingerprint = "foo"; | 4477 o.fingerprint = "foo"; |
| 4405 o.items = buildUnnamed1988(); | 4478 o.items = buildUnnamed2093(); |
| 4406 o.kind = "foo"; | 4479 o.kind = "foo"; |
| 4407 } | 4480 } |
| 4408 buildCounterMetadata--; | 4481 buildCounterMetadata--; |
| 4409 return o; | 4482 return o; |
| 4410 } | 4483 } |
| 4411 | 4484 |
| 4412 checkMetadata(api.Metadata o) { | 4485 checkMetadata(api.Metadata o) { |
| 4413 buildCounterMetadata++; | 4486 buildCounterMetadata++; |
| 4414 if (buildCounterMetadata < 3) { | 4487 if (buildCounterMetadata < 3) { |
| 4415 unittest.expect(o.fingerprint, unittest.equals('foo')); | 4488 unittest.expect(o.fingerprint, unittest.equals('foo')); |
| 4416 checkUnnamed1988(o.items); | 4489 checkUnnamed2093(o.items); |
| 4417 unittest.expect(o.kind, unittest.equals('foo')); | 4490 unittest.expect(o.kind, unittest.equals('foo')); |
| 4418 } | 4491 } |
| 4419 buildCounterMetadata--; | 4492 buildCounterMetadata--; |
| 4420 } | 4493 } |
| 4421 | 4494 |
| 4422 core.int buildCounterNamedPort = 0; | 4495 core.int buildCounterNamedPort = 0; |
| 4423 buildNamedPort() { | 4496 buildNamedPort() { |
| 4424 var o = new api.NamedPort(); | 4497 var o = new api.NamedPort(); |
| 4425 buildCounterNamedPort++; | 4498 buildCounterNamedPort++; |
| 4426 if (buildCounterNamedPort < 3) { | 4499 if (buildCounterNamedPort < 3) { |
| 4427 o.name = "foo"; | 4500 o.name = "foo"; |
| 4428 o.port = 42; | 4501 o.port = 42; |
| 4429 } | 4502 } |
| 4430 buildCounterNamedPort--; | 4503 buildCounterNamedPort--; |
| 4431 return o; | 4504 return o; |
| 4432 } | 4505 } |
| 4433 | 4506 |
| 4434 checkNamedPort(api.NamedPort o) { | 4507 checkNamedPort(api.NamedPort o) { |
| 4435 buildCounterNamedPort++; | 4508 buildCounterNamedPort++; |
| 4436 if (buildCounterNamedPort < 3) { | 4509 if (buildCounterNamedPort < 3) { |
| 4437 unittest.expect(o.name, unittest.equals('foo')); | 4510 unittest.expect(o.name, unittest.equals('foo')); |
| 4438 unittest.expect(o.port, unittest.equals(42)); | 4511 unittest.expect(o.port, unittest.equals(42)); |
| 4439 } | 4512 } |
| 4440 buildCounterNamedPort--; | 4513 buildCounterNamedPort--; |
| 4441 } | 4514 } |
| 4442 | 4515 |
| 4443 buildUnnamed1989() { | 4516 buildUnnamed2094() { |
| 4444 var o = new core.List<core.String>(); | 4517 var o = new core.List<core.String>(); |
| 4445 o.add("foo"); | 4518 o.add("foo"); |
| 4446 o.add("foo"); | 4519 o.add("foo"); |
| 4447 return o; | 4520 return o; |
| 4448 } | 4521 } |
| 4449 | 4522 |
| 4450 checkUnnamed1989(core.List<core.String> o) { | 4523 checkUnnamed2094(core.List<core.String> o) { |
| 4451 unittest.expect(o, unittest.hasLength(2)); | 4524 unittest.expect(o, unittest.hasLength(2)); |
| 4452 unittest.expect(o[0], unittest.equals('foo')); | 4525 unittest.expect(o[0], unittest.equals('foo')); |
| 4453 unittest.expect(o[1], unittest.equals('foo')); | 4526 unittest.expect(o[1], unittest.equals('foo')); |
| 4454 } | 4527 } |
| 4455 | 4528 |
| 4456 core.int buildCounterNetwork = 0; | 4529 core.int buildCounterNetwork = 0; |
| 4457 buildNetwork() { | 4530 buildNetwork() { |
| 4458 var o = new api.Network(); | 4531 var o = new api.Network(); |
| 4459 buildCounterNetwork++; | 4532 buildCounterNetwork++; |
| 4460 if (buildCounterNetwork < 3) { | 4533 if (buildCounterNetwork < 3) { |
| 4461 o.IPv4Range = "foo"; | 4534 o.IPv4Range = "foo"; |
| 4462 o.autoCreateSubnetworks = true; | 4535 o.autoCreateSubnetworks = true; |
| 4463 o.creationTimestamp = "foo"; | 4536 o.creationTimestamp = "foo"; |
| 4464 o.description = "foo"; | 4537 o.description = "foo"; |
| 4465 o.gatewayIPv4 = "foo"; | 4538 o.gatewayIPv4 = "foo"; |
| 4466 o.id = "foo"; | 4539 o.id = "foo"; |
| 4467 o.kind = "foo"; | 4540 o.kind = "foo"; |
| 4468 o.name = "foo"; | 4541 o.name = "foo"; |
| 4469 o.selfLink = "foo"; | 4542 o.selfLink = "foo"; |
| 4470 o.subnetworks = buildUnnamed1989(); | 4543 o.subnetworks = buildUnnamed2094(); |
| 4471 } | 4544 } |
| 4472 buildCounterNetwork--; | 4545 buildCounterNetwork--; |
| 4473 return o; | 4546 return o; |
| 4474 } | 4547 } |
| 4475 | 4548 |
| 4476 checkNetwork(api.Network o) { | 4549 checkNetwork(api.Network o) { |
| 4477 buildCounterNetwork++; | 4550 buildCounterNetwork++; |
| 4478 if (buildCounterNetwork < 3) { | 4551 if (buildCounterNetwork < 3) { |
| 4479 unittest.expect(o.IPv4Range, unittest.equals('foo')); | 4552 unittest.expect(o.IPv4Range, unittest.equals('foo')); |
| 4480 unittest.expect(o.autoCreateSubnetworks, unittest.isTrue); | 4553 unittest.expect(o.autoCreateSubnetworks, unittest.isTrue); |
| 4481 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 4554 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 4482 unittest.expect(o.description, unittest.equals('foo')); | 4555 unittest.expect(o.description, unittest.equals('foo')); |
| 4483 unittest.expect(o.gatewayIPv4, unittest.equals('foo')); | 4556 unittest.expect(o.gatewayIPv4, unittest.equals('foo')); |
| 4484 unittest.expect(o.id, unittest.equals('foo')); | 4557 unittest.expect(o.id, unittest.equals('foo')); |
| 4485 unittest.expect(o.kind, unittest.equals('foo')); | 4558 unittest.expect(o.kind, unittest.equals('foo')); |
| 4486 unittest.expect(o.name, unittest.equals('foo')); | 4559 unittest.expect(o.name, unittest.equals('foo')); |
| 4487 unittest.expect(o.selfLink, unittest.equals('foo')); | 4560 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 4488 checkUnnamed1989(o.subnetworks); | 4561 checkUnnamed2094(o.subnetworks); |
| 4489 } | 4562 } |
| 4490 buildCounterNetwork--; | 4563 buildCounterNetwork--; |
| 4491 } | 4564 } |
| 4492 | 4565 |
| 4493 buildUnnamed1990() { | 4566 buildUnnamed2095() { |
| 4494 var o = new core.List<api.AccessConfig>(); | 4567 var o = new core.List<api.AccessConfig>(); |
| 4495 o.add(buildAccessConfig()); | 4568 o.add(buildAccessConfig()); |
| 4496 o.add(buildAccessConfig()); | 4569 o.add(buildAccessConfig()); |
| 4497 return o; | 4570 return o; |
| 4498 } | 4571 } |
| 4499 | 4572 |
| 4500 checkUnnamed1990(core.List<api.AccessConfig> o) { | 4573 checkUnnamed2095(core.List<api.AccessConfig> o) { |
| 4501 unittest.expect(o, unittest.hasLength(2)); | 4574 unittest.expect(o, unittest.hasLength(2)); |
| 4502 checkAccessConfig(o[0]); | 4575 checkAccessConfig(o[0]); |
| 4503 checkAccessConfig(o[1]); | 4576 checkAccessConfig(o[1]); |
| 4504 } | 4577 } |
| 4505 | 4578 |
| 4506 core.int buildCounterNetworkInterface = 0; | 4579 core.int buildCounterNetworkInterface = 0; |
| 4507 buildNetworkInterface() { | 4580 buildNetworkInterface() { |
| 4508 var o = new api.NetworkInterface(); | 4581 var o = new api.NetworkInterface(); |
| 4509 buildCounterNetworkInterface++; | 4582 buildCounterNetworkInterface++; |
| 4510 if (buildCounterNetworkInterface < 3) { | 4583 if (buildCounterNetworkInterface < 3) { |
| 4511 o.accessConfigs = buildUnnamed1990(); | 4584 o.accessConfigs = buildUnnamed2095(); |
| 4512 o.kind = "foo"; | 4585 o.kind = "foo"; |
| 4513 o.name = "foo"; | 4586 o.name = "foo"; |
| 4514 o.network = "foo"; | 4587 o.network = "foo"; |
| 4515 o.networkIP = "foo"; | 4588 o.networkIP = "foo"; |
| 4516 o.subnetwork = "foo"; | 4589 o.subnetwork = "foo"; |
| 4517 } | 4590 } |
| 4518 buildCounterNetworkInterface--; | 4591 buildCounterNetworkInterface--; |
| 4519 return o; | 4592 return o; |
| 4520 } | 4593 } |
| 4521 | 4594 |
| 4522 checkNetworkInterface(api.NetworkInterface o) { | 4595 checkNetworkInterface(api.NetworkInterface o) { |
| 4523 buildCounterNetworkInterface++; | 4596 buildCounterNetworkInterface++; |
| 4524 if (buildCounterNetworkInterface < 3) { | 4597 if (buildCounterNetworkInterface < 3) { |
| 4525 checkUnnamed1990(o.accessConfigs); | 4598 checkUnnamed2095(o.accessConfigs); |
| 4526 unittest.expect(o.kind, unittest.equals('foo')); | 4599 unittest.expect(o.kind, unittest.equals('foo')); |
| 4527 unittest.expect(o.name, unittest.equals('foo')); | 4600 unittest.expect(o.name, unittest.equals('foo')); |
| 4528 unittest.expect(o.network, unittest.equals('foo')); | 4601 unittest.expect(o.network, unittest.equals('foo')); |
| 4529 unittest.expect(o.networkIP, unittest.equals('foo')); | 4602 unittest.expect(o.networkIP, unittest.equals('foo')); |
| 4530 unittest.expect(o.subnetwork, unittest.equals('foo')); | 4603 unittest.expect(o.subnetwork, unittest.equals('foo')); |
| 4531 } | 4604 } |
| 4532 buildCounterNetworkInterface--; | 4605 buildCounterNetworkInterface--; |
| 4533 } | 4606 } |
| 4534 | 4607 |
| 4535 buildUnnamed1991() { | 4608 buildUnnamed2096() { |
| 4536 var o = new core.List<api.Network>(); | 4609 var o = new core.List<api.Network>(); |
| 4537 o.add(buildNetwork()); | 4610 o.add(buildNetwork()); |
| 4538 o.add(buildNetwork()); | 4611 o.add(buildNetwork()); |
| 4539 return o; | 4612 return o; |
| 4540 } | 4613 } |
| 4541 | 4614 |
| 4542 checkUnnamed1991(core.List<api.Network> o) { | 4615 checkUnnamed2096(core.List<api.Network> o) { |
| 4543 unittest.expect(o, unittest.hasLength(2)); | 4616 unittest.expect(o, unittest.hasLength(2)); |
| 4544 checkNetwork(o[0]); | 4617 checkNetwork(o[0]); |
| 4545 checkNetwork(o[1]); | 4618 checkNetwork(o[1]); |
| 4546 } | 4619 } |
| 4547 | 4620 |
| 4548 core.int buildCounterNetworkList = 0; | 4621 core.int buildCounterNetworkList = 0; |
| 4549 buildNetworkList() { | 4622 buildNetworkList() { |
| 4550 var o = new api.NetworkList(); | 4623 var o = new api.NetworkList(); |
| 4551 buildCounterNetworkList++; | 4624 buildCounterNetworkList++; |
| 4552 if (buildCounterNetworkList < 3) { | 4625 if (buildCounterNetworkList < 3) { |
| 4553 o.id = "foo"; | 4626 o.id = "foo"; |
| 4554 o.items = buildUnnamed1991(); | 4627 o.items = buildUnnamed2096(); |
| 4555 o.kind = "foo"; | 4628 o.kind = "foo"; |
| 4556 o.nextPageToken = "foo"; | 4629 o.nextPageToken = "foo"; |
| 4557 o.selfLink = "foo"; | 4630 o.selfLink = "foo"; |
| 4558 } | 4631 } |
| 4559 buildCounterNetworkList--; | 4632 buildCounterNetworkList--; |
| 4560 return o; | 4633 return o; |
| 4561 } | 4634 } |
| 4562 | 4635 |
| 4563 checkNetworkList(api.NetworkList o) { | 4636 checkNetworkList(api.NetworkList o) { |
| 4564 buildCounterNetworkList++; | 4637 buildCounterNetworkList++; |
| 4565 if (buildCounterNetworkList < 3) { | 4638 if (buildCounterNetworkList < 3) { |
| 4566 unittest.expect(o.id, unittest.equals('foo')); | 4639 unittest.expect(o.id, unittest.equals('foo')); |
| 4567 checkUnnamed1991(o.items); | 4640 checkUnnamed2096(o.items); |
| 4568 unittest.expect(o.kind, unittest.equals('foo')); | 4641 unittest.expect(o.kind, unittest.equals('foo')); |
| 4569 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4642 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 4570 unittest.expect(o.selfLink, unittest.equals('foo')); | 4643 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 4571 } | 4644 } |
| 4572 buildCounterNetworkList--; | 4645 buildCounterNetworkList--; |
| 4573 } | 4646 } |
| 4574 | 4647 |
| 4575 core.int buildCounterOperationErrorErrors = 0; | 4648 core.int buildCounterOperationErrorErrors = 0; |
| 4576 buildOperationErrorErrors() { | 4649 buildOperationErrorErrors() { |
| 4577 var o = new api.OperationErrorErrors(); | 4650 var o = new api.OperationErrorErrors(); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 4588 checkOperationErrorErrors(api.OperationErrorErrors o) { | 4661 checkOperationErrorErrors(api.OperationErrorErrors o) { |
| 4589 buildCounterOperationErrorErrors++; | 4662 buildCounterOperationErrorErrors++; |
| 4590 if (buildCounterOperationErrorErrors < 3) { | 4663 if (buildCounterOperationErrorErrors < 3) { |
| 4591 unittest.expect(o.code, unittest.equals('foo')); | 4664 unittest.expect(o.code, unittest.equals('foo')); |
| 4592 unittest.expect(o.location, unittest.equals('foo')); | 4665 unittest.expect(o.location, unittest.equals('foo')); |
| 4593 unittest.expect(o.message, unittest.equals('foo')); | 4666 unittest.expect(o.message, unittest.equals('foo')); |
| 4594 } | 4667 } |
| 4595 buildCounterOperationErrorErrors--; | 4668 buildCounterOperationErrorErrors--; |
| 4596 } | 4669 } |
| 4597 | 4670 |
| 4598 buildUnnamed1992() { | 4671 buildUnnamed2097() { |
| 4599 var o = new core.List<api.OperationErrorErrors>(); | 4672 var o = new core.List<api.OperationErrorErrors>(); |
| 4600 o.add(buildOperationErrorErrors()); | 4673 o.add(buildOperationErrorErrors()); |
| 4601 o.add(buildOperationErrorErrors()); | 4674 o.add(buildOperationErrorErrors()); |
| 4602 return o; | 4675 return o; |
| 4603 } | 4676 } |
| 4604 | 4677 |
| 4605 checkUnnamed1992(core.List<api.OperationErrorErrors> o) { | 4678 checkUnnamed2097(core.List<api.OperationErrorErrors> o) { |
| 4606 unittest.expect(o, unittest.hasLength(2)); | 4679 unittest.expect(o, unittest.hasLength(2)); |
| 4607 checkOperationErrorErrors(o[0]); | 4680 checkOperationErrorErrors(o[0]); |
| 4608 checkOperationErrorErrors(o[1]); | 4681 checkOperationErrorErrors(o[1]); |
| 4609 } | 4682 } |
| 4610 | 4683 |
| 4611 core.int buildCounterOperationError = 0; | 4684 core.int buildCounterOperationError = 0; |
| 4612 buildOperationError() { | 4685 buildOperationError() { |
| 4613 var o = new api.OperationError(); | 4686 var o = new api.OperationError(); |
| 4614 buildCounterOperationError++; | 4687 buildCounterOperationError++; |
| 4615 if (buildCounterOperationError < 3) { | 4688 if (buildCounterOperationError < 3) { |
| 4616 o.errors = buildUnnamed1992(); | 4689 o.errors = buildUnnamed2097(); |
| 4617 } | 4690 } |
| 4618 buildCounterOperationError--; | 4691 buildCounterOperationError--; |
| 4619 return o; | 4692 return o; |
| 4620 } | 4693 } |
| 4621 | 4694 |
| 4622 checkOperationError(api.OperationError o) { | 4695 checkOperationError(api.OperationError o) { |
| 4623 buildCounterOperationError++; | 4696 buildCounterOperationError++; |
| 4624 if (buildCounterOperationError < 3) { | 4697 if (buildCounterOperationError < 3) { |
| 4625 checkUnnamed1992(o.errors); | 4698 checkUnnamed2097(o.errors); |
| 4626 } | 4699 } |
| 4627 buildCounterOperationError--; | 4700 buildCounterOperationError--; |
| 4628 } | 4701 } |
| 4629 | 4702 |
| 4630 core.int buildCounterOperationWarningsData = 0; | 4703 core.int buildCounterOperationWarningsData = 0; |
| 4631 buildOperationWarningsData() { | 4704 buildOperationWarningsData() { |
| 4632 var o = new api.OperationWarningsData(); | 4705 var o = new api.OperationWarningsData(); |
| 4633 buildCounterOperationWarningsData++; | 4706 buildCounterOperationWarningsData++; |
| 4634 if (buildCounterOperationWarningsData < 3) { | 4707 if (buildCounterOperationWarningsData < 3) { |
| 4635 o.key = "foo"; | 4708 o.key = "foo"; |
| 4636 o.value = "foo"; | 4709 o.value = "foo"; |
| 4637 } | 4710 } |
| 4638 buildCounterOperationWarningsData--; | 4711 buildCounterOperationWarningsData--; |
| 4639 return o; | 4712 return o; |
| 4640 } | 4713 } |
| 4641 | 4714 |
| 4642 checkOperationWarningsData(api.OperationWarningsData o) { | 4715 checkOperationWarningsData(api.OperationWarningsData o) { |
| 4643 buildCounterOperationWarningsData++; | 4716 buildCounterOperationWarningsData++; |
| 4644 if (buildCounterOperationWarningsData < 3) { | 4717 if (buildCounterOperationWarningsData < 3) { |
| 4645 unittest.expect(o.key, unittest.equals('foo')); | 4718 unittest.expect(o.key, unittest.equals('foo')); |
| 4646 unittest.expect(o.value, unittest.equals('foo')); | 4719 unittest.expect(o.value, unittest.equals('foo')); |
| 4647 } | 4720 } |
| 4648 buildCounterOperationWarningsData--; | 4721 buildCounterOperationWarningsData--; |
| 4649 } | 4722 } |
| 4650 | 4723 |
| 4651 buildUnnamed1993() { | 4724 buildUnnamed2098() { |
| 4652 var o = new core.List<api.OperationWarningsData>(); | 4725 var o = new core.List<api.OperationWarningsData>(); |
| 4653 o.add(buildOperationWarningsData()); | 4726 o.add(buildOperationWarningsData()); |
| 4654 o.add(buildOperationWarningsData()); | 4727 o.add(buildOperationWarningsData()); |
| 4655 return o; | 4728 return o; |
| 4656 } | 4729 } |
| 4657 | 4730 |
| 4658 checkUnnamed1993(core.List<api.OperationWarningsData> o) { | 4731 checkUnnamed2098(core.List<api.OperationWarningsData> o) { |
| 4659 unittest.expect(o, unittest.hasLength(2)); | 4732 unittest.expect(o, unittest.hasLength(2)); |
| 4660 checkOperationWarningsData(o[0]); | 4733 checkOperationWarningsData(o[0]); |
| 4661 checkOperationWarningsData(o[1]); | 4734 checkOperationWarningsData(o[1]); |
| 4662 } | 4735 } |
| 4663 | 4736 |
| 4664 core.int buildCounterOperationWarnings = 0; | 4737 core.int buildCounterOperationWarnings = 0; |
| 4665 buildOperationWarnings() { | 4738 buildOperationWarnings() { |
| 4666 var o = new api.OperationWarnings(); | 4739 var o = new api.OperationWarnings(); |
| 4667 buildCounterOperationWarnings++; | 4740 buildCounterOperationWarnings++; |
| 4668 if (buildCounterOperationWarnings < 3) { | 4741 if (buildCounterOperationWarnings < 3) { |
| 4669 o.code = "foo"; | 4742 o.code = "foo"; |
| 4670 o.data = buildUnnamed1993(); | 4743 o.data = buildUnnamed2098(); |
| 4671 o.message = "foo"; | 4744 o.message = "foo"; |
| 4672 } | 4745 } |
| 4673 buildCounterOperationWarnings--; | 4746 buildCounterOperationWarnings--; |
| 4674 return o; | 4747 return o; |
| 4675 } | 4748 } |
| 4676 | 4749 |
| 4677 checkOperationWarnings(api.OperationWarnings o) { | 4750 checkOperationWarnings(api.OperationWarnings o) { |
| 4678 buildCounterOperationWarnings++; | 4751 buildCounterOperationWarnings++; |
| 4679 if (buildCounterOperationWarnings < 3) { | 4752 if (buildCounterOperationWarnings < 3) { |
| 4680 unittest.expect(o.code, unittest.equals('foo')); | 4753 unittest.expect(o.code, unittest.equals('foo')); |
| 4681 checkUnnamed1993(o.data); | 4754 checkUnnamed2098(o.data); |
| 4682 unittest.expect(o.message, unittest.equals('foo')); | 4755 unittest.expect(o.message, unittest.equals('foo')); |
| 4683 } | 4756 } |
| 4684 buildCounterOperationWarnings--; | 4757 buildCounterOperationWarnings--; |
| 4685 } | 4758 } |
| 4686 | 4759 |
| 4687 buildUnnamed1994() { | 4760 buildUnnamed2099() { |
| 4688 var o = new core.List<api.OperationWarnings>(); | 4761 var o = new core.List<api.OperationWarnings>(); |
| 4689 o.add(buildOperationWarnings()); | 4762 o.add(buildOperationWarnings()); |
| 4690 o.add(buildOperationWarnings()); | 4763 o.add(buildOperationWarnings()); |
| 4691 return o; | 4764 return o; |
| 4692 } | 4765 } |
| 4693 | 4766 |
| 4694 checkUnnamed1994(core.List<api.OperationWarnings> o) { | 4767 checkUnnamed2099(core.List<api.OperationWarnings> o) { |
| 4695 unittest.expect(o, unittest.hasLength(2)); | 4768 unittest.expect(o, unittest.hasLength(2)); |
| 4696 checkOperationWarnings(o[0]); | 4769 checkOperationWarnings(o[0]); |
| 4697 checkOperationWarnings(o[1]); | 4770 checkOperationWarnings(o[1]); |
| 4698 } | 4771 } |
| 4699 | 4772 |
| 4700 core.int buildCounterOperation = 0; | 4773 core.int buildCounterOperation = 0; |
| 4701 buildOperation() { | 4774 buildOperation() { |
| 4702 var o = new api.Operation(); | 4775 var o = new api.Operation(); |
| 4703 buildCounterOperation++; | 4776 buildCounterOperation++; |
| 4704 if (buildCounterOperation < 3) { | 4777 if (buildCounterOperation < 3) { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 4716 o.operationType = "foo"; | 4789 o.operationType = "foo"; |
| 4717 o.progress = 42; | 4790 o.progress = 42; |
| 4718 o.region = "foo"; | 4791 o.region = "foo"; |
| 4719 o.selfLink = "foo"; | 4792 o.selfLink = "foo"; |
| 4720 o.startTime = "foo"; | 4793 o.startTime = "foo"; |
| 4721 o.status = "foo"; | 4794 o.status = "foo"; |
| 4722 o.statusMessage = "foo"; | 4795 o.statusMessage = "foo"; |
| 4723 o.targetId = "foo"; | 4796 o.targetId = "foo"; |
| 4724 o.targetLink = "foo"; | 4797 o.targetLink = "foo"; |
| 4725 o.user = "foo"; | 4798 o.user = "foo"; |
| 4726 o.warnings = buildUnnamed1994(); | 4799 o.warnings = buildUnnamed2099(); |
| 4727 o.zone = "foo"; | 4800 o.zone = "foo"; |
| 4728 } | 4801 } |
| 4729 buildCounterOperation--; | 4802 buildCounterOperation--; |
| 4730 return o; | 4803 return o; |
| 4731 } | 4804 } |
| 4732 | 4805 |
| 4733 checkOperation(api.Operation o) { | 4806 checkOperation(api.Operation o) { |
| 4734 buildCounterOperation++; | 4807 buildCounterOperation++; |
| 4735 if (buildCounterOperation < 3) { | 4808 if (buildCounterOperation < 3) { |
| 4736 unittest.expect(o.clientOperationId, unittest.equals('foo')); | 4809 unittest.expect(o.clientOperationId, unittest.equals('foo')); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 4747 unittest.expect(o.operationType, unittest.equals('foo')); | 4820 unittest.expect(o.operationType, unittest.equals('foo')); |
| 4748 unittest.expect(o.progress, unittest.equals(42)); | 4821 unittest.expect(o.progress, unittest.equals(42)); |
| 4749 unittest.expect(o.region, unittest.equals('foo')); | 4822 unittest.expect(o.region, unittest.equals('foo')); |
| 4750 unittest.expect(o.selfLink, unittest.equals('foo')); | 4823 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 4751 unittest.expect(o.startTime, unittest.equals('foo')); | 4824 unittest.expect(o.startTime, unittest.equals('foo')); |
| 4752 unittest.expect(o.status, unittest.equals('foo')); | 4825 unittest.expect(o.status, unittest.equals('foo')); |
| 4753 unittest.expect(o.statusMessage, unittest.equals('foo')); | 4826 unittest.expect(o.statusMessage, unittest.equals('foo')); |
| 4754 unittest.expect(o.targetId, unittest.equals('foo')); | 4827 unittest.expect(o.targetId, unittest.equals('foo')); |
| 4755 unittest.expect(o.targetLink, unittest.equals('foo')); | 4828 unittest.expect(o.targetLink, unittest.equals('foo')); |
| 4756 unittest.expect(o.user, unittest.equals('foo')); | 4829 unittest.expect(o.user, unittest.equals('foo')); |
| 4757 checkUnnamed1994(o.warnings); | 4830 checkUnnamed2099(o.warnings); |
| 4758 unittest.expect(o.zone, unittest.equals('foo')); | 4831 unittest.expect(o.zone, unittest.equals('foo')); |
| 4759 } | 4832 } |
| 4760 buildCounterOperation--; | 4833 buildCounterOperation--; |
| 4761 } | 4834 } |
| 4762 | 4835 |
| 4763 buildUnnamed1995() { | 4836 buildUnnamed2100() { |
| 4764 var o = new core.Map<core.String, api.OperationsScopedList>(); | 4837 var o = new core.Map<core.String, api.OperationsScopedList>(); |
| 4765 o["x"] = buildOperationsScopedList(); | 4838 o["x"] = buildOperationsScopedList(); |
| 4766 o["y"] = buildOperationsScopedList(); | 4839 o["y"] = buildOperationsScopedList(); |
| 4767 return o; | 4840 return o; |
| 4768 } | 4841 } |
| 4769 | 4842 |
| 4770 checkUnnamed1995(core.Map<core.String, api.OperationsScopedList> o) { | 4843 checkUnnamed2100(core.Map<core.String, api.OperationsScopedList> o) { |
| 4771 unittest.expect(o, unittest.hasLength(2)); | 4844 unittest.expect(o, unittest.hasLength(2)); |
| 4772 checkOperationsScopedList(o["x"]); | 4845 checkOperationsScopedList(o["x"]); |
| 4773 checkOperationsScopedList(o["y"]); | 4846 checkOperationsScopedList(o["y"]); |
| 4774 } | 4847 } |
| 4775 | 4848 |
| 4776 core.int buildCounterOperationAggregatedList = 0; | 4849 core.int buildCounterOperationAggregatedList = 0; |
| 4777 buildOperationAggregatedList() { | 4850 buildOperationAggregatedList() { |
| 4778 var o = new api.OperationAggregatedList(); | 4851 var o = new api.OperationAggregatedList(); |
| 4779 buildCounterOperationAggregatedList++; | 4852 buildCounterOperationAggregatedList++; |
| 4780 if (buildCounterOperationAggregatedList < 3) { | 4853 if (buildCounterOperationAggregatedList < 3) { |
| 4781 o.id = "foo"; | 4854 o.id = "foo"; |
| 4782 o.items = buildUnnamed1995(); | 4855 o.items = buildUnnamed2100(); |
| 4783 o.kind = "foo"; | 4856 o.kind = "foo"; |
| 4784 o.nextPageToken = "foo"; | 4857 o.nextPageToken = "foo"; |
| 4785 o.selfLink = "foo"; | 4858 o.selfLink = "foo"; |
| 4786 } | 4859 } |
| 4787 buildCounterOperationAggregatedList--; | 4860 buildCounterOperationAggregatedList--; |
| 4788 return o; | 4861 return o; |
| 4789 } | 4862 } |
| 4790 | 4863 |
| 4791 checkOperationAggregatedList(api.OperationAggregatedList o) { | 4864 checkOperationAggregatedList(api.OperationAggregatedList o) { |
| 4792 buildCounterOperationAggregatedList++; | 4865 buildCounterOperationAggregatedList++; |
| 4793 if (buildCounterOperationAggregatedList < 3) { | 4866 if (buildCounterOperationAggregatedList < 3) { |
| 4794 unittest.expect(o.id, unittest.equals('foo')); | 4867 unittest.expect(o.id, unittest.equals('foo')); |
| 4795 checkUnnamed1995(o.items); | 4868 checkUnnamed2100(o.items); |
| 4796 unittest.expect(o.kind, unittest.equals('foo')); | 4869 unittest.expect(o.kind, unittest.equals('foo')); |
| 4797 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4870 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 4798 unittest.expect(o.selfLink, unittest.equals('foo')); | 4871 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 4799 } | 4872 } |
| 4800 buildCounterOperationAggregatedList--; | 4873 buildCounterOperationAggregatedList--; |
| 4801 } | 4874 } |
| 4802 | 4875 |
| 4803 buildUnnamed1996() { | 4876 buildUnnamed2101() { |
| 4804 var o = new core.List<api.Operation>(); | 4877 var o = new core.List<api.Operation>(); |
| 4805 o.add(buildOperation()); | 4878 o.add(buildOperation()); |
| 4806 o.add(buildOperation()); | 4879 o.add(buildOperation()); |
| 4807 return o; | 4880 return o; |
| 4808 } | 4881 } |
| 4809 | 4882 |
| 4810 checkUnnamed1996(core.List<api.Operation> o) { | 4883 checkUnnamed2101(core.List<api.Operation> o) { |
| 4811 unittest.expect(o, unittest.hasLength(2)); | 4884 unittest.expect(o, unittest.hasLength(2)); |
| 4812 checkOperation(o[0]); | 4885 checkOperation(o[0]); |
| 4813 checkOperation(o[1]); | 4886 checkOperation(o[1]); |
| 4814 } | 4887 } |
| 4815 | 4888 |
| 4816 core.int buildCounterOperationList = 0; | 4889 core.int buildCounterOperationList = 0; |
| 4817 buildOperationList() { | 4890 buildOperationList() { |
| 4818 var o = new api.OperationList(); | 4891 var o = new api.OperationList(); |
| 4819 buildCounterOperationList++; | 4892 buildCounterOperationList++; |
| 4820 if (buildCounterOperationList < 3) { | 4893 if (buildCounterOperationList < 3) { |
| 4821 o.id = "foo"; | 4894 o.id = "foo"; |
| 4822 o.items = buildUnnamed1996(); | 4895 o.items = buildUnnamed2101(); |
| 4823 o.kind = "foo"; | 4896 o.kind = "foo"; |
| 4824 o.nextPageToken = "foo"; | 4897 o.nextPageToken = "foo"; |
| 4825 o.selfLink = "foo"; | 4898 o.selfLink = "foo"; |
| 4826 } | 4899 } |
| 4827 buildCounterOperationList--; | 4900 buildCounterOperationList--; |
| 4828 return o; | 4901 return o; |
| 4829 } | 4902 } |
| 4830 | 4903 |
| 4831 checkOperationList(api.OperationList o) { | 4904 checkOperationList(api.OperationList o) { |
| 4832 buildCounterOperationList++; | 4905 buildCounterOperationList++; |
| 4833 if (buildCounterOperationList < 3) { | 4906 if (buildCounterOperationList < 3) { |
| 4834 unittest.expect(o.id, unittest.equals('foo')); | 4907 unittest.expect(o.id, unittest.equals('foo')); |
| 4835 checkUnnamed1996(o.items); | 4908 checkUnnamed2101(o.items); |
| 4836 unittest.expect(o.kind, unittest.equals('foo')); | 4909 unittest.expect(o.kind, unittest.equals('foo')); |
| 4837 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4910 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 4838 unittest.expect(o.selfLink, unittest.equals('foo')); | 4911 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 4839 } | 4912 } |
| 4840 buildCounterOperationList--; | 4913 buildCounterOperationList--; |
| 4841 } | 4914 } |
| 4842 | 4915 |
| 4843 buildUnnamed1997() { | 4916 buildUnnamed2102() { |
| 4844 var o = new core.List<api.Operation>(); | 4917 var o = new core.List<api.Operation>(); |
| 4845 o.add(buildOperation()); | 4918 o.add(buildOperation()); |
| 4846 o.add(buildOperation()); | 4919 o.add(buildOperation()); |
| 4847 return o; | 4920 return o; |
| 4848 } | 4921 } |
| 4849 | 4922 |
| 4850 checkUnnamed1997(core.List<api.Operation> o) { | 4923 checkUnnamed2102(core.List<api.Operation> o) { |
| 4851 unittest.expect(o, unittest.hasLength(2)); | 4924 unittest.expect(o, unittest.hasLength(2)); |
| 4852 checkOperation(o[0]); | 4925 checkOperation(o[0]); |
| 4853 checkOperation(o[1]); | 4926 checkOperation(o[1]); |
| 4854 } | 4927 } |
| 4855 | 4928 |
| 4856 core.int buildCounterOperationsScopedListWarningData = 0; | 4929 core.int buildCounterOperationsScopedListWarningData = 0; |
| 4857 buildOperationsScopedListWarningData() { | 4930 buildOperationsScopedListWarningData() { |
| 4858 var o = new api.OperationsScopedListWarningData(); | 4931 var o = new api.OperationsScopedListWarningData(); |
| 4859 buildCounterOperationsScopedListWarningData++; | 4932 buildCounterOperationsScopedListWarningData++; |
| 4860 if (buildCounterOperationsScopedListWarningData < 3) { | 4933 if (buildCounterOperationsScopedListWarningData < 3) { |
| 4861 o.key = "foo"; | 4934 o.key = "foo"; |
| 4862 o.value = "foo"; | 4935 o.value = "foo"; |
| 4863 } | 4936 } |
| 4864 buildCounterOperationsScopedListWarningData--; | 4937 buildCounterOperationsScopedListWarningData--; |
| 4865 return o; | 4938 return o; |
| 4866 } | 4939 } |
| 4867 | 4940 |
| 4868 checkOperationsScopedListWarningData(api.OperationsScopedListWarningData o) { | 4941 checkOperationsScopedListWarningData(api.OperationsScopedListWarningData o) { |
| 4869 buildCounterOperationsScopedListWarningData++; | 4942 buildCounterOperationsScopedListWarningData++; |
| 4870 if (buildCounterOperationsScopedListWarningData < 3) { | 4943 if (buildCounterOperationsScopedListWarningData < 3) { |
| 4871 unittest.expect(o.key, unittest.equals('foo')); | 4944 unittest.expect(o.key, unittest.equals('foo')); |
| 4872 unittest.expect(o.value, unittest.equals('foo')); | 4945 unittest.expect(o.value, unittest.equals('foo')); |
| 4873 } | 4946 } |
| 4874 buildCounterOperationsScopedListWarningData--; | 4947 buildCounterOperationsScopedListWarningData--; |
| 4875 } | 4948 } |
| 4876 | 4949 |
| 4877 buildUnnamed1998() { | 4950 buildUnnamed2103() { |
| 4878 var o = new core.List<api.OperationsScopedListWarningData>(); | 4951 var o = new core.List<api.OperationsScopedListWarningData>(); |
| 4879 o.add(buildOperationsScopedListWarningData()); | 4952 o.add(buildOperationsScopedListWarningData()); |
| 4880 o.add(buildOperationsScopedListWarningData()); | 4953 o.add(buildOperationsScopedListWarningData()); |
| 4881 return o; | 4954 return o; |
| 4882 } | 4955 } |
| 4883 | 4956 |
| 4884 checkUnnamed1998(core.List<api.OperationsScopedListWarningData> o) { | 4957 checkUnnamed2103(core.List<api.OperationsScopedListWarningData> o) { |
| 4885 unittest.expect(o, unittest.hasLength(2)); | 4958 unittest.expect(o, unittest.hasLength(2)); |
| 4886 checkOperationsScopedListWarningData(o[0]); | 4959 checkOperationsScopedListWarningData(o[0]); |
| 4887 checkOperationsScopedListWarningData(o[1]); | 4960 checkOperationsScopedListWarningData(o[1]); |
| 4888 } | 4961 } |
| 4889 | 4962 |
| 4890 core.int buildCounterOperationsScopedListWarning = 0; | 4963 core.int buildCounterOperationsScopedListWarning = 0; |
| 4891 buildOperationsScopedListWarning() { | 4964 buildOperationsScopedListWarning() { |
| 4892 var o = new api.OperationsScopedListWarning(); | 4965 var o = new api.OperationsScopedListWarning(); |
| 4893 buildCounterOperationsScopedListWarning++; | 4966 buildCounterOperationsScopedListWarning++; |
| 4894 if (buildCounterOperationsScopedListWarning < 3) { | 4967 if (buildCounterOperationsScopedListWarning < 3) { |
| 4895 o.code = "foo"; | 4968 o.code = "foo"; |
| 4896 o.data = buildUnnamed1998(); | 4969 o.data = buildUnnamed2103(); |
| 4897 o.message = "foo"; | 4970 o.message = "foo"; |
| 4898 } | 4971 } |
| 4899 buildCounterOperationsScopedListWarning--; | 4972 buildCounterOperationsScopedListWarning--; |
| 4900 return o; | 4973 return o; |
| 4901 } | 4974 } |
| 4902 | 4975 |
| 4903 checkOperationsScopedListWarning(api.OperationsScopedListWarning o) { | 4976 checkOperationsScopedListWarning(api.OperationsScopedListWarning o) { |
| 4904 buildCounterOperationsScopedListWarning++; | 4977 buildCounterOperationsScopedListWarning++; |
| 4905 if (buildCounterOperationsScopedListWarning < 3) { | 4978 if (buildCounterOperationsScopedListWarning < 3) { |
| 4906 unittest.expect(o.code, unittest.equals('foo')); | 4979 unittest.expect(o.code, unittest.equals('foo')); |
| 4907 checkUnnamed1998(o.data); | 4980 checkUnnamed2103(o.data); |
| 4908 unittest.expect(o.message, unittest.equals('foo')); | 4981 unittest.expect(o.message, unittest.equals('foo')); |
| 4909 } | 4982 } |
| 4910 buildCounterOperationsScopedListWarning--; | 4983 buildCounterOperationsScopedListWarning--; |
| 4911 } | 4984 } |
| 4912 | 4985 |
| 4913 core.int buildCounterOperationsScopedList = 0; | 4986 core.int buildCounterOperationsScopedList = 0; |
| 4914 buildOperationsScopedList() { | 4987 buildOperationsScopedList() { |
| 4915 var o = new api.OperationsScopedList(); | 4988 var o = new api.OperationsScopedList(); |
| 4916 buildCounterOperationsScopedList++; | 4989 buildCounterOperationsScopedList++; |
| 4917 if (buildCounterOperationsScopedList < 3) { | 4990 if (buildCounterOperationsScopedList < 3) { |
| 4918 o.operations = buildUnnamed1997(); | 4991 o.operations = buildUnnamed2102(); |
| 4919 o.warning = buildOperationsScopedListWarning(); | 4992 o.warning = buildOperationsScopedListWarning(); |
| 4920 } | 4993 } |
| 4921 buildCounterOperationsScopedList--; | 4994 buildCounterOperationsScopedList--; |
| 4922 return o; | 4995 return o; |
| 4923 } | 4996 } |
| 4924 | 4997 |
| 4925 checkOperationsScopedList(api.OperationsScopedList o) { | 4998 checkOperationsScopedList(api.OperationsScopedList o) { |
| 4926 buildCounterOperationsScopedList++; | 4999 buildCounterOperationsScopedList++; |
| 4927 if (buildCounterOperationsScopedList < 3) { | 5000 if (buildCounterOperationsScopedList < 3) { |
| 4928 checkUnnamed1997(o.operations); | 5001 checkUnnamed2102(o.operations); |
| 4929 checkOperationsScopedListWarning(o.warning); | 5002 checkOperationsScopedListWarning(o.warning); |
| 4930 } | 5003 } |
| 4931 buildCounterOperationsScopedList--; | 5004 buildCounterOperationsScopedList--; |
| 4932 } | 5005 } |
| 4933 | 5006 |
| 4934 buildUnnamed1999() { | 5007 buildUnnamed2104() { |
| 4935 var o = new core.List<api.PathRule>(); | 5008 var o = new core.List<api.PathRule>(); |
| 4936 o.add(buildPathRule()); | 5009 o.add(buildPathRule()); |
| 4937 o.add(buildPathRule()); | 5010 o.add(buildPathRule()); |
| 4938 return o; | 5011 return o; |
| 4939 } | 5012 } |
| 4940 | 5013 |
| 4941 checkUnnamed1999(core.List<api.PathRule> o) { | 5014 checkUnnamed2104(core.List<api.PathRule> o) { |
| 4942 unittest.expect(o, unittest.hasLength(2)); | 5015 unittest.expect(o, unittest.hasLength(2)); |
| 4943 checkPathRule(o[0]); | 5016 checkPathRule(o[0]); |
| 4944 checkPathRule(o[1]); | 5017 checkPathRule(o[1]); |
| 4945 } | 5018 } |
| 4946 | 5019 |
| 4947 core.int buildCounterPathMatcher = 0; | 5020 core.int buildCounterPathMatcher = 0; |
| 4948 buildPathMatcher() { | 5021 buildPathMatcher() { |
| 4949 var o = new api.PathMatcher(); | 5022 var o = new api.PathMatcher(); |
| 4950 buildCounterPathMatcher++; | 5023 buildCounterPathMatcher++; |
| 4951 if (buildCounterPathMatcher < 3) { | 5024 if (buildCounterPathMatcher < 3) { |
| 4952 o.defaultService = "foo"; | 5025 o.defaultService = "foo"; |
| 4953 o.description = "foo"; | 5026 o.description = "foo"; |
| 4954 o.name = "foo"; | 5027 o.name = "foo"; |
| 4955 o.pathRules = buildUnnamed1999(); | 5028 o.pathRules = buildUnnamed2104(); |
| 4956 } | 5029 } |
| 4957 buildCounterPathMatcher--; | 5030 buildCounterPathMatcher--; |
| 4958 return o; | 5031 return o; |
| 4959 } | 5032 } |
| 4960 | 5033 |
| 4961 checkPathMatcher(api.PathMatcher o) { | 5034 checkPathMatcher(api.PathMatcher o) { |
| 4962 buildCounterPathMatcher++; | 5035 buildCounterPathMatcher++; |
| 4963 if (buildCounterPathMatcher < 3) { | 5036 if (buildCounterPathMatcher < 3) { |
| 4964 unittest.expect(o.defaultService, unittest.equals('foo')); | 5037 unittest.expect(o.defaultService, unittest.equals('foo')); |
| 4965 unittest.expect(o.description, unittest.equals('foo')); | 5038 unittest.expect(o.description, unittest.equals('foo')); |
| 4966 unittest.expect(o.name, unittest.equals('foo')); | 5039 unittest.expect(o.name, unittest.equals('foo')); |
| 4967 checkUnnamed1999(o.pathRules); | 5040 checkUnnamed2104(o.pathRules); |
| 4968 } | 5041 } |
| 4969 buildCounterPathMatcher--; | 5042 buildCounterPathMatcher--; |
| 4970 } | 5043 } |
| 4971 | 5044 |
| 4972 buildUnnamed2000() { | 5045 buildUnnamed2105() { |
| 4973 var o = new core.List<core.String>(); | 5046 var o = new core.List<core.String>(); |
| 4974 o.add("foo"); | 5047 o.add("foo"); |
| 4975 o.add("foo"); | 5048 o.add("foo"); |
| 4976 return o; | 5049 return o; |
| 4977 } | 5050 } |
| 4978 | 5051 |
| 4979 checkUnnamed2000(core.List<core.String> o) { | 5052 checkUnnamed2105(core.List<core.String> o) { |
| 4980 unittest.expect(o, unittest.hasLength(2)); | 5053 unittest.expect(o, unittest.hasLength(2)); |
| 4981 unittest.expect(o[0], unittest.equals('foo')); | 5054 unittest.expect(o[0], unittest.equals('foo')); |
| 4982 unittest.expect(o[1], unittest.equals('foo')); | 5055 unittest.expect(o[1], unittest.equals('foo')); |
| 4983 } | 5056 } |
| 4984 | 5057 |
| 4985 core.int buildCounterPathRule = 0; | 5058 core.int buildCounterPathRule = 0; |
| 4986 buildPathRule() { | 5059 buildPathRule() { |
| 4987 var o = new api.PathRule(); | 5060 var o = new api.PathRule(); |
| 4988 buildCounterPathRule++; | 5061 buildCounterPathRule++; |
| 4989 if (buildCounterPathRule < 3) { | 5062 if (buildCounterPathRule < 3) { |
| 4990 o.paths = buildUnnamed2000(); | 5063 o.paths = buildUnnamed2105(); |
| 4991 o.service = "foo"; | 5064 o.service = "foo"; |
| 4992 } | 5065 } |
| 4993 buildCounterPathRule--; | 5066 buildCounterPathRule--; |
| 4994 return o; | 5067 return o; |
| 4995 } | 5068 } |
| 4996 | 5069 |
| 4997 checkPathRule(api.PathRule o) { | 5070 checkPathRule(api.PathRule o) { |
| 4998 buildCounterPathRule++; | 5071 buildCounterPathRule++; |
| 4999 if (buildCounterPathRule < 3) { | 5072 if (buildCounterPathRule < 3) { |
| 5000 checkUnnamed2000(o.paths); | 5073 checkUnnamed2105(o.paths); |
| 5001 unittest.expect(o.service, unittest.equals('foo')); | 5074 unittest.expect(o.service, unittest.equals('foo')); |
| 5002 } | 5075 } |
| 5003 buildCounterPathRule--; | 5076 buildCounterPathRule--; |
| 5004 } | 5077 } |
| 5005 | 5078 |
| 5006 buildUnnamed2001() { | 5079 buildUnnamed2106() { |
| 5007 var o = new core.List<core.String>(); | 5080 var o = new core.List<core.String>(); |
| 5008 o.add("foo"); | 5081 o.add("foo"); |
| 5009 o.add("foo"); | 5082 o.add("foo"); |
| 5010 return o; | 5083 return o; |
| 5011 } | 5084 } |
| 5012 | 5085 |
| 5013 checkUnnamed2001(core.List<core.String> o) { | 5086 checkUnnamed2106(core.List<core.String> o) { |
| 5014 unittest.expect(o, unittest.hasLength(2)); | 5087 unittest.expect(o, unittest.hasLength(2)); |
| 5015 unittest.expect(o[0], unittest.equals('foo')); | 5088 unittest.expect(o[0], unittest.equals('foo')); |
| 5016 unittest.expect(o[1], unittest.equals('foo')); | 5089 unittest.expect(o[1], unittest.equals('foo')); |
| 5017 } | 5090 } |
| 5018 | 5091 |
| 5019 buildUnnamed2002() { | 5092 buildUnnamed2107() { |
| 5020 var o = new core.List<api.Quota>(); | 5093 var o = new core.List<api.Quota>(); |
| 5021 o.add(buildQuota()); | 5094 o.add(buildQuota()); |
| 5022 o.add(buildQuota()); | 5095 o.add(buildQuota()); |
| 5023 return o; | 5096 return o; |
| 5024 } | 5097 } |
| 5025 | 5098 |
| 5026 checkUnnamed2002(core.List<api.Quota> o) { | 5099 checkUnnamed2107(core.List<api.Quota> o) { |
| 5027 unittest.expect(o, unittest.hasLength(2)); | 5100 unittest.expect(o, unittest.hasLength(2)); |
| 5028 checkQuota(o[0]); | 5101 checkQuota(o[0]); |
| 5029 checkQuota(o[1]); | 5102 checkQuota(o[1]); |
| 5030 } | 5103 } |
| 5031 | 5104 |
| 5032 core.int buildCounterProject = 0; | 5105 core.int buildCounterProject = 0; |
| 5033 buildProject() { | 5106 buildProject() { |
| 5034 var o = new api.Project(); | 5107 var o = new api.Project(); |
| 5035 buildCounterProject++; | 5108 buildCounterProject++; |
| 5036 if (buildCounterProject < 3) { | 5109 if (buildCounterProject < 3) { |
| 5037 o.commonInstanceMetadata = buildMetadata(); | 5110 o.commonInstanceMetadata = buildMetadata(); |
| 5038 o.creationTimestamp = "foo"; | 5111 o.creationTimestamp = "foo"; |
| 5039 o.defaultServiceAccount = "foo"; | 5112 o.defaultServiceAccount = "foo"; |
| 5040 o.description = "foo"; | 5113 o.description = "foo"; |
| 5041 o.enabledFeatures = buildUnnamed2001(); | 5114 o.enabledFeatures = buildUnnamed2106(); |
| 5042 o.id = "foo"; | 5115 o.id = "foo"; |
| 5043 o.kind = "foo"; | 5116 o.kind = "foo"; |
| 5044 o.name = "foo"; | 5117 o.name = "foo"; |
| 5045 o.quotas = buildUnnamed2002(); | 5118 o.quotas = buildUnnamed2107(); |
| 5046 o.selfLink = "foo"; | 5119 o.selfLink = "foo"; |
| 5047 o.usageExportLocation = buildUsageExportLocation(); | 5120 o.usageExportLocation = buildUsageExportLocation(); |
| 5048 } | 5121 } |
| 5049 buildCounterProject--; | 5122 buildCounterProject--; |
| 5050 return o; | 5123 return o; |
| 5051 } | 5124 } |
| 5052 | 5125 |
| 5053 checkProject(api.Project o) { | 5126 checkProject(api.Project o) { |
| 5054 buildCounterProject++; | 5127 buildCounterProject++; |
| 5055 if (buildCounterProject < 3) { | 5128 if (buildCounterProject < 3) { |
| 5056 checkMetadata(o.commonInstanceMetadata); | 5129 checkMetadata(o.commonInstanceMetadata); |
| 5057 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 5130 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 5058 unittest.expect(o.defaultServiceAccount, unittest.equals('foo')); | 5131 unittest.expect(o.defaultServiceAccount, unittest.equals('foo')); |
| 5059 unittest.expect(o.description, unittest.equals('foo')); | 5132 unittest.expect(o.description, unittest.equals('foo')); |
| 5060 checkUnnamed2001(o.enabledFeatures); | 5133 checkUnnamed2106(o.enabledFeatures); |
| 5061 unittest.expect(o.id, unittest.equals('foo')); | 5134 unittest.expect(o.id, unittest.equals('foo')); |
| 5062 unittest.expect(o.kind, unittest.equals('foo')); | 5135 unittest.expect(o.kind, unittest.equals('foo')); |
| 5063 unittest.expect(o.name, unittest.equals('foo')); | 5136 unittest.expect(o.name, unittest.equals('foo')); |
| 5064 checkUnnamed2002(o.quotas); | 5137 checkUnnamed2107(o.quotas); |
| 5065 unittest.expect(o.selfLink, unittest.equals('foo')); | 5138 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 5066 checkUsageExportLocation(o.usageExportLocation); | 5139 checkUsageExportLocation(o.usageExportLocation); |
| 5067 } | 5140 } |
| 5068 buildCounterProject--; | 5141 buildCounterProject--; |
| 5069 } | 5142 } |
| 5070 | 5143 |
| 5071 core.int buildCounterQuota = 0; | 5144 core.int buildCounterQuota = 0; |
| 5072 buildQuota() { | 5145 buildQuota() { |
| 5073 var o = new api.Quota(); | 5146 var o = new api.Quota(); |
| 5074 buildCounterQuota++; | 5147 buildCounterQuota++; |
| 5075 if (buildCounterQuota < 3) { | 5148 if (buildCounterQuota < 3) { |
| 5076 o.limit = 42.0; | 5149 o.limit = 42.0; |
| 5077 o.metric = "foo"; | 5150 o.metric = "foo"; |
| 5078 o.usage = 42.0; | 5151 o.usage = 42.0; |
| 5079 } | 5152 } |
| 5080 buildCounterQuota--; | 5153 buildCounterQuota--; |
| 5081 return o; | 5154 return o; |
| 5082 } | 5155 } |
| 5083 | 5156 |
| 5084 checkQuota(api.Quota o) { | 5157 checkQuota(api.Quota o) { |
| 5085 buildCounterQuota++; | 5158 buildCounterQuota++; |
| 5086 if (buildCounterQuota < 3) { | 5159 if (buildCounterQuota < 3) { |
| 5087 unittest.expect(o.limit, unittest.equals(42.0)); | 5160 unittest.expect(o.limit, unittest.equals(42.0)); |
| 5088 unittest.expect(o.metric, unittest.equals('foo')); | 5161 unittest.expect(o.metric, unittest.equals('foo')); |
| 5089 unittest.expect(o.usage, unittest.equals(42.0)); | 5162 unittest.expect(o.usage, unittest.equals(42.0)); |
| 5090 } | 5163 } |
| 5091 buildCounterQuota--; | 5164 buildCounterQuota--; |
| 5092 } | 5165 } |
| 5093 | 5166 |
| 5094 buildUnnamed2003() { | 5167 buildUnnamed2108() { |
| 5095 var o = new core.List<api.Quota>(); | 5168 var o = new core.List<api.Quota>(); |
| 5096 o.add(buildQuota()); | 5169 o.add(buildQuota()); |
| 5097 o.add(buildQuota()); | 5170 o.add(buildQuota()); |
| 5098 return o; | 5171 return o; |
| 5099 } | 5172 } |
| 5100 | 5173 |
| 5101 checkUnnamed2003(core.List<api.Quota> o) { | 5174 checkUnnamed2108(core.List<api.Quota> o) { |
| 5102 unittest.expect(o, unittest.hasLength(2)); | 5175 unittest.expect(o, unittest.hasLength(2)); |
| 5103 checkQuota(o[0]); | 5176 checkQuota(o[0]); |
| 5104 checkQuota(o[1]); | 5177 checkQuota(o[1]); |
| 5105 } | 5178 } |
| 5106 | 5179 |
| 5107 buildUnnamed2004() { | 5180 buildUnnamed2109() { |
| 5108 var o = new core.List<core.String>(); | 5181 var o = new core.List<core.String>(); |
| 5109 o.add("foo"); | 5182 o.add("foo"); |
| 5110 o.add("foo"); | 5183 o.add("foo"); |
| 5111 return o; | 5184 return o; |
| 5112 } | 5185 } |
| 5113 | 5186 |
| 5114 checkUnnamed2004(core.List<core.String> o) { | 5187 checkUnnamed2109(core.List<core.String> o) { |
| 5115 unittest.expect(o, unittest.hasLength(2)); | 5188 unittest.expect(o, unittest.hasLength(2)); |
| 5116 unittest.expect(o[0], unittest.equals('foo')); | 5189 unittest.expect(o[0], unittest.equals('foo')); |
| 5117 unittest.expect(o[1], unittest.equals('foo')); | 5190 unittest.expect(o[1], unittest.equals('foo')); |
| 5118 } | 5191 } |
| 5119 | 5192 |
| 5120 core.int buildCounterRegion = 0; | 5193 core.int buildCounterRegion = 0; |
| 5121 buildRegion() { | 5194 buildRegion() { |
| 5122 var o = new api.Region(); | 5195 var o = new api.Region(); |
| 5123 buildCounterRegion++; | 5196 buildCounterRegion++; |
| 5124 if (buildCounterRegion < 3) { | 5197 if (buildCounterRegion < 3) { |
| 5125 o.creationTimestamp = "foo"; | 5198 o.creationTimestamp = "foo"; |
| 5126 o.deprecated = buildDeprecationStatus(); | 5199 o.deprecated = buildDeprecationStatus(); |
| 5127 o.description = "foo"; | 5200 o.description = "foo"; |
| 5128 o.id = "foo"; | 5201 o.id = "foo"; |
| 5129 o.kind = "foo"; | 5202 o.kind = "foo"; |
| 5130 o.name = "foo"; | 5203 o.name = "foo"; |
| 5131 o.quotas = buildUnnamed2003(); | 5204 o.quotas = buildUnnamed2108(); |
| 5132 o.selfLink = "foo"; | 5205 o.selfLink = "foo"; |
| 5133 o.status = "foo"; | 5206 o.status = "foo"; |
| 5134 o.zones = buildUnnamed2004(); | 5207 o.zones = buildUnnamed2109(); |
| 5135 } | 5208 } |
| 5136 buildCounterRegion--; | 5209 buildCounterRegion--; |
| 5137 return o; | 5210 return o; |
| 5138 } | 5211 } |
| 5139 | 5212 |
| 5140 checkRegion(api.Region o) { | 5213 checkRegion(api.Region o) { |
| 5141 buildCounterRegion++; | 5214 buildCounterRegion++; |
| 5142 if (buildCounterRegion < 3) { | 5215 if (buildCounterRegion < 3) { |
| 5143 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 5216 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 5144 checkDeprecationStatus(o.deprecated); | 5217 checkDeprecationStatus(o.deprecated); |
| 5145 unittest.expect(o.description, unittest.equals('foo')); | 5218 unittest.expect(o.description, unittest.equals('foo')); |
| 5146 unittest.expect(o.id, unittest.equals('foo')); | 5219 unittest.expect(o.id, unittest.equals('foo')); |
| 5147 unittest.expect(o.kind, unittest.equals('foo')); | 5220 unittest.expect(o.kind, unittest.equals('foo')); |
| 5148 unittest.expect(o.name, unittest.equals('foo')); | 5221 unittest.expect(o.name, unittest.equals('foo')); |
| 5149 checkUnnamed2003(o.quotas); | 5222 checkUnnamed2108(o.quotas); |
| 5150 unittest.expect(o.selfLink, unittest.equals('foo')); | 5223 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 5151 unittest.expect(o.status, unittest.equals('foo')); | 5224 unittest.expect(o.status, unittest.equals('foo')); |
| 5152 checkUnnamed2004(o.zones); | 5225 checkUnnamed2109(o.zones); |
| 5153 } | 5226 } |
| 5154 buildCounterRegion--; | 5227 buildCounterRegion--; |
| 5155 } | 5228 } |
| 5156 | 5229 |
| 5157 buildUnnamed2005() { | 5230 buildUnnamed2110() { |
| 5158 var o = new core.List<api.Autoscaler>(); | 5231 var o = new core.List<api.Autoscaler>(); |
| 5159 o.add(buildAutoscaler()); | 5232 o.add(buildAutoscaler()); |
| 5160 o.add(buildAutoscaler()); | 5233 o.add(buildAutoscaler()); |
| 5161 return o; | 5234 return o; |
| 5162 } | 5235 } |
| 5163 | 5236 |
| 5164 checkUnnamed2005(core.List<api.Autoscaler> o) { | 5237 checkUnnamed2110(core.List<api.Autoscaler> o) { |
| 5165 unittest.expect(o, unittest.hasLength(2)); | 5238 unittest.expect(o, unittest.hasLength(2)); |
| 5166 checkAutoscaler(o[0]); | 5239 checkAutoscaler(o[0]); |
| 5167 checkAutoscaler(o[1]); | 5240 checkAutoscaler(o[1]); |
| 5168 } | 5241 } |
| 5169 | 5242 |
| 5170 core.int buildCounterRegionAutoscalerList = 0; | 5243 core.int buildCounterRegionAutoscalerList = 0; |
| 5171 buildRegionAutoscalerList() { | 5244 buildRegionAutoscalerList() { |
| 5172 var o = new api.RegionAutoscalerList(); | 5245 var o = new api.RegionAutoscalerList(); |
| 5173 buildCounterRegionAutoscalerList++; | 5246 buildCounterRegionAutoscalerList++; |
| 5174 if (buildCounterRegionAutoscalerList < 3) { | 5247 if (buildCounterRegionAutoscalerList < 3) { |
| 5175 o.id = "foo"; | 5248 o.id = "foo"; |
| 5176 o.items = buildUnnamed2005(); | 5249 o.items = buildUnnamed2110(); |
| 5177 o.kind = "foo"; | 5250 o.kind = "foo"; |
| 5178 o.nextPageToken = "foo"; | 5251 o.nextPageToken = "foo"; |
| 5179 o.selfLink = "foo"; | 5252 o.selfLink = "foo"; |
| 5180 } | 5253 } |
| 5181 buildCounterRegionAutoscalerList--; | 5254 buildCounterRegionAutoscalerList--; |
| 5182 return o; | 5255 return o; |
| 5183 } | 5256 } |
| 5184 | 5257 |
| 5185 checkRegionAutoscalerList(api.RegionAutoscalerList o) { | 5258 checkRegionAutoscalerList(api.RegionAutoscalerList o) { |
| 5186 buildCounterRegionAutoscalerList++; | 5259 buildCounterRegionAutoscalerList++; |
| 5187 if (buildCounterRegionAutoscalerList < 3) { | 5260 if (buildCounterRegionAutoscalerList < 3) { |
| 5188 unittest.expect(o.id, unittest.equals('foo')); | 5261 unittest.expect(o.id, unittest.equals('foo')); |
| 5189 checkUnnamed2005(o.items); | 5262 checkUnnamed2110(o.items); |
| 5190 unittest.expect(o.kind, unittest.equals('foo')); | 5263 unittest.expect(o.kind, unittest.equals('foo')); |
| 5191 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5264 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 5192 unittest.expect(o.selfLink, unittest.equals('foo')); | 5265 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 5193 } | 5266 } |
| 5194 buildCounterRegionAutoscalerList--; | 5267 buildCounterRegionAutoscalerList--; |
| 5195 } | 5268 } |
| 5196 | 5269 |
| 5197 buildUnnamed2006() { | 5270 buildUnnamed2111() { |
| 5198 var o = new core.List<api.InstanceGroup>(); | 5271 var o = new core.List<api.InstanceGroup>(); |
| 5199 o.add(buildInstanceGroup()); | 5272 o.add(buildInstanceGroup()); |
| 5200 o.add(buildInstanceGroup()); | 5273 o.add(buildInstanceGroup()); |
| 5201 return o; | 5274 return o; |
| 5202 } | 5275 } |
| 5203 | 5276 |
| 5204 checkUnnamed2006(core.List<api.InstanceGroup> o) { | 5277 checkUnnamed2111(core.List<api.InstanceGroup> o) { |
| 5205 unittest.expect(o, unittest.hasLength(2)); | 5278 unittest.expect(o, unittest.hasLength(2)); |
| 5206 checkInstanceGroup(o[0]); | 5279 checkInstanceGroup(o[0]); |
| 5207 checkInstanceGroup(o[1]); | 5280 checkInstanceGroup(o[1]); |
| 5208 } | 5281 } |
| 5209 | 5282 |
| 5210 core.int buildCounterRegionInstanceGroupList = 0; | 5283 core.int buildCounterRegionInstanceGroupList = 0; |
| 5211 buildRegionInstanceGroupList() { | 5284 buildRegionInstanceGroupList() { |
| 5212 var o = new api.RegionInstanceGroupList(); | 5285 var o = new api.RegionInstanceGroupList(); |
| 5213 buildCounterRegionInstanceGroupList++; | 5286 buildCounterRegionInstanceGroupList++; |
| 5214 if (buildCounterRegionInstanceGroupList < 3) { | 5287 if (buildCounterRegionInstanceGroupList < 3) { |
| 5215 o.id = "foo"; | 5288 o.id = "foo"; |
| 5216 o.items = buildUnnamed2006(); | 5289 o.items = buildUnnamed2111(); |
| 5217 o.kind = "foo"; | 5290 o.kind = "foo"; |
| 5218 o.nextPageToken = "foo"; | 5291 o.nextPageToken = "foo"; |
| 5219 o.selfLink = "foo"; | 5292 o.selfLink = "foo"; |
| 5220 } | 5293 } |
| 5221 buildCounterRegionInstanceGroupList--; | 5294 buildCounterRegionInstanceGroupList--; |
| 5222 return o; | 5295 return o; |
| 5223 } | 5296 } |
| 5224 | 5297 |
| 5225 checkRegionInstanceGroupList(api.RegionInstanceGroupList o) { | 5298 checkRegionInstanceGroupList(api.RegionInstanceGroupList o) { |
| 5226 buildCounterRegionInstanceGroupList++; | 5299 buildCounterRegionInstanceGroupList++; |
| 5227 if (buildCounterRegionInstanceGroupList < 3) { | 5300 if (buildCounterRegionInstanceGroupList < 3) { |
| 5228 unittest.expect(o.id, unittest.equals('foo')); | 5301 unittest.expect(o.id, unittest.equals('foo')); |
| 5229 checkUnnamed2006(o.items); | 5302 checkUnnamed2111(o.items); |
| 5230 unittest.expect(o.kind, unittest.equals('foo')); | 5303 unittest.expect(o.kind, unittest.equals('foo')); |
| 5231 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5304 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 5232 unittest.expect(o.selfLink, unittest.equals('foo')); | 5305 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 5233 } | 5306 } |
| 5234 buildCounterRegionInstanceGroupList--; | 5307 buildCounterRegionInstanceGroupList--; |
| 5235 } | 5308 } |
| 5236 | 5309 |
| 5237 buildUnnamed2007() { | 5310 buildUnnamed2112() { |
| 5238 var o = new core.List<api.InstanceGroupManager>(); | 5311 var o = new core.List<api.InstanceGroupManager>(); |
| 5239 o.add(buildInstanceGroupManager()); | 5312 o.add(buildInstanceGroupManager()); |
| 5240 o.add(buildInstanceGroupManager()); | 5313 o.add(buildInstanceGroupManager()); |
| 5241 return o; | 5314 return o; |
| 5242 } | 5315 } |
| 5243 | 5316 |
| 5244 checkUnnamed2007(core.List<api.InstanceGroupManager> o) { | 5317 checkUnnamed2112(core.List<api.InstanceGroupManager> o) { |
| 5245 unittest.expect(o, unittest.hasLength(2)); | 5318 unittest.expect(o, unittest.hasLength(2)); |
| 5246 checkInstanceGroupManager(o[0]); | 5319 checkInstanceGroupManager(o[0]); |
| 5247 checkInstanceGroupManager(o[1]); | 5320 checkInstanceGroupManager(o[1]); |
| 5248 } | 5321 } |
| 5249 | 5322 |
| 5250 core.int buildCounterRegionInstanceGroupManagerList = 0; | 5323 core.int buildCounterRegionInstanceGroupManagerList = 0; |
| 5251 buildRegionInstanceGroupManagerList() { | 5324 buildRegionInstanceGroupManagerList() { |
| 5252 var o = new api.RegionInstanceGroupManagerList(); | 5325 var o = new api.RegionInstanceGroupManagerList(); |
| 5253 buildCounterRegionInstanceGroupManagerList++; | 5326 buildCounterRegionInstanceGroupManagerList++; |
| 5254 if (buildCounterRegionInstanceGroupManagerList < 3) { | 5327 if (buildCounterRegionInstanceGroupManagerList < 3) { |
| 5255 o.id = "foo"; | 5328 o.id = "foo"; |
| 5256 o.items = buildUnnamed2007(); | 5329 o.items = buildUnnamed2112(); |
| 5257 o.kind = "foo"; | 5330 o.kind = "foo"; |
| 5258 o.nextPageToken = "foo"; | 5331 o.nextPageToken = "foo"; |
| 5259 o.selfLink = "foo"; | 5332 o.selfLink = "foo"; |
| 5260 } | 5333 } |
| 5261 buildCounterRegionInstanceGroupManagerList--; | 5334 buildCounterRegionInstanceGroupManagerList--; |
| 5262 return o; | 5335 return o; |
| 5263 } | 5336 } |
| 5264 | 5337 |
| 5265 checkRegionInstanceGroupManagerList(api.RegionInstanceGroupManagerList o) { | 5338 checkRegionInstanceGroupManagerList(api.RegionInstanceGroupManagerList o) { |
| 5266 buildCounterRegionInstanceGroupManagerList++; | 5339 buildCounterRegionInstanceGroupManagerList++; |
| 5267 if (buildCounterRegionInstanceGroupManagerList < 3) { | 5340 if (buildCounterRegionInstanceGroupManagerList < 3) { |
| 5268 unittest.expect(o.id, unittest.equals('foo')); | 5341 unittest.expect(o.id, unittest.equals('foo')); |
| 5269 checkUnnamed2007(o.items); | 5342 checkUnnamed2112(o.items); |
| 5270 unittest.expect(o.kind, unittest.equals('foo')); | 5343 unittest.expect(o.kind, unittest.equals('foo')); |
| 5271 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5344 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 5272 unittest.expect(o.selfLink, unittest.equals('foo')); | 5345 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 5273 } | 5346 } |
| 5274 buildCounterRegionInstanceGroupManagerList--; | 5347 buildCounterRegionInstanceGroupManagerList--; |
| 5275 } | 5348 } |
| 5276 | 5349 |
| 5277 buildUnnamed2008() { | 5350 buildUnnamed2113() { |
| 5278 var o = new core.List<core.String>(); | 5351 var o = new core.List<core.String>(); |
| 5279 o.add("foo"); | 5352 o.add("foo"); |
| 5280 o.add("foo"); | 5353 o.add("foo"); |
| 5281 return o; | 5354 return o; |
| 5282 } | 5355 } |
| 5283 | 5356 |
| 5284 checkUnnamed2008(core.List<core.String> o) { | 5357 checkUnnamed2113(core.List<core.String> o) { |
| 5285 unittest.expect(o, unittest.hasLength(2)); | 5358 unittest.expect(o, unittest.hasLength(2)); |
| 5286 unittest.expect(o[0], unittest.equals('foo')); | 5359 unittest.expect(o[0], unittest.equals('foo')); |
| 5287 unittest.expect(o[1], unittest.equals('foo')); | 5360 unittest.expect(o[1], unittest.equals('foo')); |
| 5288 } | 5361 } |
| 5289 | 5362 |
| 5290 core.int buildCounterRegionInstanceGroupManagersAbandonInstancesRequest = 0; | 5363 core.int buildCounterRegionInstanceGroupManagersAbandonInstancesRequest = 0; |
| 5291 buildRegionInstanceGroupManagersAbandonInstancesRequest() { | 5364 buildRegionInstanceGroupManagersAbandonInstancesRequest() { |
| 5292 var o = new api.RegionInstanceGroupManagersAbandonInstancesRequest(); | 5365 var o = new api.RegionInstanceGroupManagersAbandonInstancesRequest(); |
| 5293 buildCounterRegionInstanceGroupManagersAbandonInstancesRequest++; | 5366 buildCounterRegionInstanceGroupManagersAbandonInstancesRequest++; |
| 5294 if (buildCounterRegionInstanceGroupManagersAbandonInstancesRequest < 3) { | 5367 if (buildCounterRegionInstanceGroupManagersAbandonInstancesRequest < 3) { |
| 5295 o.instances = buildUnnamed2008(); | 5368 o.instances = buildUnnamed2113(); |
| 5296 } | 5369 } |
| 5297 buildCounterRegionInstanceGroupManagersAbandonInstancesRequest--; | 5370 buildCounterRegionInstanceGroupManagersAbandonInstancesRequest--; |
| 5298 return o; | 5371 return o; |
| 5299 } | 5372 } |
| 5300 | 5373 |
| 5301 checkRegionInstanceGroupManagersAbandonInstancesRequest(api.RegionInstanceGroupM
anagersAbandonInstancesRequest o) { | 5374 checkRegionInstanceGroupManagersAbandonInstancesRequest(api.RegionInstanceGroupM
anagersAbandonInstancesRequest o) { |
| 5302 buildCounterRegionInstanceGroupManagersAbandonInstancesRequest++; | 5375 buildCounterRegionInstanceGroupManagersAbandonInstancesRequest++; |
| 5303 if (buildCounterRegionInstanceGroupManagersAbandonInstancesRequest < 3) { | 5376 if (buildCounterRegionInstanceGroupManagersAbandonInstancesRequest < 3) { |
| 5304 checkUnnamed2008(o.instances); | 5377 checkUnnamed2113(o.instances); |
| 5305 } | 5378 } |
| 5306 buildCounterRegionInstanceGroupManagersAbandonInstancesRequest--; | 5379 buildCounterRegionInstanceGroupManagersAbandonInstancesRequest--; |
| 5307 } | 5380 } |
| 5308 | 5381 |
| 5309 buildUnnamed2009() { | 5382 buildUnnamed2114() { |
| 5310 var o = new core.List<core.String>(); | 5383 var o = new core.List<core.String>(); |
| 5311 o.add("foo"); | 5384 o.add("foo"); |
| 5312 o.add("foo"); | 5385 o.add("foo"); |
| 5313 return o; | 5386 return o; |
| 5314 } | 5387 } |
| 5315 | 5388 |
| 5316 checkUnnamed2009(core.List<core.String> o) { | 5389 checkUnnamed2114(core.List<core.String> o) { |
| 5317 unittest.expect(o, unittest.hasLength(2)); | 5390 unittest.expect(o, unittest.hasLength(2)); |
| 5318 unittest.expect(o[0], unittest.equals('foo')); | 5391 unittest.expect(o[0], unittest.equals('foo')); |
| 5319 unittest.expect(o[1], unittest.equals('foo')); | 5392 unittest.expect(o[1], unittest.equals('foo')); |
| 5320 } | 5393 } |
| 5321 | 5394 |
| 5322 core.int buildCounterRegionInstanceGroupManagersDeleteInstancesRequest = 0; | 5395 core.int buildCounterRegionInstanceGroupManagersDeleteInstancesRequest = 0; |
| 5323 buildRegionInstanceGroupManagersDeleteInstancesRequest() { | 5396 buildRegionInstanceGroupManagersDeleteInstancesRequest() { |
| 5324 var o = new api.RegionInstanceGroupManagersDeleteInstancesRequest(); | 5397 var o = new api.RegionInstanceGroupManagersDeleteInstancesRequest(); |
| 5325 buildCounterRegionInstanceGroupManagersDeleteInstancesRequest++; | 5398 buildCounterRegionInstanceGroupManagersDeleteInstancesRequest++; |
| 5326 if (buildCounterRegionInstanceGroupManagersDeleteInstancesRequest < 3) { | 5399 if (buildCounterRegionInstanceGroupManagersDeleteInstancesRequest < 3) { |
| 5327 o.instances = buildUnnamed2009(); | 5400 o.instances = buildUnnamed2114(); |
| 5328 } | 5401 } |
| 5329 buildCounterRegionInstanceGroupManagersDeleteInstancesRequest--; | 5402 buildCounterRegionInstanceGroupManagersDeleteInstancesRequest--; |
| 5330 return o; | 5403 return o; |
| 5331 } | 5404 } |
| 5332 | 5405 |
| 5333 checkRegionInstanceGroupManagersDeleteInstancesRequest(api.RegionInstanceGroupMa
nagersDeleteInstancesRequest o) { | 5406 checkRegionInstanceGroupManagersDeleteInstancesRequest(api.RegionInstanceGroupMa
nagersDeleteInstancesRequest o) { |
| 5334 buildCounterRegionInstanceGroupManagersDeleteInstancesRequest++; | 5407 buildCounterRegionInstanceGroupManagersDeleteInstancesRequest++; |
| 5335 if (buildCounterRegionInstanceGroupManagersDeleteInstancesRequest < 3) { | 5408 if (buildCounterRegionInstanceGroupManagersDeleteInstancesRequest < 3) { |
| 5336 checkUnnamed2009(o.instances); | 5409 checkUnnamed2114(o.instances); |
| 5337 } | 5410 } |
| 5338 buildCounterRegionInstanceGroupManagersDeleteInstancesRequest--; | 5411 buildCounterRegionInstanceGroupManagersDeleteInstancesRequest--; |
| 5339 } | 5412 } |
| 5340 | 5413 |
| 5341 buildUnnamed2010() { | 5414 buildUnnamed2115() { |
| 5342 var o = new core.List<api.ManagedInstance>(); | 5415 var o = new core.List<api.ManagedInstance>(); |
| 5343 o.add(buildManagedInstance()); | 5416 o.add(buildManagedInstance()); |
| 5344 o.add(buildManagedInstance()); | 5417 o.add(buildManagedInstance()); |
| 5345 return o; | 5418 return o; |
| 5346 } | 5419 } |
| 5347 | 5420 |
| 5348 checkUnnamed2010(core.List<api.ManagedInstance> o) { | 5421 checkUnnamed2115(core.List<api.ManagedInstance> o) { |
| 5349 unittest.expect(o, unittest.hasLength(2)); | 5422 unittest.expect(o, unittest.hasLength(2)); |
| 5350 checkManagedInstance(o[0]); | 5423 checkManagedInstance(o[0]); |
| 5351 checkManagedInstance(o[1]); | 5424 checkManagedInstance(o[1]); |
| 5352 } | 5425 } |
| 5353 | 5426 |
| 5354 core.int buildCounterRegionInstanceGroupManagersListInstancesResponse = 0; | 5427 core.int buildCounterRegionInstanceGroupManagersListInstancesResponse = 0; |
| 5355 buildRegionInstanceGroupManagersListInstancesResponse() { | 5428 buildRegionInstanceGroupManagersListInstancesResponse() { |
| 5356 var o = new api.RegionInstanceGroupManagersListInstancesResponse(); | 5429 var o = new api.RegionInstanceGroupManagersListInstancesResponse(); |
| 5357 buildCounterRegionInstanceGroupManagersListInstancesResponse++; | 5430 buildCounterRegionInstanceGroupManagersListInstancesResponse++; |
| 5358 if (buildCounterRegionInstanceGroupManagersListInstancesResponse < 3) { | 5431 if (buildCounterRegionInstanceGroupManagersListInstancesResponse < 3) { |
| 5359 o.managedInstances = buildUnnamed2010(); | 5432 o.managedInstances = buildUnnamed2115(); |
| 5360 } | 5433 } |
| 5361 buildCounterRegionInstanceGroupManagersListInstancesResponse--; | 5434 buildCounterRegionInstanceGroupManagersListInstancesResponse--; |
| 5362 return o; | 5435 return o; |
| 5363 } | 5436 } |
| 5364 | 5437 |
| 5365 checkRegionInstanceGroupManagersListInstancesResponse(api.RegionInstanceGroupMan
agersListInstancesResponse o) { | 5438 checkRegionInstanceGroupManagersListInstancesResponse(api.RegionInstanceGroupMan
agersListInstancesResponse o) { |
| 5366 buildCounterRegionInstanceGroupManagersListInstancesResponse++; | 5439 buildCounterRegionInstanceGroupManagersListInstancesResponse++; |
| 5367 if (buildCounterRegionInstanceGroupManagersListInstancesResponse < 3) { | 5440 if (buildCounterRegionInstanceGroupManagersListInstancesResponse < 3) { |
| 5368 checkUnnamed2010(o.managedInstances); | 5441 checkUnnamed2115(o.managedInstances); |
| 5369 } | 5442 } |
| 5370 buildCounterRegionInstanceGroupManagersListInstancesResponse--; | 5443 buildCounterRegionInstanceGroupManagersListInstancesResponse--; |
| 5371 } | 5444 } |
| 5372 | 5445 |
| 5373 buildUnnamed2011() { | 5446 buildUnnamed2116() { |
| 5374 var o = new core.List<core.String>(); | 5447 var o = new core.List<core.String>(); |
| 5375 o.add("foo"); | 5448 o.add("foo"); |
| 5376 o.add("foo"); | 5449 o.add("foo"); |
| 5377 return o; | 5450 return o; |
| 5378 } | 5451 } |
| 5379 | 5452 |
| 5380 checkUnnamed2011(core.List<core.String> o) { | 5453 checkUnnamed2116(core.List<core.String> o) { |
| 5381 unittest.expect(o, unittest.hasLength(2)); | 5454 unittest.expect(o, unittest.hasLength(2)); |
| 5382 unittest.expect(o[0], unittest.equals('foo')); | 5455 unittest.expect(o[0], unittest.equals('foo')); |
| 5383 unittest.expect(o[1], unittest.equals('foo')); | 5456 unittest.expect(o[1], unittest.equals('foo')); |
| 5384 } | 5457 } |
| 5385 | 5458 |
| 5386 core.int buildCounterRegionInstanceGroupManagersRecreateRequest = 0; | 5459 core.int buildCounterRegionInstanceGroupManagersRecreateRequest = 0; |
| 5387 buildRegionInstanceGroupManagersRecreateRequest() { | 5460 buildRegionInstanceGroupManagersRecreateRequest() { |
| 5388 var o = new api.RegionInstanceGroupManagersRecreateRequest(); | 5461 var o = new api.RegionInstanceGroupManagersRecreateRequest(); |
| 5389 buildCounterRegionInstanceGroupManagersRecreateRequest++; | 5462 buildCounterRegionInstanceGroupManagersRecreateRequest++; |
| 5390 if (buildCounterRegionInstanceGroupManagersRecreateRequest < 3) { | 5463 if (buildCounterRegionInstanceGroupManagersRecreateRequest < 3) { |
| 5391 o.instances = buildUnnamed2011(); | 5464 o.instances = buildUnnamed2116(); |
| 5392 } | 5465 } |
| 5393 buildCounterRegionInstanceGroupManagersRecreateRequest--; | 5466 buildCounterRegionInstanceGroupManagersRecreateRequest--; |
| 5394 return o; | 5467 return o; |
| 5395 } | 5468 } |
| 5396 | 5469 |
| 5397 checkRegionInstanceGroupManagersRecreateRequest(api.RegionInstanceGroupManagersR
ecreateRequest o) { | 5470 checkRegionInstanceGroupManagersRecreateRequest(api.RegionInstanceGroupManagersR
ecreateRequest o) { |
| 5398 buildCounterRegionInstanceGroupManagersRecreateRequest++; | 5471 buildCounterRegionInstanceGroupManagersRecreateRequest++; |
| 5399 if (buildCounterRegionInstanceGroupManagersRecreateRequest < 3) { | 5472 if (buildCounterRegionInstanceGroupManagersRecreateRequest < 3) { |
| 5400 checkUnnamed2011(o.instances); | 5473 checkUnnamed2116(o.instances); |
| 5401 } | 5474 } |
| 5402 buildCounterRegionInstanceGroupManagersRecreateRequest--; | 5475 buildCounterRegionInstanceGroupManagersRecreateRequest--; |
| 5403 } | 5476 } |
| 5404 | 5477 |
| 5405 buildUnnamed2012() { | 5478 buildUnnamed2117() { |
| 5406 var o = new core.List<core.String>(); | 5479 var o = new core.List<core.String>(); |
| 5407 o.add("foo"); | 5480 o.add("foo"); |
| 5408 o.add("foo"); | 5481 o.add("foo"); |
| 5409 return o; | 5482 return o; |
| 5410 } | 5483 } |
| 5411 | 5484 |
| 5412 checkUnnamed2012(core.List<core.String> o) { | 5485 checkUnnamed2117(core.List<core.String> o) { |
| 5413 unittest.expect(o, unittest.hasLength(2)); | 5486 unittest.expect(o, unittest.hasLength(2)); |
| 5414 unittest.expect(o[0], unittest.equals('foo')); | 5487 unittest.expect(o[0], unittest.equals('foo')); |
| 5415 unittest.expect(o[1], unittest.equals('foo')); | 5488 unittest.expect(o[1], unittest.equals('foo')); |
| 5416 } | 5489 } |
| 5417 | 5490 |
| 5418 core.int buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest = 0; | 5491 core.int buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest = 0; |
| 5419 buildRegionInstanceGroupManagersSetTargetPoolsRequest() { | 5492 buildRegionInstanceGroupManagersSetTargetPoolsRequest() { |
| 5420 var o = new api.RegionInstanceGroupManagersSetTargetPoolsRequest(); | 5493 var o = new api.RegionInstanceGroupManagersSetTargetPoolsRequest(); |
| 5421 buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest++; | 5494 buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest++; |
| 5422 if (buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest < 3) { | 5495 if (buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest < 3) { |
| 5423 o.fingerprint = "foo"; | 5496 o.fingerprint = "foo"; |
| 5424 o.targetPools = buildUnnamed2012(); | 5497 o.targetPools = buildUnnamed2117(); |
| 5425 } | 5498 } |
| 5426 buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest--; | 5499 buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest--; |
| 5427 return o; | 5500 return o; |
| 5428 } | 5501 } |
| 5429 | 5502 |
| 5430 checkRegionInstanceGroupManagersSetTargetPoolsRequest(api.RegionInstanceGroupMan
agersSetTargetPoolsRequest o) { | 5503 checkRegionInstanceGroupManagersSetTargetPoolsRequest(api.RegionInstanceGroupMan
agersSetTargetPoolsRequest o) { |
| 5431 buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest++; | 5504 buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest++; |
| 5432 if (buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest < 3) { | 5505 if (buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest < 3) { |
| 5433 unittest.expect(o.fingerprint, unittest.equals('foo')); | 5506 unittest.expect(o.fingerprint, unittest.equals('foo')); |
| 5434 checkUnnamed2012(o.targetPools); | 5507 checkUnnamed2117(o.targetPools); |
| 5435 } | 5508 } |
| 5436 buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest--; | 5509 buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest--; |
| 5437 } | 5510 } |
| 5438 | 5511 |
| 5439 core.int buildCounterRegionInstanceGroupManagersSetTemplateRequest = 0; | 5512 core.int buildCounterRegionInstanceGroupManagersSetTemplateRequest = 0; |
| 5440 buildRegionInstanceGroupManagersSetTemplateRequest() { | 5513 buildRegionInstanceGroupManagersSetTemplateRequest() { |
| 5441 var o = new api.RegionInstanceGroupManagersSetTemplateRequest(); | 5514 var o = new api.RegionInstanceGroupManagersSetTemplateRequest(); |
| 5442 buildCounterRegionInstanceGroupManagersSetTemplateRequest++; | 5515 buildCounterRegionInstanceGroupManagersSetTemplateRequest++; |
| 5443 if (buildCounterRegionInstanceGroupManagersSetTemplateRequest < 3) { | 5516 if (buildCounterRegionInstanceGroupManagersSetTemplateRequest < 3) { |
| 5444 o.instanceTemplate = "foo"; | 5517 o.instanceTemplate = "foo"; |
| 5445 } | 5518 } |
| 5446 buildCounterRegionInstanceGroupManagersSetTemplateRequest--; | 5519 buildCounterRegionInstanceGroupManagersSetTemplateRequest--; |
| 5447 return o; | 5520 return o; |
| 5448 } | 5521 } |
| 5449 | 5522 |
| 5450 checkRegionInstanceGroupManagersSetTemplateRequest(api.RegionInstanceGroupManage
rsSetTemplateRequest o) { | 5523 checkRegionInstanceGroupManagersSetTemplateRequest(api.RegionInstanceGroupManage
rsSetTemplateRequest o) { |
| 5451 buildCounterRegionInstanceGroupManagersSetTemplateRequest++; | 5524 buildCounterRegionInstanceGroupManagersSetTemplateRequest++; |
| 5452 if (buildCounterRegionInstanceGroupManagersSetTemplateRequest < 3) { | 5525 if (buildCounterRegionInstanceGroupManagersSetTemplateRequest < 3) { |
| 5453 unittest.expect(o.instanceTemplate, unittest.equals('foo')); | 5526 unittest.expect(o.instanceTemplate, unittest.equals('foo')); |
| 5454 } | 5527 } |
| 5455 buildCounterRegionInstanceGroupManagersSetTemplateRequest--; | 5528 buildCounterRegionInstanceGroupManagersSetTemplateRequest--; |
| 5456 } | 5529 } |
| 5457 | 5530 |
| 5458 buildUnnamed2013() { | 5531 buildUnnamed2118() { |
| 5459 var o = new core.List<api.InstanceWithNamedPorts>(); | 5532 var o = new core.List<api.InstanceWithNamedPorts>(); |
| 5460 o.add(buildInstanceWithNamedPorts()); | 5533 o.add(buildInstanceWithNamedPorts()); |
| 5461 o.add(buildInstanceWithNamedPorts()); | 5534 o.add(buildInstanceWithNamedPorts()); |
| 5462 return o; | 5535 return o; |
| 5463 } | 5536 } |
| 5464 | 5537 |
| 5465 checkUnnamed2013(core.List<api.InstanceWithNamedPorts> o) { | 5538 checkUnnamed2118(core.List<api.InstanceWithNamedPorts> o) { |
| 5466 unittest.expect(o, unittest.hasLength(2)); | 5539 unittest.expect(o, unittest.hasLength(2)); |
| 5467 checkInstanceWithNamedPorts(o[0]); | 5540 checkInstanceWithNamedPorts(o[0]); |
| 5468 checkInstanceWithNamedPorts(o[1]); | 5541 checkInstanceWithNamedPorts(o[1]); |
| 5469 } | 5542 } |
| 5470 | 5543 |
| 5471 core.int buildCounterRegionInstanceGroupsListInstances = 0; | 5544 core.int buildCounterRegionInstanceGroupsListInstances = 0; |
| 5472 buildRegionInstanceGroupsListInstances() { | 5545 buildRegionInstanceGroupsListInstances() { |
| 5473 var o = new api.RegionInstanceGroupsListInstances(); | 5546 var o = new api.RegionInstanceGroupsListInstances(); |
| 5474 buildCounterRegionInstanceGroupsListInstances++; | 5547 buildCounterRegionInstanceGroupsListInstances++; |
| 5475 if (buildCounterRegionInstanceGroupsListInstances < 3) { | 5548 if (buildCounterRegionInstanceGroupsListInstances < 3) { |
| 5476 o.id = "foo"; | 5549 o.id = "foo"; |
| 5477 o.items = buildUnnamed2013(); | 5550 o.items = buildUnnamed2118(); |
| 5478 o.kind = "foo"; | 5551 o.kind = "foo"; |
| 5479 o.nextPageToken = "foo"; | 5552 o.nextPageToken = "foo"; |
| 5480 o.selfLink = "foo"; | 5553 o.selfLink = "foo"; |
| 5481 } | 5554 } |
| 5482 buildCounterRegionInstanceGroupsListInstances--; | 5555 buildCounterRegionInstanceGroupsListInstances--; |
| 5483 return o; | 5556 return o; |
| 5484 } | 5557 } |
| 5485 | 5558 |
| 5486 checkRegionInstanceGroupsListInstances(api.RegionInstanceGroupsListInstances o)
{ | 5559 checkRegionInstanceGroupsListInstances(api.RegionInstanceGroupsListInstances o)
{ |
| 5487 buildCounterRegionInstanceGroupsListInstances++; | 5560 buildCounterRegionInstanceGroupsListInstances++; |
| 5488 if (buildCounterRegionInstanceGroupsListInstances < 3) { | 5561 if (buildCounterRegionInstanceGroupsListInstances < 3) { |
| 5489 unittest.expect(o.id, unittest.equals('foo')); | 5562 unittest.expect(o.id, unittest.equals('foo')); |
| 5490 checkUnnamed2013(o.items); | 5563 checkUnnamed2118(o.items); |
| 5491 unittest.expect(o.kind, unittest.equals('foo')); | 5564 unittest.expect(o.kind, unittest.equals('foo')); |
| 5492 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5565 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 5493 unittest.expect(o.selfLink, unittest.equals('foo')); | 5566 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 5494 } | 5567 } |
| 5495 buildCounterRegionInstanceGroupsListInstances--; | 5568 buildCounterRegionInstanceGroupsListInstances--; |
| 5496 } | 5569 } |
| 5497 | 5570 |
| 5498 core.int buildCounterRegionInstanceGroupsListInstancesRequest = 0; | 5571 core.int buildCounterRegionInstanceGroupsListInstancesRequest = 0; |
| 5499 buildRegionInstanceGroupsListInstancesRequest() { | 5572 buildRegionInstanceGroupsListInstancesRequest() { |
| 5500 var o = new api.RegionInstanceGroupsListInstancesRequest(); | 5573 var o = new api.RegionInstanceGroupsListInstancesRequest(); |
| 5501 buildCounterRegionInstanceGroupsListInstancesRequest++; | 5574 buildCounterRegionInstanceGroupsListInstancesRequest++; |
| 5502 if (buildCounterRegionInstanceGroupsListInstancesRequest < 3) { | 5575 if (buildCounterRegionInstanceGroupsListInstancesRequest < 3) { |
| 5503 o.instanceState = "foo"; | 5576 o.instanceState = "foo"; |
| 5504 o.portName = "foo"; | 5577 o.portName = "foo"; |
| 5505 } | 5578 } |
| 5506 buildCounterRegionInstanceGroupsListInstancesRequest--; | 5579 buildCounterRegionInstanceGroupsListInstancesRequest--; |
| 5507 return o; | 5580 return o; |
| 5508 } | 5581 } |
| 5509 | 5582 |
| 5510 checkRegionInstanceGroupsListInstancesRequest(api.RegionInstanceGroupsListInstan
cesRequest o) { | 5583 checkRegionInstanceGroupsListInstancesRequest(api.RegionInstanceGroupsListInstan
cesRequest o) { |
| 5511 buildCounterRegionInstanceGroupsListInstancesRequest++; | 5584 buildCounterRegionInstanceGroupsListInstancesRequest++; |
| 5512 if (buildCounterRegionInstanceGroupsListInstancesRequest < 3) { | 5585 if (buildCounterRegionInstanceGroupsListInstancesRequest < 3) { |
| 5513 unittest.expect(o.instanceState, unittest.equals('foo')); | 5586 unittest.expect(o.instanceState, unittest.equals('foo')); |
| 5514 unittest.expect(o.portName, unittest.equals('foo')); | 5587 unittest.expect(o.portName, unittest.equals('foo')); |
| 5515 } | 5588 } |
| 5516 buildCounterRegionInstanceGroupsListInstancesRequest--; | 5589 buildCounterRegionInstanceGroupsListInstancesRequest--; |
| 5517 } | 5590 } |
| 5518 | 5591 |
| 5519 buildUnnamed2014() { | 5592 buildUnnamed2119() { |
| 5520 var o = new core.List<api.NamedPort>(); | 5593 var o = new core.List<api.NamedPort>(); |
| 5521 o.add(buildNamedPort()); | 5594 o.add(buildNamedPort()); |
| 5522 o.add(buildNamedPort()); | 5595 o.add(buildNamedPort()); |
| 5523 return o; | 5596 return o; |
| 5524 } | 5597 } |
| 5525 | 5598 |
| 5526 checkUnnamed2014(core.List<api.NamedPort> o) { | 5599 checkUnnamed2119(core.List<api.NamedPort> o) { |
| 5527 unittest.expect(o, unittest.hasLength(2)); | 5600 unittest.expect(o, unittest.hasLength(2)); |
| 5528 checkNamedPort(o[0]); | 5601 checkNamedPort(o[0]); |
| 5529 checkNamedPort(o[1]); | 5602 checkNamedPort(o[1]); |
| 5530 } | 5603 } |
| 5531 | 5604 |
| 5532 core.int buildCounterRegionInstanceGroupsSetNamedPortsRequest = 0; | 5605 core.int buildCounterRegionInstanceGroupsSetNamedPortsRequest = 0; |
| 5533 buildRegionInstanceGroupsSetNamedPortsRequest() { | 5606 buildRegionInstanceGroupsSetNamedPortsRequest() { |
| 5534 var o = new api.RegionInstanceGroupsSetNamedPortsRequest(); | 5607 var o = new api.RegionInstanceGroupsSetNamedPortsRequest(); |
| 5535 buildCounterRegionInstanceGroupsSetNamedPortsRequest++; | 5608 buildCounterRegionInstanceGroupsSetNamedPortsRequest++; |
| 5536 if (buildCounterRegionInstanceGroupsSetNamedPortsRequest < 3) { | 5609 if (buildCounterRegionInstanceGroupsSetNamedPortsRequest < 3) { |
| 5537 o.fingerprint = "foo"; | 5610 o.fingerprint = "foo"; |
| 5538 o.namedPorts = buildUnnamed2014(); | 5611 o.namedPorts = buildUnnamed2119(); |
| 5539 } | 5612 } |
| 5540 buildCounterRegionInstanceGroupsSetNamedPortsRequest--; | 5613 buildCounterRegionInstanceGroupsSetNamedPortsRequest--; |
| 5541 return o; | 5614 return o; |
| 5542 } | 5615 } |
| 5543 | 5616 |
| 5544 checkRegionInstanceGroupsSetNamedPortsRequest(api.RegionInstanceGroupsSetNamedPo
rtsRequest o) { | 5617 checkRegionInstanceGroupsSetNamedPortsRequest(api.RegionInstanceGroupsSetNamedPo
rtsRequest o) { |
| 5545 buildCounterRegionInstanceGroupsSetNamedPortsRequest++; | 5618 buildCounterRegionInstanceGroupsSetNamedPortsRequest++; |
| 5546 if (buildCounterRegionInstanceGroupsSetNamedPortsRequest < 3) { | 5619 if (buildCounterRegionInstanceGroupsSetNamedPortsRequest < 3) { |
| 5547 unittest.expect(o.fingerprint, unittest.equals('foo')); | 5620 unittest.expect(o.fingerprint, unittest.equals('foo')); |
| 5548 checkUnnamed2014(o.namedPorts); | 5621 checkUnnamed2119(o.namedPorts); |
| 5549 } | 5622 } |
| 5550 buildCounterRegionInstanceGroupsSetNamedPortsRequest--; | 5623 buildCounterRegionInstanceGroupsSetNamedPortsRequest--; |
| 5551 } | 5624 } |
| 5552 | 5625 |
| 5553 buildUnnamed2015() { | 5626 buildUnnamed2120() { |
| 5554 var o = new core.List<api.Region>(); | 5627 var o = new core.List<api.Region>(); |
| 5555 o.add(buildRegion()); | 5628 o.add(buildRegion()); |
| 5556 o.add(buildRegion()); | 5629 o.add(buildRegion()); |
| 5557 return o; | 5630 return o; |
| 5558 } | 5631 } |
| 5559 | 5632 |
| 5560 checkUnnamed2015(core.List<api.Region> o) { | 5633 checkUnnamed2120(core.List<api.Region> o) { |
| 5561 unittest.expect(o, unittest.hasLength(2)); | 5634 unittest.expect(o, unittest.hasLength(2)); |
| 5562 checkRegion(o[0]); | 5635 checkRegion(o[0]); |
| 5563 checkRegion(o[1]); | 5636 checkRegion(o[1]); |
| 5564 } | 5637 } |
| 5565 | 5638 |
| 5566 core.int buildCounterRegionList = 0; | 5639 core.int buildCounterRegionList = 0; |
| 5567 buildRegionList() { | 5640 buildRegionList() { |
| 5568 var o = new api.RegionList(); | 5641 var o = new api.RegionList(); |
| 5569 buildCounterRegionList++; | 5642 buildCounterRegionList++; |
| 5570 if (buildCounterRegionList < 3) { | 5643 if (buildCounterRegionList < 3) { |
| 5571 o.id = "foo"; | 5644 o.id = "foo"; |
| 5572 o.items = buildUnnamed2015(); | 5645 o.items = buildUnnamed2120(); |
| 5573 o.kind = "foo"; | 5646 o.kind = "foo"; |
| 5574 o.nextPageToken = "foo"; | 5647 o.nextPageToken = "foo"; |
| 5575 o.selfLink = "foo"; | 5648 o.selfLink = "foo"; |
| 5576 } | 5649 } |
| 5577 buildCounterRegionList--; | 5650 buildCounterRegionList--; |
| 5578 return o; | 5651 return o; |
| 5579 } | 5652 } |
| 5580 | 5653 |
| 5581 checkRegionList(api.RegionList o) { | 5654 checkRegionList(api.RegionList o) { |
| 5582 buildCounterRegionList++; | 5655 buildCounterRegionList++; |
| 5583 if (buildCounterRegionList < 3) { | 5656 if (buildCounterRegionList < 3) { |
| 5584 unittest.expect(o.id, unittest.equals('foo')); | 5657 unittest.expect(o.id, unittest.equals('foo')); |
| 5585 checkUnnamed2015(o.items); | 5658 checkUnnamed2120(o.items); |
| 5586 unittest.expect(o.kind, unittest.equals('foo')); | 5659 unittest.expect(o.kind, unittest.equals('foo')); |
| 5587 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5660 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 5588 unittest.expect(o.selfLink, unittest.equals('foo')); | 5661 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 5589 } | 5662 } |
| 5590 buildCounterRegionList--; | 5663 buildCounterRegionList--; |
| 5591 } | 5664 } |
| 5592 | 5665 |
| 5593 core.int buildCounterResourceGroupReference = 0; | 5666 core.int buildCounterResourceGroupReference = 0; |
| 5594 buildResourceGroupReference() { | 5667 buildResourceGroupReference() { |
| 5595 var o = new api.ResourceGroupReference(); | 5668 var o = new api.ResourceGroupReference(); |
| 5596 buildCounterResourceGroupReference++; | 5669 buildCounterResourceGroupReference++; |
| 5597 if (buildCounterResourceGroupReference < 3) { | 5670 if (buildCounterResourceGroupReference < 3) { |
| 5598 o.group = "foo"; | 5671 o.group = "foo"; |
| 5599 } | 5672 } |
| 5600 buildCounterResourceGroupReference--; | 5673 buildCounterResourceGroupReference--; |
| 5601 return o; | 5674 return o; |
| 5602 } | 5675 } |
| 5603 | 5676 |
| 5604 checkResourceGroupReference(api.ResourceGroupReference o) { | 5677 checkResourceGroupReference(api.ResourceGroupReference o) { |
| 5605 buildCounterResourceGroupReference++; | 5678 buildCounterResourceGroupReference++; |
| 5606 if (buildCounterResourceGroupReference < 3) { | 5679 if (buildCounterResourceGroupReference < 3) { |
| 5607 unittest.expect(o.group, unittest.equals('foo')); | 5680 unittest.expect(o.group, unittest.equals('foo')); |
| 5608 } | 5681 } |
| 5609 buildCounterResourceGroupReference--; | 5682 buildCounterResourceGroupReference--; |
| 5610 } | 5683 } |
| 5611 | 5684 |
| 5612 buildUnnamed2016() { | 5685 buildUnnamed2121() { |
| 5613 var o = new core.List<core.String>(); | 5686 var o = new core.List<core.String>(); |
| 5614 o.add("foo"); | 5687 o.add("foo"); |
| 5615 o.add("foo"); | 5688 o.add("foo"); |
| 5616 return o; | 5689 return o; |
| 5617 } | 5690 } |
| 5618 | 5691 |
| 5619 checkUnnamed2016(core.List<core.String> o) { | 5692 checkUnnamed2121(core.List<core.String> o) { |
| 5620 unittest.expect(o, unittest.hasLength(2)); | 5693 unittest.expect(o, unittest.hasLength(2)); |
| 5621 unittest.expect(o[0], unittest.equals('foo')); | 5694 unittest.expect(o[0], unittest.equals('foo')); |
| 5622 unittest.expect(o[1], unittest.equals('foo')); | 5695 unittest.expect(o[1], unittest.equals('foo')); |
| 5623 } | 5696 } |
| 5624 | 5697 |
| 5625 core.int buildCounterRouteWarningsData = 0; | 5698 core.int buildCounterRouteWarningsData = 0; |
| 5626 buildRouteWarningsData() { | 5699 buildRouteWarningsData() { |
| 5627 var o = new api.RouteWarningsData(); | 5700 var o = new api.RouteWarningsData(); |
| 5628 buildCounterRouteWarningsData++; | 5701 buildCounterRouteWarningsData++; |
| 5629 if (buildCounterRouteWarningsData < 3) { | 5702 if (buildCounterRouteWarningsData < 3) { |
| 5630 o.key = "foo"; | 5703 o.key = "foo"; |
| 5631 o.value = "foo"; | 5704 o.value = "foo"; |
| 5632 } | 5705 } |
| 5633 buildCounterRouteWarningsData--; | 5706 buildCounterRouteWarningsData--; |
| 5634 return o; | 5707 return o; |
| 5635 } | 5708 } |
| 5636 | 5709 |
| 5637 checkRouteWarningsData(api.RouteWarningsData o) { | 5710 checkRouteWarningsData(api.RouteWarningsData o) { |
| 5638 buildCounterRouteWarningsData++; | 5711 buildCounterRouteWarningsData++; |
| 5639 if (buildCounterRouteWarningsData < 3) { | 5712 if (buildCounterRouteWarningsData < 3) { |
| 5640 unittest.expect(o.key, unittest.equals('foo')); | 5713 unittest.expect(o.key, unittest.equals('foo')); |
| 5641 unittest.expect(o.value, unittest.equals('foo')); | 5714 unittest.expect(o.value, unittest.equals('foo')); |
| 5642 } | 5715 } |
| 5643 buildCounterRouteWarningsData--; | 5716 buildCounterRouteWarningsData--; |
| 5644 } | 5717 } |
| 5645 | 5718 |
| 5646 buildUnnamed2017() { | 5719 buildUnnamed2122() { |
| 5647 var o = new core.List<api.RouteWarningsData>(); | 5720 var o = new core.List<api.RouteWarningsData>(); |
| 5648 o.add(buildRouteWarningsData()); | 5721 o.add(buildRouteWarningsData()); |
| 5649 o.add(buildRouteWarningsData()); | 5722 o.add(buildRouteWarningsData()); |
| 5650 return o; | 5723 return o; |
| 5651 } | 5724 } |
| 5652 | 5725 |
| 5653 checkUnnamed2017(core.List<api.RouteWarningsData> o) { | 5726 checkUnnamed2122(core.List<api.RouteWarningsData> o) { |
| 5654 unittest.expect(o, unittest.hasLength(2)); | 5727 unittest.expect(o, unittest.hasLength(2)); |
| 5655 checkRouteWarningsData(o[0]); | 5728 checkRouteWarningsData(o[0]); |
| 5656 checkRouteWarningsData(o[1]); | 5729 checkRouteWarningsData(o[1]); |
| 5657 } | 5730 } |
| 5658 | 5731 |
| 5659 core.int buildCounterRouteWarnings = 0; | 5732 core.int buildCounterRouteWarnings = 0; |
| 5660 buildRouteWarnings() { | 5733 buildRouteWarnings() { |
| 5661 var o = new api.RouteWarnings(); | 5734 var o = new api.RouteWarnings(); |
| 5662 buildCounterRouteWarnings++; | 5735 buildCounterRouteWarnings++; |
| 5663 if (buildCounterRouteWarnings < 3) { | 5736 if (buildCounterRouteWarnings < 3) { |
| 5664 o.code = "foo"; | 5737 o.code = "foo"; |
| 5665 o.data = buildUnnamed2017(); | 5738 o.data = buildUnnamed2122(); |
| 5666 o.message = "foo"; | 5739 o.message = "foo"; |
| 5667 } | 5740 } |
| 5668 buildCounterRouteWarnings--; | 5741 buildCounterRouteWarnings--; |
| 5669 return o; | 5742 return o; |
| 5670 } | 5743 } |
| 5671 | 5744 |
| 5672 checkRouteWarnings(api.RouteWarnings o) { | 5745 checkRouteWarnings(api.RouteWarnings o) { |
| 5673 buildCounterRouteWarnings++; | 5746 buildCounterRouteWarnings++; |
| 5674 if (buildCounterRouteWarnings < 3) { | 5747 if (buildCounterRouteWarnings < 3) { |
| 5675 unittest.expect(o.code, unittest.equals('foo')); | 5748 unittest.expect(o.code, unittest.equals('foo')); |
| 5676 checkUnnamed2017(o.data); | 5749 checkUnnamed2122(o.data); |
| 5677 unittest.expect(o.message, unittest.equals('foo')); | 5750 unittest.expect(o.message, unittest.equals('foo')); |
| 5678 } | 5751 } |
| 5679 buildCounterRouteWarnings--; | 5752 buildCounterRouteWarnings--; |
| 5680 } | 5753 } |
| 5681 | 5754 |
| 5682 buildUnnamed2018() { | 5755 buildUnnamed2123() { |
| 5683 var o = new core.List<api.RouteWarnings>(); | 5756 var o = new core.List<api.RouteWarnings>(); |
| 5684 o.add(buildRouteWarnings()); | 5757 o.add(buildRouteWarnings()); |
| 5685 o.add(buildRouteWarnings()); | 5758 o.add(buildRouteWarnings()); |
| 5686 return o; | 5759 return o; |
| 5687 } | 5760 } |
| 5688 | 5761 |
| 5689 checkUnnamed2018(core.List<api.RouteWarnings> o) { | 5762 checkUnnamed2123(core.List<api.RouteWarnings> o) { |
| 5690 unittest.expect(o, unittest.hasLength(2)); | 5763 unittest.expect(o, unittest.hasLength(2)); |
| 5691 checkRouteWarnings(o[0]); | 5764 checkRouteWarnings(o[0]); |
| 5692 checkRouteWarnings(o[1]); | 5765 checkRouteWarnings(o[1]); |
| 5693 } | 5766 } |
| 5694 | 5767 |
| 5695 core.int buildCounterRoute = 0; | 5768 core.int buildCounterRoute = 0; |
| 5696 buildRoute() { | 5769 buildRoute() { |
| 5697 var o = new api.Route(); | 5770 var o = new api.Route(); |
| 5698 buildCounterRoute++; | 5771 buildCounterRoute++; |
| 5699 if (buildCounterRoute < 3) { | 5772 if (buildCounterRoute < 3) { |
| 5700 o.creationTimestamp = "foo"; | 5773 o.creationTimestamp = "foo"; |
| 5701 o.description = "foo"; | 5774 o.description = "foo"; |
| 5702 o.destRange = "foo"; | 5775 o.destRange = "foo"; |
| 5703 o.id = "foo"; | 5776 o.id = "foo"; |
| 5704 o.kind = "foo"; | 5777 o.kind = "foo"; |
| 5705 o.name = "foo"; | 5778 o.name = "foo"; |
| 5706 o.network = "foo"; | 5779 o.network = "foo"; |
| 5707 o.nextHopGateway = "foo"; | 5780 o.nextHopGateway = "foo"; |
| 5708 o.nextHopInstance = "foo"; | 5781 o.nextHopInstance = "foo"; |
| 5709 o.nextHopIp = "foo"; | 5782 o.nextHopIp = "foo"; |
| 5710 o.nextHopNetwork = "foo"; | 5783 o.nextHopNetwork = "foo"; |
| 5711 o.nextHopVpnTunnel = "foo"; | 5784 o.nextHopVpnTunnel = "foo"; |
| 5712 o.priority = 42; | 5785 o.priority = 42; |
| 5713 o.selfLink = "foo"; | 5786 o.selfLink = "foo"; |
| 5714 o.tags = buildUnnamed2016(); | 5787 o.tags = buildUnnamed2121(); |
| 5715 o.warnings = buildUnnamed2018(); | 5788 o.warnings = buildUnnamed2123(); |
| 5716 } | 5789 } |
| 5717 buildCounterRoute--; | 5790 buildCounterRoute--; |
| 5718 return o; | 5791 return o; |
| 5719 } | 5792 } |
| 5720 | 5793 |
| 5721 checkRoute(api.Route o) { | 5794 checkRoute(api.Route o) { |
| 5722 buildCounterRoute++; | 5795 buildCounterRoute++; |
| 5723 if (buildCounterRoute < 3) { | 5796 if (buildCounterRoute < 3) { |
| 5724 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 5797 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 5725 unittest.expect(o.description, unittest.equals('foo')); | 5798 unittest.expect(o.description, unittest.equals('foo')); |
| 5726 unittest.expect(o.destRange, unittest.equals('foo')); | 5799 unittest.expect(o.destRange, unittest.equals('foo')); |
| 5727 unittest.expect(o.id, unittest.equals('foo')); | 5800 unittest.expect(o.id, unittest.equals('foo')); |
| 5728 unittest.expect(o.kind, unittest.equals('foo')); | 5801 unittest.expect(o.kind, unittest.equals('foo')); |
| 5729 unittest.expect(o.name, unittest.equals('foo')); | 5802 unittest.expect(o.name, unittest.equals('foo')); |
| 5730 unittest.expect(o.network, unittest.equals('foo')); | 5803 unittest.expect(o.network, unittest.equals('foo')); |
| 5731 unittest.expect(o.nextHopGateway, unittest.equals('foo')); | 5804 unittest.expect(o.nextHopGateway, unittest.equals('foo')); |
| 5732 unittest.expect(o.nextHopInstance, unittest.equals('foo')); | 5805 unittest.expect(o.nextHopInstance, unittest.equals('foo')); |
| 5733 unittest.expect(o.nextHopIp, unittest.equals('foo')); | 5806 unittest.expect(o.nextHopIp, unittest.equals('foo')); |
| 5734 unittest.expect(o.nextHopNetwork, unittest.equals('foo')); | 5807 unittest.expect(o.nextHopNetwork, unittest.equals('foo')); |
| 5735 unittest.expect(o.nextHopVpnTunnel, unittest.equals('foo')); | 5808 unittest.expect(o.nextHopVpnTunnel, unittest.equals('foo')); |
| 5736 unittest.expect(o.priority, unittest.equals(42)); | 5809 unittest.expect(o.priority, unittest.equals(42)); |
| 5737 unittest.expect(o.selfLink, unittest.equals('foo')); | 5810 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 5738 checkUnnamed2016(o.tags); | 5811 checkUnnamed2121(o.tags); |
| 5739 checkUnnamed2018(o.warnings); | 5812 checkUnnamed2123(o.warnings); |
| 5740 } | 5813 } |
| 5741 buildCounterRoute--; | 5814 buildCounterRoute--; |
| 5742 } | 5815 } |
| 5743 | 5816 |
| 5744 buildUnnamed2019() { | 5817 buildUnnamed2124() { |
| 5745 var o = new core.List<api.Route>(); | 5818 var o = new core.List<api.Route>(); |
| 5746 o.add(buildRoute()); | 5819 o.add(buildRoute()); |
| 5747 o.add(buildRoute()); | 5820 o.add(buildRoute()); |
| 5748 return o; | 5821 return o; |
| 5749 } | 5822 } |
| 5750 | 5823 |
| 5751 checkUnnamed2019(core.List<api.Route> o) { | 5824 checkUnnamed2124(core.List<api.Route> o) { |
| 5752 unittest.expect(o, unittest.hasLength(2)); | 5825 unittest.expect(o, unittest.hasLength(2)); |
| 5753 checkRoute(o[0]); | 5826 checkRoute(o[0]); |
| 5754 checkRoute(o[1]); | 5827 checkRoute(o[1]); |
| 5755 } | 5828 } |
| 5756 | 5829 |
| 5757 core.int buildCounterRouteList = 0; | 5830 core.int buildCounterRouteList = 0; |
| 5758 buildRouteList() { | 5831 buildRouteList() { |
| 5759 var o = new api.RouteList(); | 5832 var o = new api.RouteList(); |
| 5760 buildCounterRouteList++; | 5833 buildCounterRouteList++; |
| 5761 if (buildCounterRouteList < 3) { | 5834 if (buildCounterRouteList < 3) { |
| 5762 o.id = "foo"; | 5835 o.id = "foo"; |
| 5763 o.items = buildUnnamed2019(); | 5836 o.items = buildUnnamed2124(); |
| 5764 o.kind = "foo"; | 5837 o.kind = "foo"; |
| 5765 o.nextPageToken = "foo"; | 5838 o.nextPageToken = "foo"; |
| 5766 o.selfLink = "foo"; | 5839 o.selfLink = "foo"; |
| 5767 } | 5840 } |
| 5768 buildCounterRouteList--; | 5841 buildCounterRouteList--; |
| 5769 return o; | 5842 return o; |
| 5770 } | 5843 } |
| 5771 | 5844 |
| 5772 checkRouteList(api.RouteList o) { | 5845 checkRouteList(api.RouteList o) { |
| 5773 buildCounterRouteList++; | 5846 buildCounterRouteList++; |
| 5774 if (buildCounterRouteList < 3) { | 5847 if (buildCounterRouteList < 3) { |
| 5775 unittest.expect(o.id, unittest.equals('foo')); | 5848 unittest.expect(o.id, unittest.equals('foo')); |
| 5776 checkUnnamed2019(o.items); | 5849 checkUnnamed2124(o.items); |
| 5777 unittest.expect(o.kind, unittest.equals('foo')); | 5850 unittest.expect(o.kind, unittest.equals('foo')); |
| 5778 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5851 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 5779 unittest.expect(o.selfLink, unittest.equals('foo')); | 5852 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 5780 } | 5853 } |
| 5781 buildCounterRouteList--; | 5854 buildCounterRouteList--; |
| 5782 } | 5855 } |
| 5783 | 5856 |
| 5784 buildUnnamed2020() { | 5857 buildUnnamed2125() { |
| 5785 var o = new core.List<api.RouterBgpPeer>(); | 5858 var o = new core.List<api.RouterBgpPeer>(); |
| 5786 o.add(buildRouterBgpPeer()); | 5859 o.add(buildRouterBgpPeer()); |
| 5787 o.add(buildRouterBgpPeer()); | 5860 o.add(buildRouterBgpPeer()); |
| 5788 return o; | 5861 return o; |
| 5789 } | 5862 } |
| 5790 | 5863 |
| 5791 checkUnnamed2020(core.List<api.RouterBgpPeer> o) { | 5864 checkUnnamed2125(core.List<api.RouterBgpPeer> o) { |
| 5792 unittest.expect(o, unittest.hasLength(2)); | 5865 unittest.expect(o, unittest.hasLength(2)); |
| 5793 checkRouterBgpPeer(o[0]); | 5866 checkRouterBgpPeer(o[0]); |
| 5794 checkRouterBgpPeer(o[1]); | 5867 checkRouterBgpPeer(o[1]); |
| 5795 } | 5868 } |
| 5796 | 5869 |
| 5797 buildUnnamed2021() { | 5870 buildUnnamed2126() { |
| 5798 var o = new core.List<api.RouterInterface>(); | 5871 var o = new core.List<api.RouterInterface>(); |
| 5799 o.add(buildRouterInterface()); | 5872 o.add(buildRouterInterface()); |
| 5800 o.add(buildRouterInterface()); | 5873 o.add(buildRouterInterface()); |
| 5801 return o; | 5874 return o; |
| 5802 } | 5875 } |
| 5803 | 5876 |
| 5804 checkUnnamed2021(core.List<api.RouterInterface> o) { | 5877 checkUnnamed2126(core.List<api.RouterInterface> o) { |
| 5805 unittest.expect(o, unittest.hasLength(2)); | 5878 unittest.expect(o, unittest.hasLength(2)); |
| 5806 checkRouterInterface(o[0]); | 5879 checkRouterInterface(o[0]); |
| 5807 checkRouterInterface(o[1]); | 5880 checkRouterInterface(o[1]); |
| 5808 } | 5881 } |
| 5809 | 5882 |
| 5810 core.int buildCounterRouter = 0; | 5883 core.int buildCounterRouter = 0; |
| 5811 buildRouter() { | 5884 buildRouter() { |
| 5812 var o = new api.Router(); | 5885 var o = new api.Router(); |
| 5813 buildCounterRouter++; | 5886 buildCounterRouter++; |
| 5814 if (buildCounterRouter < 3) { | 5887 if (buildCounterRouter < 3) { |
| 5815 o.bgp = buildRouterBgp(); | 5888 o.bgp = buildRouterBgp(); |
| 5816 o.bgpPeers = buildUnnamed2020(); | 5889 o.bgpPeers = buildUnnamed2125(); |
| 5817 o.creationTimestamp = "foo"; | 5890 o.creationTimestamp = "foo"; |
| 5818 o.description = "foo"; | 5891 o.description = "foo"; |
| 5819 o.id = "foo"; | 5892 o.id = "foo"; |
| 5820 o.interfaces = buildUnnamed2021(); | 5893 o.interfaces = buildUnnamed2126(); |
| 5821 o.kind = "foo"; | 5894 o.kind = "foo"; |
| 5822 o.name = "foo"; | 5895 o.name = "foo"; |
| 5823 o.network = "foo"; | 5896 o.network = "foo"; |
| 5824 o.region = "foo"; | 5897 o.region = "foo"; |
| 5825 o.selfLink = "foo"; | 5898 o.selfLink = "foo"; |
| 5826 } | 5899 } |
| 5827 buildCounterRouter--; | 5900 buildCounterRouter--; |
| 5828 return o; | 5901 return o; |
| 5829 } | 5902 } |
| 5830 | 5903 |
| 5831 checkRouter(api.Router o) { | 5904 checkRouter(api.Router o) { |
| 5832 buildCounterRouter++; | 5905 buildCounterRouter++; |
| 5833 if (buildCounterRouter < 3) { | 5906 if (buildCounterRouter < 3) { |
| 5834 checkRouterBgp(o.bgp); | 5907 checkRouterBgp(o.bgp); |
| 5835 checkUnnamed2020(o.bgpPeers); | 5908 checkUnnamed2125(o.bgpPeers); |
| 5836 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 5909 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 5837 unittest.expect(o.description, unittest.equals('foo')); | 5910 unittest.expect(o.description, unittest.equals('foo')); |
| 5838 unittest.expect(o.id, unittest.equals('foo')); | 5911 unittest.expect(o.id, unittest.equals('foo')); |
| 5839 checkUnnamed2021(o.interfaces); | 5912 checkUnnamed2126(o.interfaces); |
| 5840 unittest.expect(o.kind, unittest.equals('foo')); | 5913 unittest.expect(o.kind, unittest.equals('foo')); |
| 5841 unittest.expect(o.name, unittest.equals('foo')); | 5914 unittest.expect(o.name, unittest.equals('foo')); |
| 5842 unittest.expect(o.network, unittest.equals('foo')); | 5915 unittest.expect(o.network, unittest.equals('foo')); |
| 5843 unittest.expect(o.region, unittest.equals('foo')); | 5916 unittest.expect(o.region, unittest.equals('foo')); |
| 5844 unittest.expect(o.selfLink, unittest.equals('foo')); | 5917 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 5845 } | 5918 } |
| 5846 buildCounterRouter--; | 5919 buildCounterRouter--; |
| 5847 } | 5920 } |
| 5848 | 5921 |
| 5849 buildUnnamed2022() { | 5922 buildUnnamed2127() { |
| 5850 var o = new core.Map<core.String, api.RoutersScopedList>(); | 5923 var o = new core.Map<core.String, api.RoutersScopedList>(); |
| 5851 o["x"] = buildRoutersScopedList(); | 5924 o["x"] = buildRoutersScopedList(); |
| 5852 o["y"] = buildRoutersScopedList(); | 5925 o["y"] = buildRoutersScopedList(); |
| 5853 return o; | 5926 return o; |
| 5854 } | 5927 } |
| 5855 | 5928 |
| 5856 checkUnnamed2022(core.Map<core.String, api.RoutersScopedList> o) { | 5929 checkUnnamed2127(core.Map<core.String, api.RoutersScopedList> o) { |
| 5857 unittest.expect(o, unittest.hasLength(2)); | 5930 unittest.expect(o, unittest.hasLength(2)); |
| 5858 checkRoutersScopedList(o["x"]); | 5931 checkRoutersScopedList(o["x"]); |
| 5859 checkRoutersScopedList(o["y"]); | 5932 checkRoutersScopedList(o["y"]); |
| 5860 } | 5933 } |
| 5861 | 5934 |
| 5862 core.int buildCounterRouterAggregatedList = 0; | 5935 core.int buildCounterRouterAggregatedList = 0; |
| 5863 buildRouterAggregatedList() { | 5936 buildRouterAggregatedList() { |
| 5864 var o = new api.RouterAggregatedList(); | 5937 var o = new api.RouterAggregatedList(); |
| 5865 buildCounterRouterAggregatedList++; | 5938 buildCounterRouterAggregatedList++; |
| 5866 if (buildCounterRouterAggregatedList < 3) { | 5939 if (buildCounterRouterAggregatedList < 3) { |
| 5867 o.id = "foo"; | 5940 o.id = "foo"; |
| 5868 o.items = buildUnnamed2022(); | 5941 o.items = buildUnnamed2127(); |
| 5869 o.kind = "foo"; | 5942 o.kind = "foo"; |
| 5870 o.nextPageToken = "foo"; | 5943 o.nextPageToken = "foo"; |
| 5871 o.selfLink = "foo"; | 5944 o.selfLink = "foo"; |
| 5872 } | 5945 } |
| 5873 buildCounterRouterAggregatedList--; | 5946 buildCounterRouterAggregatedList--; |
| 5874 return o; | 5947 return o; |
| 5875 } | 5948 } |
| 5876 | 5949 |
| 5877 checkRouterAggregatedList(api.RouterAggregatedList o) { | 5950 checkRouterAggregatedList(api.RouterAggregatedList o) { |
| 5878 buildCounterRouterAggregatedList++; | 5951 buildCounterRouterAggregatedList++; |
| 5879 if (buildCounterRouterAggregatedList < 3) { | 5952 if (buildCounterRouterAggregatedList < 3) { |
| 5880 unittest.expect(o.id, unittest.equals('foo')); | 5953 unittest.expect(o.id, unittest.equals('foo')); |
| 5881 checkUnnamed2022(o.items); | 5954 checkUnnamed2127(o.items); |
| 5882 unittest.expect(o.kind, unittest.equals('foo')); | 5955 unittest.expect(o.kind, unittest.equals('foo')); |
| 5883 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5956 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 5884 unittest.expect(o.selfLink, unittest.equals('foo')); | 5957 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 5885 } | 5958 } |
| 5886 buildCounterRouterAggregatedList--; | 5959 buildCounterRouterAggregatedList--; |
| 5887 } | 5960 } |
| 5888 | 5961 |
| 5889 core.int buildCounterRouterBgp = 0; | 5962 core.int buildCounterRouterBgp = 0; |
| 5890 buildRouterBgp() { | 5963 buildRouterBgp() { |
| 5891 var o = new api.RouterBgp(); | 5964 var o = new api.RouterBgp(); |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5950 checkRouterInterface(api.RouterInterface o) { | 6023 checkRouterInterface(api.RouterInterface o) { |
| 5951 buildCounterRouterInterface++; | 6024 buildCounterRouterInterface++; |
| 5952 if (buildCounterRouterInterface < 3) { | 6025 if (buildCounterRouterInterface < 3) { |
| 5953 unittest.expect(o.ipRange, unittest.equals('foo')); | 6026 unittest.expect(o.ipRange, unittest.equals('foo')); |
| 5954 unittest.expect(o.linkedVpnTunnel, unittest.equals('foo')); | 6027 unittest.expect(o.linkedVpnTunnel, unittest.equals('foo')); |
| 5955 unittest.expect(o.name, unittest.equals('foo')); | 6028 unittest.expect(o.name, unittest.equals('foo')); |
| 5956 } | 6029 } |
| 5957 buildCounterRouterInterface--; | 6030 buildCounterRouterInterface--; |
| 5958 } | 6031 } |
| 5959 | 6032 |
| 5960 buildUnnamed2023() { | 6033 buildUnnamed2128() { |
| 5961 var o = new core.List<api.Router>(); | 6034 var o = new core.List<api.Router>(); |
| 5962 o.add(buildRouter()); | 6035 o.add(buildRouter()); |
| 5963 o.add(buildRouter()); | 6036 o.add(buildRouter()); |
| 5964 return o; | 6037 return o; |
| 5965 } | 6038 } |
| 5966 | 6039 |
| 5967 checkUnnamed2023(core.List<api.Router> o) { | 6040 checkUnnamed2128(core.List<api.Router> o) { |
| 5968 unittest.expect(o, unittest.hasLength(2)); | 6041 unittest.expect(o, unittest.hasLength(2)); |
| 5969 checkRouter(o[0]); | 6042 checkRouter(o[0]); |
| 5970 checkRouter(o[1]); | 6043 checkRouter(o[1]); |
| 5971 } | 6044 } |
| 5972 | 6045 |
| 5973 core.int buildCounterRouterList = 0; | 6046 core.int buildCounterRouterList = 0; |
| 5974 buildRouterList() { | 6047 buildRouterList() { |
| 5975 var o = new api.RouterList(); | 6048 var o = new api.RouterList(); |
| 5976 buildCounterRouterList++; | 6049 buildCounterRouterList++; |
| 5977 if (buildCounterRouterList < 3) { | 6050 if (buildCounterRouterList < 3) { |
| 5978 o.id = "foo"; | 6051 o.id = "foo"; |
| 5979 o.items = buildUnnamed2023(); | 6052 o.items = buildUnnamed2128(); |
| 5980 o.kind = "foo"; | 6053 o.kind = "foo"; |
| 5981 o.nextPageToken = "foo"; | 6054 o.nextPageToken = "foo"; |
| 5982 o.selfLink = "foo"; | 6055 o.selfLink = "foo"; |
| 5983 } | 6056 } |
| 5984 buildCounterRouterList--; | 6057 buildCounterRouterList--; |
| 5985 return o; | 6058 return o; |
| 5986 } | 6059 } |
| 5987 | 6060 |
| 5988 checkRouterList(api.RouterList o) { | 6061 checkRouterList(api.RouterList o) { |
| 5989 buildCounterRouterList++; | 6062 buildCounterRouterList++; |
| 5990 if (buildCounterRouterList < 3) { | 6063 if (buildCounterRouterList < 3) { |
| 5991 unittest.expect(o.id, unittest.equals('foo')); | 6064 unittest.expect(o.id, unittest.equals('foo')); |
| 5992 checkUnnamed2023(o.items); | 6065 checkUnnamed2128(o.items); |
| 5993 unittest.expect(o.kind, unittest.equals('foo')); | 6066 unittest.expect(o.kind, unittest.equals('foo')); |
| 5994 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6067 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 5995 unittest.expect(o.selfLink, unittest.equals('foo')); | 6068 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 5996 } | 6069 } |
| 5997 buildCounterRouterList--; | 6070 buildCounterRouterList--; |
| 5998 } | 6071 } |
| 5999 | 6072 |
| 6000 buildUnnamed2024() { | 6073 buildUnnamed2129() { |
| 6001 var o = new core.List<api.Route>(); | 6074 var o = new core.List<api.Route>(); |
| 6002 o.add(buildRoute()); | 6075 o.add(buildRoute()); |
| 6003 o.add(buildRoute()); | 6076 o.add(buildRoute()); |
| 6004 return o; | 6077 return o; |
| 6005 } | 6078 } |
| 6006 | 6079 |
| 6007 checkUnnamed2024(core.List<api.Route> o) { | 6080 checkUnnamed2129(core.List<api.Route> o) { |
| 6008 unittest.expect(o, unittest.hasLength(2)); | 6081 unittest.expect(o, unittest.hasLength(2)); |
| 6009 checkRoute(o[0]); | 6082 checkRoute(o[0]); |
| 6010 checkRoute(o[1]); | 6083 checkRoute(o[1]); |
| 6011 } | 6084 } |
| 6012 | 6085 |
| 6013 buildUnnamed2025() { | 6086 buildUnnamed2130() { |
| 6014 var o = new core.List<api.RouterStatusBgpPeerStatus>(); | 6087 var o = new core.List<api.RouterStatusBgpPeerStatus>(); |
| 6015 o.add(buildRouterStatusBgpPeerStatus()); | 6088 o.add(buildRouterStatusBgpPeerStatus()); |
| 6016 o.add(buildRouterStatusBgpPeerStatus()); | 6089 o.add(buildRouterStatusBgpPeerStatus()); |
| 6017 return o; | 6090 return o; |
| 6018 } | 6091 } |
| 6019 | 6092 |
| 6020 checkUnnamed2025(core.List<api.RouterStatusBgpPeerStatus> o) { | 6093 checkUnnamed2130(core.List<api.RouterStatusBgpPeerStatus> o) { |
| 6021 unittest.expect(o, unittest.hasLength(2)); | 6094 unittest.expect(o, unittest.hasLength(2)); |
| 6022 checkRouterStatusBgpPeerStatus(o[0]); | 6095 checkRouterStatusBgpPeerStatus(o[0]); |
| 6023 checkRouterStatusBgpPeerStatus(o[1]); | 6096 checkRouterStatusBgpPeerStatus(o[1]); |
| 6024 } | 6097 } |
| 6025 | 6098 |
| 6026 core.int buildCounterRouterStatus = 0; | 6099 core.int buildCounterRouterStatus = 0; |
| 6027 buildRouterStatus() { | 6100 buildRouterStatus() { |
| 6028 var o = new api.RouterStatus(); | 6101 var o = new api.RouterStatus(); |
| 6029 buildCounterRouterStatus++; | 6102 buildCounterRouterStatus++; |
| 6030 if (buildCounterRouterStatus < 3) { | 6103 if (buildCounterRouterStatus < 3) { |
| 6031 o.bestRoutes = buildUnnamed2024(); | 6104 o.bestRoutes = buildUnnamed2129(); |
| 6032 o.bgpPeerStatus = buildUnnamed2025(); | 6105 o.bgpPeerStatus = buildUnnamed2130(); |
| 6033 o.network = "foo"; | 6106 o.network = "foo"; |
| 6034 } | 6107 } |
| 6035 buildCounterRouterStatus--; | 6108 buildCounterRouterStatus--; |
| 6036 return o; | 6109 return o; |
| 6037 } | 6110 } |
| 6038 | 6111 |
| 6039 checkRouterStatus(api.RouterStatus o) { | 6112 checkRouterStatus(api.RouterStatus o) { |
| 6040 buildCounterRouterStatus++; | 6113 buildCounterRouterStatus++; |
| 6041 if (buildCounterRouterStatus < 3) { | 6114 if (buildCounterRouterStatus < 3) { |
| 6042 checkUnnamed2024(o.bestRoutes); | 6115 checkUnnamed2129(o.bestRoutes); |
| 6043 checkUnnamed2025(o.bgpPeerStatus); | 6116 checkUnnamed2130(o.bgpPeerStatus); |
| 6044 unittest.expect(o.network, unittest.equals('foo')); | 6117 unittest.expect(o.network, unittest.equals('foo')); |
| 6045 } | 6118 } |
| 6046 buildCounterRouterStatus--; | 6119 buildCounterRouterStatus--; |
| 6047 } | 6120 } |
| 6048 | 6121 |
| 6049 buildUnnamed2026() { | 6122 buildUnnamed2131() { |
| 6050 var o = new core.List<api.Route>(); | 6123 var o = new core.List<api.Route>(); |
| 6051 o.add(buildRoute()); | 6124 o.add(buildRoute()); |
| 6052 o.add(buildRoute()); | 6125 o.add(buildRoute()); |
| 6053 return o; | 6126 return o; |
| 6054 } | 6127 } |
| 6055 | 6128 |
| 6056 checkUnnamed2026(core.List<api.Route> o) { | 6129 checkUnnamed2131(core.List<api.Route> o) { |
| 6057 unittest.expect(o, unittest.hasLength(2)); | 6130 unittest.expect(o, unittest.hasLength(2)); |
| 6058 checkRoute(o[0]); | 6131 checkRoute(o[0]); |
| 6059 checkRoute(o[1]); | 6132 checkRoute(o[1]); |
| 6060 } | 6133 } |
| 6061 | 6134 |
| 6062 core.int buildCounterRouterStatusBgpPeerStatus = 0; | 6135 core.int buildCounterRouterStatusBgpPeerStatus = 0; |
| 6063 buildRouterStatusBgpPeerStatus() { | 6136 buildRouterStatusBgpPeerStatus() { |
| 6064 var o = new api.RouterStatusBgpPeerStatus(); | 6137 var o = new api.RouterStatusBgpPeerStatus(); |
| 6065 buildCounterRouterStatusBgpPeerStatus++; | 6138 buildCounterRouterStatusBgpPeerStatus++; |
| 6066 if (buildCounterRouterStatusBgpPeerStatus < 3) { | 6139 if (buildCounterRouterStatusBgpPeerStatus < 3) { |
| 6067 o.advertisedRoutes = buildUnnamed2026(); | 6140 o.advertisedRoutes = buildUnnamed2131(); |
| 6068 o.ipAddress = "foo"; | 6141 o.ipAddress = "foo"; |
| 6069 o.linkedVpnTunnel = "foo"; | 6142 o.linkedVpnTunnel = "foo"; |
| 6070 o.name = "foo"; | 6143 o.name = "foo"; |
| 6071 o.numLearnedRoutes = 42; | 6144 o.numLearnedRoutes = 42; |
| 6072 o.peerIpAddress = "foo"; | 6145 o.peerIpAddress = "foo"; |
| 6073 o.state = "foo"; | 6146 o.state = "foo"; |
| 6074 o.status = "foo"; | 6147 o.status = "foo"; |
| 6075 o.uptime = "foo"; | 6148 o.uptime = "foo"; |
| 6076 o.uptimeSeconds = "foo"; | 6149 o.uptimeSeconds = "foo"; |
| 6077 } | 6150 } |
| 6078 buildCounterRouterStatusBgpPeerStatus--; | 6151 buildCounterRouterStatusBgpPeerStatus--; |
| 6079 return o; | 6152 return o; |
| 6080 } | 6153 } |
| 6081 | 6154 |
| 6082 checkRouterStatusBgpPeerStatus(api.RouterStatusBgpPeerStatus o) { | 6155 checkRouterStatusBgpPeerStatus(api.RouterStatusBgpPeerStatus o) { |
| 6083 buildCounterRouterStatusBgpPeerStatus++; | 6156 buildCounterRouterStatusBgpPeerStatus++; |
| 6084 if (buildCounterRouterStatusBgpPeerStatus < 3) { | 6157 if (buildCounterRouterStatusBgpPeerStatus < 3) { |
| 6085 checkUnnamed2026(o.advertisedRoutes); | 6158 checkUnnamed2131(o.advertisedRoutes); |
| 6086 unittest.expect(o.ipAddress, unittest.equals('foo')); | 6159 unittest.expect(o.ipAddress, unittest.equals('foo')); |
| 6087 unittest.expect(o.linkedVpnTunnel, unittest.equals('foo')); | 6160 unittest.expect(o.linkedVpnTunnel, unittest.equals('foo')); |
| 6088 unittest.expect(o.name, unittest.equals('foo')); | 6161 unittest.expect(o.name, unittest.equals('foo')); |
| 6089 unittest.expect(o.numLearnedRoutes, unittest.equals(42)); | 6162 unittest.expect(o.numLearnedRoutes, unittest.equals(42)); |
| 6090 unittest.expect(o.peerIpAddress, unittest.equals('foo')); | 6163 unittest.expect(o.peerIpAddress, unittest.equals('foo')); |
| 6091 unittest.expect(o.state, unittest.equals('foo')); | 6164 unittest.expect(o.state, unittest.equals('foo')); |
| 6092 unittest.expect(o.status, unittest.equals('foo')); | 6165 unittest.expect(o.status, unittest.equals('foo')); |
| 6093 unittest.expect(o.uptime, unittest.equals('foo')); | 6166 unittest.expect(o.uptime, unittest.equals('foo')); |
| 6094 unittest.expect(o.uptimeSeconds, unittest.equals('foo')); | 6167 unittest.expect(o.uptimeSeconds, unittest.equals('foo')); |
| 6095 } | 6168 } |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6129 } | 6202 } |
| 6130 | 6203 |
| 6131 checkRoutersPreviewResponse(api.RoutersPreviewResponse o) { | 6204 checkRoutersPreviewResponse(api.RoutersPreviewResponse o) { |
| 6132 buildCounterRoutersPreviewResponse++; | 6205 buildCounterRoutersPreviewResponse++; |
| 6133 if (buildCounterRoutersPreviewResponse < 3) { | 6206 if (buildCounterRoutersPreviewResponse < 3) { |
| 6134 checkRouter(o.resource); | 6207 checkRouter(o.resource); |
| 6135 } | 6208 } |
| 6136 buildCounterRoutersPreviewResponse--; | 6209 buildCounterRoutersPreviewResponse--; |
| 6137 } | 6210 } |
| 6138 | 6211 |
| 6139 buildUnnamed2027() { | 6212 buildUnnamed2132() { |
| 6140 var o = new core.List<api.Router>(); | 6213 var o = new core.List<api.Router>(); |
| 6141 o.add(buildRouter()); | 6214 o.add(buildRouter()); |
| 6142 o.add(buildRouter()); | 6215 o.add(buildRouter()); |
| 6143 return o; | 6216 return o; |
| 6144 } | 6217 } |
| 6145 | 6218 |
| 6146 checkUnnamed2027(core.List<api.Router> o) { | 6219 checkUnnamed2132(core.List<api.Router> o) { |
| 6147 unittest.expect(o, unittest.hasLength(2)); | 6220 unittest.expect(o, unittest.hasLength(2)); |
| 6148 checkRouter(o[0]); | 6221 checkRouter(o[0]); |
| 6149 checkRouter(o[1]); | 6222 checkRouter(o[1]); |
| 6150 } | 6223 } |
| 6151 | 6224 |
| 6152 core.int buildCounterRoutersScopedListWarningData = 0; | 6225 core.int buildCounterRoutersScopedListWarningData = 0; |
| 6153 buildRoutersScopedListWarningData() { | 6226 buildRoutersScopedListWarningData() { |
| 6154 var o = new api.RoutersScopedListWarningData(); | 6227 var o = new api.RoutersScopedListWarningData(); |
| 6155 buildCounterRoutersScopedListWarningData++; | 6228 buildCounterRoutersScopedListWarningData++; |
| 6156 if (buildCounterRoutersScopedListWarningData < 3) { | 6229 if (buildCounterRoutersScopedListWarningData < 3) { |
| 6157 o.key = "foo"; | 6230 o.key = "foo"; |
| 6158 o.value = "foo"; | 6231 o.value = "foo"; |
| 6159 } | 6232 } |
| 6160 buildCounterRoutersScopedListWarningData--; | 6233 buildCounterRoutersScopedListWarningData--; |
| 6161 return o; | 6234 return o; |
| 6162 } | 6235 } |
| 6163 | 6236 |
| 6164 checkRoutersScopedListWarningData(api.RoutersScopedListWarningData o) { | 6237 checkRoutersScopedListWarningData(api.RoutersScopedListWarningData o) { |
| 6165 buildCounterRoutersScopedListWarningData++; | 6238 buildCounterRoutersScopedListWarningData++; |
| 6166 if (buildCounterRoutersScopedListWarningData < 3) { | 6239 if (buildCounterRoutersScopedListWarningData < 3) { |
| 6167 unittest.expect(o.key, unittest.equals('foo')); | 6240 unittest.expect(o.key, unittest.equals('foo')); |
| 6168 unittest.expect(o.value, unittest.equals('foo')); | 6241 unittest.expect(o.value, unittest.equals('foo')); |
| 6169 } | 6242 } |
| 6170 buildCounterRoutersScopedListWarningData--; | 6243 buildCounterRoutersScopedListWarningData--; |
| 6171 } | 6244 } |
| 6172 | 6245 |
| 6173 buildUnnamed2028() { | 6246 buildUnnamed2133() { |
| 6174 var o = new core.List<api.RoutersScopedListWarningData>(); | 6247 var o = new core.List<api.RoutersScopedListWarningData>(); |
| 6175 o.add(buildRoutersScopedListWarningData()); | 6248 o.add(buildRoutersScopedListWarningData()); |
| 6176 o.add(buildRoutersScopedListWarningData()); | 6249 o.add(buildRoutersScopedListWarningData()); |
| 6177 return o; | 6250 return o; |
| 6178 } | 6251 } |
| 6179 | 6252 |
| 6180 checkUnnamed2028(core.List<api.RoutersScopedListWarningData> o) { | 6253 checkUnnamed2133(core.List<api.RoutersScopedListWarningData> o) { |
| 6181 unittest.expect(o, unittest.hasLength(2)); | 6254 unittest.expect(o, unittest.hasLength(2)); |
| 6182 checkRoutersScopedListWarningData(o[0]); | 6255 checkRoutersScopedListWarningData(o[0]); |
| 6183 checkRoutersScopedListWarningData(o[1]); | 6256 checkRoutersScopedListWarningData(o[1]); |
| 6184 } | 6257 } |
| 6185 | 6258 |
| 6186 core.int buildCounterRoutersScopedListWarning = 0; | 6259 core.int buildCounterRoutersScopedListWarning = 0; |
| 6187 buildRoutersScopedListWarning() { | 6260 buildRoutersScopedListWarning() { |
| 6188 var o = new api.RoutersScopedListWarning(); | 6261 var o = new api.RoutersScopedListWarning(); |
| 6189 buildCounterRoutersScopedListWarning++; | 6262 buildCounterRoutersScopedListWarning++; |
| 6190 if (buildCounterRoutersScopedListWarning < 3) { | 6263 if (buildCounterRoutersScopedListWarning < 3) { |
| 6191 o.code = "foo"; | 6264 o.code = "foo"; |
| 6192 o.data = buildUnnamed2028(); | 6265 o.data = buildUnnamed2133(); |
| 6193 o.message = "foo"; | 6266 o.message = "foo"; |
| 6194 } | 6267 } |
| 6195 buildCounterRoutersScopedListWarning--; | 6268 buildCounterRoutersScopedListWarning--; |
| 6196 return o; | 6269 return o; |
| 6197 } | 6270 } |
| 6198 | 6271 |
| 6199 checkRoutersScopedListWarning(api.RoutersScopedListWarning o) { | 6272 checkRoutersScopedListWarning(api.RoutersScopedListWarning o) { |
| 6200 buildCounterRoutersScopedListWarning++; | 6273 buildCounterRoutersScopedListWarning++; |
| 6201 if (buildCounterRoutersScopedListWarning < 3) { | 6274 if (buildCounterRoutersScopedListWarning < 3) { |
| 6202 unittest.expect(o.code, unittest.equals('foo')); | 6275 unittest.expect(o.code, unittest.equals('foo')); |
| 6203 checkUnnamed2028(o.data); | 6276 checkUnnamed2133(o.data); |
| 6204 unittest.expect(o.message, unittest.equals('foo')); | 6277 unittest.expect(o.message, unittest.equals('foo')); |
| 6205 } | 6278 } |
| 6206 buildCounterRoutersScopedListWarning--; | 6279 buildCounterRoutersScopedListWarning--; |
| 6207 } | 6280 } |
| 6208 | 6281 |
| 6209 core.int buildCounterRoutersScopedList = 0; | 6282 core.int buildCounterRoutersScopedList = 0; |
| 6210 buildRoutersScopedList() { | 6283 buildRoutersScopedList() { |
| 6211 var o = new api.RoutersScopedList(); | 6284 var o = new api.RoutersScopedList(); |
| 6212 buildCounterRoutersScopedList++; | 6285 buildCounterRoutersScopedList++; |
| 6213 if (buildCounterRoutersScopedList < 3) { | 6286 if (buildCounterRoutersScopedList < 3) { |
| 6214 o.routers = buildUnnamed2027(); | 6287 o.routers = buildUnnamed2132(); |
| 6215 o.warning = buildRoutersScopedListWarning(); | 6288 o.warning = buildRoutersScopedListWarning(); |
| 6216 } | 6289 } |
| 6217 buildCounterRoutersScopedList--; | 6290 buildCounterRoutersScopedList--; |
| 6218 return o; | 6291 return o; |
| 6219 } | 6292 } |
| 6220 | 6293 |
| 6221 checkRoutersScopedList(api.RoutersScopedList o) { | 6294 checkRoutersScopedList(api.RoutersScopedList o) { |
| 6222 buildCounterRoutersScopedList++; | 6295 buildCounterRoutersScopedList++; |
| 6223 if (buildCounterRoutersScopedList < 3) { | 6296 if (buildCounterRoutersScopedList < 3) { |
| 6224 checkUnnamed2027(o.routers); | 6297 checkUnnamed2132(o.routers); |
| 6225 checkRoutersScopedListWarning(o.warning); | 6298 checkRoutersScopedListWarning(o.warning); |
| 6226 } | 6299 } |
| 6227 buildCounterRoutersScopedList--; | 6300 buildCounterRoutersScopedList--; |
| 6228 } | 6301 } |
| 6229 | 6302 |
| 6230 core.int buildCounterSSLHealthCheck = 0; | 6303 core.int buildCounterSSLHealthCheck = 0; |
| 6231 buildSSLHealthCheck() { | 6304 buildSSLHealthCheck() { |
| 6232 var o = new api.SSLHealthCheck(); | 6305 var o = new api.SSLHealthCheck(); |
| 6233 buildCounterSSLHealthCheck++; | 6306 buildCounterSSLHealthCheck++; |
| 6234 if (buildCounterSSLHealthCheck < 3) { | 6307 if (buildCounterSSLHealthCheck < 3) { |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6297 if (buildCounterSerialPortOutput < 3) { | 6370 if (buildCounterSerialPortOutput < 3) { |
| 6298 unittest.expect(o.contents, unittest.equals('foo')); | 6371 unittest.expect(o.contents, unittest.equals('foo')); |
| 6299 unittest.expect(o.kind, unittest.equals('foo')); | 6372 unittest.expect(o.kind, unittest.equals('foo')); |
| 6300 unittest.expect(o.next, unittest.equals('foo')); | 6373 unittest.expect(o.next, unittest.equals('foo')); |
| 6301 unittest.expect(o.selfLink, unittest.equals('foo')); | 6374 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 6302 unittest.expect(o.start, unittest.equals('foo')); | 6375 unittest.expect(o.start, unittest.equals('foo')); |
| 6303 } | 6376 } |
| 6304 buildCounterSerialPortOutput--; | 6377 buildCounterSerialPortOutput--; |
| 6305 } | 6378 } |
| 6306 | 6379 |
| 6307 buildUnnamed2029() { | 6380 buildUnnamed2134() { |
| 6308 var o = new core.List<core.String>(); | 6381 var o = new core.List<core.String>(); |
| 6309 o.add("foo"); | 6382 o.add("foo"); |
| 6310 o.add("foo"); | 6383 o.add("foo"); |
| 6311 return o; | 6384 return o; |
| 6312 } | 6385 } |
| 6313 | 6386 |
| 6314 checkUnnamed2029(core.List<core.String> o) { | 6387 checkUnnamed2134(core.List<core.String> o) { |
| 6315 unittest.expect(o, unittest.hasLength(2)); | 6388 unittest.expect(o, unittest.hasLength(2)); |
| 6316 unittest.expect(o[0], unittest.equals('foo')); | 6389 unittest.expect(o[0], unittest.equals('foo')); |
| 6317 unittest.expect(o[1], unittest.equals('foo')); | 6390 unittest.expect(o[1], unittest.equals('foo')); |
| 6318 } | 6391 } |
| 6319 | 6392 |
| 6320 core.int buildCounterServiceAccount = 0; | 6393 core.int buildCounterServiceAccount = 0; |
| 6321 buildServiceAccount() { | 6394 buildServiceAccount() { |
| 6322 var o = new api.ServiceAccount(); | 6395 var o = new api.ServiceAccount(); |
| 6323 buildCounterServiceAccount++; | 6396 buildCounterServiceAccount++; |
| 6324 if (buildCounterServiceAccount < 3) { | 6397 if (buildCounterServiceAccount < 3) { |
| 6325 o.email = "foo"; | 6398 o.email = "foo"; |
| 6326 o.scopes = buildUnnamed2029(); | 6399 o.scopes = buildUnnamed2134(); |
| 6327 } | 6400 } |
| 6328 buildCounterServiceAccount--; | 6401 buildCounterServiceAccount--; |
| 6329 return o; | 6402 return o; |
| 6330 } | 6403 } |
| 6331 | 6404 |
| 6332 checkServiceAccount(api.ServiceAccount o) { | 6405 checkServiceAccount(api.ServiceAccount o) { |
| 6333 buildCounterServiceAccount++; | 6406 buildCounterServiceAccount++; |
| 6334 if (buildCounterServiceAccount < 3) { | 6407 if (buildCounterServiceAccount < 3) { |
| 6335 unittest.expect(o.email, unittest.equals('foo')); | 6408 unittest.expect(o.email, unittest.equals('foo')); |
| 6336 checkUnnamed2029(o.scopes); | 6409 checkUnnamed2134(o.scopes); |
| 6337 } | 6410 } |
| 6338 buildCounterServiceAccount--; | 6411 buildCounterServiceAccount--; |
| 6339 } | 6412 } |
| 6340 | 6413 |
| 6341 buildUnnamed2030() { | 6414 buildUnnamed2135() { |
| 6342 var o = new core.List<core.String>(); | 6415 var o = new core.List<core.String>(); |
| 6343 o.add("foo"); | 6416 o.add("foo"); |
| 6344 o.add("foo"); | 6417 o.add("foo"); |
| 6345 return o; | 6418 return o; |
| 6346 } | 6419 } |
| 6347 | 6420 |
| 6348 checkUnnamed2030(core.List<core.String> o) { | 6421 checkUnnamed2135(core.List<core.String> o) { |
| 6349 unittest.expect(o, unittest.hasLength(2)); | 6422 unittest.expect(o, unittest.hasLength(2)); |
| 6350 unittest.expect(o[0], unittest.equals('foo')); | 6423 unittest.expect(o[0], unittest.equals('foo')); |
| 6351 unittest.expect(o[1], unittest.equals('foo')); | 6424 unittest.expect(o[1], unittest.equals('foo')); |
| 6352 } | 6425 } |
| 6353 | 6426 |
| 6354 core.int buildCounterSnapshot = 0; | 6427 core.int buildCounterSnapshot = 0; |
| 6355 buildSnapshot() { | 6428 buildSnapshot() { |
| 6356 var o = new api.Snapshot(); | 6429 var o = new api.Snapshot(); |
| 6357 buildCounterSnapshot++; | 6430 buildCounterSnapshot++; |
| 6358 if (buildCounterSnapshot < 3) { | 6431 if (buildCounterSnapshot < 3) { |
| 6359 o.creationTimestamp = "foo"; | 6432 o.creationTimestamp = "foo"; |
| 6360 o.description = "foo"; | 6433 o.description = "foo"; |
| 6361 o.diskSizeGb = "foo"; | 6434 o.diskSizeGb = "foo"; |
| 6362 o.id = "foo"; | 6435 o.id = "foo"; |
| 6363 o.kind = "foo"; | 6436 o.kind = "foo"; |
| 6364 o.licenses = buildUnnamed2030(); | 6437 o.licenses = buildUnnamed2135(); |
| 6365 o.name = "foo"; | 6438 o.name = "foo"; |
| 6366 o.selfLink = "foo"; | 6439 o.selfLink = "foo"; |
| 6367 o.snapshotEncryptionKey = buildCustomerEncryptionKey(); | 6440 o.snapshotEncryptionKey = buildCustomerEncryptionKey(); |
| 6368 o.sourceDisk = "foo"; | 6441 o.sourceDisk = "foo"; |
| 6369 o.sourceDiskEncryptionKey = buildCustomerEncryptionKey(); | 6442 o.sourceDiskEncryptionKey = buildCustomerEncryptionKey(); |
| 6370 o.sourceDiskId = "foo"; | 6443 o.sourceDiskId = "foo"; |
| 6371 o.status = "foo"; | 6444 o.status = "foo"; |
| 6372 o.storageBytes = "foo"; | 6445 o.storageBytes = "foo"; |
| 6373 o.storageBytesStatus = "foo"; | 6446 o.storageBytesStatus = "foo"; |
| 6374 } | 6447 } |
| 6375 buildCounterSnapshot--; | 6448 buildCounterSnapshot--; |
| 6376 return o; | 6449 return o; |
| 6377 } | 6450 } |
| 6378 | 6451 |
| 6379 checkSnapshot(api.Snapshot o) { | 6452 checkSnapshot(api.Snapshot o) { |
| 6380 buildCounterSnapshot++; | 6453 buildCounterSnapshot++; |
| 6381 if (buildCounterSnapshot < 3) { | 6454 if (buildCounterSnapshot < 3) { |
| 6382 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 6455 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 6383 unittest.expect(o.description, unittest.equals('foo')); | 6456 unittest.expect(o.description, unittest.equals('foo')); |
| 6384 unittest.expect(o.diskSizeGb, unittest.equals('foo')); | 6457 unittest.expect(o.diskSizeGb, unittest.equals('foo')); |
| 6385 unittest.expect(o.id, unittest.equals('foo')); | 6458 unittest.expect(o.id, unittest.equals('foo')); |
| 6386 unittest.expect(o.kind, unittest.equals('foo')); | 6459 unittest.expect(o.kind, unittest.equals('foo')); |
| 6387 checkUnnamed2030(o.licenses); | 6460 checkUnnamed2135(o.licenses); |
| 6388 unittest.expect(o.name, unittest.equals('foo')); | 6461 unittest.expect(o.name, unittest.equals('foo')); |
| 6389 unittest.expect(o.selfLink, unittest.equals('foo')); | 6462 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 6390 checkCustomerEncryptionKey(o.snapshotEncryptionKey); | 6463 checkCustomerEncryptionKey(o.snapshotEncryptionKey); |
| 6391 unittest.expect(o.sourceDisk, unittest.equals('foo')); | 6464 unittest.expect(o.sourceDisk, unittest.equals('foo')); |
| 6392 checkCustomerEncryptionKey(o.sourceDiskEncryptionKey); | 6465 checkCustomerEncryptionKey(o.sourceDiskEncryptionKey); |
| 6393 unittest.expect(o.sourceDiskId, unittest.equals('foo')); | 6466 unittest.expect(o.sourceDiskId, unittest.equals('foo')); |
| 6394 unittest.expect(o.status, unittest.equals('foo')); | 6467 unittest.expect(o.status, unittest.equals('foo')); |
| 6395 unittest.expect(o.storageBytes, unittest.equals('foo')); | 6468 unittest.expect(o.storageBytes, unittest.equals('foo')); |
| 6396 unittest.expect(o.storageBytesStatus, unittest.equals('foo')); | 6469 unittest.expect(o.storageBytesStatus, unittest.equals('foo')); |
| 6397 } | 6470 } |
| 6398 buildCounterSnapshot--; | 6471 buildCounterSnapshot--; |
| 6399 } | 6472 } |
| 6400 | 6473 |
| 6401 buildUnnamed2031() { | 6474 buildUnnamed2136() { |
| 6402 var o = new core.List<api.Snapshot>(); | 6475 var o = new core.List<api.Snapshot>(); |
| 6403 o.add(buildSnapshot()); | 6476 o.add(buildSnapshot()); |
| 6404 o.add(buildSnapshot()); | 6477 o.add(buildSnapshot()); |
| 6405 return o; | 6478 return o; |
| 6406 } | 6479 } |
| 6407 | 6480 |
| 6408 checkUnnamed2031(core.List<api.Snapshot> o) { | 6481 checkUnnamed2136(core.List<api.Snapshot> o) { |
| 6409 unittest.expect(o, unittest.hasLength(2)); | 6482 unittest.expect(o, unittest.hasLength(2)); |
| 6410 checkSnapshot(o[0]); | 6483 checkSnapshot(o[0]); |
| 6411 checkSnapshot(o[1]); | 6484 checkSnapshot(o[1]); |
| 6412 } | 6485 } |
| 6413 | 6486 |
| 6414 core.int buildCounterSnapshotList = 0; | 6487 core.int buildCounterSnapshotList = 0; |
| 6415 buildSnapshotList() { | 6488 buildSnapshotList() { |
| 6416 var o = new api.SnapshotList(); | 6489 var o = new api.SnapshotList(); |
| 6417 buildCounterSnapshotList++; | 6490 buildCounterSnapshotList++; |
| 6418 if (buildCounterSnapshotList < 3) { | 6491 if (buildCounterSnapshotList < 3) { |
| 6419 o.id = "foo"; | 6492 o.id = "foo"; |
| 6420 o.items = buildUnnamed2031(); | 6493 o.items = buildUnnamed2136(); |
| 6421 o.kind = "foo"; | 6494 o.kind = "foo"; |
| 6422 o.nextPageToken = "foo"; | 6495 o.nextPageToken = "foo"; |
| 6423 o.selfLink = "foo"; | 6496 o.selfLink = "foo"; |
| 6424 } | 6497 } |
| 6425 buildCounterSnapshotList--; | 6498 buildCounterSnapshotList--; |
| 6426 return o; | 6499 return o; |
| 6427 } | 6500 } |
| 6428 | 6501 |
| 6429 checkSnapshotList(api.SnapshotList o) { | 6502 checkSnapshotList(api.SnapshotList o) { |
| 6430 buildCounterSnapshotList++; | 6503 buildCounterSnapshotList++; |
| 6431 if (buildCounterSnapshotList < 3) { | 6504 if (buildCounterSnapshotList < 3) { |
| 6432 unittest.expect(o.id, unittest.equals('foo')); | 6505 unittest.expect(o.id, unittest.equals('foo')); |
| 6433 checkUnnamed2031(o.items); | 6506 checkUnnamed2136(o.items); |
| 6434 unittest.expect(o.kind, unittest.equals('foo')); | 6507 unittest.expect(o.kind, unittest.equals('foo')); |
| 6435 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6508 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 6436 unittest.expect(o.selfLink, unittest.equals('foo')); | 6509 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 6437 } | 6510 } |
| 6438 buildCounterSnapshotList--; | 6511 buildCounterSnapshotList--; |
| 6439 } | 6512 } |
| 6440 | 6513 |
| 6441 core.int buildCounterSslCertificate = 0; | 6514 core.int buildCounterSslCertificate = 0; |
| 6442 buildSslCertificate() { | 6515 buildSslCertificate() { |
| 6443 var o = new api.SslCertificate(); | 6516 var o = new api.SslCertificate(); |
| (...skipping 20 matching lines...) Expand all Loading... |
| 6464 unittest.expect(o.description, unittest.equals('foo')); | 6537 unittest.expect(o.description, unittest.equals('foo')); |
| 6465 unittest.expect(o.id, unittest.equals('foo')); | 6538 unittest.expect(o.id, unittest.equals('foo')); |
| 6466 unittest.expect(o.kind, unittest.equals('foo')); | 6539 unittest.expect(o.kind, unittest.equals('foo')); |
| 6467 unittest.expect(o.name, unittest.equals('foo')); | 6540 unittest.expect(o.name, unittest.equals('foo')); |
| 6468 unittest.expect(o.privateKey, unittest.equals('foo')); | 6541 unittest.expect(o.privateKey, unittest.equals('foo')); |
| 6469 unittest.expect(o.selfLink, unittest.equals('foo')); | 6542 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 6470 } | 6543 } |
| 6471 buildCounterSslCertificate--; | 6544 buildCounterSslCertificate--; |
| 6472 } | 6545 } |
| 6473 | 6546 |
| 6474 buildUnnamed2032() { | 6547 buildUnnamed2137() { |
| 6475 var o = new core.List<api.SslCertificate>(); | 6548 var o = new core.List<api.SslCertificate>(); |
| 6476 o.add(buildSslCertificate()); | 6549 o.add(buildSslCertificate()); |
| 6477 o.add(buildSslCertificate()); | 6550 o.add(buildSslCertificate()); |
| 6478 return o; | 6551 return o; |
| 6479 } | 6552 } |
| 6480 | 6553 |
| 6481 checkUnnamed2032(core.List<api.SslCertificate> o) { | 6554 checkUnnamed2137(core.List<api.SslCertificate> o) { |
| 6482 unittest.expect(o, unittest.hasLength(2)); | 6555 unittest.expect(o, unittest.hasLength(2)); |
| 6483 checkSslCertificate(o[0]); | 6556 checkSslCertificate(o[0]); |
| 6484 checkSslCertificate(o[1]); | 6557 checkSslCertificate(o[1]); |
| 6485 } | 6558 } |
| 6486 | 6559 |
| 6487 core.int buildCounterSslCertificateList = 0; | 6560 core.int buildCounterSslCertificateList = 0; |
| 6488 buildSslCertificateList() { | 6561 buildSslCertificateList() { |
| 6489 var o = new api.SslCertificateList(); | 6562 var o = new api.SslCertificateList(); |
| 6490 buildCounterSslCertificateList++; | 6563 buildCounterSslCertificateList++; |
| 6491 if (buildCounterSslCertificateList < 3) { | 6564 if (buildCounterSslCertificateList < 3) { |
| 6492 o.id = "foo"; | 6565 o.id = "foo"; |
| 6493 o.items = buildUnnamed2032(); | 6566 o.items = buildUnnamed2137(); |
| 6494 o.kind = "foo"; | 6567 o.kind = "foo"; |
| 6495 o.nextPageToken = "foo"; | 6568 o.nextPageToken = "foo"; |
| 6496 o.selfLink = "foo"; | 6569 o.selfLink = "foo"; |
| 6497 } | 6570 } |
| 6498 buildCounterSslCertificateList--; | 6571 buildCounterSslCertificateList--; |
| 6499 return o; | 6572 return o; |
| 6500 } | 6573 } |
| 6501 | 6574 |
| 6502 checkSslCertificateList(api.SslCertificateList o) { | 6575 checkSslCertificateList(api.SslCertificateList o) { |
| 6503 buildCounterSslCertificateList++; | 6576 buildCounterSslCertificateList++; |
| 6504 if (buildCounterSslCertificateList < 3) { | 6577 if (buildCounterSslCertificateList < 3) { |
| 6505 unittest.expect(o.id, unittest.equals('foo')); | 6578 unittest.expect(o.id, unittest.equals('foo')); |
| 6506 checkUnnamed2032(o.items); | 6579 checkUnnamed2137(o.items); |
| 6507 unittest.expect(o.kind, unittest.equals('foo')); | 6580 unittest.expect(o.kind, unittest.equals('foo')); |
| 6508 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6581 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 6509 unittest.expect(o.selfLink, unittest.equals('foo')); | 6582 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 6510 } | 6583 } |
| 6511 buildCounterSslCertificateList--; | 6584 buildCounterSslCertificateList--; |
| 6512 } | 6585 } |
| 6513 | 6586 |
| 6514 core.int buildCounterSubnetwork = 0; | 6587 core.int buildCounterSubnetwork = 0; |
| 6515 buildSubnetwork() { | 6588 buildSubnetwork() { |
| 6516 var o = new api.Subnetwork(); | 6589 var o = new api.Subnetwork(); |
| (...skipping 24 matching lines...) Expand all Loading... |
| 6541 unittest.expect(o.ipCidrRange, unittest.equals('foo')); | 6614 unittest.expect(o.ipCidrRange, unittest.equals('foo')); |
| 6542 unittest.expect(o.kind, unittest.equals('foo')); | 6615 unittest.expect(o.kind, unittest.equals('foo')); |
| 6543 unittest.expect(o.name, unittest.equals('foo')); | 6616 unittest.expect(o.name, unittest.equals('foo')); |
| 6544 unittest.expect(o.network, unittest.equals('foo')); | 6617 unittest.expect(o.network, unittest.equals('foo')); |
| 6545 unittest.expect(o.region, unittest.equals('foo')); | 6618 unittest.expect(o.region, unittest.equals('foo')); |
| 6546 unittest.expect(o.selfLink, unittest.equals('foo')); | 6619 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 6547 } | 6620 } |
| 6548 buildCounterSubnetwork--; | 6621 buildCounterSubnetwork--; |
| 6549 } | 6622 } |
| 6550 | 6623 |
| 6551 buildUnnamed2033() { | 6624 buildUnnamed2138() { |
| 6552 var o = new core.Map<core.String, api.SubnetworksScopedList>(); | 6625 var o = new core.Map<core.String, api.SubnetworksScopedList>(); |
| 6553 o["x"] = buildSubnetworksScopedList(); | 6626 o["x"] = buildSubnetworksScopedList(); |
| 6554 o["y"] = buildSubnetworksScopedList(); | 6627 o["y"] = buildSubnetworksScopedList(); |
| 6555 return o; | 6628 return o; |
| 6556 } | 6629 } |
| 6557 | 6630 |
| 6558 checkUnnamed2033(core.Map<core.String, api.SubnetworksScopedList> o) { | 6631 checkUnnamed2138(core.Map<core.String, api.SubnetworksScopedList> o) { |
| 6559 unittest.expect(o, unittest.hasLength(2)); | 6632 unittest.expect(o, unittest.hasLength(2)); |
| 6560 checkSubnetworksScopedList(o["x"]); | 6633 checkSubnetworksScopedList(o["x"]); |
| 6561 checkSubnetworksScopedList(o["y"]); | 6634 checkSubnetworksScopedList(o["y"]); |
| 6562 } | 6635 } |
| 6563 | 6636 |
| 6564 core.int buildCounterSubnetworkAggregatedList = 0; | 6637 core.int buildCounterSubnetworkAggregatedList = 0; |
| 6565 buildSubnetworkAggregatedList() { | 6638 buildSubnetworkAggregatedList() { |
| 6566 var o = new api.SubnetworkAggregatedList(); | 6639 var o = new api.SubnetworkAggregatedList(); |
| 6567 buildCounterSubnetworkAggregatedList++; | 6640 buildCounterSubnetworkAggregatedList++; |
| 6568 if (buildCounterSubnetworkAggregatedList < 3) { | 6641 if (buildCounterSubnetworkAggregatedList < 3) { |
| 6569 o.id = "foo"; | 6642 o.id = "foo"; |
| 6570 o.items = buildUnnamed2033(); | 6643 o.items = buildUnnamed2138(); |
| 6571 o.kind = "foo"; | 6644 o.kind = "foo"; |
| 6572 o.nextPageToken = "foo"; | 6645 o.nextPageToken = "foo"; |
| 6573 o.selfLink = "foo"; | 6646 o.selfLink = "foo"; |
| 6574 } | 6647 } |
| 6575 buildCounterSubnetworkAggregatedList--; | 6648 buildCounterSubnetworkAggregatedList--; |
| 6576 return o; | 6649 return o; |
| 6577 } | 6650 } |
| 6578 | 6651 |
| 6579 checkSubnetworkAggregatedList(api.SubnetworkAggregatedList o) { | 6652 checkSubnetworkAggregatedList(api.SubnetworkAggregatedList o) { |
| 6580 buildCounterSubnetworkAggregatedList++; | 6653 buildCounterSubnetworkAggregatedList++; |
| 6581 if (buildCounterSubnetworkAggregatedList < 3) { | 6654 if (buildCounterSubnetworkAggregatedList < 3) { |
| 6582 unittest.expect(o.id, unittest.equals('foo')); | 6655 unittest.expect(o.id, unittest.equals('foo')); |
| 6583 checkUnnamed2033(o.items); | 6656 checkUnnamed2138(o.items); |
| 6584 unittest.expect(o.kind, unittest.equals('foo')); | 6657 unittest.expect(o.kind, unittest.equals('foo')); |
| 6585 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6658 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 6586 unittest.expect(o.selfLink, unittest.equals('foo')); | 6659 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 6587 } | 6660 } |
| 6588 buildCounterSubnetworkAggregatedList--; | 6661 buildCounterSubnetworkAggregatedList--; |
| 6589 } | 6662 } |
| 6590 | 6663 |
| 6591 buildUnnamed2034() { | 6664 buildUnnamed2139() { |
| 6592 var o = new core.List<api.Subnetwork>(); | 6665 var o = new core.List<api.Subnetwork>(); |
| 6593 o.add(buildSubnetwork()); | 6666 o.add(buildSubnetwork()); |
| 6594 o.add(buildSubnetwork()); | 6667 o.add(buildSubnetwork()); |
| 6595 return o; | 6668 return o; |
| 6596 } | 6669 } |
| 6597 | 6670 |
| 6598 checkUnnamed2034(core.List<api.Subnetwork> o) { | 6671 checkUnnamed2139(core.List<api.Subnetwork> o) { |
| 6599 unittest.expect(o, unittest.hasLength(2)); | 6672 unittest.expect(o, unittest.hasLength(2)); |
| 6600 checkSubnetwork(o[0]); | 6673 checkSubnetwork(o[0]); |
| 6601 checkSubnetwork(o[1]); | 6674 checkSubnetwork(o[1]); |
| 6602 } | 6675 } |
| 6603 | 6676 |
| 6604 core.int buildCounterSubnetworkList = 0; | 6677 core.int buildCounterSubnetworkList = 0; |
| 6605 buildSubnetworkList() { | 6678 buildSubnetworkList() { |
| 6606 var o = new api.SubnetworkList(); | 6679 var o = new api.SubnetworkList(); |
| 6607 buildCounterSubnetworkList++; | 6680 buildCounterSubnetworkList++; |
| 6608 if (buildCounterSubnetworkList < 3) { | 6681 if (buildCounterSubnetworkList < 3) { |
| 6609 o.id = "foo"; | 6682 o.id = "foo"; |
| 6610 o.items = buildUnnamed2034(); | 6683 o.items = buildUnnamed2139(); |
| 6611 o.kind = "foo"; | 6684 o.kind = "foo"; |
| 6612 o.nextPageToken = "foo"; | 6685 o.nextPageToken = "foo"; |
| 6613 o.selfLink = "foo"; | 6686 o.selfLink = "foo"; |
| 6614 } | 6687 } |
| 6615 buildCounterSubnetworkList--; | 6688 buildCounterSubnetworkList--; |
| 6616 return o; | 6689 return o; |
| 6617 } | 6690 } |
| 6618 | 6691 |
| 6619 checkSubnetworkList(api.SubnetworkList o) { | 6692 checkSubnetworkList(api.SubnetworkList o) { |
| 6620 buildCounterSubnetworkList++; | 6693 buildCounterSubnetworkList++; |
| 6621 if (buildCounterSubnetworkList < 3) { | 6694 if (buildCounterSubnetworkList < 3) { |
| 6622 unittest.expect(o.id, unittest.equals('foo')); | 6695 unittest.expect(o.id, unittest.equals('foo')); |
| 6623 checkUnnamed2034(o.items); | 6696 checkUnnamed2139(o.items); |
| 6624 unittest.expect(o.kind, unittest.equals('foo')); | 6697 unittest.expect(o.kind, unittest.equals('foo')); |
| 6625 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6698 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 6626 unittest.expect(o.selfLink, unittest.equals('foo')); | 6699 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 6627 } | 6700 } |
| 6628 buildCounterSubnetworkList--; | 6701 buildCounterSubnetworkList--; |
| 6629 } | 6702 } |
| 6630 | 6703 |
| 6631 core.int buildCounterSubnetworksExpandIpCidrRangeRequest = 0; | 6704 core.int buildCounterSubnetworksExpandIpCidrRangeRequest = 0; |
| 6632 buildSubnetworksExpandIpCidrRangeRequest() { | 6705 buildSubnetworksExpandIpCidrRangeRequest() { |
| 6633 var o = new api.SubnetworksExpandIpCidrRangeRequest(); | 6706 var o = new api.SubnetworksExpandIpCidrRangeRequest(); |
| 6634 buildCounterSubnetworksExpandIpCidrRangeRequest++; | 6707 buildCounterSubnetworksExpandIpCidrRangeRequest++; |
| 6635 if (buildCounterSubnetworksExpandIpCidrRangeRequest < 3) { | 6708 if (buildCounterSubnetworksExpandIpCidrRangeRequest < 3) { |
| 6636 o.ipCidrRange = "foo"; | 6709 o.ipCidrRange = "foo"; |
| 6637 } | 6710 } |
| 6638 buildCounterSubnetworksExpandIpCidrRangeRequest--; | 6711 buildCounterSubnetworksExpandIpCidrRangeRequest--; |
| 6639 return o; | 6712 return o; |
| 6640 } | 6713 } |
| 6641 | 6714 |
| 6642 checkSubnetworksExpandIpCidrRangeRequest(api.SubnetworksExpandIpCidrRangeRequest
o) { | 6715 checkSubnetworksExpandIpCidrRangeRequest(api.SubnetworksExpandIpCidrRangeRequest
o) { |
| 6643 buildCounterSubnetworksExpandIpCidrRangeRequest++; | 6716 buildCounterSubnetworksExpandIpCidrRangeRequest++; |
| 6644 if (buildCounterSubnetworksExpandIpCidrRangeRequest < 3) { | 6717 if (buildCounterSubnetworksExpandIpCidrRangeRequest < 3) { |
| 6645 unittest.expect(o.ipCidrRange, unittest.equals('foo')); | 6718 unittest.expect(o.ipCidrRange, unittest.equals('foo')); |
| 6646 } | 6719 } |
| 6647 buildCounterSubnetworksExpandIpCidrRangeRequest--; | 6720 buildCounterSubnetworksExpandIpCidrRangeRequest--; |
| 6648 } | 6721 } |
| 6649 | 6722 |
| 6650 buildUnnamed2035() { | 6723 buildUnnamed2140() { |
| 6651 var o = new core.List<api.Subnetwork>(); | 6724 var o = new core.List<api.Subnetwork>(); |
| 6652 o.add(buildSubnetwork()); | 6725 o.add(buildSubnetwork()); |
| 6653 o.add(buildSubnetwork()); | 6726 o.add(buildSubnetwork()); |
| 6654 return o; | 6727 return o; |
| 6655 } | 6728 } |
| 6656 | 6729 |
| 6657 checkUnnamed2035(core.List<api.Subnetwork> o) { | 6730 checkUnnamed2140(core.List<api.Subnetwork> o) { |
| 6658 unittest.expect(o, unittest.hasLength(2)); | 6731 unittest.expect(o, unittest.hasLength(2)); |
| 6659 checkSubnetwork(o[0]); | 6732 checkSubnetwork(o[0]); |
| 6660 checkSubnetwork(o[1]); | 6733 checkSubnetwork(o[1]); |
| 6661 } | 6734 } |
| 6662 | 6735 |
| 6663 core.int buildCounterSubnetworksScopedListWarningData = 0; | 6736 core.int buildCounterSubnetworksScopedListWarningData = 0; |
| 6664 buildSubnetworksScopedListWarningData() { | 6737 buildSubnetworksScopedListWarningData() { |
| 6665 var o = new api.SubnetworksScopedListWarningData(); | 6738 var o = new api.SubnetworksScopedListWarningData(); |
| 6666 buildCounterSubnetworksScopedListWarningData++; | 6739 buildCounterSubnetworksScopedListWarningData++; |
| 6667 if (buildCounterSubnetworksScopedListWarningData < 3) { | 6740 if (buildCounterSubnetworksScopedListWarningData < 3) { |
| 6668 o.key = "foo"; | 6741 o.key = "foo"; |
| 6669 o.value = "foo"; | 6742 o.value = "foo"; |
| 6670 } | 6743 } |
| 6671 buildCounterSubnetworksScopedListWarningData--; | 6744 buildCounterSubnetworksScopedListWarningData--; |
| 6672 return o; | 6745 return o; |
| 6673 } | 6746 } |
| 6674 | 6747 |
| 6675 checkSubnetworksScopedListWarningData(api.SubnetworksScopedListWarningData o) { | 6748 checkSubnetworksScopedListWarningData(api.SubnetworksScopedListWarningData o) { |
| 6676 buildCounterSubnetworksScopedListWarningData++; | 6749 buildCounterSubnetworksScopedListWarningData++; |
| 6677 if (buildCounterSubnetworksScopedListWarningData < 3) { | 6750 if (buildCounterSubnetworksScopedListWarningData < 3) { |
| 6678 unittest.expect(o.key, unittest.equals('foo')); | 6751 unittest.expect(o.key, unittest.equals('foo')); |
| 6679 unittest.expect(o.value, unittest.equals('foo')); | 6752 unittest.expect(o.value, unittest.equals('foo')); |
| 6680 } | 6753 } |
| 6681 buildCounterSubnetworksScopedListWarningData--; | 6754 buildCounterSubnetworksScopedListWarningData--; |
| 6682 } | 6755 } |
| 6683 | 6756 |
| 6684 buildUnnamed2036() { | 6757 buildUnnamed2141() { |
| 6685 var o = new core.List<api.SubnetworksScopedListWarningData>(); | 6758 var o = new core.List<api.SubnetworksScopedListWarningData>(); |
| 6686 o.add(buildSubnetworksScopedListWarningData()); | 6759 o.add(buildSubnetworksScopedListWarningData()); |
| 6687 o.add(buildSubnetworksScopedListWarningData()); | 6760 o.add(buildSubnetworksScopedListWarningData()); |
| 6688 return o; | 6761 return o; |
| 6689 } | 6762 } |
| 6690 | 6763 |
| 6691 checkUnnamed2036(core.List<api.SubnetworksScopedListWarningData> o) { | 6764 checkUnnamed2141(core.List<api.SubnetworksScopedListWarningData> o) { |
| 6692 unittest.expect(o, unittest.hasLength(2)); | 6765 unittest.expect(o, unittest.hasLength(2)); |
| 6693 checkSubnetworksScopedListWarningData(o[0]); | 6766 checkSubnetworksScopedListWarningData(o[0]); |
| 6694 checkSubnetworksScopedListWarningData(o[1]); | 6767 checkSubnetworksScopedListWarningData(o[1]); |
| 6695 } | 6768 } |
| 6696 | 6769 |
| 6697 core.int buildCounterSubnetworksScopedListWarning = 0; | 6770 core.int buildCounterSubnetworksScopedListWarning = 0; |
| 6698 buildSubnetworksScopedListWarning() { | 6771 buildSubnetworksScopedListWarning() { |
| 6699 var o = new api.SubnetworksScopedListWarning(); | 6772 var o = new api.SubnetworksScopedListWarning(); |
| 6700 buildCounterSubnetworksScopedListWarning++; | 6773 buildCounterSubnetworksScopedListWarning++; |
| 6701 if (buildCounterSubnetworksScopedListWarning < 3) { | 6774 if (buildCounterSubnetworksScopedListWarning < 3) { |
| 6702 o.code = "foo"; | 6775 o.code = "foo"; |
| 6703 o.data = buildUnnamed2036(); | 6776 o.data = buildUnnamed2141(); |
| 6704 o.message = "foo"; | 6777 o.message = "foo"; |
| 6705 } | 6778 } |
| 6706 buildCounterSubnetworksScopedListWarning--; | 6779 buildCounterSubnetworksScopedListWarning--; |
| 6707 return o; | 6780 return o; |
| 6708 } | 6781 } |
| 6709 | 6782 |
| 6710 checkSubnetworksScopedListWarning(api.SubnetworksScopedListWarning o) { | 6783 checkSubnetworksScopedListWarning(api.SubnetworksScopedListWarning o) { |
| 6711 buildCounterSubnetworksScopedListWarning++; | 6784 buildCounterSubnetworksScopedListWarning++; |
| 6712 if (buildCounterSubnetworksScopedListWarning < 3) { | 6785 if (buildCounterSubnetworksScopedListWarning < 3) { |
| 6713 unittest.expect(o.code, unittest.equals('foo')); | 6786 unittest.expect(o.code, unittest.equals('foo')); |
| 6714 checkUnnamed2036(o.data); | 6787 checkUnnamed2141(o.data); |
| 6715 unittest.expect(o.message, unittest.equals('foo')); | 6788 unittest.expect(o.message, unittest.equals('foo')); |
| 6716 } | 6789 } |
| 6717 buildCounterSubnetworksScopedListWarning--; | 6790 buildCounterSubnetworksScopedListWarning--; |
| 6718 } | 6791 } |
| 6719 | 6792 |
| 6720 core.int buildCounterSubnetworksScopedList = 0; | 6793 core.int buildCounterSubnetworksScopedList = 0; |
| 6721 buildSubnetworksScopedList() { | 6794 buildSubnetworksScopedList() { |
| 6722 var o = new api.SubnetworksScopedList(); | 6795 var o = new api.SubnetworksScopedList(); |
| 6723 buildCounterSubnetworksScopedList++; | 6796 buildCounterSubnetworksScopedList++; |
| 6724 if (buildCounterSubnetworksScopedList < 3) { | 6797 if (buildCounterSubnetworksScopedList < 3) { |
| 6725 o.subnetworks = buildUnnamed2035(); | 6798 o.subnetworks = buildUnnamed2140(); |
| 6726 o.warning = buildSubnetworksScopedListWarning(); | 6799 o.warning = buildSubnetworksScopedListWarning(); |
| 6727 } | 6800 } |
| 6728 buildCounterSubnetworksScopedList--; | 6801 buildCounterSubnetworksScopedList--; |
| 6729 return o; | 6802 return o; |
| 6730 } | 6803 } |
| 6731 | 6804 |
| 6732 checkSubnetworksScopedList(api.SubnetworksScopedList o) { | 6805 checkSubnetworksScopedList(api.SubnetworksScopedList o) { |
| 6733 buildCounterSubnetworksScopedList++; | 6806 buildCounterSubnetworksScopedList++; |
| 6734 if (buildCounterSubnetworksScopedList < 3) { | 6807 if (buildCounterSubnetworksScopedList < 3) { |
| 6735 checkUnnamed2035(o.subnetworks); | 6808 checkUnnamed2140(o.subnetworks); |
| 6736 checkSubnetworksScopedListWarning(o.warning); | 6809 checkSubnetworksScopedListWarning(o.warning); |
| 6737 } | 6810 } |
| 6738 buildCounterSubnetworksScopedList--; | 6811 buildCounterSubnetworksScopedList--; |
| 6739 } | 6812 } |
| 6740 | 6813 |
| 6741 core.int buildCounterTCPHealthCheck = 0; | 6814 core.int buildCounterTCPHealthCheck = 0; |
| 6742 buildTCPHealthCheck() { | 6815 buildTCPHealthCheck() { |
| 6743 var o = new api.TCPHealthCheck(); | 6816 var o = new api.TCPHealthCheck(); |
| 6744 buildCounterTCPHealthCheck++; | 6817 buildCounterTCPHealthCheck++; |
| 6745 if (buildCounterTCPHealthCheck < 3) { | 6818 if (buildCounterTCPHealthCheck < 3) { |
| (...skipping 12 matching lines...) Expand all Loading... |
| 6758 if (buildCounterTCPHealthCheck < 3) { | 6831 if (buildCounterTCPHealthCheck < 3) { |
| 6759 unittest.expect(o.port, unittest.equals(42)); | 6832 unittest.expect(o.port, unittest.equals(42)); |
| 6760 unittest.expect(o.portName, unittest.equals('foo')); | 6833 unittest.expect(o.portName, unittest.equals('foo')); |
| 6761 unittest.expect(o.proxyHeader, unittest.equals('foo')); | 6834 unittest.expect(o.proxyHeader, unittest.equals('foo')); |
| 6762 unittest.expect(o.request, unittest.equals('foo')); | 6835 unittest.expect(o.request, unittest.equals('foo')); |
| 6763 unittest.expect(o.response, unittest.equals('foo')); | 6836 unittest.expect(o.response, unittest.equals('foo')); |
| 6764 } | 6837 } |
| 6765 buildCounterTCPHealthCheck--; | 6838 buildCounterTCPHealthCheck--; |
| 6766 } | 6839 } |
| 6767 | 6840 |
| 6768 buildUnnamed2037() { | 6841 buildUnnamed2142() { |
| 6769 var o = new core.List<core.String>(); | 6842 var o = new core.List<core.String>(); |
| 6770 o.add("foo"); | 6843 o.add("foo"); |
| 6771 o.add("foo"); | 6844 o.add("foo"); |
| 6772 return o; | 6845 return o; |
| 6773 } | 6846 } |
| 6774 | 6847 |
| 6775 checkUnnamed2037(core.List<core.String> o) { | 6848 checkUnnamed2142(core.List<core.String> o) { |
| 6776 unittest.expect(o, unittest.hasLength(2)); | 6849 unittest.expect(o, unittest.hasLength(2)); |
| 6777 unittest.expect(o[0], unittest.equals('foo')); | 6850 unittest.expect(o[0], unittest.equals('foo')); |
| 6778 unittest.expect(o[1], unittest.equals('foo')); | 6851 unittest.expect(o[1], unittest.equals('foo')); |
| 6779 } | 6852 } |
| 6780 | 6853 |
| 6781 core.int buildCounterTags = 0; | 6854 core.int buildCounterTags = 0; |
| 6782 buildTags() { | 6855 buildTags() { |
| 6783 var o = new api.Tags(); | 6856 var o = new api.Tags(); |
| 6784 buildCounterTags++; | 6857 buildCounterTags++; |
| 6785 if (buildCounterTags < 3) { | 6858 if (buildCounterTags < 3) { |
| 6786 o.fingerprint = "foo"; | 6859 o.fingerprint = "foo"; |
| 6787 o.items = buildUnnamed2037(); | 6860 o.items = buildUnnamed2142(); |
| 6788 } | 6861 } |
| 6789 buildCounterTags--; | 6862 buildCounterTags--; |
| 6790 return o; | 6863 return o; |
| 6791 } | 6864 } |
| 6792 | 6865 |
| 6793 checkTags(api.Tags o) { | 6866 checkTags(api.Tags o) { |
| 6794 buildCounterTags++; | 6867 buildCounterTags++; |
| 6795 if (buildCounterTags < 3) { | 6868 if (buildCounterTags < 3) { |
| 6796 unittest.expect(o.fingerprint, unittest.equals('foo')); | 6869 unittest.expect(o.fingerprint, unittest.equals('foo')); |
| 6797 checkUnnamed2037(o.items); | 6870 checkUnnamed2142(o.items); |
| 6798 } | 6871 } |
| 6799 buildCounterTags--; | 6872 buildCounterTags--; |
| 6800 } | 6873 } |
| 6801 | 6874 |
| 6802 core.int buildCounterTargetHttpProxy = 0; | 6875 core.int buildCounterTargetHttpProxy = 0; |
| 6803 buildTargetHttpProxy() { | 6876 buildTargetHttpProxy() { |
| 6804 var o = new api.TargetHttpProxy(); | 6877 var o = new api.TargetHttpProxy(); |
| 6805 buildCounterTargetHttpProxy++; | 6878 buildCounterTargetHttpProxy++; |
| 6806 if (buildCounterTargetHttpProxy < 3) { | 6879 if (buildCounterTargetHttpProxy < 3) { |
| 6807 o.creationTimestamp = "foo"; | 6880 o.creationTimestamp = "foo"; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 6823 unittest.expect(o.description, unittest.equals('foo')); | 6896 unittest.expect(o.description, unittest.equals('foo')); |
| 6824 unittest.expect(o.id, unittest.equals('foo')); | 6897 unittest.expect(o.id, unittest.equals('foo')); |
| 6825 unittest.expect(o.kind, unittest.equals('foo')); | 6898 unittest.expect(o.kind, unittest.equals('foo')); |
| 6826 unittest.expect(o.name, unittest.equals('foo')); | 6899 unittest.expect(o.name, unittest.equals('foo')); |
| 6827 unittest.expect(o.selfLink, unittest.equals('foo')); | 6900 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 6828 unittest.expect(o.urlMap, unittest.equals('foo')); | 6901 unittest.expect(o.urlMap, unittest.equals('foo')); |
| 6829 } | 6902 } |
| 6830 buildCounterTargetHttpProxy--; | 6903 buildCounterTargetHttpProxy--; |
| 6831 } | 6904 } |
| 6832 | 6905 |
| 6833 buildUnnamed2038() { | 6906 buildUnnamed2143() { |
| 6834 var o = new core.List<api.TargetHttpProxy>(); | 6907 var o = new core.List<api.TargetHttpProxy>(); |
| 6835 o.add(buildTargetHttpProxy()); | 6908 o.add(buildTargetHttpProxy()); |
| 6836 o.add(buildTargetHttpProxy()); | 6909 o.add(buildTargetHttpProxy()); |
| 6837 return o; | 6910 return o; |
| 6838 } | 6911 } |
| 6839 | 6912 |
| 6840 checkUnnamed2038(core.List<api.TargetHttpProxy> o) { | 6913 checkUnnamed2143(core.List<api.TargetHttpProxy> o) { |
| 6841 unittest.expect(o, unittest.hasLength(2)); | 6914 unittest.expect(o, unittest.hasLength(2)); |
| 6842 checkTargetHttpProxy(o[0]); | 6915 checkTargetHttpProxy(o[0]); |
| 6843 checkTargetHttpProxy(o[1]); | 6916 checkTargetHttpProxy(o[1]); |
| 6844 } | 6917 } |
| 6845 | 6918 |
| 6846 core.int buildCounterTargetHttpProxyList = 0; | 6919 core.int buildCounterTargetHttpProxyList = 0; |
| 6847 buildTargetHttpProxyList() { | 6920 buildTargetHttpProxyList() { |
| 6848 var o = new api.TargetHttpProxyList(); | 6921 var o = new api.TargetHttpProxyList(); |
| 6849 buildCounterTargetHttpProxyList++; | 6922 buildCounterTargetHttpProxyList++; |
| 6850 if (buildCounterTargetHttpProxyList < 3) { | 6923 if (buildCounterTargetHttpProxyList < 3) { |
| 6851 o.id = "foo"; | 6924 o.id = "foo"; |
| 6852 o.items = buildUnnamed2038(); | 6925 o.items = buildUnnamed2143(); |
| 6853 o.kind = "foo"; | 6926 o.kind = "foo"; |
| 6854 o.nextPageToken = "foo"; | 6927 o.nextPageToken = "foo"; |
| 6855 o.selfLink = "foo"; | 6928 o.selfLink = "foo"; |
| 6856 } | 6929 } |
| 6857 buildCounterTargetHttpProxyList--; | 6930 buildCounterTargetHttpProxyList--; |
| 6858 return o; | 6931 return o; |
| 6859 } | 6932 } |
| 6860 | 6933 |
| 6861 checkTargetHttpProxyList(api.TargetHttpProxyList o) { | 6934 checkTargetHttpProxyList(api.TargetHttpProxyList o) { |
| 6862 buildCounterTargetHttpProxyList++; | 6935 buildCounterTargetHttpProxyList++; |
| 6863 if (buildCounterTargetHttpProxyList < 3) { | 6936 if (buildCounterTargetHttpProxyList < 3) { |
| 6864 unittest.expect(o.id, unittest.equals('foo')); | 6937 unittest.expect(o.id, unittest.equals('foo')); |
| 6865 checkUnnamed2038(o.items); | 6938 checkUnnamed2143(o.items); |
| 6866 unittest.expect(o.kind, unittest.equals('foo')); | 6939 unittest.expect(o.kind, unittest.equals('foo')); |
| 6867 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6940 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 6868 unittest.expect(o.selfLink, unittest.equals('foo')); | 6941 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 6869 } | 6942 } |
| 6870 buildCounterTargetHttpProxyList--; | 6943 buildCounterTargetHttpProxyList--; |
| 6871 } | 6944 } |
| 6872 | 6945 |
| 6873 buildUnnamed2039() { | 6946 buildUnnamed2144() { |
| 6874 var o = new core.List<core.String>(); | 6947 var o = new core.List<core.String>(); |
| 6875 o.add("foo"); | 6948 o.add("foo"); |
| 6876 o.add("foo"); | 6949 o.add("foo"); |
| 6877 return o; | 6950 return o; |
| 6878 } | 6951 } |
| 6879 | 6952 |
| 6880 checkUnnamed2039(core.List<core.String> o) { | 6953 checkUnnamed2144(core.List<core.String> o) { |
| 6881 unittest.expect(o, unittest.hasLength(2)); | 6954 unittest.expect(o, unittest.hasLength(2)); |
| 6882 unittest.expect(o[0], unittest.equals('foo')); | 6955 unittest.expect(o[0], unittest.equals('foo')); |
| 6883 unittest.expect(o[1], unittest.equals('foo')); | 6956 unittest.expect(o[1], unittest.equals('foo')); |
| 6884 } | 6957 } |
| 6885 | 6958 |
| 6886 core.int buildCounterTargetHttpsProxiesSetSslCertificatesRequest = 0; | 6959 core.int buildCounterTargetHttpsProxiesSetSslCertificatesRequest = 0; |
| 6887 buildTargetHttpsProxiesSetSslCertificatesRequest() { | 6960 buildTargetHttpsProxiesSetSslCertificatesRequest() { |
| 6888 var o = new api.TargetHttpsProxiesSetSslCertificatesRequest(); | 6961 var o = new api.TargetHttpsProxiesSetSslCertificatesRequest(); |
| 6889 buildCounterTargetHttpsProxiesSetSslCertificatesRequest++; | 6962 buildCounterTargetHttpsProxiesSetSslCertificatesRequest++; |
| 6890 if (buildCounterTargetHttpsProxiesSetSslCertificatesRequest < 3) { | 6963 if (buildCounterTargetHttpsProxiesSetSslCertificatesRequest < 3) { |
| 6891 o.sslCertificates = buildUnnamed2039(); | 6964 o.sslCertificates = buildUnnamed2144(); |
| 6892 } | 6965 } |
| 6893 buildCounterTargetHttpsProxiesSetSslCertificatesRequest--; | 6966 buildCounterTargetHttpsProxiesSetSslCertificatesRequest--; |
| 6894 return o; | 6967 return o; |
| 6895 } | 6968 } |
| 6896 | 6969 |
| 6897 checkTargetHttpsProxiesSetSslCertificatesRequest(api.TargetHttpsProxiesSetSslCer
tificatesRequest o) { | 6970 checkTargetHttpsProxiesSetSslCertificatesRequest(api.TargetHttpsProxiesSetSslCer
tificatesRequest o) { |
| 6898 buildCounterTargetHttpsProxiesSetSslCertificatesRequest++; | 6971 buildCounterTargetHttpsProxiesSetSslCertificatesRequest++; |
| 6899 if (buildCounterTargetHttpsProxiesSetSslCertificatesRequest < 3) { | 6972 if (buildCounterTargetHttpsProxiesSetSslCertificatesRequest < 3) { |
| 6900 checkUnnamed2039(o.sslCertificates); | 6973 checkUnnamed2144(o.sslCertificates); |
| 6901 } | 6974 } |
| 6902 buildCounterTargetHttpsProxiesSetSslCertificatesRequest--; | 6975 buildCounterTargetHttpsProxiesSetSslCertificatesRequest--; |
| 6903 } | 6976 } |
| 6904 | 6977 |
| 6905 buildUnnamed2040() { | 6978 buildUnnamed2145() { |
| 6906 var o = new core.List<core.String>(); | 6979 var o = new core.List<core.String>(); |
| 6907 o.add("foo"); | 6980 o.add("foo"); |
| 6908 o.add("foo"); | 6981 o.add("foo"); |
| 6909 return o; | 6982 return o; |
| 6910 } | 6983 } |
| 6911 | 6984 |
| 6912 checkUnnamed2040(core.List<core.String> o) { | 6985 checkUnnamed2145(core.List<core.String> o) { |
| 6913 unittest.expect(o, unittest.hasLength(2)); | 6986 unittest.expect(o, unittest.hasLength(2)); |
| 6914 unittest.expect(o[0], unittest.equals('foo')); | 6987 unittest.expect(o[0], unittest.equals('foo')); |
| 6915 unittest.expect(o[1], unittest.equals('foo')); | 6988 unittest.expect(o[1], unittest.equals('foo')); |
| 6916 } | 6989 } |
| 6917 | 6990 |
| 6918 core.int buildCounterTargetHttpsProxy = 0; | 6991 core.int buildCounterTargetHttpsProxy = 0; |
| 6919 buildTargetHttpsProxy() { | 6992 buildTargetHttpsProxy() { |
| 6920 var o = new api.TargetHttpsProxy(); | 6993 var o = new api.TargetHttpsProxy(); |
| 6921 buildCounterTargetHttpsProxy++; | 6994 buildCounterTargetHttpsProxy++; |
| 6922 if (buildCounterTargetHttpsProxy < 3) { | 6995 if (buildCounterTargetHttpsProxy < 3) { |
| 6923 o.creationTimestamp = "foo"; | 6996 o.creationTimestamp = "foo"; |
| 6924 o.description = "foo"; | 6997 o.description = "foo"; |
| 6925 o.id = "foo"; | 6998 o.id = "foo"; |
| 6926 o.kind = "foo"; | 6999 o.kind = "foo"; |
| 6927 o.name = "foo"; | 7000 o.name = "foo"; |
| 6928 o.selfLink = "foo"; | 7001 o.selfLink = "foo"; |
| 6929 o.sslCertificates = buildUnnamed2040(); | 7002 o.sslCertificates = buildUnnamed2145(); |
| 6930 o.urlMap = "foo"; | 7003 o.urlMap = "foo"; |
| 6931 } | 7004 } |
| 6932 buildCounterTargetHttpsProxy--; | 7005 buildCounterTargetHttpsProxy--; |
| 6933 return o; | 7006 return o; |
| 6934 } | 7007 } |
| 6935 | 7008 |
| 6936 checkTargetHttpsProxy(api.TargetHttpsProxy o) { | 7009 checkTargetHttpsProxy(api.TargetHttpsProxy o) { |
| 6937 buildCounterTargetHttpsProxy++; | 7010 buildCounterTargetHttpsProxy++; |
| 6938 if (buildCounterTargetHttpsProxy < 3) { | 7011 if (buildCounterTargetHttpsProxy < 3) { |
| 6939 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 7012 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 6940 unittest.expect(o.description, unittest.equals('foo')); | 7013 unittest.expect(o.description, unittest.equals('foo')); |
| 6941 unittest.expect(o.id, unittest.equals('foo')); | 7014 unittest.expect(o.id, unittest.equals('foo')); |
| 6942 unittest.expect(o.kind, unittest.equals('foo')); | 7015 unittest.expect(o.kind, unittest.equals('foo')); |
| 6943 unittest.expect(o.name, unittest.equals('foo')); | 7016 unittest.expect(o.name, unittest.equals('foo')); |
| 6944 unittest.expect(o.selfLink, unittest.equals('foo')); | 7017 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 6945 checkUnnamed2040(o.sslCertificates); | 7018 checkUnnamed2145(o.sslCertificates); |
| 6946 unittest.expect(o.urlMap, unittest.equals('foo')); | 7019 unittest.expect(o.urlMap, unittest.equals('foo')); |
| 6947 } | 7020 } |
| 6948 buildCounterTargetHttpsProxy--; | 7021 buildCounterTargetHttpsProxy--; |
| 6949 } | 7022 } |
| 6950 | 7023 |
| 6951 buildUnnamed2041() { | 7024 buildUnnamed2146() { |
| 6952 var o = new core.List<api.TargetHttpsProxy>(); | 7025 var o = new core.List<api.TargetHttpsProxy>(); |
| 6953 o.add(buildTargetHttpsProxy()); | 7026 o.add(buildTargetHttpsProxy()); |
| 6954 o.add(buildTargetHttpsProxy()); | 7027 o.add(buildTargetHttpsProxy()); |
| 6955 return o; | 7028 return o; |
| 6956 } | 7029 } |
| 6957 | 7030 |
| 6958 checkUnnamed2041(core.List<api.TargetHttpsProxy> o) { | 7031 checkUnnamed2146(core.List<api.TargetHttpsProxy> o) { |
| 6959 unittest.expect(o, unittest.hasLength(2)); | 7032 unittest.expect(o, unittest.hasLength(2)); |
| 6960 checkTargetHttpsProxy(o[0]); | 7033 checkTargetHttpsProxy(o[0]); |
| 6961 checkTargetHttpsProxy(o[1]); | 7034 checkTargetHttpsProxy(o[1]); |
| 6962 } | 7035 } |
| 6963 | 7036 |
| 6964 core.int buildCounterTargetHttpsProxyList = 0; | 7037 core.int buildCounterTargetHttpsProxyList = 0; |
| 6965 buildTargetHttpsProxyList() { | 7038 buildTargetHttpsProxyList() { |
| 6966 var o = new api.TargetHttpsProxyList(); | 7039 var o = new api.TargetHttpsProxyList(); |
| 6967 buildCounterTargetHttpsProxyList++; | 7040 buildCounterTargetHttpsProxyList++; |
| 6968 if (buildCounterTargetHttpsProxyList < 3) { | 7041 if (buildCounterTargetHttpsProxyList < 3) { |
| 6969 o.id = "foo"; | 7042 o.id = "foo"; |
| 6970 o.items = buildUnnamed2041(); | 7043 o.items = buildUnnamed2146(); |
| 6971 o.kind = "foo"; | 7044 o.kind = "foo"; |
| 6972 o.nextPageToken = "foo"; | 7045 o.nextPageToken = "foo"; |
| 6973 o.selfLink = "foo"; | 7046 o.selfLink = "foo"; |
| 6974 } | 7047 } |
| 6975 buildCounterTargetHttpsProxyList--; | 7048 buildCounterTargetHttpsProxyList--; |
| 6976 return o; | 7049 return o; |
| 6977 } | 7050 } |
| 6978 | 7051 |
| 6979 checkTargetHttpsProxyList(api.TargetHttpsProxyList o) { | 7052 checkTargetHttpsProxyList(api.TargetHttpsProxyList o) { |
| 6980 buildCounterTargetHttpsProxyList++; | 7053 buildCounterTargetHttpsProxyList++; |
| 6981 if (buildCounterTargetHttpsProxyList < 3) { | 7054 if (buildCounterTargetHttpsProxyList < 3) { |
| 6982 unittest.expect(o.id, unittest.equals('foo')); | 7055 unittest.expect(o.id, unittest.equals('foo')); |
| 6983 checkUnnamed2041(o.items); | 7056 checkUnnamed2146(o.items); |
| 6984 unittest.expect(o.kind, unittest.equals('foo')); | 7057 unittest.expect(o.kind, unittest.equals('foo')); |
| 6985 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 7058 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 6986 unittest.expect(o.selfLink, unittest.equals('foo')); | 7059 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 6987 } | 7060 } |
| 6988 buildCounterTargetHttpsProxyList--; | 7061 buildCounterTargetHttpsProxyList--; |
| 6989 } | 7062 } |
| 6990 | 7063 |
| 6991 core.int buildCounterTargetInstance = 0; | 7064 core.int buildCounterTargetInstance = 0; |
| 6992 buildTargetInstance() { | 7065 buildTargetInstance() { |
| 6993 var o = new api.TargetInstance(); | 7066 var o = new api.TargetInstance(); |
| (...skipping 22 matching lines...) Expand all Loading... |
| 7016 unittest.expect(o.instance, unittest.equals('foo')); | 7089 unittest.expect(o.instance, unittest.equals('foo')); |
| 7017 unittest.expect(o.kind, unittest.equals('foo')); | 7090 unittest.expect(o.kind, unittest.equals('foo')); |
| 7018 unittest.expect(o.name, unittest.equals('foo')); | 7091 unittest.expect(o.name, unittest.equals('foo')); |
| 7019 unittest.expect(o.natPolicy, unittest.equals('foo')); | 7092 unittest.expect(o.natPolicy, unittest.equals('foo')); |
| 7020 unittest.expect(o.selfLink, unittest.equals('foo')); | 7093 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 7021 unittest.expect(o.zone, unittest.equals('foo')); | 7094 unittest.expect(o.zone, unittest.equals('foo')); |
| 7022 } | 7095 } |
| 7023 buildCounterTargetInstance--; | 7096 buildCounterTargetInstance--; |
| 7024 } | 7097 } |
| 7025 | 7098 |
| 7026 buildUnnamed2042() { | 7099 buildUnnamed2147() { |
| 7027 var o = new core.Map<core.String, api.TargetInstancesScopedList>(); | 7100 var o = new core.Map<core.String, api.TargetInstancesScopedList>(); |
| 7028 o["x"] = buildTargetInstancesScopedList(); | 7101 o["x"] = buildTargetInstancesScopedList(); |
| 7029 o["y"] = buildTargetInstancesScopedList(); | 7102 o["y"] = buildTargetInstancesScopedList(); |
| 7030 return o; | 7103 return o; |
| 7031 } | 7104 } |
| 7032 | 7105 |
| 7033 checkUnnamed2042(core.Map<core.String, api.TargetInstancesScopedList> o) { | 7106 checkUnnamed2147(core.Map<core.String, api.TargetInstancesScopedList> o) { |
| 7034 unittest.expect(o, unittest.hasLength(2)); | 7107 unittest.expect(o, unittest.hasLength(2)); |
| 7035 checkTargetInstancesScopedList(o["x"]); | 7108 checkTargetInstancesScopedList(o["x"]); |
| 7036 checkTargetInstancesScopedList(o["y"]); | 7109 checkTargetInstancesScopedList(o["y"]); |
| 7037 } | 7110 } |
| 7038 | 7111 |
| 7039 core.int buildCounterTargetInstanceAggregatedList = 0; | 7112 core.int buildCounterTargetInstanceAggregatedList = 0; |
| 7040 buildTargetInstanceAggregatedList() { | 7113 buildTargetInstanceAggregatedList() { |
| 7041 var o = new api.TargetInstanceAggregatedList(); | 7114 var o = new api.TargetInstanceAggregatedList(); |
| 7042 buildCounterTargetInstanceAggregatedList++; | 7115 buildCounterTargetInstanceAggregatedList++; |
| 7043 if (buildCounterTargetInstanceAggregatedList < 3) { | 7116 if (buildCounterTargetInstanceAggregatedList < 3) { |
| 7044 o.id = "foo"; | 7117 o.id = "foo"; |
| 7045 o.items = buildUnnamed2042(); | 7118 o.items = buildUnnamed2147(); |
| 7046 o.kind = "foo"; | 7119 o.kind = "foo"; |
| 7047 o.nextPageToken = "foo"; | 7120 o.nextPageToken = "foo"; |
| 7048 o.selfLink = "foo"; | 7121 o.selfLink = "foo"; |
| 7049 } | 7122 } |
| 7050 buildCounterTargetInstanceAggregatedList--; | 7123 buildCounterTargetInstanceAggregatedList--; |
| 7051 return o; | 7124 return o; |
| 7052 } | 7125 } |
| 7053 | 7126 |
| 7054 checkTargetInstanceAggregatedList(api.TargetInstanceAggregatedList o) { | 7127 checkTargetInstanceAggregatedList(api.TargetInstanceAggregatedList o) { |
| 7055 buildCounterTargetInstanceAggregatedList++; | 7128 buildCounterTargetInstanceAggregatedList++; |
| 7056 if (buildCounterTargetInstanceAggregatedList < 3) { | 7129 if (buildCounterTargetInstanceAggregatedList < 3) { |
| 7057 unittest.expect(o.id, unittest.equals('foo')); | 7130 unittest.expect(o.id, unittest.equals('foo')); |
| 7058 checkUnnamed2042(o.items); | 7131 checkUnnamed2147(o.items); |
| 7059 unittest.expect(o.kind, unittest.equals('foo')); | 7132 unittest.expect(o.kind, unittest.equals('foo')); |
| 7060 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 7133 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 7061 unittest.expect(o.selfLink, unittest.equals('foo')); | 7134 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 7062 } | 7135 } |
| 7063 buildCounterTargetInstanceAggregatedList--; | 7136 buildCounterTargetInstanceAggregatedList--; |
| 7064 } | 7137 } |
| 7065 | 7138 |
| 7066 buildUnnamed2043() { | 7139 buildUnnamed2148() { |
| 7067 var o = new core.List<api.TargetInstance>(); | 7140 var o = new core.List<api.TargetInstance>(); |
| 7068 o.add(buildTargetInstance()); | 7141 o.add(buildTargetInstance()); |
| 7069 o.add(buildTargetInstance()); | 7142 o.add(buildTargetInstance()); |
| 7070 return o; | 7143 return o; |
| 7071 } | 7144 } |
| 7072 | 7145 |
| 7073 checkUnnamed2043(core.List<api.TargetInstance> o) { | 7146 checkUnnamed2148(core.List<api.TargetInstance> o) { |
| 7074 unittest.expect(o, unittest.hasLength(2)); | 7147 unittest.expect(o, unittest.hasLength(2)); |
| 7075 checkTargetInstance(o[0]); | 7148 checkTargetInstance(o[0]); |
| 7076 checkTargetInstance(o[1]); | 7149 checkTargetInstance(o[1]); |
| 7077 } | 7150 } |
| 7078 | 7151 |
| 7079 core.int buildCounterTargetInstanceList = 0; | 7152 core.int buildCounterTargetInstanceList = 0; |
| 7080 buildTargetInstanceList() { | 7153 buildTargetInstanceList() { |
| 7081 var o = new api.TargetInstanceList(); | 7154 var o = new api.TargetInstanceList(); |
| 7082 buildCounterTargetInstanceList++; | 7155 buildCounterTargetInstanceList++; |
| 7083 if (buildCounterTargetInstanceList < 3) { | 7156 if (buildCounterTargetInstanceList < 3) { |
| 7084 o.id = "foo"; | 7157 o.id = "foo"; |
| 7085 o.items = buildUnnamed2043(); | 7158 o.items = buildUnnamed2148(); |
| 7086 o.kind = "foo"; | 7159 o.kind = "foo"; |
| 7087 o.nextPageToken = "foo"; | 7160 o.nextPageToken = "foo"; |
| 7088 o.selfLink = "foo"; | 7161 o.selfLink = "foo"; |
| 7089 } | 7162 } |
| 7090 buildCounterTargetInstanceList--; | 7163 buildCounterTargetInstanceList--; |
| 7091 return o; | 7164 return o; |
| 7092 } | 7165 } |
| 7093 | 7166 |
| 7094 checkTargetInstanceList(api.TargetInstanceList o) { | 7167 checkTargetInstanceList(api.TargetInstanceList o) { |
| 7095 buildCounterTargetInstanceList++; | 7168 buildCounterTargetInstanceList++; |
| 7096 if (buildCounterTargetInstanceList < 3) { | 7169 if (buildCounterTargetInstanceList < 3) { |
| 7097 unittest.expect(o.id, unittest.equals('foo')); | 7170 unittest.expect(o.id, unittest.equals('foo')); |
| 7098 checkUnnamed2043(o.items); | 7171 checkUnnamed2148(o.items); |
| 7099 unittest.expect(o.kind, unittest.equals('foo')); | 7172 unittest.expect(o.kind, unittest.equals('foo')); |
| 7100 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 7173 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 7101 unittest.expect(o.selfLink, unittest.equals('foo')); | 7174 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 7102 } | 7175 } |
| 7103 buildCounterTargetInstanceList--; | 7176 buildCounterTargetInstanceList--; |
| 7104 } | 7177 } |
| 7105 | 7178 |
| 7106 buildUnnamed2044() { | 7179 buildUnnamed2149() { |
| 7107 var o = new core.List<api.TargetInstance>(); | 7180 var o = new core.List<api.TargetInstance>(); |
| 7108 o.add(buildTargetInstance()); | 7181 o.add(buildTargetInstance()); |
| 7109 o.add(buildTargetInstance()); | 7182 o.add(buildTargetInstance()); |
| 7110 return o; | 7183 return o; |
| 7111 } | 7184 } |
| 7112 | 7185 |
| 7113 checkUnnamed2044(core.List<api.TargetInstance> o) { | 7186 checkUnnamed2149(core.List<api.TargetInstance> o) { |
| 7114 unittest.expect(o, unittest.hasLength(2)); | 7187 unittest.expect(o, unittest.hasLength(2)); |
| 7115 checkTargetInstance(o[0]); | 7188 checkTargetInstance(o[0]); |
| 7116 checkTargetInstance(o[1]); | 7189 checkTargetInstance(o[1]); |
| 7117 } | 7190 } |
| 7118 | 7191 |
| 7119 core.int buildCounterTargetInstancesScopedListWarningData = 0; | 7192 core.int buildCounterTargetInstancesScopedListWarningData = 0; |
| 7120 buildTargetInstancesScopedListWarningData() { | 7193 buildTargetInstancesScopedListWarningData() { |
| 7121 var o = new api.TargetInstancesScopedListWarningData(); | 7194 var o = new api.TargetInstancesScopedListWarningData(); |
| 7122 buildCounterTargetInstancesScopedListWarningData++; | 7195 buildCounterTargetInstancesScopedListWarningData++; |
| 7123 if (buildCounterTargetInstancesScopedListWarningData < 3) { | 7196 if (buildCounterTargetInstancesScopedListWarningData < 3) { |
| 7124 o.key = "foo"; | 7197 o.key = "foo"; |
| 7125 o.value = "foo"; | 7198 o.value = "foo"; |
| 7126 } | 7199 } |
| 7127 buildCounterTargetInstancesScopedListWarningData--; | 7200 buildCounterTargetInstancesScopedListWarningData--; |
| 7128 return o; | 7201 return o; |
| 7129 } | 7202 } |
| 7130 | 7203 |
| 7131 checkTargetInstancesScopedListWarningData(api.TargetInstancesScopedListWarningDa
ta o) { | 7204 checkTargetInstancesScopedListWarningData(api.TargetInstancesScopedListWarningDa
ta o) { |
| 7132 buildCounterTargetInstancesScopedListWarningData++; | 7205 buildCounterTargetInstancesScopedListWarningData++; |
| 7133 if (buildCounterTargetInstancesScopedListWarningData < 3) { | 7206 if (buildCounterTargetInstancesScopedListWarningData < 3) { |
| 7134 unittest.expect(o.key, unittest.equals('foo')); | 7207 unittest.expect(o.key, unittest.equals('foo')); |
| 7135 unittest.expect(o.value, unittest.equals('foo')); | 7208 unittest.expect(o.value, unittest.equals('foo')); |
| 7136 } | 7209 } |
| 7137 buildCounterTargetInstancesScopedListWarningData--; | 7210 buildCounterTargetInstancesScopedListWarningData--; |
| 7138 } | 7211 } |
| 7139 | 7212 |
| 7140 buildUnnamed2045() { | 7213 buildUnnamed2150() { |
| 7141 var o = new core.List<api.TargetInstancesScopedListWarningData>(); | 7214 var o = new core.List<api.TargetInstancesScopedListWarningData>(); |
| 7142 o.add(buildTargetInstancesScopedListWarningData()); | 7215 o.add(buildTargetInstancesScopedListWarningData()); |
| 7143 o.add(buildTargetInstancesScopedListWarningData()); | 7216 o.add(buildTargetInstancesScopedListWarningData()); |
| 7144 return o; | 7217 return o; |
| 7145 } | 7218 } |
| 7146 | 7219 |
| 7147 checkUnnamed2045(core.List<api.TargetInstancesScopedListWarningData> o) { | 7220 checkUnnamed2150(core.List<api.TargetInstancesScopedListWarningData> o) { |
| 7148 unittest.expect(o, unittest.hasLength(2)); | 7221 unittest.expect(o, unittest.hasLength(2)); |
| 7149 checkTargetInstancesScopedListWarningData(o[0]); | 7222 checkTargetInstancesScopedListWarningData(o[0]); |
| 7150 checkTargetInstancesScopedListWarningData(o[1]); | 7223 checkTargetInstancesScopedListWarningData(o[1]); |
| 7151 } | 7224 } |
| 7152 | 7225 |
| 7153 core.int buildCounterTargetInstancesScopedListWarning = 0; | 7226 core.int buildCounterTargetInstancesScopedListWarning = 0; |
| 7154 buildTargetInstancesScopedListWarning() { | 7227 buildTargetInstancesScopedListWarning() { |
| 7155 var o = new api.TargetInstancesScopedListWarning(); | 7228 var o = new api.TargetInstancesScopedListWarning(); |
| 7156 buildCounterTargetInstancesScopedListWarning++; | 7229 buildCounterTargetInstancesScopedListWarning++; |
| 7157 if (buildCounterTargetInstancesScopedListWarning < 3) { | 7230 if (buildCounterTargetInstancesScopedListWarning < 3) { |
| 7158 o.code = "foo"; | 7231 o.code = "foo"; |
| 7159 o.data = buildUnnamed2045(); | 7232 o.data = buildUnnamed2150(); |
| 7160 o.message = "foo"; | 7233 o.message = "foo"; |
| 7161 } | 7234 } |
| 7162 buildCounterTargetInstancesScopedListWarning--; | 7235 buildCounterTargetInstancesScopedListWarning--; |
| 7163 return o; | 7236 return o; |
| 7164 } | 7237 } |
| 7165 | 7238 |
| 7166 checkTargetInstancesScopedListWarning(api.TargetInstancesScopedListWarning o) { | 7239 checkTargetInstancesScopedListWarning(api.TargetInstancesScopedListWarning o) { |
| 7167 buildCounterTargetInstancesScopedListWarning++; | 7240 buildCounterTargetInstancesScopedListWarning++; |
| 7168 if (buildCounterTargetInstancesScopedListWarning < 3) { | 7241 if (buildCounterTargetInstancesScopedListWarning < 3) { |
| 7169 unittest.expect(o.code, unittest.equals('foo')); | 7242 unittest.expect(o.code, unittest.equals('foo')); |
| 7170 checkUnnamed2045(o.data); | 7243 checkUnnamed2150(o.data); |
| 7171 unittest.expect(o.message, unittest.equals('foo')); | 7244 unittest.expect(o.message, unittest.equals('foo')); |
| 7172 } | 7245 } |
| 7173 buildCounterTargetInstancesScopedListWarning--; | 7246 buildCounterTargetInstancesScopedListWarning--; |
| 7174 } | 7247 } |
| 7175 | 7248 |
| 7176 core.int buildCounterTargetInstancesScopedList = 0; | 7249 core.int buildCounterTargetInstancesScopedList = 0; |
| 7177 buildTargetInstancesScopedList() { | 7250 buildTargetInstancesScopedList() { |
| 7178 var o = new api.TargetInstancesScopedList(); | 7251 var o = new api.TargetInstancesScopedList(); |
| 7179 buildCounterTargetInstancesScopedList++; | 7252 buildCounterTargetInstancesScopedList++; |
| 7180 if (buildCounterTargetInstancesScopedList < 3) { | 7253 if (buildCounterTargetInstancesScopedList < 3) { |
| 7181 o.targetInstances = buildUnnamed2044(); | 7254 o.targetInstances = buildUnnamed2149(); |
| 7182 o.warning = buildTargetInstancesScopedListWarning(); | 7255 o.warning = buildTargetInstancesScopedListWarning(); |
| 7183 } | 7256 } |
| 7184 buildCounterTargetInstancesScopedList--; | 7257 buildCounterTargetInstancesScopedList--; |
| 7185 return o; | 7258 return o; |
| 7186 } | 7259 } |
| 7187 | 7260 |
| 7188 checkTargetInstancesScopedList(api.TargetInstancesScopedList o) { | 7261 checkTargetInstancesScopedList(api.TargetInstancesScopedList o) { |
| 7189 buildCounterTargetInstancesScopedList++; | 7262 buildCounterTargetInstancesScopedList++; |
| 7190 if (buildCounterTargetInstancesScopedList < 3) { | 7263 if (buildCounterTargetInstancesScopedList < 3) { |
| 7191 checkUnnamed2044(o.targetInstances); | 7264 checkUnnamed2149(o.targetInstances); |
| 7192 checkTargetInstancesScopedListWarning(o.warning); | 7265 checkTargetInstancesScopedListWarning(o.warning); |
| 7193 } | 7266 } |
| 7194 buildCounterTargetInstancesScopedList--; | 7267 buildCounterTargetInstancesScopedList--; |
| 7195 } | 7268 } |
| 7196 | 7269 |
| 7197 buildUnnamed2046() { | 7270 buildUnnamed2151() { |
| 7198 var o = new core.List<core.String>(); | 7271 var o = new core.List<core.String>(); |
| 7199 o.add("foo"); | 7272 o.add("foo"); |
| 7200 o.add("foo"); | 7273 o.add("foo"); |
| 7201 return o; | 7274 return o; |
| 7202 } | 7275 } |
| 7203 | 7276 |
| 7204 checkUnnamed2046(core.List<core.String> o) { | 7277 checkUnnamed2151(core.List<core.String> o) { |
| 7205 unittest.expect(o, unittest.hasLength(2)); | 7278 unittest.expect(o, unittest.hasLength(2)); |
| 7206 unittest.expect(o[0], unittest.equals('foo')); | 7279 unittest.expect(o[0], unittest.equals('foo')); |
| 7207 unittest.expect(o[1], unittest.equals('foo')); | 7280 unittest.expect(o[1], unittest.equals('foo')); |
| 7208 } | 7281 } |
| 7209 | 7282 |
| 7210 buildUnnamed2047() { | 7283 buildUnnamed2152() { |
| 7211 var o = new core.List<core.String>(); | 7284 var o = new core.List<core.String>(); |
| 7212 o.add("foo"); | 7285 o.add("foo"); |
| 7213 o.add("foo"); | 7286 o.add("foo"); |
| 7214 return o; | 7287 return o; |
| 7215 } | 7288 } |
| 7216 | 7289 |
| 7217 checkUnnamed2047(core.List<core.String> o) { | 7290 checkUnnamed2152(core.List<core.String> o) { |
| 7218 unittest.expect(o, unittest.hasLength(2)); | 7291 unittest.expect(o, unittest.hasLength(2)); |
| 7219 unittest.expect(o[0], unittest.equals('foo')); | 7292 unittest.expect(o[0], unittest.equals('foo')); |
| 7220 unittest.expect(o[1], unittest.equals('foo')); | 7293 unittest.expect(o[1], unittest.equals('foo')); |
| 7221 } | 7294 } |
| 7222 | 7295 |
| 7223 core.int buildCounterTargetPool = 0; | 7296 core.int buildCounterTargetPool = 0; |
| 7224 buildTargetPool() { | 7297 buildTargetPool() { |
| 7225 var o = new api.TargetPool(); | 7298 var o = new api.TargetPool(); |
| 7226 buildCounterTargetPool++; | 7299 buildCounterTargetPool++; |
| 7227 if (buildCounterTargetPool < 3) { | 7300 if (buildCounterTargetPool < 3) { |
| 7228 o.backupPool = "foo"; | 7301 o.backupPool = "foo"; |
| 7229 o.creationTimestamp = "foo"; | 7302 o.creationTimestamp = "foo"; |
| 7230 o.description = "foo"; | 7303 o.description = "foo"; |
| 7231 o.failoverRatio = 42.0; | 7304 o.failoverRatio = 42.0; |
| 7232 o.healthChecks = buildUnnamed2046(); | 7305 o.healthChecks = buildUnnamed2151(); |
| 7233 o.id = "foo"; | 7306 o.id = "foo"; |
| 7234 o.instances = buildUnnamed2047(); | 7307 o.instances = buildUnnamed2152(); |
| 7235 o.kind = "foo"; | 7308 o.kind = "foo"; |
| 7236 o.name = "foo"; | 7309 o.name = "foo"; |
| 7237 o.region = "foo"; | 7310 o.region = "foo"; |
| 7238 o.selfLink = "foo"; | 7311 o.selfLink = "foo"; |
| 7239 o.sessionAffinity = "foo"; | 7312 o.sessionAffinity = "foo"; |
| 7240 } | 7313 } |
| 7241 buildCounterTargetPool--; | 7314 buildCounterTargetPool--; |
| 7242 return o; | 7315 return o; |
| 7243 } | 7316 } |
| 7244 | 7317 |
| 7245 checkTargetPool(api.TargetPool o) { | 7318 checkTargetPool(api.TargetPool o) { |
| 7246 buildCounterTargetPool++; | 7319 buildCounterTargetPool++; |
| 7247 if (buildCounterTargetPool < 3) { | 7320 if (buildCounterTargetPool < 3) { |
| 7248 unittest.expect(o.backupPool, unittest.equals('foo')); | 7321 unittest.expect(o.backupPool, unittest.equals('foo')); |
| 7249 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 7322 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 7250 unittest.expect(o.description, unittest.equals('foo')); | 7323 unittest.expect(o.description, unittest.equals('foo')); |
| 7251 unittest.expect(o.failoverRatio, unittest.equals(42.0)); | 7324 unittest.expect(o.failoverRatio, unittest.equals(42.0)); |
| 7252 checkUnnamed2046(o.healthChecks); | 7325 checkUnnamed2151(o.healthChecks); |
| 7253 unittest.expect(o.id, unittest.equals('foo')); | 7326 unittest.expect(o.id, unittest.equals('foo')); |
| 7254 checkUnnamed2047(o.instances); | 7327 checkUnnamed2152(o.instances); |
| 7255 unittest.expect(o.kind, unittest.equals('foo')); | 7328 unittest.expect(o.kind, unittest.equals('foo')); |
| 7256 unittest.expect(o.name, unittest.equals('foo')); | 7329 unittest.expect(o.name, unittest.equals('foo')); |
| 7257 unittest.expect(o.region, unittest.equals('foo')); | 7330 unittest.expect(o.region, unittest.equals('foo')); |
| 7258 unittest.expect(o.selfLink, unittest.equals('foo')); | 7331 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 7259 unittest.expect(o.sessionAffinity, unittest.equals('foo')); | 7332 unittest.expect(o.sessionAffinity, unittest.equals('foo')); |
| 7260 } | 7333 } |
| 7261 buildCounterTargetPool--; | 7334 buildCounterTargetPool--; |
| 7262 } | 7335 } |
| 7263 | 7336 |
| 7264 buildUnnamed2048() { | 7337 buildUnnamed2153() { |
| 7265 var o = new core.Map<core.String, api.TargetPoolsScopedList>(); | 7338 var o = new core.Map<core.String, api.TargetPoolsScopedList>(); |
| 7266 o["x"] = buildTargetPoolsScopedList(); | 7339 o["x"] = buildTargetPoolsScopedList(); |
| 7267 o["y"] = buildTargetPoolsScopedList(); | 7340 o["y"] = buildTargetPoolsScopedList(); |
| 7268 return o; | 7341 return o; |
| 7269 } | 7342 } |
| 7270 | 7343 |
| 7271 checkUnnamed2048(core.Map<core.String, api.TargetPoolsScopedList> o) { | 7344 checkUnnamed2153(core.Map<core.String, api.TargetPoolsScopedList> o) { |
| 7272 unittest.expect(o, unittest.hasLength(2)); | 7345 unittest.expect(o, unittest.hasLength(2)); |
| 7273 checkTargetPoolsScopedList(o["x"]); | 7346 checkTargetPoolsScopedList(o["x"]); |
| 7274 checkTargetPoolsScopedList(o["y"]); | 7347 checkTargetPoolsScopedList(o["y"]); |
| 7275 } | 7348 } |
| 7276 | 7349 |
| 7277 core.int buildCounterTargetPoolAggregatedList = 0; | 7350 core.int buildCounterTargetPoolAggregatedList = 0; |
| 7278 buildTargetPoolAggregatedList() { | 7351 buildTargetPoolAggregatedList() { |
| 7279 var o = new api.TargetPoolAggregatedList(); | 7352 var o = new api.TargetPoolAggregatedList(); |
| 7280 buildCounterTargetPoolAggregatedList++; | 7353 buildCounterTargetPoolAggregatedList++; |
| 7281 if (buildCounterTargetPoolAggregatedList < 3) { | 7354 if (buildCounterTargetPoolAggregatedList < 3) { |
| 7282 o.id = "foo"; | 7355 o.id = "foo"; |
| 7283 o.items = buildUnnamed2048(); | 7356 o.items = buildUnnamed2153(); |
| 7284 o.kind = "foo"; | 7357 o.kind = "foo"; |
| 7285 o.nextPageToken = "foo"; | 7358 o.nextPageToken = "foo"; |
| 7286 o.selfLink = "foo"; | 7359 o.selfLink = "foo"; |
| 7287 } | 7360 } |
| 7288 buildCounterTargetPoolAggregatedList--; | 7361 buildCounterTargetPoolAggregatedList--; |
| 7289 return o; | 7362 return o; |
| 7290 } | 7363 } |
| 7291 | 7364 |
| 7292 checkTargetPoolAggregatedList(api.TargetPoolAggregatedList o) { | 7365 checkTargetPoolAggregatedList(api.TargetPoolAggregatedList o) { |
| 7293 buildCounterTargetPoolAggregatedList++; | 7366 buildCounterTargetPoolAggregatedList++; |
| 7294 if (buildCounterTargetPoolAggregatedList < 3) { | 7367 if (buildCounterTargetPoolAggregatedList < 3) { |
| 7295 unittest.expect(o.id, unittest.equals('foo')); | 7368 unittest.expect(o.id, unittest.equals('foo')); |
| 7296 checkUnnamed2048(o.items); | 7369 checkUnnamed2153(o.items); |
| 7297 unittest.expect(o.kind, unittest.equals('foo')); | 7370 unittest.expect(o.kind, unittest.equals('foo')); |
| 7298 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 7371 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 7299 unittest.expect(o.selfLink, unittest.equals('foo')); | 7372 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 7300 } | 7373 } |
| 7301 buildCounterTargetPoolAggregatedList--; | 7374 buildCounterTargetPoolAggregatedList--; |
| 7302 } | 7375 } |
| 7303 | 7376 |
| 7304 buildUnnamed2049() { | 7377 buildUnnamed2154() { |
| 7305 var o = new core.List<api.HealthStatus>(); | 7378 var o = new core.List<api.HealthStatus>(); |
| 7306 o.add(buildHealthStatus()); | 7379 o.add(buildHealthStatus()); |
| 7307 o.add(buildHealthStatus()); | 7380 o.add(buildHealthStatus()); |
| 7308 return o; | 7381 return o; |
| 7309 } | 7382 } |
| 7310 | 7383 |
| 7311 checkUnnamed2049(core.List<api.HealthStatus> o) { | 7384 checkUnnamed2154(core.List<api.HealthStatus> o) { |
| 7312 unittest.expect(o, unittest.hasLength(2)); | 7385 unittest.expect(o, unittest.hasLength(2)); |
| 7313 checkHealthStatus(o[0]); | 7386 checkHealthStatus(o[0]); |
| 7314 checkHealthStatus(o[1]); | 7387 checkHealthStatus(o[1]); |
| 7315 } | 7388 } |
| 7316 | 7389 |
| 7317 core.int buildCounterTargetPoolInstanceHealth = 0; | 7390 core.int buildCounterTargetPoolInstanceHealth = 0; |
| 7318 buildTargetPoolInstanceHealth() { | 7391 buildTargetPoolInstanceHealth() { |
| 7319 var o = new api.TargetPoolInstanceHealth(); | 7392 var o = new api.TargetPoolInstanceHealth(); |
| 7320 buildCounterTargetPoolInstanceHealth++; | 7393 buildCounterTargetPoolInstanceHealth++; |
| 7321 if (buildCounterTargetPoolInstanceHealth < 3) { | 7394 if (buildCounterTargetPoolInstanceHealth < 3) { |
| 7322 o.healthStatus = buildUnnamed2049(); | 7395 o.healthStatus = buildUnnamed2154(); |
| 7323 o.kind = "foo"; | 7396 o.kind = "foo"; |
| 7324 } | 7397 } |
| 7325 buildCounterTargetPoolInstanceHealth--; | 7398 buildCounterTargetPoolInstanceHealth--; |
| 7326 return o; | 7399 return o; |
| 7327 } | 7400 } |
| 7328 | 7401 |
| 7329 checkTargetPoolInstanceHealth(api.TargetPoolInstanceHealth o) { | 7402 checkTargetPoolInstanceHealth(api.TargetPoolInstanceHealth o) { |
| 7330 buildCounterTargetPoolInstanceHealth++; | 7403 buildCounterTargetPoolInstanceHealth++; |
| 7331 if (buildCounterTargetPoolInstanceHealth < 3) { | 7404 if (buildCounterTargetPoolInstanceHealth < 3) { |
| 7332 checkUnnamed2049(o.healthStatus); | 7405 checkUnnamed2154(o.healthStatus); |
| 7333 unittest.expect(o.kind, unittest.equals('foo')); | 7406 unittest.expect(o.kind, unittest.equals('foo')); |
| 7334 } | 7407 } |
| 7335 buildCounterTargetPoolInstanceHealth--; | 7408 buildCounterTargetPoolInstanceHealth--; |
| 7336 } | 7409 } |
| 7337 | 7410 |
| 7338 buildUnnamed2050() { | 7411 buildUnnamed2155() { |
| 7339 var o = new core.List<api.TargetPool>(); | 7412 var o = new core.List<api.TargetPool>(); |
| 7340 o.add(buildTargetPool()); | 7413 o.add(buildTargetPool()); |
| 7341 o.add(buildTargetPool()); | 7414 o.add(buildTargetPool()); |
| 7342 return o; | 7415 return o; |
| 7343 } | 7416 } |
| 7344 | 7417 |
| 7345 checkUnnamed2050(core.List<api.TargetPool> o) { | 7418 checkUnnamed2155(core.List<api.TargetPool> o) { |
| 7346 unittest.expect(o, unittest.hasLength(2)); | 7419 unittest.expect(o, unittest.hasLength(2)); |
| 7347 checkTargetPool(o[0]); | 7420 checkTargetPool(o[0]); |
| 7348 checkTargetPool(o[1]); | 7421 checkTargetPool(o[1]); |
| 7349 } | 7422 } |
| 7350 | 7423 |
| 7351 core.int buildCounterTargetPoolList = 0; | 7424 core.int buildCounterTargetPoolList = 0; |
| 7352 buildTargetPoolList() { | 7425 buildTargetPoolList() { |
| 7353 var o = new api.TargetPoolList(); | 7426 var o = new api.TargetPoolList(); |
| 7354 buildCounterTargetPoolList++; | 7427 buildCounterTargetPoolList++; |
| 7355 if (buildCounterTargetPoolList < 3) { | 7428 if (buildCounterTargetPoolList < 3) { |
| 7356 o.id = "foo"; | 7429 o.id = "foo"; |
| 7357 o.items = buildUnnamed2050(); | 7430 o.items = buildUnnamed2155(); |
| 7358 o.kind = "foo"; | 7431 o.kind = "foo"; |
| 7359 o.nextPageToken = "foo"; | 7432 o.nextPageToken = "foo"; |
| 7360 o.selfLink = "foo"; | 7433 o.selfLink = "foo"; |
| 7361 } | 7434 } |
| 7362 buildCounterTargetPoolList--; | 7435 buildCounterTargetPoolList--; |
| 7363 return o; | 7436 return o; |
| 7364 } | 7437 } |
| 7365 | 7438 |
| 7366 checkTargetPoolList(api.TargetPoolList o) { | 7439 checkTargetPoolList(api.TargetPoolList o) { |
| 7367 buildCounterTargetPoolList++; | 7440 buildCounterTargetPoolList++; |
| 7368 if (buildCounterTargetPoolList < 3) { | 7441 if (buildCounterTargetPoolList < 3) { |
| 7369 unittest.expect(o.id, unittest.equals('foo')); | 7442 unittest.expect(o.id, unittest.equals('foo')); |
| 7370 checkUnnamed2050(o.items); | 7443 checkUnnamed2155(o.items); |
| 7371 unittest.expect(o.kind, unittest.equals('foo')); | 7444 unittest.expect(o.kind, unittest.equals('foo')); |
| 7372 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 7445 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 7373 unittest.expect(o.selfLink, unittest.equals('foo')); | 7446 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 7374 } | 7447 } |
| 7375 buildCounterTargetPoolList--; | 7448 buildCounterTargetPoolList--; |
| 7376 } | 7449 } |
| 7377 | 7450 |
| 7378 buildUnnamed2051() { | 7451 buildUnnamed2156() { |
| 7379 var o = new core.List<api.HealthCheckReference>(); | 7452 var o = new core.List<api.HealthCheckReference>(); |
| 7380 o.add(buildHealthCheckReference()); | 7453 o.add(buildHealthCheckReference()); |
| 7381 o.add(buildHealthCheckReference()); | 7454 o.add(buildHealthCheckReference()); |
| 7382 return o; | 7455 return o; |
| 7383 } | 7456 } |
| 7384 | 7457 |
| 7385 checkUnnamed2051(core.List<api.HealthCheckReference> o) { | 7458 checkUnnamed2156(core.List<api.HealthCheckReference> o) { |
| 7386 unittest.expect(o, unittest.hasLength(2)); | 7459 unittest.expect(o, unittest.hasLength(2)); |
| 7387 checkHealthCheckReference(o[0]); | 7460 checkHealthCheckReference(o[0]); |
| 7388 checkHealthCheckReference(o[1]); | 7461 checkHealthCheckReference(o[1]); |
| 7389 } | 7462 } |
| 7390 | 7463 |
| 7391 core.int buildCounterTargetPoolsAddHealthCheckRequest = 0; | 7464 core.int buildCounterTargetPoolsAddHealthCheckRequest = 0; |
| 7392 buildTargetPoolsAddHealthCheckRequest() { | 7465 buildTargetPoolsAddHealthCheckRequest() { |
| 7393 var o = new api.TargetPoolsAddHealthCheckRequest(); | 7466 var o = new api.TargetPoolsAddHealthCheckRequest(); |
| 7394 buildCounterTargetPoolsAddHealthCheckRequest++; | 7467 buildCounterTargetPoolsAddHealthCheckRequest++; |
| 7395 if (buildCounterTargetPoolsAddHealthCheckRequest < 3) { | 7468 if (buildCounterTargetPoolsAddHealthCheckRequest < 3) { |
| 7396 o.healthChecks = buildUnnamed2051(); | 7469 o.healthChecks = buildUnnamed2156(); |
| 7397 } | 7470 } |
| 7398 buildCounterTargetPoolsAddHealthCheckRequest--; | 7471 buildCounterTargetPoolsAddHealthCheckRequest--; |
| 7399 return o; | 7472 return o; |
| 7400 } | 7473 } |
| 7401 | 7474 |
| 7402 checkTargetPoolsAddHealthCheckRequest(api.TargetPoolsAddHealthCheckRequest o) { | 7475 checkTargetPoolsAddHealthCheckRequest(api.TargetPoolsAddHealthCheckRequest o) { |
| 7403 buildCounterTargetPoolsAddHealthCheckRequest++; | 7476 buildCounterTargetPoolsAddHealthCheckRequest++; |
| 7404 if (buildCounterTargetPoolsAddHealthCheckRequest < 3) { | 7477 if (buildCounterTargetPoolsAddHealthCheckRequest < 3) { |
| 7405 checkUnnamed2051(o.healthChecks); | 7478 checkUnnamed2156(o.healthChecks); |
| 7406 } | 7479 } |
| 7407 buildCounterTargetPoolsAddHealthCheckRequest--; | 7480 buildCounterTargetPoolsAddHealthCheckRequest--; |
| 7408 } | 7481 } |
| 7409 | 7482 |
| 7410 buildUnnamed2052() { | 7483 buildUnnamed2157() { |
| 7411 var o = new core.List<api.InstanceReference>(); | 7484 var o = new core.List<api.InstanceReference>(); |
| 7412 o.add(buildInstanceReference()); | 7485 o.add(buildInstanceReference()); |
| 7413 o.add(buildInstanceReference()); | 7486 o.add(buildInstanceReference()); |
| 7414 return o; | 7487 return o; |
| 7415 } | 7488 } |
| 7416 | 7489 |
| 7417 checkUnnamed2052(core.List<api.InstanceReference> o) { | 7490 checkUnnamed2157(core.List<api.InstanceReference> o) { |
| 7418 unittest.expect(o, unittest.hasLength(2)); | 7491 unittest.expect(o, unittest.hasLength(2)); |
| 7419 checkInstanceReference(o[0]); | 7492 checkInstanceReference(o[0]); |
| 7420 checkInstanceReference(o[1]); | 7493 checkInstanceReference(o[1]); |
| 7421 } | 7494 } |
| 7422 | 7495 |
| 7423 core.int buildCounterTargetPoolsAddInstanceRequest = 0; | 7496 core.int buildCounterTargetPoolsAddInstanceRequest = 0; |
| 7424 buildTargetPoolsAddInstanceRequest() { | 7497 buildTargetPoolsAddInstanceRequest() { |
| 7425 var o = new api.TargetPoolsAddInstanceRequest(); | 7498 var o = new api.TargetPoolsAddInstanceRequest(); |
| 7426 buildCounterTargetPoolsAddInstanceRequest++; | 7499 buildCounterTargetPoolsAddInstanceRequest++; |
| 7427 if (buildCounterTargetPoolsAddInstanceRequest < 3) { | 7500 if (buildCounterTargetPoolsAddInstanceRequest < 3) { |
| 7428 o.instances = buildUnnamed2052(); | 7501 o.instances = buildUnnamed2157(); |
| 7429 } | 7502 } |
| 7430 buildCounterTargetPoolsAddInstanceRequest--; | 7503 buildCounterTargetPoolsAddInstanceRequest--; |
| 7431 return o; | 7504 return o; |
| 7432 } | 7505 } |
| 7433 | 7506 |
| 7434 checkTargetPoolsAddInstanceRequest(api.TargetPoolsAddInstanceRequest o) { | 7507 checkTargetPoolsAddInstanceRequest(api.TargetPoolsAddInstanceRequest o) { |
| 7435 buildCounterTargetPoolsAddInstanceRequest++; | 7508 buildCounterTargetPoolsAddInstanceRequest++; |
| 7436 if (buildCounterTargetPoolsAddInstanceRequest < 3) { | 7509 if (buildCounterTargetPoolsAddInstanceRequest < 3) { |
| 7437 checkUnnamed2052(o.instances); | 7510 checkUnnamed2157(o.instances); |
| 7438 } | 7511 } |
| 7439 buildCounterTargetPoolsAddInstanceRequest--; | 7512 buildCounterTargetPoolsAddInstanceRequest--; |
| 7440 } | 7513 } |
| 7441 | 7514 |
| 7442 buildUnnamed2053() { | 7515 buildUnnamed2158() { |
| 7443 var o = new core.List<api.HealthCheckReference>(); | 7516 var o = new core.List<api.HealthCheckReference>(); |
| 7444 o.add(buildHealthCheckReference()); | 7517 o.add(buildHealthCheckReference()); |
| 7445 o.add(buildHealthCheckReference()); | 7518 o.add(buildHealthCheckReference()); |
| 7446 return o; | 7519 return o; |
| 7447 } | 7520 } |
| 7448 | 7521 |
| 7449 checkUnnamed2053(core.List<api.HealthCheckReference> o) { | 7522 checkUnnamed2158(core.List<api.HealthCheckReference> o) { |
| 7450 unittest.expect(o, unittest.hasLength(2)); | 7523 unittest.expect(o, unittest.hasLength(2)); |
| 7451 checkHealthCheckReference(o[0]); | 7524 checkHealthCheckReference(o[0]); |
| 7452 checkHealthCheckReference(o[1]); | 7525 checkHealthCheckReference(o[1]); |
| 7453 } | 7526 } |
| 7454 | 7527 |
| 7455 core.int buildCounterTargetPoolsRemoveHealthCheckRequest = 0; | 7528 core.int buildCounterTargetPoolsRemoveHealthCheckRequest = 0; |
| 7456 buildTargetPoolsRemoveHealthCheckRequest() { | 7529 buildTargetPoolsRemoveHealthCheckRequest() { |
| 7457 var o = new api.TargetPoolsRemoveHealthCheckRequest(); | 7530 var o = new api.TargetPoolsRemoveHealthCheckRequest(); |
| 7458 buildCounterTargetPoolsRemoveHealthCheckRequest++; | 7531 buildCounterTargetPoolsRemoveHealthCheckRequest++; |
| 7459 if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) { | 7532 if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) { |
| 7460 o.healthChecks = buildUnnamed2053(); | 7533 o.healthChecks = buildUnnamed2158(); |
| 7461 } | 7534 } |
| 7462 buildCounterTargetPoolsRemoveHealthCheckRequest--; | 7535 buildCounterTargetPoolsRemoveHealthCheckRequest--; |
| 7463 return o; | 7536 return o; |
| 7464 } | 7537 } |
| 7465 | 7538 |
| 7466 checkTargetPoolsRemoveHealthCheckRequest(api.TargetPoolsRemoveHealthCheckRequest
o) { | 7539 checkTargetPoolsRemoveHealthCheckRequest(api.TargetPoolsRemoveHealthCheckRequest
o) { |
| 7467 buildCounterTargetPoolsRemoveHealthCheckRequest++; | 7540 buildCounterTargetPoolsRemoveHealthCheckRequest++; |
| 7468 if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) { | 7541 if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) { |
| 7469 checkUnnamed2053(o.healthChecks); | 7542 checkUnnamed2158(o.healthChecks); |
| 7470 } | 7543 } |
| 7471 buildCounterTargetPoolsRemoveHealthCheckRequest--; | 7544 buildCounterTargetPoolsRemoveHealthCheckRequest--; |
| 7472 } | 7545 } |
| 7473 | 7546 |
| 7474 buildUnnamed2054() { | 7547 buildUnnamed2159() { |
| 7475 var o = new core.List<api.InstanceReference>(); | 7548 var o = new core.List<api.InstanceReference>(); |
| 7476 o.add(buildInstanceReference()); | 7549 o.add(buildInstanceReference()); |
| 7477 o.add(buildInstanceReference()); | 7550 o.add(buildInstanceReference()); |
| 7478 return o; | 7551 return o; |
| 7479 } | 7552 } |
| 7480 | 7553 |
| 7481 checkUnnamed2054(core.List<api.InstanceReference> o) { | 7554 checkUnnamed2159(core.List<api.InstanceReference> o) { |
| 7482 unittest.expect(o, unittest.hasLength(2)); | 7555 unittest.expect(o, unittest.hasLength(2)); |
| 7483 checkInstanceReference(o[0]); | 7556 checkInstanceReference(o[0]); |
| 7484 checkInstanceReference(o[1]); | 7557 checkInstanceReference(o[1]); |
| 7485 } | 7558 } |
| 7486 | 7559 |
| 7487 core.int buildCounterTargetPoolsRemoveInstanceRequest = 0; | 7560 core.int buildCounterTargetPoolsRemoveInstanceRequest = 0; |
| 7488 buildTargetPoolsRemoveInstanceRequest() { | 7561 buildTargetPoolsRemoveInstanceRequest() { |
| 7489 var o = new api.TargetPoolsRemoveInstanceRequest(); | 7562 var o = new api.TargetPoolsRemoveInstanceRequest(); |
| 7490 buildCounterTargetPoolsRemoveInstanceRequest++; | 7563 buildCounterTargetPoolsRemoveInstanceRequest++; |
| 7491 if (buildCounterTargetPoolsRemoveInstanceRequest < 3) { | 7564 if (buildCounterTargetPoolsRemoveInstanceRequest < 3) { |
| 7492 o.instances = buildUnnamed2054(); | 7565 o.instances = buildUnnamed2159(); |
| 7493 } | 7566 } |
| 7494 buildCounterTargetPoolsRemoveInstanceRequest--; | 7567 buildCounterTargetPoolsRemoveInstanceRequest--; |
| 7495 return o; | 7568 return o; |
| 7496 } | 7569 } |
| 7497 | 7570 |
| 7498 checkTargetPoolsRemoveInstanceRequest(api.TargetPoolsRemoveInstanceRequest o) { | 7571 checkTargetPoolsRemoveInstanceRequest(api.TargetPoolsRemoveInstanceRequest o) { |
| 7499 buildCounterTargetPoolsRemoveInstanceRequest++; | 7572 buildCounterTargetPoolsRemoveInstanceRequest++; |
| 7500 if (buildCounterTargetPoolsRemoveInstanceRequest < 3) { | 7573 if (buildCounterTargetPoolsRemoveInstanceRequest < 3) { |
| 7501 checkUnnamed2054(o.instances); | 7574 checkUnnamed2159(o.instances); |
| 7502 } | 7575 } |
| 7503 buildCounterTargetPoolsRemoveInstanceRequest--; | 7576 buildCounterTargetPoolsRemoveInstanceRequest--; |
| 7504 } | 7577 } |
| 7505 | 7578 |
| 7506 buildUnnamed2055() { | 7579 buildUnnamed2160() { |
| 7507 var o = new core.List<api.TargetPool>(); | 7580 var o = new core.List<api.TargetPool>(); |
| 7508 o.add(buildTargetPool()); | 7581 o.add(buildTargetPool()); |
| 7509 o.add(buildTargetPool()); | 7582 o.add(buildTargetPool()); |
| 7510 return o; | 7583 return o; |
| 7511 } | 7584 } |
| 7512 | 7585 |
| 7513 checkUnnamed2055(core.List<api.TargetPool> o) { | 7586 checkUnnamed2160(core.List<api.TargetPool> o) { |
| 7514 unittest.expect(o, unittest.hasLength(2)); | 7587 unittest.expect(o, unittest.hasLength(2)); |
| 7515 checkTargetPool(o[0]); | 7588 checkTargetPool(o[0]); |
| 7516 checkTargetPool(o[1]); | 7589 checkTargetPool(o[1]); |
| 7517 } | 7590 } |
| 7518 | 7591 |
| 7519 core.int buildCounterTargetPoolsScopedListWarningData = 0; | 7592 core.int buildCounterTargetPoolsScopedListWarningData = 0; |
| 7520 buildTargetPoolsScopedListWarningData() { | 7593 buildTargetPoolsScopedListWarningData() { |
| 7521 var o = new api.TargetPoolsScopedListWarningData(); | 7594 var o = new api.TargetPoolsScopedListWarningData(); |
| 7522 buildCounterTargetPoolsScopedListWarningData++; | 7595 buildCounterTargetPoolsScopedListWarningData++; |
| 7523 if (buildCounterTargetPoolsScopedListWarningData < 3) { | 7596 if (buildCounterTargetPoolsScopedListWarningData < 3) { |
| 7524 o.key = "foo"; | 7597 o.key = "foo"; |
| 7525 o.value = "foo"; | 7598 o.value = "foo"; |
| 7526 } | 7599 } |
| 7527 buildCounterTargetPoolsScopedListWarningData--; | 7600 buildCounterTargetPoolsScopedListWarningData--; |
| 7528 return o; | 7601 return o; |
| 7529 } | 7602 } |
| 7530 | 7603 |
| 7531 checkTargetPoolsScopedListWarningData(api.TargetPoolsScopedListWarningData o) { | 7604 checkTargetPoolsScopedListWarningData(api.TargetPoolsScopedListWarningData o) { |
| 7532 buildCounterTargetPoolsScopedListWarningData++; | 7605 buildCounterTargetPoolsScopedListWarningData++; |
| 7533 if (buildCounterTargetPoolsScopedListWarningData < 3) { | 7606 if (buildCounterTargetPoolsScopedListWarningData < 3) { |
| 7534 unittest.expect(o.key, unittest.equals('foo')); | 7607 unittest.expect(o.key, unittest.equals('foo')); |
| 7535 unittest.expect(o.value, unittest.equals('foo')); | 7608 unittest.expect(o.value, unittest.equals('foo')); |
| 7536 } | 7609 } |
| 7537 buildCounterTargetPoolsScopedListWarningData--; | 7610 buildCounterTargetPoolsScopedListWarningData--; |
| 7538 } | 7611 } |
| 7539 | 7612 |
| 7540 buildUnnamed2056() { | 7613 buildUnnamed2161() { |
| 7541 var o = new core.List<api.TargetPoolsScopedListWarningData>(); | 7614 var o = new core.List<api.TargetPoolsScopedListWarningData>(); |
| 7542 o.add(buildTargetPoolsScopedListWarningData()); | 7615 o.add(buildTargetPoolsScopedListWarningData()); |
| 7543 o.add(buildTargetPoolsScopedListWarningData()); | 7616 o.add(buildTargetPoolsScopedListWarningData()); |
| 7544 return o; | 7617 return o; |
| 7545 } | 7618 } |
| 7546 | 7619 |
| 7547 checkUnnamed2056(core.List<api.TargetPoolsScopedListWarningData> o) { | 7620 checkUnnamed2161(core.List<api.TargetPoolsScopedListWarningData> o) { |
| 7548 unittest.expect(o, unittest.hasLength(2)); | 7621 unittest.expect(o, unittest.hasLength(2)); |
| 7549 checkTargetPoolsScopedListWarningData(o[0]); | 7622 checkTargetPoolsScopedListWarningData(o[0]); |
| 7550 checkTargetPoolsScopedListWarningData(o[1]); | 7623 checkTargetPoolsScopedListWarningData(o[1]); |
| 7551 } | 7624 } |
| 7552 | 7625 |
| 7553 core.int buildCounterTargetPoolsScopedListWarning = 0; | 7626 core.int buildCounterTargetPoolsScopedListWarning = 0; |
| 7554 buildTargetPoolsScopedListWarning() { | 7627 buildTargetPoolsScopedListWarning() { |
| 7555 var o = new api.TargetPoolsScopedListWarning(); | 7628 var o = new api.TargetPoolsScopedListWarning(); |
| 7556 buildCounterTargetPoolsScopedListWarning++; | 7629 buildCounterTargetPoolsScopedListWarning++; |
| 7557 if (buildCounterTargetPoolsScopedListWarning < 3) { | 7630 if (buildCounterTargetPoolsScopedListWarning < 3) { |
| 7558 o.code = "foo"; | 7631 o.code = "foo"; |
| 7559 o.data = buildUnnamed2056(); | 7632 o.data = buildUnnamed2161(); |
| 7560 o.message = "foo"; | 7633 o.message = "foo"; |
| 7561 } | 7634 } |
| 7562 buildCounterTargetPoolsScopedListWarning--; | 7635 buildCounterTargetPoolsScopedListWarning--; |
| 7563 return o; | 7636 return o; |
| 7564 } | 7637 } |
| 7565 | 7638 |
| 7566 checkTargetPoolsScopedListWarning(api.TargetPoolsScopedListWarning o) { | 7639 checkTargetPoolsScopedListWarning(api.TargetPoolsScopedListWarning o) { |
| 7567 buildCounterTargetPoolsScopedListWarning++; | 7640 buildCounterTargetPoolsScopedListWarning++; |
| 7568 if (buildCounterTargetPoolsScopedListWarning < 3) { | 7641 if (buildCounterTargetPoolsScopedListWarning < 3) { |
| 7569 unittest.expect(o.code, unittest.equals('foo')); | 7642 unittest.expect(o.code, unittest.equals('foo')); |
| 7570 checkUnnamed2056(o.data); | 7643 checkUnnamed2161(o.data); |
| 7571 unittest.expect(o.message, unittest.equals('foo')); | 7644 unittest.expect(o.message, unittest.equals('foo')); |
| 7572 } | 7645 } |
| 7573 buildCounterTargetPoolsScopedListWarning--; | 7646 buildCounterTargetPoolsScopedListWarning--; |
| 7574 } | 7647 } |
| 7575 | 7648 |
| 7576 core.int buildCounterTargetPoolsScopedList = 0; | 7649 core.int buildCounterTargetPoolsScopedList = 0; |
| 7577 buildTargetPoolsScopedList() { | 7650 buildTargetPoolsScopedList() { |
| 7578 var o = new api.TargetPoolsScopedList(); | 7651 var o = new api.TargetPoolsScopedList(); |
| 7579 buildCounterTargetPoolsScopedList++; | 7652 buildCounterTargetPoolsScopedList++; |
| 7580 if (buildCounterTargetPoolsScopedList < 3) { | 7653 if (buildCounterTargetPoolsScopedList < 3) { |
| 7581 o.targetPools = buildUnnamed2055(); | 7654 o.targetPools = buildUnnamed2160(); |
| 7582 o.warning = buildTargetPoolsScopedListWarning(); | 7655 o.warning = buildTargetPoolsScopedListWarning(); |
| 7583 } | 7656 } |
| 7584 buildCounterTargetPoolsScopedList--; | 7657 buildCounterTargetPoolsScopedList--; |
| 7585 return o; | 7658 return o; |
| 7586 } | 7659 } |
| 7587 | 7660 |
| 7588 checkTargetPoolsScopedList(api.TargetPoolsScopedList o) { | 7661 checkTargetPoolsScopedList(api.TargetPoolsScopedList o) { |
| 7589 buildCounterTargetPoolsScopedList++; | 7662 buildCounterTargetPoolsScopedList++; |
| 7590 if (buildCounterTargetPoolsScopedList < 3) { | 7663 if (buildCounterTargetPoolsScopedList < 3) { |
| 7591 checkUnnamed2055(o.targetPools); | 7664 checkUnnamed2160(o.targetPools); |
| 7592 checkTargetPoolsScopedListWarning(o.warning); | 7665 checkTargetPoolsScopedListWarning(o.warning); |
| 7593 } | 7666 } |
| 7594 buildCounterTargetPoolsScopedList--; | 7667 buildCounterTargetPoolsScopedList--; |
| 7595 } | 7668 } |
| 7596 | 7669 |
| 7597 core.int buildCounterTargetReference = 0; | 7670 core.int buildCounterTargetReference = 0; |
| 7598 buildTargetReference() { | 7671 buildTargetReference() { |
| 7599 var o = new api.TargetReference(); | 7672 var o = new api.TargetReference(); |
| 7600 buildCounterTargetReference++; | 7673 buildCounterTargetReference++; |
| 7601 if (buildCounterTargetReference < 3) { | 7674 if (buildCounterTargetReference < 3) { |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7644 } | 7717 } |
| 7645 | 7718 |
| 7646 checkTargetSslProxiesSetProxyHeaderRequest(api.TargetSslProxiesSetProxyHeaderReq
uest o) { | 7719 checkTargetSslProxiesSetProxyHeaderRequest(api.TargetSslProxiesSetProxyHeaderReq
uest o) { |
| 7647 buildCounterTargetSslProxiesSetProxyHeaderRequest++; | 7720 buildCounterTargetSslProxiesSetProxyHeaderRequest++; |
| 7648 if (buildCounterTargetSslProxiesSetProxyHeaderRequest < 3) { | 7721 if (buildCounterTargetSslProxiesSetProxyHeaderRequest < 3) { |
| 7649 unittest.expect(o.proxyHeader, unittest.equals('foo')); | 7722 unittest.expect(o.proxyHeader, unittest.equals('foo')); |
| 7650 } | 7723 } |
| 7651 buildCounterTargetSslProxiesSetProxyHeaderRequest--; | 7724 buildCounterTargetSslProxiesSetProxyHeaderRequest--; |
| 7652 } | 7725 } |
| 7653 | 7726 |
| 7654 buildUnnamed2057() { | 7727 buildUnnamed2162() { |
| 7655 var o = new core.List<core.String>(); | 7728 var o = new core.List<core.String>(); |
| 7656 o.add("foo"); | 7729 o.add("foo"); |
| 7657 o.add("foo"); | 7730 o.add("foo"); |
| 7658 return o; | 7731 return o; |
| 7659 } | 7732 } |
| 7660 | 7733 |
| 7661 checkUnnamed2057(core.List<core.String> o) { | 7734 checkUnnamed2162(core.List<core.String> o) { |
| 7662 unittest.expect(o, unittest.hasLength(2)); | 7735 unittest.expect(o, unittest.hasLength(2)); |
| 7663 unittest.expect(o[0], unittest.equals('foo')); | 7736 unittest.expect(o[0], unittest.equals('foo')); |
| 7664 unittest.expect(o[1], unittest.equals('foo')); | 7737 unittest.expect(o[1], unittest.equals('foo')); |
| 7665 } | 7738 } |
| 7666 | 7739 |
| 7667 core.int buildCounterTargetSslProxiesSetSslCertificatesRequest = 0; | 7740 core.int buildCounterTargetSslProxiesSetSslCertificatesRequest = 0; |
| 7668 buildTargetSslProxiesSetSslCertificatesRequest() { | 7741 buildTargetSslProxiesSetSslCertificatesRequest() { |
| 7669 var o = new api.TargetSslProxiesSetSslCertificatesRequest(); | 7742 var o = new api.TargetSslProxiesSetSslCertificatesRequest(); |
| 7670 buildCounterTargetSslProxiesSetSslCertificatesRequest++; | 7743 buildCounterTargetSslProxiesSetSslCertificatesRequest++; |
| 7671 if (buildCounterTargetSslProxiesSetSslCertificatesRequest < 3) { | 7744 if (buildCounterTargetSslProxiesSetSslCertificatesRequest < 3) { |
| 7672 o.sslCertificates = buildUnnamed2057(); | 7745 o.sslCertificates = buildUnnamed2162(); |
| 7673 } | 7746 } |
| 7674 buildCounterTargetSslProxiesSetSslCertificatesRequest--; | 7747 buildCounterTargetSslProxiesSetSslCertificatesRequest--; |
| 7675 return o; | 7748 return o; |
| 7676 } | 7749 } |
| 7677 | 7750 |
| 7678 checkTargetSslProxiesSetSslCertificatesRequest(api.TargetSslProxiesSetSslCertifi
catesRequest o) { | 7751 checkTargetSslProxiesSetSslCertificatesRequest(api.TargetSslProxiesSetSslCertifi
catesRequest o) { |
| 7679 buildCounterTargetSslProxiesSetSslCertificatesRequest++; | 7752 buildCounterTargetSslProxiesSetSslCertificatesRequest++; |
| 7680 if (buildCounterTargetSslProxiesSetSslCertificatesRequest < 3) { | 7753 if (buildCounterTargetSslProxiesSetSslCertificatesRequest < 3) { |
| 7681 checkUnnamed2057(o.sslCertificates); | 7754 checkUnnamed2162(o.sslCertificates); |
| 7682 } | 7755 } |
| 7683 buildCounterTargetSslProxiesSetSslCertificatesRequest--; | 7756 buildCounterTargetSslProxiesSetSslCertificatesRequest--; |
| 7684 } | 7757 } |
| 7685 | 7758 |
| 7686 buildUnnamed2058() { | 7759 buildUnnamed2163() { |
| 7687 var o = new core.List<core.String>(); | 7760 var o = new core.List<core.String>(); |
| 7688 o.add("foo"); | 7761 o.add("foo"); |
| 7689 o.add("foo"); | 7762 o.add("foo"); |
| 7690 return o; | 7763 return o; |
| 7691 } | 7764 } |
| 7692 | 7765 |
| 7693 checkUnnamed2058(core.List<core.String> o) { | 7766 checkUnnamed2163(core.List<core.String> o) { |
| 7694 unittest.expect(o, unittest.hasLength(2)); | 7767 unittest.expect(o, unittest.hasLength(2)); |
| 7695 unittest.expect(o[0], unittest.equals('foo')); | 7768 unittest.expect(o[0], unittest.equals('foo')); |
| 7696 unittest.expect(o[1], unittest.equals('foo')); | 7769 unittest.expect(o[1], unittest.equals('foo')); |
| 7697 } | 7770 } |
| 7698 | 7771 |
| 7699 core.int buildCounterTargetSslProxy = 0; | 7772 core.int buildCounterTargetSslProxy = 0; |
| 7700 buildTargetSslProxy() { | 7773 buildTargetSslProxy() { |
| 7701 var o = new api.TargetSslProxy(); | 7774 var o = new api.TargetSslProxy(); |
| 7702 buildCounterTargetSslProxy++; | 7775 buildCounterTargetSslProxy++; |
| 7703 if (buildCounterTargetSslProxy < 3) { | 7776 if (buildCounterTargetSslProxy < 3) { |
| 7704 o.creationTimestamp = "foo"; | 7777 o.creationTimestamp = "foo"; |
| 7705 o.description = "foo"; | 7778 o.description = "foo"; |
| 7706 o.id = "foo"; | 7779 o.id = "foo"; |
| 7707 o.kind = "foo"; | 7780 o.kind = "foo"; |
| 7708 o.name = "foo"; | 7781 o.name = "foo"; |
| 7709 o.proxyHeader = "foo"; | 7782 o.proxyHeader = "foo"; |
| 7710 o.selfLink = "foo"; | 7783 o.selfLink = "foo"; |
| 7711 o.service = "foo"; | 7784 o.service = "foo"; |
| 7712 o.sslCertificates = buildUnnamed2058(); | 7785 o.sslCertificates = buildUnnamed2163(); |
| 7713 } | 7786 } |
| 7714 buildCounterTargetSslProxy--; | 7787 buildCounterTargetSslProxy--; |
| 7715 return o; | 7788 return o; |
| 7716 } | 7789 } |
| 7717 | 7790 |
| 7718 checkTargetSslProxy(api.TargetSslProxy o) { | 7791 checkTargetSslProxy(api.TargetSslProxy o) { |
| 7719 buildCounterTargetSslProxy++; | 7792 buildCounterTargetSslProxy++; |
| 7720 if (buildCounterTargetSslProxy < 3) { | 7793 if (buildCounterTargetSslProxy < 3) { |
| 7721 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 7794 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 7722 unittest.expect(o.description, unittest.equals('foo')); | 7795 unittest.expect(o.description, unittest.equals('foo')); |
| 7723 unittest.expect(o.id, unittest.equals('foo')); | 7796 unittest.expect(o.id, unittest.equals('foo')); |
| 7724 unittest.expect(o.kind, unittest.equals('foo')); | 7797 unittest.expect(o.kind, unittest.equals('foo')); |
| 7725 unittest.expect(o.name, unittest.equals('foo')); | 7798 unittest.expect(o.name, unittest.equals('foo')); |
| 7726 unittest.expect(o.proxyHeader, unittest.equals('foo')); | 7799 unittest.expect(o.proxyHeader, unittest.equals('foo')); |
| 7727 unittest.expect(o.selfLink, unittest.equals('foo')); | 7800 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 7728 unittest.expect(o.service, unittest.equals('foo')); | 7801 unittest.expect(o.service, unittest.equals('foo')); |
| 7729 checkUnnamed2058(o.sslCertificates); | 7802 checkUnnamed2163(o.sslCertificates); |
| 7730 } | 7803 } |
| 7731 buildCounterTargetSslProxy--; | 7804 buildCounterTargetSslProxy--; |
| 7732 } | 7805 } |
| 7733 | 7806 |
| 7734 buildUnnamed2059() { | 7807 buildUnnamed2164() { |
| 7735 var o = new core.List<api.TargetSslProxy>(); | 7808 var o = new core.List<api.TargetSslProxy>(); |
| 7736 o.add(buildTargetSslProxy()); | 7809 o.add(buildTargetSslProxy()); |
| 7737 o.add(buildTargetSslProxy()); | 7810 o.add(buildTargetSslProxy()); |
| 7738 return o; | 7811 return o; |
| 7739 } | 7812 } |
| 7740 | 7813 |
| 7741 checkUnnamed2059(core.List<api.TargetSslProxy> o) { | 7814 checkUnnamed2164(core.List<api.TargetSslProxy> o) { |
| 7742 unittest.expect(o, unittest.hasLength(2)); | 7815 unittest.expect(o, unittest.hasLength(2)); |
| 7743 checkTargetSslProxy(o[0]); | 7816 checkTargetSslProxy(o[0]); |
| 7744 checkTargetSslProxy(o[1]); | 7817 checkTargetSslProxy(o[1]); |
| 7745 } | 7818 } |
| 7746 | 7819 |
| 7747 core.int buildCounterTargetSslProxyList = 0; | 7820 core.int buildCounterTargetSslProxyList = 0; |
| 7748 buildTargetSslProxyList() { | 7821 buildTargetSslProxyList() { |
| 7749 var o = new api.TargetSslProxyList(); | 7822 var o = new api.TargetSslProxyList(); |
| 7750 buildCounterTargetSslProxyList++; | 7823 buildCounterTargetSslProxyList++; |
| 7751 if (buildCounterTargetSslProxyList < 3) { | 7824 if (buildCounterTargetSslProxyList < 3) { |
| 7752 o.id = "foo"; | 7825 o.id = "foo"; |
| 7753 o.items = buildUnnamed2059(); | 7826 o.items = buildUnnamed2164(); |
| 7754 o.kind = "foo"; | 7827 o.kind = "foo"; |
| 7755 o.nextPageToken = "foo"; | 7828 o.nextPageToken = "foo"; |
| 7756 o.selfLink = "foo"; | 7829 o.selfLink = "foo"; |
| 7757 } | 7830 } |
| 7758 buildCounterTargetSslProxyList--; | 7831 buildCounterTargetSslProxyList--; |
| 7759 return o; | 7832 return o; |
| 7760 } | 7833 } |
| 7761 | 7834 |
| 7762 checkTargetSslProxyList(api.TargetSslProxyList o) { | 7835 checkTargetSslProxyList(api.TargetSslProxyList o) { |
| 7763 buildCounterTargetSslProxyList++; | 7836 buildCounterTargetSslProxyList++; |
| 7764 if (buildCounterTargetSslProxyList < 3) { | 7837 if (buildCounterTargetSslProxyList < 3) { |
| 7765 unittest.expect(o.id, unittest.equals('foo')); | 7838 unittest.expect(o.id, unittest.equals('foo')); |
| 7766 checkUnnamed2059(o.items); | 7839 checkUnnamed2164(o.items); |
| 7767 unittest.expect(o.kind, unittest.equals('foo')); | 7840 unittest.expect(o.kind, unittest.equals('foo')); |
| 7768 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 7841 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 7769 unittest.expect(o.selfLink, unittest.equals('foo')); | 7842 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 7770 } | 7843 } |
| 7771 buildCounterTargetSslProxyList--; | 7844 buildCounterTargetSslProxyList--; |
| 7772 } | 7845 } |
| 7773 | 7846 |
| 7774 buildUnnamed2060() { | 7847 buildUnnamed2165() { |
| 7775 var o = new core.List<core.String>(); | 7848 var o = new core.List<core.String>(); |
| 7776 o.add("foo"); | 7849 o.add("foo"); |
| 7777 o.add("foo"); | 7850 o.add("foo"); |
| 7778 return o; | 7851 return o; |
| 7779 } | 7852 } |
| 7780 | 7853 |
| 7781 checkUnnamed2060(core.List<core.String> o) { | 7854 checkUnnamed2165(core.List<core.String> o) { |
| 7782 unittest.expect(o, unittest.hasLength(2)); | 7855 unittest.expect(o, unittest.hasLength(2)); |
| 7783 unittest.expect(o[0], unittest.equals('foo')); | 7856 unittest.expect(o[0], unittest.equals('foo')); |
| 7784 unittest.expect(o[1], unittest.equals('foo')); | 7857 unittest.expect(o[1], unittest.equals('foo')); |
| 7785 } | 7858 } |
| 7786 | 7859 |
| 7787 buildUnnamed2061() { | 7860 buildUnnamed2166() { |
| 7788 var o = new core.List<core.String>(); | 7861 var o = new core.List<core.String>(); |
| 7789 o.add("foo"); | 7862 o.add("foo"); |
| 7790 o.add("foo"); | 7863 o.add("foo"); |
| 7791 return o; | 7864 return o; |
| 7792 } | 7865 } |
| 7793 | 7866 |
| 7794 checkUnnamed2061(core.List<core.String> o) { | 7867 checkUnnamed2166(core.List<core.String> o) { |
| 7795 unittest.expect(o, unittest.hasLength(2)); | 7868 unittest.expect(o, unittest.hasLength(2)); |
| 7796 unittest.expect(o[0], unittest.equals('foo')); | 7869 unittest.expect(o[0], unittest.equals('foo')); |
| 7797 unittest.expect(o[1], unittest.equals('foo')); | 7870 unittest.expect(o[1], unittest.equals('foo')); |
| 7798 } | 7871 } |
| 7799 | 7872 |
| 7800 core.int buildCounterTargetVpnGateway = 0; | 7873 core.int buildCounterTargetVpnGateway = 0; |
| 7801 buildTargetVpnGateway() { | 7874 buildTargetVpnGateway() { |
| 7802 var o = new api.TargetVpnGateway(); | 7875 var o = new api.TargetVpnGateway(); |
| 7803 buildCounterTargetVpnGateway++; | 7876 buildCounterTargetVpnGateway++; |
| 7804 if (buildCounterTargetVpnGateway < 3) { | 7877 if (buildCounterTargetVpnGateway < 3) { |
| 7805 o.creationTimestamp = "foo"; | 7878 o.creationTimestamp = "foo"; |
| 7806 o.description = "foo"; | 7879 o.description = "foo"; |
| 7807 o.forwardingRules = buildUnnamed2060(); | 7880 o.forwardingRules = buildUnnamed2165(); |
| 7808 o.id = "foo"; | 7881 o.id = "foo"; |
| 7809 o.kind = "foo"; | 7882 o.kind = "foo"; |
| 7810 o.name = "foo"; | 7883 o.name = "foo"; |
| 7811 o.network = "foo"; | 7884 o.network = "foo"; |
| 7812 o.region = "foo"; | 7885 o.region = "foo"; |
| 7813 o.selfLink = "foo"; | 7886 o.selfLink = "foo"; |
| 7814 o.status = "foo"; | 7887 o.status = "foo"; |
| 7815 o.tunnels = buildUnnamed2061(); | 7888 o.tunnels = buildUnnamed2166(); |
| 7816 } | 7889 } |
| 7817 buildCounterTargetVpnGateway--; | 7890 buildCounterTargetVpnGateway--; |
| 7818 return o; | 7891 return o; |
| 7819 } | 7892 } |
| 7820 | 7893 |
| 7821 checkTargetVpnGateway(api.TargetVpnGateway o) { | 7894 checkTargetVpnGateway(api.TargetVpnGateway o) { |
| 7822 buildCounterTargetVpnGateway++; | 7895 buildCounterTargetVpnGateway++; |
| 7823 if (buildCounterTargetVpnGateway < 3) { | 7896 if (buildCounterTargetVpnGateway < 3) { |
| 7824 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 7897 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 7825 unittest.expect(o.description, unittest.equals('foo')); | 7898 unittest.expect(o.description, unittest.equals('foo')); |
| 7826 checkUnnamed2060(o.forwardingRules); | 7899 checkUnnamed2165(o.forwardingRules); |
| 7827 unittest.expect(o.id, unittest.equals('foo')); | 7900 unittest.expect(o.id, unittest.equals('foo')); |
| 7828 unittest.expect(o.kind, unittest.equals('foo')); | 7901 unittest.expect(o.kind, unittest.equals('foo')); |
| 7829 unittest.expect(o.name, unittest.equals('foo')); | 7902 unittest.expect(o.name, unittest.equals('foo')); |
| 7830 unittest.expect(o.network, unittest.equals('foo')); | 7903 unittest.expect(o.network, unittest.equals('foo')); |
| 7831 unittest.expect(o.region, unittest.equals('foo')); | 7904 unittest.expect(o.region, unittest.equals('foo')); |
| 7832 unittest.expect(o.selfLink, unittest.equals('foo')); | 7905 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 7833 unittest.expect(o.status, unittest.equals('foo')); | 7906 unittest.expect(o.status, unittest.equals('foo')); |
| 7834 checkUnnamed2061(o.tunnels); | 7907 checkUnnamed2166(o.tunnels); |
| 7835 } | 7908 } |
| 7836 buildCounterTargetVpnGateway--; | 7909 buildCounterTargetVpnGateway--; |
| 7837 } | 7910 } |
| 7838 | 7911 |
| 7839 buildUnnamed2062() { | 7912 buildUnnamed2167() { |
| 7840 var o = new core.Map<core.String, api.TargetVpnGatewaysScopedList>(); | 7913 var o = new core.Map<core.String, api.TargetVpnGatewaysScopedList>(); |
| 7841 o["x"] = buildTargetVpnGatewaysScopedList(); | 7914 o["x"] = buildTargetVpnGatewaysScopedList(); |
| 7842 o["y"] = buildTargetVpnGatewaysScopedList(); | 7915 o["y"] = buildTargetVpnGatewaysScopedList(); |
| 7843 return o; | 7916 return o; |
| 7844 } | 7917 } |
| 7845 | 7918 |
| 7846 checkUnnamed2062(core.Map<core.String, api.TargetVpnGatewaysScopedList> o) { | 7919 checkUnnamed2167(core.Map<core.String, api.TargetVpnGatewaysScopedList> o) { |
| 7847 unittest.expect(o, unittest.hasLength(2)); | 7920 unittest.expect(o, unittest.hasLength(2)); |
| 7848 checkTargetVpnGatewaysScopedList(o["x"]); | 7921 checkTargetVpnGatewaysScopedList(o["x"]); |
| 7849 checkTargetVpnGatewaysScopedList(o["y"]); | 7922 checkTargetVpnGatewaysScopedList(o["y"]); |
| 7850 } | 7923 } |
| 7851 | 7924 |
| 7852 core.int buildCounterTargetVpnGatewayAggregatedList = 0; | 7925 core.int buildCounterTargetVpnGatewayAggregatedList = 0; |
| 7853 buildTargetVpnGatewayAggregatedList() { | 7926 buildTargetVpnGatewayAggregatedList() { |
| 7854 var o = new api.TargetVpnGatewayAggregatedList(); | 7927 var o = new api.TargetVpnGatewayAggregatedList(); |
| 7855 buildCounterTargetVpnGatewayAggregatedList++; | 7928 buildCounterTargetVpnGatewayAggregatedList++; |
| 7856 if (buildCounterTargetVpnGatewayAggregatedList < 3) { | 7929 if (buildCounterTargetVpnGatewayAggregatedList < 3) { |
| 7857 o.id = "foo"; | 7930 o.id = "foo"; |
| 7858 o.items = buildUnnamed2062(); | 7931 o.items = buildUnnamed2167(); |
| 7859 o.kind = "foo"; | 7932 o.kind = "foo"; |
| 7860 o.nextPageToken = "foo"; | 7933 o.nextPageToken = "foo"; |
| 7861 o.selfLink = "foo"; | 7934 o.selfLink = "foo"; |
| 7862 } | 7935 } |
| 7863 buildCounterTargetVpnGatewayAggregatedList--; | 7936 buildCounterTargetVpnGatewayAggregatedList--; |
| 7864 return o; | 7937 return o; |
| 7865 } | 7938 } |
| 7866 | 7939 |
| 7867 checkTargetVpnGatewayAggregatedList(api.TargetVpnGatewayAggregatedList o) { | 7940 checkTargetVpnGatewayAggregatedList(api.TargetVpnGatewayAggregatedList o) { |
| 7868 buildCounterTargetVpnGatewayAggregatedList++; | 7941 buildCounterTargetVpnGatewayAggregatedList++; |
| 7869 if (buildCounterTargetVpnGatewayAggregatedList < 3) { | 7942 if (buildCounterTargetVpnGatewayAggregatedList < 3) { |
| 7870 unittest.expect(o.id, unittest.equals('foo')); | 7943 unittest.expect(o.id, unittest.equals('foo')); |
| 7871 checkUnnamed2062(o.items); | 7944 checkUnnamed2167(o.items); |
| 7872 unittest.expect(o.kind, unittest.equals('foo')); | 7945 unittest.expect(o.kind, unittest.equals('foo')); |
| 7873 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 7946 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 7874 unittest.expect(o.selfLink, unittest.equals('foo')); | 7947 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 7875 } | 7948 } |
| 7876 buildCounterTargetVpnGatewayAggregatedList--; | 7949 buildCounterTargetVpnGatewayAggregatedList--; |
| 7877 } | 7950 } |
| 7878 | 7951 |
| 7879 buildUnnamed2063() { | 7952 buildUnnamed2168() { |
| 7880 var o = new core.List<api.TargetVpnGateway>(); | 7953 var o = new core.List<api.TargetVpnGateway>(); |
| 7881 o.add(buildTargetVpnGateway()); | 7954 o.add(buildTargetVpnGateway()); |
| 7882 o.add(buildTargetVpnGateway()); | 7955 o.add(buildTargetVpnGateway()); |
| 7883 return o; | 7956 return o; |
| 7884 } | 7957 } |
| 7885 | 7958 |
| 7886 checkUnnamed2063(core.List<api.TargetVpnGateway> o) { | 7959 checkUnnamed2168(core.List<api.TargetVpnGateway> o) { |
| 7887 unittest.expect(o, unittest.hasLength(2)); | 7960 unittest.expect(o, unittest.hasLength(2)); |
| 7888 checkTargetVpnGateway(o[0]); | 7961 checkTargetVpnGateway(o[0]); |
| 7889 checkTargetVpnGateway(o[1]); | 7962 checkTargetVpnGateway(o[1]); |
| 7890 } | 7963 } |
| 7891 | 7964 |
| 7892 core.int buildCounterTargetVpnGatewayList = 0; | 7965 core.int buildCounterTargetVpnGatewayList = 0; |
| 7893 buildTargetVpnGatewayList() { | 7966 buildTargetVpnGatewayList() { |
| 7894 var o = new api.TargetVpnGatewayList(); | 7967 var o = new api.TargetVpnGatewayList(); |
| 7895 buildCounterTargetVpnGatewayList++; | 7968 buildCounterTargetVpnGatewayList++; |
| 7896 if (buildCounterTargetVpnGatewayList < 3) { | 7969 if (buildCounterTargetVpnGatewayList < 3) { |
| 7897 o.id = "foo"; | 7970 o.id = "foo"; |
| 7898 o.items = buildUnnamed2063(); | 7971 o.items = buildUnnamed2168(); |
| 7899 o.kind = "foo"; | 7972 o.kind = "foo"; |
| 7900 o.nextPageToken = "foo"; | 7973 o.nextPageToken = "foo"; |
| 7901 o.selfLink = "foo"; | 7974 o.selfLink = "foo"; |
| 7902 } | 7975 } |
| 7903 buildCounterTargetVpnGatewayList--; | 7976 buildCounterTargetVpnGatewayList--; |
| 7904 return o; | 7977 return o; |
| 7905 } | 7978 } |
| 7906 | 7979 |
| 7907 checkTargetVpnGatewayList(api.TargetVpnGatewayList o) { | 7980 checkTargetVpnGatewayList(api.TargetVpnGatewayList o) { |
| 7908 buildCounterTargetVpnGatewayList++; | 7981 buildCounterTargetVpnGatewayList++; |
| 7909 if (buildCounterTargetVpnGatewayList < 3) { | 7982 if (buildCounterTargetVpnGatewayList < 3) { |
| 7910 unittest.expect(o.id, unittest.equals('foo')); | 7983 unittest.expect(o.id, unittest.equals('foo')); |
| 7911 checkUnnamed2063(o.items); | 7984 checkUnnamed2168(o.items); |
| 7912 unittest.expect(o.kind, unittest.equals('foo')); | 7985 unittest.expect(o.kind, unittest.equals('foo')); |
| 7913 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 7986 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 7914 unittest.expect(o.selfLink, unittest.equals('foo')); | 7987 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 7915 } | 7988 } |
| 7916 buildCounterTargetVpnGatewayList--; | 7989 buildCounterTargetVpnGatewayList--; |
| 7917 } | 7990 } |
| 7918 | 7991 |
| 7919 buildUnnamed2064() { | 7992 buildUnnamed2169() { |
| 7920 var o = new core.List<api.TargetVpnGateway>(); | 7993 var o = new core.List<api.TargetVpnGateway>(); |
| 7921 o.add(buildTargetVpnGateway()); | 7994 o.add(buildTargetVpnGateway()); |
| 7922 o.add(buildTargetVpnGateway()); | 7995 o.add(buildTargetVpnGateway()); |
| 7923 return o; | 7996 return o; |
| 7924 } | 7997 } |
| 7925 | 7998 |
| 7926 checkUnnamed2064(core.List<api.TargetVpnGateway> o) { | 7999 checkUnnamed2169(core.List<api.TargetVpnGateway> o) { |
| 7927 unittest.expect(o, unittest.hasLength(2)); | 8000 unittest.expect(o, unittest.hasLength(2)); |
| 7928 checkTargetVpnGateway(o[0]); | 8001 checkTargetVpnGateway(o[0]); |
| 7929 checkTargetVpnGateway(o[1]); | 8002 checkTargetVpnGateway(o[1]); |
| 7930 } | 8003 } |
| 7931 | 8004 |
| 7932 core.int buildCounterTargetVpnGatewaysScopedListWarningData = 0; | 8005 core.int buildCounterTargetVpnGatewaysScopedListWarningData = 0; |
| 7933 buildTargetVpnGatewaysScopedListWarningData() { | 8006 buildTargetVpnGatewaysScopedListWarningData() { |
| 7934 var o = new api.TargetVpnGatewaysScopedListWarningData(); | 8007 var o = new api.TargetVpnGatewaysScopedListWarningData(); |
| 7935 buildCounterTargetVpnGatewaysScopedListWarningData++; | 8008 buildCounterTargetVpnGatewaysScopedListWarningData++; |
| 7936 if (buildCounterTargetVpnGatewaysScopedListWarningData < 3) { | 8009 if (buildCounterTargetVpnGatewaysScopedListWarningData < 3) { |
| 7937 o.key = "foo"; | 8010 o.key = "foo"; |
| 7938 o.value = "foo"; | 8011 o.value = "foo"; |
| 7939 } | 8012 } |
| 7940 buildCounterTargetVpnGatewaysScopedListWarningData--; | 8013 buildCounterTargetVpnGatewaysScopedListWarningData--; |
| 7941 return o; | 8014 return o; |
| 7942 } | 8015 } |
| 7943 | 8016 |
| 7944 checkTargetVpnGatewaysScopedListWarningData(api.TargetVpnGatewaysScopedListWarni
ngData o) { | 8017 checkTargetVpnGatewaysScopedListWarningData(api.TargetVpnGatewaysScopedListWarni
ngData o) { |
| 7945 buildCounterTargetVpnGatewaysScopedListWarningData++; | 8018 buildCounterTargetVpnGatewaysScopedListWarningData++; |
| 7946 if (buildCounterTargetVpnGatewaysScopedListWarningData < 3) { | 8019 if (buildCounterTargetVpnGatewaysScopedListWarningData < 3) { |
| 7947 unittest.expect(o.key, unittest.equals('foo')); | 8020 unittest.expect(o.key, unittest.equals('foo')); |
| 7948 unittest.expect(o.value, unittest.equals('foo')); | 8021 unittest.expect(o.value, unittest.equals('foo')); |
| 7949 } | 8022 } |
| 7950 buildCounterTargetVpnGatewaysScopedListWarningData--; | 8023 buildCounterTargetVpnGatewaysScopedListWarningData--; |
| 7951 } | 8024 } |
| 7952 | 8025 |
| 7953 buildUnnamed2065() { | 8026 buildUnnamed2170() { |
| 7954 var o = new core.List<api.TargetVpnGatewaysScopedListWarningData>(); | 8027 var o = new core.List<api.TargetVpnGatewaysScopedListWarningData>(); |
| 7955 o.add(buildTargetVpnGatewaysScopedListWarningData()); | 8028 o.add(buildTargetVpnGatewaysScopedListWarningData()); |
| 7956 o.add(buildTargetVpnGatewaysScopedListWarningData()); | 8029 o.add(buildTargetVpnGatewaysScopedListWarningData()); |
| 7957 return o; | 8030 return o; |
| 7958 } | 8031 } |
| 7959 | 8032 |
| 7960 checkUnnamed2065(core.List<api.TargetVpnGatewaysScopedListWarningData> o) { | 8033 checkUnnamed2170(core.List<api.TargetVpnGatewaysScopedListWarningData> o) { |
| 7961 unittest.expect(o, unittest.hasLength(2)); | 8034 unittest.expect(o, unittest.hasLength(2)); |
| 7962 checkTargetVpnGatewaysScopedListWarningData(o[0]); | 8035 checkTargetVpnGatewaysScopedListWarningData(o[0]); |
| 7963 checkTargetVpnGatewaysScopedListWarningData(o[1]); | 8036 checkTargetVpnGatewaysScopedListWarningData(o[1]); |
| 7964 } | 8037 } |
| 7965 | 8038 |
| 7966 core.int buildCounterTargetVpnGatewaysScopedListWarning = 0; | 8039 core.int buildCounterTargetVpnGatewaysScopedListWarning = 0; |
| 7967 buildTargetVpnGatewaysScopedListWarning() { | 8040 buildTargetVpnGatewaysScopedListWarning() { |
| 7968 var o = new api.TargetVpnGatewaysScopedListWarning(); | 8041 var o = new api.TargetVpnGatewaysScopedListWarning(); |
| 7969 buildCounterTargetVpnGatewaysScopedListWarning++; | 8042 buildCounterTargetVpnGatewaysScopedListWarning++; |
| 7970 if (buildCounterTargetVpnGatewaysScopedListWarning < 3) { | 8043 if (buildCounterTargetVpnGatewaysScopedListWarning < 3) { |
| 7971 o.code = "foo"; | 8044 o.code = "foo"; |
| 7972 o.data = buildUnnamed2065(); | 8045 o.data = buildUnnamed2170(); |
| 7973 o.message = "foo"; | 8046 o.message = "foo"; |
| 7974 } | 8047 } |
| 7975 buildCounterTargetVpnGatewaysScopedListWarning--; | 8048 buildCounterTargetVpnGatewaysScopedListWarning--; |
| 7976 return o; | 8049 return o; |
| 7977 } | 8050 } |
| 7978 | 8051 |
| 7979 checkTargetVpnGatewaysScopedListWarning(api.TargetVpnGatewaysScopedListWarning o
) { | 8052 checkTargetVpnGatewaysScopedListWarning(api.TargetVpnGatewaysScopedListWarning o
) { |
| 7980 buildCounterTargetVpnGatewaysScopedListWarning++; | 8053 buildCounterTargetVpnGatewaysScopedListWarning++; |
| 7981 if (buildCounterTargetVpnGatewaysScopedListWarning < 3) { | 8054 if (buildCounterTargetVpnGatewaysScopedListWarning < 3) { |
| 7982 unittest.expect(o.code, unittest.equals('foo')); | 8055 unittest.expect(o.code, unittest.equals('foo')); |
| 7983 checkUnnamed2065(o.data); | 8056 checkUnnamed2170(o.data); |
| 7984 unittest.expect(o.message, unittest.equals('foo')); | 8057 unittest.expect(o.message, unittest.equals('foo')); |
| 7985 } | 8058 } |
| 7986 buildCounterTargetVpnGatewaysScopedListWarning--; | 8059 buildCounterTargetVpnGatewaysScopedListWarning--; |
| 7987 } | 8060 } |
| 7988 | 8061 |
| 7989 core.int buildCounterTargetVpnGatewaysScopedList = 0; | 8062 core.int buildCounterTargetVpnGatewaysScopedList = 0; |
| 7990 buildTargetVpnGatewaysScopedList() { | 8063 buildTargetVpnGatewaysScopedList() { |
| 7991 var o = new api.TargetVpnGatewaysScopedList(); | 8064 var o = new api.TargetVpnGatewaysScopedList(); |
| 7992 buildCounterTargetVpnGatewaysScopedList++; | 8065 buildCounterTargetVpnGatewaysScopedList++; |
| 7993 if (buildCounterTargetVpnGatewaysScopedList < 3) { | 8066 if (buildCounterTargetVpnGatewaysScopedList < 3) { |
| 7994 o.targetVpnGateways = buildUnnamed2064(); | 8067 o.targetVpnGateways = buildUnnamed2169(); |
| 7995 o.warning = buildTargetVpnGatewaysScopedListWarning(); | 8068 o.warning = buildTargetVpnGatewaysScopedListWarning(); |
| 7996 } | 8069 } |
| 7997 buildCounterTargetVpnGatewaysScopedList--; | 8070 buildCounterTargetVpnGatewaysScopedList--; |
| 7998 return o; | 8071 return o; |
| 7999 } | 8072 } |
| 8000 | 8073 |
| 8001 checkTargetVpnGatewaysScopedList(api.TargetVpnGatewaysScopedList o) { | 8074 checkTargetVpnGatewaysScopedList(api.TargetVpnGatewaysScopedList o) { |
| 8002 buildCounterTargetVpnGatewaysScopedList++; | 8075 buildCounterTargetVpnGatewaysScopedList++; |
| 8003 if (buildCounterTargetVpnGatewaysScopedList < 3) { | 8076 if (buildCounterTargetVpnGatewaysScopedList < 3) { |
| 8004 checkUnnamed2064(o.targetVpnGateways); | 8077 checkUnnamed2169(o.targetVpnGateways); |
| 8005 checkTargetVpnGatewaysScopedListWarning(o.warning); | 8078 checkTargetVpnGatewaysScopedListWarning(o.warning); |
| 8006 } | 8079 } |
| 8007 buildCounterTargetVpnGatewaysScopedList--; | 8080 buildCounterTargetVpnGatewaysScopedList--; |
| 8008 } | 8081 } |
| 8009 | 8082 |
| 8010 core.int buildCounterTestFailure = 0; | 8083 core.int buildCounterTestFailure = 0; |
| 8011 buildTestFailure() { | 8084 buildTestFailure() { |
| 8012 var o = new api.TestFailure(); | 8085 var o = new api.TestFailure(); |
| 8013 buildCounterTestFailure++; | 8086 buildCounterTestFailure++; |
| 8014 if (buildCounterTestFailure < 3) { | 8087 if (buildCounterTestFailure < 3) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 8025 buildCounterTestFailure++; | 8098 buildCounterTestFailure++; |
| 8026 if (buildCounterTestFailure < 3) { | 8099 if (buildCounterTestFailure < 3) { |
| 8027 unittest.expect(o.actualService, unittest.equals('foo')); | 8100 unittest.expect(o.actualService, unittest.equals('foo')); |
| 8028 unittest.expect(o.expectedService, unittest.equals('foo')); | 8101 unittest.expect(o.expectedService, unittest.equals('foo')); |
| 8029 unittest.expect(o.host, unittest.equals('foo')); | 8102 unittest.expect(o.host, unittest.equals('foo')); |
| 8030 unittest.expect(o.path, unittest.equals('foo')); | 8103 unittest.expect(o.path, unittest.equals('foo')); |
| 8031 } | 8104 } |
| 8032 buildCounterTestFailure--; | 8105 buildCounterTestFailure--; |
| 8033 } | 8106 } |
| 8034 | 8107 |
| 8035 buildUnnamed2066() { | 8108 buildUnnamed2171() { |
| 8036 var o = new core.List<api.HostRule>(); | 8109 var o = new core.List<api.HostRule>(); |
| 8037 o.add(buildHostRule()); | 8110 o.add(buildHostRule()); |
| 8038 o.add(buildHostRule()); | 8111 o.add(buildHostRule()); |
| 8039 return o; | 8112 return o; |
| 8040 } | 8113 } |
| 8041 | 8114 |
| 8042 checkUnnamed2066(core.List<api.HostRule> o) { | 8115 checkUnnamed2171(core.List<api.HostRule> o) { |
| 8043 unittest.expect(o, unittest.hasLength(2)); | 8116 unittest.expect(o, unittest.hasLength(2)); |
| 8044 checkHostRule(o[0]); | 8117 checkHostRule(o[0]); |
| 8045 checkHostRule(o[1]); | 8118 checkHostRule(o[1]); |
| 8046 } | 8119 } |
| 8047 | 8120 |
| 8048 buildUnnamed2067() { | 8121 buildUnnamed2172() { |
| 8049 var o = new core.List<api.PathMatcher>(); | 8122 var o = new core.List<api.PathMatcher>(); |
| 8050 o.add(buildPathMatcher()); | 8123 o.add(buildPathMatcher()); |
| 8051 o.add(buildPathMatcher()); | 8124 o.add(buildPathMatcher()); |
| 8052 return o; | 8125 return o; |
| 8053 } | 8126 } |
| 8054 | 8127 |
| 8055 checkUnnamed2067(core.List<api.PathMatcher> o) { | 8128 checkUnnamed2172(core.List<api.PathMatcher> o) { |
| 8056 unittest.expect(o, unittest.hasLength(2)); | 8129 unittest.expect(o, unittest.hasLength(2)); |
| 8057 checkPathMatcher(o[0]); | 8130 checkPathMatcher(o[0]); |
| 8058 checkPathMatcher(o[1]); | 8131 checkPathMatcher(o[1]); |
| 8059 } | 8132 } |
| 8060 | 8133 |
| 8061 buildUnnamed2068() { | 8134 buildUnnamed2173() { |
| 8062 var o = new core.List<api.UrlMapTest>(); | 8135 var o = new core.List<api.UrlMapTest>(); |
| 8063 o.add(buildUrlMapTest()); | 8136 o.add(buildUrlMapTest()); |
| 8064 o.add(buildUrlMapTest()); | 8137 o.add(buildUrlMapTest()); |
| 8065 return o; | 8138 return o; |
| 8066 } | 8139 } |
| 8067 | 8140 |
| 8068 checkUnnamed2068(core.List<api.UrlMapTest> o) { | 8141 checkUnnamed2173(core.List<api.UrlMapTest> o) { |
| 8069 unittest.expect(o, unittest.hasLength(2)); | 8142 unittest.expect(o, unittest.hasLength(2)); |
| 8070 checkUrlMapTest(o[0]); | 8143 checkUrlMapTest(o[0]); |
| 8071 checkUrlMapTest(o[1]); | 8144 checkUrlMapTest(o[1]); |
| 8072 } | 8145 } |
| 8073 | 8146 |
| 8074 core.int buildCounterUrlMap = 0; | 8147 core.int buildCounterUrlMap = 0; |
| 8075 buildUrlMap() { | 8148 buildUrlMap() { |
| 8076 var o = new api.UrlMap(); | 8149 var o = new api.UrlMap(); |
| 8077 buildCounterUrlMap++; | 8150 buildCounterUrlMap++; |
| 8078 if (buildCounterUrlMap < 3) { | 8151 if (buildCounterUrlMap < 3) { |
| 8079 o.creationTimestamp = "foo"; | 8152 o.creationTimestamp = "foo"; |
| 8080 o.defaultService = "foo"; | 8153 o.defaultService = "foo"; |
| 8081 o.description = "foo"; | 8154 o.description = "foo"; |
| 8082 o.fingerprint = "foo"; | 8155 o.fingerprint = "foo"; |
| 8083 o.hostRules = buildUnnamed2066(); | 8156 o.hostRules = buildUnnamed2171(); |
| 8084 o.id = "foo"; | 8157 o.id = "foo"; |
| 8085 o.kind = "foo"; | 8158 o.kind = "foo"; |
| 8086 o.name = "foo"; | 8159 o.name = "foo"; |
| 8087 o.pathMatchers = buildUnnamed2067(); | 8160 o.pathMatchers = buildUnnamed2172(); |
| 8088 o.selfLink = "foo"; | 8161 o.selfLink = "foo"; |
| 8089 o.tests = buildUnnamed2068(); | 8162 o.tests = buildUnnamed2173(); |
| 8090 } | 8163 } |
| 8091 buildCounterUrlMap--; | 8164 buildCounterUrlMap--; |
| 8092 return o; | 8165 return o; |
| 8093 } | 8166 } |
| 8094 | 8167 |
| 8095 checkUrlMap(api.UrlMap o) { | 8168 checkUrlMap(api.UrlMap o) { |
| 8096 buildCounterUrlMap++; | 8169 buildCounterUrlMap++; |
| 8097 if (buildCounterUrlMap < 3) { | 8170 if (buildCounterUrlMap < 3) { |
| 8098 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 8171 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 8099 unittest.expect(o.defaultService, unittest.equals('foo')); | 8172 unittest.expect(o.defaultService, unittest.equals('foo')); |
| 8100 unittest.expect(o.description, unittest.equals('foo')); | 8173 unittest.expect(o.description, unittest.equals('foo')); |
| 8101 unittest.expect(o.fingerprint, unittest.equals('foo')); | 8174 unittest.expect(o.fingerprint, unittest.equals('foo')); |
| 8102 checkUnnamed2066(o.hostRules); | 8175 checkUnnamed2171(o.hostRules); |
| 8103 unittest.expect(o.id, unittest.equals('foo')); | 8176 unittest.expect(o.id, unittest.equals('foo')); |
| 8104 unittest.expect(o.kind, unittest.equals('foo')); | 8177 unittest.expect(o.kind, unittest.equals('foo')); |
| 8105 unittest.expect(o.name, unittest.equals('foo')); | 8178 unittest.expect(o.name, unittest.equals('foo')); |
| 8106 checkUnnamed2067(o.pathMatchers); | 8179 checkUnnamed2172(o.pathMatchers); |
| 8107 unittest.expect(o.selfLink, unittest.equals('foo')); | 8180 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 8108 checkUnnamed2068(o.tests); | 8181 checkUnnamed2173(o.tests); |
| 8109 } | 8182 } |
| 8110 buildCounterUrlMap--; | 8183 buildCounterUrlMap--; |
| 8111 } | 8184 } |
| 8112 | 8185 |
| 8113 buildUnnamed2069() { | 8186 buildUnnamed2174() { |
| 8114 var o = new core.List<api.UrlMap>(); | 8187 var o = new core.List<api.UrlMap>(); |
| 8115 o.add(buildUrlMap()); | 8188 o.add(buildUrlMap()); |
| 8116 o.add(buildUrlMap()); | 8189 o.add(buildUrlMap()); |
| 8117 return o; | 8190 return o; |
| 8118 } | 8191 } |
| 8119 | 8192 |
| 8120 checkUnnamed2069(core.List<api.UrlMap> o) { | 8193 checkUnnamed2174(core.List<api.UrlMap> o) { |
| 8121 unittest.expect(o, unittest.hasLength(2)); | 8194 unittest.expect(o, unittest.hasLength(2)); |
| 8122 checkUrlMap(o[0]); | 8195 checkUrlMap(o[0]); |
| 8123 checkUrlMap(o[1]); | 8196 checkUrlMap(o[1]); |
| 8124 } | 8197 } |
| 8125 | 8198 |
| 8126 core.int buildCounterUrlMapList = 0; | 8199 core.int buildCounterUrlMapList = 0; |
| 8127 buildUrlMapList() { | 8200 buildUrlMapList() { |
| 8128 var o = new api.UrlMapList(); | 8201 var o = new api.UrlMapList(); |
| 8129 buildCounterUrlMapList++; | 8202 buildCounterUrlMapList++; |
| 8130 if (buildCounterUrlMapList < 3) { | 8203 if (buildCounterUrlMapList < 3) { |
| 8131 o.id = "foo"; | 8204 o.id = "foo"; |
| 8132 o.items = buildUnnamed2069(); | 8205 o.items = buildUnnamed2174(); |
| 8133 o.kind = "foo"; | 8206 o.kind = "foo"; |
| 8134 o.nextPageToken = "foo"; | 8207 o.nextPageToken = "foo"; |
| 8135 o.selfLink = "foo"; | 8208 o.selfLink = "foo"; |
| 8136 } | 8209 } |
| 8137 buildCounterUrlMapList--; | 8210 buildCounterUrlMapList--; |
| 8138 return o; | 8211 return o; |
| 8139 } | 8212 } |
| 8140 | 8213 |
| 8141 checkUrlMapList(api.UrlMapList o) { | 8214 checkUrlMapList(api.UrlMapList o) { |
| 8142 buildCounterUrlMapList++; | 8215 buildCounterUrlMapList++; |
| 8143 if (buildCounterUrlMapList < 3) { | 8216 if (buildCounterUrlMapList < 3) { |
| 8144 unittest.expect(o.id, unittest.equals('foo')); | 8217 unittest.expect(o.id, unittest.equals('foo')); |
| 8145 checkUnnamed2069(o.items); | 8218 checkUnnamed2174(o.items); |
| 8146 unittest.expect(o.kind, unittest.equals('foo')); | 8219 unittest.expect(o.kind, unittest.equals('foo')); |
| 8147 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 8220 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 8148 unittest.expect(o.selfLink, unittest.equals('foo')); | 8221 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 8149 } | 8222 } |
| 8150 buildCounterUrlMapList--; | 8223 buildCounterUrlMapList--; |
| 8151 } | 8224 } |
| 8152 | 8225 |
| 8153 core.int buildCounterUrlMapReference = 0; | 8226 core.int buildCounterUrlMapReference = 0; |
| 8154 buildUrlMapReference() { | 8227 buildUrlMapReference() { |
| 8155 var o = new api.UrlMapReference(); | 8228 var o = new api.UrlMapReference(); |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8187 buildCounterUrlMapTest++; | 8260 buildCounterUrlMapTest++; |
| 8188 if (buildCounterUrlMapTest < 3) { | 8261 if (buildCounterUrlMapTest < 3) { |
| 8189 unittest.expect(o.description, unittest.equals('foo')); | 8262 unittest.expect(o.description, unittest.equals('foo')); |
| 8190 unittest.expect(o.host, unittest.equals('foo')); | 8263 unittest.expect(o.host, unittest.equals('foo')); |
| 8191 unittest.expect(o.path, unittest.equals('foo')); | 8264 unittest.expect(o.path, unittest.equals('foo')); |
| 8192 unittest.expect(o.service, unittest.equals('foo')); | 8265 unittest.expect(o.service, unittest.equals('foo')); |
| 8193 } | 8266 } |
| 8194 buildCounterUrlMapTest--; | 8267 buildCounterUrlMapTest--; |
| 8195 } | 8268 } |
| 8196 | 8269 |
| 8197 buildUnnamed2070() { | 8270 buildUnnamed2175() { |
| 8198 var o = new core.List<core.String>(); | 8271 var o = new core.List<core.String>(); |
| 8199 o.add("foo"); | 8272 o.add("foo"); |
| 8200 o.add("foo"); | 8273 o.add("foo"); |
| 8201 return o; | 8274 return o; |
| 8202 } | 8275 } |
| 8203 | 8276 |
| 8204 checkUnnamed2070(core.List<core.String> o) { | 8277 checkUnnamed2175(core.List<core.String> o) { |
| 8205 unittest.expect(o, unittest.hasLength(2)); | 8278 unittest.expect(o, unittest.hasLength(2)); |
| 8206 unittest.expect(o[0], unittest.equals('foo')); | 8279 unittest.expect(o[0], unittest.equals('foo')); |
| 8207 unittest.expect(o[1], unittest.equals('foo')); | 8280 unittest.expect(o[1], unittest.equals('foo')); |
| 8208 } | 8281 } |
| 8209 | 8282 |
| 8210 buildUnnamed2071() { | 8283 buildUnnamed2176() { |
| 8211 var o = new core.List<api.TestFailure>(); | 8284 var o = new core.List<api.TestFailure>(); |
| 8212 o.add(buildTestFailure()); | 8285 o.add(buildTestFailure()); |
| 8213 o.add(buildTestFailure()); | 8286 o.add(buildTestFailure()); |
| 8214 return o; | 8287 return o; |
| 8215 } | 8288 } |
| 8216 | 8289 |
| 8217 checkUnnamed2071(core.List<api.TestFailure> o) { | 8290 checkUnnamed2176(core.List<api.TestFailure> o) { |
| 8218 unittest.expect(o, unittest.hasLength(2)); | 8291 unittest.expect(o, unittest.hasLength(2)); |
| 8219 checkTestFailure(o[0]); | 8292 checkTestFailure(o[0]); |
| 8220 checkTestFailure(o[1]); | 8293 checkTestFailure(o[1]); |
| 8221 } | 8294 } |
| 8222 | 8295 |
| 8223 core.int buildCounterUrlMapValidationResult = 0; | 8296 core.int buildCounterUrlMapValidationResult = 0; |
| 8224 buildUrlMapValidationResult() { | 8297 buildUrlMapValidationResult() { |
| 8225 var o = new api.UrlMapValidationResult(); | 8298 var o = new api.UrlMapValidationResult(); |
| 8226 buildCounterUrlMapValidationResult++; | 8299 buildCounterUrlMapValidationResult++; |
| 8227 if (buildCounterUrlMapValidationResult < 3) { | 8300 if (buildCounterUrlMapValidationResult < 3) { |
| 8228 o.loadErrors = buildUnnamed2070(); | 8301 o.loadErrors = buildUnnamed2175(); |
| 8229 o.loadSucceeded = true; | 8302 o.loadSucceeded = true; |
| 8230 o.testFailures = buildUnnamed2071(); | 8303 o.testFailures = buildUnnamed2176(); |
| 8231 o.testPassed = true; | 8304 o.testPassed = true; |
| 8232 } | 8305 } |
| 8233 buildCounterUrlMapValidationResult--; | 8306 buildCounterUrlMapValidationResult--; |
| 8234 return o; | 8307 return o; |
| 8235 } | 8308 } |
| 8236 | 8309 |
| 8237 checkUrlMapValidationResult(api.UrlMapValidationResult o) { | 8310 checkUrlMapValidationResult(api.UrlMapValidationResult o) { |
| 8238 buildCounterUrlMapValidationResult++; | 8311 buildCounterUrlMapValidationResult++; |
| 8239 if (buildCounterUrlMapValidationResult < 3) { | 8312 if (buildCounterUrlMapValidationResult < 3) { |
| 8240 checkUnnamed2070(o.loadErrors); | 8313 checkUnnamed2175(o.loadErrors); |
| 8241 unittest.expect(o.loadSucceeded, unittest.isTrue); | 8314 unittest.expect(o.loadSucceeded, unittest.isTrue); |
| 8242 checkUnnamed2071(o.testFailures); | 8315 checkUnnamed2176(o.testFailures); |
| 8243 unittest.expect(o.testPassed, unittest.isTrue); | 8316 unittest.expect(o.testPassed, unittest.isTrue); |
| 8244 } | 8317 } |
| 8245 buildCounterUrlMapValidationResult--; | 8318 buildCounterUrlMapValidationResult--; |
| 8246 } | 8319 } |
| 8247 | 8320 |
| 8248 core.int buildCounterUrlMapsValidateRequest = 0; | 8321 core.int buildCounterUrlMapsValidateRequest = 0; |
| 8249 buildUrlMapsValidateRequest() { | 8322 buildUrlMapsValidateRequest() { |
| 8250 var o = new api.UrlMapsValidateRequest(); | 8323 var o = new api.UrlMapsValidateRequest(); |
| 8251 buildCounterUrlMapsValidateRequest++; | 8324 buildCounterUrlMapsValidateRequest++; |
| 8252 if (buildCounterUrlMapsValidateRequest < 3) { | 8325 if (buildCounterUrlMapsValidateRequest < 3) { |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8297 | 8370 |
| 8298 checkUsageExportLocation(api.UsageExportLocation o) { | 8371 checkUsageExportLocation(api.UsageExportLocation o) { |
| 8299 buildCounterUsageExportLocation++; | 8372 buildCounterUsageExportLocation++; |
| 8300 if (buildCounterUsageExportLocation < 3) { | 8373 if (buildCounterUsageExportLocation < 3) { |
| 8301 unittest.expect(o.bucketName, unittest.equals('foo')); | 8374 unittest.expect(o.bucketName, unittest.equals('foo')); |
| 8302 unittest.expect(o.reportNamePrefix, unittest.equals('foo')); | 8375 unittest.expect(o.reportNamePrefix, unittest.equals('foo')); |
| 8303 } | 8376 } |
| 8304 buildCounterUsageExportLocation--; | 8377 buildCounterUsageExportLocation--; |
| 8305 } | 8378 } |
| 8306 | 8379 |
| 8307 buildUnnamed2072() { | 8380 buildUnnamed2177() { |
| 8308 var o = new core.List<core.String>(); | 8381 var o = new core.List<core.String>(); |
| 8309 o.add("foo"); | 8382 o.add("foo"); |
| 8310 o.add("foo"); | 8383 o.add("foo"); |
| 8311 return o; | 8384 return o; |
| 8312 } | 8385 } |
| 8313 | 8386 |
| 8314 checkUnnamed2072(core.List<core.String> o) { | 8387 checkUnnamed2177(core.List<core.String> o) { |
| 8315 unittest.expect(o, unittest.hasLength(2)); | 8388 unittest.expect(o, unittest.hasLength(2)); |
| 8316 unittest.expect(o[0], unittest.equals('foo')); | 8389 unittest.expect(o[0], unittest.equals('foo')); |
| 8317 unittest.expect(o[1], unittest.equals('foo')); | 8390 unittest.expect(o[1], unittest.equals('foo')); |
| 8318 } | 8391 } |
| 8319 | 8392 |
| 8320 buildUnnamed2073() { | 8393 buildUnnamed2178() { |
| 8321 var o = new core.List<core.String>(); | 8394 var o = new core.List<core.String>(); |
| 8322 o.add("foo"); | 8395 o.add("foo"); |
| 8323 o.add("foo"); | 8396 o.add("foo"); |
| 8324 return o; | 8397 return o; |
| 8325 } | 8398 } |
| 8326 | 8399 |
| 8327 checkUnnamed2073(core.List<core.String> o) { | 8400 checkUnnamed2178(core.List<core.String> o) { |
| 8328 unittest.expect(o, unittest.hasLength(2)); | 8401 unittest.expect(o, unittest.hasLength(2)); |
| 8329 unittest.expect(o[0], unittest.equals('foo')); | 8402 unittest.expect(o[0], unittest.equals('foo')); |
| 8330 unittest.expect(o[1], unittest.equals('foo')); | 8403 unittest.expect(o[1], unittest.equals('foo')); |
| 8331 } | 8404 } |
| 8332 | 8405 |
| 8333 core.int buildCounterVpnTunnel = 0; | 8406 core.int buildCounterVpnTunnel = 0; |
| 8334 buildVpnTunnel() { | 8407 buildVpnTunnel() { |
| 8335 var o = new api.VpnTunnel(); | 8408 var o = new api.VpnTunnel(); |
| 8336 buildCounterVpnTunnel++; | 8409 buildCounterVpnTunnel++; |
| 8337 if (buildCounterVpnTunnel < 3) { | 8410 if (buildCounterVpnTunnel < 3) { |
| 8338 o.creationTimestamp = "foo"; | 8411 o.creationTimestamp = "foo"; |
| 8339 o.description = "foo"; | 8412 o.description = "foo"; |
| 8340 o.detailedStatus = "foo"; | 8413 o.detailedStatus = "foo"; |
| 8341 o.id = "foo"; | 8414 o.id = "foo"; |
| 8342 o.ikeVersion = 42; | 8415 o.ikeVersion = 42; |
| 8343 o.kind = "foo"; | 8416 o.kind = "foo"; |
| 8344 o.localTrafficSelector = buildUnnamed2072(); | 8417 o.localTrafficSelector = buildUnnamed2177(); |
| 8345 o.name = "foo"; | 8418 o.name = "foo"; |
| 8346 o.peerIp = "foo"; | 8419 o.peerIp = "foo"; |
| 8347 o.region = "foo"; | 8420 o.region = "foo"; |
| 8348 o.remoteTrafficSelector = buildUnnamed2073(); | 8421 o.remoteTrafficSelector = buildUnnamed2178(); |
| 8349 o.router = "foo"; | 8422 o.router = "foo"; |
| 8350 o.selfLink = "foo"; | 8423 o.selfLink = "foo"; |
| 8351 o.sharedSecret = "foo"; | 8424 o.sharedSecret = "foo"; |
| 8352 o.sharedSecretHash = "foo"; | 8425 o.sharedSecretHash = "foo"; |
| 8353 o.status = "foo"; | 8426 o.status = "foo"; |
| 8354 o.targetVpnGateway = "foo"; | 8427 o.targetVpnGateway = "foo"; |
| 8355 } | 8428 } |
| 8356 buildCounterVpnTunnel--; | 8429 buildCounterVpnTunnel--; |
| 8357 return o; | 8430 return o; |
| 8358 } | 8431 } |
| 8359 | 8432 |
| 8360 checkVpnTunnel(api.VpnTunnel o) { | 8433 checkVpnTunnel(api.VpnTunnel o) { |
| 8361 buildCounterVpnTunnel++; | 8434 buildCounterVpnTunnel++; |
| 8362 if (buildCounterVpnTunnel < 3) { | 8435 if (buildCounterVpnTunnel < 3) { |
| 8363 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 8436 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 8364 unittest.expect(o.description, unittest.equals('foo')); | 8437 unittest.expect(o.description, unittest.equals('foo')); |
| 8365 unittest.expect(o.detailedStatus, unittest.equals('foo')); | 8438 unittest.expect(o.detailedStatus, unittest.equals('foo')); |
| 8366 unittest.expect(o.id, unittest.equals('foo')); | 8439 unittest.expect(o.id, unittest.equals('foo')); |
| 8367 unittest.expect(o.ikeVersion, unittest.equals(42)); | 8440 unittest.expect(o.ikeVersion, unittest.equals(42)); |
| 8368 unittest.expect(o.kind, unittest.equals('foo')); | 8441 unittest.expect(o.kind, unittest.equals('foo')); |
| 8369 checkUnnamed2072(o.localTrafficSelector); | 8442 checkUnnamed2177(o.localTrafficSelector); |
| 8370 unittest.expect(o.name, unittest.equals('foo')); | 8443 unittest.expect(o.name, unittest.equals('foo')); |
| 8371 unittest.expect(o.peerIp, unittest.equals('foo')); | 8444 unittest.expect(o.peerIp, unittest.equals('foo')); |
| 8372 unittest.expect(o.region, unittest.equals('foo')); | 8445 unittest.expect(o.region, unittest.equals('foo')); |
| 8373 checkUnnamed2073(o.remoteTrafficSelector); | 8446 checkUnnamed2178(o.remoteTrafficSelector); |
| 8374 unittest.expect(o.router, unittest.equals('foo')); | 8447 unittest.expect(o.router, unittest.equals('foo')); |
| 8375 unittest.expect(o.selfLink, unittest.equals('foo')); | 8448 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 8376 unittest.expect(o.sharedSecret, unittest.equals('foo')); | 8449 unittest.expect(o.sharedSecret, unittest.equals('foo')); |
| 8377 unittest.expect(o.sharedSecretHash, unittest.equals('foo')); | 8450 unittest.expect(o.sharedSecretHash, unittest.equals('foo')); |
| 8378 unittest.expect(o.status, unittest.equals('foo')); | 8451 unittest.expect(o.status, unittest.equals('foo')); |
| 8379 unittest.expect(o.targetVpnGateway, unittest.equals('foo')); | 8452 unittest.expect(o.targetVpnGateway, unittest.equals('foo')); |
| 8380 } | 8453 } |
| 8381 buildCounterVpnTunnel--; | 8454 buildCounterVpnTunnel--; |
| 8382 } | 8455 } |
| 8383 | 8456 |
| 8384 buildUnnamed2074() { | 8457 buildUnnamed2179() { |
| 8385 var o = new core.Map<core.String, api.VpnTunnelsScopedList>(); | 8458 var o = new core.Map<core.String, api.VpnTunnelsScopedList>(); |
| 8386 o["x"] = buildVpnTunnelsScopedList(); | 8459 o["x"] = buildVpnTunnelsScopedList(); |
| 8387 o["y"] = buildVpnTunnelsScopedList(); | 8460 o["y"] = buildVpnTunnelsScopedList(); |
| 8388 return o; | 8461 return o; |
| 8389 } | 8462 } |
| 8390 | 8463 |
| 8391 checkUnnamed2074(core.Map<core.String, api.VpnTunnelsScopedList> o) { | 8464 checkUnnamed2179(core.Map<core.String, api.VpnTunnelsScopedList> o) { |
| 8392 unittest.expect(o, unittest.hasLength(2)); | 8465 unittest.expect(o, unittest.hasLength(2)); |
| 8393 checkVpnTunnelsScopedList(o["x"]); | 8466 checkVpnTunnelsScopedList(o["x"]); |
| 8394 checkVpnTunnelsScopedList(o["y"]); | 8467 checkVpnTunnelsScopedList(o["y"]); |
| 8395 } | 8468 } |
| 8396 | 8469 |
| 8397 core.int buildCounterVpnTunnelAggregatedList = 0; | 8470 core.int buildCounterVpnTunnelAggregatedList = 0; |
| 8398 buildVpnTunnelAggregatedList() { | 8471 buildVpnTunnelAggregatedList() { |
| 8399 var o = new api.VpnTunnelAggregatedList(); | 8472 var o = new api.VpnTunnelAggregatedList(); |
| 8400 buildCounterVpnTunnelAggregatedList++; | 8473 buildCounterVpnTunnelAggregatedList++; |
| 8401 if (buildCounterVpnTunnelAggregatedList < 3) { | 8474 if (buildCounterVpnTunnelAggregatedList < 3) { |
| 8402 o.id = "foo"; | 8475 o.id = "foo"; |
| 8403 o.items = buildUnnamed2074(); | 8476 o.items = buildUnnamed2179(); |
| 8404 o.kind = "foo"; | 8477 o.kind = "foo"; |
| 8405 o.nextPageToken = "foo"; | 8478 o.nextPageToken = "foo"; |
| 8406 o.selfLink = "foo"; | 8479 o.selfLink = "foo"; |
| 8407 } | 8480 } |
| 8408 buildCounterVpnTunnelAggregatedList--; | 8481 buildCounterVpnTunnelAggregatedList--; |
| 8409 return o; | 8482 return o; |
| 8410 } | 8483 } |
| 8411 | 8484 |
| 8412 checkVpnTunnelAggregatedList(api.VpnTunnelAggregatedList o) { | 8485 checkVpnTunnelAggregatedList(api.VpnTunnelAggregatedList o) { |
| 8413 buildCounterVpnTunnelAggregatedList++; | 8486 buildCounterVpnTunnelAggregatedList++; |
| 8414 if (buildCounterVpnTunnelAggregatedList < 3) { | 8487 if (buildCounterVpnTunnelAggregatedList < 3) { |
| 8415 unittest.expect(o.id, unittest.equals('foo')); | 8488 unittest.expect(o.id, unittest.equals('foo')); |
| 8416 checkUnnamed2074(o.items); | 8489 checkUnnamed2179(o.items); |
| 8417 unittest.expect(o.kind, unittest.equals('foo')); | 8490 unittest.expect(o.kind, unittest.equals('foo')); |
| 8418 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 8491 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 8419 unittest.expect(o.selfLink, unittest.equals('foo')); | 8492 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 8420 } | 8493 } |
| 8421 buildCounterVpnTunnelAggregatedList--; | 8494 buildCounterVpnTunnelAggregatedList--; |
| 8422 } | 8495 } |
| 8423 | 8496 |
| 8424 buildUnnamed2075() { | 8497 buildUnnamed2180() { |
| 8425 var o = new core.List<api.VpnTunnel>(); | 8498 var o = new core.List<api.VpnTunnel>(); |
| 8426 o.add(buildVpnTunnel()); | 8499 o.add(buildVpnTunnel()); |
| 8427 o.add(buildVpnTunnel()); | 8500 o.add(buildVpnTunnel()); |
| 8428 return o; | 8501 return o; |
| 8429 } | 8502 } |
| 8430 | 8503 |
| 8431 checkUnnamed2075(core.List<api.VpnTunnel> o) { | 8504 checkUnnamed2180(core.List<api.VpnTunnel> o) { |
| 8432 unittest.expect(o, unittest.hasLength(2)); | 8505 unittest.expect(o, unittest.hasLength(2)); |
| 8433 checkVpnTunnel(o[0]); | 8506 checkVpnTunnel(o[0]); |
| 8434 checkVpnTunnel(o[1]); | 8507 checkVpnTunnel(o[1]); |
| 8435 } | 8508 } |
| 8436 | 8509 |
| 8437 core.int buildCounterVpnTunnelList = 0; | 8510 core.int buildCounterVpnTunnelList = 0; |
| 8438 buildVpnTunnelList() { | 8511 buildVpnTunnelList() { |
| 8439 var o = new api.VpnTunnelList(); | 8512 var o = new api.VpnTunnelList(); |
| 8440 buildCounterVpnTunnelList++; | 8513 buildCounterVpnTunnelList++; |
| 8441 if (buildCounterVpnTunnelList < 3) { | 8514 if (buildCounterVpnTunnelList < 3) { |
| 8442 o.id = "foo"; | 8515 o.id = "foo"; |
| 8443 o.items = buildUnnamed2075(); | 8516 o.items = buildUnnamed2180(); |
| 8444 o.kind = "foo"; | 8517 o.kind = "foo"; |
| 8445 o.nextPageToken = "foo"; | 8518 o.nextPageToken = "foo"; |
| 8446 o.selfLink = "foo"; | 8519 o.selfLink = "foo"; |
| 8447 } | 8520 } |
| 8448 buildCounterVpnTunnelList--; | 8521 buildCounterVpnTunnelList--; |
| 8449 return o; | 8522 return o; |
| 8450 } | 8523 } |
| 8451 | 8524 |
| 8452 checkVpnTunnelList(api.VpnTunnelList o) { | 8525 checkVpnTunnelList(api.VpnTunnelList o) { |
| 8453 buildCounterVpnTunnelList++; | 8526 buildCounterVpnTunnelList++; |
| 8454 if (buildCounterVpnTunnelList < 3) { | 8527 if (buildCounterVpnTunnelList < 3) { |
| 8455 unittest.expect(o.id, unittest.equals('foo')); | 8528 unittest.expect(o.id, unittest.equals('foo')); |
| 8456 checkUnnamed2075(o.items); | 8529 checkUnnamed2180(o.items); |
| 8457 unittest.expect(o.kind, unittest.equals('foo')); | 8530 unittest.expect(o.kind, unittest.equals('foo')); |
| 8458 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 8531 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 8459 unittest.expect(o.selfLink, unittest.equals('foo')); | 8532 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 8460 } | 8533 } |
| 8461 buildCounterVpnTunnelList--; | 8534 buildCounterVpnTunnelList--; |
| 8462 } | 8535 } |
| 8463 | 8536 |
| 8464 buildUnnamed2076() { | 8537 buildUnnamed2181() { |
| 8465 var o = new core.List<api.VpnTunnel>(); | 8538 var o = new core.List<api.VpnTunnel>(); |
| 8466 o.add(buildVpnTunnel()); | 8539 o.add(buildVpnTunnel()); |
| 8467 o.add(buildVpnTunnel()); | 8540 o.add(buildVpnTunnel()); |
| 8468 return o; | 8541 return o; |
| 8469 } | 8542 } |
| 8470 | 8543 |
| 8471 checkUnnamed2076(core.List<api.VpnTunnel> o) { | 8544 checkUnnamed2181(core.List<api.VpnTunnel> o) { |
| 8472 unittest.expect(o, unittest.hasLength(2)); | 8545 unittest.expect(o, unittest.hasLength(2)); |
| 8473 checkVpnTunnel(o[0]); | 8546 checkVpnTunnel(o[0]); |
| 8474 checkVpnTunnel(o[1]); | 8547 checkVpnTunnel(o[1]); |
| 8475 } | 8548 } |
| 8476 | 8549 |
| 8477 core.int buildCounterVpnTunnelsScopedListWarningData = 0; | 8550 core.int buildCounterVpnTunnelsScopedListWarningData = 0; |
| 8478 buildVpnTunnelsScopedListWarningData() { | 8551 buildVpnTunnelsScopedListWarningData() { |
| 8479 var o = new api.VpnTunnelsScopedListWarningData(); | 8552 var o = new api.VpnTunnelsScopedListWarningData(); |
| 8480 buildCounterVpnTunnelsScopedListWarningData++; | 8553 buildCounterVpnTunnelsScopedListWarningData++; |
| 8481 if (buildCounterVpnTunnelsScopedListWarningData < 3) { | 8554 if (buildCounterVpnTunnelsScopedListWarningData < 3) { |
| 8482 o.key = "foo"; | 8555 o.key = "foo"; |
| 8483 o.value = "foo"; | 8556 o.value = "foo"; |
| 8484 } | 8557 } |
| 8485 buildCounterVpnTunnelsScopedListWarningData--; | 8558 buildCounterVpnTunnelsScopedListWarningData--; |
| 8486 return o; | 8559 return o; |
| 8487 } | 8560 } |
| 8488 | 8561 |
| 8489 checkVpnTunnelsScopedListWarningData(api.VpnTunnelsScopedListWarningData o) { | 8562 checkVpnTunnelsScopedListWarningData(api.VpnTunnelsScopedListWarningData o) { |
| 8490 buildCounterVpnTunnelsScopedListWarningData++; | 8563 buildCounterVpnTunnelsScopedListWarningData++; |
| 8491 if (buildCounterVpnTunnelsScopedListWarningData < 3) { | 8564 if (buildCounterVpnTunnelsScopedListWarningData < 3) { |
| 8492 unittest.expect(o.key, unittest.equals('foo')); | 8565 unittest.expect(o.key, unittest.equals('foo')); |
| 8493 unittest.expect(o.value, unittest.equals('foo')); | 8566 unittest.expect(o.value, unittest.equals('foo')); |
| 8494 } | 8567 } |
| 8495 buildCounterVpnTunnelsScopedListWarningData--; | 8568 buildCounterVpnTunnelsScopedListWarningData--; |
| 8496 } | 8569 } |
| 8497 | 8570 |
| 8498 buildUnnamed2077() { | 8571 buildUnnamed2182() { |
| 8499 var o = new core.List<api.VpnTunnelsScopedListWarningData>(); | 8572 var o = new core.List<api.VpnTunnelsScopedListWarningData>(); |
| 8500 o.add(buildVpnTunnelsScopedListWarningData()); | 8573 o.add(buildVpnTunnelsScopedListWarningData()); |
| 8501 o.add(buildVpnTunnelsScopedListWarningData()); | 8574 o.add(buildVpnTunnelsScopedListWarningData()); |
| 8502 return o; | 8575 return o; |
| 8503 } | 8576 } |
| 8504 | 8577 |
| 8505 checkUnnamed2077(core.List<api.VpnTunnelsScopedListWarningData> o) { | 8578 checkUnnamed2182(core.List<api.VpnTunnelsScopedListWarningData> o) { |
| 8506 unittest.expect(o, unittest.hasLength(2)); | 8579 unittest.expect(o, unittest.hasLength(2)); |
| 8507 checkVpnTunnelsScopedListWarningData(o[0]); | 8580 checkVpnTunnelsScopedListWarningData(o[0]); |
| 8508 checkVpnTunnelsScopedListWarningData(o[1]); | 8581 checkVpnTunnelsScopedListWarningData(o[1]); |
| 8509 } | 8582 } |
| 8510 | 8583 |
| 8511 core.int buildCounterVpnTunnelsScopedListWarning = 0; | 8584 core.int buildCounterVpnTunnelsScopedListWarning = 0; |
| 8512 buildVpnTunnelsScopedListWarning() { | 8585 buildVpnTunnelsScopedListWarning() { |
| 8513 var o = new api.VpnTunnelsScopedListWarning(); | 8586 var o = new api.VpnTunnelsScopedListWarning(); |
| 8514 buildCounterVpnTunnelsScopedListWarning++; | 8587 buildCounterVpnTunnelsScopedListWarning++; |
| 8515 if (buildCounterVpnTunnelsScopedListWarning < 3) { | 8588 if (buildCounterVpnTunnelsScopedListWarning < 3) { |
| 8516 o.code = "foo"; | 8589 o.code = "foo"; |
| 8517 o.data = buildUnnamed2077(); | 8590 o.data = buildUnnamed2182(); |
| 8518 o.message = "foo"; | 8591 o.message = "foo"; |
| 8519 } | 8592 } |
| 8520 buildCounterVpnTunnelsScopedListWarning--; | 8593 buildCounterVpnTunnelsScopedListWarning--; |
| 8521 return o; | 8594 return o; |
| 8522 } | 8595 } |
| 8523 | 8596 |
| 8524 checkVpnTunnelsScopedListWarning(api.VpnTunnelsScopedListWarning o) { | 8597 checkVpnTunnelsScopedListWarning(api.VpnTunnelsScopedListWarning o) { |
| 8525 buildCounterVpnTunnelsScopedListWarning++; | 8598 buildCounterVpnTunnelsScopedListWarning++; |
| 8526 if (buildCounterVpnTunnelsScopedListWarning < 3) { | 8599 if (buildCounterVpnTunnelsScopedListWarning < 3) { |
| 8527 unittest.expect(o.code, unittest.equals('foo')); | 8600 unittest.expect(o.code, unittest.equals('foo')); |
| 8528 checkUnnamed2077(o.data); | 8601 checkUnnamed2182(o.data); |
| 8529 unittest.expect(o.message, unittest.equals('foo')); | 8602 unittest.expect(o.message, unittest.equals('foo')); |
| 8530 } | 8603 } |
| 8531 buildCounterVpnTunnelsScopedListWarning--; | 8604 buildCounterVpnTunnelsScopedListWarning--; |
| 8532 } | 8605 } |
| 8533 | 8606 |
| 8534 core.int buildCounterVpnTunnelsScopedList = 0; | 8607 core.int buildCounterVpnTunnelsScopedList = 0; |
| 8535 buildVpnTunnelsScopedList() { | 8608 buildVpnTunnelsScopedList() { |
| 8536 var o = new api.VpnTunnelsScopedList(); | 8609 var o = new api.VpnTunnelsScopedList(); |
| 8537 buildCounterVpnTunnelsScopedList++; | 8610 buildCounterVpnTunnelsScopedList++; |
| 8538 if (buildCounterVpnTunnelsScopedList < 3) { | 8611 if (buildCounterVpnTunnelsScopedList < 3) { |
| 8539 o.vpnTunnels = buildUnnamed2076(); | 8612 o.vpnTunnels = buildUnnamed2181(); |
| 8540 o.warning = buildVpnTunnelsScopedListWarning(); | 8613 o.warning = buildVpnTunnelsScopedListWarning(); |
| 8541 } | 8614 } |
| 8542 buildCounterVpnTunnelsScopedList--; | 8615 buildCounterVpnTunnelsScopedList--; |
| 8543 return o; | 8616 return o; |
| 8544 } | 8617 } |
| 8545 | 8618 |
| 8546 checkVpnTunnelsScopedList(api.VpnTunnelsScopedList o) { | 8619 checkVpnTunnelsScopedList(api.VpnTunnelsScopedList o) { |
| 8547 buildCounterVpnTunnelsScopedList++; | 8620 buildCounterVpnTunnelsScopedList++; |
| 8548 if (buildCounterVpnTunnelsScopedList < 3) { | 8621 if (buildCounterVpnTunnelsScopedList < 3) { |
| 8549 checkUnnamed2076(o.vpnTunnels); | 8622 checkUnnamed2181(o.vpnTunnels); |
| 8550 checkVpnTunnelsScopedListWarning(o.warning); | 8623 checkVpnTunnelsScopedListWarning(o.warning); |
| 8551 } | 8624 } |
| 8552 buildCounterVpnTunnelsScopedList--; | 8625 buildCounterVpnTunnelsScopedList--; |
| 8553 } | 8626 } |
| 8554 | 8627 |
| 8555 core.int buildCounterZone = 0; | 8628 core.int buildCounterZone = 0; |
| 8556 buildZone() { | 8629 buildZone() { |
| 8557 var o = new api.Zone(); | 8630 var o = new api.Zone(); |
| 8558 buildCounterZone++; | 8631 buildCounterZone++; |
| 8559 if (buildCounterZone < 3) { | 8632 if (buildCounterZone < 3) { |
| (...skipping 20 matching lines...) Expand all Loading... |
| 8580 unittest.expect(o.id, unittest.equals('foo')); | 8653 unittest.expect(o.id, unittest.equals('foo')); |
| 8581 unittest.expect(o.kind, unittest.equals('foo')); | 8654 unittest.expect(o.kind, unittest.equals('foo')); |
| 8582 unittest.expect(o.name, unittest.equals('foo')); | 8655 unittest.expect(o.name, unittest.equals('foo')); |
| 8583 unittest.expect(o.region, unittest.equals('foo')); | 8656 unittest.expect(o.region, unittest.equals('foo')); |
| 8584 unittest.expect(o.selfLink, unittest.equals('foo')); | 8657 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 8585 unittest.expect(o.status, unittest.equals('foo')); | 8658 unittest.expect(o.status, unittest.equals('foo')); |
| 8586 } | 8659 } |
| 8587 buildCounterZone--; | 8660 buildCounterZone--; |
| 8588 } | 8661 } |
| 8589 | 8662 |
| 8590 buildUnnamed2078() { | 8663 buildUnnamed2183() { |
| 8591 var o = new core.List<api.Zone>(); | 8664 var o = new core.List<api.Zone>(); |
| 8592 o.add(buildZone()); | 8665 o.add(buildZone()); |
| 8593 o.add(buildZone()); | 8666 o.add(buildZone()); |
| 8594 return o; | 8667 return o; |
| 8595 } | 8668 } |
| 8596 | 8669 |
| 8597 checkUnnamed2078(core.List<api.Zone> o) { | 8670 checkUnnamed2183(core.List<api.Zone> o) { |
| 8598 unittest.expect(o, unittest.hasLength(2)); | 8671 unittest.expect(o, unittest.hasLength(2)); |
| 8599 checkZone(o[0]); | 8672 checkZone(o[0]); |
| 8600 checkZone(o[1]); | 8673 checkZone(o[1]); |
| 8601 } | 8674 } |
| 8602 | 8675 |
| 8603 core.int buildCounterZoneList = 0; | 8676 core.int buildCounterZoneList = 0; |
| 8604 buildZoneList() { | 8677 buildZoneList() { |
| 8605 var o = new api.ZoneList(); | 8678 var o = new api.ZoneList(); |
| 8606 buildCounterZoneList++; | 8679 buildCounterZoneList++; |
| 8607 if (buildCounterZoneList < 3) { | 8680 if (buildCounterZoneList < 3) { |
| 8608 o.id = "foo"; | 8681 o.id = "foo"; |
| 8609 o.items = buildUnnamed2078(); | 8682 o.items = buildUnnamed2183(); |
| 8610 o.kind = "foo"; | 8683 o.kind = "foo"; |
| 8611 o.nextPageToken = "foo"; | 8684 o.nextPageToken = "foo"; |
| 8612 o.selfLink = "foo"; | 8685 o.selfLink = "foo"; |
| 8613 } | 8686 } |
| 8614 buildCounterZoneList--; | 8687 buildCounterZoneList--; |
| 8615 return o; | 8688 return o; |
| 8616 } | 8689 } |
| 8617 | 8690 |
| 8618 checkZoneList(api.ZoneList o) { | 8691 checkZoneList(api.ZoneList o) { |
| 8619 buildCounterZoneList++; | 8692 buildCounterZoneList++; |
| 8620 if (buildCounterZoneList < 3) { | 8693 if (buildCounterZoneList < 3) { |
| 8621 unittest.expect(o.id, unittest.equals('foo')); | 8694 unittest.expect(o.id, unittest.equals('foo')); |
| 8622 checkUnnamed2078(o.items); | 8695 checkUnnamed2183(o.items); |
| 8623 unittest.expect(o.kind, unittest.equals('foo')); | 8696 unittest.expect(o.kind, unittest.equals('foo')); |
| 8624 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 8697 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 8625 unittest.expect(o.selfLink, unittest.equals('foo')); | 8698 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 8626 } | 8699 } |
| 8627 buildCounterZoneList--; | 8700 buildCounterZoneList--; |
| 8628 } | 8701 } |
| 8629 | 8702 |
| 8630 | 8703 |
| 8631 main() { | 8704 main() { |
| 8632 unittest.group("obj-schema-AccessConfig", () { | 8705 unittest.group("obj-schema-AccessConfig", () { |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8802 | 8875 |
| 8803 unittest.group("obj-schema-Backend", () { | 8876 unittest.group("obj-schema-Backend", () { |
| 8804 unittest.test("to-json--from-json", () { | 8877 unittest.test("to-json--from-json", () { |
| 8805 var o = buildBackend(); | 8878 var o = buildBackend(); |
| 8806 var od = new api.Backend.fromJson(o.toJson()); | 8879 var od = new api.Backend.fromJson(o.toJson()); |
| 8807 checkBackend(od); | 8880 checkBackend(od); |
| 8808 }); | 8881 }); |
| 8809 }); | 8882 }); |
| 8810 | 8883 |
| 8811 | 8884 |
| 8885 unittest.group("obj-schema-BackendBucket", () { |
| 8886 unittest.test("to-json--from-json", () { |
| 8887 var o = buildBackendBucket(); |
| 8888 var od = new api.BackendBucket.fromJson(o.toJson()); |
| 8889 checkBackendBucket(od); |
| 8890 }); |
| 8891 }); |
| 8892 |
| 8893 |
| 8894 unittest.group("obj-schema-BackendBucketList", () { |
| 8895 unittest.test("to-json--from-json", () { |
| 8896 var o = buildBackendBucketList(); |
| 8897 var od = new api.BackendBucketList.fromJson(o.toJson()); |
| 8898 checkBackendBucketList(od); |
| 8899 }); |
| 8900 }); |
| 8901 |
| 8902 |
| 8812 unittest.group("obj-schema-BackendService", () { | 8903 unittest.group("obj-schema-BackendService", () { |
| 8813 unittest.test("to-json--from-json", () { | 8904 unittest.test("to-json--from-json", () { |
| 8814 var o = buildBackendService(); | 8905 var o = buildBackendService(); |
| 8815 var od = new api.BackendService.fromJson(o.toJson()); | 8906 var od = new api.BackendService.fromJson(o.toJson()); |
| 8816 checkBackendService(od); | 8907 checkBackendService(od); |
| 8817 }); | 8908 }); |
| 8818 }); | 8909 }); |
| 8819 | 8910 |
| 8820 | 8911 |
| 8821 unittest.group("obj-schema-BackendServiceAggregatedList", () { | 8912 unittest.group("obj-schema-BackendServiceAggregatedList", () { |
| (...skipping 2547 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11369 return new async.Future.value(stringResponse(200, h, resp)); | 11460 return new async.Future.value(stringResponse(200, h, resp)); |
| 11370 }), true); | 11461 }), true); |
| 11371 res.update(arg_request, arg_project, arg_zone, autoscaler: arg_autoscaler)
.then(unittest.expectAsync(((api.Operation response) { | 11462 res.update(arg_request, arg_project, arg_zone, autoscaler: arg_autoscaler)
.then(unittest.expectAsync(((api.Operation response) { |
| 11372 checkOperation(response); | 11463 checkOperation(response); |
| 11373 }))); | 11464 }))); |
| 11374 }); | 11465 }); |
| 11375 | 11466 |
| 11376 }); | 11467 }); |
| 11377 | 11468 |
| 11378 | 11469 |
| 11470 unittest.group("resource-BackendBucketsResourceApi", () { |
| 11471 unittest.test("method--delete", () { |
| 11472 |
| 11473 var mock = new HttpServerMock(); |
| 11474 api.BackendBucketsResourceApi res = new api.ComputeApi(mock).backendBucket
s; |
| 11475 var arg_project = "foo"; |
| 11476 var arg_backendBucket = "foo"; |
| 11477 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 11478 var path = (req.url).path; |
| 11479 var pathOffset = 0; |
| 11480 var index; |
| 11481 var subPart; |
| 11482 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 11483 pathOffset += 1; |
| 11484 |
| 11485 var query = (req.url).query; |
| 11486 var queryOffset = 0; |
| 11487 var queryMap = {}; |
| 11488 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 11489 parseBool(n) { |
| 11490 if (n == "true") return true; |
| 11491 if (n == "false") return false; |
| 11492 if (n == null) return null; |
| 11493 throw new core.ArgumentError("Invalid boolean: $n"); |
| 11494 } |
| 11495 if (query.length > 0) { |
| 11496 for (var part in query.split("&")) { |
| 11497 var keyvalue = part.split("="); |
| 11498 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 11499 } |
| 11500 } |
| 11501 |
| 11502 |
| 11503 var h = { |
| 11504 "content-type" : "application/json; charset=utf-8", |
| 11505 }; |
| 11506 var resp = convert.JSON.encode(buildOperation()); |
| 11507 return new async.Future.value(stringResponse(200, h, resp)); |
| 11508 }), true); |
| 11509 res.delete(arg_project, arg_backendBucket).then(unittest.expectAsync(((api
.Operation response) { |
| 11510 checkOperation(response); |
| 11511 }))); |
| 11512 }); |
| 11513 |
| 11514 unittest.test("method--get", () { |
| 11515 |
| 11516 var mock = new HttpServerMock(); |
| 11517 api.BackendBucketsResourceApi res = new api.ComputeApi(mock).backendBucket
s; |
| 11518 var arg_project = "foo"; |
| 11519 var arg_backendBucket = "foo"; |
| 11520 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 11521 var path = (req.url).path; |
| 11522 var pathOffset = 0; |
| 11523 var index; |
| 11524 var subPart; |
| 11525 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 11526 pathOffset += 1; |
| 11527 |
| 11528 var query = (req.url).query; |
| 11529 var queryOffset = 0; |
| 11530 var queryMap = {}; |
| 11531 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 11532 parseBool(n) { |
| 11533 if (n == "true") return true; |
| 11534 if (n == "false") return false; |
| 11535 if (n == null) return null; |
| 11536 throw new core.ArgumentError("Invalid boolean: $n"); |
| 11537 } |
| 11538 if (query.length > 0) { |
| 11539 for (var part in query.split("&")) { |
| 11540 var keyvalue = part.split("="); |
| 11541 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 11542 } |
| 11543 } |
| 11544 |
| 11545 |
| 11546 var h = { |
| 11547 "content-type" : "application/json; charset=utf-8", |
| 11548 }; |
| 11549 var resp = convert.JSON.encode(buildBackendBucket()); |
| 11550 return new async.Future.value(stringResponse(200, h, resp)); |
| 11551 }), true); |
| 11552 res.get(arg_project, arg_backendBucket).then(unittest.expectAsync(((api.Ba
ckendBucket response) { |
| 11553 checkBackendBucket(response); |
| 11554 }))); |
| 11555 }); |
| 11556 |
| 11557 unittest.test("method--insert", () { |
| 11558 |
| 11559 var mock = new HttpServerMock(); |
| 11560 api.BackendBucketsResourceApi res = new api.ComputeApi(mock).backendBucket
s; |
| 11561 var arg_request = buildBackendBucket(); |
| 11562 var arg_project = "foo"; |
| 11563 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 11564 var obj = new api.BackendBucket.fromJson(json); |
| 11565 checkBackendBucket(obj); |
| 11566 |
| 11567 var path = (req.url).path; |
| 11568 var pathOffset = 0; |
| 11569 var index; |
| 11570 var subPart; |
| 11571 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 11572 pathOffset += 1; |
| 11573 |
| 11574 var query = (req.url).query; |
| 11575 var queryOffset = 0; |
| 11576 var queryMap = {}; |
| 11577 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 11578 parseBool(n) { |
| 11579 if (n == "true") return true; |
| 11580 if (n == "false") return false; |
| 11581 if (n == null) return null; |
| 11582 throw new core.ArgumentError("Invalid boolean: $n"); |
| 11583 } |
| 11584 if (query.length > 0) { |
| 11585 for (var part in query.split("&")) { |
| 11586 var keyvalue = part.split("="); |
| 11587 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 11588 } |
| 11589 } |
| 11590 |
| 11591 |
| 11592 var h = { |
| 11593 "content-type" : "application/json; charset=utf-8", |
| 11594 }; |
| 11595 var resp = convert.JSON.encode(buildOperation()); |
| 11596 return new async.Future.value(stringResponse(200, h, resp)); |
| 11597 }), true); |
| 11598 res.insert(arg_request, arg_project).then(unittest.expectAsync(((api.Opera
tion response) { |
| 11599 checkOperation(response); |
| 11600 }))); |
| 11601 }); |
| 11602 |
| 11603 unittest.test("method--list", () { |
| 11604 |
| 11605 var mock = new HttpServerMock(); |
| 11606 api.BackendBucketsResourceApi res = new api.ComputeApi(mock).backendBucket
s; |
| 11607 var arg_project = "foo"; |
| 11608 var arg_filter = "foo"; |
| 11609 var arg_maxResults = 42; |
| 11610 var arg_orderBy = "foo"; |
| 11611 var arg_pageToken = "foo"; |
| 11612 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 11613 var path = (req.url).path; |
| 11614 var pathOffset = 0; |
| 11615 var index; |
| 11616 var subPart; |
| 11617 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 11618 pathOffset += 1; |
| 11619 |
| 11620 var query = (req.url).query; |
| 11621 var queryOffset = 0; |
| 11622 var queryMap = {}; |
| 11623 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 11624 parseBool(n) { |
| 11625 if (n == "true") return true; |
| 11626 if (n == "false") return false; |
| 11627 if (n == null) return null; |
| 11628 throw new core.ArgumentError("Invalid boolean: $n"); |
| 11629 } |
| 11630 if (query.length > 0) { |
| 11631 for (var part in query.split("&")) { |
| 11632 var keyvalue = part.split("="); |
| 11633 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 11634 } |
| 11635 } |
| 11636 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); |
| 11637 unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.e
quals(arg_maxResults)); |
| 11638 unittest.expect(queryMap["orderBy"].first, unittest.equals(arg_orderBy))
; |
| 11639 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); |
| 11640 |
| 11641 |
| 11642 var h = { |
| 11643 "content-type" : "application/json; charset=utf-8", |
| 11644 }; |
| 11645 var resp = convert.JSON.encode(buildBackendBucketList()); |
| 11646 return new async.Future.value(stringResponse(200, h, resp)); |
| 11647 }), true); |
| 11648 res.list(arg_project, filter: arg_filter, maxResults: arg_maxResults, orde
rBy: arg_orderBy, pageToken: arg_pageToken).then(unittest.expectAsync(((api.Back
endBucketList response) { |
| 11649 checkBackendBucketList(response); |
| 11650 }))); |
| 11651 }); |
| 11652 |
| 11653 unittest.test("method--patch", () { |
| 11654 |
| 11655 var mock = new HttpServerMock(); |
| 11656 api.BackendBucketsResourceApi res = new api.ComputeApi(mock).backendBucket
s; |
| 11657 var arg_request = buildBackendBucket(); |
| 11658 var arg_project = "foo"; |
| 11659 var arg_backendBucket = "foo"; |
| 11660 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 11661 var obj = new api.BackendBucket.fromJson(json); |
| 11662 checkBackendBucket(obj); |
| 11663 |
| 11664 var path = (req.url).path; |
| 11665 var pathOffset = 0; |
| 11666 var index; |
| 11667 var subPart; |
| 11668 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 11669 pathOffset += 1; |
| 11670 |
| 11671 var query = (req.url).query; |
| 11672 var queryOffset = 0; |
| 11673 var queryMap = {}; |
| 11674 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 11675 parseBool(n) { |
| 11676 if (n == "true") return true; |
| 11677 if (n == "false") return false; |
| 11678 if (n == null) return null; |
| 11679 throw new core.ArgumentError("Invalid boolean: $n"); |
| 11680 } |
| 11681 if (query.length > 0) { |
| 11682 for (var part in query.split("&")) { |
| 11683 var keyvalue = part.split("="); |
| 11684 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 11685 } |
| 11686 } |
| 11687 |
| 11688 |
| 11689 var h = { |
| 11690 "content-type" : "application/json; charset=utf-8", |
| 11691 }; |
| 11692 var resp = convert.JSON.encode(buildOperation()); |
| 11693 return new async.Future.value(stringResponse(200, h, resp)); |
| 11694 }), true); |
| 11695 res.patch(arg_request, arg_project, arg_backendBucket).then(unittest.expec
tAsync(((api.Operation response) { |
| 11696 checkOperation(response); |
| 11697 }))); |
| 11698 }); |
| 11699 |
| 11700 unittest.test("method--update", () { |
| 11701 |
| 11702 var mock = new HttpServerMock(); |
| 11703 api.BackendBucketsResourceApi res = new api.ComputeApi(mock).backendBucket
s; |
| 11704 var arg_request = buildBackendBucket(); |
| 11705 var arg_project = "foo"; |
| 11706 var arg_backendBucket = "foo"; |
| 11707 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 11708 var obj = new api.BackendBucket.fromJson(json); |
| 11709 checkBackendBucket(obj); |
| 11710 |
| 11711 var path = (req.url).path; |
| 11712 var pathOffset = 0; |
| 11713 var index; |
| 11714 var subPart; |
| 11715 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 11716 pathOffset += 1; |
| 11717 |
| 11718 var query = (req.url).query; |
| 11719 var queryOffset = 0; |
| 11720 var queryMap = {}; |
| 11721 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 11722 parseBool(n) { |
| 11723 if (n == "true") return true; |
| 11724 if (n == "false") return false; |
| 11725 if (n == null) return null; |
| 11726 throw new core.ArgumentError("Invalid boolean: $n"); |
| 11727 } |
| 11728 if (query.length > 0) { |
| 11729 for (var part in query.split("&")) { |
| 11730 var keyvalue = part.split("="); |
| 11731 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 11732 } |
| 11733 } |
| 11734 |
| 11735 |
| 11736 var h = { |
| 11737 "content-type" : "application/json; charset=utf-8", |
| 11738 }; |
| 11739 var resp = convert.JSON.encode(buildOperation()); |
| 11740 return new async.Future.value(stringResponse(200, h, resp)); |
| 11741 }), true); |
| 11742 res.update(arg_request, arg_project, arg_backendBucket).then(unittest.expe
ctAsync(((api.Operation response) { |
| 11743 checkOperation(response); |
| 11744 }))); |
| 11745 }); |
| 11746 |
| 11747 }); |
| 11748 |
| 11749 |
| 11379 unittest.group("resource-BackendServicesResourceApi", () { | 11750 unittest.group("resource-BackendServicesResourceApi", () { |
| 11380 unittest.test("method--aggregatedList", () { | 11751 unittest.test("method--aggregatedList", () { |
| 11381 | 11752 |
| 11382 var mock = new HttpServerMock(); | 11753 var mock = new HttpServerMock(); |
| 11383 api.BackendServicesResourceApi res = new api.ComputeApi(mock).backendServi
ces; | 11754 api.BackendServicesResourceApi res = new api.ComputeApi(mock).backendServi
ces; |
| 11384 var arg_project = "foo"; | 11755 var arg_project = "foo"; |
| 11385 var arg_filter = "foo"; | 11756 var arg_filter = "foo"; |
| 11386 var arg_maxResults = 42; | 11757 var arg_maxResults = 42; |
| 11387 var arg_orderBy = "foo"; | 11758 var arg_orderBy = "foo"; |
| 11388 var arg_pageToken = "foo"; | 11759 var arg_pageToken = "foo"; |
| (...skipping 11467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22856 res.list(arg_project, filter: arg_filter, maxResults: arg_maxResults, orde
rBy: arg_orderBy, pageToken: arg_pageToken).then(unittest.expectAsync(((api.Zone
List response) { | 23227 res.list(arg_project, filter: arg_filter, maxResults: arg_maxResults, orde
rBy: arg_orderBy, pageToken: arg_pageToken).then(unittest.expectAsync(((api.Zone
List response) { |
| 22857 checkZoneList(response); | 23228 checkZoneList(response); |
| 22858 }))); | 23229 }))); |
| 22859 }); | 23230 }); |
| 22860 | 23231 |
| 22861 }); | 23232 }); |
| 22862 | 23233 |
| 22863 | 23234 |
| 22864 } | 23235 } |
| 22865 | 23236 |
| OLD | NEW |