| 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 buildUnnamed2272() { | 79 buildUnnamed722() { |
| 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 checkUnnamed2272(core.List<core.String> o) { | 86 checkUnnamed722(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 = buildUnnamed2272(); | 106 o.users = buildUnnamed722(); |
| 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 checkUnnamed2272(o.users); | 124 checkUnnamed722(o.users); |
| 125 } | 125 } |
| 126 buildCounterAddress--; | 126 buildCounterAddress--; |
| 127 } | 127 } |
| 128 | 128 |
| 129 buildUnnamed2273() { | 129 buildUnnamed723() { |
| 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 checkUnnamed2273(core.Map<core.String, api.AddressesScopedList> o) { | 136 checkUnnamed723(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 = buildUnnamed2273(); | 148 o.items = buildUnnamed723(); |
| 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 checkUnnamed2273(o.items); | 161 checkUnnamed723(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 buildUnnamed2274() { | 169 buildUnnamed724() { |
| 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 checkUnnamed2274(core.List<api.Address> o) { | 176 checkUnnamed724(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 = buildUnnamed2274(); | 188 o.items = buildUnnamed724(); |
| 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 checkUnnamed2274(o.items); | 201 checkUnnamed724(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 buildUnnamed2275() { | 209 buildUnnamed725() { |
| 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 checkUnnamed2275(core.List<api.Address> o) { | 216 checkUnnamed725(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 buildUnnamed2276() { | 243 buildUnnamed726() { |
| 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 checkUnnamed2276(core.List<api.AddressesScopedListWarningData> o) { | 250 checkUnnamed726(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 = buildUnnamed2276(); | 262 o.data = buildUnnamed726(); |
| 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 checkUnnamed2276(o.data); | 273 checkUnnamed726(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 = buildUnnamed2275(); | 284 o.addresses = buildUnnamed725(); |
| 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 checkUnnamed2275(o.addresses); | 294 checkUnnamed725(o.addresses); |
| 295 checkAddressesScopedListWarning(o.warning); | 295 checkAddressesScopedListWarning(o.warning); |
| 296 } | 296 } |
| 297 buildCounterAddressesScopedList--; | 297 buildCounterAddressesScopedList--; |
| 298 } | 298 } |
| 299 | 299 |
| 300 buildUnnamed2277() { | 300 buildUnnamed727() { |
| 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 checkUnnamed2277(core.List<core.String> o) { | 307 checkUnnamed727(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 = buildUnnamed2277(); | 326 o.licenses = buildUnnamed727(); |
| 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 checkUnnamed2277(o.licenses); | 346 checkUnnamed727(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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 406 unittest.expect(o.id, unittest.equals('foo')); | 406 unittest.expect(o.id, unittest.equals('foo')); |
| 407 unittest.expect(o.kind, unittest.equals('foo')); | 407 unittest.expect(o.kind, unittest.equals('foo')); |
| 408 unittest.expect(o.name, unittest.equals('foo')); | 408 unittest.expect(o.name, unittest.equals('foo')); |
| 409 unittest.expect(o.selfLink, unittest.equals('foo')); | 409 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 410 unittest.expect(o.target, unittest.equals('foo')); | 410 unittest.expect(o.target, unittest.equals('foo')); |
| 411 unittest.expect(o.zone, unittest.equals('foo')); | 411 unittest.expect(o.zone, unittest.equals('foo')); |
| 412 } | 412 } |
| 413 buildCounterAutoscaler--; | 413 buildCounterAutoscaler--; |
| 414 } | 414 } |
| 415 | 415 |
| 416 buildUnnamed2278() { | 416 buildUnnamed728() { |
| 417 var o = new core.Map<core.String, api.AutoscalersScopedList>(); | 417 var o = new core.Map<core.String, api.AutoscalersScopedList>(); |
| 418 o["x"] = buildAutoscalersScopedList(); | 418 o["x"] = buildAutoscalersScopedList(); |
| 419 o["y"] = buildAutoscalersScopedList(); | 419 o["y"] = buildAutoscalersScopedList(); |
| 420 return o; | 420 return o; |
| 421 } | 421 } |
| 422 | 422 |
| 423 checkUnnamed2278(core.Map<core.String, api.AutoscalersScopedList> o) { | 423 checkUnnamed728(core.Map<core.String, api.AutoscalersScopedList> o) { |
| 424 unittest.expect(o, unittest.hasLength(2)); | 424 unittest.expect(o, unittest.hasLength(2)); |
| 425 checkAutoscalersScopedList(o["x"]); | 425 checkAutoscalersScopedList(o["x"]); |
| 426 checkAutoscalersScopedList(o["y"]); | 426 checkAutoscalersScopedList(o["y"]); |
| 427 } | 427 } |
| 428 | 428 |
| 429 core.int buildCounterAutoscalerAggregatedList = 0; | 429 core.int buildCounterAutoscalerAggregatedList = 0; |
| 430 buildAutoscalerAggregatedList() { | 430 buildAutoscalerAggregatedList() { |
| 431 var o = new api.AutoscalerAggregatedList(); | 431 var o = new api.AutoscalerAggregatedList(); |
| 432 buildCounterAutoscalerAggregatedList++; | 432 buildCounterAutoscalerAggregatedList++; |
| 433 if (buildCounterAutoscalerAggregatedList < 3) { | 433 if (buildCounterAutoscalerAggregatedList < 3) { |
| 434 o.id = "foo"; | 434 o.id = "foo"; |
| 435 o.items = buildUnnamed2278(); | 435 o.items = buildUnnamed728(); |
| 436 o.kind = "foo"; | 436 o.kind = "foo"; |
| 437 o.nextPageToken = "foo"; | 437 o.nextPageToken = "foo"; |
| 438 o.selfLink = "foo"; | 438 o.selfLink = "foo"; |
| 439 } | 439 } |
| 440 buildCounterAutoscalerAggregatedList--; | 440 buildCounterAutoscalerAggregatedList--; |
| 441 return o; | 441 return o; |
| 442 } | 442 } |
| 443 | 443 |
| 444 checkAutoscalerAggregatedList(api.AutoscalerAggregatedList o) { | 444 checkAutoscalerAggregatedList(api.AutoscalerAggregatedList o) { |
| 445 buildCounterAutoscalerAggregatedList++; | 445 buildCounterAutoscalerAggregatedList++; |
| 446 if (buildCounterAutoscalerAggregatedList < 3) { | 446 if (buildCounterAutoscalerAggregatedList < 3) { |
| 447 unittest.expect(o.id, unittest.equals('foo')); | 447 unittest.expect(o.id, unittest.equals('foo')); |
| 448 checkUnnamed2278(o.items); | 448 checkUnnamed728(o.items); |
| 449 unittest.expect(o.kind, unittest.equals('foo')); | 449 unittest.expect(o.kind, unittest.equals('foo')); |
| 450 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 450 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 451 unittest.expect(o.selfLink, unittest.equals('foo')); | 451 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 452 } | 452 } |
| 453 buildCounterAutoscalerAggregatedList--; | 453 buildCounterAutoscalerAggregatedList--; |
| 454 } | 454 } |
| 455 | 455 |
| 456 buildUnnamed2279() { | 456 buildUnnamed729() { |
| 457 var o = new core.List<api.Autoscaler>(); | 457 var o = new core.List<api.Autoscaler>(); |
| 458 o.add(buildAutoscaler()); | 458 o.add(buildAutoscaler()); |
| 459 o.add(buildAutoscaler()); | 459 o.add(buildAutoscaler()); |
| 460 return o; | 460 return o; |
| 461 } | 461 } |
| 462 | 462 |
| 463 checkUnnamed2279(core.List<api.Autoscaler> o) { | 463 checkUnnamed729(core.List<api.Autoscaler> o) { |
| 464 unittest.expect(o, unittest.hasLength(2)); | 464 unittest.expect(o, unittest.hasLength(2)); |
| 465 checkAutoscaler(o[0]); | 465 checkAutoscaler(o[0]); |
| 466 checkAutoscaler(o[1]); | 466 checkAutoscaler(o[1]); |
| 467 } | 467 } |
| 468 | 468 |
| 469 core.int buildCounterAutoscalerList = 0; | 469 core.int buildCounterAutoscalerList = 0; |
| 470 buildAutoscalerList() { | 470 buildAutoscalerList() { |
| 471 var o = new api.AutoscalerList(); | 471 var o = new api.AutoscalerList(); |
| 472 buildCounterAutoscalerList++; | 472 buildCounterAutoscalerList++; |
| 473 if (buildCounterAutoscalerList < 3) { | 473 if (buildCounterAutoscalerList < 3) { |
| 474 o.id = "foo"; | 474 o.id = "foo"; |
| 475 o.items = buildUnnamed2279(); | 475 o.items = buildUnnamed729(); |
| 476 o.kind = "foo"; | 476 o.kind = "foo"; |
| 477 o.nextPageToken = "foo"; | 477 o.nextPageToken = "foo"; |
| 478 o.selfLink = "foo"; | 478 o.selfLink = "foo"; |
| 479 } | 479 } |
| 480 buildCounterAutoscalerList--; | 480 buildCounterAutoscalerList--; |
| 481 return o; | 481 return o; |
| 482 } | 482 } |
| 483 | 483 |
| 484 checkAutoscalerList(api.AutoscalerList o) { | 484 checkAutoscalerList(api.AutoscalerList o) { |
| 485 buildCounterAutoscalerList++; | 485 buildCounterAutoscalerList++; |
| 486 if (buildCounterAutoscalerList < 3) { | 486 if (buildCounterAutoscalerList < 3) { |
| 487 unittest.expect(o.id, unittest.equals('foo')); | 487 unittest.expect(o.id, unittest.equals('foo')); |
| 488 checkUnnamed2279(o.items); | 488 checkUnnamed729(o.items); |
| 489 unittest.expect(o.kind, unittest.equals('foo')); | 489 unittest.expect(o.kind, unittest.equals('foo')); |
| 490 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 490 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 491 unittest.expect(o.selfLink, unittest.equals('foo')); | 491 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 492 } | 492 } |
| 493 buildCounterAutoscalerList--; | 493 buildCounterAutoscalerList--; |
| 494 } | 494 } |
| 495 | 495 |
| 496 buildUnnamed2280() { | 496 buildUnnamed730() { |
| 497 var o = new core.List<api.Autoscaler>(); | 497 var o = new core.List<api.Autoscaler>(); |
| 498 o.add(buildAutoscaler()); | 498 o.add(buildAutoscaler()); |
| 499 o.add(buildAutoscaler()); | 499 o.add(buildAutoscaler()); |
| 500 return o; | 500 return o; |
| 501 } | 501 } |
| 502 | 502 |
| 503 checkUnnamed2280(core.List<api.Autoscaler> o) { | 503 checkUnnamed730(core.List<api.Autoscaler> o) { |
| 504 unittest.expect(o, unittest.hasLength(2)); | 504 unittest.expect(o, unittest.hasLength(2)); |
| 505 checkAutoscaler(o[0]); | 505 checkAutoscaler(o[0]); |
| 506 checkAutoscaler(o[1]); | 506 checkAutoscaler(o[1]); |
| 507 } | 507 } |
| 508 | 508 |
| 509 core.int buildCounterAutoscalersScopedListWarningData = 0; | 509 core.int buildCounterAutoscalersScopedListWarningData = 0; |
| 510 buildAutoscalersScopedListWarningData() { | 510 buildAutoscalersScopedListWarningData() { |
| 511 var o = new api.AutoscalersScopedListWarningData(); | 511 var o = new api.AutoscalersScopedListWarningData(); |
| 512 buildCounterAutoscalersScopedListWarningData++; | 512 buildCounterAutoscalersScopedListWarningData++; |
| 513 if (buildCounterAutoscalersScopedListWarningData < 3) { | 513 if (buildCounterAutoscalersScopedListWarningData < 3) { |
| 514 o.key = "foo"; | 514 o.key = "foo"; |
| 515 o.value = "foo"; | 515 o.value = "foo"; |
| 516 } | 516 } |
| 517 buildCounterAutoscalersScopedListWarningData--; | 517 buildCounterAutoscalersScopedListWarningData--; |
| 518 return o; | 518 return o; |
| 519 } | 519 } |
| 520 | 520 |
| 521 checkAutoscalersScopedListWarningData(api.AutoscalersScopedListWarningData o) { | 521 checkAutoscalersScopedListWarningData(api.AutoscalersScopedListWarningData o) { |
| 522 buildCounterAutoscalersScopedListWarningData++; | 522 buildCounterAutoscalersScopedListWarningData++; |
| 523 if (buildCounterAutoscalersScopedListWarningData < 3) { | 523 if (buildCounterAutoscalersScopedListWarningData < 3) { |
| 524 unittest.expect(o.key, unittest.equals('foo')); | 524 unittest.expect(o.key, unittest.equals('foo')); |
| 525 unittest.expect(o.value, unittest.equals('foo')); | 525 unittest.expect(o.value, unittest.equals('foo')); |
| 526 } | 526 } |
| 527 buildCounterAutoscalersScopedListWarningData--; | 527 buildCounterAutoscalersScopedListWarningData--; |
| 528 } | 528 } |
| 529 | 529 |
| 530 buildUnnamed2281() { | 530 buildUnnamed731() { |
| 531 var o = new core.List<api.AutoscalersScopedListWarningData>(); | 531 var o = new core.List<api.AutoscalersScopedListWarningData>(); |
| 532 o.add(buildAutoscalersScopedListWarningData()); | 532 o.add(buildAutoscalersScopedListWarningData()); |
| 533 o.add(buildAutoscalersScopedListWarningData()); | 533 o.add(buildAutoscalersScopedListWarningData()); |
| 534 return o; | 534 return o; |
| 535 } | 535 } |
| 536 | 536 |
| 537 checkUnnamed2281(core.List<api.AutoscalersScopedListWarningData> o) { | 537 checkUnnamed731(core.List<api.AutoscalersScopedListWarningData> o) { |
| 538 unittest.expect(o, unittest.hasLength(2)); | 538 unittest.expect(o, unittest.hasLength(2)); |
| 539 checkAutoscalersScopedListWarningData(o[0]); | 539 checkAutoscalersScopedListWarningData(o[0]); |
| 540 checkAutoscalersScopedListWarningData(o[1]); | 540 checkAutoscalersScopedListWarningData(o[1]); |
| 541 } | 541 } |
| 542 | 542 |
| 543 core.int buildCounterAutoscalersScopedListWarning = 0; | 543 core.int buildCounterAutoscalersScopedListWarning = 0; |
| 544 buildAutoscalersScopedListWarning() { | 544 buildAutoscalersScopedListWarning() { |
| 545 var o = new api.AutoscalersScopedListWarning(); | 545 var o = new api.AutoscalersScopedListWarning(); |
| 546 buildCounterAutoscalersScopedListWarning++; | 546 buildCounterAutoscalersScopedListWarning++; |
| 547 if (buildCounterAutoscalersScopedListWarning < 3) { | 547 if (buildCounterAutoscalersScopedListWarning < 3) { |
| 548 o.code = "foo"; | 548 o.code = "foo"; |
| 549 o.data = buildUnnamed2281(); | 549 o.data = buildUnnamed731(); |
| 550 o.message = "foo"; | 550 o.message = "foo"; |
| 551 } | 551 } |
| 552 buildCounterAutoscalersScopedListWarning--; | 552 buildCounterAutoscalersScopedListWarning--; |
| 553 return o; | 553 return o; |
| 554 } | 554 } |
| 555 | 555 |
| 556 checkAutoscalersScopedListWarning(api.AutoscalersScopedListWarning o) { | 556 checkAutoscalersScopedListWarning(api.AutoscalersScopedListWarning o) { |
| 557 buildCounterAutoscalersScopedListWarning++; | 557 buildCounterAutoscalersScopedListWarning++; |
| 558 if (buildCounterAutoscalersScopedListWarning < 3) { | 558 if (buildCounterAutoscalersScopedListWarning < 3) { |
| 559 unittest.expect(o.code, unittest.equals('foo')); | 559 unittest.expect(o.code, unittest.equals('foo')); |
| 560 checkUnnamed2281(o.data); | 560 checkUnnamed731(o.data); |
| 561 unittest.expect(o.message, unittest.equals('foo')); | 561 unittest.expect(o.message, unittest.equals('foo')); |
| 562 } | 562 } |
| 563 buildCounterAutoscalersScopedListWarning--; | 563 buildCounterAutoscalersScopedListWarning--; |
| 564 } | 564 } |
| 565 | 565 |
| 566 core.int buildCounterAutoscalersScopedList = 0; | 566 core.int buildCounterAutoscalersScopedList = 0; |
| 567 buildAutoscalersScopedList() { | 567 buildAutoscalersScopedList() { |
| 568 var o = new api.AutoscalersScopedList(); | 568 var o = new api.AutoscalersScopedList(); |
| 569 buildCounterAutoscalersScopedList++; | 569 buildCounterAutoscalersScopedList++; |
| 570 if (buildCounterAutoscalersScopedList < 3) { | 570 if (buildCounterAutoscalersScopedList < 3) { |
| 571 o.autoscalers = buildUnnamed2280(); | 571 o.autoscalers = buildUnnamed730(); |
| 572 o.warning = buildAutoscalersScopedListWarning(); | 572 o.warning = buildAutoscalersScopedListWarning(); |
| 573 } | 573 } |
| 574 buildCounterAutoscalersScopedList--; | 574 buildCounterAutoscalersScopedList--; |
| 575 return o; | 575 return o; |
| 576 } | 576 } |
| 577 | 577 |
| 578 checkAutoscalersScopedList(api.AutoscalersScopedList o) { | 578 checkAutoscalersScopedList(api.AutoscalersScopedList o) { |
| 579 buildCounterAutoscalersScopedList++; | 579 buildCounterAutoscalersScopedList++; |
| 580 if (buildCounterAutoscalersScopedList < 3) { | 580 if (buildCounterAutoscalersScopedList < 3) { |
| 581 checkUnnamed2280(o.autoscalers); | 581 checkUnnamed730(o.autoscalers); |
| 582 checkAutoscalersScopedListWarning(o.warning); | 582 checkAutoscalersScopedListWarning(o.warning); |
| 583 } | 583 } |
| 584 buildCounterAutoscalersScopedList--; | 584 buildCounterAutoscalersScopedList--; |
| 585 } | 585 } |
| 586 | 586 |
| 587 buildUnnamed2282() { | 587 buildUnnamed732() { |
| 588 var o = new core.List<api.AutoscalingPolicyCustomMetricUtilization>(); | 588 var o = new core.List<api.AutoscalingPolicyCustomMetricUtilization>(); |
| 589 o.add(buildAutoscalingPolicyCustomMetricUtilization()); | 589 o.add(buildAutoscalingPolicyCustomMetricUtilization()); |
| 590 o.add(buildAutoscalingPolicyCustomMetricUtilization()); | 590 o.add(buildAutoscalingPolicyCustomMetricUtilization()); |
| 591 return o; | 591 return o; |
| 592 } | 592 } |
| 593 | 593 |
| 594 checkUnnamed2282(core.List<api.AutoscalingPolicyCustomMetricUtilization> o) { | 594 checkUnnamed732(core.List<api.AutoscalingPolicyCustomMetricUtilization> o) { |
| 595 unittest.expect(o, unittest.hasLength(2)); | 595 unittest.expect(o, unittest.hasLength(2)); |
| 596 checkAutoscalingPolicyCustomMetricUtilization(o[0]); | 596 checkAutoscalingPolicyCustomMetricUtilization(o[0]); |
| 597 checkAutoscalingPolicyCustomMetricUtilization(o[1]); | 597 checkAutoscalingPolicyCustomMetricUtilization(o[1]); |
| 598 } | 598 } |
| 599 | 599 |
| 600 core.int buildCounterAutoscalingPolicy = 0; | 600 core.int buildCounterAutoscalingPolicy = 0; |
| 601 buildAutoscalingPolicy() { | 601 buildAutoscalingPolicy() { |
| 602 var o = new api.AutoscalingPolicy(); | 602 var o = new api.AutoscalingPolicy(); |
| 603 buildCounterAutoscalingPolicy++; | 603 buildCounterAutoscalingPolicy++; |
| 604 if (buildCounterAutoscalingPolicy < 3) { | 604 if (buildCounterAutoscalingPolicy < 3) { |
| 605 o.coolDownPeriodSec = 42; | 605 o.coolDownPeriodSec = 42; |
| 606 o.cpuUtilization = buildAutoscalingPolicyCpuUtilization(); | 606 o.cpuUtilization = buildAutoscalingPolicyCpuUtilization(); |
| 607 o.customMetricUtilizations = buildUnnamed2282(); | 607 o.customMetricUtilizations = buildUnnamed732(); |
| 608 o.loadBalancingUtilization = buildAutoscalingPolicyLoadBalancingUtilization(
); | 608 o.loadBalancingUtilization = buildAutoscalingPolicyLoadBalancingUtilization(
); |
| 609 o.maxNumReplicas = 42; | 609 o.maxNumReplicas = 42; |
| 610 o.minNumReplicas = 42; | 610 o.minNumReplicas = 42; |
| 611 } | 611 } |
| 612 buildCounterAutoscalingPolicy--; | 612 buildCounterAutoscalingPolicy--; |
| 613 return o; | 613 return o; |
| 614 } | 614 } |
| 615 | 615 |
| 616 checkAutoscalingPolicy(api.AutoscalingPolicy o) { | 616 checkAutoscalingPolicy(api.AutoscalingPolicy o) { |
| 617 buildCounterAutoscalingPolicy++; | 617 buildCounterAutoscalingPolicy++; |
| 618 if (buildCounterAutoscalingPolicy < 3) { | 618 if (buildCounterAutoscalingPolicy < 3) { |
| 619 unittest.expect(o.coolDownPeriodSec, unittest.equals(42)); | 619 unittest.expect(o.coolDownPeriodSec, unittest.equals(42)); |
| 620 checkAutoscalingPolicyCpuUtilization(o.cpuUtilization); | 620 checkAutoscalingPolicyCpuUtilization(o.cpuUtilization); |
| 621 checkUnnamed2282(o.customMetricUtilizations); | 621 checkUnnamed732(o.customMetricUtilizations); |
| 622 checkAutoscalingPolicyLoadBalancingUtilization(o.loadBalancingUtilization); | 622 checkAutoscalingPolicyLoadBalancingUtilization(o.loadBalancingUtilization); |
| 623 unittest.expect(o.maxNumReplicas, unittest.equals(42)); | 623 unittest.expect(o.maxNumReplicas, unittest.equals(42)); |
| 624 unittest.expect(o.minNumReplicas, unittest.equals(42)); | 624 unittest.expect(o.minNumReplicas, unittest.equals(42)); |
| 625 } | 625 } |
| 626 buildCounterAutoscalingPolicy--; | 626 buildCounterAutoscalingPolicy--; |
| 627 } | 627 } |
| 628 | 628 |
| 629 core.int buildCounterAutoscalingPolicyCpuUtilization = 0; | 629 core.int buildCounterAutoscalingPolicyCpuUtilization = 0; |
| 630 buildAutoscalingPolicyCpuUtilization() { | 630 buildAutoscalingPolicyCpuUtilization() { |
| 631 var o = new api.AutoscalingPolicyCpuUtilization(); | 631 var o = new api.AutoscalingPolicyCpuUtilization(); |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 711 unittest.expect(o.capacityScaler, unittest.equals(42.0)); | 711 unittest.expect(o.capacityScaler, unittest.equals(42.0)); |
| 712 unittest.expect(o.description, unittest.equals('foo')); | 712 unittest.expect(o.description, unittest.equals('foo')); |
| 713 unittest.expect(o.group, unittest.equals('foo')); | 713 unittest.expect(o.group, unittest.equals('foo')); |
| 714 unittest.expect(o.maxRate, unittest.equals(42)); | 714 unittest.expect(o.maxRate, unittest.equals(42)); |
| 715 unittest.expect(o.maxRatePerInstance, unittest.equals(42.0)); | 715 unittest.expect(o.maxRatePerInstance, unittest.equals(42.0)); |
| 716 unittest.expect(o.maxUtilization, unittest.equals(42.0)); | 716 unittest.expect(o.maxUtilization, unittest.equals(42.0)); |
| 717 } | 717 } |
| 718 buildCounterBackend--; | 718 buildCounterBackend--; |
| 719 } | 719 } |
| 720 | 720 |
| 721 buildUnnamed2283() { | 721 buildUnnamed733() { |
| 722 var o = new core.List<api.Backend>(); | 722 var o = new core.List<api.Backend>(); |
| 723 o.add(buildBackend()); | 723 o.add(buildBackend()); |
| 724 o.add(buildBackend()); | 724 o.add(buildBackend()); |
| 725 return o; | 725 return o; |
| 726 } | 726 } |
| 727 | 727 |
| 728 checkUnnamed2283(core.List<api.Backend> o) { | 728 checkUnnamed733(core.List<api.Backend> o) { |
| 729 unittest.expect(o, unittest.hasLength(2)); | 729 unittest.expect(o, unittest.hasLength(2)); |
| 730 checkBackend(o[0]); | 730 checkBackend(o[0]); |
| 731 checkBackend(o[1]); | 731 checkBackend(o[1]); |
| 732 } | 732 } |
| 733 | 733 |
| 734 buildUnnamed2284() { | 734 buildUnnamed734() { |
| 735 var o = new core.List<core.String>(); | 735 var o = new core.List<core.String>(); |
| 736 o.add("foo"); | 736 o.add("foo"); |
| 737 o.add("foo"); | 737 o.add("foo"); |
| 738 return o; | 738 return o; |
| 739 } | 739 } |
| 740 | 740 |
| 741 checkUnnamed2284(core.List<core.String> o) { | 741 checkUnnamed734(core.List<core.String> o) { |
| 742 unittest.expect(o, unittest.hasLength(2)); | 742 unittest.expect(o, unittest.hasLength(2)); |
| 743 unittest.expect(o[0], unittest.equals('foo')); | 743 unittest.expect(o[0], unittest.equals('foo')); |
| 744 unittest.expect(o[1], unittest.equals('foo')); | 744 unittest.expect(o[1], unittest.equals('foo')); |
| 745 } | 745 } |
| 746 | 746 |
| 747 core.int buildCounterBackendService = 0; | 747 core.int buildCounterBackendService = 0; |
| 748 buildBackendService() { | 748 buildBackendService() { |
| 749 var o = new api.BackendService(); | 749 var o = new api.BackendService(); |
| 750 buildCounterBackendService++; | 750 buildCounterBackendService++; |
| 751 if (buildCounterBackendService < 3) { | 751 if (buildCounterBackendService < 3) { |
| 752 o.backends = buildUnnamed2283(); | 752 o.affinityCookieTtlSec = 42; |
| 753 o.backends = buildUnnamed733(); |
| 753 o.creationTimestamp = "foo"; | 754 o.creationTimestamp = "foo"; |
| 754 o.description = "foo"; | 755 o.description = "foo"; |
| 755 o.enableCDN = true; | 756 o.enableCDN = true; |
| 756 o.fingerprint = "foo"; | 757 o.fingerprint = "foo"; |
| 757 o.healthChecks = buildUnnamed2284(); | 758 o.healthChecks = buildUnnamed734(); |
| 758 o.id = "foo"; | 759 o.id = "foo"; |
| 759 o.kind = "foo"; | 760 o.kind = "foo"; |
| 760 o.name = "foo"; | 761 o.name = "foo"; |
| 761 o.port = 42; | 762 o.port = 42; |
| 762 o.portName = "foo"; | 763 o.portName = "foo"; |
| 763 o.protocol = "foo"; | 764 o.protocol = "foo"; |
| 764 o.region = "foo"; | 765 o.region = "foo"; |
| 765 o.selfLink = "foo"; | 766 o.selfLink = "foo"; |
| 767 o.sessionAffinity = "foo"; |
| 766 o.timeoutSec = 42; | 768 o.timeoutSec = 42; |
| 767 } | 769 } |
| 768 buildCounterBackendService--; | 770 buildCounterBackendService--; |
| 769 return o; | 771 return o; |
| 770 } | 772 } |
| 771 | 773 |
| 772 checkBackendService(api.BackendService o) { | 774 checkBackendService(api.BackendService o) { |
| 773 buildCounterBackendService++; | 775 buildCounterBackendService++; |
| 774 if (buildCounterBackendService < 3) { | 776 if (buildCounterBackendService < 3) { |
| 775 checkUnnamed2283(o.backends); | 777 unittest.expect(o.affinityCookieTtlSec, unittest.equals(42)); |
| 778 checkUnnamed733(o.backends); |
| 776 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 779 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 777 unittest.expect(o.description, unittest.equals('foo')); | 780 unittest.expect(o.description, unittest.equals('foo')); |
| 778 unittest.expect(o.enableCDN, unittest.isTrue); | 781 unittest.expect(o.enableCDN, unittest.isTrue); |
| 779 unittest.expect(o.fingerprint, unittest.equals('foo')); | 782 unittest.expect(o.fingerprint, unittest.equals('foo')); |
| 780 checkUnnamed2284(o.healthChecks); | 783 checkUnnamed734(o.healthChecks); |
| 781 unittest.expect(o.id, unittest.equals('foo')); | 784 unittest.expect(o.id, unittest.equals('foo')); |
| 782 unittest.expect(o.kind, unittest.equals('foo')); | 785 unittest.expect(o.kind, unittest.equals('foo')); |
| 783 unittest.expect(o.name, unittest.equals('foo')); | 786 unittest.expect(o.name, unittest.equals('foo')); |
| 784 unittest.expect(o.port, unittest.equals(42)); | 787 unittest.expect(o.port, unittest.equals(42)); |
| 785 unittest.expect(o.portName, unittest.equals('foo')); | 788 unittest.expect(o.portName, unittest.equals('foo')); |
| 786 unittest.expect(o.protocol, unittest.equals('foo')); | 789 unittest.expect(o.protocol, unittest.equals('foo')); |
| 787 unittest.expect(o.region, unittest.equals('foo')); | 790 unittest.expect(o.region, unittest.equals('foo')); |
| 788 unittest.expect(o.selfLink, unittest.equals('foo')); | 791 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 792 unittest.expect(o.sessionAffinity, unittest.equals('foo')); |
| 789 unittest.expect(o.timeoutSec, unittest.equals(42)); | 793 unittest.expect(o.timeoutSec, unittest.equals(42)); |
| 790 } | 794 } |
| 791 buildCounterBackendService--; | 795 buildCounterBackendService--; |
| 792 } | 796 } |
| 793 | 797 |
| 794 buildUnnamed2285() { | 798 buildUnnamed735() { |
| 795 var o = new core.List<api.HealthStatus>(); | 799 var o = new core.List<api.HealthStatus>(); |
| 796 o.add(buildHealthStatus()); | 800 o.add(buildHealthStatus()); |
| 797 o.add(buildHealthStatus()); | 801 o.add(buildHealthStatus()); |
| 798 return o; | 802 return o; |
| 799 } | 803 } |
| 800 | 804 |
| 801 checkUnnamed2285(core.List<api.HealthStatus> o) { | 805 checkUnnamed735(core.List<api.HealthStatus> o) { |
| 802 unittest.expect(o, unittest.hasLength(2)); | 806 unittest.expect(o, unittest.hasLength(2)); |
| 803 checkHealthStatus(o[0]); | 807 checkHealthStatus(o[0]); |
| 804 checkHealthStatus(o[1]); | 808 checkHealthStatus(o[1]); |
| 805 } | 809 } |
| 806 | 810 |
| 807 core.int buildCounterBackendServiceGroupHealth = 0; | 811 core.int buildCounterBackendServiceGroupHealth = 0; |
| 808 buildBackendServiceGroupHealth() { | 812 buildBackendServiceGroupHealth() { |
| 809 var o = new api.BackendServiceGroupHealth(); | 813 var o = new api.BackendServiceGroupHealth(); |
| 810 buildCounterBackendServiceGroupHealth++; | 814 buildCounterBackendServiceGroupHealth++; |
| 811 if (buildCounterBackendServiceGroupHealth < 3) { | 815 if (buildCounterBackendServiceGroupHealth < 3) { |
| 812 o.healthStatus = buildUnnamed2285(); | 816 o.healthStatus = buildUnnamed735(); |
| 813 o.kind = "foo"; | 817 o.kind = "foo"; |
| 814 } | 818 } |
| 815 buildCounterBackendServiceGroupHealth--; | 819 buildCounterBackendServiceGroupHealth--; |
| 816 return o; | 820 return o; |
| 817 } | 821 } |
| 818 | 822 |
| 819 checkBackendServiceGroupHealth(api.BackendServiceGroupHealth o) { | 823 checkBackendServiceGroupHealth(api.BackendServiceGroupHealth o) { |
| 820 buildCounterBackendServiceGroupHealth++; | 824 buildCounterBackendServiceGroupHealth++; |
| 821 if (buildCounterBackendServiceGroupHealth < 3) { | 825 if (buildCounterBackendServiceGroupHealth < 3) { |
| 822 checkUnnamed2285(o.healthStatus); | 826 checkUnnamed735(o.healthStatus); |
| 823 unittest.expect(o.kind, unittest.equals('foo')); | 827 unittest.expect(o.kind, unittest.equals('foo')); |
| 824 } | 828 } |
| 825 buildCounterBackendServiceGroupHealth--; | 829 buildCounterBackendServiceGroupHealth--; |
| 826 } | 830 } |
| 827 | 831 |
| 828 buildUnnamed2286() { | 832 buildUnnamed736() { |
| 829 var o = new core.List<api.BackendService>(); | 833 var o = new core.List<api.BackendService>(); |
| 830 o.add(buildBackendService()); | 834 o.add(buildBackendService()); |
| 831 o.add(buildBackendService()); | 835 o.add(buildBackendService()); |
| 832 return o; | 836 return o; |
| 833 } | 837 } |
| 834 | 838 |
| 835 checkUnnamed2286(core.List<api.BackendService> o) { | 839 checkUnnamed736(core.List<api.BackendService> o) { |
| 836 unittest.expect(o, unittest.hasLength(2)); | 840 unittest.expect(o, unittest.hasLength(2)); |
| 837 checkBackendService(o[0]); | 841 checkBackendService(o[0]); |
| 838 checkBackendService(o[1]); | 842 checkBackendService(o[1]); |
| 839 } | 843 } |
| 840 | 844 |
| 841 core.int buildCounterBackendServiceList = 0; | 845 core.int buildCounterBackendServiceList = 0; |
| 842 buildBackendServiceList() { | 846 buildBackendServiceList() { |
| 843 var o = new api.BackendServiceList(); | 847 var o = new api.BackendServiceList(); |
| 844 buildCounterBackendServiceList++; | 848 buildCounterBackendServiceList++; |
| 845 if (buildCounterBackendServiceList < 3) { | 849 if (buildCounterBackendServiceList < 3) { |
| 846 o.id = "foo"; | 850 o.id = "foo"; |
| 847 o.items = buildUnnamed2286(); | 851 o.items = buildUnnamed736(); |
| 848 o.kind = "foo"; | 852 o.kind = "foo"; |
| 849 o.nextPageToken = "foo"; | 853 o.nextPageToken = "foo"; |
| 850 o.selfLink = "foo"; | 854 o.selfLink = "foo"; |
| 851 } | 855 } |
| 852 buildCounterBackendServiceList--; | 856 buildCounterBackendServiceList--; |
| 853 return o; | 857 return o; |
| 854 } | 858 } |
| 855 | 859 |
| 856 checkBackendServiceList(api.BackendServiceList o) { | 860 checkBackendServiceList(api.BackendServiceList o) { |
| 857 buildCounterBackendServiceList++; | 861 buildCounterBackendServiceList++; |
| 858 if (buildCounterBackendServiceList < 3) { | 862 if (buildCounterBackendServiceList < 3) { |
| 859 unittest.expect(o.id, unittest.equals('foo')); | 863 unittest.expect(o.id, unittest.equals('foo')); |
| 860 checkUnnamed2286(o.items); | 864 checkUnnamed736(o.items); |
| 861 unittest.expect(o.kind, unittest.equals('foo')); | 865 unittest.expect(o.kind, unittest.equals('foo')); |
| 862 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 866 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 863 unittest.expect(o.selfLink, unittest.equals('foo')); | 867 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 864 } | 868 } |
| 865 buildCounterBackendServiceList--; | 869 buildCounterBackendServiceList--; |
| 866 } | 870 } |
| 867 | 871 |
| 868 core.int buildCounterCacheInvalidationRule = 0; | 872 core.int buildCounterCacheInvalidationRule = 0; |
| 869 buildCacheInvalidationRule() { | 873 buildCacheInvalidationRule() { |
| 870 var o = new api.CacheInvalidationRule(); | 874 var o = new api.CacheInvalidationRule(); |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 946 if (buildCounterDeprecationStatus < 3) { | 950 if (buildCounterDeprecationStatus < 3) { |
| 947 unittest.expect(o.deleted, unittest.equals('foo')); | 951 unittest.expect(o.deleted, unittest.equals('foo')); |
| 948 unittest.expect(o.deprecated, unittest.equals('foo')); | 952 unittest.expect(o.deprecated, unittest.equals('foo')); |
| 949 unittest.expect(o.obsolete, unittest.equals('foo')); | 953 unittest.expect(o.obsolete, unittest.equals('foo')); |
| 950 unittest.expect(o.replacement, unittest.equals('foo')); | 954 unittest.expect(o.replacement, unittest.equals('foo')); |
| 951 unittest.expect(o.state, unittest.equals('foo')); | 955 unittest.expect(o.state, unittest.equals('foo')); |
| 952 } | 956 } |
| 953 buildCounterDeprecationStatus--; | 957 buildCounterDeprecationStatus--; |
| 954 } | 958 } |
| 955 | 959 |
| 956 buildUnnamed2287() { | 960 buildUnnamed737() { |
| 957 var o = new core.List<core.String>(); | 961 var o = new core.List<core.String>(); |
| 958 o.add("foo"); | 962 o.add("foo"); |
| 959 o.add("foo"); | 963 o.add("foo"); |
| 960 return o; | 964 return o; |
| 961 } | 965 } |
| 962 | 966 |
| 963 checkUnnamed2287(core.List<core.String> o) { | 967 checkUnnamed737(core.List<core.String> o) { |
| 964 unittest.expect(o, unittest.hasLength(2)); | 968 unittest.expect(o, unittest.hasLength(2)); |
| 965 unittest.expect(o[0], unittest.equals('foo')); | 969 unittest.expect(o[0], unittest.equals('foo')); |
| 966 unittest.expect(o[1], unittest.equals('foo')); | 970 unittest.expect(o[1], unittest.equals('foo')); |
| 967 } | 971 } |
| 968 | 972 |
| 969 buildUnnamed2288() { | 973 buildUnnamed738() { |
| 970 var o = new core.List<core.String>(); | 974 var o = new core.List<core.String>(); |
| 971 o.add("foo"); | 975 o.add("foo"); |
| 972 o.add("foo"); | 976 o.add("foo"); |
| 973 return o; | 977 return o; |
| 974 } | 978 } |
| 975 | 979 |
| 976 checkUnnamed2288(core.List<core.String> o) { | 980 checkUnnamed738(core.List<core.String> o) { |
| 977 unittest.expect(o, unittest.hasLength(2)); | 981 unittest.expect(o, unittest.hasLength(2)); |
| 978 unittest.expect(o[0], unittest.equals('foo')); | 982 unittest.expect(o[0], unittest.equals('foo')); |
| 979 unittest.expect(o[1], unittest.equals('foo')); | 983 unittest.expect(o[1], unittest.equals('foo')); |
| 980 } | 984 } |
| 981 | 985 |
| 982 core.int buildCounterDisk = 0; | 986 core.int buildCounterDisk = 0; |
| 983 buildDisk() { | 987 buildDisk() { |
| 984 var o = new api.Disk(); | 988 var o = new api.Disk(); |
| 985 buildCounterDisk++; | 989 buildCounterDisk++; |
| 986 if (buildCounterDisk < 3) { | 990 if (buildCounterDisk < 3) { |
| 987 o.creationTimestamp = "foo"; | 991 o.creationTimestamp = "foo"; |
| 988 o.description = "foo"; | 992 o.description = "foo"; |
| 989 o.diskEncryptionKey = buildCustomerEncryptionKey(); | 993 o.diskEncryptionKey = buildCustomerEncryptionKey(); |
| 990 o.id = "foo"; | 994 o.id = "foo"; |
| 991 o.kind = "foo"; | 995 o.kind = "foo"; |
| 992 o.lastAttachTimestamp = "foo"; | 996 o.lastAttachTimestamp = "foo"; |
| 993 o.lastDetachTimestamp = "foo"; | 997 o.lastDetachTimestamp = "foo"; |
| 994 o.licenses = buildUnnamed2287(); | 998 o.licenses = buildUnnamed737(); |
| 995 o.name = "foo"; | 999 o.name = "foo"; |
| 996 o.options = "foo"; | 1000 o.options = "foo"; |
| 997 o.selfLink = "foo"; | 1001 o.selfLink = "foo"; |
| 998 o.sizeGb = "foo"; | 1002 o.sizeGb = "foo"; |
| 999 o.sourceImage = "foo"; | 1003 o.sourceImage = "foo"; |
| 1000 o.sourceImageEncryptionKey = buildCustomerEncryptionKey(); | 1004 o.sourceImageEncryptionKey = buildCustomerEncryptionKey(); |
| 1001 o.sourceImageId = "foo"; | 1005 o.sourceImageId = "foo"; |
| 1002 o.sourceSnapshot = "foo"; | 1006 o.sourceSnapshot = "foo"; |
| 1003 o.sourceSnapshotEncryptionKey = buildCustomerEncryptionKey(); | 1007 o.sourceSnapshotEncryptionKey = buildCustomerEncryptionKey(); |
| 1004 o.sourceSnapshotId = "foo"; | 1008 o.sourceSnapshotId = "foo"; |
| 1005 o.status = "foo"; | 1009 o.status = "foo"; |
| 1006 o.type = "foo"; | 1010 o.type = "foo"; |
| 1007 o.users = buildUnnamed2288(); | 1011 o.users = buildUnnamed738(); |
| 1008 o.zone = "foo"; | 1012 o.zone = "foo"; |
| 1009 } | 1013 } |
| 1010 buildCounterDisk--; | 1014 buildCounterDisk--; |
| 1011 return o; | 1015 return o; |
| 1012 } | 1016 } |
| 1013 | 1017 |
| 1014 checkDisk(api.Disk o) { | 1018 checkDisk(api.Disk o) { |
| 1015 buildCounterDisk++; | 1019 buildCounterDisk++; |
| 1016 if (buildCounterDisk < 3) { | 1020 if (buildCounterDisk < 3) { |
| 1017 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 1021 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 1018 unittest.expect(o.description, unittest.equals('foo')); | 1022 unittest.expect(o.description, unittest.equals('foo')); |
| 1019 checkCustomerEncryptionKey(o.diskEncryptionKey); | 1023 checkCustomerEncryptionKey(o.diskEncryptionKey); |
| 1020 unittest.expect(o.id, unittest.equals('foo')); | 1024 unittest.expect(o.id, unittest.equals('foo')); |
| 1021 unittest.expect(o.kind, unittest.equals('foo')); | 1025 unittest.expect(o.kind, unittest.equals('foo')); |
| 1022 unittest.expect(o.lastAttachTimestamp, unittest.equals('foo')); | 1026 unittest.expect(o.lastAttachTimestamp, unittest.equals('foo')); |
| 1023 unittest.expect(o.lastDetachTimestamp, unittest.equals('foo')); | 1027 unittest.expect(o.lastDetachTimestamp, unittest.equals('foo')); |
| 1024 checkUnnamed2287(o.licenses); | 1028 checkUnnamed737(o.licenses); |
| 1025 unittest.expect(o.name, unittest.equals('foo')); | 1029 unittest.expect(o.name, unittest.equals('foo')); |
| 1026 unittest.expect(o.options, unittest.equals('foo')); | 1030 unittest.expect(o.options, unittest.equals('foo')); |
| 1027 unittest.expect(o.selfLink, unittest.equals('foo')); | 1031 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1028 unittest.expect(o.sizeGb, unittest.equals('foo')); | 1032 unittest.expect(o.sizeGb, unittest.equals('foo')); |
| 1029 unittest.expect(o.sourceImage, unittest.equals('foo')); | 1033 unittest.expect(o.sourceImage, unittest.equals('foo')); |
| 1030 checkCustomerEncryptionKey(o.sourceImageEncryptionKey); | 1034 checkCustomerEncryptionKey(o.sourceImageEncryptionKey); |
| 1031 unittest.expect(o.sourceImageId, unittest.equals('foo')); | 1035 unittest.expect(o.sourceImageId, unittest.equals('foo')); |
| 1032 unittest.expect(o.sourceSnapshot, unittest.equals('foo')); | 1036 unittest.expect(o.sourceSnapshot, unittest.equals('foo')); |
| 1033 checkCustomerEncryptionKey(o.sourceSnapshotEncryptionKey); | 1037 checkCustomerEncryptionKey(o.sourceSnapshotEncryptionKey); |
| 1034 unittest.expect(o.sourceSnapshotId, unittest.equals('foo')); | 1038 unittest.expect(o.sourceSnapshotId, unittest.equals('foo')); |
| 1035 unittest.expect(o.status, unittest.equals('foo')); | 1039 unittest.expect(o.status, unittest.equals('foo')); |
| 1036 unittest.expect(o.type, unittest.equals('foo')); | 1040 unittest.expect(o.type, unittest.equals('foo')); |
| 1037 checkUnnamed2288(o.users); | 1041 checkUnnamed738(o.users); |
| 1038 unittest.expect(o.zone, unittest.equals('foo')); | 1042 unittest.expect(o.zone, unittest.equals('foo')); |
| 1039 } | 1043 } |
| 1040 buildCounterDisk--; | 1044 buildCounterDisk--; |
| 1041 } | 1045 } |
| 1042 | 1046 |
| 1043 buildUnnamed2289() { | 1047 buildUnnamed739() { |
| 1044 var o = new core.Map<core.String, api.DisksScopedList>(); | 1048 var o = new core.Map<core.String, api.DisksScopedList>(); |
| 1045 o["x"] = buildDisksScopedList(); | 1049 o["x"] = buildDisksScopedList(); |
| 1046 o["y"] = buildDisksScopedList(); | 1050 o["y"] = buildDisksScopedList(); |
| 1047 return o; | 1051 return o; |
| 1048 } | 1052 } |
| 1049 | 1053 |
| 1050 checkUnnamed2289(core.Map<core.String, api.DisksScopedList> o) { | 1054 checkUnnamed739(core.Map<core.String, api.DisksScopedList> o) { |
| 1051 unittest.expect(o, unittest.hasLength(2)); | 1055 unittest.expect(o, unittest.hasLength(2)); |
| 1052 checkDisksScopedList(o["x"]); | 1056 checkDisksScopedList(o["x"]); |
| 1053 checkDisksScopedList(o["y"]); | 1057 checkDisksScopedList(o["y"]); |
| 1054 } | 1058 } |
| 1055 | 1059 |
| 1056 core.int buildCounterDiskAggregatedList = 0; | 1060 core.int buildCounterDiskAggregatedList = 0; |
| 1057 buildDiskAggregatedList() { | 1061 buildDiskAggregatedList() { |
| 1058 var o = new api.DiskAggregatedList(); | 1062 var o = new api.DiskAggregatedList(); |
| 1059 buildCounterDiskAggregatedList++; | 1063 buildCounterDiskAggregatedList++; |
| 1060 if (buildCounterDiskAggregatedList < 3) { | 1064 if (buildCounterDiskAggregatedList < 3) { |
| 1061 o.id = "foo"; | 1065 o.id = "foo"; |
| 1062 o.items = buildUnnamed2289(); | 1066 o.items = buildUnnamed739(); |
| 1063 o.kind = "foo"; | 1067 o.kind = "foo"; |
| 1064 o.nextPageToken = "foo"; | 1068 o.nextPageToken = "foo"; |
| 1065 o.selfLink = "foo"; | 1069 o.selfLink = "foo"; |
| 1066 } | 1070 } |
| 1067 buildCounterDiskAggregatedList--; | 1071 buildCounterDiskAggregatedList--; |
| 1068 return o; | 1072 return o; |
| 1069 } | 1073 } |
| 1070 | 1074 |
| 1071 checkDiskAggregatedList(api.DiskAggregatedList o) { | 1075 checkDiskAggregatedList(api.DiskAggregatedList o) { |
| 1072 buildCounterDiskAggregatedList++; | 1076 buildCounterDiskAggregatedList++; |
| 1073 if (buildCounterDiskAggregatedList < 3) { | 1077 if (buildCounterDiskAggregatedList < 3) { |
| 1074 unittest.expect(o.id, unittest.equals('foo')); | 1078 unittest.expect(o.id, unittest.equals('foo')); |
| 1075 checkUnnamed2289(o.items); | 1079 checkUnnamed739(o.items); |
| 1076 unittest.expect(o.kind, unittest.equals('foo')); | 1080 unittest.expect(o.kind, unittest.equals('foo')); |
| 1077 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1081 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1078 unittest.expect(o.selfLink, unittest.equals('foo')); | 1082 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1079 } | 1083 } |
| 1080 buildCounterDiskAggregatedList--; | 1084 buildCounterDiskAggregatedList--; |
| 1081 } | 1085 } |
| 1082 | 1086 |
| 1083 buildUnnamed2290() { | 1087 buildUnnamed740() { |
| 1084 var o = new core.List<api.Disk>(); | 1088 var o = new core.List<api.Disk>(); |
| 1085 o.add(buildDisk()); | 1089 o.add(buildDisk()); |
| 1086 o.add(buildDisk()); | 1090 o.add(buildDisk()); |
| 1087 return o; | 1091 return o; |
| 1088 } | 1092 } |
| 1089 | 1093 |
| 1090 checkUnnamed2290(core.List<api.Disk> o) { | 1094 checkUnnamed740(core.List<api.Disk> o) { |
| 1091 unittest.expect(o, unittest.hasLength(2)); | 1095 unittest.expect(o, unittest.hasLength(2)); |
| 1092 checkDisk(o[0]); | 1096 checkDisk(o[0]); |
| 1093 checkDisk(o[1]); | 1097 checkDisk(o[1]); |
| 1094 } | 1098 } |
| 1095 | 1099 |
| 1096 core.int buildCounterDiskList = 0; | 1100 core.int buildCounterDiskList = 0; |
| 1097 buildDiskList() { | 1101 buildDiskList() { |
| 1098 var o = new api.DiskList(); | 1102 var o = new api.DiskList(); |
| 1099 buildCounterDiskList++; | 1103 buildCounterDiskList++; |
| 1100 if (buildCounterDiskList < 3) { | 1104 if (buildCounterDiskList < 3) { |
| 1101 o.id = "foo"; | 1105 o.id = "foo"; |
| 1102 o.items = buildUnnamed2290(); | 1106 o.items = buildUnnamed740(); |
| 1103 o.kind = "foo"; | 1107 o.kind = "foo"; |
| 1104 o.nextPageToken = "foo"; | 1108 o.nextPageToken = "foo"; |
| 1105 o.selfLink = "foo"; | 1109 o.selfLink = "foo"; |
| 1106 } | 1110 } |
| 1107 buildCounterDiskList--; | 1111 buildCounterDiskList--; |
| 1108 return o; | 1112 return o; |
| 1109 } | 1113 } |
| 1110 | 1114 |
| 1111 checkDiskList(api.DiskList o) { | 1115 checkDiskList(api.DiskList o) { |
| 1112 buildCounterDiskList++; | 1116 buildCounterDiskList++; |
| 1113 if (buildCounterDiskList < 3) { | 1117 if (buildCounterDiskList < 3) { |
| 1114 unittest.expect(o.id, unittest.equals('foo')); | 1118 unittest.expect(o.id, unittest.equals('foo')); |
| 1115 checkUnnamed2290(o.items); | 1119 checkUnnamed740(o.items); |
| 1116 unittest.expect(o.kind, unittest.equals('foo')); | 1120 unittest.expect(o.kind, unittest.equals('foo')); |
| 1117 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1121 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1118 unittest.expect(o.selfLink, unittest.equals('foo')); | 1122 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1119 } | 1123 } |
| 1120 buildCounterDiskList--; | 1124 buildCounterDiskList--; |
| 1121 } | 1125 } |
| 1122 | 1126 |
| 1123 core.int buildCounterDiskMoveRequest = 0; | 1127 core.int buildCounterDiskMoveRequest = 0; |
| 1124 buildDiskMoveRequest() { | 1128 buildDiskMoveRequest() { |
| 1125 var o = new api.DiskMoveRequest(); | 1129 var o = new api.DiskMoveRequest(); |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1171 unittest.expect(o.id, unittest.equals('foo')); | 1175 unittest.expect(o.id, unittest.equals('foo')); |
| 1172 unittest.expect(o.kind, unittest.equals('foo')); | 1176 unittest.expect(o.kind, unittest.equals('foo')); |
| 1173 unittest.expect(o.name, unittest.equals('foo')); | 1177 unittest.expect(o.name, unittest.equals('foo')); |
| 1174 unittest.expect(o.selfLink, unittest.equals('foo')); | 1178 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1175 unittest.expect(o.validDiskSize, unittest.equals('foo')); | 1179 unittest.expect(o.validDiskSize, unittest.equals('foo')); |
| 1176 unittest.expect(o.zone, unittest.equals('foo')); | 1180 unittest.expect(o.zone, unittest.equals('foo')); |
| 1177 } | 1181 } |
| 1178 buildCounterDiskType--; | 1182 buildCounterDiskType--; |
| 1179 } | 1183 } |
| 1180 | 1184 |
| 1181 buildUnnamed2291() { | 1185 buildUnnamed741() { |
| 1182 var o = new core.Map<core.String, api.DiskTypesScopedList>(); | 1186 var o = new core.Map<core.String, api.DiskTypesScopedList>(); |
| 1183 o["x"] = buildDiskTypesScopedList(); | 1187 o["x"] = buildDiskTypesScopedList(); |
| 1184 o["y"] = buildDiskTypesScopedList(); | 1188 o["y"] = buildDiskTypesScopedList(); |
| 1185 return o; | 1189 return o; |
| 1186 } | 1190 } |
| 1187 | 1191 |
| 1188 checkUnnamed2291(core.Map<core.String, api.DiskTypesScopedList> o) { | 1192 checkUnnamed741(core.Map<core.String, api.DiskTypesScopedList> o) { |
| 1189 unittest.expect(o, unittest.hasLength(2)); | 1193 unittest.expect(o, unittest.hasLength(2)); |
| 1190 checkDiskTypesScopedList(o["x"]); | 1194 checkDiskTypesScopedList(o["x"]); |
| 1191 checkDiskTypesScopedList(o["y"]); | 1195 checkDiskTypesScopedList(o["y"]); |
| 1192 } | 1196 } |
| 1193 | 1197 |
| 1194 core.int buildCounterDiskTypeAggregatedList = 0; | 1198 core.int buildCounterDiskTypeAggregatedList = 0; |
| 1195 buildDiskTypeAggregatedList() { | 1199 buildDiskTypeAggregatedList() { |
| 1196 var o = new api.DiskTypeAggregatedList(); | 1200 var o = new api.DiskTypeAggregatedList(); |
| 1197 buildCounterDiskTypeAggregatedList++; | 1201 buildCounterDiskTypeAggregatedList++; |
| 1198 if (buildCounterDiskTypeAggregatedList < 3) { | 1202 if (buildCounterDiskTypeAggregatedList < 3) { |
| 1199 o.id = "foo"; | 1203 o.id = "foo"; |
| 1200 o.items = buildUnnamed2291(); | 1204 o.items = buildUnnamed741(); |
| 1201 o.kind = "foo"; | 1205 o.kind = "foo"; |
| 1202 o.nextPageToken = "foo"; | 1206 o.nextPageToken = "foo"; |
| 1203 o.selfLink = "foo"; | 1207 o.selfLink = "foo"; |
| 1204 } | 1208 } |
| 1205 buildCounterDiskTypeAggregatedList--; | 1209 buildCounterDiskTypeAggregatedList--; |
| 1206 return o; | 1210 return o; |
| 1207 } | 1211 } |
| 1208 | 1212 |
| 1209 checkDiskTypeAggregatedList(api.DiskTypeAggregatedList o) { | 1213 checkDiskTypeAggregatedList(api.DiskTypeAggregatedList o) { |
| 1210 buildCounterDiskTypeAggregatedList++; | 1214 buildCounterDiskTypeAggregatedList++; |
| 1211 if (buildCounterDiskTypeAggregatedList < 3) { | 1215 if (buildCounterDiskTypeAggregatedList < 3) { |
| 1212 unittest.expect(o.id, unittest.equals('foo')); | 1216 unittest.expect(o.id, unittest.equals('foo')); |
| 1213 checkUnnamed2291(o.items); | 1217 checkUnnamed741(o.items); |
| 1214 unittest.expect(o.kind, unittest.equals('foo')); | 1218 unittest.expect(o.kind, unittest.equals('foo')); |
| 1215 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1219 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1216 unittest.expect(o.selfLink, unittest.equals('foo')); | 1220 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1217 } | 1221 } |
| 1218 buildCounterDiskTypeAggregatedList--; | 1222 buildCounterDiskTypeAggregatedList--; |
| 1219 } | 1223 } |
| 1220 | 1224 |
| 1221 buildUnnamed2292() { | 1225 buildUnnamed742() { |
| 1222 var o = new core.List<api.DiskType>(); | 1226 var o = new core.List<api.DiskType>(); |
| 1223 o.add(buildDiskType()); | 1227 o.add(buildDiskType()); |
| 1224 o.add(buildDiskType()); | 1228 o.add(buildDiskType()); |
| 1225 return o; | 1229 return o; |
| 1226 } | 1230 } |
| 1227 | 1231 |
| 1228 checkUnnamed2292(core.List<api.DiskType> o) { | 1232 checkUnnamed742(core.List<api.DiskType> o) { |
| 1229 unittest.expect(o, unittest.hasLength(2)); | 1233 unittest.expect(o, unittest.hasLength(2)); |
| 1230 checkDiskType(o[0]); | 1234 checkDiskType(o[0]); |
| 1231 checkDiskType(o[1]); | 1235 checkDiskType(o[1]); |
| 1232 } | 1236 } |
| 1233 | 1237 |
| 1234 core.int buildCounterDiskTypeList = 0; | 1238 core.int buildCounterDiskTypeList = 0; |
| 1235 buildDiskTypeList() { | 1239 buildDiskTypeList() { |
| 1236 var o = new api.DiskTypeList(); | 1240 var o = new api.DiskTypeList(); |
| 1237 buildCounterDiskTypeList++; | 1241 buildCounterDiskTypeList++; |
| 1238 if (buildCounterDiskTypeList < 3) { | 1242 if (buildCounterDiskTypeList < 3) { |
| 1239 o.id = "foo"; | 1243 o.id = "foo"; |
| 1240 o.items = buildUnnamed2292(); | 1244 o.items = buildUnnamed742(); |
| 1241 o.kind = "foo"; | 1245 o.kind = "foo"; |
| 1242 o.nextPageToken = "foo"; | 1246 o.nextPageToken = "foo"; |
| 1243 o.selfLink = "foo"; | 1247 o.selfLink = "foo"; |
| 1244 } | 1248 } |
| 1245 buildCounterDiskTypeList--; | 1249 buildCounterDiskTypeList--; |
| 1246 return o; | 1250 return o; |
| 1247 } | 1251 } |
| 1248 | 1252 |
| 1249 checkDiskTypeList(api.DiskTypeList o) { | 1253 checkDiskTypeList(api.DiskTypeList o) { |
| 1250 buildCounterDiskTypeList++; | 1254 buildCounterDiskTypeList++; |
| 1251 if (buildCounterDiskTypeList < 3) { | 1255 if (buildCounterDiskTypeList < 3) { |
| 1252 unittest.expect(o.id, unittest.equals('foo')); | 1256 unittest.expect(o.id, unittest.equals('foo')); |
| 1253 checkUnnamed2292(o.items); | 1257 checkUnnamed742(o.items); |
| 1254 unittest.expect(o.kind, unittest.equals('foo')); | 1258 unittest.expect(o.kind, unittest.equals('foo')); |
| 1255 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1259 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1256 unittest.expect(o.selfLink, unittest.equals('foo')); | 1260 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1257 } | 1261 } |
| 1258 buildCounterDiskTypeList--; | 1262 buildCounterDiskTypeList--; |
| 1259 } | 1263 } |
| 1260 | 1264 |
| 1261 buildUnnamed2293() { | 1265 buildUnnamed743() { |
| 1262 var o = new core.List<api.DiskType>(); | 1266 var o = new core.List<api.DiskType>(); |
| 1263 o.add(buildDiskType()); | 1267 o.add(buildDiskType()); |
| 1264 o.add(buildDiskType()); | 1268 o.add(buildDiskType()); |
| 1265 return o; | 1269 return o; |
| 1266 } | 1270 } |
| 1267 | 1271 |
| 1268 checkUnnamed2293(core.List<api.DiskType> o) { | 1272 checkUnnamed743(core.List<api.DiskType> o) { |
| 1269 unittest.expect(o, unittest.hasLength(2)); | 1273 unittest.expect(o, unittest.hasLength(2)); |
| 1270 checkDiskType(o[0]); | 1274 checkDiskType(o[0]); |
| 1271 checkDiskType(o[1]); | 1275 checkDiskType(o[1]); |
| 1272 } | 1276 } |
| 1273 | 1277 |
| 1274 core.int buildCounterDiskTypesScopedListWarningData = 0; | 1278 core.int buildCounterDiskTypesScopedListWarningData = 0; |
| 1275 buildDiskTypesScopedListWarningData() { | 1279 buildDiskTypesScopedListWarningData() { |
| 1276 var o = new api.DiskTypesScopedListWarningData(); | 1280 var o = new api.DiskTypesScopedListWarningData(); |
| 1277 buildCounterDiskTypesScopedListWarningData++; | 1281 buildCounterDiskTypesScopedListWarningData++; |
| 1278 if (buildCounterDiskTypesScopedListWarningData < 3) { | 1282 if (buildCounterDiskTypesScopedListWarningData < 3) { |
| 1279 o.key = "foo"; | 1283 o.key = "foo"; |
| 1280 o.value = "foo"; | 1284 o.value = "foo"; |
| 1281 } | 1285 } |
| 1282 buildCounterDiskTypesScopedListWarningData--; | 1286 buildCounterDiskTypesScopedListWarningData--; |
| 1283 return o; | 1287 return o; |
| 1284 } | 1288 } |
| 1285 | 1289 |
| 1286 checkDiskTypesScopedListWarningData(api.DiskTypesScopedListWarningData o) { | 1290 checkDiskTypesScopedListWarningData(api.DiskTypesScopedListWarningData o) { |
| 1287 buildCounterDiskTypesScopedListWarningData++; | 1291 buildCounterDiskTypesScopedListWarningData++; |
| 1288 if (buildCounterDiskTypesScopedListWarningData < 3) { | 1292 if (buildCounterDiskTypesScopedListWarningData < 3) { |
| 1289 unittest.expect(o.key, unittest.equals('foo')); | 1293 unittest.expect(o.key, unittest.equals('foo')); |
| 1290 unittest.expect(o.value, unittest.equals('foo')); | 1294 unittest.expect(o.value, unittest.equals('foo')); |
| 1291 } | 1295 } |
| 1292 buildCounterDiskTypesScopedListWarningData--; | 1296 buildCounterDiskTypesScopedListWarningData--; |
| 1293 } | 1297 } |
| 1294 | 1298 |
| 1295 buildUnnamed2294() { | 1299 buildUnnamed744() { |
| 1296 var o = new core.List<api.DiskTypesScopedListWarningData>(); | 1300 var o = new core.List<api.DiskTypesScopedListWarningData>(); |
| 1297 o.add(buildDiskTypesScopedListWarningData()); | 1301 o.add(buildDiskTypesScopedListWarningData()); |
| 1298 o.add(buildDiskTypesScopedListWarningData()); | 1302 o.add(buildDiskTypesScopedListWarningData()); |
| 1299 return o; | 1303 return o; |
| 1300 } | 1304 } |
| 1301 | 1305 |
| 1302 checkUnnamed2294(core.List<api.DiskTypesScopedListWarningData> o) { | 1306 checkUnnamed744(core.List<api.DiskTypesScopedListWarningData> o) { |
| 1303 unittest.expect(o, unittest.hasLength(2)); | 1307 unittest.expect(o, unittest.hasLength(2)); |
| 1304 checkDiskTypesScopedListWarningData(o[0]); | 1308 checkDiskTypesScopedListWarningData(o[0]); |
| 1305 checkDiskTypesScopedListWarningData(o[1]); | 1309 checkDiskTypesScopedListWarningData(o[1]); |
| 1306 } | 1310 } |
| 1307 | 1311 |
| 1308 core.int buildCounterDiskTypesScopedListWarning = 0; | 1312 core.int buildCounterDiskTypesScopedListWarning = 0; |
| 1309 buildDiskTypesScopedListWarning() { | 1313 buildDiskTypesScopedListWarning() { |
| 1310 var o = new api.DiskTypesScopedListWarning(); | 1314 var o = new api.DiskTypesScopedListWarning(); |
| 1311 buildCounterDiskTypesScopedListWarning++; | 1315 buildCounterDiskTypesScopedListWarning++; |
| 1312 if (buildCounterDiskTypesScopedListWarning < 3) { | 1316 if (buildCounterDiskTypesScopedListWarning < 3) { |
| 1313 o.code = "foo"; | 1317 o.code = "foo"; |
| 1314 o.data = buildUnnamed2294(); | 1318 o.data = buildUnnamed744(); |
| 1315 o.message = "foo"; | 1319 o.message = "foo"; |
| 1316 } | 1320 } |
| 1317 buildCounterDiskTypesScopedListWarning--; | 1321 buildCounterDiskTypesScopedListWarning--; |
| 1318 return o; | 1322 return o; |
| 1319 } | 1323 } |
| 1320 | 1324 |
| 1321 checkDiskTypesScopedListWarning(api.DiskTypesScopedListWarning o) { | 1325 checkDiskTypesScopedListWarning(api.DiskTypesScopedListWarning o) { |
| 1322 buildCounterDiskTypesScopedListWarning++; | 1326 buildCounterDiskTypesScopedListWarning++; |
| 1323 if (buildCounterDiskTypesScopedListWarning < 3) { | 1327 if (buildCounterDiskTypesScopedListWarning < 3) { |
| 1324 unittest.expect(o.code, unittest.equals('foo')); | 1328 unittest.expect(o.code, unittest.equals('foo')); |
| 1325 checkUnnamed2294(o.data); | 1329 checkUnnamed744(o.data); |
| 1326 unittest.expect(o.message, unittest.equals('foo')); | 1330 unittest.expect(o.message, unittest.equals('foo')); |
| 1327 } | 1331 } |
| 1328 buildCounterDiskTypesScopedListWarning--; | 1332 buildCounterDiskTypesScopedListWarning--; |
| 1329 } | 1333 } |
| 1330 | 1334 |
| 1331 core.int buildCounterDiskTypesScopedList = 0; | 1335 core.int buildCounterDiskTypesScopedList = 0; |
| 1332 buildDiskTypesScopedList() { | 1336 buildDiskTypesScopedList() { |
| 1333 var o = new api.DiskTypesScopedList(); | 1337 var o = new api.DiskTypesScopedList(); |
| 1334 buildCounterDiskTypesScopedList++; | 1338 buildCounterDiskTypesScopedList++; |
| 1335 if (buildCounterDiskTypesScopedList < 3) { | 1339 if (buildCounterDiskTypesScopedList < 3) { |
| 1336 o.diskTypes = buildUnnamed2293(); | 1340 o.diskTypes = buildUnnamed743(); |
| 1337 o.warning = buildDiskTypesScopedListWarning(); | 1341 o.warning = buildDiskTypesScopedListWarning(); |
| 1338 } | 1342 } |
| 1339 buildCounterDiskTypesScopedList--; | 1343 buildCounterDiskTypesScopedList--; |
| 1340 return o; | 1344 return o; |
| 1341 } | 1345 } |
| 1342 | 1346 |
| 1343 checkDiskTypesScopedList(api.DiskTypesScopedList o) { | 1347 checkDiskTypesScopedList(api.DiskTypesScopedList o) { |
| 1344 buildCounterDiskTypesScopedList++; | 1348 buildCounterDiskTypesScopedList++; |
| 1345 if (buildCounterDiskTypesScopedList < 3) { | 1349 if (buildCounterDiskTypesScopedList < 3) { |
| 1346 checkUnnamed2293(o.diskTypes); | 1350 checkUnnamed743(o.diskTypes); |
| 1347 checkDiskTypesScopedListWarning(o.warning); | 1351 checkDiskTypesScopedListWarning(o.warning); |
| 1348 } | 1352 } |
| 1349 buildCounterDiskTypesScopedList--; | 1353 buildCounterDiskTypesScopedList--; |
| 1350 } | 1354 } |
| 1351 | 1355 |
| 1352 core.int buildCounterDisksResizeRequest = 0; | 1356 core.int buildCounterDisksResizeRequest = 0; |
| 1353 buildDisksResizeRequest() { | 1357 buildDisksResizeRequest() { |
| 1354 var o = new api.DisksResizeRequest(); | 1358 var o = new api.DisksResizeRequest(); |
| 1355 buildCounterDisksResizeRequest++; | 1359 buildCounterDisksResizeRequest++; |
| 1356 if (buildCounterDisksResizeRequest < 3) { | 1360 if (buildCounterDisksResizeRequest < 3) { |
| 1357 o.sizeGb = "foo"; | 1361 o.sizeGb = "foo"; |
| 1358 } | 1362 } |
| 1359 buildCounterDisksResizeRequest--; | 1363 buildCounterDisksResizeRequest--; |
| 1360 return o; | 1364 return o; |
| 1361 } | 1365 } |
| 1362 | 1366 |
| 1363 checkDisksResizeRequest(api.DisksResizeRequest o) { | 1367 checkDisksResizeRequest(api.DisksResizeRequest o) { |
| 1364 buildCounterDisksResizeRequest++; | 1368 buildCounterDisksResizeRequest++; |
| 1365 if (buildCounterDisksResizeRequest < 3) { | 1369 if (buildCounterDisksResizeRequest < 3) { |
| 1366 unittest.expect(o.sizeGb, unittest.equals('foo')); | 1370 unittest.expect(o.sizeGb, unittest.equals('foo')); |
| 1367 } | 1371 } |
| 1368 buildCounterDisksResizeRequest--; | 1372 buildCounterDisksResizeRequest--; |
| 1369 } | 1373 } |
| 1370 | 1374 |
| 1371 buildUnnamed2295() { | 1375 buildUnnamed745() { |
| 1372 var o = new core.List<api.Disk>(); | 1376 var o = new core.List<api.Disk>(); |
| 1373 o.add(buildDisk()); | 1377 o.add(buildDisk()); |
| 1374 o.add(buildDisk()); | 1378 o.add(buildDisk()); |
| 1375 return o; | 1379 return o; |
| 1376 } | 1380 } |
| 1377 | 1381 |
| 1378 checkUnnamed2295(core.List<api.Disk> o) { | 1382 checkUnnamed745(core.List<api.Disk> o) { |
| 1379 unittest.expect(o, unittest.hasLength(2)); | 1383 unittest.expect(o, unittest.hasLength(2)); |
| 1380 checkDisk(o[0]); | 1384 checkDisk(o[0]); |
| 1381 checkDisk(o[1]); | 1385 checkDisk(o[1]); |
| 1382 } | 1386 } |
| 1383 | 1387 |
| 1384 core.int buildCounterDisksScopedListWarningData = 0; | 1388 core.int buildCounterDisksScopedListWarningData = 0; |
| 1385 buildDisksScopedListWarningData() { | 1389 buildDisksScopedListWarningData() { |
| 1386 var o = new api.DisksScopedListWarningData(); | 1390 var o = new api.DisksScopedListWarningData(); |
| 1387 buildCounterDisksScopedListWarningData++; | 1391 buildCounterDisksScopedListWarningData++; |
| 1388 if (buildCounterDisksScopedListWarningData < 3) { | 1392 if (buildCounterDisksScopedListWarningData < 3) { |
| 1389 o.key = "foo"; | 1393 o.key = "foo"; |
| 1390 o.value = "foo"; | 1394 o.value = "foo"; |
| 1391 } | 1395 } |
| 1392 buildCounterDisksScopedListWarningData--; | 1396 buildCounterDisksScopedListWarningData--; |
| 1393 return o; | 1397 return o; |
| 1394 } | 1398 } |
| 1395 | 1399 |
| 1396 checkDisksScopedListWarningData(api.DisksScopedListWarningData o) { | 1400 checkDisksScopedListWarningData(api.DisksScopedListWarningData o) { |
| 1397 buildCounterDisksScopedListWarningData++; | 1401 buildCounterDisksScopedListWarningData++; |
| 1398 if (buildCounterDisksScopedListWarningData < 3) { | 1402 if (buildCounterDisksScopedListWarningData < 3) { |
| 1399 unittest.expect(o.key, unittest.equals('foo')); | 1403 unittest.expect(o.key, unittest.equals('foo')); |
| 1400 unittest.expect(o.value, unittest.equals('foo')); | 1404 unittest.expect(o.value, unittest.equals('foo')); |
| 1401 } | 1405 } |
| 1402 buildCounterDisksScopedListWarningData--; | 1406 buildCounterDisksScopedListWarningData--; |
| 1403 } | 1407 } |
| 1404 | 1408 |
| 1405 buildUnnamed2296() { | 1409 buildUnnamed746() { |
| 1406 var o = new core.List<api.DisksScopedListWarningData>(); | 1410 var o = new core.List<api.DisksScopedListWarningData>(); |
| 1407 o.add(buildDisksScopedListWarningData()); | 1411 o.add(buildDisksScopedListWarningData()); |
| 1408 o.add(buildDisksScopedListWarningData()); | 1412 o.add(buildDisksScopedListWarningData()); |
| 1409 return o; | 1413 return o; |
| 1410 } | 1414 } |
| 1411 | 1415 |
| 1412 checkUnnamed2296(core.List<api.DisksScopedListWarningData> o) { | 1416 checkUnnamed746(core.List<api.DisksScopedListWarningData> o) { |
| 1413 unittest.expect(o, unittest.hasLength(2)); | 1417 unittest.expect(o, unittest.hasLength(2)); |
| 1414 checkDisksScopedListWarningData(o[0]); | 1418 checkDisksScopedListWarningData(o[0]); |
| 1415 checkDisksScopedListWarningData(o[1]); | 1419 checkDisksScopedListWarningData(o[1]); |
| 1416 } | 1420 } |
| 1417 | 1421 |
| 1418 core.int buildCounterDisksScopedListWarning = 0; | 1422 core.int buildCounterDisksScopedListWarning = 0; |
| 1419 buildDisksScopedListWarning() { | 1423 buildDisksScopedListWarning() { |
| 1420 var o = new api.DisksScopedListWarning(); | 1424 var o = new api.DisksScopedListWarning(); |
| 1421 buildCounterDisksScopedListWarning++; | 1425 buildCounterDisksScopedListWarning++; |
| 1422 if (buildCounterDisksScopedListWarning < 3) { | 1426 if (buildCounterDisksScopedListWarning < 3) { |
| 1423 o.code = "foo"; | 1427 o.code = "foo"; |
| 1424 o.data = buildUnnamed2296(); | 1428 o.data = buildUnnamed746(); |
| 1425 o.message = "foo"; | 1429 o.message = "foo"; |
| 1426 } | 1430 } |
| 1427 buildCounterDisksScopedListWarning--; | 1431 buildCounterDisksScopedListWarning--; |
| 1428 return o; | 1432 return o; |
| 1429 } | 1433 } |
| 1430 | 1434 |
| 1431 checkDisksScopedListWarning(api.DisksScopedListWarning o) { | 1435 checkDisksScopedListWarning(api.DisksScopedListWarning o) { |
| 1432 buildCounterDisksScopedListWarning++; | 1436 buildCounterDisksScopedListWarning++; |
| 1433 if (buildCounterDisksScopedListWarning < 3) { | 1437 if (buildCounterDisksScopedListWarning < 3) { |
| 1434 unittest.expect(o.code, unittest.equals('foo')); | 1438 unittest.expect(o.code, unittest.equals('foo')); |
| 1435 checkUnnamed2296(o.data); | 1439 checkUnnamed746(o.data); |
| 1436 unittest.expect(o.message, unittest.equals('foo')); | 1440 unittest.expect(o.message, unittest.equals('foo')); |
| 1437 } | 1441 } |
| 1438 buildCounterDisksScopedListWarning--; | 1442 buildCounterDisksScopedListWarning--; |
| 1439 } | 1443 } |
| 1440 | 1444 |
| 1441 core.int buildCounterDisksScopedList = 0; | 1445 core.int buildCounterDisksScopedList = 0; |
| 1442 buildDisksScopedList() { | 1446 buildDisksScopedList() { |
| 1443 var o = new api.DisksScopedList(); | 1447 var o = new api.DisksScopedList(); |
| 1444 buildCounterDisksScopedList++; | 1448 buildCounterDisksScopedList++; |
| 1445 if (buildCounterDisksScopedList < 3) { | 1449 if (buildCounterDisksScopedList < 3) { |
| 1446 o.disks = buildUnnamed2295(); | 1450 o.disks = buildUnnamed745(); |
| 1447 o.warning = buildDisksScopedListWarning(); | 1451 o.warning = buildDisksScopedListWarning(); |
| 1448 } | 1452 } |
| 1449 buildCounterDisksScopedList--; | 1453 buildCounterDisksScopedList--; |
| 1450 return o; | 1454 return o; |
| 1451 } | 1455 } |
| 1452 | 1456 |
| 1453 checkDisksScopedList(api.DisksScopedList o) { | 1457 checkDisksScopedList(api.DisksScopedList o) { |
| 1454 buildCounterDisksScopedList++; | 1458 buildCounterDisksScopedList++; |
| 1455 if (buildCounterDisksScopedList < 3) { | 1459 if (buildCounterDisksScopedList < 3) { |
| 1456 checkUnnamed2295(o.disks); | 1460 checkUnnamed745(o.disks); |
| 1457 checkDisksScopedListWarning(o.warning); | 1461 checkDisksScopedListWarning(o.warning); |
| 1458 } | 1462 } |
| 1459 buildCounterDisksScopedList--; | 1463 buildCounterDisksScopedList--; |
| 1460 } | 1464 } |
| 1461 | 1465 |
| 1462 buildUnnamed2297() { | 1466 buildUnnamed747() { |
| 1463 var o = new core.List<core.String>(); | 1467 var o = new core.List<core.String>(); |
| 1464 o.add("foo"); | 1468 o.add("foo"); |
| 1465 o.add("foo"); | 1469 o.add("foo"); |
| 1466 return o; | 1470 return o; |
| 1467 } | 1471 } |
| 1468 | 1472 |
| 1469 checkUnnamed2297(core.List<core.String> o) { | 1473 checkUnnamed747(core.List<core.String> o) { |
| 1470 unittest.expect(o, unittest.hasLength(2)); | 1474 unittest.expect(o, unittest.hasLength(2)); |
| 1471 unittest.expect(o[0], unittest.equals('foo')); | 1475 unittest.expect(o[0], unittest.equals('foo')); |
| 1472 unittest.expect(o[1], unittest.equals('foo')); | 1476 unittest.expect(o[1], unittest.equals('foo')); |
| 1473 } | 1477 } |
| 1474 | 1478 |
| 1475 core.int buildCounterFirewallAllowed = 0; | 1479 core.int buildCounterFirewallAllowed = 0; |
| 1476 buildFirewallAllowed() { | 1480 buildFirewallAllowed() { |
| 1477 var o = new api.FirewallAllowed(); | 1481 var o = new api.FirewallAllowed(); |
| 1478 buildCounterFirewallAllowed++; | 1482 buildCounterFirewallAllowed++; |
| 1479 if (buildCounterFirewallAllowed < 3) { | 1483 if (buildCounterFirewallAllowed < 3) { |
| 1480 o.IPProtocol = "foo"; | 1484 o.IPProtocol = "foo"; |
| 1481 o.ports = buildUnnamed2297(); | 1485 o.ports = buildUnnamed747(); |
| 1482 } | 1486 } |
| 1483 buildCounterFirewallAllowed--; | 1487 buildCounterFirewallAllowed--; |
| 1484 return o; | 1488 return o; |
| 1485 } | 1489 } |
| 1486 | 1490 |
| 1487 checkFirewallAllowed(api.FirewallAllowed o) { | 1491 checkFirewallAllowed(api.FirewallAllowed o) { |
| 1488 buildCounterFirewallAllowed++; | 1492 buildCounterFirewallAllowed++; |
| 1489 if (buildCounterFirewallAllowed < 3) { | 1493 if (buildCounterFirewallAllowed < 3) { |
| 1490 unittest.expect(o.IPProtocol, unittest.equals('foo')); | 1494 unittest.expect(o.IPProtocol, unittest.equals('foo')); |
| 1491 checkUnnamed2297(o.ports); | 1495 checkUnnamed747(o.ports); |
| 1492 } | 1496 } |
| 1493 buildCounterFirewallAllowed--; | 1497 buildCounterFirewallAllowed--; |
| 1494 } | 1498 } |
| 1495 | 1499 |
| 1496 buildUnnamed2298() { | 1500 buildUnnamed748() { |
| 1497 var o = new core.List<api.FirewallAllowed>(); | 1501 var o = new core.List<api.FirewallAllowed>(); |
| 1498 o.add(buildFirewallAllowed()); | 1502 o.add(buildFirewallAllowed()); |
| 1499 o.add(buildFirewallAllowed()); | 1503 o.add(buildFirewallAllowed()); |
| 1500 return o; | 1504 return o; |
| 1501 } | 1505 } |
| 1502 | 1506 |
| 1503 checkUnnamed2298(core.List<api.FirewallAllowed> o) { | 1507 checkUnnamed748(core.List<api.FirewallAllowed> o) { |
| 1504 unittest.expect(o, unittest.hasLength(2)); | 1508 unittest.expect(o, unittest.hasLength(2)); |
| 1505 checkFirewallAllowed(o[0]); | 1509 checkFirewallAllowed(o[0]); |
| 1506 checkFirewallAllowed(o[1]); | 1510 checkFirewallAllowed(o[1]); |
| 1507 } | 1511 } |
| 1508 | 1512 |
| 1509 buildUnnamed2299() { | 1513 buildUnnamed749() { |
| 1510 var o = new core.List<core.String>(); | 1514 var o = new core.List<core.String>(); |
| 1511 o.add("foo"); | 1515 o.add("foo"); |
| 1512 o.add("foo"); | 1516 o.add("foo"); |
| 1513 return o; | 1517 return o; |
| 1514 } | 1518 } |
| 1515 | 1519 |
| 1516 checkUnnamed2299(core.List<core.String> o) { | 1520 checkUnnamed749(core.List<core.String> o) { |
| 1517 unittest.expect(o, unittest.hasLength(2)); | 1521 unittest.expect(o, unittest.hasLength(2)); |
| 1518 unittest.expect(o[0], unittest.equals('foo')); | 1522 unittest.expect(o[0], unittest.equals('foo')); |
| 1519 unittest.expect(o[1], unittest.equals('foo')); | 1523 unittest.expect(o[1], unittest.equals('foo')); |
| 1520 } | 1524 } |
| 1521 | 1525 |
| 1522 buildUnnamed2300() { | 1526 buildUnnamed750() { |
| 1523 var o = new core.List<core.String>(); | 1527 var o = new core.List<core.String>(); |
| 1524 o.add("foo"); | 1528 o.add("foo"); |
| 1525 o.add("foo"); | 1529 o.add("foo"); |
| 1526 return o; | 1530 return o; |
| 1527 } | 1531 } |
| 1528 | 1532 |
| 1529 checkUnnamed2300(core.List<core.String> o) { | 1533 checkUnnamed750(core.List<core.String> o) { |
| 1530 unittest.expect(o, unittest.hasLength(2)); | 1534 unittest.expect(o, unittest.hasLength(2)); |
| 1531 unittest.expect(o[0], unittest.equals('foo')); | 1535 unittest.expect(o[0], unittest.equals('foo')); |
| 1532 unittest.expect(o[1], unittest.equals('foo')); | 1536 unittest.expect(o[1], unittest.equals('foo')); |
| 1533 } | 1537 } |
| 1534 | 1538 |
| 1535 buildUnnamed2301() { | 1539 buildUnnamed751() { |
| 1536 var o = new core.List<core.String>(); | 1540 var o = new core.List<core.String>(); |
| 1537 o.add("foo"); | 1541 o.add("foo"); |
| 1538 o.add("foo"); | 1542 o.add("foo"); |
| 1539 return o; | 1543 return o; |
| 1540 } | 1544 } |
| 1541 | 1545 |
| 1542 checkUnnamed2301(core.List<core.String> o) { | 1546 checkUnnamed751(core.List<core.String> o) { |
| 1543 unittest.expect(o, unittest.hasLength(2)); | 1547 unittest.expect(o, unittest.hasLength(2)); |
| 1544 unittest.expect(o[0], unittest.equals('foo')); | 1548 unittest.expect(o[0], unittest.equals('foo')); |
| 1545 unittest.expect(o[1], unittest.equals('foo')); | 1549 unittest.expect(o[1], unittest.equals('foo')); |
| 1546 } | 1550 } |
| 1547 | 1551 |
| 1548 core.int buildCounterFirewall = 0; | 1552 core.int buildCounterFirewall = 0; |
| 1549 buildFirewall() { | 1553 buildFirewall() { |
| 1550 var o = new api.Firewall(); | 1554 var o = new api.Firewall(); |
| 1551 buildCounterFirewall++; | 1555 buildCounterFirewall++; |
| 1552 if (buildCounterFirewall < 3) { | 1556 if (buildCounterFirewall < 3) { |
| 1553 o.allowed = buildUnnamed2298(); | 1557 o.allowed = buildUnnamed748(); |
| 1554 o.creationTimestamp = "foo"; | 1558 o.creationTimestamp = "foo"; |
| 1555 o.description = "foo"; | 1559 o.description = "foo"; |
| 1556 o.id = "foo"; | 1560 o.id = "foo"; |
| 1557 o.kind = "foo"; | 1561 o.kind = "foo"; |
| 1558 o.name = "foo"; | 1562 o.name = "foo"; |
| 1559 o.network = "foo"; | 1563 o.network = "foo"; |
| 1560 o.selfLink = "foo"; | 1564 o.selfLink = "foo"; |
| 1561 o.sourceRanges = buildUnnamed2299(); | 1565 o.sourceRanges = buildUnnamed749(); |
| 1562 o.sourceTags = buildUnnamed2300(); | 1566 o.sourceTags = buildUnnamed750(); |
| 1563 o.targetTags = buildUnnamed2301(); | 1567 o.targetTags = buildUnnamed751(); |
| 1564 } | 1568 } |
| 1565 buildCounterFirewall--; | 1569 buildCounterFirewall--; |
| 1566 return o; | 1570 return o; |
| 1567 } | 1571 } |
| 1568 | 1572 |
| 1569 checkFirewall(api.Firewall o) { | 1573 checkFirewall(api.Firewall o) { |
| 1570 buildCounterFirewall++; | 1574 buildCounterFirewall++; |
| 1571 if (buildCounterFirewall < 3) { | 1575 if (buildCounterFirewall < 3) { |
| 1572 checkUnnamed2298(o.allowed); | 1576 checkUnnamed748(o.allowed); |
| 1573 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 1577 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 1574 unittest.expect(o.description, unittest.equals('foo')); | 1578 unittest.expect(o.description, unittest.equals('foo')); |
| 1575 unittest.expect(o.id, unittest.equals('foo')); | 1579 unittest.expect(o.id, unittest.equals('foo')); |
| 1576 unittest.expect(o.kind, unittest.equals('foo')); | 1580 unittest.expect(o.kind, unittest.equals('foo')); |
| 1577 unittest.expect(o.name, unittest.equals('foo')); | 1581 unittest.expect(o.name, unittest.equals('foo')); |
| 1578 unittest.expect(o.network, unittest.equals('foo')); | 1582 unittest.expect(o.network, unittest.equals('foo')); |
| 1579 unittest.expect(o.selfLink, unittest.equals('foo')); | 1583 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1580 checkUnnamed2299(o.sourceRanges); | 1584 checkUnnamed749(o.sourceRanges); |
| 1581 checkUnnamed2300(o.sourceTags); | 1585 checkUnnamed750(o.sourceTags); |
| 1582 checkUnnamed2301(o.targetTags); | 1586 checkUnnamed751(o.targetTags); |
| 1583 } | 1587 } |
| 1584 buildCounterFirewall--; | 1588 buildCounterFirewall--; |
| 1585 } | 1589 } |
| 1586 | 1590 |
| 1587 buildUnnamed2302() { | 1591 buildUnnamed752() { |
| 1588 var o = new core.List<api.Firewall>(); | 1592 var o = new core.List<api.Firewall>(); |
| 1589 o.add(buildFirewall()); | 1593 o.add(buildFirewall()); |
| 1590 o.add(buildFirewall()); | 1594 o.add(buildFirewall()); |
| 1591 return o; | 1595 return o; |
| 1592 } | 1596 } |
| 1593 | 1597 |
| 1594 checkUnnamed2302(core.List<api.Firewall> o) { | 1598 checkUnnamed752(core.List<api.Firewall> o) { |
| 1595 unittest.expect(o, unittest.hasLength(2)); | 1599 unittest.expect(o, unittest.hasLength(2)); |
| 1596 checkFirewall(o[0]); | 1600 checkFirewall(o[0]); |
| 1597 checkFirewall(o[1]); | 1601 checkFirewall(o[1]); |
| 1598 } | 1602 } |
| 1599 | 1603 |
| 1600 core.int buildCounterFirewallList = 0; | 1604 core.int buildCounterFirewallList = 0; |
| 1601 buildFirewallList() { | 1605 buildFirewallList() { |
| 1602 var o = new api.FirewallList(); | 1606 var o = new api.FirewallList(); |
| 1603 buildCounterFirewallList++; | 1607 buildCounterFirewallList++; |
| 1604 if (buildCounterFirewallList < 3) { | 1608 if (buildCounterFirewallList < 3) { |
| 1605 o.id = "foo"; | 1609 o.id = "foo"; |
| 1606 o.items = buildUnnamed2302(); | 1610 o.items = buildUnnamed752(); |
| 1607 o.kind = "foo"; | 1611 o.kind = "foo"; |
| 1608 o.nextPageToken = "foo"; | 1612 o.nextPageToken = "foo"; |
| 1609 o.selfLink = "foo"; | 1613 o.selfLink = "foo"; |
| 1610 } | 1614 } |
| 1611 buildCounterFirewallList--; | 1615 buildCounterFirewallList--; |
| 1612 return o; | 1616 return o; |
| 1613 } | 1617 } |
| 1614 | 1618 |
| 1615 checkFirewallList(api.FirewallList o) { | 1619 checkFirewallList(api.FirewallList o) { |
| 1616 buildCounterFirewallList++; | 1620 buildCounterFirewallList++; |
| 1617 if (buildCounterFirewallList < 3) { | 1621 if (buildCounterFirewallList < 3) { |
| 1618 unittest.expect(o.id, unittest.equals('foo')); | 1622 unittest.expect(o.id, unittest.equals('foo')); |
| 1619 checkUnnamed2302(o.items); | 1623 checkUnnamed752(o.items); |
| 1620 unittest.expect(o.kind, unittest.equals('foo')); | 1624 unittest.expect(o.kind, unittest.equals('foo')); |
| 1621 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1625 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1622 unittest.expect(o.selfLink, unittest.equals('foo')); | 1626 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1623 } | 1627 } |
| 1624 buildCounterFirewallList--; | 1628 buildCounterFirewallList--; |
| 1625 } | 1629 } |
| 1626 | 1630 |
| 1627 core.int buildCounterForwardingRule = 0; | 1631 core.int buildCounterForwardingRule = 0; |
| 1628 buildForwardingRule() { | 1632 buildForwardingRule() { |
| 1629 var o = new api.ForwardingRule(); | 1633 var o = new api.ForwardingRule(); |
| (...skipping 26 matching lines...) Expand all Loading... |
| 1656 unittest.expect(o.kind, unittest.equals('foo')); | 1660 unittest.expect(o.kind, unittest.equals('foo')); |
| 1657 unittest.expect(o.name, unittest.equals('foo')); | 1661 unittest.expect(o.name, unittest.equals('foo')); |
| 1658 unittest.expect(o.portRange, unittest.equals('foo')); | 1662 unittest.expect(o.portRange, unittest.equals('foo')); |
| 1659 unittest.expect(o.region, unittest.equals('foo')); | 1663 unittest.expect(o.region, unittest.equals('foo')); |
| 1660 unittest.expect(o.selfLink, unittest.equals('foo')); | 1664 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1661 unittest.expect(o.target, unittest.equals('foo')); | 1665 unittest.expect(o.target, unittest.equals('foo')); |
| 1662 } | 1666 } |
| 1663 buildCounterForwardingRule--; | 1667 buildCounterForwardingRule--; |
| 1664 } | 1668 } |
| 1665 | 1669 |
| 1666 buildUnnamed2303() { | 1670 buildUnnamed753() { |
| 1667 var o = new core.Map<core.String, api.ForwardingRulesScopedList>(); | 1671 var o = new core.Map<core.String, api.ForwardingRulesScopedList>(); |
| 1668 o["x"] = buildForwardingRulesScopedList(); | 1672 o["x"] = buildForwardingRulesScopedList(); |
| 1669 o["y"] = buildForwardingRulesScopedList(); | 1673 o["y"] = buildForwardingRulesScopedList(); |
| 1670 return o; | 1674 return o; |
| 1671 } | 1675 } |
| 1672 | 1676 |
| 1673 checkUnnamed2303(core.Map<core.String, api.ForwardingRulesScopedList> o) { | 1677 checkUnnamed753(core.Map<core.String, api.ForwardingRulesScopedList> o) { |
| 1674 unittest.expect(o, unittest.hasLength(2)); | 1678 unittest.expect(o, unittest.hasLength(2)); |
| 1675 checkForwardingRulesScopedList(o["x"]); | 1679 checkForwardingRulesScopedList(o["x"]); |
| 1676 checkForwardingRulesScopedList(o["y"]); | 1680 checkForwardingRulesScopedList(o["y"]); |
| 1677 } | 1681 } |
| 1678 | 1682 |
| 1679 core.int buildCounterForwardingRuleAggregatedList = 0; | 1683 core.int buildCounterForwardingRuleAggregatedList = 0; |
| 1680 buildForwardingRuleAggregatedList() { | 1684 buildForwardingRuleAggregatedList() { |
| 1681 var o = new api.ForwardingRuleAggregatedList(); | 1685 var o = new api.ForwardingRuleAggregatedList(); |
| 1682 buildCounterForwardingRuleAggregatedList++; | 1686 buildCounterForwardingRuleAggregatedList++; |
| 1683 if (buildCounterForwardingRuleAggregatedList < 3) { | 1687 if (buildCounterForwardingRuleAggregatedList < 3) { |
| 1684 o.id = "foo"; | 1688 o.id = "foo"; |
| 1685 o.items = buildUnnamed2303(); | 1689 o.items = buildUnnamed753(); |
| 1686 o.kind = "foo"; | 1690 o.kind = "foo"; |
| 1687 o.nextPageToken = "foo"; | 1691 o.nextPageToken = "foo"; |
| 1688 o.selfLink = "foo"; | 1692 o.selfLink = "foo"; |
| 1689 } | 1693 } |
| 1690 buildCounterForwardingRuleAggregatedList--; | 1694 buildCounterForwardingRuleAggregatedList--; |
| 1691 return o; | 1695 return o; |
| 1692 } | 1696 } |
| 1693 | 1697 |
| 1694 checkForwardingRuleAggregatedList(api.ForwardingRuleAggregatedList o) { | 1698 checkForwardingRuleAggregatedList(api.ForwardingRuleAggregatedList o) { |
| 1695 buildCounterForwardingRuleAggregatedList++; | 1699 buildCounterForwardingRuleAggregatedList++; |
| 1696 if (buildCounterForwardingRuleAggregatedList < 3) { | 1700 if (buildCounterForwardingRuleAggregatedList < 3) { |
| 1697 unittest.expect(o.id, unittest.equals('foo')); | 1701 unittest.expect(o.id, unittest.equals('foo')); |
| 1698 checkUnnamed2303(o.items); | 1702 checkUnnamed753(o.items); |
| 1699 unittest.expect(o.kind, unittest.equals('foo')); | 1703 unittest.expect(o.kind, unittest.equals('foo')); |
| 1700 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1704 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1701 unittest.expect(o.selfLink, unittest.equals('foo')); | 1705 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1702 } | 1706 } |
| 1703 buildCounterForwardingRuleAggregatedList--; | 1707 buildCounterForwardingRuleAggregatedList--; |
| 1704 } | 1708 } |
| 1705 | 1709 |
| 1706 buildUnnamed2304() { | 1710 buildUnnamed754() { |
| 1707 var o = new core.List<api.ForwardingRule>(); | 1711 var o = new core.List<api.ForwardingRule>(); |
| 1708 o.add(buildForwardingRule()); | 1712 o.add(buildForwardingRule()); |
| 1709 o.add(buildForwardingRule()); | 1713 o.add(buildForwardingRule()); |
| 1710 return o; | 1714 return o; |
| 1711 } | 1715 } |
| 1712 | 1716 |
| 1713 checkUnnamed2304(core.List<api.ForwardingRule> o) { | 1717 checkUnnamed754(core.List<api.ForwardingRule> o) { |
| 1714 unittest.expect(o, unittest.hasLength(2)); | 1718 unittest.expect(o, unittest.hasLength(2)); |
| 1715 checkForwardingRule(o[0]); | 1719 checkForwardingRule(o[0]); |
| 1716 checkForwardingRule(o[1]); | 1720 checkForwardingRule(o[1]); |
| 1717 } | 1721 } |
| 1718 | 1722 |
| 1719 core.int buildCounterForwardingRuleList = 0; | 1723 core.int buildCounterForwardingRuleList = 0; |
| 1720 buildForwardingRuleList() { | 1724 buildForwardingRuleList() { |
| 1721 var o = new api.ForwardingRuleList(); | 1725 var o = new api.ForwardingRuleList(); |
| 1722 buildCounterForwardingRuleList++; | 1726 buildCounterForwardingRuleList++; |
| 1723 if (buildCounterForwardingRuleList < 3) { | 1727 if (buildCounterForwardingRuleList < 3) { |
| 1724 o.id = "foo"; | 1728 o.id = "foo"; |
| 1725 o.items = buildUnnamed2304(); | 1729 o.items = buildUnnamed754(); |
| 1726 o.kind = "foo"; | 1730 o.kind = "foo"; |
| 1727 o.nextPageToken = "foo"; | 1731 o.nextPageToken = "foo"; |
| 1728 o.selfLink = "foo"; | 1732 o.selfLink = "foo"; |
| 1729 } | 1733 } |
| 1730 buildCounterForwardingRuleList--; | 1734 buildCounterForwardingRuleList--; |
| 1731 return o; | 1735 return o; |
| 1732 } | 1736 } |
| 1733 | 1737 |
| 1734 checkForwardingRuleList(api.ForwardingRuleList o) { | 1738 checkForwardingRuleList(api.ForwardingRuleList o) { |
| 1735 buildCounterForwardingRuleList++; | 1739 buildCounterForwardingRuleList++; |
| 1736 if (buildCounterForwardingRuleList < 3) { | 1740 if (buildCounterForwardingRuleList < 3) { |
| 1737 unittest.expect(o.id, unittest.equals('foo')); | 1741 unittest.expect(o.id, unittest.equals('foo')); |
| 1738 checkUnnamed2304(o.items); | 1742 checkUnnamed754(o.items); |
| 1739 unittest.expect(o.kind, unittest.equals('foo')); | 1743 unittest.expect(o.kind, unittest.equals('foo')); |
| 1740 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1744 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1741 unittest.expect(o.selfLink, unittest.equals('foo')); | 1745 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1742 } | 1746 } |
| 1743 buildCounterForwardingRuleList--; | 1747 buildCounterForwardingRuleList--; |
| 1744 } | 1748 } |
| 1745 | 1749 |
| 1746 buildUnnamed2305() { | 1750 buildUnnamed755() { |
| 1747 var o = new core.List<api.ForwardingRule>(); | 1751 var o = new core.List<api.ForwardingRule>(); |
| 1748 o.add(buildForwardingRule()); | 1752 o.add(buildForwardingRule()); |
| 1749 o.add(buildForwardingRule()); | 1753 o.add(buildForwardingRule()); |
| 1750 return o; | 1754 return o; |
| 1751 } | 1755 } |
| 1752 | 1756 |
| 1753 checkUnnamed2305(core.List<api.ForwardingRule> o) { | 1757 checkUnnamed755(core.List<api.ForwardingRule> o) { |
| 1754 unittest.expect(o, unittest.hasLength(2)); | 1758 unittest.expect(o, unittest.hasLength(2)); |
| 1755 checkForwardingRule(o[0]); | 1759 checkForwardingRule(o[0]); |
| 1756 checkForwardingRule(o[1]); | 1760 checkForwardingRule(o[1]); |
| 1757 } | 1761 } |
| 1758 | 1762 |
| 1759 core.int buildCounterForwardingRulesScopedListWarningData = 0; | 1763 core.int buildCounterForwardingRulesScopedListWarningData = 0; |
| 1760 buildForwardingRulesScopedListWarningData() { | 1764 buildForwardingRulesScopedListWarningData() { |
| 1761 var o = new api.ForwardingRulesScopedListWarningData(); | 1765 var o = new api.ForwardingRulesScopedListWarningData(); |
| 1762 buildCounterForwardingRulesScopedListWarningData++; | 1766 buildCounterForwardingRulesScopedListWarningData++; |
| 1763 if (buildCounterForwardingRulesScopedListWarningData < 3) { | 1767 if (buildCounterForwardingRulesScopedListWarningData < 3) { |
| 1764 o.key = "foo"; | 1768 o.key = "foo"; |
| 1765 o.value = "foo"; | 1769 o.value = "foo"; |
| 1766 } | 1770 } |
| 1767 buildCounterForwardingRulesScopedListWarningData--; | 1771 buildCounterForwardingRulesScopedListWarningData--; |
| 1768 return o; | 1772 return o; |
| 1769 } | 1773 } |
| 1770 | 1774 |
| 1771 checkForwardingRulesScopedListWarningData(api.ForwardingRulesScopedListWarningDa
ta o) { | 1775 checkForwardingRulesScopedListWarningData(api.ForwardingRulesScopedListWarningDa
ta o) { |
| 1772 buildCounterForwardingRulesScopedListWarningData++; | 1776 buildCounterForwardingRulesScopedListWarningData++; |
| 1773 if (buildCounterForwardingRulesScopedListWarningData < 3) { | 1777 if (buildCounterForwardingRulesScopedListWarningData < 3) { |
| 1774 unittest.expect(o.key, unittest.equals('foo')); | 1778 unittest.expect(o.key, unittest.equals('foo')); |
| 1775 unittest.expect(o.value, unittest.equals('foo')); | 1779 unittest.expect(o.value, unittest.equals('foo')); |
| 1776 } | 1780 } |
| 1777 buildCounterForwardingRulesScopedListWarningData--; | 1781 buildCounterForwardingRulesScopedListWarningData--; |
| 1778 } | 1782 } |
| 1779 | 1783 |
| 1780 buildUnnamed2306() { | 1784 buildUnnamed756() { |
| 1781 var o = new core.List<api.ForwardingRulesScopedListWarningData>(); | 1785 var o = new core.List<api.ForwardingRulesScopedListWarningData>(); |
| 1782 o.add(buildForwardingRulesScopedListWarningData()); | 1786 o.add(buildForwardingRulesScopedListWarningData()); |
| 1783 o.add(buildForwardingRulesScopedListWarningData()); | 1787 o.add(buildForwardingRulesScopedListWarningData()); |
| 1784 return o; | 1788 return o; |
| 1785 } | 1789 } |
| 1786 | 1790 |
| 1787 checkUnnamed2306(core.List<api.ForwardingRulesScopedListWarningData> o) { | 1791 checkUnnamed756(core.List<api.ForwardingRulesScopedListWarningData> o) { |
| 1788 unittest.expect(o, unittest.hasLength(2)); | 1792 unittest.expect(o, unittest.hasLength(2)); |
| 1789 checkForwardingRulesScopedListWarningData(o[0]); | 1793 checkForwardingRulesScopedListWarningData(o[0]); |
| 1790 checkForwardingRulesScopedListWarningData(o[1]); | 1794 checkForwardingRulesScopedListWarningData(o[1]); |
| 1791 } | 1795 } |
| 1792 | 1796 |
| 1793 core.int buildCounterForwardingRulesScopedListWarning = 0; | 1797 core.int buildCounterForwardingRulesScopedListWarning = 0; |
| 1794 buildForwardingRulesScopedListWarning() { | 1798 buildForwardingRulesScopedListWarning() { |
| 1795 var o = new api.ForwardingRulesScopedListWarning(); | 1799 var o = new api.ForwardingRulesScopedListWarning(); |
| 1796 buildCounterForwardingRulesScopedListWarning++; | 1800 buildCounterForwardingRulesScopedListWarning++; |
| 1797 if (buildCounterForwardingRulesScopedListWarning < 3) { | 1801 if (buildCounterForwardingRulesScopedListWarning < 3) { |
| 1798 o.code = "foo"; | 1802 o.code = "foo"; |
| 1799 o.data = buildUnnamed2306(); | 1803 o.data = buildUnnamed756(); |
| 1800 o.message = "foo"; | 1804 o.message = "foo"; |
| 1801 } | 1805 } |
| 1802 buildCounterForwardingRulesScopedListWarning--; | 1806 buildCounterForwardingRulesScopedListWarning--; |
| 1803 return o; | 1807 return o; |
| 1804 } | 1808 } |
| 1805 | 1809 |
| 1806 checkForwardingRulesScopedListWarning(api.ForwardingRulesScopedListWarning o) { | 1810 checkForwardingRulesScopedListWarning(api.ForwardingRulesScopedListWarning o) { |
| 1807 buildCounterForwardingRulesScopedListWarning++; | 1811 buildCounterForwardingRulesScopedListWarning++; |
| 1808 if (buildCounterForwardingRulesScopedListWarning < 3) { | 1812 if (buildCounterForwardingRulesScopedListWarning < 3) { |
| 1809 unittest.expect(o.code, unittest.equals('foo')); | 1813 unittest.expect(o.code, unittest.equals('foo')); |
| 1810 checkUnnamed2306(o.data); | 1814 checkUnnamed756(o.data); |
| 1811 unittest.expect(o.message, unittest.equals('foo')); | 1815 unittest.expect(o.message, unittest.equals('foo')); |
| 1812 } | 1816 } |
| 1813 buildCounterForwardingRulesScopedListWarning--; | 1817 buildCounterForwardingRulesScopedListWarning--; |
| 1814 } | 1818 } |
| 1815 | 1819 |
| 1816 core.int buildCounterForwardingRulesScopedList = 0; | 1820 core.int buildCounterForwardingRulesScopedList = 0; |
| 1817 buildForwardingRulesScopedList() { | 1821 buildForwardingRulesScopedList() { |
| 1818 var o = new api.ForwardingRulesScopedList(); | 1822 var o = new api.ForwardingRulesScopedList(); |
| 1819 buildCounterForwardingRulesScopedList++; | 1823 buildCounterForwardingRulesScopedList++; |
| 1820 if (buildCounterForwardingRulesScopedList < 3) { | 1824 if (buildCounterForwardingRulesScopedList < 3) { |
| 1821 o.forwardingRules = buildUnnamed2305(); | 1825 o.forwardingRules = buildUnnamed755(); |
| 1822 o.warning = buildForwardingRulesScopedListWarning(); | 1826 o.warning = buildForwardingRulesScopedListWarning(); |
| 1823 } | 1827 } |
| 1824 buildCounterForwardingRulesScopedList--; | 1828 buildCounterForwardingRulesScopedList--; |
| 1825 return o; | 1829 return o; |
| 1826 } | 1830 } |
| 1827 | 1831 |
| 1828 checkForwardingRulesScopedList(api.ForwardingRulesScopedList o) { | 1832 checkForwardingRulesScopedList(api.ForwardingRulesScopedList o) { |
| 1829 buildCounterForwardingRulesScopedList++; | 1833 buildCounterForwardingRulesScopedList++; |
| 1830 if (buildCounterForwardingRulesScopedList < 3) { | 1834 if (buildCounterForwardingRulesScopedList < 3) { |
| 1831 checkUnnamed2305(o.forwardingRules); | 1835 checkUnnamed755(o.forwardingRules); |
| 1832 checkForwardingRulesScopedListWarning(o.warning); | 1836 checkForwardingRulesScopedListWarning(o.warning); |
| 1833 } | 1837 } |
| 1834 buildCounterForwardingRulesScopedList--; | 1838 buildCounterForwardingRulesScopedList--; |
| 1835 } | 1839 } |
| 1836 | 1840 |
| 1837 core.int buildCounterHealthCheckReference = 0; | 1841 core.int buildCounterHealthCheckReference = 0; |
| 1838 buildHealthCheckReference() { | 1842 buildHealthCheckReference() { |
| 1839 var o = new api.HealthCheckReference(); | 1843 var o = new api.HealthCheckReference(); |
| 1840 buildCounterHealthCheckReference++; | 1844 buildCounterHealthCheckReference++; |
| 1841 if (buildCounterHealthCheckReference < 3) { | 1845 if (buildCounterHealthCheckReference < 3) { |
| (...skipping 29 matching lines...) Expand all Loading... |
| 1871 buildCounterHealthStatus++; | 1875 buildCounterHealthStatus++; |
| 1872 if (buildCounterHealthStatus < 3) { | 1876 if (buildCounterHealthStatus < 3) { |
| 1873 unittest.expect(o.healthState, unittest.equals('foo')); | 1877 unittest.expect(o.healthState, unittest.equals('foo')); |
| 1874 unittest.expect(o.instance, unittest.equals('foo')); | 1878 unittest.expect(o.instance, unittest.equals('foo')); |
| 1875 unittest.expect(o.ipAddress, unittest.equals('foo')); | 1879 unittest.expect(o.ipAddress, unittest.equals('foo')); |
| 1876 unittest.expect(o.port, unittest.equals(42)); | 1880 unittest.expect(o.port, unittest.equals(42)); |
| 1877 } | 1881 } |
| 1878 buildCounterHealthStatus--; | 1882 buildCounterHealthStatus--; |
| 1879 } | 1883 } |
| 1880 | 1884 |
| 1881 buildUnnamed2307() { | 1885 buildUnnamed757() { |
| 1882 var o = new core.List<core.String>(); | 1886 var o = new core.List<core.String>(); |
| 1883 o.add("foo"); | 1887 o.add("foo"); |
| 1884 o.add("foo"); | 1888 o.add("foo"); |
| 1885 return o; | 1889 return o; |
| 1886 } | 1890 } |
| 1887 | 1891 |
| 1888 checkUnnamed2307(core.List<core.String> o) { | 1892 checkUnnamed757(core.List<core.String> o) { |
| 1889 unittest.expect(o, unittest.hasLength(2)); | 1893 unittest.expect(o, unittest.hasLength(2)); |
| 1890 unittest.expect(o[0], unittest.equals('foo')); | 1894 unittest.expect(o[0], unittest.equals('foo')); |
| 1891 unittest.expect(o[1], unittest.equals('foo')); | 1895 unittest.expect(o[1], unittest.equals('foo')); |
| 1892 } | 1896 } |
| 1893 | 1897 |
| 1894 core.int buildCounterHostRule = 0; | 1898 core.int buildCounterHostRule = 0; |
| 1895 buildHostRule() { | 1899 buildHostRule() { |
| 1896 var o = new api.HostRule(); | 1900 var o = new api.HostRule(); |
| 1897 buildCounterHostRule++; | 1901 buildCounterHostRule++; |
| 1898 if (buildCounterHostRule < 3) { | 1902 if (buildCounterHostRule < 3) { |
| 1899 o.description = "foo"; | 1903 o.description = "foo"; |
| 1900 o.hosts = buildUnnamed2307(); | 1904 o.hosts = buildUnnamed757(); |
| 1901 o.pathMatcher = "foo"; | 1905 o.pathMatcher = "foo"; |
| 1902 } | 1906 } |
| 1903 buildCounterHostRule--; | 1907 buildCounterHostRule--; |
| 1904 return o; | 1908 return o; |
| 1905 } | 1909 } |
| 1906 | 1910 |
| 1907 checkHostRule(api.HostRule o) { | 1911 checkHostRule(api.HostRule o) { |
| 1908 buildCounterHostRule++; | 1912 buildCounterHostRule++; |
| 1909 if (buildCounterHostRule < 3) { | 1913 if (buildCounterHostRule < 3) { |
| 1910 unittest.expect(o.description, unittest.equals('foo')); | 1914 unittest.expect(o.description, unittest.equals('foo')); |
| 1911 checkUnnamed2307(o.hosts); | 1915 checkUnnamed757(o.hosts); |
| 1912 unittest.expect(o.pathMatcher, unittest.equals('foo')); | 1916 unittest.expect(o.pathMatcher, unittest.equals('foo')); |
| 1913 } | 1917 } |
| 1914 buildCounterHostRule--; | 1918 buildCounterHostRule--; |
| 1915 } | 1919 } |
| 1916 | 1920 |
| 1917 core.int buildCounterHttpHealthCheck = 0; | 1921 core.int buildCounterHttpHealthCheck = 0; |
| 1918 buildHttpHealthCheck() { | 1922 buildHttpHealthCheck() { |
| 1919 var o = new api.HttpHealthCheck(); | 1923 var o = new api.HttpHealthCheck(); |
| 1920 buildCounterHttpHealthCheck++; | 1924 buildCounterHttpHealthCheck++; |
| 1921 if (buildCounterHttpHealthCheck < 3) { | 1925 if (buildCounterHttpHealthCheck < 3) { |
| (...skipping 28 matching lines...) Expand all Loading... |
| 1950 unittest.expect(o.name, unittest.equals('foo')); | 1954 unittest.expect(o.name, unittest.equals('foo')); |
| 1951 unittest.expect(o.port, unittest.equals(42)); | 1955 unittest.expect(o.port, unittest.equals(42)); |
| 1952 unittest.expect(o.requestPath, unittest.equals('foo')); | 1956 unittest.expect(o.requestPath, unittest.equals('foo')); |
| 1953 unittest.expect(o.selfLink, unittest.equals('foo')); | 1957 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1954 unittest.expect(o.timeoutSec, unittest.equals(42)); | 1958 unittest.expect(o.timeoutSec, unittest.equals(42)); |
| 1955 unittest.expect(o.unhealthyThreshold, unittest.equals(42)); | 1959 unittest.expect(o.unhealthyThreshold, unittest.equals(42)); |
| 1956 } | 1960 } |
| 1957 buildCounterHttpHealthCheck--; | 1961 buildCounterHttpHealthCheck--; |
| 1958 } | 1962 } |
| 1959 | 1963 |
| 1960 buildUnnamed2308() { | 1964 buildUnnamed758() { |
| 1961 var o = new core.List<api.HttpHealthCheck>(); | 1965 var o = new core.List<api.HttpHealthCheck>(); |
| 1962 o.add(buildHttpHealthCheck()); | 1966 o.add(buildHttpHealthCheck()); |
| 1963 o.add(buildHttpHealthCheck()); | 1967 o.add(buildHttpHealthCheck()); |
| 1964 return o; | 1968 return o; |
| 1965 } | 1969 } |
| 1966 | 1970 |
| 1967 checkUnnamed2308(core.List<api.HttpHealthCheck> o) { | 1971 checkUnnamed758(core.List<api.HttpHealthCheck> o) { |
| 1968 unittest.expect(o, unittest.hasLength(2)); | 1972 unittest.expect(o, unittest.hasLength(2)); |
| 1969 checkHttpHealthCheck(o[0]); | 1973 checkHttpHealthCheck(o[0]); |
| 1970 checkHttpHealthCheck(o[1]); | 1974 checkHttpHealthCheck(o[1]); |
| 1971 } | 1975 } |
| 1972 | 1976 |
| 1973 core.int buildCounterHttpHealthCheckList = 0; | 1977 core.int buildCounterHttpHealthCheckList = 0; |
| 1974 buildHttpHealthCheckList() { | 1978 buildHttpHealthCheckList() { |
| 1975 var o = new api.HttpHealthCheckList(); | 1979 var o = new api.HttpHealthCheckList(); |
| 1976 buildCounterHttpHealthCheckList++; | 1980 buildCounterHttpHealthCheckList++; |
| 1977 if (buildCounterHttpHealthCheckList < 3) { | 1981 if (buildCounterHttpHealthCheckList < 3) { |
| 1978 o.id = "foo"; | 1982 o.id = "foo"; |
| 1979 o.items = buildUnnamed2308(); | 1983 o.items = buildUnnamed758(); |
| 1980 o.kind = "foo"; | 1984 o.kind = "foo"; |
| 1981 o.nextPageToken = "foo"; | 1985 o.nextPageToken = "foo"; |
| 1982 o.selfLink = "foo"; | 1986 o.selfLink = "foo"; |
| 1983 } | 1987 } |
| 1984 buildCounterHttpHealthCheckList--; | 1988 buildCounterHttpHealthCheckList--; |
| 1985 return o; | 1989 return o; |
| 1986 } | 1990 } |
| 1987 | 1991 |
| 1988 checkHttpHealthCheckList(api.HttpHealthCheckList o) { | 1992 checkHttpHealthCheckList(api.HttpHealthCheckList o) { |
| 1989 buildCounterHttpHealthCheckList++; | 1993 buildCounterHttpHealthCheckList++; |
| 1990 if (buildCounterHttpHealthCheckList < 3) { | 1994 if (buildCounterHttpHealthCheckList < 3) { |
| 1991 unittest.expect(o.id, unittest.equals('foo')); | 1995 unittest.expect(o.id, unittest.equals('foo')); |
| 1992 checkUnnamed2308(o.items); | 1996 checkUnnamed758(o.items); |
| 1993 unittest.expect(o.kind, unittest.equals('foo')); | 1997 unittest.expect(o.kind, unittest.equals('foo')); |
| 1994 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1998 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1995 unittest.expect(o.selfLink, unittest.equals('foo')); | 1999 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1996 } | 2000 } |
| 1997 buildCounterHttpHealthCheckList--; | 2001 buildCounterHttpHealthCheckList--; |
| 1998 } | 2002 } |
| 1999 | 2003 |
| 2000 core.int buildCounterHttpsHealthCheck = 0; | 2004 core.int buildCounterHttpsHealthCheck = 0; |
| 2001 buildHttpsHealthCheck() { | 2005 buildHttpsHealthCheck() { |
| 2002 var o = new api.HttpsHealthCheck(); | 2006 var o = new api.HttpsHealthCheck(); |
| (...skipping 30 matching lines...) Expand all Loading... |
| 2033 unittest.expect(o.name, unittest.equals('foo')); | 2037 unittest.expect(o.name, unittest.equals('foo')); |
| 2034 unittest.expect(o.port, unittest.equals(42)); | 2038 unittest.expect(o.port, unittest.equals(42)); |
| 2035 unittest.expect(o.requestPath, unittest.equals('foo')); | 2039 unittest.expect(o.requestPath, unittest.equals('foo')); |
| 2036 unittest.expect(o.selfLink, unittest.equals('foo')); | 2040 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 2037 unittest.expect(o.timeoutSec, unittest.equals(42)); | 2041 unittest.expect(o.timeoutSec, unittest.equals(42)); |
| 2038 unittest.expect(o.unhealthyThreshold, unittest.equals(42)); | 2042 unittest.expect(o.unhealthyThreshold, unittest.equals(42)); |
| 2039 } | 2043 } |
| 2040 buildCounterHttpsHealthCheck--; | 2044 buildCounterHttpsHealthCheck--; |
| 2041 } | 2045 } |
| 2042 | 2046 |
| 2043 buildUnnamed2309() { | 2047 buildUnnamed759() { |
| 2044 var o = new core.List<api.HttpsHealthCheck>(); | 2048 var o = new core.List<api.HttpsHealthCheck>(); |
| 2045 o.add(buildHttpsHealthCheck()); | 2049 o.add(buildHttpsHealthCheck()); |
| 2046 o.add(buildHttpsHealthCheck()); | 2050 o.add(buildHttpsHealthCheck()); |
| 2047 return o; | 2051 return o; |
| 2048 } | 2052 } |
| 2049 | 2053 |
| 2050 checkUnnamed2309(core.List<api.HttpsHealthCheck> o) { | 2054 checkUnnamed759(core.List<api.HttpsHealthCheck> o) { |
| 2051 unittest.expect(o, unittest.hasLength(2)); | 2055 unittest.expect(o, unittest.hasLength(2)); |
| 2052 checkHttpsHealthCheck(o[0]); | 2056 checkHttpsHealthCheck(o[0]); |
| 2053 checkHttpsHealthCheck(o[1]); | 2057 checkHttpsHealthCheck(o[1]); |
| 2054 } | 2058 } |
| 2055 | 2059 |
| 2056 core.int buildCounterHttpsHealthCheckList = 0; | 2060 core.int buildCounterHttpsHealthCheckList = 0; |
| 2057 buildHttpsHealthCheckList() { | 2061 buildHttpsHealthCheckList() { |
| 2058 var o = new api.HttpsHealthCheckList(); | 2062 var o = new api.HttpsHealthCheckList(); |
| 2059 buildCounterHttpsHealthCheckList++; | 2063 buildCounterHttpsHealthCheckList++; |
| 2060 if (buildCounterHttpsHealthCheckList < 3) { | 2064 if (buildCounterHttpsHealthCheckList < 3) { |
| 2061 o.id = "foo"; | 2065 o.id = "foo"; |
| 2062 o.items = buildUnnamed2309(); | 2066 o.items = buildUnnamed759(); |
| 2063 o.kind = "foo"; | 2067 o.kind = "foo"; |
| 2064 o.nextPageToken = "foo"; | 2068 o.nextPageToken = "foo"; |
| 2065 o.selfLink = "foo"; | 2069 o.selfLink = "foo"; |
| 2066 } | 2070 } |
| 2067 buildCounterHttpsHealthCheckList--; | 2071 buildCounterHttpsHealthCheckList--; |
| 2068 return o; | 2072 return o; |
| 2069 } | 2073 } |
| 2070 | 2074 |
| 2071 checkHttpsHealthCheckList(api.HttpsHealthCheckList o) { | 2075 checkHttpsHealthCheckList(api.HttpsHealthCheckList o) { |
| 2072 buildCounterHttpsHealthCheckList++; | 2076 buildCounterHttpsHealthCheckList++; |
| 2073 if (buildCounterHttpsHealthCheckList < 3) { | 2077 if (buildCounterHttpsHealthCheckList < 3) { |
| 2074 unittest.expect(o.id, unittest.equals('foo')); | 2078 unittest.expect(o.id, unittest.equals('foo')); |
| 2075 checkUnnamed2309(o.items); | 2079 checkUnnamed759(o.items); |
| 2076 unittest.expect(o.kind, unittest.equals('foo')); | 2080 unittest.expect(o.kind, unittest.equals('foo')); |
| 2077 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2081 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2078 unittest.expect(o.selfLink, unittest.equals('foo')); | 2082 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 2079 } | 2083 } |
| 2080 buildCounterHttpsHealthCheckList--; | 2084 buildCounterHttpsHealthCheckList--; |
| 2081 } | 2085 } |
| 2082 | 2086 |
| 2083 buildUnnamed2310() { | 2087 buildUnnamed760() { |
| 2084 var o = new core.List<core.String>(); | 2088 var o = new core.List<core.String>(); |
| 2085 o.add("foo"); | 2089 o.add("foo"); |
| 2086 o.add("foo"); | 2090 o.add("foo"); |
| 2087 return o; | 2091 return o; |
| 2088 } | 2092 } |
| 2089 | 2093 |
| 2090 checkUnnamed2310(core.List<core.String> o) { | 2094 checkUnnamed760(core.List<core.String> o) { |
| 2091 unittest.expect(o, unittest.hasLength(2)); | 2095 unittest.expect(o, unittest.hasLength(2)); |
| 2092 unittest.expect(o[0], unittest.equals('foo')); | 2096 unittest.expect(o[0], unittest.equals('foo')); |
| 2093 unittest.expect(o[1], unittest.equals('foo')); | 2097 unittest.expect(o[1], unittest.equals('foo')); |
| 2094 } | 2098 } |
| 2095 | 2099 |
| 2096 core.int buildCounterImageRawDisk = 0; | 2100 core.int buildCounterImageRawDisk = 0; |
| 2097 buildImageRawDisk() { | 2101 buildImageRawDisk() { |
| 2098 var o = new api.ImageRawDisk(); | 2102 var o = new api.ImageRawDisk(); |
| 2099 buildCounterImageRawDisk++; | 2103 buildCounterImageRawDisk++; |
| 2100 if (buildCounterImageRawDisk < 3) { | 2104 if (buildCounterImageRawDisk < 3) { |
| (...skipping 22 matching lines...) Expand all Loading... |
| 2123 if (buildCounterImage < 3) { | 2127 if (buildCounterImage < 3) { |
| 2124 o.archiveSizeBytes = "foo"; | 2128 o.archiveSizeBytes = "foo"; |
| 2125 o.creationTimestamp = "foo"; | 2129 o.creationTimestamp = "foo"; |
| 2126 o.deprecated = buildDeprecationStatus(); | 2130 o.deprecated = buildDeprecationStatus(); |
| 2127 o.description = "foo"; | 2131 o.description = "foo"; |
| 2128 o.diskSizeGb = "foo"; | 2132 o.diskSizeGb = "foo"; |
| 2129 o.family = "foo"; | 2133 o.family = "foo"; |
| 2130 o.id = "foo"; | 2134 o.id = "foo"; |
| 2131 o.imageEncryptionKey = buildCustomerEncryptionKey(); | 2135 o.imageEncryptionKey = buildCustomerEncryptionKey(); |
| 2132 o.kind = "foo"; | 2136 o.kind = "foo"; |
| 2133 o.licenses = buildUnnamed2310(); | 2137 o.licenses = buildUnnamed760(); |
| 2134 o.name = "foo"; | 2138 o.name = "foo"; |
| 2135 o.rawDisk = buildImageRawDisk(); | 2139 o.rawDisk = buildImageRawDisk(); |
| 2136 o.selfLink = "foo"; | 2140 o.selfLink = "foo"; |
| 2137 o.sourceDisk = "foo"; | 2141 o.sourceDisk = "foo"; |
| 2138 o.sourceDiskEncryptionKey = buildCustomerEncryptionKey(); | 2142 o.sourceDiskEncryptionKey = buildCustomerEncryptionKey(); |
| 2139 o.sourceDiskId = "foo"; | 2143 o.sourceDiskId = "foo"; |
| 2140 o.sourceType = "foo"; | 2144 o.sourceType = "foo"; |
| 2141 o.status = "foo"; | 2145 o.status = "foo"; |
| 2142 } | 2146 } |
| 2143 buildCounterImage--; | 2147 buildCounterImage--; |
| 2144 return o; | 2148 return o; |
| 2145 } | 2149 } |
| 2146 | 2150 |
| 2147 checkImage(api.Image o) { | 2151 checkImage(api.Image o) { |
| 2148 buildCounterImage++; | 2152 buildCounterImage++; |
| 2149 if (buildCounterImage < 3) { | 2153 if (buildCounterImage < 3) { |
| 2150 unittest.expect(o.archiveSizeBytes, unittest.equals('foo')); | 2154 unittest.expect(o.archiveSizeBytes, unittest.equals('foo')); |
| 2151 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 2155 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 2152 checkDeprecationStatus(o.deprecated); | 2156 checkDeprecationStatus(o.deprecated); |
| 2153 unittest.expect(o.description, unittest.equals('foo')); | 2157 unittest.expect(o.description, unittest.equals('foo')); |
| 2154 unittest.expect(o.diskSizeGb, unittest.equals('foo')); | 2158 unittest.expect(o.diskSizeGb, unittest.equals('foo')); |
| 2155 unittest.expect(o.family, unittest.equals('foo')); | 2159 unittest.expect(o.family, unittest.equals('foo')); |
| 2156 unittest.expect(o.id, unittest.equals('foo')); | 2160 unittest.expect(o.id, unittest.equals('foo')); |
| 2157 checkCustomerEncryptionKey(o.imageEncryptionKey); | 2161 checkCustomerEncryptionKey(o.imageEncryptionKey); |
| 2158 unittest.expect(o.kind, unittest.equals('foo')); | 2162 unittest.expect(o.kind, unittest.equals('foo')); |
| 2159 checkUnnamed2310(o.licenses); | 2163 checkUnnamed760(o.licenses); |
| 2160 unittest.expect(o.name, unittest.equals('foo')); | 2164 unittest.expect(o.name, unittest.equals('foo')); |
| 2161 checkImageRawDisk(o.rawDisk); | 2165 checkImageRawDisk(o.rawDisk); |
| 2162 unittest.expect(o.selfLink, unittest.equals('foo')); | 2166 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 2163 unittest.expect(o.sourceDisk, unittest.equals('foo')); | 2167 unittest.expect(o.sourceDisk, unittest.equals('foo')); |
| 2164 checkCustomerEncryptionKey(o.sourceDiskEncryptionKey); | 2168 checkCustomerEncryptionKey(o.sourceDiskEncryptionKey); |
| 2165 unittest.expect(o.sourceDiskId, unittest.equals('foo')); | 2169 unittest.expect(o.sourceDiskId, unittest.equals('foo')); |
| 2166 unittest.expect(o.sourceType, unittest.equals('foo')); | 2170 unittest.expect(o.sourceType, unittest.equals('foo')); |
| 2167 unittest.expect(o.status, unittest.equals('foo')); | 2171 unittest.expect(o.status, unittest.equals('foo')); |
| 2168 } | 2172 } |
| 2169 buildCounterImage--; | 2173 buildCounterImage--; |
| 2170 } | 2174 } |
| 2171 | 2175 |
| 2172 buildUnnamed2311() { | 2176 buildUnnamed761() { |
| 2173 var o = new core.List<api.Image>(); | 2177 var o = new core.List<api.Image>(); |
| 2174 o.add(buildImage()); | 2178 o.add(buildImage()); |
| 2175 o.add(buildImage()); | 2179 o.add(buildImage()); |
| 2176 return o; | 2180 return o; |
| 2177 } | 2181 } |
| 2178 | 2182 |
| 2179 checkUnnamed2311(core.List<api.Image> o) { | 2183 checkUnnamed761(core.List<api.Image> o) { |
| 2180 unittest.expect(o, unittest.hasLength(2)); | 2184 unittest.expect(o, unittest.hasLength(2)); |
| 2181 checkImage(o[0]); | 2185 checkImage(o[0]); |
| 2182 checkImage(o[1]); | 2186 checkImage(o[1]); |
| 2183 } | 2187 } |
| 2184 | 2188 |
| 2185 core.int buildCounterImageList = 0; | 2189 core.int buildCounterImageList = 0; |
| 2186 buildImageList() { | 2190 buildImageList() { |
| 2187 var o = new api.ImageList(); | 2191 var o = new api.ImageList(); |
| 2188 buildCounterImageList++; | 2192 buildCounterImageList++; |
| 2189 if (buildCounterImageList < 3) { | 2193 if (buildCounterImageList < 3) { |
| 2190 o.id = "foo"; | 2194 o.id = "foo"; |
| 2191 o.items = buildUnnamed2311(); | 2195 o.items = buildUnnamed761(); |
| 2192 o.kind = "foo"; | 2196 o.kind = "foo"; |
| 2193 o.nextPageToken = "foo"; | 2197 o.nextPageToken = "foo"; |
| 2194 o.selfLink = "foo"; | 2198 o.selfLink = "foo"; |
| 2195 } | 2199 } |
| 2196 buildCounterImageList--; | 2200 buildCounterImageList--; |
| 2197 return o; | 2201 return o; |
| 2198 } | 2202 } |
| 2199 | 2203 |
| 2200 checkImageList(api.ImageList o) { | 2204 checkImageList(api.ImageList o) { |
| 2201 buildCounterImageList++; | 2205 buildCounterImageList++; |
| 2202 if (buildCounterImageList < 3) { | 2206 if (buildCounterImageList < 3) { |
| 2203 unittest.expect(o.id, unittest.equals('foo')); | 2207 unittest.expect(o.id, unittest.equals('foo')); |
| 2204 checkUnnamed2311(o.items); | 2208 checkUnnamed761(o.items); |
| 2205 unittest.expect(o.kind, unittest.equals('foo')); | 2209 unittest.expect(o.kind, unittest.equals('foo')); |
| 2206 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2210 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2207 unittest.expect(o.selfLink, unittest.equals('foo')); | 2211 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 2208 } | 2212 } |
| 2209 buildCounterImageList--; | 2213 buildCounterImageList--; |
| 2210 } | 2214 } |
| 2211 | 2215 |
| 2212 buildUnnamed2312() { | 2216 buildUnnamed762() { |
| 2213 var o = new core.List<api.AttachedDisk>(); | 2217 var o = new core.List<api.AttachedDisk>(); |
| 2214 o.add(buildAttachedDisk()); | 2218 o.add(buildAttachedDisk()); |
| 2215 o.add(buildAttachedDisk()); | 2219 o.add(buildAttachedDisk()); |
| 2216 return o; | 2220 return o; |
| 2217 } | 2221 } |
| 2218 | 2222 |
| 2219 checkUnnamed2312(core.List<api.AttachedDisk> o) { | 2223 checkUnnamed762(core.List<api.AttachedDisk> o) { |
| 2220 unittest.expect(o, unittest.hasLength(2)); | 2224 unittest.expect(o, unittest.hasLength(2)); |
| 2221 checkAttachedDisk(o[0]); | 2225 checkAttachedDisk(o[0]); |
| 2222 checkAttachedDisk(o[1]); | 2226 checkAttachedDisk(o[1]); |
| 2223 } | 2227 } |
| 2224 | 2228 |
| 2225 buildUnnamed2313() { | 2229 buildUnnamed763() { |
| 2226 var o = new core.List<api.NetworkInterface>(); | 2230 var o = new core.List<api.NetworkInterface>(); |
| 2227 o.add(buildNetworkInterface()); | 2231 o.add(buildNetworkInterface()); |
| 2228 o.add(buildNetworkInterface()); | 2232 o.add(buildNetworkInterface()); |
| 2229 return o; | 2233 return o; |
| 2230 } | 2234 } |
| 2231 | 2235 |
| 2232 checkUnnamed2313(core.List<api.NetworkInterface> o) { | 2236 checkUnnamed763(core.List<api.NetworkInterface> o) { |
| 2233 unittest.expect(o, unittest.hasLength(2)); | 2237 unittest.expect(o, unittest.hasLength(2)); |
| 2234 checkNetworkInterface(o[0]); | 2238 checkNetworkInterface(o[0]); |
| 2235 checkNetworkInterface(o[1]); | 2239 checkNetworkInterface(o[1]); |
| 2236 } | 2240 } |
| 2237 | 2241 |
| 2238 buildUnnamed2314() { | 2242 buildUnnamed764() { |
| 2239 var o = new core.List<api.ServiceAccount>(); | 2243 var o = new core.List<api.ServiceAccount>(); |
| 2240 o.add(buildServiceAccount()); | 2244 o.add(buildServiceAccount()); |
| 2241 o.add(buildServiceAccount()); | 2245 o.add(buildServiceAccount()); |
| 2242 return o; | 2246 return o; |
| 2243 } | 2247 } |
| 2244 | 2248 |
| 2245 checkUnnamed2314(core.List<api.ServiceAccount> o) { | 2249 checkUnnamed764(core.List<api.ServiceAccount> o) { |
| 2246 unittest.expect(o, unittest.hasLength(2)); | 2250 unittest.expect(o, unittest.hasLength(2)); |
| 2247 checkServiceAccount(o[0]); | 2251 checkServiceAccount(o[0]); |
| 2248 checkServiceAccount(o[1]); | 2252 checkServiceAccount(o[1]); |
| 2249 } | 2253 } |
| 2250 | 2254 |
| 2251 core.int buildCounterInstance = 0; | 2255 core.int buildCounterInstance = 0; |
| 2252 buildInstance() { | 2256 buildInstance() { |
| 2253 var o = new api.Instance(); | 2257 var o = new api.Instance(); |
| 2254 buildCounterInstance++; | 2258 buildCounterInstance++; |
| 2255 if (buildCounterInstance < 3) { | 2259 if (buildCounterInstance < 3) { |
| 2256 o.canIpForward = true; | 2260 o.canIpForward = true; |
| 2257 o.cpuPlatform = "foo"; | 2261 o.cpuPlatform = "foo"; |
| 2258 o.creationTimestamp = "foo"; | 2262 o.creationTimestamp = "foo"; |
| 2259 o.description = "foo"; | 2263 o.description = "foo"; |
| 2260 o.disks = buildUnnamed2312(); | 2264 o.disks = buildUnnamed762(); |
| 2261 o.id = "foo"; | 2265 o.id = "foo"; |
| 2262 o.kind = "foo"; | 2266 o.kind = "foo"; |
| 2263 o.machineType = "foo"; | 2267 o.machineType = "foo"; |
| 2264 o.metadata = buildMetadata(); | 2268 o.metadata = buildMetadata(); |
| 2265 o.name = "foo"; | 2269 o.name = "foo"; |
| 2266 o.networkInterfaces = buildUnnamed2313(); | 2270 o.networkInterfaces = buildUnnamed763(); |
| 2267 o.scheduling = buildScheduling(); | 2271 o.scheduling = buildScheduling(); |
| 2268 o.selfLink = "foo"; | 2272 o.selfLink = "foo"; |
| 2269 o.serviceAccounts = buildUnnamed2314(); | 2273 o.serviceAccounts = buildUnnamed764(); |
| 2270 o.status = "foo"; | 2274 o.status = "foo"; |
| 2271 o.statusMessage = "foo"; | 2275 o.statusMessage = "foo"; |
| 2272 o.tags = buildTags(); | 2276 o.tags = buildTags(); |
| 2273 o.zone = "foo"; | 2277 o.zone = "foo"; |
| 2274 } | 2278 } |
| 2275 buildCounterInstance--; | 2279 buildCounterInstance--; |
| 2276 return o; | 2280 return o; |
| 2277 } | 2281 } |
| 2278 | 2282 |
| 2279 checkInstance(api.Instance o) { | 2283 checkInstance(api.Instance o) { |
| 2280 buildCounterInstance++; | 2284 buildCounterInstance++; |
| 2281 if (buildCounterInstance < 3) { | 2285 if (buildCounterInstance < 3) { |
| 2282 unittest.expect(o.canIpForward, unittest.isTrue); | 2286 unittest.expect(o.canIpForward, unittest.isTrue); |
| 2283 unittest.expect(o.cpuPlatform, unittest.equals('foo')); | 2287 unittest.expect(o.cpuPlatform, unittest.equals('foo')); |
| 2284 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 2288 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 2285 unittest.expect(o.description, unittest.equals('foo')); | 2289 unittest.expect(o.description, unittest.equals('foo')); |
| 2286 checkUnnamed2312(o.disks); | 2290 checkUnnamed762(o.disks); |
| 2287 unittest.expect(o.id, unittest.equals('foo')); | 2291 unittest.expect(o.id, unittest.equals('foo')); |
| 2288 unittest.expect(o.kind, unittest.equals('foo')); | 2292 unittest.expect(o.kind, unittest.equals('foo')); |
| 2289 unittest.expect(o.machineType, unittest.equals('foo')); | 2293 unittest.expect(o.machineType, unittest.equals('foo')); |
| 2290 checkMetadata(o.metadata); | 2294 checkMetadata(o.metadata); |
| 2291 unittest.expect(o.name, unittest.equals('foo')); | 2295 unittest.expect(o.name, unittest.equals('foo')); |
| 2292 checkUnnamed2313(o.networkInterfaces); | 2296 checkUnnamed763(o.networkInterfaces); |
| 2293 checkScheduling(o.scheduling); | 2297 checkScheduling(o.scheduling); |
| 2294 unittest.expect(o.selfLink, unittest.equals('foo')); | 2298 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 2295 checkUnnamed2314(o.serviceAccounts); | 2299 checkUnnamed764(o.serviceAccounts); |
| 2296 unittest.expect(o.status, unittest.equals('foo')); | 2300 unittest.expect(o.status, unittest.equals('foo')); |
| 2297 unittest.expect(o.statusMessage, unittest.equals('foo')); | 2301 unittest.expect(o.statusMessage, unittest.equals('foo')); |
| 2298 checkTags(o.tags); | 2302 checkTags(o.tags); |
| 2299 unittest.expect(o.zone, unittest.equals('foo')); | 2303 unittest.expect(o.zone, unittest.equals('foo')); |
| 2300 } | 2304 } |
| 2301 buildCounterInstance--; | 2305 buildCounterInstance--; |
| 2302 } | 2306 } |
| 2303 | 2307 |
| 2304 buildUnnamed2315() { | 2308 buildUnnamed765() { |
| 2305 var o = new core.Map<core.String, api.InstancesScopedList>(); | 2309 var o = new core.Map<core.String, api.InstancesScopedList>(); |
| 2306 o["x"] = buildInstancesScopedList(); | 2310 o["x"] = buildInstancesScopedList(); |
| 2307 o["y"] = buildInstancesScopedList(); | 2311 o["y"] = buildInstancesScopedList(); |
| 2308 return o; | 2312 return o; |
| 2309 } | 2313 } |
| 2310 | 2314 |
| 2311 checkUnnamed2315(core.Map<core.String, api.InstancesScopedList> o) { | 2315 checkUnnamed765(core.Map<core.String, api.InstancesScopedList> o) { |
| 2312 unittest.expect(o, unittest.hasLength(2)); | 2316 unittest.expect(o, unittest.hasLength(2)); |
| 2313 checkInstancesScopedList(o["x"]); | 2317 checkInstancesScopedList(o["x"]); |
| 2314 checkInstancesScopedList(o["y"]); | 2318 checkInstancesScopedList(o["y"]); |
| 2315 } | 2319 } |
| 2316 | 2320 |
| 2317 core.int buildCounterInstanceAggregatedList = 0; | 2321 core.int buildCounterInstanceAggregatedList = 0; |
| 2318 buildInstanceAggregatedList() { | 2322 buildInstanceAggregatedList() { |
| 2319 var o = new api.InstanceAggregatedList(); | 2323 var o = new api.InstanceAggregatedList(); |
| 2320 buildCounterInstanceAggregatedList++; | 2324 buildCounterInstanceAggregatedList++; |
| 2321 if (buildCounterInstanceAggregatedList < 3) { | 2325 if (buildCounterInstanceAggregatedList < 3) { |
| 2322 o.id = "foo"; | 2326 o.id = "foo"; |
| 2323 o.items = buildUnnamed2315(); | 2327 o.items = buildUnnamed765(); |
| 2324 o.kind = "foo"; | 2328 o.kind = "foo"; |
| 2325 o.nextPageToken = "foo"; | 2329 o.nextPageToken = "foo"; |
| 2326 o.selfLink = "foo"; | 2330 o.selfLink = "foo"; |
| 2327 } | 2331 } |
| 2328 buildCounterInstanceAggregatedList--; | 2332 buildCounterInstanceAggregatedList--; |
| 2329 return o; | 2333 return o; |
| 2330 } | 2334 } |
| 2331 | 2335 |
| 2332 checkInstanceAggregatedList(api.InstanceAggregatedList o) { | 2336 checkInstanceAggregatedList(api.InstanceAggregatedList o) { |
| 2333 buildCounterInstanceAggregatedList++; | 2337 buildCounterInstanceAggregatedList++; |
| 2334 if (buildCounterInstanceAggregatedList < 3) { | 2338 if (buildCounterInstanceAggregatedList < 3) { |
| 2335 unittest.expect(o.id, unittest.equals('foo')); | 2339 unittest.expect(o.id, unittest.equals('foo')); |
| 2336 checkUnnamed2315(o.items); | 2340 checkUnnamed765(o.items); |
| 2337 unittest.expect(o.kind, unittest.equals('foo')); | 2341 unittest.expect(o.kind, unittest.equals('foo')); |
| 2338 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2342 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2339 unittest.expect(o.selfLink, unittest.equals('foo')); | 2343 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 2340 } | 2344 } |
| 2341 buildCounterInstanceAggregatedList--; | 2345 buildCounterInstanceAggregatedList--; |
| 2342 } | 2346 } |
| 2343 | 2347 |
| 2344 buildUnnamed2316() { | 2348 buildUnnamed766() { |
| 2345 var o = new core.List<api.NamedPort>(); | 2349 var o = new core.List<api.NamedPort>(); |
| 2346 o.add(buildNamedPort()); | 2350 o.add(buildNamedPort()); |
| 2347 o.add(buildNamedPort()); | 2351 o.add(buildNamedPort()); |
| 2348 return o; | 2352 return o; |
| 2349 } | 2353 } |
| 2350 | 2354 |
| 2351 checkUnnamed2316(core.List<api.NamedPort> o) { | 2355 checkUnnamed766(core.List<api.NamedPort> o) { |
| 2352 unittest.expect(o, unittest.hasLength(2)); | 2356 unittest.expect(o, unittest.hasLength(2)); |
| 2353 checkNamedPort(o[0]); | 2357 checkNamedPort(o[0]); |
| 2354 checkNamedPort(o[1]); | 2358 checkNamedPort(o[1]); |
| 2355 } | 2359 } |
| 2356 | 2360 |
| 2357 core.int buildCounterInstanceGroup = 0; | 2361 core.int buildCounterInstanceGroup = 0; |
| 2358 buildInstanceGroup() { | 2362 buildInstanceGroup() { |
| 2359 var o = new api.InstanceGroup(); | 2363 var o = new api.InstanceGroup(); |
| 2360 buildCounterInstanceGroup++; | 2364 buildCounterInstanceGroup++; |
| 2361 if (buildCounterInstanceGroup < 3) { | 2365 if (buildCounterInstanceGroup < 3) { |
| 2362 o.creationTimestamp = "foo"; | 2366 o.creationTimestamp = "foo"; |
| 2363 o.description = "foo"; | 2367 o.description = "foo"; |
| 2364 o.fingerprint = "foo"; | 2368 o.fingerprint = "foo"; |
| 2365 o.id = "foo"; | 2369 o.id = "foo"; |
| 2366 o.kind = "foo"; | 2370 o.kind = "foo"; |
| 2367 o.name = "foo"; | 2371 o.name = "foo"; |
| 2368 o.namedPorts = buildUnnamed2316(); | 2372 o.namedPorts = buildUnnamed766(); |
| 2369 o.network = "foo"; | 2373 o.network = "foo"; |
| 2370 o.selfLink = "foo"; | 2374 o.selfLink = "foo"; |
| 2371 o.size = 42; | 2375 o.size = 42; |
| 2372 o.subnetwork = "foo"; | 2376 o.subnetwork = "foo"; |
| 2373 o.zone = "foo"; | 2377 o.zone = "foo"; |
| 2374 } | 2378 } |
| 2375 buildCounterInstanceGroup--; | 2379 buildCounterInstanceGroup--; |
| 2376 return o; | 2380 return o; |
| 2377 } | 2381 } |
| 2378 | 2382 |
| 2379 checkInstanceGroup(api.InstanceGroup o) { | 2383 checkInstanceGroup(api.InstanceGroup o) { |
| 2380 buildCounterInstanceGroup++; | 2384 buildCounterInstanceGroup++; |
| 2381 if (buildCounterInstanceGroup < 3) { | 2385 if (buildCounterInstanceGroup < 3) { |
| 2382 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 2386 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 2383 unittest.expect(o.description, unittest.equals('foo')); | 2387 unittest.expect(o.description, unittest.equals('foo')); |
| 2384 unittest.expect(o.fingerprint, unittest.equals('foo')); | 2388 unittest.expect(o.fingerprint, unittest.equals('foo')); |
| 2385 unittest.expect(o.id, unittest.equals('foo')); | 2389 unittest.expect(o.id, unittest.equals('foo')); |
| 2386 unittest.expect(o.kind, unittest.equals('foo')); | 2390 unittest.expect(o.kind, unittest.equals('foo')); |
| 2387 unittest.expect(o.name, unittest.equals('foo')); | 2391 unittest.expect(o.name, unittest.equals('foo')); |
| 2388 checkUnnamed2316(o.namedPorts); | 2392 checkUnnamed766(o.namedPorts); |
| 2389 unittest.expect(o.network, unittest.equals('foo')); | 2393 unittest.expect(o.network, unittest.equals('foo')); |
| 2390 unittest.expect(o.selfLink, unittest.equals('foo')); | 2394 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 2391 unittest.expect(o.size, unittest.equals(42)); | 2395 unittest.expect(o.size, unittest.equals(42)); |
| 2392 unittest.expect(o.subnetwork, unittest.equals('foo')); | 2396 unittest.expect(o.subnetwork, unittest.equals('foo')); |
| 2393 unittest.expect(o.zone, unittest.equals('foo')); | 2397 unittest.expect(o.zone, unittest.equals('foo')); |
| 2394 } | 2398 } |
| 2395 buildCounterInstanceGroup--; | 2399 buildCounterInstanceGroup--; |
| 2396 } | 2400 } |
| 2397 | 2401 |
| 2398 buildUnnamed2317() { | 2402 buildUnnamed767() { |
| 2399 var o = new core.Map<core.String, api.InstanceGroupsScopedList>(); | 2403 var o = new core.Map<core.String, api.InstanceGroupsScopedList>(); |
| 2400 o["x"] = buildInstanceGroupsScopedList(); | 2404 o["x"] = buildInstanceGroupsScopedList(); |
| 2401 o["y"] = buildInstanceGroupsScopedList(); | 2405 o["y"] = buildInstanceGroupsScopedList(); |
| 2402 return o; | 2406 return o; |
| 2403 } | 2407 } |
| 2404 | 2408 |
| 2405 checkUnnamed2317(core.Map<core.String, api.InstanceGroupsScopedList> o) { | 2409 checkUnnamed767(core.Map<core.String, api.InstanceGroupsScopedList> o) { |
| 2406 unittest.expect(o, unittest.hasLength(2)); | 2410 unittest.expect(o, unittest.hasLength(2)); |
| 2407 checkInstanceGroupsScopedList(o["x"]); | 2411 checkInstanceGroupsScopedList(o["x"]); |
| 2408 checkInstanceGroupsScopedList(o["y"]); | 2412 checkInstanceGroupsScopedList(o["y"]); |
| 2409 } | 2413 } |
| 2410 | 2414 |
| 2411 core.int buildCounterInstanceGroupAggregatedList = 0; | 2415 core.int buildCounterInstanceGroupAggregatedList = 0; |
| 2412 buildInstanceGroupAggregatedList() { | 2416 buildInstanceGroupAggregatedList() { |
| 2413 var o = new api.InstanceGroupAggregatedList(); | 2417 var o = new api.InstanceGroupAggregatedList(); |
| 2414 buildCounterInstanceGroupAggregatedList++; | 2418 buildCounterInstanceGroupAggregatedList++; |
| 2415 if (buildCounterInstanceGroupAggregatedList < 3) { | 2419 if (buildCounterInstanceGroupAggregatedList < 3) { |
| 2416 o.id = "foo"; | 2420 o.id = "foo"; |
| 2417 o.items = buildUnnamed2317(); | 2421 o.items = buildUnnamed767(); |
| 2418 o.kind = "foo"; | 2422 o.kind = "foo"; |
| 2419 o.nextPageToken = "foo"; | 2423 o.nextPageToken = "foo"; |
| 2420 o.selfLink = "foo"; | 2424 o.selfLink = "foo"; |
| 2421 } | 2425 } |
| 2422 buildCounterInstanceGroupAggregatedList--; | 2426 buildCounterInstanceGroupAggregatedList--; |
| 2423 return o; | 2427 return o; |
| 2424 } | 2428 } |
| 2425 | 2429 |
| 2426 checkInstanceGroupAggregatedList(api.InstanceGroupAggregatedList o) { | 2430 checkInstanceGroupAggregatedList(api.InstanceGroupAggregatedList o) { |
| 2427 buildCounterInstanceGroupAggregatedList++; | 2431 buildCounterInstanceGroupAggregatedList++; |
| 2428 if (buildCounterInstanceGroupAggregatedList < 3) { | 2432 if (buildCounterInstanceGroupAggregatedList < 3) { |
| 2429 unittest.expect(o.id, unittest.equals('foo')); | 2433 unittest.expect(o.id, unittest.equals('foo')); |
| 2430 checkUnnamed2317(o.items); | 2434 checkUnnamed767(o.items); |
| 2431 unittest.expect(o.kind, unittest.equals('foo')); | 2435 unittest.expect(o.kind, unittest.equals('foo')); |
| 2432 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2436 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2433 unittest.expect(o.selfLink, unittest.equals('foo')); | 2437 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 2434 } | 2438 } |
| 2435 buildCounterInstanceGroupAggregatedList--; | 2439 buildCounterInstanceGroupAggregatedList--; |
| 2436 } | 2440 } |
| 2437 | 2441 |
| 2438 buildUnnamed2318() { | 2442 buildUnnamed768() { |
| 2439 var o = new core.List<api.InstanceGroup>(); | 2443 var o = new core.List<api.InstanceGroup>(); |
| 2440 o.add(buildInstanceGroup()); | 2444 o.add(buildInstanceGroup()); |
| 2441 o.add(buildInstanceGroup()); | 2445 o.add(buildInstanceGroup()); |
| 2442 return o; | 2446 return o; |
| 2443 } | 2447 } |
| 2444 | 2448 |
| 2445 checkUnnamed2318(core.List<api.InstanceGroup> o) { | 2449 checkUnnamed768(core.List<api.InstanceGroup> o) { |
| 2446 unittest.expect(o, unittest.hasLength(2)); | 2450 unittest.expect(o, unittest.hasLength(2)); |
| 2447 checkInstanceGroup(o[0]); | 2451 checkInstanceGroup(o[0]); |
| 2448 checkInstanceGroup(o[1]); | 2452 checkInstanceGroup(o[1]); |
| 2449 } | 2453 } |
| 2450 | 2454 |
| 2451 core.int buildCounterInstanceGroupList = 0; | 2455 core.int buildCounterInstanceGroupList = 0; |
| 2452 buildInstanceGroupList() { | 2456 buildInstanceGroupList() { |
| 2453 var o = new api.InstanceGroupList(); | 2457 var o = new api.InstanceGroupList(); |
| 2454 buildCounterInstanceGroupList++; | 2458 buildCounterInstanceGroupList++; |
| 2455 if (buildCounterInstanceGroupList < 3) { | 2459 if (buildCounterInstanceGroupList < 3) { |
| 2456 o.id = "foo"; | 2460 o.id = "foo"; |
| 2457 o.items = buildUnnamed2318(); | 2461 o.items = buildUnnamed768(); |
| 2458 o.kind = "foo"; | 2462 o.kind = "foo"; |
| 2459 o.nextPageToken = "foo"; | 2463 o.nextPageToken = "foo"; |
| 2460 o.selfLink = "foo"; | 2464 o.selfLink = "foo"; |
| 2461 } | 2465 } |
| 2462 buildCounterInstanceGroupList--; | 2466 buildCounterInstanceGroupList--; |
| 2463 return o; | 2467 return o; |
| 2464 } | 2468 } |
| 2465 | 2469 |
| 2466 checkInstanceGroupList(api.InstanceGroupList o) { | 2470 checkInstanceGroupList(api.InstanceGroupList o) { |
| 2467 buildCounterInstanceGroupList++; | 2471 buildCounterInstanceGroupList++; |
| 2468 if (buildCounterInstanceGroupList < 3) { | 2472 if (buildCounterInstanceGroupList < 3) { |
| 2469 unittest.expect(o.id, unittest.equals('foo')); | 2473 unittest.expect(o.id, unittest.equals('foo')); |
| 2470 checkUnnamed2318(o.items); | 2474 checkUnnamed768(o.items); |
| 2471 unittest.expect(o.kind, unittest.equals('foo')); | 2475 unittest.expect(o.kind, unittest.equals('foo')); |
| 2472 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2476 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2473 unittest.expect(o.selfLink, unittest.equals('foo')); | 2477 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 2474 } | 2478 } |
| 2475 buildCounterInstanceGroupList--; | 2479 buildCounterInstanceGroupList--; |
| 2476 } | 2480 } |
| 2477 | 2481 |
| 2478 buildUnnamed2319() { | 2482 buildUnnamed769() { |
| 2479 var o = new core.List<api.NamedPort>(); | 2483 var o = new core.List<api.NamedPort>(); |
| 2480 o.add(buildNamedPort()); | 2484 o.add(buildNamedPort()); |
| 2481 o.add(buildNamedPort()); | 2485 o.add(buildNamedPort()); |
| 2482 return o; | 2486 return o; |
| 2483 } | 2487 } |
| 2484 | 2488 |
| 2485 checkUnnamed2319(core.List<api.NamedPort> o) { | 2489 checkUnnamed769(core.List<api.NamedPort> o) { |
| 2486 unittest.expect(o, unittest.hasLength(2)); | 2490 unittest.expect(o, unittest.hasLength(2)); |
| 2487 checkNamedPort(o[0]); | 2491 checkNamedPort(o[0]); |
| 2488 checkNamedPort(o[1]); | 2492 checkNamedPort(o[1]); |
| 2489 } | 2493 } |
| 2490 | 2494 |
| 2491 buildUnnamed2320() { | 2495 buildUnnamed770() { |
| 2492 var o = new core.List<core.String>(); | 2496 var o = new core.List<core.String>(); |
| 2493 o.add("foo"); | 2497 o.add("foo"); |
| 2494 o.add("foo"); | 2498 o.add("foo"); |
| 2495 return o; | 2499 return o; |
| 2496 } | 2500 } |
| 2497 | 2501 |
| 2498 checkUnnamed2320(core.List<core.String> o) { | 2502 checkUnnamed770(core.List<core.String> o) { |
| 2499 unittest.expect(o, unittest.hasLength(2)); | 2503 unittest.expect(o, unittest.hasLength(2)); |
| 2500 unittest.expect(o[0], unittest.equals('foo')); | 2504 unittest.expect(o[0], unittest.equals('foo')); |
| 2501 unittest.expect(o[1], unittest.equals('foo')); | 2505 unittest.expect(o[1], unittest.equals('foo')); |
| 2502 } | 2506 } |
| 2503 | 2507 |
| 2504 core.int buildCounterInstanceGroupManager = 0; | 2508 core.int buildCounterInstanceGroupManager = 0; |
| 2505 buildInstanceGroupManager() { | 2509 buildInstanceGroupManager() { |
| 2506 var o = new api.InstanceGroupManager(); | 2510 var o = new api.InstanceGroupManager(); |
| 2507 buildCounterInstanceGroupManager++; | 2511 buildCounterInstanceGroupManager++; |
| 2508 if (buildCounterInstanceGroupManager < 3) { | 2512 if (buildCounterInstanceGroupManager < 3) { |
| 2509 o.baseInstanceName = "foo"; | 2513 o.baseInstanceName = "foo"; |
| 2510 o.creationTimestamp = "foo"; | 2514 o.creationTimestamp = "foo"; |
| 2511 o.currentActions = buildInstanceGroupManagerActionsSummary(); | 2515 o.currentActions = buildInstanceGroupManagerActionsSummary(); |
| 2512 o.description = "foo"; | 2516 o.description = "foo"; |
| 2513 o.fingerprint = "foo"; | 2517 o.fingerprint = "foo"; |
| 2514 o.id = "foo"; | 2518 o.id = "foo"; |
| 2515 o.instanceGroup = "foo"; | 2519 o.instanceGroup = "foo"; |
| 2516 o.instanceTemplate = "foo"; | 2520 o.instanceTemplate = "foo"; |
| 2517 o.kind = "foo"; | 2521 o.kind = "foo"; |
| 2518 o.name = "foo"; | 2522 o.name = "foo"; |
| 2519 o.namedPorts = buildUnnamed2319(); | 2523 o.namedPorts = buildUnnamed769(); |
| 2520 o.selfLink = "foo"; | 2524 o.selfLink = "foo"; |
| 2521 o.targetPools = buildUnnamed2320(); | 2525 o.targetPools = buildUnnamed770(); |
| 2522 o.targetSize = 42; | 2526 o.targetSize = 42; |
| 2523 o.zone = "foo"; | 2527 o.zone = "foo"; |
| 2524 } | 2528 } |
| 2525 buildCounterInstanceGroupManager--; | 2529 buildCounterInstanceGroupManager--; |
| 2526 return o; | 2530 return o; |
| 2527 } | 2531 } |
| 2528 | 2532 |
| 2529 checkInstanceGroupManager(api.InstanceGroupManager o) { | 2533 checkInstanceGroupManager(api.InstanceGroupManager o) { |
| 2530 buildCounterInstanceGroupManager++; | 2534 buildCounterInstanceGroupManager++; |
| 2531 if (buildCounterInstanceGroupManager < 3) { | 2535 if (buildCounterInstanceGroupManager < 3) { |
| 2532 unittest.expect(o.baseInstanceName, unittest.equals('foo')); | 2536 unittest.expect(o.baseInstanceName, unittest.equals('foo')); |
| 2533 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 2537 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 2534 checkInstanceGroupManagerActionsSummary(o.currentActions); | 2538 checkInstanceGroupManagerActionsSummary(o.currentActions); |
| 2535 unittest.expect(o.description, unittest.equals('foo')); | 2539 unittest.expect(o.description, unittest.equals('foo')); |
| 2536 unittest.expect(o.fingerprint, unittest.equals('foo')); | 2540 unittest.expect(o.fingerprint, unittest.equals('foo')); |
| 2537 unittest.expect(o.id, unittest.equals('foo')); | 2541 unittest.expect(o.id, unittest.equals('foo')); |
| 2538 unittest.expect(o.instanceGroup, unittest.equals('foo')); | 2542 unittest.expect(o.instanceGroup, unittest.equals('foo')); |
| 2539 unittest.expect(o.instanceTemplate, unittest.equals('foo')); | 2543 unittest.expect(o.instanceTemplate, unittest.equals('foo')); |
| 2540 unittest.expect(o.kind, unittest.equals('foo')); | 2544 unittest.expect(o.kind, unittest.equals('foo')); |
| 2541 unittest.expect(o.name, unittest.equals('foo')); | 2545 unittest.expect(o.name, unittest.equals('foo')); |
| 2542 checkUnnamed2319(o.namedPorts); | 2546 checkUnnamed769(o.namedPorts); |
| 2543 unittest.expect(o.selfLink, unittest.equals('foo')); | 2547 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 2544 checkUnnamed2320(o.targetPools); | 2548 checkUnnamed770(o.targetPools); |
| 2545 unittest.expect(o.targetSize, unittest.equals(42)); | 2549 unittest.expect(o.targetSize, unittest.equals(42)); |
| 2546 unittest.expect(o.zone, unittest.equals('foo')); | 2550 unittest.expect(o.zone, unittest.equals('foo')); |
| 2547 } | 2551 } |
| 2548 buildCounterInstanceGroupManager--; | 2552 buildCounterInstanceGroupManager--; |
| 2549 } | 2553 } |
| 2550 | 2554 |
| 2551 core.int buildCounterInstanceGroupManagerActionsSummary = 0; | 2555 core.int buildCounterInstanceGroupManagerActionsSummary = 0; |
| 2552 buildInstanceGroupManagerActionsSummary() { | 2556 buildInstanceGroupManagerActionsSummary() { |
| 2553 var o = new api.InstanceGroupManagerActionsSummary(); | 2557 var o = new api.InstanceGroupManagerActionsSummary(); |
| 2554 buildCounterInstanceGroupManagerActionsSummary++; | 2558 buildCounterInstanceGroupManagerActionsSummary++; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 2572 unittest.expect(o.creating, unittest.equals(42)); | 2576 unittest.expect(o.creating, unittest.equals(42)); |
| 2573 unittest.expect(o.deleting, unittest.equals(42)); | 2577 unittest.expect(o.deleting, unittest.equals(42)); |
| 2574 unittest.expect(o.none, unittest.equals(42)); | 2578 unittest.expect(o.none, unittest.equals(42)); |
| 2575 unittest.expect(o.recreating, unittest.equals(42)); | 2579 unittest.expect(o.recreating, unittest.equals(42)); |
| 2576 unittest.expect(o.refreshing, unittest.equals(42)); | 2580 unittest.expect(o.refreshing, unittest.equals(42)); |
| 2577 unittest.expect(o.restarting, unittest.equals(42)); | 2581 unittest.expect(o.restarting, unittest.equals(42)); |
| 2578 } | 2582 } |
| 2579 buildCounterInstanceGroupManagerActionsSummary--; | 2583 buildCounterInstanceGroupManagerActionsSummary--; |
| 2580 } | 2584 } |
| 2581 | 2585 |
| 2582 buildUnnamed2321() { | 2586 buildUnnamed771() { |
| 2583 var o = new core.Map<core.String, api.InstanceGroupManagersScopedList>(); | 2587 var o = new core.Map<core.String, api.InstanceGroupManagersScopedList>(); |
| 2584 o["x"] = buildInstanceGroupManagersScopedList(); | 2588 o["x"] = buildInstanceGroupManagersScopedList(); |
| 2585 o["y"] = buildInstanceGroupManagersScopedList(); | 2589 o["y"] = buildInstanceGroupManagersScopedList(); |
| 2586 return o; | 2590 return o; |
| 2587 } | 2591 } |
| 2588 | 2592 |
| 2589 checkUnnamed2321(core.Map<core.String, api.InstanceGroupManagersScopedList> o) { | 2593 checkUnnamed771(core.Map<core.String, api.InstanceGroupManagersScopedList> o) { |
| 2590 unittest.expect(o, unittest.hasLength(2)); | 2594 unittest.expect(o, unittest.hasLength(2)); |
| 2591 checkInstanceGroupManagersScopedList(o["x"]); | 2595 checkInstanceGroupManagersScopedList(o["x"]); |
| 2592 checkInstanceGroupManagersScopedList(o["y"]); | 2596 checkInstanceGroupManagersScopedList(o["y"]); |
| 2593 } | 2597 } |
| 2594 | 2598 |
| 2595 core.int buildCounterInstanceGroupManagerAggregatedList = 0; | 2599 core.int buildCounterInstanceGroupManagerAggregatedList = 0; |
| 2596 buildInstanceGroupManagerAggregatedList() { | 2600 buildInstanceGroupManagerAggregatedList() { |
| 2597 var o = new api.InstanceGroupManagerAggregatedList(); | 2601 var o = new api.InstanceGroupManagerAggregatedList(); |
| 2598 buildCounterInstanceGroupManagerAggregatedList++; | 2602 buildCounterInstanceGroupManagerAggregatedList++; |
| 2599 if (buildCounterInstanceGroupManagerAggregatedList < 3) { | 2603 if (buildCounterInstanceGroupManagerAggregatedList < 3) { |
| 2600 o.id = "foo"; | 2604 o.id = "foo"; |
| 2601 o.items = buildUnnamed2321(); | 2605 o.items = buildUnnamed771(); |
| 2602 o.kind = "foo"; | 2606 o.kind = "foo"; |
| 2603 o.nextPageToken = "foo"; | 2607 o.nextPageToken = "foo"; |
| 2604 o.selfLink = "foo"; | 2608 o.selfLink = "foo"; |
| 2605 } | 2609 } |
| 2606 buildCounterInstanceGroupManagerAggregatedList--; | 2610 buildCounterInstanceGroupManagerAggregatedList--; |
| 2607 return o; | 2611 return o; |
| 2608 } | 2612 } |
| 2609 | 2613 |
| 2610 checkInstanceGroupManagerAggregatedList(api.InstanceGroupManagerAggregatedList o
) { | 2614 checkInstanceGroupManagerAggregatedList(api.InstanceGroupManagerAggregatedList o
) { |
| 2611 buildCounterInstanceGroupManagerAggregatedList++; | 2615 buildCounterInstanceGroupManagerAggregatedList++; |
| 2612 if (buildCounterInstanceGroupManagerAggregatedList < 3) { | 2616 if (buildCounterInstanceGroupManagerAggregatedList < 3) { |
| 2613 unittest.expect(o.id, unittest.equals('foo')); | 2617 unittest.expect(o.id, unittest.equals('foo')); |
| 2614 checkUnnamed2321(o.items); | 2618 checkUnnamed771(o.items); |
| 2615 unittest.expect(o.kind, unittest.equals('foo')); | 2619 unittest.expect(o.kind, unittest.equals('foo')); |
| 2616 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2620 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2617 unittest.expect(o.selfLink, unittest.equals('foo')); | 2621 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 2618 } | 2622 } |
| 2619 buildCounterInstanceGroupManagerAggregatedList--; | 2623 buildCounterInstanceGroupManagerAggregatedList--; |
| 2620 } | 2624 } |
| 2621 | 2625 |
| 2622 buildUnnamed2322() { | 2626 buildUnnamed772() { |
| 2623 var o = new core.List<api.InstanceGroupManager>(); | 2627 var o = new core.List<api.InstanceGroupManager>(); |
| 2624 o.add(buildInstanceGroupManager()); | 2628 o.add(buildInstanceGroupManager()); |
| 2625 o.add(buildInstanceGroupManager()); | 2629 o.add(buildInstanceGroupManager()); |
| 2626 return o; | 2630 return o; |
| 2627 } | 2631 } |
| 2628 | 2632 |
| 2629 checkUnnamed2322(core.List<api.InstanceGroupManager> o) { | 2633 checkUnnamed772(core.List<api.InstanceGroupManager> o) { |
| 2630 unittest.expect(o, unittest.hasLength(2)); | 2634 unittest.expect(o, unittest.hasLength(2)); |
| 2631 checkInstanceGroupManager(o[0]); | 2635 checkInstanceGroupManager(o[0]); |
| 2632 checkInstanceGroupManager(o[1]); | 2636 checkInstanceGroupManager(o[1]); |
| 2633 } | 2637 } |
| 2634 | 2638 |
| 2635 core.int buildCounterInstanceGroupManagerList = 0; | 2639 core.int buildCounterInstanceGroupManagerList = 0; |
| 2636 buildInstanceGroupManagerList() { | 2640 buildInstanceGroupManagerList() { |
| 2637 var o = new api.InstanceGroupManagerList(); | 2641 var o = new api.InstanceGroupManagerList(); |
| 2638 buildCounterInstanceGroupManagerList++; | 2642 buildCounterInstanceGroupManagerList++; |
| 2639 if (buildCounterInstanceGroupManagerList < 3) { | 2643 if (buildCounterInstanceGroupManagerList < 3) { |
| 2640 o.id = "foo"; | 2644 o.id = "foo"; |
| 2641 o.items = buildUnnamed2322(); | 2645 o.items = buildUnnamed772(); |
| 2642 o.kind = "foo"; | 2646 o.kind = "foo"; |
| 2643 o.nextPageToken = "foo"; | 2647 o.nextPageToken = "foo"; |
| 2644 o.selfLink = "foo"; | 2648 o.selfLink = "foo"; |
| 2645 } | 2649 } |
| 2646 buildCounterInstanceGroupManagerList--; | 2650 buildCounterInstanceGroupManagerList--; |
| 2647 return o; | 2651 return o; |
| 2648 } | 2652 } |
| 2649 | 2653 |
| 2650 checkInstanceGroupManagerList(api.InstanceGroupManagerList o) { | 2654 checkInstanceGroupManagerList(api.InstanceGroupManagerList o) { |
| 2651 buildCounterInstanceGroupManagerList++; | 2655 buildCounterInstanceGroupManagerList++; |
| 2652 if (buildCounterInstanceGroupManagerList < 3) { | 2656 if (buildCounterInstanceGroupManagerList < 3) { |
| 2653 unittest.expect(o.id, unittest.equals('foo')); | 2657 unittest.expect(o.id, unittest.equals('foo')); |
| 2654 checkUnnamed2322(o.items); | 2658 checkUnnamed772(o.items); |
| 2655 unittest.expect(o.kind, unittest.equals('foo')); | 2659 unittest.expect(o.kind, unittest.equals('foo')); |
| 2656 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2660 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2657 unittest.expect(o.selfLink, unittest.equals('foo')); | 2661 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 2658 } | 2662 } |
| 2659 buildCounterInstanceGroupManagerList--; | 2663 buildCounterInstanceGroupManagerList--; |
| 2660 } | 2664 } |
| 2661 | 2665 |
| 2662 buildUnnamed2323() { | 2666 buildUnnamed773() { |
| 2663 var o = new core.List<core.String>(); | 2667 var o = new core.List<core.String>(); |
| 2664 o.add("foo"); | 2668 o.add("foo"); |
| 2665 o.add("foo"); | 2669 o.add("foo"); |
| 2666 return o; | 2670 return o; |
| 2667 } | 2671 } |
| 2668 | 2672 |
| 2669 checkUnnamed2323(core.List<core.String> o) { | 2673 checkUnnamed773(core.List<core.String> o) { |
| 2670 unittest.expect(o, unittest.hasLength(2)); | 2674 unittest.expect(o, unittest.hasLength(2)); |
| 2671 unittest.expect(o[0], unittest.equals('foo')); | 2675 unittest.expect(o[0], unittest.equals('foo')); |
| 2672 unittest.expect(o[1], unittest.equals('foo')); | 2676 unittest.expect(o[1], unittest.equals('foo')); |
| 2673 } | 2677 } |
| 2674 | 2678 |
| 2675 core.int buildCounterInstanceGroupManagersAbandonInstancesRequest = 0; | 2679 core.int buildCounterInstanceGroupManagersAbandonInstancesRequest = 0; |
| 2676 buildInstanceGroupManagersAbandonInstancesRequest() { | 2680 buildInstanceGroupManagersAbandonInstancesRequest() { |
| 2677 var o = new api.InstanceGroupManagersAbandonInstancesRequest(); | 2681 var o = new api.InstanceGroupManagersAbandonInstancesRequest(); |
| 2678 buildCounterInstanceGroupManagersAbandonInstancesRequest++; | 2682 buildCounterInstanceGroupManagersAbandonInstancesRequest++; |
| 2679 if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) { | 2683 if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) { |
| 2680 o.instances = buildUnnamed2323(); | 2684 o.instances = buildUnnamed773(); |
| 2681 } | 2685 } |
| 2682 buildCounterInstanceGroupManagersAbandonInstancesRequest--; | 2686 buildCounterInstanceGroupManagersAbandonInstancesRequest--; |
| 2683 return o; | 2687 return o; |
| 2684 } | 2688 } |
| 2685 | 2689 |
| 2686 checkInstanceGroupManagersAbandonInstancesRequest(api.InstanceGroupManagersAband
onInstancesRequest o) { | 2690 checkInstanceGroupManagersAbandonInstancesRequest(api.InstanceGroupManagersAband
onInstancesRequest o) { |
| 2687 buildCounterInstanceGroupManagersAbandonInstancesRequest++; | 2691 buildCounterInstanceGroupManagersAbandonInstancesRequest++; |
| 2688 if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) { | 2692 if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) { |
| 2689 checkUnnamed2323(o.instances); | 2693 checkUnnamed773(o.instances); |
| 2690 } | 2694 } |
| 2691 buildCounterInstanceGroupManagersAbandonInstancesRequest--; | 2695 buildCounterInstanceGroupManagersAbandonInstancesRequest--; |
| 2692 } | 2696 } |
| 2693 | 2697 |
| 2694 buildUnnamed2324() { | 2698 buildUnnamed774() { |
| 2695 var o = new core.List<core.String>(); | 2699 var o = new core.List<core.String>(); |
| 2696 o.add("foo"); | 2700 o.add("foo"); |
| 2697 o.add("foo"); | 2701 o.add("foo"); |
| 2698 return o; | 2702 return o; |
| 2699 } | 2703 } |
| 2700 | 2704 |
| 2701 checkUnnamed2324(core.List<core.String> o) { | 2705 checkUnnamed774(core.List<core.String> o) { |
| 2702 unittest.expect(o, unittest.hasLength(2)); | 2706 unittest.expect(o, unittest.hasLength(2)); |
| 2703 unittest.expect(o[0], unittest.equals('foo')); | 2707 unittest.expect(o[0], unittest.equals('foo')); |
| 2704 unittest.expect(o[1], unittest.equals('foo')); | 2708 unittest.expect(o[1], unittest.equals('foo')); |
| 2705 } | 2709 } |
| 2706 | 2710 |
| 2707 core.int buildCounterInstanceGroupManagersDeleteInstancesRequest = 0; | 2711 core.int buildCounterInstanceGroupManagersDeleteInstancesRequest = 0; |
| 2708 buildInstanceGroupManagersDeleteInstancesRequest() { | 2712 buildInstanceGroupManagersDeleteInstancesRequest() { |
| 2709 var o = new api.InstanceGroupManagersDeleteInstancesRequest(); | 2713 var o = new api.InstanceGroupManagersDeleteInstancesRequest(); |
| 2710 buildCounterInstanceGroupManagersDeleteInstancesRequest++; | 2714 buildCounterInstanceGroupManagersDeleteInstancesRequest++; |
| 2711 if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) { | 2715 if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) { |
| 2712 o.instances = buildUnnamed2324(); | 2716 o.instances = buildUnnamed774(); |
| 2713 } | 2717 } |
| 2714 buildCounterInstanceGroupManagersDeleteInstancesRequest--; | 2718 buildCounterInstanceGroupManagersDeleteInstancesRequest--; |
| 2715 return o; | 2719 return o; |
| 2716 } | 2720 } |
| 2717 | 2721 |
| 2718 checkInstanceGroupManagersDeleteInstancesRequest(api.InstanceGroupManagersDelete
InstancesRequest o) { | 2722 checkInstanceGroupManagersDeleteInstancesRequest(api.InstanceGroupManagersDelete
InstancesRequest o) { |
| 2719 buildCounterInstanceGroupManagersDeleteInstancesRequest++; | 2723 buildCounterInstanceGroupManagersDeleteInstancesRequest++; |
| 2720 if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) { | 2724 if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) { |
| 2721 checkUnnamed2324(o.instances); | 2725 checkUnnamed774(o.instances); |
| 2722 } | 2726 } |
| 2723 buildCounterInstanceGroupManagersDeleteInstancesRequest--; | 2727 buildCounterInstanceGroupManagersDeleteInstancesRequest--; |
| 2724 } | 2728 } |
| 2725 | 2729 |
| 2726 buildUnnamed2325() { | 2730 buildUnnamed775() { |
| 2727 var o = new core.List<api.ManagedInstance>(); | 2731 var o = new core.List<api.ManagedInstance>(); |
| 2728 o.add(buildManagedInstance()); | 2732 o.add(buildManagedInstance()); |
| 2729 o.add(buildManagedInstance()); | 2733 o.add(buildManagedInstance()); |
| 2730 return o; | 2734 return o; |
| 2731 } | 2735 } |
| 2732 | 2736 |
| 2733 checkUnnamed2325(core.List<api.ManagedInstance> o) { | 2737 checkUnnamed775(core.List<api.ManagedInstance> o) { |
| 2734 unittest.expect(o, unittest.hasLength(2)); | 2738 unittest.expect(o, unittest.hasLength(2)); |
| 2735 checkManagedInstance(o[0]); | 2739 checkManagedInstance(o[0]); |
| 2736 checkManagedInstance(o[1]); | 2740 checkManagedInstance(o[1]); |
| 2737 } | 2741 } |
| 2738 | 2742 |
| 2739 core.int buildCounterInstanceGroupManagersListManagedInstancesResponse = 0; | 2743 core.int buildCounterInstanceGroupManagersListManagedInstancesResponse = 0; |
| 2740 buildInstanceGroupManagersListManagedInstancesResponse() { | 2744 buildInstanceGroupManagersListManagedInstancesResponse() { |
| 2741 var o = new api.InstanceGroupManagersListManagedInstancesResponse(); | 2745 var o = new api.InstanceGroupManagersListManagedInstancesResponse(); |
| 2742 buildCounterInstanceGroupManagersListManagedInstancesResponse++; | 2746 buildCounterInstanceGroupManagersListManagedInstancesResponse++; |
| 2743 if (buildCounterInstanceGroupManagersListManagedInstancesResponse < 3) { | 2747 if (buildCounterInstanceGroupManagersListManagedInstancesResponse < 3) { |
| 2744 o.managedInstances = buildUnnamed2325(); | 2748 o.managedInstances = buildUnnamed775(); |
| 2745 } | 2749 } |
| 2746 buildCounterInstanceGroupManagersListManagedInstancesResponse--; | 2750 buildCounterInstanceGroupManagersListManagedInstancesResponse--; |
| 2747 return o; | 2751 return o; |
| 2748 } | 2752 } |
| 2749 | 2753 |
| 2750 checkInstanceGroupManagersListManagedInstancesResponse(api.InstanceGroupManagers
ListManagedInstancesResponse o) { | 2754 checkInstanceGroupManagersListManagedInstancesResponse(api.InstanceGroupManagers
ListManagedInstancesResponse o) { |
| 2751 buildCounterInstanceGroupManagersListManagedInstancesResponse++; | 2755 buildCounterInstanceGroupManagersListManagedInstancesResponse++; |
| 2752 if (buildCounterInstanceGroupManagersListManagedInstancesResponse < 3) { | 2756 if (buildCounterInstanceGroupManagersListManagedInstancesResponse < 3) { |
| 2753 checkUnnamed2325(o.managedInstances); | 2757 checkUnnamed775(o.managedInstances); |
| 2754 } | 2758 } |
| 2755 buildCounterInstanceGroupManagersListManagedInstancesResponse--; | 2759 buildCounterInstanceGroupManagersListManagedInstancesResponse--; |
| 2756 } | 2760 } |
| 2757 | 2761 |
| 2758 buildUnnamed2326() { | 2762 buildUnnamed776() { |
| 2759 var o = new core.List<core.String>(); | 2763 var o = new core.List<core.String>(); |
| 2760 o.add("foo"); | 2764 o.add("foo"); |
| 2761 o.add("foo"); | 2765 o.add("foo"); |
| 2762 return o; | 2766 return o; |
| 2763 } | 2767 } |
| 2764 | 2768 |
| 2765 checkUnnamed2326(core.List<core.String> o) { | 2769 checkUnnamed776(core.List<core.String> o) { |
| 2766 unittest.expect(o, unittest.hasLength(2)); | 2770 unittest.expect(o, unittest.hasLength(2)); |
| 2767 unittest.expect(o[0], unittest.equals('foo')); | 2771 unittest.expect(o[0], unittest.equals('foo')); |
| 2768 unittest.expect(o[1], unittest.equals('foo')); | 2772 unittest.expect(o[1], unittest.equals('foo')); |
| 2769 } | 2773 } |
| 2770 | 2774 |
| 2771 core.int buildCounterInstanceGroupManagersRecreateInstancesRequest = 0; | 2775 core.int buildCounterInstanceGroupManagersRecreateInstancesRequest = 0; |
| 2772 buildInstanceGroupManagersRecreateInstancesRequest() { | 2776 buildInstanceGroupManagersRecreateInstancesRequest() { |
| 2773 var o = new api.InstanceGroupManagersRecreateInstancesRequest(); | 2777 var o = new api.InstanceGroupManagersRecreateInstancesRequest(); |
| 2774 buildCounterInstanceGroupManagersRecreateInstancesRequest++; | 2778 buildCounterInstanceGroupManagersRecreateInstancesRequest++; |
| 2775 if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) { | 2779 if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) { |
| 2776 o.instances = buildUnnamed2326(); | 2780 o.instances = buildUnnamed776(); |
| 2777 } | 2781 } |
| 2778 buildCounterInstanceGroupManagersRecreateInstancesRequest--; | 2782 buildCounterInstanceGroupManagersRecreateInstancesRequest--; |
| 2779 return o; | 2783 return o; |
| 2780 } | 2784 } |
| 2781 | 2785 |
| 2782 checkInstanceGroupManagersRecreateInstancesRequest(api.InstanceGroupManagersRecr
eateInstancesRequest o) { | 2786 checkInstanceGroupManagersRecreateInstancesRequest(api.InstanceGroupManagersRecr
eateInstancesRequest o) { |
| 2783 buildCounterInstanceGroupManagersRecreateInstancesRequest++; | 2787 buildCounterInstanceGroupManagersRecreateInstancesRequest++; |
| 2784 if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) { | 2788 if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) { |
| 2785 checkUnnamed2326(o.instances); | 2789 checkUnnamed776(o.instances); |
| 2786 } | 2790 } |
| 2787 buildCounterInstanceGroupManagersRecreateInstancesRequest--; | 2791 buildCounterInstanceGroupManagersRecreateInstancesRequest--; |
| 2788 } | 2792 } |
| 2789 | 2793 |
| 2790 buildUnnamed2327() { | 2794 buildUnnamed777() { |
| 2791 var o = new core.List<api.InstanceGroupManager>(); | 2795 var o = new core.List<api.InstanceGroupManager>(); |
| 2792 o.add(buildInstanceGroupManager()); | 2796 o.add(buildInstanceGroupManager()); |
| 2793 o.add(buildInstanceGroupManager()); | 2797 o.add(buildInstanceGroupManager()); |
| 2794 return o; | 2798 return o; |
| 2795 } | 2799 } |
| 2796 | 2800 |
| 2797 checkUnnamed2327(core.List<api.InstanceGroupManager> o) { | 2801 checkUnnamed777(core.List<api.InstanceGroupManager> o) { |
| 2798 unittest.expect(o, unittest.hasLength(2)); | 2802 unittest.expect(o, unittest.hasLength(2)); |
| 2799 checkInstanceGroupManager(o[0]); | 2803 checkInstanceGroupManager(o[0]); |
| 2800 checkInstanceGroupManager(o[1]); | 2804 checkInstanceGroupManager(o[1]); |
| 2801 } | 2805 } |
| 2802 | 2806 |
| 2803 core.int buildCounterInstanceGroupManagersScopedListWarningData = 0; | 2807 core.int buildCounterInstanceGroupManagersScopedListWarningData = 0; |
| 2804 buildInstanceGroupManagersScopedListWarningData() { | 2808 buildInstanceGroupManagersScopedListWarningData() { |
| 2805 var o = new api.InstanceGroupManagersScopedListWarningData(); | 2809 var o = new api.InstanceGroupManagersScopedListWarningData(); |
| 2806 buildCounterInstanceGroupManagersScopedListWarningData++; | 2810 buildCounterInstanceGroupManagersScopedListWarningData++; |
| 2807 if (buildCounterInstanceGroupManagersScopedListWarningData < 3) { | 2811 if (buildCounterInstanceGroupManagersScopedListWarningData < 3) { |
| 2808 o.key = "foo"; | 2812 o.key = "foo"; |
| 2809 o.value = "foo"; | 2813 o.value = "foo"; |
| 2810 } | 2814 } |
| 2811 buildCounterInstanceGroupManagersScopedListWarningData--; | 2815 buildCounterInstanceGroupManagersScopedListWarningData--; |
| 2812 return o; | 2816 return o; |
| 2813 } | 2817 } |
| 2814 | 2818 |
| 2815 checkInstanceGroupManagersScopedListWarningData(api.InstanceGroupManagersScopedL
istWarningData o) { | 2819 checkInstanceGroupManagersScopedListWarningData(api.InstanceGroupManagersScopedL
istWarningData o) { |
| 2816 buildCounterInstanceGroupManagersScopedListWarningData++; | 2820 buildCounterInstanceGroupManagersScopedListWarningData++; |
| 2817 if (buildCounterInstanceGroupManagersScopedListWarningData < 3) { | 2821 if (buildCounterInstanceGroupManagersScopedListWarningData < 3) { |
| 2818 unittest.expect(o.key, unittest.equals('foo')); | 2822 unittest.expect(o.key, unittest.equals('foo')); |
| 2819 unittest.expect(o.value, unittest.equals('foo')); | 2823 unittest.expect(o.value, unittest.equals('foo')); |
| 2820 } | 2824 } |
| 2821 buildCounterInstanceGroupManagersScopedListWarningData--; | 2825 buildCounterInstanceGroupManagersScopedListWarningData--; |
| 2822 } | 2826 } |
| 2823 | 2827 |
| 2824 buildUnnamed2328() { | 2828 buildUnnamed778() { |
| 2825 var o = new core.List<api.InstanceGroupManagersScopedListWarningData>(); | 2829 var o = new core.List<api.InstanceGroupManagersScopedListWarningData>(); |
| 2826 o.add(buildInstanceGroupManagersScopedListWarningData()); | 2830 o.add(buildInstanceGroupManagersScopedListWarningData()); |
| 2827 o.add(buildInstanceGroupManagersScopedListWarningData()); | 2831 o.add(buildInstanceGroupManagersScopedListWarningData()); |
| 2828 return o; | 2832 return o; |
| 2829 } | 2833 } |
| 2830 | 2834 |
| 2831 checkUnnamed2328(core.List<api.InstanceGroupManagersScopedListWarningData> o) { | 2835 checkUnnamed778(core.List<api.InstanceGroupManagersScopedListWarningData> o) { |
| 2832 unittest.expect(o, unittest.hasLength(2)); | 2836 unittest.expect(o, unittest.hasLength(2)); |
| 2833 checkInstanceGroupManagersScopedListWarningData(o[0]); | 2837 checkInstanceGroupManagersScopedListWarningData(o[0]); |
| 2834 checkInstanceGroupManagersScopedListWarningData(o[1]); | 2838 checkInstanceGroupManagersScopedListWarningData(o[1]); |
| 2835 } | 2839 } |
| 2836 | 2840 |
| 2837 core.int buildCounterInstanceGroupManagersScopedListWarning = 0; | 2841 core.int buildCounterInstanceGroupManagersScopedListWarning = 0; |
| 2838 buildInstanceGroupManagersScopedListWarning() { | 2842 buildInstanceGroupManagersScopedListWarning() { |
| 2839 var o = new api.InstanceGroupManagersScopedListWarning(); | 2843 var o = new api.InstanceGroupManagersScopedListWarning(); |
| 2840 buildCounterInstanceGroupManagersScopedListWarning++; | 2844 buildCounterInstanceGroupManagersScopedListWarning++; |
| 2841 if (buildCounterInstanceGroupManagersScopedListWarning < 3) { | 2845 if (buildCounterInstanceGroupManagersScopedListWarning < 3) { |
| 2842 o.code = "foo"; | 2846 o.code = "foo"; |
| 2843 o.data = buildUnnamed2328(); | 2847 o.data = buildUnnamed778(); |
| 2844 o.message = "foo"; | 2848 o.message = "foo"; |
| 2845 } | 2849 } |
| 2846 buildCounterInstanceGroupManagersScopedListWarning--; | 2850 buildCounterInstanceGroupManagersScopedListWarning--; |
| 2847 return o; | 2851 return o; |
| 2848 } | 2852 } |
| 2849 | 2853 |
| 2850 checkInstanceGroupManagersScopedListWarning(api.InstanceGroupManagersScopedListW
arning o) { | 2854 checkInstanceGroupManagersScopedListWarning(api.InstanceGroupManagersScopedListW
arning o) { |
| 2851 buildCounterInstanceGroupManagersScopedListWarning++; | 2855 buildCounterInstanceGroupManagersScopedListWarning++; |
| 2852 if (buildCounterInstanceGroupManagersScopedListWarning < 3) { | 2856 if (buildCounterInstanceGroupManagersScopedListWarning < 3) { |
| 2853 unittest.expect(o.code, unittest.equals('foo')); | 2857 unittest.expect(o.code, unittest.equals('foo')); |
| 2854 checkUnnamed2328(o.data); | 2858 checkUnnamed778(o.data); |
| 2855 unittest.expect(o.message, unittest.equals('foo')); | 2859 unittest.expect(o.message, unittest.equals('foo')); |
| 2856 } | 2860 } |
| 2857 buildCounterInstanceGroupManagersScopedListWarning--; | 2861 buildCounterInstanceGroupManagersScopedListWarning--; |
| 2858 } | 2862 } |
| 2859 | 2863 |
| 2860 core.int buildCounterInstanceGroupManagersScopedList = 0; | 2864 core.int buildCounterInstanceGroupManagersScopedList = 0; |
| 2861 buildInstanceGroupManagersScopedList() { | 2865 buildInstanceGroupManagersScopedList() { |
| 2862 var o = new api.InstanceGroupManagersScopedList(); | 2866 var o = new api.InstanceGroupManagersScopedList(); |
| 2863 buildCounterInstanceGroupManagersScopedList++; | 2867 buildCounterInstanceGroupManagersScopedList++; |
| 2864 if (buildCounterInstanceGroupManagersScopedList < 3) { | 2868 if (buildCounterInstanceGroupManagersScopedList < 3) { |
| 2865 o.instanceGroupManagers = buildUnnamed2327(); | 2869 o.instanceGroupManagers = buildUnnamed777(); |
| 2866 o.warning = buildInstanceGroupManagersScopedListWarning(); | 2870 o.warning = buildInstanceGroupManagersScopedListWarning(); |
| 2867 } | 2871 } |
| 2868 buildCounterInstanceGroupManagersScopedList--; | 2872 buildCounterInstanceGroupManagersScopedList--; |
| 2869 return o; | 2873 return o; |
| 2870 } | 2874 } |
| 2871 | 2875 |
| 2872 checkInstanceGroupManagersScopedList(api.InstanceGroupManagersScopedList o) { | 2876 checkInstanceGroupManagersScopedList(api.InstanceGroupManagersScopedList o) { |
| 2873 buildCounterInstanceGroupManagersScopedList++; | 2877 buildCounterInstanceGroupManagersScopedList++; |
| 2874 if (buildCounterInstanceGroupManagersScopedList < 3) { | 2878 if (buildCounterInstanceGroupManagersScopedList < 3) { |
| 2875 checkUnnamed2327(o.instanceGroupManagers); | 2879 checkUnnamed777(o.instanceGroupManagers); |
| 2876 checkInstanceGroupManagersScopedListWarning(o.warning); | 2880 checkInstanceGroupManagersScopedListWarning(o.warning); |
| 2877 } | 2881 } |
| 2878 buildCounterInstanceGroupManagersScopedList--; | 2882 buildCounterInstanceGroupManagersScopedList--; |
| 2879 } | 2883 } |
| 2880 | 2884 |
| 2881 core.int buildCounterInstanceGroupManagersSetInstanceTemplateRequest = 0; | 2885 core.int buildCounterInstanceGroupManagersSetInstanceTemplateRequest = 0; |
| 2882 buildInstanceGroupManagersSetInstanceTemplateRequest() { | 2886 buildInstanceGroupManagersSetInstanceTemplateRequest() { |
| 2883 var o = new api.InstanceGroupManagersSetInstanceTemplateRequest(); | 2887 var o = new api.InstanceGroupManagersSetInstanceTemplateRequest(); |
| 2884 buildCounterInstanceGroupManagersSetInstanceTemplateRequest++; | 2888 buildCounterInstanceGroupManagersSetInstanceTemplateRequest++; |
| 2885 if (buildCounterInstanceGroupManagersSetInstanceTemplateRequest < 3) { | 2889 if (buildCounterInstanceGroupManagersSetInstanceTemplateRequest < 3) { |
| 2886 o.instanceTemplate = "foo"; | 2890 o.instanceTemplate = "foo"; |
| 2887 } | 2891 } |
| 2888 buildCounterInstanceGroupManagersSetInstanceTemplateRequest--; | 2892 buildCounterInstanceGroupManagersSetInstanceTemplateRequest--; |
| 2889 return o; | 2893 return o; |
| 2890 } | 2894 } |
| 2891 | 2895 |
| 2892 checkInstanceGroupManagersSetInstanceTemplateRequest(api.InstanceGroupManagersSe
tInstanceTemplateRequest o) { | 2896 checkInstanceGroupManagersSetInstanceTemplateRequest(api.InstanceGroupManagersSe
tInstanceTemplateRequest o) { |
| 2893 buildCounterInstanceGroupManagersSetInstanceTemplateRequest++; | 2897 buildCounterInstanceGroupManagersSetInstanceTemplateRequest++; |
| 2894 if (buildCounterInstanceGroupManagersSetInstanceTemplateRequest < 3) { | 2898 if (buildCounterInstanceGroupManagersSetInstanceTemplateRequest < 3) { |
| 2895 unittest.expect(o.instanceTemplate, unittest.equals('foo')); | 2899 unittest.expect(o.instanceTemplate, unittest.equals('foo')); |
| 2896 } | 2900 } |
| 2897 buildCounterInstanceGroupManagersSetInstanceTemplateRequest--; | 2901 buildCounterInstanceGroupManagersSetInstanceTemplateRequest--; |
| 2898 } | 2902 } |
| 2899 | 2903 |
| 2900 buildUnnamed2329() { | 2904 buildUnnamed779() { |
| 2901 var o = new core.List<core.String>(); | 2905 var o = new core.List<core.String>(); |
| 2902 o.add("foo"); | 2906 o.add("foo"); |
| 2903 o.add("foo"); | 2907 o.add("foo"); |
| 2904 return o; | 2908 return o; |
| 2905 } | 2909 } |
| 2906 | 2910 |
| 2907 checkUnnamed2329(core.List<core.String> o) { | 2911 checkUnnamed779(core.List<core.String> o) { |
| 2908 unittest.expect(o, unittest.hasLength(2)); | 2912 unittest.expect(o, unittest.hasLength(2)); |
| 2909 unittest.expect(o[0], unittest.equals('foo')); | 2913 unittest.expect(o[0], unittest.equals('foo')); |
| 2910 unittest.expect(o[1], unittest.equals('foo')); | 2914 unittest.expect(o[1], unittest.equals('foo')); |
| 2911 } | 2915 } |
| 2912 | 2916 |
| 2913 core.int buildCounterInstanceGroupManagersSetTargetPoolsRequest = 0; | 2917 core.int buildCounterInstanceGroupManagersSetTargetPoolsRequest = 0; |
| 2914 buildInstanceGroupManagersSetTargetPoolsRequest() { | 2918 buildInstanceGroupManagersSetTargetPoolsRequest() { |
| 2915 var o = new api.InstanceGroupManagersSetTargetPoolsRequest(); | 2919 var o = new api.InstanceGroupManagersSetTargetPoolsRequest(); |
| 2916 buildCounterInstanceGroupManagersSetTargetPoolsRequest++; | 2920 buildCounterInstanceGroupManagersSetTargetPoolsRequest++; |
| 2917 if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) { | 2921 if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) { |
| 2918 o.fingerprint = "foo"; | 2922 o.fingerprint = "foo"; |
| 2919 o.targetPools = buildUnnamed2329(); | 2923 o.targetPools = buildUnnamed779(); |
| 2920 } | 2924 } |
| 2921 buildCounterInstanceGroupManagersSetTargetPoolsRequest--; | 2925 buildCounterInstanceGroupManagersSetTargetPoolsRequest--; |
| 2922 return o; | 2926 return o; |
| 2923 } | 2927 } |
| 2924 | 2928 |
| 2925 checkInstanceGroupManagersSetTargetPoolsRequest(api.InstanceGroupManagersSetTarg
etPoolsRequest o) { | 2929 checkInstanceGroupManagersSetTargetPoolsRequest(api.InstanceGroupManagersSetTarg
etPoolsRequest o) { |
| 2926 buildCounterInstanceGroupManagersSetTargetPoolsRequest++; | 2930 buildCounterInstanceGroupManagersSetTargetPoolsRequest++; |
| 2927 if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) { | 2931 if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) { |
| 2928 unittest.expect(o.fingerprint, unittest.equals('foo')); | 2932 unittest.expect(o.fingerprint, unittest.equals('foo')); |
| 2929 checkUnnamed2329(o.targetPools); | 2933 checkUnnamed779(o.targetPools); |
| 2930 } | 2934 } |
| 2931 buildCounterInstanceGroupManagersSetTargetPoolsRequest--; | 2935 buildCounterInstanceGroupManagersSetTargetPoolsRequest--; |
| 2932 } | 2936 } |
| 2933 | 2937 |
| 2934 buildUnnamed2330() { | 2938 buildUnnamed780() { |
| 2935 var o = new core.List<api.InstanceReference>(); | 2939 var o = new core.List<api.InstanceReference>(); |
| 2936 o.add(buildInstanceReference()); | 2940 o.add(buildInstanceReference()); |
| 2937 o.add(buildInstanceReference()); | 2941 o.add(buildInstanceReference()); |
| 2938 return o; | 2942 return o; |
| 2939 } | 2943 } |
| 2940 | 2944 |
| 2941 checkUnnamed2330(core.List<api.InstanceReference> o) { | 2945 checkUnnamed780(core.List<api.InstanceReference> o) { |
| 2942 unittest.expect(o, unittest.hasLength(2)); | 2946 unittest.expect(o, unittest.hasLength(2)); |
| 2943 checkInstanceReference(o[0]); | 2947 checkInstanceReference(o[0]); |
| 2944 checkInstanceReference(o[1]); | 2948 checkInstanceReference(o[1]); |
| 2945 } | 2949 } |
| 2946 | 2950 |
| 2947 core.int buildCounterInstanceGroupsAddInstancesRequest = 0; | 2951 core.int buildCounterInstanceGroupsAddInstancesRequest = 0; |
| 2948 buildInstanceGroupsAddInstancesRequest() { | 2952 buildInstanceGroupsAddInstancesRequest() { |
| 2949 var o = new api.InstanceGroupsAddInstancesRequest(); | 2953 var o = new api.InstanceGroupsAddInstancesRequest(); |
| 2950 buildCounterInstanceGroupsAddInstancesRequest++; | 2954 buildCounterInstanceGroupsAddInstancesRequest++; |
| 2951 if (buildCounterInstanceGroupsAddInstancesRequest < 3) { | 2955 if (buildCounterInstanceGroupsAddInstancesRequest < 3) { |
| 2952 o.instances = buildUnnamed2330(); | 2956 o.instances = buildUnnamed780(); |
| 2953 } | 2957 } |
| 2954 buildCounterInstanceGroupsAddInstancesRequest--; | 2958 buildCounterInstanceGroupsAddInstancesRequest--; |
| 2955 return o; | 2959 return o; |
| 2956 } | 2960 } |
| 2957 | 2961 |
| 2958 checkInstanceGroupsAddInstancesRequest(api.InstanceGroupsAddInstancesRequest o)
{ | 2962 checkInstanceGroupsAddInstancesRequest(api.InstanceGroupsAddInstancesRequest o)
{ |
| 2959 buildCounterInstanceGroupsAddInstancesRequest++; | 2963 buildCounterInstanceGroupsAddInstancesRequest++; |
| 2960 if (buildCounterInstanceGroupsAddInstancesRequest < 3) { | 2964 if (buildCounterInstanceGroupsAddInstancesRequest < 3) { |
| 2961 checkUnnamed2330(o.instances); | 2965 checkUnnamed780(o.instances); |
| 2962 } | 2966 } |
| 2963 buildCounterInstanceGroupsAddInstancesRequest--; | 2967 buildCounterInstanceGroupsAddInstancesRequest--; |
| 2964 } | 2968 } |
| 2965 | 2969 |
| 2966 buildUnnamed2331() { | 2970 buildUnnamed781() { |
| 2967 var o = new core.List<api.InstanceWithNamedPorts>(); | 2971 var o = new core.List<api.InstanceWithNamedPorts>(); |
| 2968 o.add(buildInstanceWithNamedPorts()); | 2972 o.add(buildInstanceWithNamedPorts()); |
| 2969 o.add(buildInstanceWithNamedPorts()); | 2973 o.add(buildInstanceWithNamedPorts()); |
| 2970 return o; | 2974 return o; |
| 2971 } | 2975 } |
| 2972 | 2976 |
| 2973 checkUnnamed2331(core.List<api.InstanceWithNamedPorts> o) { | 2977 checkUnnamed781(core.List<api.InstanceWithNamedPorts> o) { |
| 2974 unittest.expect(o, unittest.hasLength(2)); | 2978 unittest.expect(o, unittest.hasLength(2)); |
| 2975 checkInstanceWithNamedPorts(o[0]); | 2979 checkInstanceWithNamedPorts(o[0]); |
| 2976 checkInstanceWithNamedPorts(o[1]); | 2980 checkInstanceWithNamedPorts(o[1]); |
| 2977 } | 2981 } |
| 2978 | 2982 |
| 2979 core.int buildCounterInstanceGroupsListInstances = 0; | 2983 core.int buildCounterInstanceGroupsListInstances = 0; |
| 2980 buildInstanceGroupsListInstances() { | 2984 buildInstanceGroupsListInstances() { |
| 2981 var o = new api.InstanceGroupsListInstances(); | 2985 var o = new api.InstanceGroupsListInstances(); |
| 2982 buildCounterInstanceGroupsListInstances++; | 2986 buildCounterInstanceGroupsListInstances++; |
| 2983 if (buildCounterInstanceGroupsListInstances < 3) { | 2987 if (buildCounterInstanceGroupsListInstances < 3) { |
| 2984 o.id = "foo"; | 2988 o.id = "foo"; |
| 2985 o.items = buildUnnamed2331(); | 2989 o.items = buildUnnamed781(); |
| 2986 o.kind = "foo"; | 2990 o.kind = "foo"; |
| 2987 o.nextPageToken = "foo"; | 2991 o.nextPageToken = "foo"; |
| 2988 o.selfLink = "foo"; | 2992 o.selfLink = "foo"; |
| 2989 } | 2993 } |
| 2990 buildCounterInstanceGroupsListInstances--; | 2994 buildCounterInstanceGroupsListInstances--; |
| 2991 return o; | 2995 return o; |
| 2992 } | 2996 } |
| 2993 | 2997 |
| 2994 checkInstanceGroupsListInstances(api.InstanceGroupsListInstances o) { | 2998 checkInstanceGroupsListInstances(api.InstanceGroupsListInstances o) { |
| 2995 buildCounterInstanceGroupsListInstances++; | 2999 buildCounterInstanceGroupsListInstances++; |
| 2996 if (buildCounterInstanceGroupsListInstances < 3) { | 3000 if (buildCounterInstanceGroupsListInstances < 3) { |
| 2997 unittest.expect(o.id, unittest.equals('foo')); | 3001 unittest.expect(o.id, unittest.equals('foo')); |
| 2998 checkUnnamed2331(o.items); | 3002 checkUnnamed781(o.items); |
| 2999 unittest.expect(o.kind, unittest.equals('foo')); | 3003 unittest.expect(o.kind, unittest.equals('foo')); |
| 3000 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3004 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3001 unittest.expect(o.selfLink, unittest.equals('foo')); | 3005 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 3002 } | 3006 } |
| 3003 buildCounterInstanceGroupsListInstances--; | 3007 buildCounterInstanceGroupsListInstances--; |
| 3004 } | 3008 } |
| 3005 | 3009 |
| 3006 core.int buildCounterInstanceGroupsListInstancesRequest = 0; | 3010 core.int buildCounterInstanceGroupsListInstancesRequest = 0; |
| 3007 buildInstanceGroupsListInstancesRequest() { | 3011 buildInstanceGroupsListInstancesRequest() { |
| 3008 var o = new api.InstanceGroupsListInstancesRequest(); | 3012 var o = new api.InstanceGroupsListInstancesRequest(); |
| 3009 buildCounterInstanceGroupsListInstancesRequest++; | 3013 buildCounterInstanceGroupsListInstancesRequest++; |
| 3010 if (buildCounterInstanceGroupsListInstancesRequest < 3) { | 3014 if (buildCounterInstanceGroupsListInstancesRequest < 3) { |
| 3011 o.instanceState = "foo"; | 3015 o.instanceState = "foo"; |
| 3012 } | 3016 } |
| 3013 buildCounterInstanceGroupsListInstancesRequest--; | 3017 buildCounterInstanceGroupsListInstancesRequest--; |
| 3014 return o; | 3018 return o; |
| 3015 } | 3019 } |
| 3016 | 3020 |
| 3017 checkInstanceGroupsListInstancesRequest(api.InstanceGroupsListInstancesRequest o
) { | 3021 checkInstanceGroupsListInstancesRequest(api.InstanceGroupsListInstancesRequest o
) { |
| 3018 buildCounterInstanceGroupsListInstancesRequest++; | 3022 buildCounterInstanceGroupsListInstancesRequest++; |
| 3019 if (buildCounterInstanceGroupsListInstancesRequest < 3) { | 3023 if (buildCounterInstanceGroupsListInstancesRequest < 3) { |
| 3020 unittest.expect(o.instanceState, unittest.equals('foo')); | 3024 unittest.expect(o.instanceState, unittest.equals('foo')); |
| 3021 } | 3025 } |
| 3022 buildCounterInstanceGroupsListInstancesRequest--; | 3026 buildCounterInstanceGroupsListInstancesRequest--; |
| 3023 } | 3027 } |
| 3024 | 3028 |
| 3025 buildUnnamed2332() { | 3029 buildUnnamed782() { |
| 3026 var o = new core.List<api.InstanceReference>(); | 3030 var o = new core.List<api.InstanceReference>(); |
| 3027 o.add(buildInstanceReference()); | 3031 o.add(buildInstanceReference()); |
| 3028 o.add(buildInstanceReference()); | 3032 o.add(buildInstanceReference()); |
| 3029 return o; | 3033 return o; |
| 3030 } | 3034 } |
| 3031 | 3035 |
| 3032 checkUnnamed2332(core.List<api.InstanceReference> o) { | 3036 checkUnnamed782(core.List<api.InstanceReference> o) { |
| 3033 unittest.expect(o, unittest.hasLength(2)); | 3037 unittest.expect(o, unittest.hasLength(2)); |
| 3034 checkInstanceReference(o[0]); | 3038 checkInstanceReference(o[0]); |
| 3035 checkInstanceReference(o[1]); | 3039 checkInstanceReference(o[1]); |
| 3036 } | 3040 } |
| 3037 | 3041 |
| 3038 core.int buildCounterInstanceGroupsRemoveInstancesRequest = 0; | 3042 core.int buildCounterInstanceGroupsRemoveInstancesRequest = 0; |
| 3039 buildInstanceGroupsRemoveInstancesRequest() { | 3043 buildInstanceGroupsRemoveInstancesRequest() { |
| 3040 var o = new api.InstanceGroupsRemoveInstancesRequest(); | 3044 var o = new api.InstanceGroupsRemoveInstancesRequest(); |
| 3041 buildCounterInstanceGroupsRemoveInstancesRequest++; | 3045 buildCounterInstanceGroupsRemoveInstancesRequest++; |
| 3042 if (buildCounterInstanceGroupsRemoveInstancesRequest < 3) { | 3046 if (buildCounterInstanceGroupsRemoveInstancesRequest < 3) { |
| 3043 o.instances = buildUnnamed2332(); | 3047 o.instances = buildUnnamed782(); |
| 3044 } | 3048 } |
| 3045 buildCounterInstanceGroupsRemoveInstancesRequest--; | 3049 buildCounterInstanceGroupsRemoveInstancesRequest--; |
| 3046 return o; | 3050 return o; |
| 3047 } | 3051 } |
| 3048 | 3052 |
| 3049 checkInstanceGroupsRemoveInstancesRequest(api.InstanceGroupsRemoveInstancesReque
st o) { | 3053 checkInstanceGroupsRemoveInstancesRequest(api.InstanceGroupsRemoveInstancesReque
st o) { |
| 3050 buildCounterInstanceGroupsRemoveInstancesRequest++; | 3054 buildCounterInstanceGroupsRemoveInstancesRequest++; |
| 3051 if (buildCounterInstanceGroupsRemoveInstancesRequest < 3) { | 3055 if (buildCounterInstanceGroupsRemoveInstancesRequest < 3) { |
| 3052 checkUnnamed2332(o.instances); | 3056 checkUnnamed782(o.instances); |
| 3053 } | 3057 } |
| 3054 buildCounterInstanceGroupsRemoveInstancesRequest--; | 3058 buildCounterInstanceGroupsRemoveInstancesRequest--; |
| 3055 } | 3059 } |
| 3056 | 3060 |
| 3057 buildUnnamed2333() { | 3061 buildUnnamed783() { |
| 3058 var o = new core.List<api.InstanceGroup>(); | 3062 var o = new core.List<api.InstanceGroup>(); |
| 3059 o.add(buildInstanceGroup()); | 3063 o.add(buildInstanceGroup()); |
| 3060 o.add(buildInstanceGroup()); | 3064 o.add(buildInstanceGroup()); |
| 3061 return o; | 3065 return o; |
| 3062 } | 3066 } |
| 3063 | 3067 |
| 3064 checkUnnamed2333(core.List<api.InstanceGroup> o) { | 3068 checkUnnamed783(core.List<api.InstanceGroup> o) { |
| 3065 unittest.expect(o, unittest.hasLength(2)); | 3069 unittest.expect(o, unittest.hasLength(2)); |
| 3066 checkInstanceGroup(o[0]); | 3070 checkInstanceGroup(o[0]); |
| 3067 checkInstanceGroup(o[1]); | 3071 checkInstanceGroup(o[1]); |
| 3068 } | 3072 } |
| 3069 | 3073 |
| 3070 core.int buildCounterInstanceGroupsScopedListWarningData = 0; | 3074 core.int buildCounterInstanceGroupsScopedListWarningData = 0; |
| 3071 buildInstanceGroupsScopedListWarningData() { | 3075 buildInstanceGroupsScopedListWarningData() { |
| 3072 var o = new api.InstanceGroupsScopedListWarningData(); | 3076 var o = new api.InstanceGroupsScopedListWarningData(); |
| 3073 buildCounterInstanceGroupsScopedListWarningData++; | 3077 buildCounterInstanceGroupsScopedListWarningData++; |
| 3074 if (buildCounterInstanceGroupsScopedListWarningData < 3) { | 3078 if (buildCounterInstanceGroupsScopedListWarningData < 3) { |
| 3075 o.key = "foo"; | 3079 o.key = "foo"; |
| 3076 o.value = "foo"; | 3080 o.value = "foo"; |
| 3077 } | 3081 } |
| 3078 buildCounterInstanceGroupsScopedListWarningData--; | 3082 buildCounterInstanceGroupsScopedListWarningData--; |
| 3079 return o; | 3083 return o; |
| 3080 } | 3084 } |
| 3081 | 3085 |
| 3082 checkInstanceGroupsScopedListWarningData(api.InstanceGroupsScopedListWarningData
o) { | 3086 checkInstanceGroupsScopedListWarningData(api.InstanceGroupsScopedListWarningData
o) { |
| 3083 buildCounterInstanceGroupsScopedListWarningData++; | 3087 buildCounterInstanceGroupsScopedListWarningData++; |
| 3084 if (buildCounterInstanceGroupsScopedListWarningData < 3) { | 3088 if (buildCounterInstanceGroupsScopedListWarningData < 3) { |
| 3085 unittest.expect(o.key, unittest.equals('foo')); | 3089 unittest.expect(o.key, unittest.equals('foo')); |
| 3086 unittest.expect(o.value, unittest.equals('foo')); | 3090 unittest.expect(o.value, unittest.equals('foo')); |
| 3087 } | 3091 } |
| 3088 buildCounterInstanceGroupsScopedListWarningData--; | 3092 buildCounterInstanceGroupsScopedListWarningData--; |
| 3089 } | 3093 } |
| 3090 | 3094 |
| 3091 buildUnnamed2334() { | 3095 buildUnnamed784() { |
| 3092 var o = new core.List<api.InstanceGroupsScopedListWarningData>(); | 3096 var o = new core.List<api.InstanceGroupsScopedListWarningData>(); |
| 3093 o.add(buildInstanceGroupsScopedListWarningData()); | 3097 o.add(buildInstanceGroupsScopedListWarningData()); |
| 3094 o.add(buildInstanceGroupsScopedListWarningData()); | 3098 o.add(buildInstanceGroupsScopedListWarningData()); |
| 3095 return o; | 3099 return o; |
| 3096 } | 3100 } |
| 3097 | 3101 |
| 3098 checkUnnamed2334(core.List<api.InstanceGroupsScopedListWarningData> o) { | 3102 checkUnnamed784(core.List<api.InstanceGroupsScopedListWarningData> o) { |
| 3099 unittest.expect(o, unittest.hasLength(2)); | 3103 unittest.expect(o, unittest.hasLength(2)); |
| 3100 checkInstanceGroupsScopedListWarningData(o[0]); | 3104 checkInstanceGroupsScopedListWarningData(o[0]); |
| 3101 checkInstanceGroupsScopedListWarningData(o[1]); | 3105 checkInstanceGroupsScopedListWarningData(o[1]); |
| 3102 } | 3106 } |
| 3103 | 3107 |
| 3104 core.int buildCounterInstanceGroupsScopedListWarning = 0; | 3108 core.int buildCounterInstanceGroupsScopedListWarning = 0; |
| 3105 buildInstanceGroupsScopedListWarning() { | 3109 buildInstanceGroupsScopedListWarning() { |
| 3106 var o = new api.InstanceGroupsScopedListWarning(); | 3110 var o = new api.InstanceGroupsScopedListWarning(); |
| 3107 buildCounterInstanceGroupsScopedListWarning++; | 3111 buildCounterInstanceGroupsScopedListWarning++; |
| 3108 if (buildCounterInstanceGroupsScopedListWarning < 3) { | 3112 if (buildCounterInstanceGroupsScopedListWarning < 3) { |
| 3109 o.code = "foo"; | 3113 o.code = "foo"; |
| 3110 o.data = buildUnnamed2334(); | 3114 o.data = buildUnnamed784(); |
| 3111 o.message = "foo"; | 3115 o.message = "foo"; |
| 3112 } | 3116 } |
| 3113 buildCounterInstanceGroupsScopedListWarning--; | 3117 buildCounterInstanceGroupsScopedListWarning--; |
| 3114 return o; | 3118 return o; |
| 3115 } | 3119 } |
| 3116 | 3120 |
| 3117 checkInstanceGroupsScopedListWarning(api.InstanceGroupsScopedListWarning o) { | 3121 checkInstanceGroupsScopedListWarning(api.InstanceGroupsScopedListWarning o) { |
| 3118 buildCounterInstanceGroupsScopedListWarning++; | 3122 buildCounterInstanceGroupsScopedListWarning++; |
| 3119 if (buildCounterInstanceGroupsScopedListWarning < 3) { | 3123 if (buildCounterInstanceGroupsScopedListWarning < 3) { |
| 3120 unittest.expect(o.code, unittest.equals('foo')); | 3124 unittest.expect(o.code, unittest.equals('foo')); |
| 3121 checkUnnamed2334(o.data); | 3125 checkUnnamed784(o.data); |
| 3122 unittest.expect(o.message, unittest.equals('foo')); | 3126 unittest.expect(o.message, unittest.equals('foo')); |
| 3123 } | 3127 } |
| 3124 buildCounterInstanceGroupsScopedListWarning--; | 3128 buildCounterInstanceGroupsScopedListWarning--; |
| 3125 } | 3129 } |
| 3126 | 3130 |
| 3127 core.int buildCounterInstanceGroupsScopedList = 0; | 3131 core.int buildCounterInstanceGroupsScopedList = 0; |
| 3128 buildInstanceGroupsScopedList() { | 3132 buildInstanceGroupsScopedList() { |
| 3129 var o = new api.InstanceGroupsScopedList(); | 3133 var o = new api.InstanceGroupsScopedList(); |
| 3130 buildCounterInstanceGroupsScopedList++; | 3134 buildCounterInstanceGroupsScopedList++; |
| 3131 if (buildCounterInstanceGroupsScopedList < 3) { | 3135 if (buildCounterInstanceGroupsScopedList < 3) { |
| 3132 o.instanceGroups = buildUnnamed2333(); | 3136 o.instanceGroups = buildUnnamed783(); |
| 3133 o.warning = buildInstanceGroupsScopedListWarning(); | 3137 o.warning = buildInstanceGroupsScopedListWarning(); |
| 3134 } | 3138 } |
| 3135 buildCounterInstanceGroupsScopedList--; | 3139 buildCounterInstanceGroupsScopedList--; |
| 3136 return o; | 3140 return o; |
| 3137 } | 3141 } |
| 3138 | 3142 |
| 3139 checkInstanceGroupsScopedList(api.InstanceGroupsScopedList o) { | 3143 checkInstanceGroupsScopedList(api.InstanceGroupsScopedList o) { |
| 3140 buildCounterInstanceGroupsScopedList++; | 3144 buildCounterInstanceGroupsScopedList++; |
| 3141 if (buildCounterInstanceGroupsScopedList < 3) { | 3145 if (buildCounterInstanceGroupsScopedList < 3) { |
| 3142 checkUnnamed2333(o.instanceGroups); | 3146 checkUnnamed783(o.instanceGroups); |
| 3143 checkInstanceGroupsScopedListWarning(o.warning); | 3147 checkInstanceGroupsScopedListWarning(o.warning); |
| 3144 } | 3148 } |
| 3145 buildCounterInstanceGroupsScopedList--; | 3149 buildCounterInstanceGroupsScopedList--; |
| 3146 } | 3150 } |
| 3147 | 3151 |
| 3148 buildUnnamed2335() { | 3152 buildUnnamed785() { |
| 3149 var o = new core.List<api.NamedPort>(); | 3153 var o = new core.List<api.NamedPort>(); |
| 3150 o.add(buildNamedPort()); | 3154 o.add(buildNamedPort()); |
| 3151 o.add(buildNamedPort()); | 3155 o.add(buildNamedPort()); |
| 3152 return o; | 3156 return o; |
| 3153 } | 3157 } |
| 3154 | 3158 |
| 3155 checkUnnamed2335(core.List<api.NamedPort> o) { | 3159 checkUnnamed785(core.List<api.NamedPort> o) { |
| 3156 unittest.expect(o, unittest.hasLength(2)); | 3160 unittest.expect(o, unittest.hasLength(2)); |
| 3157 checkNamedPort(o[0]); | 3161 checkNamedPort(o[0]); |
| 3158 checkNamedPort(o[1]); | 3162 checkNamedPort(o[1]); |
| 3159 } | 3163 } |
| 3160 | 3164 |
| 3161 core.int buildCounterInstanceGroupsSetNamedPortsRequest = 0; | 3165 core.int buildCounterInstanceGroupsSetNamedPortsRequest = 0; |
| 3162 buildInstanceGroupsSetNamedPortsRequest() { | 3166 buildInstanceGroupsSetNamedPortsRequest() { |
| 3163 var o = new api.InstanceGroupsSetNamedPortsRequest(); | 3167 var o = new api.InstanceGroupsSetNamedPortsRequest(); |
| 3164 buildCounterInstanceGroupsSetNamedPortsRequest++; | 3168 buildCounterInstanceGroupsSetNamedPortsRequest++; |
| 3165 if (buildCounterInstanceGroupsSetNamedPortsRequest < 3) { | 3169 if (buildCounterInstanceGroupsSetNamedPortsRequest < 3) { |
| 3166 o.fingerprint = "foo"; | 3170 o.fingerprint = "foo"; |
| 3167 o.namedPorts = buildUnnamed2335(); | 3171 o.namedPorts = buildUnnamed785(); |
| 3168 } | 3172 } |
| 3169 buildCounterInstanceGroupsSetNamedPortsRequest--; | 3173 buildCounterInstanceGroupsSetNamedPortsRequest--; |
| 3170 return o; | 3174 return o; |
| 3171 } | 3175 } |
| 3172 | 3176 |
| 3173 checkInstanceGroupsSetNamedPortsRequest(api.InstanceGroupsSetNamedPortsRequest o
) { | 3177 checkInstanceGroupsSetNamedPortsRequest(api.InstanceGroupsSetNamedPortsRequest o
) { |
| 3174 buildCounterInstanceGroupsSetNamedPortsRequest++; | 3178 buildCounterInstanceGroupsSetNamedPortsRequest++; |
| 3175 if (buildCounterInstanceGroupsSetNamedPortsRequest < 3) { | 3179 if (buildCounterInstanceGroupsSetNamedPortsRequest < 3) { |
| 3176 unittest.expect(o.fingerprint, unittest.equals('foo')); | 3180 unittest.expect(o.fingerprint, unittest.equals('foo')); |
| 3177 checkUnnamed2335(o.namedPorts); | 3181 checkUnnamed785(o.namedPorts); |
| 3178 } | 3182 } |
| 3179 buildCounterInstanceGroupsSetNamedPortsRequest--; | 3183 buildCounterInstanceGroupsSetNamedPortsRequest--; |
| 3180 } | 3184 } |
| 3181 | 3185 |
| 3182 buildUnnamed2336() { | 3186 buildUnnamed786() { |
| 3183 var o = new core.List<api.Instance>(); | 3187 var o = new core.List<api.Instance>(); |
| 3184 o.add(buildInstance()); | 3188 o.add(buildInstance()); |
| 3185 o.add(buildInstance()); | 3189 o.add(buildInstance()); |
| 3186 return o; | 3190 return o; |
| 3187 } | 3191 } |
| 3188 | 3192 |
| 3189 checkUnnamed2336(core.List<api.Instance> o) { | 3193 checkUnnamed786(core.List<api.Instance> o) { |
| 3190 unittest.expect(o, unittest.hasLength(2)); | 3194 unittest.expect(o, unittest.hasLength(2)); |
| 3191 checkInstance(o[0]); | 3195 checkInstance(o[0]); |
| 3192 checkInstance(o[1]); | 3196 checkInstance(o[1]); |
| 3193 } | 3197 } |
| 3194 | 3198 |
| 3195 core.int buildCounterInstanceList = 0; | 3199 core.int buildCounterInstanceList = 0; |
| 3196 buildInstanceList() { | 3200 buildInstanceList() { |
| 3197 var o = new api.InstanceList(); | 3201 var o = new api.InstanceList(); |
| 3198 buildCounterInstanceList++; | 3202 buildCounterInstanceList++; |
| 3199 if (buildCounterInstanceList < 3) { | 3203 if (buildCounterInstanceList < 3) { |
| 3200 o.id = "foo"; | 3204 o.id = "foo"; |
| 3201 o.items = buildUnnamed2336(); | 3205 o.items = buildUnnamed786(); |
| 3202 o.kind = "foo"; | 3206 o.kind = "foo"; |
| 3203 o.nextPageToken = "foo"; | 3207 o.nextPageToken = "foo"; |
| 3204 o.selfLink = "foo"; | 3208 o.selfLink = "foo"; |
| 3205 } | 3209 } |
| 3206 buildCounterInstanceList--; | 3210 buildCounterInstanceList--; |
| 3207 return o; | 3211 return o; |
| 3208 } | 3212 } |
| 3209 | 3213 |
| 3210 checkInstanceList(api.InstanceList o) { | 3214 checkInstanceList(api.InstanceList o) { |
| 3211 buildCounterInstanceList++; | 3215 buildCounterInstanceList++; |
| 3212 if (buildCounterInstanceList < 3) { | 3216 if (buildCounterInstanceList < 3) { |
| 3213 unittest.expect(o.id, unittest.equals('foo')); | 3217 unittest.expect(o.id, unittest.equals('foo')); |
| 3214 checkUnnamed2336(o.items); | 3218 checkUnnamed786(o.items); |
| 3215 unittest.expect(o.kind, unittest.equals('foo')); | 3219 unittest.expect(o.kind, unittest.equals('foo')); |
| 3216 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3220 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3217 unittest.expect(o.selfLink, unittest.equals('foo')); | 3221 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 3218 } | 3222 } |
| 3219 buildCounterInstanceList--; | 3223 buildCounterInstanceList--; |
| 3220 } | 3224 } |
| 3221 | 3225 |
| 3222 core.int buildCounterInstanceMoveRequest = 0; | 3226 core.int buildCounterInstanceMoveRequest = 0; |
| 3223 buildInstanceMoveRequest() { | 3227 buildInstanceMoveRequest() { |
| 3224 var o = new api.InstanceMoveRequest(); | 3228 var o = new api.InstanceMoveRequest(); |
| 3225 buildCounterInstanceMoveRequest++; | 3229 buildCounterInstanceMoveRequest++; |
| 3226 if (buildCounterInstanceMoveRequest < 3) { | 3230 if (buildCounterInstanceMoveRequest < 3) { |
| 3227 o.destinationZone = "foo"; | 3231 o.destinationZone = "foo"; |
| 3228 o.targetInstance = "foo"; | 3232 o.targetInstance = "foo"; |
| 3229 } | 3233 } |
| 3230 buildCounterInstanceMoveRequest--; | 3234 buildCounterInstanceMoveRequest--; |
| 3231 return o; | 3235 return o; |
| 3232 } | 3236 } |
| 3233 | 3237 |
| 3234 checkInstanceMoveRequest(api.InstanceMoveRequest o) { | 3238 checkInstanceMoveRequest(api.InstanceMoveRequest o) { |
| 3235 buildCounterInstanceMoveRequest++; | 3239 buildCounterInstanceMoveRequest++; |
| 3236 if (buildCounterInstanceMoveRequest < 3) { | 3240 if (buildCounterInstanceMoveRequest < 3) { |
| 3237 unittest.expect(o.destinationZone, unittest.equals('foo')); | 3241 unittest.expect(o.destinationZone, unittest.equals('foo')); |
| 3238 unittest.expect(o.targetInstance, unittest.equals('foo')); | 3242 unittest.expect(o.targetInstance, unittest.equals('foo')); |
| 3239 } | 3243 } |
| 3240 buildCounterInstanceMoveRequest--; | 3244 buildCounterInstanceMoveRequest--; |
| 3241 } | 3245 } |
| 3242 | 3246 |
| 3243 buildUnnamed2337() { | 3247 buildUnnamed787() { |
| 3244 var o = new core.List<api.AttachedDisk>(); | 3248 var o = new core.List<api.AttachedDisk>(); |
| 3245 o.add(buildAttachedDisk()); | 3249 o.add(buildAttachedDisk()); |
| 3246 o.add(buildAttachedDisk()); | 3250 o.add(buildAttachedDisk()); |
| 3247 return o; | 3251 return o; |
| 3248 } | 3252 } |
| 3249 | 3253 |
| 3250 checkUnnamed2337(core.List<api.AttachedDisk> o) { | 3254 checkUnnamed787(core.List<api.AttachedDisk> o) { |
| 3251 unittest.expect(o, unittest.hasLength(2)); | 3255 unittest.expect(o, unittest.hasLength(2)); |
| 3252 checkAttachedDisk(o[0]); | 3256 checkAttachedDisk(o[0]); |
| 3253 checkAttachedDisk(o[1]); | 3257 checkAttachedDisk(o[1]); |
| 3254 } | 3258 } |
| 3255 | 3259 |
| 3256 buildUnnamed2338() { | 3260 buildUnnamed788() { |
| 3257 var o = new core.List<api.NetworkInterface>(); | 3261 var o = new core.List<api.NetworkInterface>(); |
| 3258 o.add(buildNetworkInterface()); | 3262 o.add(buildNetworkInterface()); |
| 3259 o.add(buildNetworkInterface()); | 3263 o.add(buildNetworkInterface()); |
| 3260 return o; | 3264 return o; |
| 3261 } | 3265 } |
| 3262 | 3266 |
| 3263 checkUnnamed2338(core.List<api.NetworkInterface> o) { | 3267 checkUnnamed788(core.List<api.NetworkInterface> o) { |
| 3264 unittest.expect(o, unittest.hasLength(2)); | 3268 unittest.expect(o, unittest.hasLength(2)); |
| 3265 checkNetworkInterface(o[0]); | 3269 checkNetworkInterface(o[0]); |
| 3266 checkNetworkInterface(o[1]); | 3270 checkNetworkInterface(o[1]); |
| 3267 } | 3271 } |
| 3268 | 3272 |
| 3269 buildUnnamed2339() { | 3273 buildUnnamed789() { |
| 3270 var o = new core.List<api.ServiceAccount>(); | 3274 var o = new core.List<api.ServiceAccount>(); |
| 3271 o.add(buildServiceAccount()); | 3275 o.add(buildServiceAccount()); |
| 3272 o.add(buildServiceAccount()); | 3276 o.add(buildServiceAccount()); |
| 3273 return o; | 3277 return o; |
| 3274 } | 3278 } |
| 3275 | 3279 |
| 3276 checkUnnamed2339(core.List<api.ServiceAccount> o) { | 3280 checkUnnamed789(core.List<api.ServiceAccount> o) { |
| 3277 unittest.expect(o, unittest.hasLength(2)); | 3281 unittest.expect(o, unittest.hasLength(2)); |
| 3278 checkServiceAccount(o[0]); | 3282 checkServiceAccount(o[0]); |
| 3279 checkServiceAccount(o[1]); | 3283 checkServiceAccount(o[1]); |
| 3280 } | 3284 } |
| 3281 | 3285 |
| 3282 core.int buildCounterInstanceProperties = 0; | 3286 core.int buildCounterInstanceProperties = 0; |
| 3283 buildInstanceProperties() { | 3287 buildInstanceProperties() { |
| 3284 var o = new api.InstanceProperties(); | 3288 var o = new api.InstanceProperties(); |
| 3285 buildCounterInstanceProperties++; | 3289 buildCounterInstanceProperties++; |
| 3286 if (buildCounterInstanceProperties < 3) { | 3290 if (buildCounterInstanceProperties < 3) { |
| 3287 o.canIpForward = true; | 3291 o.canIpForward = true; |
| 3288 o.description = "foo"; | 3292 o.description = "foo"; |
| 3289 o.disks = buildUnnamed2337(); | 3293 o.disks = buildUnnamed787(); |
| 3290 o.machineType = "foo"; | 3294 o.machineType = "foo"; |
| 3291 o.metadata = buildMetadata(); | 3295 o.metadata = buildMetadata(); |
| 3292 o.networkInterfaces = buildUnnamed2338(); | 3296 o.networkInterfaces = buildUnnamed788(); |
| 3293 o.scheduling = buildScheduling(); | 3297 o.scheduling = buildScheduling(); |
| 3294 o.serviceAccounts = buildUnnamed2339(); | 3298 o.serviceAccounts = buildUnnamed789(); |
| 3295 o.tags = buildTags(); | 3299 o.tags = buildTags(); |
| 3296 } | 3300 } |
| 3297 buildCounterInstanceProperties--; | 3301 buildCounterInstanceProperties--; |
| 3298 return o; | 3302 return o; |
| 3299 } | 3303 } |
| 3300 | 3304 |
| 3301 checkInstanceProperties(api.InstanceProperties o) { | 3305 checkInstanceProperties(api.InstanceProperties o) { |
| 3302 buildCounterInstanceProperties++; | 3306 buildCounterInstanceProperties++; |
| 3303 if (buildCounterInstanceProperties < 3) { | 3307 if (buildCounterInstanceProperties < 3) { |
| 3304 unittest.expect(o.canIpForward, unittest.isTrue); | 3308 unittest.expect(o.canIpForward, unittest.isTrue); |
| 3305 unittest.expect(o.description, unittest.equals('foo')); | 3309 unittest.expect(o.description, unittest.equals('foo')); |
| 3306 checkUnnamed2337(o.disks); | 3310 checkUnnamed787(o.disks); |
| 3307 unittest.expect(o.machineType, unittest.equals('foo')); | 3311 unittest.expect(o.machineType, unittest.equals('foo')); |
| 3308 checkMetadata(o.metadata); | 3312 checkMetadata(o.metadata); |
| 3309 checkUnnamed2338(o.networkInterfaces); | 3313 checkUnnamed788(o.networkInterfaces); |
| 3310 checkScheduling(o.scheduling); | 3314 checkScheduling(o.scheduling); |
| 3311 checkUnnamed2339(o.serviceAccounts); | 3315 checkUnnamed789(o.serviceAccounts); |
| 3312 checkTags(o.tags); | 3316 checkTags(o.tags); |
| 3313 } | 3317 } |
| 3314 buildCounterInstanceProperties--; | 3318 buildCounterInstanceProperties--; |
| 3315 } | 3319 } |
| 3316 | 3320 |
| 3317 core.int buildCounterInstanceReference = 0; | 3321 core.int buildCounterInstanceReference = 0; |
| 3318 buildInstanceReference() { | 3322 buildInstanceReference() { |
| 3319 var o = new api.InstanceReference(); | 3323 var o = new api.InstanceReference(); |
| 3320 buildCounterInstanceReference++; | 3324 buildCounterInstanceReference++; |
| 3321 if (buildCounterInstanceReference < 3) { | 3325 if (buildCounterInstanceReference < 3) { |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3357 unittest.expect(o.description, unittest.equals('foo')); | 3361 unittest.expect(o.description, unittest.equals('foo')); |
| 3358 unittest.expect(o.id, unittest.equals('foo')); | 3362 unittest.expect(o.id, unittest.equals('foo')); |
| 3359 unittest.expect(o.kind, unittest.equals('foo')); | 3363 unittest.expect(o.kind, unittest.equals('foo')); |
| 3360 unittest.expect(o.name, unittest.equals('foo')); | 3364 unittest.expect(o.name, unittest.equals('foo')); |
| 3361 checkInstanceProperties(o.properties); | 3365 checkInstanceProperties(o.properties); |
| 3362 unittest.expect(o.selfLink, unittest.equals('foo')); | 3366 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 3363 } | 3367 } |
| 3364 buildCounterInstanceTemplate--; | 3368 buildCounterInstanceTemplate--; |
| 3365 } | 3369 } |
| 3366 | 3370 |
| 3367 buildUnnamed2340() { | 3371 buildUnnamed790() { |
| 3368 var o = new core.List<api.InstanceTemplate>(); | 3372 var o = new core.List<api.InstanceTemplate>(); |
| 3369 o.add(buildInstanceTemplate()); | 3373 o.add(buildInstanceTemplate()); |
| 3370 o.add(buildInstanceTemplate()); | 3374 o.add(buildInstanceTemplate()); |
| 3371 return o; | 3375 return o; |
| 3372 } | 3376 } |
| 3373 | 3377 |
| 3374 checkUnnamed2340(core.List<api.InstanceTemplate> o) { | 3378 checkUnnamed790(core.List<api.InstanceTemplate> o) { |
| 3375 unittest.expect(o, unittest.hasLength(2)); | 3379 unittest.expect(o, unittest.hasLength(2)); |
| 3376 checkInstanceTemplate(o[0]); | 3380 checkInstanceTemplate(o[0]); |
| 3377 checkInstanceTemplate(o[1]); | 3381 checkInstanceTemplate(o[1]); |
| 3378 } | 3382 } |
| 3379 | 3383 |
| 3380 core.int buildCounterInstanceTemplateList = 0; | 3384 core.int buildCounterInstanceTemplateList = 0; |
| 3381 buildInstanceTemplateList() { | 3385 buildInstanceTemplateList() { |
| 3382 var o = new api.InstanceTemplateList(); | 3386 var o = new api.InstanceTemplateList(); |
| 3383 buildCounterInstanceTemplateList++; | 3387 buildCounterInstanceTemplateList++; |
| 3384 if (buildCounterInstanceTemplateList < 3) { | 3388 if (buildCounterInstanceTemplateList < 3) { |
| 3385 o.id = "foo"; | 3389 o.id = "foo"; |
| 3386 o.items = buildUnnamed2340(); | 3390 o.items = buildUnnamed790(); |
| 3387 o.kind = "foo"; | 3391 o.kind = "foo"; |
| 3388 o.nextPageToken = "foo"; | 3392 o.nextPageToken = "foo"; |
| 3389 o.selfLink = "foo"; | 3393 o.selfLink = "foo"; |
| 3390 } | 3394 } |
| 3391 buildCounterInstanceTemplateList--; | 3395 buildCounterInstanceTemplateList--; |
| 3392 return o; | 3396 return o; |
| 3393 } | 3397 } |
| 3394 | 3398 |
| 3395 checkInstanceTemplateList(api.InstanceTemplateList o) { | 3399 checkInstanceTemplateList(api.InstanceTemplateList o) { |
| 3396 buildCounterInstanceTemplateList++; | 3400 buildCounterInstanceTemplateList++; |
| 3397 if (buildCounterInstanceTemplateList < 3) { | 3401 if (buildCounterInstanceTemplateList < 3) { |
| 3398 unittest.expect(o.id, unittest.equals('foo')); | 3402 unittest.expect(o.id, unittest.equals('foo')); |
| 3399 checkUnnamed2340(o.items); | 3403 checkUnnamed790(o.items); |
| 3400 unittest.expect(o.kind, unittest.equals('foo')); | 3404 unittest.expect(o.kind, unittest.equals('foo')); |
| 3401 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3405 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3402 unittest.expect(o.selfLink, unittest.equals('foo')); | 3406 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 3403 } | 3407 } |
| 3404 buildCounterInstanceTemplateList--; | 3408 buildCounterInstanceTemplateList--; |
| 3405 } | 3409 } |
| 3406 | 3410 |
| 3407 buildUnnamed2341() { | 3411 buildUnnamed791() { |
| 3408 var o = new core.List<api.NamedPort>(); | 3412 var o = new core.List<api.NamedPort>(); |
| 3409 o.add(buildNamedPort()); | 3413 o.add(buildNamedPort()); |
| 3410 o.add(buildNamedPort()); | 3414 o.add(buildNamedPort()); |
| 3411 return o; | 3415 return o; |
| 3412 } | 3416 } |
| 3413 | 3417 |
| 3414 checkUnnamed2341(core.List<api.NamedPort> o) { | 3418 checkUnnamed791(core.List<api.NamedPort> o) { |
| 3415 unittest.expect(o, unittest.hasLength(2)); | 3419 unittest.expect(o, unittest.hasLength(2)); |
| 3416 checkNamedPort(o[0]); | 3420 checkNamedPort(o[0]); |
| 3417 checkNamedPort(o[1]); | 3421 checkNamedPort(o[1]); |
| 3418 } | 3422 } |
| 3419 | 3423 |
| 3420 core.int buildCounterInstanceWithNamedPorts = 0; | 3424 core.int buildCounterInstanceWithNamedPorts = 0; |
| 3421 buildInstanceWithNamedPorts() { | 3425 buildInstanceWithNamedPorts() { |
| 3422 var o = new api.InstanceWithNamedPorts(); | 3426 var o = new api.InstanceWithNamedPorts(); |
| 3423 buildCounterInstanceWithNamedPorts++; | 3427 buildCounterInstanceWithNamedPorts++; |
| 3424 if (buildCounterInstanceWithNamedPorts < 3) { | 3428 if (buildCounterInstanceWithNamedPorts < 3) { |
| 3425 o.instance = "foo"; | 3429 o.instance = "foo"; |
| 3426 o.namedPorts = buildUnnamed2341(); | 3430 o.namedPorts = buildUnnamed791(); |
| 3427 o.status = "foo"; | 3431 o.status = "foo"; |
| 3428 } | 3432 } |
| 3429 buildCounterInstanceWithNamedPorts--; | 3433 buildCounterInstanceWithNamedPorts--; |
| 3430 return o; | 3434 return o; |
| 3431 } | 3435 } |
| 3432 | 3436 |
| 3433 checkInstanceWithNamedPorts(api.InstanceWithNamedPorts o) { | 3437 checkInstanceWithNamedPorts(api.InstanceWithNamedPorts o) { |
| 3434 buildCounterInstanceWithNamedPorts++; | 3438 buildCounterInstanceWithNamedPorts++; |
| 3435 if (buildCounterInstanceWithNamedPorts < 3) { | 3439 if (buildCounterInstanceWithNamedPorts < 3) { |
| 3436 unittest.expect(o.instance, unittest.equals('foo')); | 3440 unittest.expect(o.instance, unittest.equals('foo')); |
| 3437 checkUnnamed2341(o.namedPorts); | 3441 checkUnnamed791(o.namedPorts); |
| 3438 unittest.expect(o.status, unittest.equals('foo')); | 3442 unittest.expect(o.status, unittest.equals('foo')); |
| 3439 } | 3443 } |
| 3440 buildCounterInstanceWithNamedPorts--; | 3444 buildCounterInstanceWithNamedPorts--; |
| 3441 } | 3445 } |
| 3442 | 3446 |
| 3443 buildUnnamed2342() { | 3447 buildUnnamed792() { |
| 3444 var o = new core.List<api.Instance>(); | 3448 var o = new core.List<api.Instance>(); |
| 3445 o.add(buildInstance()); | 3449 o.add(buildInstance()); |
| 3446 o.add(buildInstance()); | 3450 o.add(buildInstance()); |
| 3447 return o; | 3451 return o; |
| 3448 } | 3452 } |
| 3449 | 3453 |
| 3450 checkUnnamed2342(core.List<api.Instance> o) { | 3454 checkUnnamed792(core.List<api.Instance> o) { |
| 3451 unittest.expect(o, unittest.hasLength(2)); | 3455 unittest.expect(o, unittest.hasLength(2)); |
| 3452 checkInstance(o[0]); | 3456 checkInstance(o[0]); |
| 3453 checkInstance(o[1]); | 3457 checkInstance(o[1]); |
| 3454 } | 3458 } |
| 3455 | 3459 |
| 3456 core.int buildCounterInstancesScopedListWarningData = 0; | 3460 core.int buildCounterInstancesScopedListWarningData = 0; |
| 3457 buildInstancesScopedListWarningData() { | 3461 buildInstancesScopedListWarningData() { |
| 3458 var o = new api.InstancesScopedListWarningData(); | 3462 var o = new api.InstancesScopedListWarningData(); |
| 3459 buildCounterInstancesScopedListWarningData++; | 3463 buildCounterInstancesScopedListWarningData++; |
| 3460 if (buildCounterInstancesScopedListWarningData < 3) { | 3464 if (buildCounterInstancesScopedListWarningData < 3) { |
| 3461 o.key = "foo"; | 3465 o.key = "foo"; |
| 3462 o.value = "foo"; | 3466 o.value = "foo"; |
| 3463 } | 3467 } |
| 3464 buildCounterInstancesScopedListWarningData--; | 3468 buildCounterInstancesScopedListWarningData--; |
| 3465 return o; | 3469 return o; |
| 3466 } | 3470 } |
| 3467 | 3471 |
| 3468 checkInstancesScopedListWarningData(api.InstancesScopedListWarningData o) { | 3472 checkInstancesScopedListWarningData(api.InstancesScopedListWarningData o) { |
| 3469 buildCounterInstancesScopedListWarningData++; | 3473 buildCounterInstancesScopedListWarningData++; |
| 3470 if (buildCounterInstancesScopedListWarningData < 3) { | 3474 if (buildCounterInstancesScopedListWarningData < 3) { |
| 3471 unittest.expect(o.key, unittest.equals('foo')); | 3475 unittest.expect(o.key, unittest.equals('foo')); |
| 3472 unittest.expect(o.value, unittest.equals('foo')); | 3476 unittest.expect(o.value, unittest.equals('foo')); |
| 3473 } | 3477 } |
| 3474 buildCounterInstancesScopedListWarningData--; | 3478 buildCounterInstancesScopedListWarningData--; |
| 3475 } | 3479 } |
| 3476 | 3480 |
| 3477 buildUnnamed2343() { | 3481 buildUnnamed793() { |
| 3478 var o = new core.List<api.InstancesScopedListWarningData>(); | 3482 var o = new core.List<api.InstancesScopedListWarningData>(); |
| 3479 o.add(buildInstancesScopedListWarningData()); | 3483 o.add(buildInstancesScopedListWarningData()); |
| 3480 o.add(buildInstancesScopedListWarningData()); | 3484 o.add(buildInstancesScopedListWarningData()); |
| 3481 return o; | 3485 return o; |
| 3482 } | 3486 } |
| 3483 | 3487 |
| 3484 checkUnnamed2343(core.List<api.InstancesScopedListWarningData> o) { | 3488 checkUnnamed793(core.List<api.InstancesScopedListWarningData> o) { |
| 3485 unittest.expect(o, unittest.hasLength(2)); | 3489 unittest.expect(o, unittest.hasLength(2)); |
| 3486 checkInstancesScopedListWarningData(o[0]); | 3490 checkInstancesScopedListWarningData(o[0]); |
| 3487 checkInstancesScopedListWarningData(o[1]); | 3491 checkInstancesScopedListWarningData(o[1]); |
| 3488 } | 3492 } |
| 3489 | 3493 |
| 3490 core.int buildCounterInstancesScopedListWarning = 0; | 3494 core.int buildCounterInstancesScopedListWarning = 0; |
| 3491 buildInstancesScopedListWarning() { | 3495 buildInstancesScopedListWarning() { |
| 3492 var o = new api.InstancesScopedListWarning(); | 3496 var o = new api.InstancesScopedListWarning(); |
| 3493 buildCounterInstancesScopedListWarning++; | 3497 buildCounterInstancesScopedListWarning++; |
| 3494 if (buildCounterInstancesScopedListWarning < 3) { | 3498 if (buildCounterInstancesScopedListWarning < 3) { |
| 3495 o.code = "foo"; | 3499 o.code = "foo"; |
| 3496 o.data = buildUnnamed2343(); | 3500 o.data = buildUnnamed793(); |
| 3497 o.message = "foo"; | 3501 o.message = "foo"; |
| 3498 } | 3502 } |
| 3499 buildCounterInstancesScopedListWarning--; | 3503 buildCounterInstancesScopedListWarning--; |
| 3500 return o; | 3504 return o; |
| 3501 } | 3505 } |
| 3502 | 3506 |
| 3503 checkInstancesScopedListWarning(api.InstancesScopedListWarning o) { | 3507 checkInstancesScopedListWarning(api.InstancesScopedListWarning o) { |
| 3504 buildCounterInstancesScopedListWarning++; | 3508 buildCounterInstancesScopedListWarning++; |
| 3505 if (buildCounterInstancesScopedListWarning < 3) { | 3509 if (buildCounterInstancesScopedListWarning < 3) { |
| 3506 unittest.expect(o.code, unittest.equals('foo')); | 3510 unittest.expect(o.code, unittest.equals('foo')); |
| 3507 checkUnnamed2343(o.data); | 3511 checkUnnamed793(o.data); |
| 3508 unittest.expect(o.message, unittest.equals('foo')); | 3512 unittest.expect(o.message, unittest.equals('foo')); |
| 3509 } | 3513 } |
| 3510 buildCounterInstancesScopedListWarning--; | 3514 buildCounterInstancesScopedListWarning--; |
| 3511 } | 3515 } |
| 3512 | 3516 |
| 3513 core.int buildCounterInstancesScopedList = 0; | 3517 core.int buildCounterInstancesScopedList = 0; |
| 3514 buildInstancesScopedList() { | 3518 buildInstancesScopedList() { |
| 3515 var o = new api.InstancesScopedList(); | 3519 var o = new api.InstancesScopedList(); |
| 3516 buildCounterInstancesScopedList++; | 3520 buildCounterInstancesScopedList++; |
| 3517 if (buildCounterInstancesScopedList < 3) { | 3521 if (buildCounterInstancesScopedList < 3) { |
| 3518 o.instances = buildUnnamed2342(); | 3522 o.instances = buildUnnamed792(); |
| 3519 o.warning = buildInstancesScopedListWarning(); | 3523 o.warning = buildInstancesScopedListWarning(); |
| 3520 } | 3524 } |
| 3521 buildCounterInstancesScopedList--; | 3525 buildCounterInstancesScopedList--; |
| 3522 return o; | 3526 return o; |
| 3523 } | 3527 } |
| 3524 | 3528 |
| 3525 checkInstancesScopedList(api.InstancesScopedList o) { | 3529 checkInstancesScopedList(api.InstancesScopedList o) { |
| 3526 buildCounterInstancesScopedList++; | 3530 buildCounterInstancesScopedList++; |
| 3527 if (buildCounterInstancesScopedList < 3) { | 3531 if (buildCounterInstancesScopedList < 3) { |
| 3528 checkUnnamed2342(o.instances); | 3532 checkUnnamed792(o.instances); |
| 3529 checkInstancesScopedListWarning(o.warning); | 3533 checkInstancesScopedListWarning(o.warning); |
| 3530 } | 3534 } |
| 3531 buildCounterInstancesScopedList--; | 3535 buildCounterInstancesScopedList--; |
| 3532 } | 3536 } |
| 3533 | 3537 |
| 3534 core.int buildCounterInstancesSetMachineTypeRequest = 0; | 3538 core.int buildCounterInstancesSetMachineTypeRequest = 0; |
| 3535 buildInstancesSetMachineTypeRequest() { | 3539 buildInstancesSetMachineTypeRequest() { |
| 3536 var o = new api.InstancesSetMachineTypeRequest(); | 3540 var o = new api.InstancesSetMachineTypeRequest(); |
| 3537 buildCounterInstancesSetMachineTypeRequest++; | 3541 buildCounterInstancesSetMachineTypeRequest++; |
| 3538 if (buildCounterInstancesSetMachineTypeRequest < 3) { | 3542 if (buildCounterInstancesSetMachineTypeRequest < 3) { |
| 3539 o.machineType = "foo"; | 3543 o.machineType = "foo"; |
| 3540 } | 3544 } |
| 3541 buildCounterInstancesSetMachineTypeRequest--; | 3545 buildCounterInstancesSetMachineTypeRequest--; |
| 3542 return o; | 3546 return o; |
| 3543 } | 3547 } |
| 3544 | 3548 |
| 3545 checkInstancesSetMachineTypeRequest(api.InstancesSetMachineTypeRequest o) { | 3549 checkInstancesSetMachineTypeRequest(api.InstancesSetMachineTypeRequest o) { |
| 3546 buildCounterInstancesSetMachineTypeRequest++; | 3550 buildCounterInstancesSetMachineTypeRequest++; |
| 3547 if (buildCounterInstancesSetMachineTypeRequest < 3) { | 3551 if (buildCounterInstancesSetMachineTypeRequest < 3) { |
| 3548 unittest.expect(o.machineType, unittest.equals('foo')); | 3552 unittest.expect(o.machineType, unittest.equals('foo')); |
| 3549 } | 3553 } |
| 3550 buildCounterInstancesSetMachineTypeRequest--; | 3554 buildCounterInstancesSetMachineTypeRequest--; |
| 3551 } | 3555 } |
| 3552 | 3556 |
| 3553 buildUnnamed2344() { | 3557 buildUnnamed794() { |
| 3554 var o = new core.List<api.CustomerEncryptionKeyProtectedDisk>(); | 3558 var o = new core.List<api.CustomerEncryptionKeyProtectedDisk>(); |
| 3555 o.add(buildCustomerEncryptionKeyProtectedDisk()); | 3559 o.add(buildCustomerEncryptionKeyProtectedDisk()); |
| 3556 o.add(buildCustomerEncryptionKeyProtectedDisk()); | 3560 o.add(buildCustomerEncryptionKeyProtectedDisk()); |
| 3557 return o; | 3561 return o; |
| 3558 } | 3562 } |
| 3559 | 3563 |
| 3560 checkUnnamed2344(core.List<api.CustomerEncryptionKeyProtectedDisk> o) { | 3564 checkUnnamed794(core.List<api.CustomerEncryptionKeyProtectedDisk> o) { |
| 3561 unittest.expect(o, unittest.hasLength(2)); | 3565 unittest.expect(o, unittest.hasLength(2)); |
| 3562 checkCustomerEncryptionKeyProtectedDisk(o[0]); | 3566 checkCustomerEncryptionKeyProtectedDisk(o[0]); |
| 3563 checkCustomerEncryptionKeyProtectedDisk(o[1]); | 3567 checkCustomerEncryptionKeyProtectedDisk(o[1]); |
| 3564 } | 3568 } |
| 3565 | 3569 |
| 3566 core.int buildCounterInstancesStartWithEncryptionKeyRequest = 0; | 3570 core.int buildCounterInstancesStartWithEncryptionKeyRequest = 0; |
| 3567 buildInstancesStartWithEncryptionKeyRequest() { | 3571 buildInstancesStartWithEncryptionKeyRequest() { |
| 3568 var o = new api.InstancesStartWithEncryptionKeyRequest(); | 3572 var o = new api.InstancesStartWithEncryptionKeyRequest(); |
| 3569 buildCounterInstancesStartWithEncryptionKeyRequest++; | 3573 buildCounterInstancesStartWithEncryptionKeyRequest++; |
| 3570 if (buildCounterInstancesStartWithEncryptionKeyRequest < 3) { | 3574 if (buildCounterInstancesStartWithEncryptionKeyRequest < 3) { |
| 3571 o.disks = buildUnnamed2344(); | 3575 o.disks = buildUnnamed794(); |
| 3572 } | 3576 } |
| 3573 buildCounterInstancesStartWithEncryptionKeyRequest--; | 3577 buildCounterInstancesStartWithEncryptionKeyRequest--; |
| 3574 return o; | 3578 return o; |
| 3575 } | 3579 } |
| 3576 | 3580 |
| 3577 checkInstancesStartWithEncryptionKeyRequest(api.InstancesStartWithEncryptionKeyR
equest o) { | 3581 checkInstancesStartWithEncryptionKeyRequest(api.InstancesStartWithEncryptionKeyR
equest o) { |
| 3578 buildCounterInstancesStartWithEncryptionKeyRequest++; | 3582 buildCounterInstancesStartWithEncryptionKeyRequest++; |
| 3579 if (buildCounterInstancesStartWithEncryptionKeyRequest < 3) { | 3583 if (buildCounterInstancesStartWithEncryptionKeyRequest < 3) { |
| 3580 checkUnnamed2344(o.disks); | 3584 checkUnnamed794(o.disks); |
| 3581 } | 3585 } |
| 3582 buildCounterInstancesStartWithEncryptionKeyRequest--; | 3586 buildCounterInstancesStartWithEncryptionKeyRequest--; |
| 3583 } | 3587 } |
| 3584 | 3588 |
| 3585 core.int buildCounterLicense = 0; | 3589 core.int buildCounterLicense = 0; |
| 3586 buildLicense() { | 3590 buildLicense() { |
| 3587 var o = new api.License(); | 3591 var o = new api.License(); |
| 3588 buildCounterLicense++; | 3592 buildCounterLicense++; |
| 3589 if (buildCounterLicense < 3) { | 3593 if (buildCounterLicense < 3) { |
| 3590 o.chargesUseFee = true; | 3594 o.chargesUseFee = true; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 3619 } | 3623 } |
| 3620 | 3624 |
| 3621 checkMachineTypeScratchDisks(api.MachineTypeScratchDisks o) { | 3625 checkMachineTypeScratchDisks(api.MachineTypeScratchDisks o) { |
| 3622 buildCounterMachineTypeScratchDisks++; | 3626 buildCounterMachineTypeScratchDisks++; |
| 3623 if (buildCounterMachineTypeScratchDisks < 3) { | 3627 if (buildCounterMachineTypeScratchDisks < 3) { |
| 3624 unittest.expect(o.diskGb, unittest.equals(42)); | 3628 unittest.expect(o.diskGb, unittest.equals(42)); |
| 3625 } | 3629 } |
| 3626 buildCounterMachineTypeScratchDisks--; | 3630 buildCounterMachineTypeScratchDisks--; |
| 3627 } | 3631 } |
| 3628 | 3632 |
| 3629 buildUnnamed2345() { | 3633 buildUnnamed795() { |
| 3630 var o = new core.List<api.MachineTypeScratchDisks>(); | 3634 var o = new core.List<api.MachineTypeScratchDisks>(); |
| 3631 o.add(buildMachineTypeScratchDisks()); | 3635 o.add(buildMachineTypeScratchDisks()); |
| 3632 o.add(buildMachineTypeScratchDisks()); | 3636 o.add(buildMachineTypeScratchDisks()); |
| 3633 return o; | 3637 return o; |
| 3634 } | 3638 } |
| 3635 | 3639 |
| 3636 checkUnnamed2345(core.List<api.MachineTypeScratchDisks> o) { | 3640 checkUnnamed795(core.List<api.MachineTypeScratchDisks> o) { |
| 3637 unittest.expect(o, unittest.hasLength(2)); | 3641 unittest.expect(o, unittest.hasLength(2)); |
| 3638 checkMachineTypeScratchDisks(o[0]); | 3642 checkMachineTypeScratchDisks(o[0]); |
| 3639 checkMachineTypeScratchDisks(o[1]); | 3643 checkMachineTypeScratchDisks(o[1]); |
| 3640 } | 3644 } |
| 3641 | 3645 |
| 3642 core.int buildCounterMachineType = 0; | 3646 core.int buildCounterMachineType = 0; |
| 3643 buildMachineType() { | 3647 buildMachineType() { |
| 3644 var o = new api.MachineType(); | 3648 var o = new api.MachineType(); |
| 3645 buildCounterMachineType++; | 3649 buildCounterMachineType++; |
| 3646 if (buildCounterMachineType < 3) { | 3650 if (buildCounterMachineType < 3) { |
| 3647 o.creationTimestamp = "foo"; | 3651 o.creationTimestamp = "foo"; |
| 3648 o.deprecated = buildDeprecationStatus(); | 3652 o.deprecated = buildDeprecationStatus(); |
| 3649 o.description = "foo"; | 3653 o.description = "foo"; |
| 3650 o.guestCpus = 42; | 3654 o.guestCpus = 42; |
| 3651 o.id = "foo"; | 3655 o.id = "foo"; |
| 3652 o.imageSpaceGb = 42; | 3656 o.imageSpaceGb = 42; |
| 3653 o.isSharedCpu = true; | 3657 o.isSharedCpu = true; |
| 3654 o.kind = "foo"; | 3658 o.kind = "foo"; |
| 3655 o.maximumPersistentDisks = 42; | 3659 o.maximumPersistentDisks = 42; |
| 3656 o.maximumPersistentDisksSizeGb = "foo"; | 3660 o.maximumPersistentDisksSizeGb = "foo"; |
| 3657 o.memoryMb = 42; | 3661 o.memoryMb = 42; |
| 3658 o.name = "foo"; | 3662 o.name = "foo"; |
| 3659 o.scratchDisks = buildUnnamed2345(); | 3663 o.scratchDisks = buildUnnamed795(); |
| 3660 o.selfLink = "foo"; | 3664 o.selfLink = "foo"; |
| 3661 o.zone = "foo"; | 3665 o.zone = "foo"; |
| 3662 } | 3666 } |
| 3663 buildCounterMachineType--; | 3667 buildCounterMachineType--; |
| 3664 return o; | 3668 return o; |
| 3665 } | 3669 } |
| 3666 | 3670 |
| 3667 checkMachineType(api.MachineType o) { | 3671 checkMachineType(api.MachineType o) { |
| 3668 buildCounterMachineType++; | 3672 buildCounterMachineType++; |
| 3669 if (buildCounterMachineType < 3) { | 3673 if (buildCounterMachineType < 3) { |
| 3670 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 3674 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 3671 checkDeprecationStatus(o.deprecated); | 3675 checkDeprecationStatus(o.deprecated); |
| 3672 unittest.expect(o.description, unittest.equals('foo')); | 3676 unittest.expect(o.description, unittest.equals('foo')); |
| 3673 unittest.expect(o.guestCpus, unittest.equals(42)); | 3677 unittest.expect(o.guestCpus, unittest.equals(42)); |
| 3674 unittest.expect(o.id, unittest.equals('foo')); | 3678 unittest.expect(o.id, unittest.equals('foo')); |
| 3675 unittest.expect(o.imageSpaceGb, unittest.equals(42)); | 3679 unittest.expect(o.imageSpaceGb, unittest.equals(42)); |
| 3676 unittest.expect(o.isSharedCpu, unittest.isTrue); | 3680 unittest.expect(o.isSharedCpu, unittest.isTrue); |
| 3677 unittest.expect(o.kind, unittest.equals('foo')); | 3681 unittest.expect(o.kind, unittest.equals('foo')); |
| 3678 unittest.expect(o.maximumPersistentDisks, unittest.equals(42)); | 3682 unittest.expect(o.maximumPersistentDisks, unittest.equals(42)); |
| 3679 unittest.expect(o.maximumPersistentDisksSizeGb, unittest.equals('foo')); | 3683 unittest.expect(o.maximumPersistentDisksSizeGb, unittest.equals('foo')); |
| 3680 unittest.expect(o.memoryMb, unittest.equals(42)); | 3684 unittest.expect(o.memoryMb, unittest.equals(42)); |
| 3681 unittest.expect(o.name, unittest.equals('foo')); | 3685 unittest.expect(o.name, unittest.equals('foo')); |
| 3682 checkUnnamed2345(o.scratchDisks); | 3686 checkUnnamed795(o.scratchDisks); |
| 3683 unittest.expect(o.selfLink, unittest.equals('foo')); | 3687 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 3684 unittest.expect(o.zone, unittest.equals('foo')); | 3688 unittest.expect(o.zone, unittest.equals('foo')); |
| 3685 } | 3689 } |
| 3686 buildCounterMachineType--; | 3690 buildCounterMachineType--; |
| 3687 } | 3691 } |
| 3688 | 3692 |
| 3689 buildUnnamed2346() { | 3693 buildUnnamed796() { |
| 3690 var o = new core.Map<core.String, api.MachineTypesScopedList>(); | 3694 var o = new core.Map<core.String, api.MachineTypesScopedList>(); |
| 3691 o["x"] = buildMachineTypesScopedList(); | 3695 o["x"] = buildMachineTypesScopedList(); |
| 3692 o["y"] = buildMachineTypesScopedList(); | 3696 o["y"] = buildMachineTypesScopedList(); |
| 3693 return o; | 3697 return o; |
| 3694 } | 3698 } |
| 3695 | 3699 |
| 3696 checkUnnamed2346(core.Map<core.String, api.MachineTypesScopedList> o) { | 3700 checkUnnamed796(core.Map<core.String, api.MachineTypesScopedList> o) { |
| 3697 unittest.expect(o, unittest.hasLength(2)); | 3701 unittest.expect(o, unittest.hasLength(2)); |
| 3698 checkMachineTypesScopedList(o["x"]); | 3702 checkMachineTypesScopedList(o["x"]); |
| 3699 checkMachineTypesScopedList(o["y"]); | 3703 checkMachineTypesScopedList(o["y"]); |
| 3700 } | 3704 } |
| 3701 | 3705 |
| 3702 core.int buildCounterMachineTypeAggregatedList = 0; | 3706 core.int buildCounterMachineTypeAggregatedList = 0; |
| 3703 buildMachineTypeAggregatedList() { | 3707 buildMachineTypeAggregatedList() { |
| 3704 var o = new api.MachineTypeAggregatedList(); | 3708 var o = new api.MachineTypeAggregatedList(); |
| 3705 buildCounterMachineTypeAggregatedList++; | 3709 buildCounterMachineTypeAggregatedList++; |
| 3706 if (buildCounterMachineTypeAggregatedList < 3) { | 3710 if (buildCounterMachineTypeAggregatedList < 3) { |
| 3707 o.id = "foo"; | 3711 o.id = "foo"; |
| 3708 o.items = buildUnnamed2346(); | 3712 o.items = buildUnnamed796(); |
| 3709 o.kind = "foo"; | 3713 o.kind = "foo"; |
| 3710 o.nextPageToken = "foo"; | 3714 o.nextPageToken = "foo"; |
| 3711 o.selfLink = "foo"; | 3715 o.selfLink = "foo"; |
| 3712 } | 3716 } |
| 3713 buildCounterMachineTypeAggregatedList--; | 3717 buildCounterMachineTypeAggregatedList--; |
| 3714 return o; | 3718 return o; |
| 3715 } | 3719 } |
| 3716 | 3720 |
| 3717 checkMachineTypeAggregatedList(api.MachineTypeAggregatedList o) { | 3721 checkMachineTypeAggregatedList(api.MachineTypeAggregatedList o) { |
| 3718 buildCounterMachineTypeAggregatedList++; | 3722 buildCounterMachineTypeAggregatedList++; |
| 3719 if (buildCounterMachineTypeAggregatedList < 3) { | 3723 if (buildCounterMachineTypeAggregatedList < 3) { |
| 3720 unittest.expect(o.id, unittest.equals('foo')); | 3724 unittest.expect(o.id, unittest.equals('foo')); |
| 3721 checkUnnamed2346(o.items); | 3725 checkUnnamed796(o.items); |
| 3722 unittest.expect(o.kind, unittest.equals('foo')); | 3726 unittest.expect(o.kind, unittest.equals('foo')); |
| 3723 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3727 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3724 unittest.expect(o.selfLink, unittest.equals('foo')); | 3728 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 3725 } | 3729 } |
| 3726 buildCounterMachineTypeAggregatedList--; | 3730 buildCounterMachineTypeAggregatedList--; |
| 3727 } | 3731 } |
| 3728 | 3732 |
| 3729 buildUnnamed2347() { | 3733 buildUnnamed797() { |
| 3730 var o = new core.List<api.MachineType>(); | 3734 var o = new core.List<api.MachineType>(); |
| 3731 o.add(buildMachineType()); | 3735 o.add(buildMachineType()); |
| 3732 o.add(buildMachineType()); | 3736 o.add(buildMachineType()); |
| 3733 return o; | 3737 return o; |
| 3734 } | 3738 } |
| 3735 | 3739 |
| 3736 checkUnnamed2347(core.List<api.MachineType> o) { | 3740 checkUnnamed797(core.List<api.MachineType> o) { |
| 3737 unittest.expect(o, unittest.hasLength(2)); | 3741 unittest.expect(o, unittest.hasLength(2)); |
| 3738 checkMachineType(o[0]); | 3742 checkMachineType(o[0]); |
| 3739 checkMachineType(o[1]); | 3743 checkMachineType(o[1]); |
| 3740 } | 3744 } |
| 3741 | 3745 |
| 3742 core.int buildCounterMachineTypeList = 0; | 3746 core.int buildCounterMachineTypeList = 0; |
| 3743 buildMachineTypeList() { | 3747 buildMachineTypeList() { |
| 3744 var o = new api.MachineTypeList(); | 3748 var o = new api.MachineTypeList(); |
| 3745 buildCounterMachineTypeList++; | 3749 buildCounterMachineTypeList++; |
| 3746 if (buildCounterMachineTypeList < 3) { | 3750 if (buildCounterMachineTypeList < 3) { |
| 3747 o.id = "foo"; | 3751 o.id = "foo"; |
| 3748 o.items = buildUnnamed2347(); | 3752 o.items = buildUnnamed797(); |
| 3749 o.kind = "foo"; | 3753 o.kind = "foo"; |
| 3750 o.nextPageToken = "foo"; | 3754 o.nextPageToken = "foo"; |
| 3751 o.selfLink = "foo"; | 3755 o.selfLink = "foo"; |
| 3752 } | 3756 } |
| 3753 buildCounterMachineTypeList--; | 3757 buildCounterMachineTypeList--; |
| 3754 return o; | 3758 return o; |
| 3755 } | 3759 } |
| 3756 | 3760 |
| 3757 checkMachineTypeList(api.MachineTypeList o) { | 3761 checkMachineTypeList(api.MachineTypeList o) { |
| 3758 buildCounterMachineTypeList++; | 3762 buildCounterMachineTypeList++; |
| 3759 if (buildCounterMachineTypeList < 3) { | 3763 if (buildCounterMachineTypeList < 3) { |
| 3760 unittest.expect(o.id, unittest.equals('foo')); | 3764 unittest.expect(o.id, unittest.equals('foo')); |
| 3761 checkUnnamed2347(o.items); | 3765 checkUnnamed797(o.items); |
| 3762 unittest.expect(o.kind, unittest.equals('foo')); | 3766 unittest.expect(o.kind, unittest.equals('foo')); |
| 3763 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3767 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3764 unittest.expect(o.selfLink, unittest.equals('foo')); | 3768 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 3765 } | 3769 } |
| 3766 buildCounterMachineTypeList--; | 3770 buildCounterMachineTypeList--; |
| 3767 } | 3771 } |
| 3768 | 3772 |
| 3769 buildUnnamed2348() { | 3773 buildUnnamed798() { |
| 3770 var o = new core.List<api.MachineType>(); | 3774 var o = new core.List<api.MachineType>(); |
| 3771 o.add(buildMachineType()); | 3775 o.add(buildMachineType()); |
| 3772 o.add(buildMachineType()); | 3776 o.add(buildMachineType()); |
| 3773 return o; | 3777 return o; |
| 3774 } | 3778 } |
| 3775 | 3779 |
| 3776 checkUnnamed2348(core.List<api.MachineType> o) { | 3780 checkUnnamed798(core.List<api.MachineType> o) { |
| 3777 unittest.expect(o, unittest.hasLength(2)); | 3781 unittest.expect(o, unittest.hasLength(2)); |
| 3778 checkMachineType(o[0]); | 3782 checkMachineType(o[0]); |
| 3779 checkMachineType(o[1]); | 3783 checkMachineType(o[1]); |
| 3780 } | 3784 } |
| 3781 | 3785 |
| 3782 core.int buildCounterMachineTypesScopedListWarningData = 0; | 3786 core.int buildCounterMachineTypesScopedListWarningData = 0; |
| 3783 buildMachineTypesScopedListWarningData() { | 3787 buildMachineTypesScopedListWarningData() { |
| 3784 var o = new api.MachineTypesScopedListWarningData(); | 3788 var o = new api.MachineTypesScopedListWarningData(); |
| 3785 buildCounterMachineTypesScopedListWarningData++; | 3789 buildCounterMachineTypesScopedListWarningData++; |
| 3786 if (buildCounterMachineTypesScopedListWarningData < 3) { | 3790 if (buildCounterMachineTypesScopedListWarningData < 3) { |
| 3787 o.key = "foo"; | 3791 o.key = "foo"; |
| 3788 o.value = "foo"; | 3792 o.value = "foo"; |
| 3789 } | 3793 } |
| 3790 buildCounterMachineTypesScopedListWarningData--; | 3794 buildCounterMachineTypesScopedListWarningData--; |
| 3791 return o; | 3795 return o; |
| 3792 } | 3796 } |
| 3793 | 3797 |
| 3794 checkMachineTypesScopedListWarningData(api.MachineTypesScopedListWarningData o)
{ | 3798 checkMachineTypesScopedListWarningData(api.MachineTypesScopedListWarningData o)
{ |
| 3795 buildCounterMachineTypesScopedListWarningData++; | 3799 buildCounterMachineTypesScopedListWarningData++; |
| 3796 if (buildCounterMachineTypesScopedListWarningData < 3) { | 3800 if (buildCounterMachineTypesScopedListWarningData < 3) { |
| 3797 unittest.expect(o.key, unittest.equals('foo')); | 3801 unittest.expect(o.key, unittest.equals('foo')); |
| 3798 unittest.expect(o.value, unittest.equals('foo')); | 3802 unittest.expect(o.value, unittest.equals('foo')); |
| 3799 } | 3803 } |
| 3800 buildCounterMachineTypesScopedListWarningData--; | 3804 buildCounterMachineTypesScopedListWarningData--; |
| 3801 } | 3805 } |
| 3802 | 3806 |
| 3803 buildUnnamed2349() { | 3807 buildUnnamed799() { |
| 3804 var o = new core.List<api.MachineTypesScopedListWarningData>(); | 3808 var o = new core.List<api.MachineTypesScopedListWarningData>(); |
| 3805 o.add(buildMachineTypesScopedListWarningData()); | 3809 o.add(buildMachineTypesScopedListWarningData()); |
| 3806 o.add(buildMachineTypesScopedListWarningData()); | 3810 o.add(buildMachineTypesScopedListWarningData()); |
| 3807 return o; | 3811 return o; |
| 3808 } | 3812 } |
| 3809 | 3813 |
| 3810 checkUnnamed2349(core.List<api.MachineTypesScopedListWarningData> o) { | 3814 checkUnnamed799(core.List<api.MachineTypesScopedListWarningData> o) { |
| 3811 unittest.expect(o, unittest.hasLength(2)); | 3815 unittest.expect(o, unittest.hasLength(2)); |
| 3812 checkMachineTypesScopedListWarningData(o[0]); | 3816 checkMachineTypesScopedListWarningData(o[0]); |
| 3813 checkMachineTypesScopedListWarningData(o[1]); | 3817 checkMachineTypesScopedListWarningData(o[1]); |
| 3814 } | 3818 } |
| 3815 | 3819 |
| 3816 core.int buildCounterMachineTypesScopedListWarning = 0; | 3820 core.int buildCounterMachineTypesScopedListWarning = 0; |
| 3817 buildMachineTypesScopedListWarning() { | 3821 buildMachineTypesScopedListWarning() { |
| 3818 var o = new api.MachineTypesScopedListWarning(); | 3822 var o = new api.MachineTypesScopedListWarning(); |
| 3819 buildCounterMachineTypesScopedListWarning++; | 3823 buildCounterMachineTypesScopedListWarning++; |
| 3820 if (buildCounterMachineTypesScopedListWarning < 3) { | 3824 if (buildCounterMachineTypesScopedListWarning < 3) { |
| 3821 o.code = "foo"; | 3825 o.code = "foo"; |
| 3822 o.data = buildUnnamed2349(); | 3826 o.data = buildUnnamed799(); |
| 3823 o.message = "foo"; | 3827 o.message = "foo"; |
| 3824 } | 3828 } |
| 3825 buildCounterMachineTypesScopedListWarning--; | 3829 buildCounterMachineTypesScopedListWarning--; |
| 3826 return o; | 3830 return o; |
| 3827 } | 3831 } |
| 3828 | 3832 |
| 3829 checkMachineTypesScopedListWarning(api.MachineTypesScopedListWarning o) { | 3833 checkMachineTypesScopedListWarning(api.MachineTypesScopedListWarning o) { |
| 3830 buildCounterMachineTypesScopedListWarning++; | 3834 buildCounterMachineTypesScopedListWarning++; |
| 3831 if (buildCounterMachineTypesScopedListWarning < 3) { | 3835 if (buildCounterMachineTypesScopedListWarning < 3) { |
| 3832 unittest.expect(o.code, unittest.equals('foo')); | 3836 unittest.expect(o.code, unittest.equals('foo')); |
| 3833 checkUnnamed2349(o.data); | 3837 checkUnnamed799(o.data); |
| 3834 unittest.expect(o.message, unittest.equals('foo')); | 3838 unittest.expect(o.message, unittest.equals('foo')); |
| 3835 } | 3839 } |
| 3836 buildCounterMachineTypesScopedListWarning--; | 3840 buildCounterMachineTypesScopedListWarning--; |
| 3837 } | 3841 } |
| 3838 | 3842 |
| 3839 core.int buildCounterMachineTypesScopedList = 0; | 3843 core.int buildCounterMachineTypesScopedList = 0; |
| 3840 buildMachineTypesScopedList() { | 3844 buildMachineTypesScopedList() { |
| 3841 var o = new api.MachineTypesScopedList(); | 3845 var o = new api.MachineTypesScopedList(); |
| 3842 buildCounterMachineTypesScopedList++; | 3846 buildCounterMachineTypesScopedList++; |
| 3843 if (buildCounterMachineTypesScopedList < 3) { | 3847 if (buildCounterMachineTypesScopedList < 3) { |
| 3844 o.machineTypes = buildUnnamed2348(); | 3848 o.machineTypes = buildUnnamed798(); |
| 3845 o.warning = buildMachineTypesScopedListWarning(); | 3849 o.warning = buildMachineTypesScopedListWarning(); |
| 3846 } | 3850 } |
| 3847 buildCounterMachineTypesScopedList--; | 3851 buildCounterMachineTypesScopedList--; |
| 3848 return o; | 3852 return o; |
| 3849 } | 3853 } |
| 3850 | 3854 |
| 3851 checkMachineTypesScopedList(api.MachineTypesScopedList o) { | 3855 checkMachineTypesScopedList(api.MachineTypesScopedList o) { |
| 3852 buildCounterMachineTypesScopedList++; | 3856 buildCounterMachineTypesScopedList++; |
| 3853 if (buildCounterMachineTypesScopedList < 3) { | 3857 if (buildCounterMachineTypesScopedList < 3) { |
| 3854 checkUnnamed2348(o.machineTypes); | 3858 checkUnnamed798(o.machineTypes); |
| 3855 checkMachineTypesScopedListWarning(o.warning); | 3859 checkMachineTypesScopedListWarning(o.warning); |
| 3856 } | 3860 } |
| 3857 buildCounterMachineTypesScopedList--; | 3861 buildCounterMachineTypesScopedList--; |
| 3858 } | 3862 } |
| 3859 | 3863 |
| 3860 core.int buildCounterManagedInstance = 0; | 3864 core.int buildCounterManagedInstance = 0; |
| 3861 buildManagedInstance() { | 3865 buildManagedInstance() { |
| 3862 var o = new api.ManagedInstance(); | 3866 var o = new api.ManagedInstance(); |
| 3863 buildCounterManagedInstance++; | 3867 buildCounterManagedInstance++; |
| 3864 if (buildCounterManagedInstance < 3) { | 3868 if (buildCounterManagedInstance < 3) { |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3900 checkManagedInstanceLastAttemptErrorsErrors(api.ManagedInstanceLastAttemptErrors
Errors o) { | 3904 checkManagedInstanceLastAttemptErrorsErrors(api.ManagedInstanceLastAttemptErrors
Errors o) { |
| 3901 buildCounterManagedInstanceLastAttemptErrorsErrors++; | 3905 buildCounterManagedInstanceLastAttemptErrorsErrors++; |
| 3902 if (buildCounterManagedInstanceLastAttemptErrorsErrors < 3) { | 3906 if (buildCounterManagedInstanceLastAttemptErrorsErrors < 3) { |
| 3903 unittest.expect(o.code, unittest.equals('foo')); | 3907 unittest.expect(o.code, unittest.equals('foo')); |
| 3904 unittest.expect(o.location, unittest.equals('foo')); | 3908 unittest.expect(o.location, unittest.equals('foo')); |
| 3905 unittest.expect(o.message, unittest.equals('foo')); | 3909 unittest.expect(o.message, unittest.equals('foo')); |
| 3906 } | 3910 } |
| 3907 buildCounterManagedInstanceLastAttemptErrorsErrors--; | 3911 buildCounterManagedInstanceLastAttemptErrorsErrors--; |
| 3908 } | 3912 } |
| 3909 | 3913 |
| 3910 buildUnnamed2350() { | 3914 buildUnnamed800() { |
| 3911 var o = new core.List<api.ManagedInstanceLastAttemptErrorsErrors>(); | 3915 var o = new core.List<api.ManagedInstanceLastAttemptErrorsErrors>(); |
| 3912 o.add(buildManagedInstanceLastAttemptErrorsErrors()); | 3916 o.add(buildManagedInstanceLastAttemptErrorsErrors()); |
| 3913 o.add(buildManagedInstanceLastAttemptErrorsErrors()); | 3917 o.add(buildManagedInstanceLastAttemptErrorsErrors()); |
| 3914 return o; | 3918 return o; |
| 3915 } | 3919 } |
| 3916 | 3920 |
| 3917 checkUnnamed2350(core.List<api.ManagedInstanceLastAttemptErrorsErrors> o) { | 3921 checkUnnamed800(core.List<api.ManagedInstanceLastAttemptErrorsErrors> o) { |
| 3918 unittest.expect(o, unittest.hasLength(2)); | 3922 unittest.expect(o, unittest.hasLength(2)); |
| 3919 checkManagedInstanceLastAttemptErrorsErrors(o[0]); | 3923 checkManagedInstanceLastAttemptErrorsErrors(o[0]); |
| 3920 checkManagedInstanceLastAttemptErrorsErrors(o[1]); | 3924 checkManagedInstanceLastAttemptErrorsErrors(o[1]); |
| 3921 } | 3925 } |
| 3922 | 3926 |
| 3923 core.int buildCounterManagedInstanceLastAttemptErrors = 0; | 3927 core.int buildCounterManagedInstanceLastAttemptErrors = 0; |
| 3924 buildManagedInstanceLastAttemptErrors() { | 3928 buildManagedInstanceLastAttemptErrors() { |
| 3925 var o = new api.ManagedInstanceLastAttemptErrors(); | 3929 var o = new api.ManagedInstanceLastAttemptErrors(); |
| 3926 buildCounterManagedInstanceLastAttemptErrors++; | 3930 buildCounterManagedInstanceLastAttemptErrors++; |
| 3927 if (buildCounterManagedInstanceLastAttemptErrors < 3) { | 3931 if (buildCounterManagedInstanceLastAttemptErrors < 3) { |
| 3928 o.errors = buildUnnamed2350(); | 3932 o.errors = buildUnnamed800(); |
| 3929 } | 3933 } |
| 3930 buildCounterManagedInstanceLastAttemptErrors--; | 3934 buildCounterManagedInstanceLastAttemptErrors--; |
| 3931 return o; | 3935 return o; |
| 3932 } | 3936 } |
| 3933 | 3937 |
| 3934 checkManagedInstanceLastAttemptErrors(api.ManagedInstanceLastAttemptErrors o) { | 3938 checkManagedInstanceLastAttemptErrors(api.ManagedInstanceLastAttemptErrors o) { |
| 3935 buildCounterManagedInstanceLastAttemptErrors++; | 3939 buildCounterManagedInstanceLastAttemptErrors++; |
| 3936 if (buildCounterManagedInstanceLastAttemptErrors < 3) { | 3940 if (buildCounterManagedInstanceLastAttemptErrors < 3) { |
| 3937 checkUnnamed2350(o.errors); | 3941 checkUnnamed800(o.errors); |
| 3938 } | 3942 } |
| 3939 buildCounterManagedInstanceLastAttemptErrors--; | 3943 buildCounterManagedInstanceLastAttemptErrors--; |
| 3940 } | 3944 } |
| 3941 | 3945 |
| 3942 core.int buildCounterManagedInstanceLastAttempt = 0; | 3946 core.int buildCounterManagedInstanceLastAttempt = 0; |
| 3943 buildManagedInstanceLastAttempt() { | 3947 buildManagedInstanceLastAttempt() { |
| 3944 var o = new api.ManagedInstanceLastAttempt(); | 3948 var o = new api.ManagedInstanceLastAttempt(); |
| 3945 buildCounterManagedInstanceLastAttempt++; | 3949 buildCounterManagedInstanceLastAttempt++; |
| 3946 if (buildCounterManagedInstanceLastAttempt < 3) { | 3950 if (buildCounterManagedInstanceLastAttempt < 3) { |
| 3947 o.errors = buildManagedInstanceLastAttemptErrors(); | 3951 o.errors = buildManagedInstanceLastAttemptErrors(); |
| (...skipping 24 matching lines...) Expand all Loading... |
| 3972 | 3976 |
| 3973 checkMetadataItems(api.MetadataItems o) { | 3977 checkMetadataItems(api.MetadataItems o) { |
| 3974 buildCounterMetadataItems++; | 3978 buildCounterMetadataItems++; |
| 3975 if (buildCounterMetadataItems < 3) { | 3979 if (buildCounterMetadataItems < 3) { |
| 3976 unittest.expect(o.key, unittest.equals('foo')); | 3980 unittest.expect(o.key, unittest.equals('foo')); |
| 3977 unittest.expect(o.value, unittest.equals('foo')); | 3981 unittest.expect(o.value, unittest.equals('foo')); |
| 3978 } | 3982 } |
| 3979 buildCounterMetadataItems--; | 3983 buildCounterMetadataItems--; |
| 3980 } | 3984 } |
| 3981 | 3985 |
| 3982 buildUnnamed2351() { | 3986 buildUnnamed801() { |
| 3983 var o = new core.List<api.MetadataItems>(); | 3987 var o = new core.List<api.MetadataItems>(); |
| 3984 o.add(buildMetadataItems()); | 3988 o.add(buildMetadataItems()); |
| 3985 o.add(buildMetadataItems()); | 3989 o.add(buildMetadataItems()); |
| 3986 return o; | 3990 return o; |
| 3987 } | 3991 } |
| 3988 | 3992 |
| 3989 checkUnnamed2351(core.List<api.MetadataItems> o) { | 3993 checkUnnamed801(core.List<api.MetadataItems> o) { |
| 3990 unittest.expect(o, unittest.hasLength(2)); | 3994 unittest.expect(o, unittest.hasLength(2)); |
| 3991 checkMetadataItems(o[0]); | 3995 checkMetadataItems(o[0]); |
| 3992 checkMetadataItems(o[1]); | 3996 checkMetadataItems(o[1]); |
| 3993 } | 3997 } |
| 3994 | 3998 |
| 3995 core.int buildCounterMetadata = 0; | 3999 core.int buildCounterMetadata = 0; |
| 3996 buildMetadata() { | 4000 buildMetadata() { |
| 3997 var o = new api.Metadata(); | 4001 var o = new api.Metadata(); |
| 3998 buildCounterMetadata++; | 4002 buildCounterMetadata++; |
| 3999 if (buildCounterMetadata < 3) { | 4003 if (buildCounterMetadata < 3) { |
| 4000 o.fingerprint = "foo"; | 4004 o.fingerprint = "foo"; |
| 4001 o.items = buildUnnamed2351(); | 4005 o.items = buildUnnamed801(); |
| 4002 o.kind = "foo"; | 4006 o.kind = "foo"; |
| 4003 } | 4007 } |
| 4004 buildCounterMetadata--; | 4008 buildCounterMetadata--; |
| 4005 return o; | 4009 return o; |
| 4006 } | 4010 } |
| 4007 | 4011 |
| 4008 checkMetadata(api.Metadata o) { | 4012 checkMetadata(api.Metadata o) { |
| 4009 buildCounterMetadata++; | 4013 buildCounterMetadata++; |
| 4010 if (buildCounterMetadata < 3) { | 4014 if (buildCounterMetadata < 3) { |
| 4011 unittest.expect(o.fingerprint, unittest.equals('foo')); | 4015 unittest.expect(o.fingerprint, unittest.equals('foo')); |
| 4012 checkUnnamed2351(o.items); | 4016 checkUnnamed801(o.items); |
| 4013 unittest.expect(o.kind, unittest.equals('foo')); | 4017 unittest.expect(o.kind, unittest.equals('foo')); |
| 4014 } | 4018 } |
| 4015 buildCounterMetadata--; | 4019 buildCounterMetadata--; |
| 4016 } | 4020 } |
| 4017 | 4021 |
| 4018 core.int buildCounterNamedPort = 0; | 4022 core.int buildCounterNamedPort = 0; |
| 4019 buildNamedPort() { | 4023 buildNamedPort() { |
| 4020 var o = new api.NamedPort(); | 4024 var o = new api.NamedPort(); |
| 4021 buildCounterNamedPort++; | 4025 buildCounterNamedPort++; |
| 4022 if (buildCounterNamedPort < 3) { | 4026 if (buildCounterNamedPort < 3) { |
| 4023 o.name = "foo"; | 4027 o.name = "foo"; |
| 4024 o.port = 42; | 4028 o.port = 42; |
| 4025 } | 4029 } |
| 4026 buildCounterNamedPort--; | 4030 buildCounterNamedPort--; |
| 4027 return o; | 4031 return o; |
| 4028 } | 4032 } |
| 4029 | 4033 |
| 4030 checkNamedPort(api.NamedPort o) { | 4034 checkNamedPort(api.NamedPort o) { |
| 4031 buildCounterNamedPort++; | 4035 buildCounterNamedPort++; |
| 4032 if (buildCounterNamedPort < 3) { | 4036 if (buildCounterNamedPort < 3) { |
| 4033 unittest.expect(o.name, unittest.equals('foo')); | 4037 unittest.expect(o.name, unittest.equals('foo')); |
| 4034 unittest.expect(o.port, unittest.equals(42)); | 4038 unittest.expect(o.port, unittest.equals(42)); |
| 4035 } | 4039 } |
| 4036 buildCounterNamedPort--; | 4040 buildCounterNamedPort--; |
| 4037 } | 4041 } |
| 4038 | 4042 |
| 4039 buildUnnamed2352() { | 4043 buildUnnamed802() { |
| 4040 var o = new core.List<core.String>(); | 4044 var o = new core.List<core.String>(); |
| 4041 o.add("foo"); | 4045 o.add("foo"); |
| 4042 o.add("foo"); | 4046 o.add("foo"); |
| 4043 return o; | 4047 return o; |
| 4044 } | 4048 } |
| 4045 | 4049 |
| 4046 checkUnnamed2352(core.List<core.String> o) { | 4050 checkUnnamed802(core.List<core.String> o) { |
| 4047 unittest.expect(o, unittest.hasLength(2)); | 4051 unittest.expect(o, unittest.hasLength(2)); |
| 4048 unittest.expect(o[0], unittest.equals('foo')); | 4052 unittest.expect(o[0], unittest.equals('foo')); |
| 4049 unittest.expect(o[1], unittest.equals('foo')); | 4053 unittest.expect(o[1], unittest.equals('foo')); |
| 4050 } | 4054 } |
| 4051 | 4055 |
| 4052 core.int buildCounterNetwork = 0; | 4056 core.int buildCounterNetwork = 0; |
| 4053 buildNetwork() { | 4057 buildNetwork() { |
| 4054 var o = new api.Network(); | 4058 var o = new api.Network(); |
| 4055 buildCounterNetwork++; | 4059 buildCounterNetwork++; |
| 4056 if (buildCounterNetwork < 3) { | 4060 if (buildCounterNetwork < 3) { |
| 4057 o.IPv4Range = "foo"; | 4061 o.IPv4Range = "foo"; |
| 4058 o.autoCreateSubnetworks = true; | 4062 o.autoCreateSubnetworks = true; |
| 4059 o.creationTimestamp = "foo"; | 4063 o.creationTimestamp = "foo"; |
| 4060 o.description = "foo"; | 4064 o.description = "foo"; |
| 4061 o.gatewayIPv4 = "foo"; | 4065 o.gatewayIPv4 = "foo"; |
| 4062 o.id = "foo"; | 4066 o.id = "foo"; |
| 4063 o.kind = "foo"; | 4067 o.kind = "foo"; |
| 4064 o.name = "foo"; | 4068 o.name = "foo"; |
| 4065 o.selfLink = "foo"; | 4069 o.selfLink = "foo"; |
| 4066 o.subnetworks = buildUnnamed2352(); | 4070 o.subnetworks = buildUnnamed802(); |
| 4067 } | 4071 } |
| 4068 buildCounterNetwork--; | 4072 buildCounterNetwork--; |
| 4069 return o; | 4073 return o; |
| 4070 } | 4074 } |
| 4071 | 4075 |
| 4072 checkNetwork(api.Network o) { | 4076 checkNetwork(api.Network o) { |
| 4073 buildCounterNetwork++; | 4077 buildCounterNetwork++; |
| 4074 if (buildCounterNetwork < 3) { | 4078 if (buildCounterNetwork < 3) { |
| 4075 unittest.expect(o.IPv4Range, unittest.equals('foo')); | 4079 unittest.expect(o.IPv4Range, unittest.equals('foo')); |
| 4076 unittest.expect(o.autoCreateSubnetworks, unittest.isTrue); | 4080 unittest.expect(o.autoCreateSubnetworks, unittest.isTrue); |
| 4077 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 4081 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 4078 unittest.expect(o.description, unittest.equals('foo')); | 4082 unittest.expect(o.description, unittest.equals('foo')); |
| 4079 unittest.expect(o.gatewayIPv4, unittest.equals('foo')); | 4083 unittest.expect(o.gatewayIPv4, unittest.equals('foo')); |
| 4080 unittest.expect(o.id, unittest.equals('foo')); | 4084 unittest.expect(o.id, unittest.equals('foo')); |
| 4081 unittest.expect(o.kind, unittest.equals('foo')); | 4085 unittest.expect(o.kind, unittest.equals('foo')); |
| 4082 unittest.expect(o.name, unittest.equals('foo')); | 4086 unittest.expect(o.name, unittest.equals('foo')); |
| 4083 unittest.expect(o.selfLink, unittest.equals('foo')); | 4087 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 4084 checkUnnamed2352(o.subnetworks); | 4088 checkUnnamed802(o.subnetworks); |
| 4085 } | 4089 } |
| 4086 buildCounterNetwork--; | 4090 buildCounterNetwork--; |
| 4087 } | 4091 } |
| 4088 | 4092 |
| 4089 buildUnnamed2353() { | 4093 buildUnnamed803() { |
| 4090 var o = new core.List<api.AccessConfig>(); | 4094 var o = new core.List<api.AccessConfig>(); |
| 4091 o.add(buildAccessConfig()); | 4095 o.add(buildAccessConfig()); |
| 4092 o.add(buildAccessConfig()); | 4096 o.add(buildAccessConfig()); |
| 4093 return o; | 4097 return o; |
| 4094 } | 4098 } |
| 4095 | 4099 |
| 4096 checkUnnamed2353(core.List<api.AccessConfig> o) { | 4100 checkUnnamed803(core.List<api.AccessConfig> o) { |
| 4097 unittest.expect(o, unittest.hasLength(2)); | 4101 unittest.expect(o, unittest.hasLength(2)); |
| 4098 checkAccessConfig(o[0]); | 4102 checkAccessConfig(o[0]); |
| 4099 checkAccessConfig(o[1]); | 4103 checkAccessConfig(o[1]); |
| 4100 } | 4104 } |
| 4101 | 4105 |
| 4102 core.int buildCounterNetworkInterface = 0; | 4106 core.int buildCounterNetworkInterface = 0; |
| 4103 buildNetworkInterface() { | 4107 buildNetworkInterface() { |
| 4104 var o = new api.NetworkInterface(); | 4108 var o = new api.NetworkInterface(); |
| 4105 buildCounterNetworkInterface++; | 4109 buildCounterNetworkInterface++; |
| 4106 if (buildCounterNetworkInterface < 3) { | 4110 if (buildCounterNetworkInterface < 3) { |
| 4107 o.accessConfigs = buildUnnamed2353(); | 4111 o.accessConfigs = buildUnnamed803(); |
| 4108 o.name = "foo"; | 4112 o.name = "foo"; |
| 4109 o.network = "foo"; | 4113 o.network = "foo"; |
| 4110 o.networkIP = "foo"; | 4114 o.networkIP = "foo"; |
| 4111 o.subnetwork = "foo"; | 4115 o.subnetwork = "foo"; |
| 4112 } | 4116 } |
| 4113 buildCounterNetworkInterface--; | 4117 buildCounterNetworkInterface--; |
| 4114 return o; | 4118 return o; |
| 4115 } | 4119 } |
| 4116 | 4120 |
| 4117 checkNetworkInterface(api.NetworkInterface o) { | 4121 checkNetworkInterface(api.NetworkInterface o) { |
| 4118 buildCounterNetworkInterface++; | 4122 buildCounterNetworkInterface++; |
| 4119 if (buildCounterNetworkInterface < 3) { | 4123 if (buildCounterNetworkInterface < 3) { |
| 4120 checkUnnamed2353(o.accessConfigs); | 4124 checkUnnamed803(o.accessConfigs); |
| 4121 unittest.expect(o.name, unittest.equals('foo')); | 4125 unittest.expect(o.name, unittest.equals('foo')); |
| 4122 unittest.expect(o.network, unittest.equals('foo')); | 4126 unittest.expect(o.network, unittest.equals('foo')); |
| 4123 unittest.expect(o.networkIP, unittest.equals('foo')); | 4127 unittest.expect(o.networkIP, unittest.equals('foo')); |
| 4124 unittest.expect(o.subnetwork, unittest.equals('foo')); | 4128 unittest.expect(o.subnetwork, unittest.equals('foo')); |
| 4125 } | 4129 } |
| 4126 buildCounterNetworkInterface--; | 4130 buildCounterNetworkInterface--; |
| 4127 } | 4131 } |
| 4128 | 4132 |
| 4129 buildUnnamed2354() { | 4133 buildUnnamed804() { |
| 4130 var o = new core.List<api.Network>(); | 4134 var o = new core.List<api.Network>(); |
| 4131 o.add(buildNetwork()); | 4135 o.add(buildNetwork()); |
| 4132 o.add(buildNetwork()); | 4136 o.add(buildNetwork()); |
| 4133 return o; | 4137 return o; |
| 4134 } | 4138 } |
| 4135 | 4139 |
| 4136 checkUnnamed2354(core.List<api.Network> o) { | 4140 checkUnnamed804(core.List<api.Network> o) { |
| 4137 unittest.expect(o, unittest.hasLength(2)); | 4141 unittest.expect(o, unittest.hasLength(2)); |
| 4138 checkNetwork(o[0]); | 4142 checkNetwork(o[0]); |
| 4139 checkNetwork(o[1]); | 4143 checkNetwork(o[1]); |
| 4140 } | 4144 } |
| 4141 | 4145 |
| 4142 core.int buildCounterNetworkList = 0; | 4146 core.int buildCounterNetworkList = 0; |
| 4143 buildNetworkList() { | 4147 buildNetworkList() { |
| 4144 var o = new api.NetworkList(); | 4148 var o = new api.NetworkList(); |
| 4145 buildCounterNetworkList++; | 4149 buildCounterNetworkList++; |
| 4146 if (buildCounterNetworkList < 3) { | 4150 if (buildCounterNetworkList < 3) { |
| 4147 o.id = "foo"; | 4151 o.id = "foo"; |
| 4148 o.items = buildUnnamed2354(); | 4152 o.items = buildUnnamed804(); |
| 4149 o.kind = "foo"; | 4153 o.kind = "foo"; |
| 4150 o.nextPageToken = "foo"; | 4154 o.nextPageToken = "foo"; |
| 4151 o.selfLink = "foo"; | 4155 o.selfLink = "foo"; |
| 4152 } | 4156 } |
| 4153 buildCounterNetworkList--; | 4157 buildCounterNetworkList--; |
| 4154 return o; | 4158 return o; |
| 4155 } | 4159 } |
| 4156 | 4160 |
| 4157 checkNetworkList(api.NetworkList o) { | 4161 checkNetworkList(api.NetworkList o) { |
| 4158 buildCounterNetworkList++; | 4162 buildCounterNetworkList++; |
| 4159 if (buildCounterNetworkList < 3) { | 4163 if (buildCounterNetworkList < 3) { |
| 4160 unittest.expect(o.id, unittest.equals('foo')); | 4164 unittest.expect(o.id, unittest.equals('foo')); |
| 4161 checkUnnamed2354(o.items); | 4165 checkUnnamed804(o.items); |
| 4162 unittest.expect(o.kind, unittest.equals('foo')); | 4166 unittest.expect(o.kind, unittest.equals('foo')); |
| 4163 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4167 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 4164 unittest.expect(o.selfLink, unittest.equals('foo')); | 4168 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 4165 } | 4169 } |
| 4166 buildCounterNetworkList--; | 4170 buildCounterNetworkList--; |
| 4167 } | 4171 } |
| 4168 | 4172 |
| 4169 core.int buildCounterOperationErrorErrors = 0; | 4173 core.int buildCounterOperationErrorErrors = 0; |
| 4170 buildOperationErrorErrors() { | 4174 buildOperationErrorErrors() { |
| 4171 var o = new api.OperationErrorErrors(); | 4175 var o = new api.OperationErrorErrors(); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 4182 checkOperationErrorErrors(api.OperationErrorErrors o) { | 4186 checkOperationErrorErrors(api.OperationErrorErrors o) { |
| 4183 buildCounterOperationErrorErrors++; | 4187 buildCounterOperationErrorErrors++; |
| 4184 if (buildCounterOperationErrorErrors < 3) { | 4188 if (buildCounterOperationErrorErrors < 3) { |
| 4185 unittest.expect(o.code, unittest.equals('foo')); | 4189 unittest.expect(o.code, unittest.equals('foo')); |
| 4186 unittest.expect(o.location, unittest.equals('foo')); | 4190 unittest.expect(o.location, unittest.equals('foo')); |
| 4187 unittest.expect(o.message, unittest.equals('foo')); | 4191 unittest.expect(o.message, unittest.equals('foo')); |
| 4188 } | 4192 } |
| 4189 buildCounterOperationErrorErrors--; | 4193 buildCounterOperationErrorErrors--; |
| 4190 } | 4194 } |
| 4191 | 4195 |
| 4192 buildUnnamed2355() { | 4196 buildUnnamed805() { |
| 4193 var o = new core.List<api.OperationErrorErrors>(); | 4197 var o = new core.List<api.OperationErrorErrors>(); |
| 4194 o.add(buildOperationErrorErrors()); | 4198 o.add(buildOperationErrorErrors()); |
| 4195 o.add(buildOperationErrorErrors()); | 4199 o.add(buildOperationErrorErrors()); |
| 4196 return o; | 4200 return o; |
| 4197 } | 4201 } |
| 4198 | 4202 |
| 4199 checkUnnamed2355(core.List<api.OperationErrorErrors> o) { | 4203 checkUnnamed805(core.List<api.OperationErrorErrors> o) { |
| 4200 unittest.expect(o, unittest.hasLength(2)); | 4204 unittest.expect(o, unittest.hasLength(2)); |
| 4201 checkOperationErrorErrors(o[0]); | 4205 checkOperationErrorErrors(o[0]); |
| 4202 checkOperationErrorErrors(o[1]); | 4206 checkOperationErrorErrors(o[1]); |
| 4203 } | 4207 } |
| 4204 | 4208 |
| 4205 core.int buildCounterOperationError = 0; | 4209 core.int buildCounterOperationError = 0; |
| 4206 buildOperationError() { | 4210 buildOperationError() { |
| 4207 var o = new api.OperationError(); | 4211 var o = new api.OperationError(); |
| 4208 buildCounterOperationError++; | 4212 buildCounterOperationError++; |
| 4209 if (buildCounterOperationError < 3) { | 4213 if (buildCounterOperationError < 3) { |
| 4210 o.errors = buildUnnamed2355(); | 4214 o.errors = buildUnnamed805(); |
| 4211 } | 4215 } |
| 4212 buildCounterOperationError--; | 4216 buildCounterOperationError--; |
| 4213 return o; | 4217 return o; |
| 4214 } | 4218 } |
| 4215 | 4219 |
| 4216 checkOperationError(api.OperationError o) { | 4220 checkOperationError(api.OperationError o) { |
| 4217 buildCounterOperationError++; | 4221 buildCounterOperationError++; |
| 4218 if (buildCounterOperationError < 3) { | 4222 if (buildCounterOperationError < 3) { |
| 4219 checkUnnamed2355(o.errors); | 4223 checkUnnamed805(o.errors); |
| 4220 } | 4224 } |
| 4221 buildCounterOperationError--; | 4225 buildCounterOperationError--; |
| 4222 } | 4226 } |
| 4223 | 4227 |
| 4224 core.int buildCounterOperationWarningsData = 0; | 4228 core.int buildCounterOperationWarningsData = 0; |
| 4225 buildOperationWarningsData() { | 4229 buildOperationWarningsData() { |
| 4226 var o = new api.OperationWarningsData(); | 4230 var o = new api.OperationWarningsData(); |
| 4227 buildCounterOperationWarningsData++; | 4231 buildCounterOperationWarningsData++; |
| 4228 if (buildCounterOperationWarningsData < 3) { | 4232 if (buildCounterOperationWarningsData < 3) { |
| 4229 o.key = "foo"; | 4233 o.key = "foo"; |
| 4230 o.value = "foo"; | 4234 o.value = "foo"; |
| 4231 } | 4235 } |
| 4232 buildCounterOperationWarningsData--; | 4236 buildCounterOperationWarningsData--; |
| 4233 return o; | 4237 return o; |
| 4234 } | 4238 } |
| 4235 | 4239 |
| 4236 checkOperationWarningsData(api.OperationWarningsData o) { | 4240 checkOperationWarningsData(api.OperationWarningsData o) { |
| 4237 buildCounterOperationWarningsData++; | 4241 buildCounterOperationWarningsData++; |
| 4238 if (buildCounterOperationWarningsData < 3) { | 4242 if (buildCounterOperationWarningsData < 3) { |
| 4239 unittest.expect(o.key, unittest.equals('foo')); | 4243 unittest.expect(o.key, unittest.equals('foo')); |
| 4240 unittest.expect(o.value, unittest.equals('foo')); | 4244 unittest.expect(o.value, unittest.equals('foo')); |
| 4241 } | 4245 } |
| 4242 buildCounterOperationWarningsData--; | 4246 buildCounterOperationWarningsData--; |
| 4243 } | 4247 } |
| 4244 | 4248 |
| 4245 buildUnnamed2356() { | 4249 buildUnnamed806() { |
| 4246 var o = new core.List<api.OperationWarningsData>(); | 4250 var o = new core.List<api.OperationWarningsData>(); |
| 4247 o.add(buildOperationWarningsData()); | 4251 o.add(buildOperationWarningsData()); |
| 4248 o.add(buildOperationWarningsData()); | 4252 o.add(buildOperationWarningsData()); |
| 4249 return o; | 4253 return o; |
| 4250 } | 4254 } |
| 4251 | 4255 |
| 4252 checkUnnamed2356(core.List<api.OperationWarningsData> o) { | 4256 checkUnnamed806(core.List<api.OperationWarningsData> o) { |
| 4253 unittest.expect(o, unittest.hasLength(2)); | 4257 unittest.expect(o, unittest.hasLength(2)); |
| 4254 checkOperationWarningsData(o[0]); | 4258 checkOperationWarningsData(o[0]); |
| 4255 checkOperationWarningsData(o[1]); | 4259 checkOperationWarningsData(o[1]); |
| 4256 } | 4260 } |
| 4257 | 4261 |
| 4258 core.int buildCounterOperationWarnings = 0; | 4262 core.int buildCounterOperationWarnings = 0; |
| 4259 buildOperationWarnings() { | 4263 buildOperationWarnings() { |
| 4260 var o = new api.OperationWarnings(); | 4264 var o = new api.OperationWarnings(); |
| 4261 buildCounterOperationWarnings++; | 4265 buildCounterOperationWarnings++; |
| 4262 if (buildCounterOperationWarnings < 3) { | 4266 if (buildCounterOperationWarnings < 3) { |
| 4263 o.code = "foo"; | 4267 o.code = "foo"; |
| 4264 o.data = buildUnnamed2356(); | 4268 o.data = buildUnnamed806(); |
| 4265 o.message = "foo"; | 4269 o.message = "foo"; |
| 4266 } | 4270 } |
| 4267 buildCounterOperationWarnings--; | 4271 buildCounterOperationWarnings--; |
| 4268 return o; | 4272 return o; |
| 4269 } | 4273 } |
| 4270 | 4274 |
| 4271 checkOperationWarnings(api.OperationWarnings o) { | 4275 checkOperationWarnings(api.OperationWarnings o) { |
| 4272 buildCounterOperationWarnings++; | 4276 buildCounterOperationWarnings++; |
| 4273 if (buildCounterOperationWarnings < 3) { | 4277 if (buildCounterOperationWarnings < 3) { |
| 4274 unittest.expect(o.code, unittest.equals('foo')); | 4278 unittest.expect(o.code, unittest.equals('foo')); |
| 4275 checkUnnamed2356(o.data); | 4279 checkUnnamed806(o.data); |
| 4276 unittest.expect(o.message, unittest.equals('foo')); | 4280 unittest.expect(o.message, unittest.equals('foo')); |
| 4277 } | 4281 } |
| 4278 buildCounterOperationWarnings--; | 4282 buildCounterOperationWarnings--; |
| 4279 } | 4283 } |
| 4280 | 4284 |
| 4281 buildUnnamed2357() { | 4285 buildUnnamed807() { |
| 4282 var o = new core.List<api.OperationWarnings>(); | 4286 var o = new core.List<api.OperationWarnings>(); |
| 4283 o.add(buildOperationWarnings()); | 4287 o.add(buildOperationWarnings()); |
| 4284 o.add(buildOperationWarnings()); | 4288 o.add(buildOperationWarnings()); |
| 4285 return o; | 4289 return o; |
| 4286 } | 4290 } |
| 4287 | 4291 |
| 4288 checkUnnamed2357(core.List<api.OperationWarnings> o) { | 4292 checkUnnamed807(core.List<api.OperationWarnings> o) { |
| 4289 unittest.expect(o, unittest.hasLength(2)); | 4293 unittest.expect(o, unittest.hasLength(2)); |
| 4290 checkOperationWarnings(o[0]); | 4294 checkOperationWarnings(o[0]); |
| 4291 checkOperationWarnings(o[1]); | 4295 checkOperationWarnings(o[1]); |
| 4292 } | 4296 } |
| 4293 | 4297 |
| 4294 core.int buildCounterOperation = 0; | 4298 core.int buildCounterOperation = 0; |
| 4295 buildOperation() { | 4299 buildOperation() { |
| 4296 var o = new api.Operation(); | 4300 var o = new api.Operation(); |
| 4297 buildCounterOperation++; | 4301 buildCounterOperation++; |
| 4298 if (buildCounterOperation < 3) { | 4302 if (buildCounterOperation < 3) { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 4310 o.operationType = "foo"; | 4314 o.operationType = "foo"; |
| 4311 o.progress = 42; | 4315 o.progress = 42; |
| 4312 o.region = "foo"; | 4316 o.region = "foo"; |
| 4313 o.selfLink = "foo"; | 4317 o.selfLink = "foo"; |
| 4314 o.startTime = "foo"; | 4318 o.startTime = "foo"; |
| 4315 o.status = "foo"; | 4319 o.status = "foo"; |
| 4316 o.statusMessage = "foo"; | 4320 o.statusMessage = "foo"; |
| 4317 o.targetId = "foo"; | 4321 o.targetId = "foo"; |
| 4318 o.targetLink = "foo"; | 4322 o.targetLink = "foo"; |
| 4319 o.user = "foo"; | 4323 o.user = "foo"; |
| 4320 o.warnings = buildUnnamed2357(); | 4324 o.warnings = buildUnnamed807(); |
| 4321 o.zone = "foo"; | 4325 o.zone = "foo"; |
| 4322 } | 4326 } |
| 4323 buildCounterOperation--; | 4327 buildCounterOperation--; |
| 4324 return o; | 4328 return o; |
| 4325 } | 4329 } |
| 4326 | 4330 |
| 4327 checkOperation(api.Operation o) { | 4331 checkOperation(api.Operation o) { |
| 4328 buildCounterOperation++; | 4332 buildCounterOperation++; |
| 4329 if (buildCounterOperation < 3) { | 4333 if (buildCounterOperation < 3) { |
| 4330 unittest.expect(o.clientOperationId, unittest.equals('foo')); | 4334 unittest.expect(o.clientOperationId, unittest.equals('foo')); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 4341 unittest.expect(o.operationType, unittest.equals('foo')); | 4345 unittest.expect(o.operationType, unittest.equals('foo')); |
| 4342 unittest.expect(o.progress, unittest.equals(42)); | 4346 unittest.expect(o.progress, unittest.equals(42)); |
| 4343 unittest.expect(o.region, unittest.equals('foo')); | 4347 unittest.expect(o.region, unittest.equals('foo')); |
| 4344 unittest.expect(o.selfLink, unittest.equals('foo')); | 4348 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 4345 unittest.expect(o.startTime, unittest.equals('foo')); | 4349 unittest.expect(o.startTime, unittest.equals('foo')); |
| 4346 unittest.expect(o.status, unittest.equals('foo')); | 4350 unittest.expect(o.status, unittest.equals('foo')); |
| 4347 unittest.expect(o.statusMessage, unittest.equals('foo')); | 4351 unittest.expect(o.statusMessage, unittest.equals('foo')); |
| 4348 unittest.expect(o.targetId, unittest.equals('foo')); | 4352 unittest.expect(o.targetId, unittest.equals('foo')); |
| 4349 unittest.expect(o.targetLink, unittest.equals('foo')); | 4353 unittest.expect(o.targetLink, unittest.equals('foo')); |
| 4350 unittest.expect(o.user, unittest.equals('foo')); | 4354 unittest.expect(o.user, unittest.equals('foo')); |
| 4351 checkUnnamed2357(o.warnings); | 4355 checkUnnamed807(o.warnings); |
| 4352 unittest.expect(o.zone, unittest.equals('foo')); | 4356 unittest.expect(o.zone, unittest.equals('foo')); |
| 4353 } | 4357 } |
| 4354 buildCounterOperation--; | 4358 buildCounterOperation--; |
| 4355 } | 4359 } |
| 4356 | 4360 |
| 4357 buildUnnamed2358() { | 4361 buildUnnamed808() { |
| 4358 var o = new core.Map<core.String, api.OperationsScopedList>(); | 4362 var o = new core.Map<core.String, api.OperationsScopedList>(); |
| 4359 o["x"] = buildOperationsScopedList(); | 4363 o["x"] = buildOperationsScopedList(); |
| 4360 o["y"] = buildOperationsScopedList(); | 4364 o["y"] = buildOperationsScopedList(); |
| 4361 return o; | 4365 return o; |
| 4362 } | 4366 } |
| 4363 | 4367 |
| 4364 checkUnnamed2358(core.Map<core.String, api.OperationsScopedList> o) { | 4368 checkUnnamed808(core.Map<core.String, api.OperationsScopedList> o) { |
| 4365 unittest.expect(o, unittest.hasLength(2)); | 4369 unittest.expect(o, unittest.hasLength(2)); |
| 4366 checkOperationsScopedList(o["x"]); | 4370 checkOperationsScopedList(o["x"]); |
| 4367 checkOperationsScopedList(o["y"]); | 4371 checkOperationsScopedList(o["y"]); |
| 4368 } | 4372 } |
| 4369 | 4373 |
| 4370 core.int buildCounterOperationAggregatedList = 0; | 4374 core.int buildCounterOperationAggregatedList = 0; |
| 4371 buildOperationAggregatedList() { | 4375 buildOperationAggregatedList() { |
| 4372 var o = new api.OperationAggregatedList(); | 4376 var o = new api.OperationAggregatedList(); |
| 4373 buildCounterOperationAggregatedList++; | 4377 buildCounterOperationAggregatedList++; |
| 4374 if (buildCounterOperationAggregatedList < 3) { | 4378 if (buildCounterOperationAggregatedList < 3) { |
| 4375 o.id = "foo"; | 4379 o.id = "foo"; |
| 4376 o.items = buildUnnamed2358(); | 4380 o.items = buildUnnamed808(); |
| 4377 o.kind = "foo"; | 4381 o.kind = "foo"; |
| 4378 o.nextPageToken = "foo"; | 4382 o.nextPageToken = "foo"; |
| 4379 o.selfLink = "foo"; | 4383 o.selfLink = "foo"; |
| 4380 } | 4384 } |
| 4381 buildCounterOperationAggregatedList--; | 4385 buildCounterOperationAggregatedList--; |
| 4382 return o; | 4386 return o; |
| 4383 } | 4387 } |
| 4384 | 4388 |
| 4385 checkOperationAggregatedList(api.OperationAggregatedList o) { | 4389 checkOperationAggregatedList(api.OperationAggregatedList o) { |
| 4386 buildCounterOperationAggregatedList++; | 4390 buildCounterOperationAggregatedList++; |
| 4387 if (buildCounterOperationAggregatedList < 3) { | 4391 if (buildCounterOperationAggregatedList < 3) { |
| 4388 unittest.expect(o.id, unittest.equals('foo')); | 4392 unittest.expect(o.id, unittest.equals('foo')); |
| 4389 checkUnnamed2358(o.items); | 4393 checkUnnamed808(o.items); |
| 4390 unittest.expect(o.kind, unittest.equals('foo')); | 4394 unittest.expect(o.kind, unittest.equals('foo')); |
| 4391 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4395 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 4392 unittest.expect(o.selfLink, unittest.equals('foo')); | 4396 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 4393 } | 4397 } |
| 4394 buildCounterOperationAggregatedList--; | 4398 buildCounterOperationAggregatedList--; |
| 4395 } | 4399 } |
| 4396 | 4400 |
| 4397 buildUnnamed2359() { | 4401 buildUnnamed809() { |
| 4398 var o = new core.List<api.Operation>(); | 4402 var o = new core.List<api.Operation>(); |
| 4399 o.add(buildOperation()); | 4403 o.add(buildOperation()); |
| 4400 o.add(buildOperation()); | 4404 o.add(buildOperation()); |
| 4401 return o; | 4405 return o; |
| 4402 } | 4406 } |
| 4403 | 4407 |
| 4404 checkUnnamed2359(core.List<api.Operation> o) { | 4408 checkUnnamed809(core.List<api.Operation> o) { |
| 4405 unittest.expect(o, unittest.hasLength(2)); | 4409 unittest.expect(o, unittest.hasLength(2)); |
| 4406 checkOperation(o[0]); | 4410 checkOperation(o[0]); |
| 4407 checkOperation(o[1]); | 4411 checkOperation(o[1]); |
| 4408 } | 4412 } |
| 4409 | 4413 |
| 4410 core.int buildCounterOperationList = 0; | 4414 core.int buildCounterOperationList = 0; |
| 4411 buildOperationList() { | 4415 buildOperationList() { |
| 4412 var o = new api.OperationList(); | 4416 var o = new api.OperationList(); |
| 4413 buildCounterOperationList++; | 4417 buildCounterOperationList++; |
| 4414 if (buildCounterOperationList < 3) { | 4418 if (buildCounterOperationList < 3) { |
| 4415 o.id = "foo"; | 4419 o.id = "foo"; |
| 4416 o.items = buildUnnamed2359(); | 4420 o.items = buildUnnamed809(); |
| 4417 o.kind = "foo"; | 4421 o.kind = "foo"; |
| 4418 o.nextPageToken = "foo"; | 4422 o.nextPageToken = "foo"; |
| 4419 o.selfLink = "foo"; | 4423 o.selfLink = "foo"; |
| 4420 } | 4424 } |
| 4421 buildCounterOperationList--; | 4425 buildCounterOperationList--; |
| 4422 return o; | 4426 return o; |
| 4423 } | 4427 } |
| 4424 | 4428 |
| 4425 checkOperationList(api.OperationList o) { | 4429 checkOperationList(api.OperationList o) { |
| 4426 buildCounterOperationList++; | 4430 buildCounterOperationList++; |
| 4427 if (buildCounterOperationList < 3) { | 4431 if (buildCounterOperationList < 3) { |
| 4428 unittest.expect(o.id, unittest.equals('foo')); | 4432 unittest.expect(o.id, unittest.equals('foo')); |
| 4429 checkUnnamed2359(o.items); | 4433 checkUnnamed809(o.items); |
| 4430 unittest.expect(o.kind, unittest.equals('foo')); | 4434 unittest.expect(o.kind, unittest.equals('foo')); |
| 4431 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4435 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 4432 unittest.expect(o.selfLink, unittest.equals('foo')); | 4436 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 4433 } | 4437 } |
| 4434 buildCounterOperationList--; | 4438 buildCounterOperationList--; |
| 4435 } | 4439 } |
| 4436 | 4440 |
| 4437 buildUnnamed2360() { | 4441 buildUnnamed810() { |
| 4438 var o = new core.List<api.Operation>(); | 4442 var o = new core.List<api.Operation>(); |
| 4439 o.add(buildOperation()); | 4443 o.add(buildOperation()); |
| 4440 o.add(buildOperation()); | 4444 o.add(buildOperation()); |
| 4441 return o; | 4445 return o; |
| 4442 } | 4446 } |
| 4443 | 4447 |
| 4444 checkUnnamed2360(core.List<api.Operation> o) { | 4448 checkUnnamed810(core.List<api.Operation> o) { |
| 4445 unittest.expect(o, unittest.hasLength(2)); | 4449 unittest.expect(o, unittest.hasLength(2)); |
| 4446 checkOperation(o[0]); | 4450 checkOperation(o[0]); |
| 4447 checkOperation(o[1]); | 4451 checkOperation(o[1]); |
| 4448 } | 4452 } |
| 4449 | 4453 |
| 4450 core.int buildCounterOperationsScopedListWarningData = 0; | 4454 core.int buildCounterOperationsScopedListWarningData = 0; |
| 4451 buildOperationsScopedListWarningData() { | 4455 buildOperationsScopedListWarningData() { |
| 4452 var o = new api.OperationsScopedListWarningData(); | 4456 var o = new api.OperationsScopedListWarningData(); |
| 4453 buildCounterOperationsScopedListWarningData++; | 4457 buildCounterOperationsScopedListWarningData++; |
| 4454 if (buildCounterOperationsScopedListWarningData < 3) { | 4458 if (buildCounterOperationsScopedListWarningData < 3) { |
| 4455 o.key = "foo"; | 4459 o.key = "foo"; |
| 4456 o.value = "foo"; | 4460 o.value = "foo"; |
| 4457 } | 4461 } |
| 4458 buildCounterOperationsScopedListWarningData--; | 4462 buildCounterOperationsScopedListWarningData--; |
| 4459 return o; | 4463 return o; |
| 4460 } | 4464 } |
| 4461 | 4465 |
| 4462 checkOperationsScopedListWarningData(api.OperationsScopedListWarningData o) { | 4466 checkOperationsScopedListWarningData(api.OperationsScopedListWarningData o) { |
| 4463 buildCounterOperationsScopedListWarningData++; | 4467 buildCounterOperationsScopedListWarningData++; |
| 4464 if (buildCounterOperationsScopedListWarningData < 3) { | 4468 if (buildCounterOperationsScopedListWarningData < 3) { |
| 4465 unittest.expect(o.key, unittest.equals('foo')); | 4469 unittest.expect(o.key, unittest.equals('foo')); |
| 4466 unittest.expect(o.value, unittest.equals('foo')); | 4470 unittest.expect(o.value, unittest.equals('foo')); |
| 4467 } | 4471 } |
| 4468 buildCounterOperationsScopedListWarningData--; | 4472 buildCounterOperationsScopedListWarningData--; |
| 4469 } | 4473 } |
| 4470 | 4474 |
| 4471 buildUnnamed2361() { | 4475 buildUnnamed811() { |
| 4472 var o = new core.List<api.OperationsScopedListWarningData>(); | 4476 var o = new core.List<api.OperationsScopedListWarningData>(); |
| 4473 o.add(buildOperationsScopedListWarningData()); | 4477 o.add(buildOperationsScopedListWarningData()); |
| 4474 o.add(buildOperationsScopedListWarningData()); | 4478 o.add(buildOperationsScopedListWarningData()); |
| 4475 return o; | 4479 return o; |
| 4476 } | 4480 } |
| 4477 | 4481 |
| 4478 checkUnnamed2361(core.List<api.OperationsScopedListWarningData> o) { | 4482 checkUnnamed811(core.List<api.OperationsScopedListWarningData> o) { |
| 4479 unittest.expect(o, unittest.hasLength(2)); | 4483 unittest.expect(o, unittest.hasLength(2)); |
| 4480 checkOperationsScopedListWarningData(o[0]); | 4484 checkOperationsScopedListWarningData(o[0]); |
| 4481 checkOperationsScopedListWarningData(o[1]); | 4485 checkOperationsScopedListWarningData(o[1]); |
| 4482 } | 4486 } |
| 4483 | 4487 |
| 4484 core.int buildCounterOperationsScopedListWarning = 0; | 4488 core.int buildCounterOperationsScopedListWarning = 0; |
| 4485 buildOperationsScopedListWarning() { | 4489 buildOperationsScopedListWarning() { |
| 4486 var o = new api.OperationsScopedListWarning(); | 4490 var o = new api.OperationsScopedListWarning(); |
| 4487 buildCounterOperationsScopedListWarning++; | 4491 buildCounterOperationsScopedListWarning++; |
| 4488 if (buildCounterOperationsScopedListWarning < 3) { | 4492 if (buildCounterOperationsScopedListWarning < 3) { |
| 4489 o.code = "foo"; | 4493 o.code = "foo"; |
| 4490 o.data = buildUnnamed2361(); | 4494 o.data = buildUnnamed811(); |
| 4491 o.message = "foo"; | 4495 o.message = "foo"; |
| 4492 } | 4496 } |
| 4493 buildCounterOperationsScopedListWarning--; | 4497 buildCounterOperationsScopedListWarning--; |
| 4494 return o; | 4498 return o; |
| 4495 } | 4499 } |
| 4496 | 4500 |
| 4497 checkOperationsScopedListWarning(api.OperationsScopedListWarning o) { | 4501 checkOperationsScopedListWarning(api.OperationsScopedListWarning o) { |
| 4498 buildCounterOperationsScopedListWarning++; | 4502 buildCounterOperationsScopedListWarning++; |
| 4499 if (buildCounterOperationsScopedListWarning < 3) { | 4503 if (buildCounterOperationsScopedListWarning < 3) { |
| 4500 unittest.expect(o.code, unittest.equals('foo')); | 4504 unittest.expect(o.code, unittest.equals('foo')); |
| 4501 checkUnnamed2361(o.data); | 4505 checkUnnamed811(o.data); |
| 4502 unittest.expect(o.message, unittest.equals('foo')); | 4506 unittest.expect(o.message, unittest.equals('foo')); |
| 4503 } | 4507 } |
| 4504 buildCounterOperationsScopedListWarning--; | 4508 buildCounterOperationsScopedListWarning--; |
| 4505 } | 4509 } |
| 4506 | 4510 |
| 4507 core.int buildCounterOperationsScopedList = 0; | 4511 core.int buildCounterOperationsScopedList = 0; |
| 4508 buildOperationsScopedList() { | 4512 buildOperationsScopedList() { |
| 4509 var o = new api.OperationsScopedList(); | 4513 var o = new api.OperationsScopedList(); |
| 4510 buildCounterOperationsScopedList++; | 4514 buildCounterOperationsScopedList++; |
| 4511 if (buildCounterOperationsScopedList < 3) { | 4515 if (buildCounterOperationsScopedList < 3) { |
| 4512 o.operations = buildUnnamed2360(); | 4516 o.operations = buildUnnamed810(); |
| 4513 o.warning = buildOperationsScopedListWarning(); | 4517 o.warning = buildOperationsScopedListWarning(); |
| 4514 } | 4518 } |
| 4515 buildCounterOperationsScopedList--; | 4519 buildCounterOperationsScopedList--; |
| 4516 return o; | 4520 return o; |
| 4517 } | 4521 } |
| 4518 | 4522 |
| 4519 checkOperationsScopedList(api.OperationsScopedList o) { | 4523 checkOperationsScopedList(api.OperationsScopedList o) { |
| 4520 buildCounterOperationsScopedList++; | 4524 buildCounterOperationsScopedList++; |
| 4521 if (buildCounterOperationsScopedList < 3) { | 4525 if (buildCounterOperationsScopedList < 3) { |
| 4522 checkUnnamed2360(o.operations); | 4526 checkUnnamed810(o.operations); |
| 4523 checkOperationsScopedListWarning(o.warning); | 4527 checkOperationsScopedListWarning(o.warning); |
| 4524 } | 4528 } |
| 4525 buildCounterOperationsScopedList--; | 4529 buildCounterOperationsScopedList--; |
| 4526 } | 4530 } |
| 4527 | 4531 |
| 4528 buildUnnamed2362() { | 4532 buildUnnamed812() { |
| 4529 var o = new core.List<api.PathRule>(); | 4533 var o = new core.List<api.PathRule>(); |
| 4530 o.add(buildPathRule()); | 4534 o.add(buildPathRule()); |
| 4531 o.add(buildPathRule()); | 4535 o.add(buildPathRule()); |
| 4532 return o; | 4536 return o; |
| 4533 } | 4537 } |
| 4534 | 4538 |
| 4535 checkUnnamed2362(core.List<api.PathRule> o) { | 4539 checkUnnamed812(core.List<api.PathRule> o) { |
| 4536 unittest.expect(o, unittest.hasLength(2)); | 4540 unittest.expect(o, unittest.hasLength(2)); |
| 4537 checkPathRule(o[0]); | 4541 checkPathRule(o[0]); |
| 4538 checkPathRule(o[1]); | 4542 checkPathRule(o[1]); |
| 4539 } | 4543 } |
| 4540 | 4544 |
| 4541 core.int buildCounterPathMatcher = 0; | 4545 core.int buildCounterPathMatcher = 0; |
| 4542 buildPathMatcher() { | 4546 buildPathMatcher() { |
| 4543 var o = new api.PathMatcher(); | 4547 var o = new api.PathMatcher(); |
| 4544 buildCounterPathMatcher++; | 4548 buildCounterPathMatcher++; |
| 4545 if (buildCounterPathMatcher < 3) { | 4549 if (buildCounterPathMatcher < 3) { |
| 4546 o.defaultService = "foo"; | 4550 o.defaultService = "foo"; |
| 4547 o.description = "foo"; | 4551 o.description = "foo"; |
| 4548 o.name = "foo"; | 4552 o.name = "foo"; |
| 4549 o.pathRules = buildUnnamed2362(); | 4553 o.pathRules = buildUnnamed812(); |
| 4550 } | 4554 } |
| 4551 buildCounterPathMatcher--; | 4555 buildCounterPathMatcher--; |
| 4552 return o; | 4556 return o; |
| 4553 } | 4557 } |
| 4554 | 4558 |
| 4555 checkPathMatcher(api.PathMatcher o) { | 4559 checkPathMatcher(api.PathMatcher o) { |
| 4556 buildCounterPathMatcher++; | 4560 buildCounterPathMatcher++; |
| 4557 if (buildCounterPathMatcher < 3) { | 4561 if (buildCounterPathMatcher < 3) { |
| 4558 unittest.expect(o.defaultService, unittest.equals('foo')); | 4562 unittest.expect(o.defaultService, unittest.equals('foo')); |
| 4559 unittest.expect(o.description, unittest.equals('foo')); | 4563 unittest.expect(o.description, unittest.equals('foo')); |
| 4560 unittest.expect(o.name, unittest.equals('foo')); | 4564 unittest.expect(o.name, unittest.equals('foo')); |
| 4561 checkUnnamed2362(o.pathRules); | 4565 checkUnnamed812(o.pathRules); |
| 4562 } | 4566 } |
| 4563 buildCounterPathMatcher--; | 4567 buildCounterPathMatcher--; |
| 4564 } | 4568 } |
| 4565 | 4569 |
| 4566 buildUnnamed2363() { | 4570 buildUnnamed813() { |
| 4567 var o = new core.List<core.String>(); | 4571 var o = new core.List<core.String>(); |
| 4568 o.add("foo"); | 4572 o.add("foo"); |
| 4569 o.add("foo"); | 4573 o.add("foo"); |
| 4570 return o; | 4574 return o; |
| 4571 } | 4575 } |
| 4572 | 4576 |
| 4573 checkUnnamed2363(core.List<core.String> o) { | 4577 checkUnnamed813(core.List<core.String> o) { |
| 4574 unittest.expect(o, unittest.hasLength(2)); | 4578 unittest.expect(o, unittest.hasLength(2)); |
| 4575 unittest.expect(o[0], unittest.equals('foo')); | 4579 unittest.expect(o[0], unittest.equals('foo')); |
| 4576 unittest.expect(o[1], unittest.equals('foo')); | 4580 unittest.expect(o[1], unittest.equals('foo')); |
| 4577 } | 4581 } |
| 4578 | 4582 |
| 4579 core.int buildCounterPathRule = 0; | 4583 core.int buildCounterPathRule = 0; |
| 4580 buildPathRule() { | 4584 buildPathRule() { |
| 4581 var o = new api.PathRule(); | 4585 var o = new api.PathRule(); |
| 4582 buildCounterPathRule++; | 4586 buildCounterPathRule++; |
| 4583 if (buildCounterPathRule < 3) { | 4587 if (buildCounterPathRule < 3) { |
| 4584 o.paths = buildUnnamed2363(); | 4588 o.paths = buildUnnamed813(); |
| 4585 o.service = "foo"; | 4589 o.service = "foo"; |
| 4586 } | 4590 } |
| 4587 buildCounterPathRule--; | 4591 buildCounterPathRule--; |
| 4588 return o; | 4592 return o; |
| 4589 } | 4593 } |
| 4590 | 4594 |
| 4591 checkPathRule(api.PathRule o) { | 4595 checkPathRule(api.PathRule o) { |
| 4592 buildCounterPathRule++; | 4596 buildCounterPathRule++; |
| 4593 if (buildCounterPathRule < 3) { | 4597 if (buildCounterPathRule < 3) { |
| 4594 checkUnnamed2363(o.paths); | 4598 checkUnnamed813(o.paths); |
| 4595 unittest.expect(o.service, unittest.equals('foo')); | 4599 unittest.expect(o.service, unittest.equals('foo')); |
| 4596 } | 4600 } |
| 4597 buildCounterPathRule--; | 4601 buildCounterPathRule--; |
| 4598 } | 4602 } |
| 4599 | 4603 |
| 4600 buildUnnamed2364() { | 4604 buildUnnamed814() { |
| 4601 var o = new core.List<core.String>(); | 4605 var o = new core.List<core.String>(); |
| 4602 o.add("foo"); | 4606 o.add("foo"); |
| 4603 o.add("foo"); | 4607 o.add("foo"); |
| 4604 return o; | 4608 return o; |
| 4605 } | 4609 } |
| 4606 | 4610 |
| 4607 checkUnnamed2364(core.List<core.String> o) { | 4611 checkUnnamed814(core.List<core.String> o) { |
| 4608 unittest.expect(o, unittest.hasLength(2)); | 4612 unittest.expect(o, unittest.hasLength(2)); |
| 4609 unittest.expect(o[0], unittest.equals('foo')); | 4613 unittest.expect(o[0], unittest.equals('foo')); |
| 4610 unittest.expect(o[1], unittest.equals('foo')); | 4614 unittest.expect(o[1], unittest.equals('foo')); |
| 4611 } | 4615 } |
| 4612 | 4616 |
| 4613 buildUnnamed2365() { | 4617 buildUnnamed815() { |
| 4614 var o = new core.List<api.Quota>(); | 4618 var o = new core.List<api.Quota>(); |
| 4615 o.add(buildQuota()); | 4619 o.add(buildQuota()); |
| 4616 o.add(buildQuota()); | 4620 o.add(buildQuota()); |
| 4617 return o; | 4621 return o; |
| 4618 } | 4622 } |
| 4619 | 4623 |
| 4620 checkUnnamed2365(core.List<api.Quota> o) { | 4624 checkUnnamed815(core.List<api.Quota> o) { |
| 4621 unittest.expect(o, unittest.hasLength(2)); | 4625 unittest.expect(o, unittest.hasLength(2)); |
| 4622 checkQuota(o[0]); | 4626 checkQuota(o[0]); |
| 4623 checkQuota(o[1]); | 4627 checkQuota(o[1]); |
| 4624 } | 4628 } |
| 4625 | 4629 |
| 4626 core.int buildCounterProject = 0; | 4630 core.int buildCounterProject = 0; |
| 4627 buildProject() { | 4631 buildProject() { |
| 4628 var o = new api.Project(); | 4632 var o = new api.Project(); |
| 4629 buildCounterProject++; | 4633 buildCounterProject++; |
| 4630 if (buildCounterProject < 3) { | 4634 if (buildCounterProject < 3) { |
| 4631 o.commonInstanceMetadata = buildMetadata(); | 4635 o.commonInstanceMetadata = buildMetadata(); |
| 4632 o.creationTimestamp = "foo"; | 4636 o.creationTimestamp = "foo"; |
| 4633 o.defaultServiceAccount = "foo"; | 4637 o.defaultServiceAccount = "foo"; |
| 4634 o.description = "foo"; | 4638 o.description = "foo"; |
| 4635 o.enabledFeatures = buildUnnamed2364(); | 4639 o.enabledFeatures = buildUnnamed814(); |
| 4636 o.id = "foo"; | 4640 o.id = "foo"; |
| 4637 o.kind = "foo"; | 4641 o.kind = "foo"; |
| 4638 o.name = "foo"; | 4642 o.name = "foo"; |
| 4639 o.quotas = buildUnnamed2365(); | 4643 o.quotas = buildUnnamed815(); |
| 4640 o.selfLink = "foo"; | 4644 o.selfLink = "foo"; |
| 4641 o.usageExportLocation = buildUsageExportLocation(); | 4645 o.usageExportLocation = buildUsageExportLocation(); |
| 4642 } | 4646 } |
| 4643 buildCounterProject--; | 4647 buildCounterProject--; |
| 4644 return o; | 4648 return o; |
| 4645 } | 4649 } |
| 4646 | 4650 |
| 4647 checkProject(api.Project o) { | 4651 checkProject(api.Project o) { |
| 4648 buildCounterProject++; | 4652 buildCounterProject++; |
| 4649 if (buildCounterProject < 3) { | 4653 if (buildCounterProject < 3) { |
| 4650 checkMetadata(o.commonInstanceMetadata); | 4654 checkMetadata(o.commonInstanceMetadata); |
| 4651 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 4655 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 4652 unittest.expect(o.defaultServiceAccount, unittest.equals('foo')); | 4656 unittest.expect(o.defaultServiceAccount, unittest.equals('foo')); |
| 4653 unittest.expect(o.description, unittest.equals('foo')); | 4657 unittest.expect(o.description, unittest.equals('foo')); |
| 4654 checkUnnamed2364(o.enabledFeatures); | 4658 checkUnnamed814(o.enabledFeatures); |
| 4655 unittest.expect(o.id, unittest.equals('foo')); | 4659 unittest.expect(o.id, unittest.equals('foo')); |
| 4656 unittest.expect(o.kind, unittest.equals('foo')); | 4660 unittest.expect(o.kind, unittest.equals('foo')); |
| 4657 unittest.expect(o.name, unittest.equals('foo')); | 4661 unittest.expect(o.name, unittest.equals('foo')); |
| 4658 checkUnnamed2365(o.quotas); | 4662 checkUnnamed815(o.quotas); |
| 4659 unittest.expect(o.selfLink, unittest.equals('foo')); | 4663 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 4660 checkUsageExportLocation(o.usageExportLocation); | 4664 checkUsageExportLocation(o.usageExportLocation); |
| 4661 } | 4665 } |
| 4662 buildCounterProject--; | 4666 buildCounterProject--; |
| 4663 } | 4667 } |
| 4664 | 4668 |
| 4665 core.int buildCounterQuota = 0; | 4669 core.int buildCounterQuota = 0; |
| 4666 buildQuota() { | 4670 buildQuota() { |
| 4667 var o = new api.Quota(); | 4671 var o = new api.Quota(); |
| 4668 buildCounterQuota++; | 4672 buildCounterQuota++; |
| 4669 if (buildCounterQuota < 3) { | 4673 if (buildCounterQuota < 3) { |
| 4670 o.limit = 42.0; | 4674 o.limit = 42.0; |
| 4671 o.metric = "foo"; | 4675 o.metric = "foo"; |
| 4672 o.usage = 42.0; | 4676 o.usage = 42.0; |
| 4673 } | 4677 } |
| 4674 buildCounterQuota--; | 4678 buildCounterQuota--; |
| 4675 return o; | 4679 return o; |
| 4676 } | 4680 } |
| 4677 | 4681 |
| 4678 checkQuota(api.Quota o) { | 4682 checkQuota(api.Quota o) { |
| 4679 buildCounterQuota++; | 4683 buildCounterQuota++; |
| 4680 if (buildCounterQuota < 3) { | 4684 if (buildCounterQuota < 3) { |
| 4681 unittest.expect(o.limit, unittest.equals(42.0)); | 4685 unittest.expect(o.limit, unittest.equals(42.0)); |
| 4682 unittest.expect(o.metric, unittest.equals('foo')); | 4686 unittest.expect(o.metric, unittest.equals('foo')); |
| 4683 unittest.expect(o.usage, unittest.equals(42.0)); | 4687 unittest.expect(o.usage, unittest.equals(42.0)); |
| 4684 } | 4688 } |
| 4685 buildCounterQuota--; | 4689 buildCounterQuota--; |
| 4686 } | 4690 } |
| 4687 | 4691 |
| 4688 buildUnnamed2366() { | 4692 buildUnnamed816() { |
| 4689 var o = new core.List<api.Quota>(); | 4693 var o = new core.List<api.Quota>(); |
| 4690 o.add(buildQuota()); | 4694 o.add(buildQuota()); |
| 4691 o.add(buildQuota()); | 4695 o.add(buildQuota()); |
| 4692 return o; | 4696 return o; |
| 4693 } | 4697 } |
| 4694 | 4698 |
| 4695 checkUnnamed2366(core.List<api.Quota> o) { | 4699 checkUnnamed816(core.List<api.Quota> o) { |
| 4696 unittest.expect(o, unittest.hasLength(2)); | 4700 unittest.expect(o, unittest.hasLength(2)); |
| 4697 checkQuota(o[0]); | 4701 checkQuota(o[0]); |
| 4698 checkQuota(o[1]); | 4702 checkQuota(o[1]); |
| 4699 } | 4703 } |
| 4700 | 4704 |
| 4701 buildUnnamed2367() { | 4705 buildUnnamed817() { |
| 4702 var o = new core.List<core.String>(); | 4706 var o = new core.List<core.String>(); |
| 4703 o.add("foo"); | 4707 o.add("foo"); |
| 4704 o.add("foo"); | 4708 o.add("foo"); |
| 4705 return o; | 4709 return o; |
| 4706 } | 4710 } |
| 4707 | 4711 |
| 4708 checkUnnamed2367(core.List<core.String> o) { | 4712 checkUnnamed817(core.List<core.String> o) { |
| 4709 unittest.expect(o, unittest.hasLength(2)); | 4713 unittest.expect(o, unittest.hasLength(2)); |
| 4710 unittest.expect(o[0], unittest.equals('foo')); | 4714 unittest.expect(o[0], unittest.equals('foo')); |
| 4711 unittest.expect(o[1], unittest.equals('foo')); | 4715 unittest.expect(o[1], unittest.equals('foo')); |
| 4712 } | 4716 } |
| 4713 | 4717 |
| 4714 core.int buildCounterRegion = 0; | 4718 core.int buildCounterRegion = 0; |
| 4715 buildRegion() { | 4719 buildRegion() { |
| 4716 var o = new api.Region(); | 4720 var o = new api.Region(); |
| 4717 buildCounterRegion++; | 4721 buildCounterRegion++; |
| 4718 if (buildCounterRegion < 3) { | 4722 if (buildCounterRegion < 3) { |
| 4719 o.creationTimestamp = "foo"; | 4723 o.creationTimestamp = "foo"; |
| 4720 o.deprecated = buildDeprecationStatus(); | 4724 o.deprecated = buildDeprecationStatus(); |
| 4721 o.description = "foo"; | 4725 o.description = "foo"; |
| 4722 o.id = "foo"; | 4726 o.id = "foo"; |
| 4723 o.kind = "foo"; | 4727 o.kind = "foo"; |
| 4724 o.name = "foo"; | 4728 o.name = "foo"; |
| 4725 o.quotas = buildUnnamed2366(); | 4729 o.quotas = buildUnnamed816(); |
| 4726 o.selfLink = "foo"; | 4730 o.selfLink = "foo"; |
| 4727 o.status = "foo"; | 4731 o.status = "foo"; |
| 4728 o.zones = buildUnnamed2367(); | 4732 o.zones = buildUnnamed817(); |
| 4729 } | 4733 } |
| 4730 buildCounterRegion--; | 4734 buildCounterRegion--; |
| 4731 return o; | 4735 return o; |
| 4732 } | 4736 } |
| 4733 | 4737 |
| 4734 checkRegion(api.Region o) { | 4738 checkRegion(api.Region o) { |
| 4735 buildCounterRegion++; | 4739 buildCounterRegion++; |
| 4736 if (buildCounterRegion < 3) { | 4740 if (buildCounterRegion < 3) { |
| 4737 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 4741 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 4738 checkDeprecationStatus(o.deprecated); | 4742 checkDeprecationStatus(o.deprecated); |
| 4739 unittest.expect(o.description, unittest.equals('foo')); | 4743 unittest.expect(o.description, unittest.equals('foo')); |
| 4740 unittest.expect(o.id, unittest.equals('foo')); | 4744 unittest.expect(o.id, unittest.equals('foo')); |
| 4741 unittest.expect(o.kind, unittest.equals('foo')); | 4745 unittest.expect(o.kind, unittest.equals('foo')); |
| 4742 unittest.expect(o.name, unittest.equals('foo')); | 4746 unittest.expect(o.name, unittest.equals('foo')); |
| 4743 checkUnnamed2366(o.quotas); | 4747 checkUnnamed816(o.quotas); |
| 4744 unittest.expect(o.selfLink, unittest.equals('foo')); | 4748 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 4745 unittest.expect(o.status, unittest.equals('foo')); | 4749 unittest.expect(o.status, unittest.equals('foo')); |
| 4746 checkUnnamed2367(o.zones); | 4750 checkUnnamed817(o.zones); |
| 4747 } | 4751 } |
| 4748 buildCounterRegion--; | 4752 buildCounterRegion--; |
| 4749 } | 4753 } |
| 4750 | 4754 |
| 4751 buildUnnamed2368() { | 4755 buildUnnamed818() { |
| 4752 var o = new core.List<api.Region>(); | 4756 var o = new core.List<api.Region>(); |
| 4753 o.add(buildRegion()); | 4757 o.add(buildRegion()); |
| 4754 o.add(buildRegion()); | 4758 o.add(buildRegion()); |
| 4755 return o; | 4759 return o; |
| 4756 } | 4760 } |
| 4757 | 4761 |
| 4758 checkUnnamed2368(core.List<api.Region> o) { | 4762 checkUnnamed818(core.List<api.Region> o) { |
| 4759 unittest.expect(o, unittest.hasLength(2)); | 4763 unittest.expect(o, unittest.hasLength(2)); |
| 4760 checkRegion(o[0]); | 4764 checkRegion(o[0]); |
| 4761 checkRegion(o[1]); | 4765 checkRegion(o[1]); |
| 4762 } | 4766 } |
| 4763 | 4767 |
| 4764 core.int buildCounterRegionList = 0; | 4768 core.int buildCounterRegionList = 0; |
| 4765 buildRegionList() { | 4769 buildRegionList() { |
| 4766 var o = new api.RegionList(); | 4770 var o = new api.RegionList(); |
| 4767 buildCounterRegionList++; | 4771 buildCounterRegionList++; |
| 4768 if (buildCounterRegionList < 3) { | 4772 if (buildCounterRegionList < 3) { |
| 4769 o.id = "foo"; | 4773 o.id = "foo"; |
| 4770 o.items = buildUnnamed2368(); | 4774 o.items = buildUnnamed818(); |
| 4771 o.kind = "foo"; | 4775 o.kind = "foo"; |
| 4772 o.nextPageToken = "foo"; | 4776 o.nextPageToken = "foo"; |
| 4773 o.selfLink = "foo"; | 4777 o.selfLink = "foo"; |
| 4774 } | 4778 } |
| 4775 buildCounterRegionList--; | 4779 buildCounterRegionList--; |
| 4776 return o; | 4780 return o; |
| 4777 } | 4781 } |
| 4778 | 4782 |
| 4779 checkRegionList(api.RegionList o) { | 4783 checkRegionList(api.RegionList o) { |
| 4780 buildCounterRegionList++; | 4784 buildCounterRegionList++; |
| 4781 if (buildCounterRegionList < 3) { | 4785 if (buildCounterRegionList < 3) { |
| 4782 unittest.expect(o.id, unittest.equals('foo')); | 4786 unittest.expect(o.id, unittest.equals('foo')); |
| 4783 checkUnnamed2368(o.items); | 4787 checkUnnamed818(o.items); |
| 4784 unittest.expect(o.kind, unittest.equals('foo')); | 4788 unittest.expect(o.kind, unittest.equals('foo')); |
| 4785 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4789 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 4786 unittest.expect(o.selfLink, unittest.equals('foo')); | 4790 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 4787 } | 4791 } |
| 4788 buildCounterRegionList--; | 4792 buildCounterRegionList--; |
| 4789 } | 4793 } |
| 4790 | 4794 |
| 4791 core.int buildCounterResourceGroupReference = 0; | 4795 core.int buildCounterResourceGroupReference = 0; |
| 4792 buildResourceGroupReference() { | 4796 buildResourceGroupReference() { |
| 4793 var o = new api.ResourceGroupReference(); | 4797 var o = new api.ResourceGroupReference(); |
| 4794 buildCounterResourceGroupReference++; | 4798 buildCounterResourceGroupReference++; |
| 4795 if (buildCounterResourceGroupReference < 3) { | 4799 if (buildCounterResourceGroupReference < 3) { |
| 4796 o.group = "foo"; | 4800 o.group = "foo"; |
| 4797 } | 4801 } |
| 4798 buildCounterResourceGroupReference--; | 4802 buildCounterResourceGroupReference--; |
| 4799 return o; | 4803 return o; |
| 4800 } | 4804 } |
| 4801 | 4805 |
| 4802 checkResourceGroupReference(api.ResourceGroupReference o) { | 4806 checkResourceGroupReference(api.ResourceGroupReference o) { |
| 4803 buildCounterResourceGroupReference++; | 4807 buildCounterResourceGroupReference++; |
| 4804 if (buildCounterResourceGroupReference < 3) { | 4808 if (buildCounterResourceGroupReference < 3) { |
| 4805 unittest.expect(o.group, unittest.equals('foo')); | 4809 unittest.expect(o.group, unittest.equals('foo')); |
| 4806 } | 4810 } |
| 4807 buildCounterResourceGroupReference--; | 4811 buildCounterResourceGroupReference--; |
| 4808 } | 4812 } |
| 4809 | 4813 |
| 4810 buildUnnamed2369() { | 4814 buildUnnamed819() { |
| 4811 var o = new core.List<core.String>(); | 4815 var o = new core.List<core.String>(); |
| 4812 o.add("foo"); | 4816 o.add("foo"); |
| 4813 o.add("foo"); | 4817 o.add("foo"); |
| 4814 return o; | 4818 return o; |
| 4815 } | 4819 } |
| 4816 | 4820 |
| 4817 checkUnnamed2369(core.List<core.String> o) { | 4821 checkUnnamed819(core.List<core.String> o) { |
| 4818 unittest.expect(o, unittest.hasLength(2)); | 4822 unittest.expect(o, unittest.hasLength(2)); |
| 4819 unittest.expect(o[0], unittest.equals('foo')); | 4823 unittest.expect(o[0], unittest.equals('foo')); |
| 4820 unittest.expect(o[1], unittest.equals('foo')); | 4824 unittest.expect(o[1], unittest.equals('foo')); |
| 4821 } | 4825 } |
| 4822 | 4826 |
| 4823 core.int buildCounterRouteWarningsData = 0; | 4827 core.int buildCounterRouteWarningsData = 0; |
| 4824 buildRouteWarningsData() { | 4828 buildRouteWarningsData() { |
| 4825 var o = new api.RouteWarningsData(); | 4829 var o = new api.RouteWarningsData(); |
| 4826 buildCounterRouteWarningsData++; | 4830 buildCounterRouteWarningsData++; |
| 4827 if (buildCounterRouteWarningsData < 3) { | 4831 if (buildCounterRouteWarningsData < 3) { |
| 4828 o.key = "foo"; | 4832 o.key = "foo"; |
| 4829 o.value = "foo"; | 4833 o.value = "foo"; |
| 4830 } | 4834 } |
| 4831 buildCounterRouteWarningsData--; | 4835 buildCounterRouteWarningsData--; |
| 4832 return o; | 4836 return o; |
| 4833 } | 4837 } |
| 4834 | 4838 |
| 4835 checkRouteWarningsData(api.RouteWarningsData o) { | 4839 checkRouteWarningsData(api.RouteWarningsData o) { |
| 4836 buildCounterRouteWarningsData++; | 4840 buildCounterRouteWarningsData++; |
| 4837 if (buildCounterRouteWarningsData < 3) { | 4841 if (buildCounterRouteWarningsData < 3) { |
| 4838 unittest.expect(o.key, unittest.equals('foo')); | 4842 unittest.expect(o.key, unittest.equals('foo')); |
| 4839 unittest.expect(o.value, unittest.equals('foo')); | 4843 unittest.expect(o.value, unittest.equals('foo')); |
| 4840 } | 4844 } |
| 4841 buildCounterRouteWarningsData--; | 4845 buildCounterRouteWarningsData--; |
| 4842 } | 4846 } |
| 4843 | 4847 |
| 4844 buildUnnamed2370() { | 4848 buildUnnamed820() { |
| 4845 var o = new core.List<api.RouteWarningsData>(); | 4849 var o = new core.List<api.RouteWarningsData>(); |
| 4846 o.add(buildRouteWarningsData()); | 4850 o.add(buildRouteWarningsData()); |
| 4847 o.add(buildRouteWarningsData()); | 4851 o.add(buildRouteWarningsData()); |
| 4848 return o; | 4852 return o; |
| 4849 } | 4853 } |
| 4850 | 4854 |
| 4851 checkUnnamed2370(core.List<api.RouteWarningsData> o) { | 4855 checkUnnamed820(core.List<api.RouteWarningsData> o) { |
| 4852 unittest.expect(o, unittest.hasLength(2)); | 4856 unittest.expect(o, unittest.hasLength(2)); |
| 4853 checkRouteWarningsData(o[0]); | 4857 checkRouteWarningsData(o[0]); |
| 4854 checkRouteWarningsData(o[1]); | 4858 checkRouteWarningsData(o[1]); |
| 4855 } | 4859 } |
| 4856 | 4860 |
| 4857 core.int buildCounterRouteWarnings = 0; | 4861 core.int buildCounterRouteWarnings = 0; |
| 4858 buildRouteWarnings() { | 4862 buildRouteWarnings() { |
| 4859 var o = new api.RouteWarnings(); | 4863 var o = new api.RouteWarnings(); |
| 4860 buildCounterRouteWarnings++; | 4864 buildCounterRouteWarnings++; |
| 4861 if (buildCounterRouteWarnings < 3) { | 4865 if (buildCounterRouteWarnings < 3) { |
| 4862 o.code = "foo"; | 4866 o.code = "foo"; |
| 4863 o.data = buildUnnamed2370(); | 4867 o.data = buildUnnamed820(); |
| 4864 o.message = "foo"; | 4868 o.message = "foo"; |
| 4865 } | 4869 } |
| 4866 buildCounterRouteWarnings--; | 4870 buildCounterRouteWarnings--; |
| 4867 return o; | 4871 return o; |
| 4868 } | 4872 } |
| 4869 | 4873 |
| 4870 checkRouteWarnings(api.RouteWarnings o) { | 4874 checkRouteWarnings(api.RouteWarnings o) { |
| 4871 buildCounterRouteWarnings++; | 4875 buildCounterRouteWarnings++; |
| 4872 if (buildCounterRouteWarnings < 3) { | 4876 if (buildCounterRouteWarnings < 3) { |
| 4873 unittest.expect(o.code, unittest.equals('foo')); | 4877 unittest.expect(o.code, unittest.equals('foo')); |
| 4874 checkUnnamed2370(o.data); | 4878 checkUnnamed820(o.data); |
| 4875 unittest.expect(o.message, unittest.equals('foo')); | 4879 unittest.expect(o.message, unittest.equals('foo')); |
| 4876 } | 4880 } |
| 4877 buildCounterRouteWarnings--; | 4881 buildCounterRouteWarnings--; |
| 4878 } | 4882 } |
| 4879 | 4883 |
| 4880 buildUnnamed2371() { | 4884 buildUnnamed821() { |
| 4881 var o = new core.List<api.RouteWarnings>(); | 4885 var o = new core.List<api.RouteWarnings>(); |
| 4882 o.add(buildRouteWarnings()); | 4886 o.add(buildRouteWarnings()); |
| 4883 o.add(buildRouteWarnings()); | 4887 o.add(buildRouteWarnings()); |
| 4884 return o; | 4888 return o; |
| 4885 } | 4889 } |
| 4886 | 4890 |
| 4887 checkUnnamed2371(core.List<api.RouteWarnings> o) { | 4891 checkUnnamed821(core.List<api.RouteWarnings> o) { |
| 4888 unittest.expect(o, unittest.hasLength(2)); | 4892 unittest.expect(o, unittest.hasLength(2)); |
| 4889 checkRouteWarnings(o[0]); | 4893 checkRouteWarnings(o[0]); |
| 4890 checkRouteWarnings(o[1]); | 4894 checkRouteWarnings(o[1]); |
| 4891 } | 4895 } |
| 4892 | 4896 |
| 4893 core.int buildCounterRoute = 0; | 4897 core.int buildCounterRoute = 0; |
| 4894 buildRoute() { | 4898 buildRoute() { |
| 4895 var o = new api.Route(); | 4899 var o = new api.Route(); |
| 4896 buildCounterRoute++; | 4900 buildCounterRoute++; |
| 4897 if (buildCounterRoute < 3) { | 4901 if (buildCounterRoute < 3) { |
| 4898 o.creationTimestamp = "foo"; | 4902 o.creationTimestamp = "foo"; |
| 4899 o.description = "foo"; | 4903 o.description = "foo"; |
| 4900 o.destRange = "foo"; | 4904 o.destRange = "foo"; |
| 4901 o.id = "foo"; | 4905 o.id = "foo"; |
| 4902 o.kind = "foo"; | 4906 o.kind = "foo"; |
| 4903 o.name = "foo"; | 4907 o.name = "foo"; |
| 4904 o.network = "foo"; | 4908 o.network = "foo"; |
| 4905 o.nextHopGateway = "foo"; | 4909 o.nextHopGateway = "foo"; |
| 4906 o.nextHopInstance = "foo"; | 4910 o.nextHopInstance = "foo"; |
| 4907 o.nextHopIp = "foo"; | 4911 o.nextHopIp = "foo"; |
| 4908 o.nextHopNetwork = "foo"; | 4912 o.nextHopNetwork = "foo"; |
| 4909 o.nextHopVpnTunnel = "foo"; | 4913 o.nextHopVpnTunnel = "foo"; |
| 4910 o.priority = 42; | 4914 o.priority = 42; |
| 4911 o.selfLink = "foo"; | 4915 o.selfLink = "foo"; |
| 4912 o.tags = buildUnnamed2369(); | 4916 o.tags = buildUnnamed819(); |
| 4913 o.warnings = buildUnnamed2371(); | 4917 o.warnings = buildUnnamed821(); |
| 4914 } | 4918 } |
| 4915 buildCounterRoute--; | 4919 buildCounterRoute--; |
| 4916 return o; | 4920 return o; |
| 4917 } | 4921 } |
| 4918 | 4922 |
| 4919 checkRoute(api.Route o) { | 4923 checkRoute(api.Route o) { |
| 4920 buildCounterRoute++; | 4924 buildCounterRoute++; |
| 4921 if (buildCounterRoute < 3) { | 4925 if (buildCounterRoute < 3) { |
| 4922 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 4926 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 4923 unittest.expect(o.description, unittest.equals('foo')); | 4927 unittest.expect(o.description, unittest.equals('foo')); |
| 4924 unittest.expect(o.destRange, unittest.equals('foo')); | 4928 unittest.expect(o.destRange, unittest.equals('foo')); |
| 4925 unittest.expect(o.id, unittest.equals('foo')); | 4929 unittest.expect(o.id, unittest.equals('foo')); |
| 4926 unittest.expect(o.kind, unittest.equals('foo')); | 4930 unittest.expect(o.kind, unittest.equals('foo')); |
| 4927 unittest.expect(o.name, unittest.equals('foo')); | 4931 unittest.expect(o.name, unittest.equals('foo')); |
| 4928 unittest.expect(o.network, unittest.equals('foo')); | 4932 unittest.expect(o.network, unittest.equals('foo')); |
| 4929 unittest.expect(o.nextHopGateway, unittest.equals('foo')); | 4933 unittest.expect(o.nextHopGateway, unittest.equals('foo')); |
| 4930 unittest.expect(o.nextHopInstance, unittest.equals('foo')); | 4934 unittest.expect(o.nextHopInstance, unittest.equals('foo')); |
| 4931 unittest.expect(o.nextHopIp, unittest.equals('foo')); | 4935 unittest.expect(o.nextHopIp, unittest.equals('foo')); |
| 4932 unittest.expect(o.nextHopNetwork, unittest.equals('foo')); | 4936 unittest.expect(o.nextHopNetwork, unittest.equals('foo')); |
| 4933 unittest.expect(o.nextHopVpnTunnel, unittest.equals('foo')); | 4937 unittest.expect(o.nextHopVpnTunnel, unittest.equals('foo')); |
| 4934 unittest.expect(o.priority, unittest.equals(42)); | 4938 unittest.expect(o.priority, unittest.equals(42)); |
| 4935 unittest.expect(o.selfLink, unittest.equals('foo')); | 4939 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 4936 checkUnnamed2369(o.tags); | 4940 checkUnnamed819(o.tags); |
| 4937 checkUnnamed2371(o.warnings); | 4941 checkUnnamed821(o.warnings); |
| 4938 } | 4942 } |
| 4939 buildCounterRoute--; | 4943 buildCounterRoute--; |
| 4940 } | 4944 } |
| 4941 | 4945 |
| 4942 buildUnnamed2372() { | 4946 buildUnnamed822() { |
| 4943 var o = new core.List<api.Route>(); | 4947 var o = new core.List<api.Route>(); |
| 4944 o.add(buildRoute()); | 4948 o.add(buildRoute()); |
| 4945 o.add(buildRoute()); | 4949 o.add(buildRoute()); |
| 4946 return o; | 4950 return o; |
| 4947 } | 4951 } |
| 4948 | 4952 |
| 4949 checkUnnamed2372(core.List<api.Route> o) { | 4953 checkUnnamed822(core.List<api.Route> o) { |
| 4950 unittest.expect(o, unittest.hasLength(2)); | 4954 unittest.expect(o, unittest.hasLength(2)); |
| 4951 checkRoute(o[0]); | 4955 checkRoute(o[0]); |
| 4952 checkRoute(o[1]); | 4956 checkRoute(o[1]); |
| 4953 } | 4957 } |
| 4954 | 4958 |
| 4955 core.int buildCounterRouteList = 0; | 4959 core.int buildCounterRouteList = 0; |
| 4956 buildRouteList() { | 4960 buildRouteList() { |
| 4957 var o = new api.RouteList(); | 4961 var o = new api.RouteList(); |
| 4958 buildCounterRouteList++; | 4962 buildCounterRouteList++; |
| 4959 if (buildCounterRouteList < 3) { | 4963 if (buildCounterRouteList < 3) { |
| 4960 o.id = "foo"; | 4964 o.id = "foo"; |
| 4961 o.items = buildUnnamed2372(); | 4965 o.items = buildUnnamed822(); |
| 4962 o.kind = "foo"; | 4966 o.kind = "foo"; |
| 4963 o.nextPageToken = "foo"; | 4967 o.nextPageToken = "foo"; |
| 4964 o.selfLink = "foo"; | 4968 o.selfLink = "foo"; |
| 4965 } | 4969 } |
| 4966 buildCounterRouteList--; | 4970 buildCounterRouteList--; |
| 4967 return o; | 4971 return o; |
| 4968 } | 4972 } |
| 4969 | 4973 |
| 4970 checkRouteList(api.RouteList o) { | 4974 checkRouteList(api.RouteList o) { |
| 4971 buildCounterRouteList++; | 4975 buildCounterRouteList++; |
| 4972 if (buildCounterRouteList < 3) { | 4976 if (buildCounterRouteList < 3) { |
| 4973 unittest.expect(o.id, unittest.equals('foo')); | 4977 unittest.expect(o.id, unittest.equals('foo')); |
| 4974 checkUnnamed2372(o.items); | 4978 checkUnnamed822(o.items); |
| 4975 unittest.expect(o.kind, unittest.equals('foo')); | 4979 unittest.expect(o.kind, unittest.equals('foo')); |
| 4976 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4980 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 4977 unittest.expect(o.selfLink, unittest.equals('foo')); | 4981 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 4978 } | 4982 } |
| 4979 buildCounterRouteList--; | 4983 buildCounterRouteList--; |
| 4980 } | 4984 } |
| 4981 | 4985 |
| 4982 buildUnnamed2373() { | 4986 buildUnnamed823() { |
| 4983 var o = new core.List<api.RouterBgpPeer>(); | 4987 var o = new core.List<api.RouterBgpPeer>(); |
| 4984 o.add(buildRouterBgpPeer()); | 4988 o.add(buildRouterBgpPeer()); |
| 4985 o.add(buildRouterBgpPeer()); | 4989 o.add(buildRouterBgpPeer()); |
| 4986 return o; | 4990 return o; |
| 4987 } | 4991 } |
| 4988 | 4992 |
| 4989 checkUnnamed2373(core.List<api.RouterBgpPeer> o) { | 4993 checkUnnamed823(core.List<api.RouterBgpPeer> o) { |
| 4990 unittest.expect(o, unittest.hasLength(2)); | 4994 unittest.expect(o, unittest.hasLength(2)); |
| 4991 checkRouterBgpPeer(o[0]); | 4995 checkRouterBgpPeer(o[0]); |
| 4992 checkRouterBgpPeer(o[1]); | 4996 checkRouterBgpPeer(o[1]); |
| 4993 } | 4997 } |
| 4994 | 4998 |
| 4995 buildUnnamed2374() { | 4999 buildUnnamed824() { |
| 4996 var o = new core.List<api.RouterInterface>(); | 5000 var o = new core.List<api.RouterInterface>(); |
| 4997 o.add(buildRouterInterface()); | 5001 o.add(buildRouterInterface()); |
| 4998 o.add(buildRouterInterface()); | 5002 o.add(buildRouterInterface()); |
| 4999 return o; | 5003 return o; |
| 5000 } | 5004 } |
| 5001 | 5005 |
| 5002 checkUnnamed2374(core.List<api.RouterInterface> o) { | 5006 checkUnnamed824(core.List<api.RouterInterface> o) { |
| 5003 unittest.expect(o, unittest.hasLength(2)); | 5007 unittest.expect(o, unittest.hasLength(2)); |
| 5004 checkRouterInterface(o[0]); | 5008 checkRouterInterface(o[0]); |
| 5005 checkRouterInterface(o[1]); | 5009 checkRouterInterface(o[1]); |
| 5006 } | 5010 } |
| 5007 | 5011 |
| 5008 core.int buildCounterRouter = 0; | 5012 core.int buildCounterRouter = 0; |
| 5009 buildRouter() { | 5013 buildRouter() { |
| 5010 var o = new api.Router(); | 5014 var o = new api.Router(); |
| 5011 buildCounterRouter++; | 5015 buildCounterRouter++; |
| 5012 if (buildCounterRouter < 3) { | 5016 if (buildCounterRouter < 3) { |
| 5013 o.bgp = buildRouterBgp(); | 5017 o.bgp = buildRouterBgp(); |
| 5014 o.bgpPeers = buildUnnamed2373(); | 5018 o.bgpPeers = buildUnnamed823(); |
| 5015 o.creationTimestamp = "foo"; | 5019 o.creationTimestamp = "foo"; |
| 5016 o.description = "foo"; | 5020 o.description = "foo"; |
| 5017 o.id = "foo"; | 5021 o.id = "foo"; |
| 5018 o.interfaces = buildUnnamed2374(); | 5022 o.interfaces = buildUnnamed824(); |
| 5019 o.kind = "foo"; | 5023 o.kind = "foo"; |
| 5020 o.name = "foo"; | 5024 o.name = "foo"; |
| 5021 o.network = "foo"; | 5025 o.network = "foo"; |
| 5022 o.region = "foo"; | 5026 o.region = "foo"; |
| 5023 o.selfLink = "foo"; | 5027 o.selfLink = "foo"; |
| 5024 } | 5028 } |
| 5025 buildCounterRouter--; | 5029 buildCounterRouter--; |
| 5026 return o; | 5030 return o; |
| 5027 } | 5031 } |
| 5028 | 5032 |
| 5029 checkRouter(api.Router o) { | 5033 checkRouter(api.Router o) { |
| 5030 buildCounterRouter++; | 5034 buildCounterRouter++; |
| 5031 if (buildCounterRouter < 3) { | 5035 if (buildCounterRouter < 3) { |
| 5032 checkRouterBgp(o.bgp); | 5036 checkRouterBgp(o.bgp); |
| 5033 checkUnnamed2373(o.bgpPeers); | 5037 checkUnnamed823(o.bgpPeers); |
| 5034 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 5038 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 5035 unittest.expect(o.description, unittest.equals('foo')); | 5039 unittest.expect(o.description, unittest.equals('foo')); |
| 5036 unittest.expect(o.id, unittest.equals('foo')); | 5040 unittest.expect(o.id, unittest.equals('foo')); |
| 5037 checkUnnamed2374(o.interfaces); | 5041 checkUnnamed824(o.interfaces); |
| 5038 unittest.expect(o.kind, unittest.equals('foo')); | 5042 unittest.expect(o.kind, unittest.equals('foo')); |
| 5039 unittest.expect(o.name, unittest.equals('foo')); | 5043 unittest.expect(o.name, unittest.equals('foo')); |
| 5040 unittest.expect(o.network, unittest.equals('foo')); | 5044 unittest.expect(o.network, unittest.equals('foo')); |
| 5041 unittest.expect(o.region, unittest.equals('foo')); | 5045 unittest.expect(o.region, unittest.equals('foo')); |
| 5042 unittest.expect(o.selfLink, unittest.equals('foo')); | 5046 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 5043 } | 5047 } |
| 5044 buildCounterRouter--; | 5048 buildCounterRouter--; |
| 5045 } | 5049 } |
| 5046 | 5050 |
| 5047 buildUnnamed2375() { | 5051 buildUnnamed825() { |
| 5048 var o = new core.Map<core.String, api.RoutersScopedList>(); | 5052 var o = new core.Map<core.String, api.RoutersScopedList>(); |
| 5049 o["x"] = buildRoutersScopedList(); | 5053 o["x"] = buildRoutersScopedList(); |
| 5050 o["y"] = buildRoutersScopedList(); | 5054 o["y"] = buildRoutersScopedList(); |
| 5051 return o; | 5055 return o; |
| 5052 } | 5056 } |
| 5053 | 5057 |
| 5054 checkUnnamed2375(core.Map<core.String, api.RoutersScopedList> o) { | 5058 checkUnnamed825(core.Map<core.String, api.RoutersScopedList> o) { |
| 5055 unittest.expect(o, unittest.hasLength(2)); | 5059 unittest.expect(o, unittest.hasLength(2)); |
| 5056 checkRoutersScopedList(o["x"]); | 5060 checkRoutersScopedList(o["x"]); |
| 5057 checkRoutersScopedList(o["y"]); | 5061 checkRoutersScopedList(o["y"]); |
| 5058 } | 5062 } |
| 5059 | 5063 |
| 5060 core.int buildCounterRouterAggregatedList = 0; | 5064 core.int buildCounterRouterAggregatedList = 0; |
| 5061 buildRouterAggregatedList() { | 5065 buildRouterAggregatedList() { |
| 5062 var o = new api.RouterAggregatedList(); | 5066 var o = new api.RouterAggregatedList(); |
| 5063 buildCounterRouterAggregatedList++; | 5067 buildCounterRouterAggregatedList++; |
| 5064 if (buildCounterRouterAggregatedList < 3) { | 5068 if (buildCounterRouterAggregatedList < 3) { |
| 5065 o.id = "foo"; | 5069 o.id = "foo"; |
| 5066 o.items = buildUnnamed2375(); | 5070 o.items = buildUnnamed825(); |
| 5067 o.kind = "foo"; | 5071 o.kind = "foo"; |
| 5068 o.nextPageToken = "foo"; | 5072 o.nextPageToken = "foo"; |
| 5069 o.selfLink = "foo"; | 5073 o.selfLink = "foo"; |
| 5070 } | 5074 } |
| 5071 buildCounterRouterAggregatedList--; | 5075 buildCounterRouterAggregatedList--; |
| 5072 return o; | 5076 return o; |
| 5073 } | 5077 } |
| 5074 | 5078 |
| 5075 checkRouterAggregatedList(api.RouterAggregatedList o) { | 5079 checkRouterAggregatedList(api.RouterAggregatedList o) { |
| 5076 buildCounterRouterAggregatedList++; | 5080 buildCounterRouterAggregatedList++; |
| 5077 if (buildCounterRouterAggregatedList < 3) { | 5081 if (buildCounterRouterAggregatedList < 3) { |
| 5078 unittest.expect(o.id, unittest.equals('foo')); | 5082 unittest.expect(o.id, unittest.equals('foo')); |
| 5079 checkUnnamed2375(o.items); | 5083 checkUnnamed825(o.items); |
| 5080 unittest.expect(o.kind, unittest.equals('foo')); | 5084 unittest.expect(o.kind, unittest.equals('foo')); |
| 5081 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5085 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 5082 unittest.expect(o.selfLink, unittest.equals('foo')); | 5086 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 5083 } | 5087 } |
| 5084 buildCounterRouterAggregatedList--; | 5088 buildCounterRouterAggregatedList--; |
| 5085 } | 5089 } |
| 5086 | 5090 |
| 5087 core.int buildCounterRouterBgp = 0; | 5091 core.int buildCounterRouterBgp = 0; |
| 5088 buildRouterBgp() { | 5092 buildRouterBgp() { |
| 5089 var o = new api.RouterBgp(); | 5093 var o = new api.RouterBgp(); |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5148 checkRouterInterface(api.RouterInterface o) { | 5152 checkRouterInterface(api.RouterInterface o) { |
| 5149 buildCounterRouterInterface++; | 5153 buildCounterRouterInterface++; |
| 5150 if (buildCounterRouterInterface < 3) { | 5154 if (buildCounterRouterInterface < 3) { |
| 5151 unittest.expect(o.ipRange, unittest.equals('foo')); | 5155 unittest.expect(o.ipRange, unittest.equals('foo')); |
| 5152 unittest.expect(o.linkedVpnTunnel, unittest.equals('foo')); | 5156 unittest.expect(o.linkedVpnTunnel, unittest.equals('foo')); |
| 5153 unittest.expect(o.name, unittest.equals('foo')); | 5157 unittest.expect(o.name, unittest.equals('foo')); |
| 5154 } | 5158 } |
| 5155 buildCounterRouterInterface--; | 5159 buildCounterRouterInterface--; |
| 5156 } | 5160 } |
| 5157 | 5161 |
| 5158 buildUnnamed2376() { | 5162 buildUnnamed826() { |
| 5159 var o = new core.List<api.Router>(); | 5163 var o = new core.List<api.Router>(); |
| 5160 o.add(buildRouter()); | 5164 o.add(buildRouter()); |
| 5161 o.add(buildRouter()); | 5165 o.add(buildRouter()); |
| 5162 return o; | 5166 return o; |
| 5163 } | 5167 } |
| 5164 | 5168 |
| 5165 checkUnnamed2376(core.List<api.Router> o) { | 5169 checkUnnamed826(core.List<api.Router> o) { |
| 5166 unittest.expect(o, unittest.hasLength(2)); | 5170 unittest.expect(o, unittest.hasLength(2)); |
| 5167 checkRouter(o[0]); | 5171 checkRouter(o[0]); |
| 5168 checkRouter(o[1]); | 5172 checkRouter(o[1]); |
| 5169 } | 5173 } |
| 5170 | 5174 |
| 5171 core.int buildCounterRouterList = 0; | 5175 core.int buildCounterRouterList = 0; |
| 5172 buildRouterList() { | 5176 buildRouterList() { |
| 5173 var o = new api.RouterList(); | 5177 var o = new api.RouterList(); |
| 5174 buildCounterRouterList++; | 5178 buildCounterRouterList++; |
| 5175 if (buildCounterRouterList < 3) { | 5179 if (buildCounterRouterList < 3) { |
| 5176 o.id = "foo"; | 5180 o.id = "foo"; |
| 5177 o.items = buildUnnamed2376(); | 5181 o.items = buildUnnamed826(); |
| 5178 o.kind = "foo"; | 5182 o.kind = "foo"; |
| 5179 o.nextPageToken = "foo"; | 5183 o.nextPageToken = "foo"; |
| 5180 o.selfLink = "foo"; | 5184 o.selfLink = "foo"; |
| 5181 } | 5185 } |
| 5182 buildCounterRouterList--; | 5186 buildCounterRouterList--; |
| 5183 return o; | 5187 return o; |
| 5184 } | 5188 } |
| 5185 | 5189 |
| 5186 checkRouterList(api.RouterList o) { | 5190 checkRouterList(api.RouterList o) { |
| 5187 buildCounterRouterList++; | 5191 buildCounterRouterList++; |
| 5188 if (buildCounterRouterList < 3) { | 5192 if (buildCounterRouterList < 3) { |
| 5189 unittest.expect(o.id, unittest.equals('foo')); | 5193 unittest.expect(o.id, unittest.equals('foo')); |
| 5190 checkUnnamed2376(o.items); | 5194 checkUnnamed826(o.items); |
| 5191 unittest.expect(o.kind, unittest.equals('foo')); | 5195 unittest.expect(o.kind, unittest.equals('foo')); |
| 5192 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5196 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 5193 unittest.expect(o.selfLink, unittest.equals('foo')); | 5197 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 5194 } | 5198 } |
| 5195 buildCounterRouterList--; | 5199 buildCounterRouterList--; |
| 5196 } | 5200 } |
| 5197 | 5201 |
| 5198 buildUnnamed2377() { | 5202 buildUnnamed827() { |
| 5199 var o = new core.List<api.Route>(); | 5203 var o = new core.List<api.Route>(); |
| 5200 o.add(buildRoute()); | 5204 o.add(buildRoute()); |
| 5201 o.add(buildRoute()); | 5205 o.add(buildRoute()); |
| 5202 return o; | 5206 return o; |
| 5203 } | 5207 } |
| 5204 | 5208 |
| 5205 checkUnnamed2377(core.List<api.Route> o) { | 5209 checkUnnamed827(core.List<api.Route> o) { |
| 5206 unittest.expect(o, unittest.hasLength(2)); | 5210 unittest.expect(o, unittest.hasLength(2)); |
| 5207 checkRoute(o[0]); | 5211 checkRoute(o[0]); |
| 5208 checkRoute(o[1]); | 5212 checkRoute(o[1]); |
| 5209 } | 5213 } |
| 5210 | 5214 |
| 5211 buildUnnamed2378() { | 5215 buildUnnamed828() { |
| 5212 var o = new core.List<api.RouterStatusBgpPeerStatus>(); | 5216 var o = new core.List<api.RouterStatusBgpPeerStatus>(); |
| 5213 o.add(buildRouterStatusBgpPeerStatus()); | 5217 o.add(buildRouterStatusBgpPeerStatus()); |
| 5214 o.add(buildRouterStatusBgpPeerStatus()); | 5218 o.add(buildRouterStatusBgpPeerStatus()); |
| 5215 return o; | 5219 return o; |
| 5216 } | 5220 } |
| 5217 | 5221 |
| 5218 checkUnnamed2378(core.List<api.RouterStatusBgpPeerStatus> o) { | 5222 checkUnnamed828(core.List<api.RouterStatusBgpPeerStatus> o) { |
| 5219 unittest.expect(o, unittest.hasLength(2)); | 5223 unittest.expect(o, unittest.hasLength(2)); |
| 5220 checkRouterStatusBgpPeerStatus(o[0]); | 5224 checkRouterStatusBgpPeerStatus(o[0]); |
| 5221 checkRouterStatusBgpPeerStatus(o[1]); | 5225 checkRouterStatusBgpPeerStatus(o[1]); |
| 5222 } | 5226 } |
| 5223 | 5227 |
| 5224 core.int buildCounterRouterStatus = 0; | 5228 core.int buildCounterRouterStatus = 0; |
| 5225 buildRouterStatus() { | 5229 buildRouterStatus() { |
| 5226 var o = new api.RouterStatus(); | 5230 var o = new api.RouterStatus(); |
| 5227 buildCounterRouterStatus++; | 5231 buildCounterRouterStatus++; |
| 5228 if (buildCounterRouterStatus < 3) { | 5232 if (buildCounterRouterStatus < 3) { |
| 5229 o.bestRoutes = buildUnnamed2377(); | 5233 o.bestRoutes = buildUnnamed827(); |
| 5230 o.bgpPeerStatus = buildUnnamed2378(); | 5234 o.bgpPeerStatus = buildUnnamed828(); |
| 5231 o.network = "foo"; | 5235 o.network = "foo"; |
| 5232 } | 5236 } |
| 5233 buildCounterRouterStatus--; | 5237 buildCounterRouterStatus--; |
| 5234 return o; | 5238 return o; |
| 5235 } | 5239 } |
| 5236 | 5240 |
| 5237 checkRouterStatus(api.RouterStatus o) { | 5241 checkRouterStatus(api.RouterStatus o) { |
| 5238 buildCounterRouterStatus++; | 5242 buildCounterRouterStatus++; |
| 5239 if (buildCounterRouterStatus < 3) { | 5243 if (buildCounterRouterStatus < 3) { |
| 5240 checkUnnamed2377(o.bestRoutes); | 5244 checkUnnamed827(o.bestRoutes); |
| 5241 checkUnnamed2378(o.bgpPeerStatus); | 5245 checkUnnamed828(o.bgpPeerStatus); |
| 5242 unittest.expect(o.network, unittest.equals('foo')); | 5246 unittest.expect(o.network, unittest.equals('foo')); |
| 5243 } | 5247 } |
| 5244 buildCounterRouterStatus--; | 5248 buildCounterRouterStatus--; |
| 5245 } | 5249 } |
| 5246 | 5250 |
| 5247 buildUnnamed2379() { | 5251 buildUnnamed829() { |
| 5248 var o = new core.List<api.Route>(); | 5252 var o = new core.List<api.Route>(); |
| 5249 o.add(buildRoute()); | 5253 o.add(buildRoute()); |
| 5250 o.add(buildRoute()); | 5254 o.add(buildRoute()); |
| 5251 return o; | 5255 return o; |
| 5252 } | 5256 } |
| 5253 | 5257 |
| 5254 checkUnnamed2379(core.List<api.Route> o) { | 5258 checkUnnamed829(core.List<api.Route> o) { |
| 5255 unittest.expect(o, unittest.hasLength(2)); | 5259 unittest.expect(o, unittest.hasLength(2)); |
| 5256 checkRoute(o[0]); | 5260 checkRoute(o[0]); |
| 5257 checkRoute(o[1]); | 5261 checkRoute(o[1]); |
| 5258 } | 5262 } |
| 5259 | 5263 |
| 5260 core.int buildCounterRouterStatusBgpPeerStatus = 0; | 5264 core.int buildCounterRouterStatusBgpPeerStatus = 0; |
| 5261 buildRouterStatusBgpPeerStatus() { | 5265 buildRouterStatusBgpPeerStatus() { |
| 5262 var o = new api.RouterStatusBgpPeerStatus(); | 5266 var o = new api.RouterStatusBgpPeerStatus(); |
| 5263 buildCounterRouterStatusBgpPeerStatus++; | 5267 buildCounterRouterStatusBgpPeerStatus++; |
| 5264 if (buildCounterRouterStatusBgpPeerStatus < 3) { | 5268 if (buildCounterRouterStatusBgpPeerStatus < 3) { |
| 5265 o.advertisedRoutes = buildUnnamed2379(); | 5269 o.advertisedRoutes = buildUnnamed829(); |
| 5266 o.ipAddress = "foo"; | 5270 o.ipAddress = "foo"; |
| 5267 o.linkedVpnTunnel = "foo"; | 5271 o.linkedVpnTunnel = "foo"; |
| 5268 o.name = "foo"; | 5272 o.name = "foo"; |
| 5269 o.numLearnedRoutes = 42; | 5273 o.numLearnedRoutes = 42; |
| 5270 o.peerIpAddress = "foo"; | 5274 o.peerIpAddress = "foo"; |
| 5271 o.state = "foo"; | 5275 o.state = "foo"; |
| 5272 o.status = "foo"; | 5276 o.status = "foo"; |
| 5273 o.uptime = "foo"; | 5277 o.uptime = "foo"; |
| 5274 o.uptimeSeconds = "foo"; | 5278 o.uptimeSeconds = "foo"; |
| 5275 } | 5279 } |
| 5276 buildCounterRouterStatusBgpPeerStatus--; | 5280 buildCounterRouterStatusBgpPeerStatus--; |
| 5277 return o; | 5281 return o; |
| 5278 } | 5282 } |
| 5279 | 5283 |
| 5280 checkRouterStatusBgpPeerStatus(api.RouterStatusBgpPeerStatus o) { | 5284 checkRouterStatusBgpPeerStatus(api.RouterStatusBgpPeerStatus o) { |
| 5281 buildCounterRouterStatusBgpPeerStatus++; | 5285 buildCounterRouterStatusBgpPeerStatus++; |
| 5282 if (buildCounterRouterStatusBgpPeerStatus < 3) { | 5286 if (buildCounterRouterStatusBgpPeerStatus < 3) { |
| 5283 checkUnnamed2379(o.advertisedRoutes); | 5287 checkUnnamed829(o.advertisedRoutes); |
| 5284 unittest.expect(o.ipAddress, unittest.equals('foo')); | 5288 unittest.expect(o.ipAddress, unittest.equals('foo')); |
| 5285 unittest.expect(o.linkedVpnTunnel, unittest.equals('foo')); | 5289 unittest.expect(o.linkedVpnTunnel, unittest.equals('foo')); |
| 5286 unittest.expect(o.name, unittest.equals('foo')); | 5290 unittest.expect(o.name, unittest.equals('foo')); |
| 5287 unittest.expect(o.numLearnedRoutes, unittest.equals(42)); | 5291 unittest.expect(o.numLearnedRoutes, unittest.equals(42)); |
| 5288 unittest.expect(o.peerIpAddress, unittest.equals('foo')); | 5292 unittest.expect(o.peerIpAddress, unittest.equals('foo')); |
| 5289 unittest.expect(o.state, unittest.equals('foo')); | 5293 unittest.expect(o.state, unittest.equals('foo')); |
| 5290 unittest.expect(o.status, unittest.equals('foo')); | 5294 unittest.expect(o.status, unittest.equals('foo')); |
| 5291 unittest.expect(o.uptime, unittest.equals('foo')); | 5295 unittest.expect(o.uptime, unittest.equals('foo')); |
| 5292 unittest.expect(o.uptimeSeconds, unittest.equals('foo')); | 5296 unittest.expect(o.uptimeSeconds, unittest.equals('foo')); |
| 5293 } | 5297 } |
| (...skipping 14 matching lines...) Expand all Loading... |
| 5308 | 5312 |
| 5309 checkRouterStatusResponse(api.RouterStatusResponse o) { | 5313 checkRouterStatusResponse(api.RouterStatusResponse o) { |
| 5310 buildCounterRouterStatusResponse++; | 5314 buildCounterRouterStatusResponse++; |
| 5311 if (buildCounterRouterStatusResponse < 3) { | 5315 if (buildCounterRouterStatusResponse < 3) { |
| 5312 unittest.expect(o.kind, unittest.equals('foo')); | 5316 unittest.expect(o.kind, unittest.equals('foo')); |
| 5313 checkRouterStatus(o.result); | 5317 checkRouterStatus(o.result); |
| 5314 } | 5318 } |
| 5315 buildCounterRouterStatusResponse--; | 5319 buildCounterRouterStatusResponse--; |
| 5316 } | 5320 } |
| 5317 | 5321 |
| 5318 buildUnnamed2380() { | 5322 core.int buildCounterRoutersPreviewResponse = 0; |
| 5323 buildRoutersPreviewResponse() { |
| 5324 var o = new api.RoutersPreviewResponse(); |
| 5325 buildCounterRoutersPreviewResponse++; |
| 5326 if (buildCounterRoutersPreviewResponse < 3) { |
| 5327 o.resource = buildRouter(); |
| 5328 } |
| 5329 buildCounterRoutersPreviewResponse--; |
| 5330 return o; |
| 5331 } |
| 5332 |
| 5333 checkRoutersPreviewResponse(api.RoutersPreviewResponse o) { |
| 5334 buildCounterRoutersPreviewResponse++; |
| 5335 if (buildCounterRoutersPreviewResponse < 3) { |
| 5336 checkRouter(o.resource); |
| 5337 } |
| 5338 buildCounterRoutersPreviewResponse--; |
| 5339 } |
| 5340 |
| 5341 buildUnnamed830() { |
| 5319 var o = new core.List<api.Router>(); | 5342 var o = new core.List<api.Router>(); |
| 5320 o.add(buildRouter()); | 5343 o.add(buildRouter()); |
| 5321 o.add(buildRouter()); | 5344 o.add(buildRouter()); |
| 5322 return o; | 5345 return o; |
| 5323 } | 5346 } |
| 5324 | 5347 |
| 5325 checkUnnamed2380(core.List<api.Router> o) { | 5348 checkUnnamed830(core.List<api.Router> o) { |
| 5326 unittest.expect(o, unittest.hasLength(2)); | 5349 unittest.expect(o, unittest.hasLength(2)); |
| 5327 checkRouter(o[0]); | 5350 checkRouter(o[0]); |
| 5328 checkRouter(o[1]); | 5351 checkRouter(o[1]); |
| 5329 } | 5352 } |
| 5330 | 5353 |
| 5331 core.int buildCounterRoutersScopedListWarningData = 0; | 5354 core.int buildCounterRoutersScopedListWarningData = 0; |
| 5332 buildRoutersScopedListWarningData() { | 5355 buildRoutersScopedListWarningData() { |
| 5333 var o = new api.RoutersScopedListWarningData(); | 5356 var o = new api.RoutersScopedListWarningData(); |
| 5334 buildCounterRoutersScopedListWarningData++; | 5357 buildCounterRoutersScopedListWarningData++; |
| 5335 if (buildCounterRoutersScopedListWarningData < 3) { | 5358 if (buildCounterRoutersScopedListWarningData < 3) { |
| 5336 o.key = "foo"; | 5359 o.key = "foo"; |
| 5337 o.value = "foo"; | 5360 o.value = "foo"; |
| 5338 } | 5361 } |
| 5339 buildCounterRoutersScopedListWarningData--; | 5362 buildCounterRoutersScopedListWarningData--; |
| 5340 return o; | 5363 return o; |
| 5341 } | 5364 } |
| 5342 | 5365 |
| 5343 checkRoutersScopedListWarningData(api.RoutersScopedListWarningData o) { | 5366 checkRoutersScopedListWarningData(api.RoutersScopedListWarningData o) { |
| 5344 buildCounterRoutersScopedListWarningData++; | 5367 buildCounterRoutersScopedListWarningData++; |
| 5345 if (buildCounterRoutersScopedListWarningData < 3) { | 5368 if (buildCounterRoutersScopedListWarningData < 3) { |
| 5346 unittest.expect(o.key, unittest.equals('foo')); | 5369 unittest.expect(o.key, unittest.equals('foo')); |
| 5347 unittest.expect(o.value, unittest.equals('foo')); | 5370 unittest.expect(o.value, unittest.equals('foo')); |
| 5348 } | 5371 } |
| 5349 buildCounterRoutersScopedListWarningData--; | 5372 buildCounterRoutersScopedListWarningData--; |
| 5350 } | 5373 } |
| 5351 | 5374 |
| 5352 buildUnnamed2381() { | 5375 buildUnnamed831() { |
| 5353 var o = new core.List<api.RoutersScopedListWarningData>(); | 5376 var o = new core.List<api.RoutersScopedListWarningData>(); |
| 5354 o.add(buildRoutersScopedListWarningData()); | 5377 o.add(buildRoutersScopedListWarningData()); |
| 5355 o.add(buildRoutersScopedListWarningData()); | 5378 o.add(buildRoutersScopedListWarningData()); |
| 5356 return o; | 5379 return o; |
| 5357 } | 5380 } |
| 5358 | 5381 |
| 5359 checkUnnamed2381(core.List<api.RoutersScopedListWarningData> o) { | 5382 checkUnnamed831(core.List<api.RoutersScopedListWarningData> o) { |
| 5360 unittest.expect(o, unittest.hasLength(2)); | 5383 unittest.expect(o, unittest.hasLength(2)); |
| 5361 checkRoutersScopedListWarningData(o[0]); | 5384 checkRoutersScopedListWarningData(o[0]); |
| 5362 checkRoutersScopedListWarningData(o[1]); | 5385 checkRoutersScopedListWarningData(o[1]); |
| 5363 } | 5386 } |
| 5364 | 5387 |
| 5365 core.int buildCounterRoutersScopedListWarning = 0; | 5388 core.int buildCounterRoutersScopedListWarning = 0; |
| 5366 buildRoutersScopedListWarning() { | 5389 buildRoutersScopedListWarning() { |
| 5367 var o = new api.RoutersScopedListWarning(); | 5390 var o = new api.RoutersScopedListWarning(); |
| 5368 buildCounterRoutersScopedListWarning++; | 5391 buildCounterRoutersScopedListWarning++; |
| 5369 if (buildCounterRoutersScopedListWarning < 3) { | 5392 if (buildCounterRoutersScopedListWarning < 3) { |
| 5370 o.code = "foo"; | 5393 o.code = "foo"; |
| 5371 o.data = buildUnnamed2381(); | 5394 o.data = buildUnnamed831(); |
| 5372 o.message = "foo"; | 5395 o.message = "foo"; |
| 5373 } | 5396 } |
| 5374 buildCounterRoutersScopedListWarning--; | 5397 buildCounterRoutersScopedListWarning--; |
| 5375 return o; | 5398 return o; |
| 5376 } | 5399 } |
| 5377 | 5400 |
| 5378 checkRoutersScopedListWarning(api.RoutersScopedListWarning o) { | 5401 checkRoutersScopedListWarning(api.RoutersScopedListWarning o) { |
| 5379 buildCounterRoutersScopedListWarning++; | 5402 buildCounterRoutersScopedListWarning++; |
| 5380 if (buildCounterRoutersScopedListWarning < 3) { | 5403 if (buildCounterRoutersScopedListWarning < 3) { |
| 5381 unittest.expect(o.code, unittest.equals('foo')); | 5404 unittest.expect(o.code, unittest.equals('foo')); |
| 5382 checkUnnamed2381(o.data); | 5405 checkUnnamed831(o.data); |
| 5383 unittest.expect(o.message, unittest.equals('foo')); | 5406 unittest.expect(o.message, unittest.equals('foo')); |
| 5384 } | 5407 } |
| 5385 buildCounterRoutersScopedListWarning--; | 5408 buildCounterRoutersScopedListWarning--; |
| 5386 } | 5409 } |
| 5387 | 5410 |
| 5388 core.int buildCounterRoutersScopedList = 0; | 5411 core.int buildCounterRoutersScopedList = 0; |
| 5389 buildRoutersScopedList() { | 5412 buildRoutersScopedList() { |
| 5390 var o = new api.RoutersScopedList(); | 5413 var o = new api.RoutersScopedList(); |
| 5391 buildCounterRoutersScopedList++; | 5414 buildCounterRoutersScopedList++; |
| 5392 if (buildCounterRoutersScopedList < 3) { | 5415 if (buildCounterRoutersScopedList < 3) { |
| 5393 o.routers = buildUnnamed2380(); | 5416 o.routers = buildUnnamed830(); |
| 5394 o.warning = buildRoutersScopedListWarning(); | 5417 o.warning = buildRoutersScopedListWarning(); |
| 5395 } | 5418 } |
| 5396 buildCounterRoutersScopedList--; | 5419 buildCounterRoutersScopedList--; |
| 5397 return o; | 5420 return o; |
| 5398 } | 5421 } |
| 5399 | 5422 |
| 5400 checkRoutersScopedList(api.RoutersScopedList o) { | 5423 checkRoutersScopedList(api.RoutersScopedList o) { |
| 5401 buildCounterRoutersScopedList++; | 5424 buildCounterRoutersScopedList++; |
| 5402 if (buildCounterRoutersScopedList < 3) { | 5425 if (buildCounterRoutersScopedList < 3) { |
| 5403 checkUnnamed2380(o.routers); | 5426 checkUnnamed830(o.routers); |
| 5404 checkRoutersScopedListWarning(o.warning); | 5427 checkRoutersScopedListWarning(o.warning); |
| 5405 } | 5428 } |
| 5406 buildCounterRoutersScopedList--; | 5429 buildCounterRoutersScopedList--; |
| 5407 } | 5430 } |
| 5408 | 5431 |
| 5409 core.int buildCounterScheduling = 0; | 5432 core.int buildCounterScheduling = 0; |
| 5410 buildScheduling() { | 5433 buildScheduling() { |
| 5411 var o = new api.Scheduling(); | 5434 var o = new api.Scheduling(); |
| 5412 buildCounterScheduling++; | 5435 buildCounterScheduling++; |
| 5413 if (buildCounterScheduling < 3) { | 5436 if (buildCounterScheduling < 3) { |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5445 checkSerialPortOutput(api.SerialPortOutput o) { | 5468 checkSerialPortOutput(api.SerialPortOutput o) { |
| 5446 buildCounterSerialPortOutput++; | 5469 buildCounterSerialPortOutput++; |
| 5447 if (buildCounterSerialPortOutput < 3) { | 5470 if (buildCounterSerialPortOutput < 3) { |
| 5448 unittest.expect(o.contents, unittest.equals('foo')); | 5471 unittest.expect(o.contents, unittest.equals('foo')); |
| 5449 unittest.expect(o.kind, unittest.equals('foo')); | 5472 unittest.expect(o.kind, unittest.equals('foo')); |
| 5450 unittest.expect(o.selfLink, unittest.equals('foo')); | 5473 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 5451 } | 5474 } |
| 5452 buildCounterSerialPortOutput--; | 5475 buildCounterSerialPortOutput--; |
| 5453 } | 5476 } |
| 5454 | 5477 |
| 5455 buildUnnamed2382() { | 5478 buildUnnamed832() { |
| 5456 var o = new core.List<core.String>(); | 5479 var o = new core.List<core.String>(); |
| 5457 o.add("foo"); | 5480 o.add("foo"); |
| 5458 o.add("foo"); | 5481 o.add("foo"); |
| 5459 return o; | 5482 return o; |
| 5460 } | 5483 } |
| 5461 | 5484 |
| 5462 checkUnnamed2382(core.List<core.String> o) { | 5485 checkUnnamed832(core.List<core.String> o) { |
| 5463 unittest.expect(o, unittest.hasLength(2)); | 5486 unittest.expect(o, unittest.hasLength(2)); |
| 5464 unittest.expect(o[0], unittest.equals('foo')); | 5487 unittest.expect(o[0], unittest.equals('foo')); |
| 5465 unittest.expect(o[1], unittest.equals('foo')); | 5488 unittest.expect(o[1], unittest.equals('foo')); |
| 5466 } | 5489 } |
| 5467 | 5490 |
| 5468 core.int buildCounterServiceAccount = 0; | 5491 core.int buildCounterServiceAccount = 0; |
| 5469 buildServiceAccount() { | 5492 buildServiceAccount() { |
| 5470 var o = new api.ServiceAccount(); | 5493 var o = new api.ServiceAccount(); |
| 5471 buildCounterServiceAccount++; | 5494 buildCounterServiceAccount++; |
| 5472 if (buildCounterServiceAccount < 3) { | 5495 if (buildCounterServiceAccount < 3) { |
| 5473 o.email = "foo"; | 5496 o.email = "foo"; |
| 5474 o.scopes = buildUnnamed2382(); | 5497 o.scopes = buildUnnamed832(); |
| 5475 } | 5498 } |
| 5476 buildCounterServiceAccount--; | 5499 buildCounterServiceAccount--; |
| 5477 return o; | 5500 return o; |
| 5478 } | 5501 } |
| 5479 | 5502 |
| 5480 checkServiceAccount(api.ServiceAccount o) { | 5503 checkServiceAccount(api.ServiceAccount o) { |
| 5481 buildCounterServiceAccount++; | 5504 buildCounterServiceAccount++; |
| 5482 if (buildCounterServiceAccount < 3) { | 5505 if (buildCounterServiceAccount < 3) { |
| 5483 unittest.expect(o.email, unittest.equals('foo')); | 5506 unittest.expect(o.email, unittest.equals('foo')); |
| 5484 checkUnnamed2382(o.scopes); | 5507 checkUnnamed832(o.scopes); |
| 5485 } | 5508 } |
| 5486 buildCounterServiceAccount--; | 5509 buildCounterServiceAccount--; |
| 5487 } | 5510 } |
| 5488 | 5511 |
| 5489 buildUnnamed2383() { | 5512 buildUnnamed833() { |
| 5490 var o = new core.List<core.String>(); | 5513 var o = new core.List<core.String>(); |
| 5491 o.add("foo"); | 5514 o.add("foo"); |
| 5492 o.add("foo"); | 5515 o.add("foo"); |
| 5493 return o; | 5516 return o; |
| 5494 } | 5517 } |
| 5495 | 5518 |
| 5496 checkUnnamed2383(core.List<core.String> o) { | 5519 checkUnnamed833(core.List<core.String> o) { |
| 5497 unittest.expect(o, unittest.hasLength(2)); | 5520 unittest.expect(o, unittest.hasLength(2)); |
| 5498 unittest.expect(o[0], unittest.equals('foo')); | 5521 unittest.expect(o[0], unittest.equals('foo')); |
| 5499 unittest.expect(o[1], unittest.equals('foo')); | 5522 unittest.expect(o[1], unittest.equals('foo')); |
| 5500 } | 5523 } |
| 5501 | 5524 |
| 5502 core.int buildCounterSnapshot = 0; | 5525 core.int buildCounterSnapshot = 0; |
| 5503 buildSnapshot() { | 5526 buildSnapshot() { |
| 5504 var o = new api.Snapshot(); | 5527 var o = new api.Snapshot(); |
| 5505 buildCounterSnapshot++; | 5528 buildCounterSnapshot++; |
| 5506 if (buildCounterSnapshot < 3) { | 5529 if (buildCounterSnapshot < 3) { |
| 5507 o.creationTimestamp = "foo"; | 5530 o.creationTimestamp = "foo"; |
| 5508 o.description = "foo"; | 5531 o.description = "foo"; |
| 5509 o.diskSizeGb = "foo"; | 5532 o.diskSizeGb = "foo"; |
| 5510 o.id = "foo"; | 5533 o.id = "foo"; |
| 5511 o.kind = "foo"; | 5534 o.kind = "foo"; |
| 5512 o.licenses = buildUnnamed2383(); | 5535 o.licenses = buildUnnamed833(); |
| 5513 o.name = "foo"; | 5536 o.name = "foo"; |
| 5514 o.selfLink = "foo"; | 5537 o.selfLink = "foo"; |
| 5515 o.snapshotEncryptionKey = buildCustomerEncryptionKey(); | 5538 o.snapshotEncryptionKey = buildCustomerEncryptionKey(); |
| 5516 o.sourceDisk = "foo"; | 5539 o.sourceDisk = "foo"; |
| 5517 o.sourceDiskEncryptionKey = buildCustomerEncryptionKey(); | 5540 o.sourceDiskEncryptionKey = buildCustomerEncryptionKey(); |
| 5518 o.sourceDiskId = "foo"; | 5541 o.sourceDiskId = "foo"; |
| 5519 o.status = "foo"; | 5542 o.status = "foo"; |
| 5520 o.storageBytes = "foo"; | 5543 o.storageBytes = "foo"; |
| 5521 o.storageBytesStatus = "foo"; | 5544 o.storageBytesStatus = "foo"; |
| 5522 } | 5545 } |
| 5523 buildCounterSnapshot--; | 5546 buildCounterSnapshot--; |
| 5524 return o; | 5547 return o; |
| 5525 } | 5548 } |
| 5526 | 5549 |
| 5527 checkSnapshot(api.Snapshot o) { | 5550 checkSnapshot(api.Snapshot o) { |
| 5528 buildCounterSnapshot++; | 5551 buildCounterSnapshot++; |
| 5529 if (buildCounterSnapshot < 3) { | 5552 if (buildCounterSnapshot < 3) { |
| 5530 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 5553 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 5531 unittest.expect(o.description, unittest.equals('foo')); | 5554 unittest.expect(o.description, unittest.equals('foo')); |
| 5532 unittest.expect(o.diskSizeGb, unittest.equals('foo')); | 5555 unittest.expect(o.diskSizeGb, unittest.equals('foo')); |
| 5533 unittest.expect(o.id, unittest.equals('foo')); | 5556 unittest.expect(o.id, unittest.equals('foo')); |
| 5534 unittest.expect(o.kind, unittest.equals('foo')); | 5557 unittest.expect(o.kind, unittest.equals('foo')); |
| 5535 checkUnnamed2383(o.licenses); | 5558 checkUnnamed833(o.licenses); |
| 5536 unittest.expect(o.name, unittest.equals('foo')); | 5559 unittest.expect(o.name, unittest.equals('foo')); |
| 5537 unittest.expect(o.selfLink, unittest.equals('foo')); | 5560 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 5538 checkCustomerEncryptionKey(o.snapshotEncryptionKey); | 5561 checkCustomerEncryptionKey(o.snapshotEncryptionKey); |
| 5539 unittest.expect(o.sourceDisk, unittest.equals('foo')); | 5562 unittest.expect(o.sourceDisk, unittest.equals('foo')); |
| 5540 checkCustomerEncryptionKey(o.sourceDiskEncryptionKey); | 5563 checkCustomerEncryptionKey(o.sourceDiskEncryptionKey); |
| 5541 unittest.expect(o.sourceDiskId, unittest.equals('foo')); | 5564 unittest.expect(o.sourceDiskId, unittest.equals('foo')); |
| 5542 unittest.expect(o.status, unittest.equals('foo')); | 5565 unittest.expect(o.status, unittest.equals('foo')); |
| 5543 unittest.expect(o.storageBytes, unittest.equals('foo')); | 5566 unittest.expect(o.storageBytes, unittest.equals('foo')); |
| 5544 unittest.expect(o.storageBytesStatus, unittest.equals('foo')); | 5567 unittest.expect(o.storageBytesStatus, unittest.equals('foo')); |
| 5545 } | 5568 } |
| 5546 buildCounterSnapshot--; | 5569 buildCounterSnapshot--; |
| 5547 } | 5570 } |
| 5548 | 5571 |
| 5549 buildUnnamed2384() { | 5572 buildUnnamed834() { |
| 5550 var o = new core.List<api.Snapshot>(); | 5573 var o = new core.List<api.Snapshot>(); |
| 5551 o.add(buildSnapshot()); | 5574 o.add(buildSnapshot()); |
| 5552 o.add(buildSnapshot()); | 5575 o.add(buildSnapshot()); |
| 5553 return o; | 5576 return o; |
| 5554 } | 5577 } |
| 5555 | 5578 |
| 5556 checkUnnamed2384(core.List<api.Snapshot> o) { | 5579 checkUnnamed834(core.List<api.Snapshot> o) { |
| 5557 unittest.expect(o, unittest.hasLength(2)); | 5580 unittest.expect(o, unittest.hasLength(2)); |
| 5558 checkSnapshot(o[0]); | 5581 checkSnapshot(o[0]); |
| 5559 checkSnapshot(o[1]); | 5582 checkSnapshot(o[1]); |
| 5560 } | 5583 } |
| 5561 | 5584 |
| 5562 core.int buildCounterSnapshotList = 0; | 5585 core.int buildCounterSnapshotList = 0; |
| 5563 buildSnapshotList() { | 5586 buildSnapshotList() { |
| 5564 var o = new api.SnapshotList(); | 5587 var o = new api.SnapshotList(); |
| 5565 buildCounterSnapshotList++; | 5588 buildCounterSnapshotList++; |
| 5566 if (buildCounterSnapshotList < 3) { | 5589 if (buildCounterSnapshotList < 3) { |
| 5567 o.id = "foo"; | 5590 o.id = "foo"; |
| 5568 o.items = buildUnnamed2384(); | 5591 o.items = buildUnnamed834(); |
| 5569 o.kind = "foo"; | 5592 o.kind = "foo"; |
| 5570 o.nextPageToken = "foo"; | 5593 o.nextPageToken = "foo"; |
| 5571 o.selfLink = "foo"; | 5594 o.selfLink = "foo"; |
| 5572 } | 5595 } |
| 5573 buildCounterSnapshotList--; | 5596 buildCounterSnapshotList--; |
| 5574 return o; | 5597 return o; |
| 5575 } | 5598 } |
| 5576 | 5599 |
| 5577 checkSnapshotList(api.SnapshotList o) { | 5600 checkSnapshotList(api.SnapshotList o) { |
| 5578 buildCounterSnapshotList++; | 5601 buildCounterSnapshotList++; |
| 5579 if (buildCounterSnapshotList < 3) { | 5602 if (buildCounterSnapshotList < 3) { |
| 5580 unittest.expect(o.id, unittest.equals('foo')); | 5603 unittest.expect(o.id, unittest.equals('foo')); |
| 5581 checkUnnamed2384(o.items); | 5604 checkUnnamed834(o.items); |
| 5582 unittest.expect(o.kind, unittest.equals('foo')); | 5605 unittest.expect(o.kind, unittest.equals('foo')); |
| 5583 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5606 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 5584 unittest.expect(o.selfLink, unittest.equals('foo')); | 5607 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 5585 } | 5608 } |
| 5586 buildCounterSnapshotList--; | 5609 buildCounterSnapshotList--; |
| 5587 } | 5610 } |
| 5588 | 5611 |
| 5589 core.int buildCounterSslCertificate = 0; | 5612 core.int buildCounterSslCertificate = 0; |
| 5590 buildSslCertificate() { | 5613 buildSslCertificate() { |
| 5591 var o = new api.SslCertificate(); | 5614 var o = new api.SslCertificate(); |
| (...skipping 20 matching lines...) Expand all Loading... |
| 5612 unittest.expect(o.description, unittest.equals('foo')); | 5635 unittest.expect(o.description, unittest.equals('foo')); |
| 5613 unittest.expect(o.id, unittest.equals('foo')); | 5636 unittest.expect(o.id, unittest.equals('foo')); |
| 5614 unittest.expect(o.kind, unittest.equals('foo')); | 5637 unittest.expect(o.kind, unittest.equals('foo')); |
| 5615 unittest.expect(o.name, unittest.equals('foo')); | 5638 unittest.expect(o.name, unittest.equals('foo')); |
| 5616 unittest.expect(o.privateKey, unittest.equals('foo')); | 5639 unittest.expect(o.privateKey, unittest.equals('foo')); |
| 5617 unittest.expect(o.selfLink, unittest.equals('foo')); | 5640 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 5618 } | 5641 } |
| 5619 buildCounterSslCertificate--; | 5642 buildCounterSslCertificate--; |
| 5620 } | 5643 } |
| 5621 | 5644 |
| 5622 buildUnnamed2385() { | 5645 buildUnnamed835() { |
| 5623 var o = new core.List<api.SslCertificate>(); | 5646 var o = new core.List<api.SslCertificate>(); |
| 5624 o.add(buildSslCertificate()); | 5647 o.add(buildSslCertificate()); |
| 5625 o.add(buildSslCertificate()); | 5648 o.add(buildSslCertificate()); |
| 5626 return o; | 5649 return o; |
| 5627 } | 5650 } |
| 5628 | 5651 |
| 5629 checkUnnamed2385(core.List<api.SslCertificate> o) { | 5652 checkUnnamed835(core.List<api.SslCertificate> o) { |
| 5630 unittest.expect(o, unittest.hasLength(2)); | 5653 unittest.expect(o, unittest.hasLength(2)); |
| 5631 checkSslCertificate(o[0]); | 5654 checkSslCertificate(o[0]); |
| 5632 checkSslCertificate(o[1]); | 5655 checkSslCertificate(o[1]); |
| 5633 } | 5656 } |
| 5634 | 5657 |
| 5635 core.int buildCounterSslCertificateList = 0; | 5658 core.int buildCounterSslCertificateList = 0; |
| 5636 buildSslCertificateList() { | 5659 buildSslCertificateList() { |
| 5637 var o = new api.SslCertificateList(); | 5660 var o = new api.SslCertificateList(); |
| 5638 buildCounterSslCertificateList++; | 5661 buildCounterSslCertificateList++; |
| 5639 if (buildCounterSslCertificateList < 3) { | 5662 if (buildCounterSslCertificateList < 3) { |
| 5640 o.id = "foo"; | 5663 o.id = "foo"; |
| 5641 o.items = buildUnnamed2385(); | 5664 o.items = buildUnnamed835(); |
| 5642 o.kind = "foo"; | 5665 o.kind = "foo"; |
| 5643 o.nextPageToken = "foo"; | 5666 o.nextPageToken = "foo"; |
| 5644 o.selfLink = "foo"; | 5667 o.selfLink = "foo"; |
| 5645 } | 5668 } |
| 5646 buildCounterSslCertificateList--; | 5669 buildCounterSslCertificateList--; |
| 5647 return o; | 5670 return o; |
| 5648 } | 5671 } |
| 5649 | 5672 |
| 5650 checkSslCertificateList(api.SslCertificateList o) { | 5673 checkSslCertificateList(api.SslCertificateList o) { |
| 5651 buildCounterSslCertificateList++; | 5674 buildCounterSslCertificateList++; |
| 5652 if (buildCounterSslCertificateList < 3) { | 5675 if (buildCounterSslCertificateList < 3) { |
| 5653 unittest.expect(o.id, unittest.equals('foo')); | 5676 unittest.expect(o.id, unittest.equals('foo')); |
| 5654 checkUnnamed2385(o.items); | 5677 checkUnnamed835(o.items); |
| 5655 unittest.expect(o.kind, unittest.equals('foo')); | 5678 unittest.expect(o.kind, unittest.equals('foo')); |
| 5656 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5679 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 5657 unittest.expect(o.selfLink, unittest.equals('foo')); | 5680 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 5658 } | 5681 } |
| 5659 buildCounterSslCertificateList--; | 5682 buildCounterSslCertificateList--; |
| 5660 } | 5683 } |
| 5661 | 5684 |
| 5662 core.int buildCounterSubnetwork = 0; | 5685 core.int buildCounterSubnetwork = 0; |
| 5663 buildSubnetwork() { | 5686 buildSubnetwork() { |
| 5664 var o = new api.Subnetwork(); | 5687 var o = new api.Subnetwork(); |
| (...skipping 24 matching lines...) Expand all Loading... |
| 5689 unittest.expect(o.ipCidrRange, unittest.equals('foo')); | 5712 unittest.expect(o.ipCidrRange, unittest.equals('foo')); |
| 5690 unittest.expect(o.kind, unittest.equals('foo')); | 5713 unittest.expect(o.kind, unittest.equals('foo')); |
| 5691 unittest.expect(o.name, unittest.equals('foo')); | 5714 unittest.expect(o.name, unittest.equals('foo')); |
| 5692 unittest.expect(o.network, unittest.equals('foo')); | 5715 unittest.expect(o.network, unittest.equals('foo')); |
| 5693 unittest.expect(o.region, unittest.equals('foo')); | 5716 unittest.expect(o.region, unittest.equals('foo')); |
| 5694 unittest.expect(o.selfLink, unittest.equals('foo')); | 5717 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 5695 } | 5718 } |
| 5696 buildCounterSubnetwork--; | 5719 buildCounterSubnetwork--; |
| 5697 } | 5720 } |
| 5698 | 5721 |
| 5699 buildUnnamed2386() { | 5722 buildUnnamed836() { |
| 5700 var o = new core.Map<core.String, api.SubnetworksScopedList>(); | 5723 var o = new core.Map<core.String, api.SubnetworksScopedList>(); |
| 5701 o["x"] = buildSubnetworksScopedList(); | 5724 o["x"] = buildSubnetworksScopedList(); |
| 5702 o["y"] = buildSubnetworksScopedList(); | 5725 o["y"] = buildSubnetworksScopedList(); |
| 5703 return o; | 5726 return o; |
| 5704 } | 5727 } |
| 5705 | 5728 |
| 5706 checkUnnamed2386(core.Map<core.String, api.SubnetworksScopedList> o) { | 5729 checkUnnamed836(core.Map<core.String, api.SubnetworksScopedList> o) { |
| 5707 unittest.expect(o, unittest.hasLength(2)); | 5730 unittest.expect(o, unittest.hasLength(2)); |
| 5708 checkSubnetworksScopedList(o["x"]); | 5731 checkSubnetworksScopedList(o["x"]); |
| 5709 checkSubnetworksScopedList(o["y"]); | 5732 checkSubnetworksScopedList(o["y"]); |
| 5710 } | 5733 } |
| 5711 | 5734 |
| 5712 core.int buildCounterSubnetworkAggregatedList = 0; | 5735 core.int buildCounterSubnetworkAggregatedList = 0; |
| 5713 buildSubnetworkAggregatedList() { | 5736 buildSubnetworkAggregatedList() { |
| 5714 var o = new api.SubnetworkAggregatedList(); | 5737 var o = new api.SubnetworkAggregatedList(); |
| 5715 buildCounterSubnetworkAggregatedList++; | 5738 buildCounterSubnetworkAggregatedList++; |
| 5716 if (buildCounterSubnetworkAggregatedList < 3) { | 5739 if (buildCounterSubnetworkAggregatedList < 3) { |
| 5717 o.id = "foo"; | 5740 o.id = "foo"; |
| 5718 o.items = buildUnnamed2386(); | 5741 o.items = buildUnnamed836(); |
| 5719 o.kind = "foo"; | 5742 o.kind = "foo"; |
| 5720 o.nextPageToken = "foo"; | 5743 o.nextPageToken = "foo"; |
| 5721 o.selfLink = "foo"; | 5744 o.selfLink = "foo"; |
| 5722 } | 5745 } |
| 5723 buildCounterSubnetworkAggregatedList--; | 5746 buildCounterSubnetworkAggregatedList--; |
| 5724 return o; | 5747 return o; |
| 5725 } | 5748 } |
| 5726 | 5749 |
| 5727 checkSubnetworkAggregatedList(api.SubnetworkAggregatedList o) { | 5750 checkSubnetworkAggregatedList(api.SubnetworkAggregatedList o) { |
| 5728 buildCounterSubnetworkAggregatedList++; | 5751 buildCounterSubnetworkAggregatedList++; |
| 5729 if (buildCounterSubnetworkAggregatedList < 3) { | 5752 if (buildCounterSubnetworkAggregatedList < 3) { |
| 5730 unittest.expect(o.id, unittest.equals('foo')); | 5753 unittest.expect(o.id, unittest.equals('foo')); |
| 5731 checkUnnamed2386(o.items); | 5754 checkUnnamed836(o.items); |
| 5732 unittest.expect(o.kind, unittest.equals('foo')); | 5755 unittest.expect(o.kind, unittest.equals('foo')); |
| 5733 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5756 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 5734 unittest.expect(o.selfLink, unittest.equals('foo')); | 5757 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 5735 } | 5758 } |
| 5736 buildCounterSubnetworkAggregatedList--; | 5759 buildCounterSubnetworkAggregatedList--; |
| 5737 } | 5760 } |
| 5738 | 5761 |
| 5739 buildUnnamed2387() { | 5762 buildUnnamed837() { |
| 5740 var o = new core.List<api.Subnetwork>(); | 5763 var o = new core.List<api.Subnetwork>(); |
| 5741 o.add(buildSubnetwork()); | 5764 o.add(buildSubnetwork()); |
| 5742 o.add(buildSubnetwork()); | 5765 o.add(buildSubnetwork()); |
| 5743 return o; | 5766 return o; |
| 5744 } | 5767 } |
| 5745 | 5768 |
| 5746 checkUnnamed2387(core.List<api.Subnetwork> o) { | 5769 checkUnnamed837(core.List<api.Subnetwork> o) { |
| 5747 unittest.expect(o, unittest.hasLength(2)); | 5770 unittest.expect(o, unittest.hasLength(2)); |
| 5748 checkSubnetwork(o[0]); | 5771 checkSubnetwork(o[0]); |
| 5749 checkSubnetwork(o[1]); | 5772 checkSubnetwork(o[1]); |
| 5750 } | 5773 } |
| 5751 | 5774 |
| 5752 core.int buildCounterSubnetworkList = 0; | 5775 core.int buildCounterSubnetworkList = 0; |
| 5753 buildSubnetworkList() { | 5776 buildSubnetworkList() { |
| 5754 var o = new api.SubnetworkList(); | 5777 var o = new api.SubnetworkList(); |
| 5755 buildCounterSubnetworkList++; | 5778 buildCounterSubnetworkList++; |
| 5756 if (buildCounterSubnetworkList < 3) { | 5779 if (buildCounterSubnetworkList < 3) { |
| 5757 o.id = "foo"; | 5780 o.id = "foo"; |
| 5758 o.items = buildUnnamed2387(); | 5781 o.items = buildUnnamed837(); |
| 5759 o.kind = "foo"; | 5782 o.kind = "foo"; |
| 5760 o.nextPageToken = "foo"; | 5783 o.nextPageToken = "foo"; |
| 5761 o.selfLink = "foo"; | 5784 o.selfLink = "foo"; |
| 5762 } | 5785 } |
| 5763 buildCounterSubnetworkList--; | 5786 buildCounterSubnetworkList--; |
| 5764 return o; | 5787 return o; |
| 5765 } | 5788 } |
| 5766 | 5789 |
| 5767 checkSubnetworkList(api.SubnetworkList o) { | 5790 checkSubnetworkList(api.SubnetworkList o) { |
| 5768 buildCounterSubnetworkList++; | 5791 buildCounterSubnetworkList++; |
| 5769 if (buildCounterSubnetworkList < 3) { | 5792 if (buildCounterSubnetworkList < 3) { |
| 5770 unittest.expect(o.id, unittest.equals('foo')); | 5793 unittest.expect(o.id, unittest.equals('foo')); |
| 5771 checkUnnamed2387(o.items); | 5794 checkUnnamed837(o.items); |
| 5772 unittest.expect(o.kind, unittest.equals('foo')); | 5795 unittest.expect(o.kind, unittest.equals('foo')); |
| 5773 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5796 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 5774 unittest.expect(o.selfLink, unittest.equals('foo')); | 5797 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 5775 } | 5798 } |
| 5776 buildCounterSubnetworkList--; | 5799 buildCounterSubnetworkList--; |
| 5777 } | 5800 } |
| 5778 | 5801 |
| 5779 buildUnnamed2388() { | 5802 buildUnnamed838() { |
| 5780 var o = new core.List<api.Subnetwork>(); | 5803 var o = new core.List<api.Subnetwork>(); |
| 5781 o.add(buildSubnetwork()); | 5804 o.add(buildSubnetwork()); |
| 5782 o.add(buildSubnetwork()); | 5805 o.add(buildSubnetwork()); |
| 5783 return o; | 5806 return o; |
| 5784 } | 5807 } |
| 5785 | 5808 |
| 5786 checkUnnamed2388(core.List<api.Subnetwork> o) { | 5809 checkUnnamed838(core.List<api.Subnetwork> o) { |
| 5787 unittest.expect(o, unittest.hasLength(2)); | 5810 unittest.expect(o, unittest.hasLength(2)); |
| 5788 checkSubnetwork(o[0]); | 5811 checkSubnetwork(o[0]); |
| 5789 checkSubnetwork(o[1]); | 5812 checkSubnetwork(o[1]); |
| 5790 } | 5813 } |
| 5791 | 5814 |
| 5792 core.int buildCounterSubnetworksScopedListWarningData = 0; | 5815 core.int buildCounterSubnetworksScopedListWarningData = 0; |
| 5793 buildSubnetworksScopedListWarningData() { | 5816 buildSubnetworksScopedListWarningData() { |
| 5794 var o = new api.SubnetworksScopedListWarningData(); | 5817 var o = new api.SubnetworksScopedListWarningData(); |
| 5795 buildCounterSubnetworksScopedListWarningData++; | 5818 buildCounterSubnetworksScopedListWarningData++; |
| 5796 if (buildCounterSubnetworksScopedListWarningData < 3) { | 5819 if (buildCounterSubnetworksScopedListWarningData < 3) { |
| 5797 o.key = "foo"; | 5820 o.key = "foo"; |
| 5798 o.value = "foo"; | 5821 o.value = "foo"; |
| 5799 } | 5822 } |
| 5800 buildCounterSubnetworksScopedListWarningData--; | 5823 buildCounterSubnetworksScopedListWarningData--; |
| 5801 return o; | 5824 return o; |
| 5802 } | 5825 } |
| 5803 | 5826 |
| 5804 checkSubnetworksScopedListWarningData(api.SubnetworksScopedListWarningData o) { | 5827 checkSubnetworksScopedListWarningData(api.SubnetworksScopedListWarningData o) { |
| 5805 buildCounterSubnetworksScopedListWarningData++; | 5828 buildCounterSubnetworksScopedListWarningData++; |
| 5806 if (buildCounterSubnetworksScopedListWarningData < 3) { | 5829 if (buildCounterSubnetworksScopedListWarningData < 3) { |
| 5807 unittest.expect(o.key, unittest.equals('foo')); | 5830 unittest.expect(o.key, unittest.equals('foo')); |
| 5808 unittest.expect(o.value, unittest.equals('foo')); | 5831 unittest.expect(o.value, unittest.equals('foo')); |
| 5809 } | 5832 } |
| 5810 buildCounterSubnetworksScopedListWarningData--; | 5833 buildCounterSubnetworksScopedListWarningData--; |
| 5811 } | 5834 } |
| 5812 | 5835 |
| 5813 buildUnnamed2389() { | 5836 buildUnnamed839() { |
| 5814 var o = new core.List<api.SubnetworksScopedListWarningData>(); | 5837 var o = new core.List<api.SubnetworksScopedListWarningData>(); |
| 5815 o.add(buildSubnetworksScopedListWarningData()); | 5838 o.add(buildSubnetworksScopedListWarningData()); |
| 5816 o.add(buildSubnetworksScopedListWarningData()); | 5839 o.add(buildSubnetworksScopedListWarningData()); |
| 5817 return o; | 5840 return o; |
| 5818 } | 5841 } |
| 5819 | 5842 |
| 5820 checkUnnamed2389(core.List<api.SubnetworksScopedListWarningData> o) { | 5843 checkUnnamed839(core.List<api.SubnetworksScopedListWarningData> o) { |
| 5821 unittest.expect(o, unittest.hasLength(2)); | 5844 unittest.expect(o, unittest.hasLength(2)); |
| 5822 checkSubnetworksScopedListWarningData(o[0]); | 5845 checkSubnetworksScopedListWarningData(o[0]); |
| 5823 checkSubnetworksScopedListWarningData(o[1]); | 5846 checkSubnetworksScopedListWarningData(o[1]); |
| 5824 } | 5847 } |
| 5825 | 5848 |
| 5826 core.int buildCounterSubnetworksScopedListWarning = 0; | 5849 core.int buildCounterSubnetworksScopedListWarning = 0; |
| 5827 buildSubnetworksScopedListWarning() { | 5850 buildSubnetworksScopedListWarning() { |
| 5828 var o = new api.SubnetworksScopedListWarning(); | 5851 var o = new api.SubnetworksScopedListWarning(); |
| 5829 buildCounterSubnetworksScopedListWarning++; | 5852 buildCounterSubnetworksScopedListWarning++; |
| 5830 if (buildCounterSubnetworksScopedListWarning < 3) { | 5853 if (buildCounterSubnetworksScopedListWarning < 3) { |
| 5831 o.code = "foo"; | 5854 o.code = "foo"; |
| 5832 o.data = buildUnnamed2389(); | 5855 o.data = buildUnnamed839(); |
| 5833 o.message = "foo"; | 5856 o.message = "foo"; |
| 5834 } | 5857 } |
| 5835 buildCounterSubnetworksScopedListWarning--; | 5858 buildCounterSubnetworksScopedListWarning--; |
| 5836 return o; | 5859 return o; |
| 5837 } | 5860 } |
| 5838 | 5861 |
| 5839 checkSubnetworksScopedListWarning(api.SubnetworksScopedListWarning o) { | 5862 checkSubnetworksScopedListWarning(api.SubnetworksScopedListWarning o) { |
| 5840 buildCounterSubnetworksScopedListWarning++; | 5863 buildCounterSubnetworksScopedListWarning++; |
| 5841 if (buildCounterSubnetworksScopedListWarning < 3) { | 5864 if (buildCounterSubnetworksScopedListWarning < 3) { |
| 5842 unittest.expect(o.code, unittest.equals('foo')); | 5865 unittest.expect(o.code, unittest.equals('foo')); |
| 5843 checkUnnamed2389(o.data); | 5866 checkUnnamed839(o.data); |
| 5844 unittest.expect(o.message, unittest.equals('foo')); | 5867 unittest.expect(o.message, unittest.equals('foo')); |
| 5845 } | 5868 } |
| 5846 buildCounterSubnetworksScopedListWarning--; | 5869 buildCounterSubnetworksScopedListWarning--; |
| 5847 } | 5870 } |
| 5848 | 5871 |
| 5849 core.int buildCounterSubnetworksScopedList = 0; | 5872 core.int buildCounterSubnetworksScopedList = 0; |
| 5850 buildSubnetworksScopedList() { | 5873 buildSubnetworksScopedList() { |
| 5851 var o = new api.SubnetworksScopedList(); | 5874 var o = new api.SubnetworksScopedList(); |
| 5852 buildCounterSubnetworksScopedList++; | 5875 buildCounterSubnetworksScopedList++; |
| 5853 if (buildCounterSubnetworksScopedList < 3) { | 5876 if (buildCounterSubnetworksScopedList < 3) { |
| 5854 o.subnetworks = buildUnnamed2388(); | 5877 o.subnetworks = buildUnnamed838(); |
| 5855 o.warning = buildSubnetworksScopedListWarning(); | 5878 o.warning = buildSubnetworksScopedListWarning(); |
| 5856 } | 5879 } |
| 5857 buildCounterSubnetworksScopedList--; | 5880 buildCounterSubnetworksScopedList--; |
| 5858 return o; | 5881 return o; |
| 5859 } | 5882 } |
| 5860 | 5883 |
| 5861 checkSubnetworksScopedList(api.SubnetworksScopedList o) { | 5884 checkSubnetworksScopedList(api.SubnetworksScopedList o) { |
| 5862 buildCounterSubnetworksScopedList++; | 5885 buildCounterSubnetworksScopedList++; |
| 5863 if (buildCounterSubnetworksScopedList < 3) { | 5886 if (buildCounterSubnetworksScopedList < 3) { |
| 5864 checkUnnamed2388(o.subnetworks); | 5887 checkUnnamed838(o.subnetworks); |
| 5865 checkSubnetworksScopedListWarning(o.warning); | 5888 checkSubnetworksScopedListWarning(o.warning); |
| 5866 } | 5889 } |
| 5867 buildCounterSubnetworksScopedList--; | 5890 buildCounterSubnetworksScopedList--; |
| 5868 } | 5891 } |
| 5869 | 5892 |
| 5870 buildUnnamed2390() { | 5893 buildUnnamed840() { |
| 5871 var o = new core.List<core.String>(); | 5894 var o = new core.List<core.String>(); |
| 5872 o.add("foo"); | 5895 o.add("foo"); |
| 5873 o.add("foo"); | 5896 o.add("foo"); |
| 5874 return o; | 5897 return o; |
| 5875 } | 5898 } |
| 5876 | 5899 |
| 5877 checkUnnamed2390(core.List<core.String> o) { | 5900 checkUnnamed840(core.List<core.String> o) { |
| 5878 unittest.expect(o, unittest.hasLength(2)); | 5901 unittest.expect(o, unittest.hasLength(2)); |
| 5879 unittest.expect(o[0], unittest.equals('foo')); | 5902 unittest.expect(o[0], unittest.equals('foo')); |
| 5880 unittest.expect(o[1], unittest.equals('foo')); | 5903 unittest.expect(o[1], unittest.equals('foo')); |
| 5881 } | 5904 } |
| 5882 | 5905 |
| 5883 core.int buildCounterTags = 0; | 5906 core.int buildCounterTags = 0; |
| 5884 buildTags() { | 5907 buildTags() { |
| 5885 var o = new api.Tags(); | 5908 var o = new api.Tags(); |
| 5886 buildCounterTags++; | 5909 buildCounterTags++; |
| 5887 if (buildCounterTags < 3) { | 5910 if (buildCounterTags < 3) { |
| 5888 o.fingerprint = "foo"; | 5911 o.fingerprint = "foo"; |
| 5889 o.items = buildUnnamed2390(); | 5912 o.items = buildUnnamed840(); |
| 5890 } | 5913 } |
| 5891 buildCounterTags--; | 5914 buildCounterTags--; |
| 5892 return o; | 5915 return o; |
| 5893 } | 5916 } |
| 5894 | 5917 |
| 5895 checkTags(api.Tags o) { | 5918 checkTags(api.Tags o) { |
| 5896 buildCounterTags++; | 5919 buildCounterTags++; |
| 5897 if (buildCounterTags < 3) { | 5920 if (buildCounterTags < 3) { |
| 5898 unittest.expect(o.fingerprint, unittest.equals('foo')); | 5921 unittest.expect(o.fingerprint, unittest.equals('foo')); |
| 5899 checkUnnamed2390(o.items); | 5922 checkUnnamed840(o.items); |
| 5900 } | 5923 } |
| 5901 buildCounterTags--; | 5924 buildCounterTags--; |
| 5902 } | 5925 } |
| 5903 | 5926 |
| 5904 core.int buildCounterTargetHttpProxy = 0; | 5927 core.int buildCounterTargetHttpProxy = 0; |
| 5905 buildTargetHttpProxy() { | 5928 buildTargetHttpProxy() { |
| 5906 var o = new api.TargetHttpProxy(); | 5929 var o = new api.TargetHttpProxy(); |
| 5907 buildCounterTargetHttpProxy++; | 5930 buildCounterTargetHttpProxy++; |
| 5908 if (buildCounterTargetHttpProxy < 3) { | 5931 if (buildCounterTargetHttpProxy < 3) { |
| 5909 o.creationTimestamp = "foo"; | 5932 o.creationTimestamp = "foo"; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 5925 unittest.expect(o.description, unittest.equals('foo')); | 5948 unittest.expect(o.description, unittest.equals('foo')); |
| 5926 unittest.expect(o.id, unittest.equals('foo')); | 5949 unittest.expect(o.id, unittest.equals('foo')); |
| 5927 unittest.expect(o.kind, unittest.equals('foo')); | 5950 unittest.expect(o.kind, unittest.equals('foo')); |
| 5928 unittest.expect(o.name, unittest.equals('foo')); | 5951 unittest.expect(o.name, unittest.equals('foo')); |
| 5929 unittest.expect(o.selfLink, unittest.equals('foo')); | 5952 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 5930 unittest.expect(o.urlMap, unittest.equals('foo')); | 5953 unittest.expect(o.urlMap, unittest.equals('foo')); |
| 5931 } | 5954 } |
| 5932 buildCounterTargetHttpProxy--; | 5955 buildCounterTargetHttpProxy--; |
| 5933 } | 5956 } |
| 5934 | 5957 |
| 5935 buildUnnamed2391() { | 5958 buildUnnamed841() { |
| 5936 var o = new core.List<api.TargetHttpProxy>(); | 5959 var o = new core.List<api.TargetHttpProxy>(); |
| 5937 o.add(buildTargetHttpProxy()); | 5960 o.add(buildTargetHttpProxy()); |
| 5938 o.add(buildTargetHttpProxy()); | 5961 o.add(buildTargetHttpProxy()); |
| 5939 return o; | 5962 return o; |
| 5940 } | 5963 } |
| 5941 | 5964 |
| 5942 checkUnnamed2391(core.List<api.TargetHttpProxy> o) { | 5965 checkUnnamed841(core.List<api.TargetHttpProxy> o) { |
| 5943 unittest.expect(o, unittest.hasLength(2)); | 5966 unittest.expect(o, unittest.hasLength(2)); |
| 5944 checkTargetHttpProxy(o[0]); | 5967 checkTargetHttpProxy(o[0]); |
| 5945 checkTargetHttpProxy(o[1]); | 5968 checkTargetHttpProxy(o[1]); |
| 5946 } | 5969 } |
| 5947 | 5970 |
| 5948 core.int buildCounterTargetHttpProxyList = 0; | 5971 core.int buildCounterTargetHttpProxyList = 0; |
| 5949 buildTargetHttpProxyList() { | 5972 buildTargetHttpProxyList() { |
| 5950 var o = new api.TargetHttpProxyList(); | 5973 var o = new api.TargetHttpProxyList(); |
| 5951 buildCounterTargetHttpProxyList++; | 5974 buildCounterTargetHttpProxyList++; |
| 5952 if (buildCounterTargetHttpProxyList < 3) { | 5975 if (buildCounterTargetHttpProxyList < 3) { |
| 5953 o.id = "foo"; | 5976 o.id = "foo"; |
| 5954 o.items = buildUnnamed2391(); | 5977 o.items = buildUnnamed841(); |
| 5955 o.kind = "foo"; | 5978 o.kind = "foo"; |
| 5956 o.nextPageToken = "foo"; | 5979 o.nextPageToken = "foo"; |
| 5957 o.selfLink = "foo"; | 5980 o.selfLink = "foo"; |
| 5958 } | 5981 } |
| 5959 buildCounterTargetHttpProxyList--; | 5982 buildCounterTargetHttpProxyList--; |
| 5960 return o; | 5983 return o; |
| 5961 } | 5984 } |
| 5962 | 5985 |
| 5963 checkTargetHttpProxyList(api.TargetHttpProxyList o) { | 5986 checkTargetHttpProxyList(api.TargetHttpProxyList o) { |
| 5964 buildCounterTargetHttpProxyList++; | 5987 buildCounterTargetHttpProxyList++; |
| 5965 if (buildCounterTargetHttpProxyList < 3) { | 5988 if (buildCounterTargetHttpProxyList < 3) { |
| 5966 unittest.expect(o.id, unittest.equals('foo')); | 5989 unittest.expect(o.id, unittest.equals('foo')); |
| 5967 checkUnnamed2391(o.items); | 5990 checkUnnamed841(o.items); |
| 5968 unittest.expect(o.kind, unittest.equals('foo')); | 5991 unittest.expect(o.kind, unittest.equals('foo')); |
| 5969 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5992 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 5970 unittest.expect(o.selfLink, unittest.equals('foo')); | 5993 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 5971 } | 5994 } |
| 5972 buildCounterTargetHttpProxyList--; | 5995 buildCounterTargetHttpProxyList--; |
| 5973 } | 5996 } |
| 5974 | 5997 |
| 5975 buildUnnamed2392() { | 5998 buildUnnamed842() { |
| 5976 var o = new core.List<core.String>(); | 5999 var o = new core.List<core.String>(); |
| 5977 o.add("foo"); | 6000 o.add("foo"); |
| 5978 o.add("foo"); | 6001 o.add("foo"); |
| 5979 return o; | 6002 return o; |
| 5980 } | 6003 } |
| 5981 | 6004 |
| 5982 checkUnnamed2392(core.List<core.String> o) { | 6005 checkUnnamed842(core.List<core.String> o) { |
| 5983 unittest.expect(o, unittest.hasLength(2)); | 6006 unittest.expect(o, unittest.hasLength(2)); |
| 5984 unittest.expect(o[0], unittest.equals('foo')); | 6007 unittest.expect(o[0], unittest.equals('foo')); |
| 5985 unittest.expect(o[1], unittest.equals('foo')); | 6008 unittest.expect(o[1], unittest.equals('foo')); |
| 5986 } | 6009 } |
| 5987 | 6010 |
| 5988 core.int buildCounterTargetHttpsProxiesSetSslCertificatesRequest = 0; | 6011 core.int buildCounterTargetHttpsProxiesSetSslCertificatesRequest = 0; |
| 5989 buildTargetHttpsProxiesSetSslCertificatesRequest() { | 6012 buildTargetHttpsProxiesSetSslCertificatesRequest() { |
| 5990 var o = new api.TargetHttpsProxiesSetSslCertificatesRequest(); | 6013 var o = new api.TargetHttpsProxiesSetSslCertificatesRequest(); |
| 5991 buildCounterTargetHttpsProxiesSetSslCertificatesRequest++; | 6014 buildCounterTargetHttpsProxiesSetSslCertificatesRequest++; |
| 5992 if (buildCounterTargetHttpsProxiesSetSslCertificatesRequest < 3) { | 6015 if (buildCounterTargetHttpsProxiesSetSslCertificatesRequest < 3) { |
| 5993 o.sslCertificates = buildUnnamed2392(); | 6016 o.sslCertificates = buildUnnamed842(); |
| 5994 } | 6017 } |
| 5995 buildCounterTargetHttpsProxiesSetSslCertificatesRequest--; | 6018 buildCounterTargetHttpsProxiesSetSslCertificatesRequest--; |
| 5996 return o; | 6019 return o; |
| 5997 } | 6020 } |
| 5998 | 6021 |
| 5999 checkTargetHttpsProxiesSetSslCertificatesRequest(api.TargetHttpsProxiesSetSslCer
tificatesRequest o) { | 6022 checkTargetHttpsProxiesSetSslCertificatesRequest(api.TargetHttpsProxiesSetSslCer
tificatesRequest o) { |
| 6000 buildCounterTargetHttpsProxiesSetSslCertificatesRequest++; | 6023 buildCounterTargetHttpsProxiesSetSslCertificatesRequest++; |
| 6001 if (buildCounterTargetHttpsProxiesSetSslCertificatesRequest < 3) { | 6024 if (buildCounterTargetHttpsProxiesSetSslCertificatesRequest < 3) { |
| 6002 checkUnnamed2392(o.sslCertificates); | 6025 checkUnnamed842(o.sslCertificates); |
| 6003 } | 6026 } |
| 6004 buildCounterTargetHttpsProxiesSetSslCertificatesRequest--; | 6027 buildCounterTargetHttpsProxiesSetSslCertificatesRequest--; |
| 6005 } | 6028 } |
| 6006 | 6029 |
| 6007 buildUnnamed2393() { | 6030 buildUnnamed843() { |
| 6008 var o = new core.List<core.String>(); | 6031 var o = new core.List<core.String>(); |
| 6009 o.add("foo"); | 6032 o.add("foo"); |
| 6010 o.add("foo"); | 6033 o.add("foo"); |
| 6011 return o; | 6034 return o; |
| 6012 } | 6035 } |
| 6013 | 6036 |
| 6014 checkUnnamed2393(core.List<core.String> o) { | 6037 checkUnnamed843(core.List<core.String> o) { |
| 6015 unittest.expect(o, unittest.hasLength(2)); | 6038 unittest.expect(o, unittest.hasLength(2)); |
| 6016 unittest.expect(o[0], unittest.equals('foo')); | 6039 unittest.expect(o[0], unittest.equals('foo')); |
| 6017 unittest.expect(o[1], unittest.equals('foo')); | 6040 unittest.expect(o[1], unittest.equals('foo')); |
| 6018 } | 6041 } |
| 6019 | 6042 |
| 6020 core.int buildCounterTargetHttpsProxy = 0; | 6043 core.int buildCounterTargetHttpsProxy = 0; |
| 6021 buildTargetHttpsProxy() { | 6044 buildTargetHttpsProxy() { |
| 6022 var o = new api.TargetHttpsProxy(); | 6045 var o = new api.TargetHttpsProxy(); |
| 6023 buildCounterTargetHttpsProxy++; | 6046 buildCounterTargetHttpsProxy++; |
| 6024 if (buildCounterTargetHttpsProxy < 3) { | 6047 if (buildCounterTargetHttpsProxy < 3) { |
| 6025 o.creationTimestamp = "foo"; | 6048 o.creationTimestamp = "foo"; |
| 6026 o.description = "foo"; | 6049 o.description = "foo"; |
| 6027 o.id = "foo"; | 6050 o.id = "foo"; |
| 6028 o.kind = "foo"; | 6051 o.kind = "foo"; |
| 6029 o.name = "foo"; | 6052 o.name = "foo"; |
| 6030 o.selfLink = "foo"; | 6053 o.selfLink = "foo"; |
| 6031 o.sslCertificates = buildUnnamed2393(); | 6054 o.sslCertificates = buildUnnamed843(); |
| 6032 o.urlMap = "foo"; | 6055 o.urlMap = "foo"; |
| 6033 } | 6056 } |
| 6034 buildCounterTargetHttpsProxy--; | 6057 buildCounterTargetHttpsProxy--; |
| 6035 return o; | 6058 return o; |
| 6036 } | 6059 } |
| 6037 | 6060 |
| 6038 checkTargetHttpsProxy(api.TargetHttpsProxy o) { | 6061 checkTargetHttpsProxy(api.TargetHttpsProxy o) { |
| 6039 buildCounterTargetHttpsProxy++; | 6062 buildCounterTargetHttpsProxy++; |
| 6040 if (buildCounterTargetHttpsProxy < 3) { | 6063 if (buildCounterTargetHttpsProxy < 3) { |
| 6041 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 6064 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 6042 unittest.expect(o.description, unittest.equals('foo')); | 6065 unittest.expect(o.description, unittest.equals('foo')); |
| 6043 unittest.expect(o.id, unittest.equals('foo')); | 6066 unittest.expect(o.id, unittest.equals('foo')); |
| 6044 unittest.expect(o.kind, unittest.equals('foo')); | 6067 unittest.expect(o.kind, unittest.equals('foo')); |
| 6045 unittest.expect(o.name, unittest.equals('foo')); | 6068 unittest.expect(o.name, unittest.equals('foo')); |
| 6046 unittest.expect(o.selfLink, unittest.equals('foo')); | 6069 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 6047 checkUnnamed2393(o.sslCertificates); | 6070 checkUnnamed843(o.sslCertificates); |
| 6048 unittest.expect(o.urlMap, unittest.equals('foo')); | 6071 unittest.expect(o.urlMap, unittest.equals('foo')); |
| 6049 } | 6072 } |
| 6050 buildCounterTargetHttpsProxy--; | 6073 buildCounterTargetHttpsProxy--; |
| 6051 } | 6074 } |
| 6052 | 6075 |
| 6053 buildUnnamed2394() { | 6076 buildUnnamed844() { |
| 6054 var o = new core.List<api.TargetHttpsProxy>(); | 6077 var o = new core.List<api.TargetHttpsProxy>(); |
| 6055 o.add(buildTargetHttpsProxy()); | 6078 o.add(buildTargetHttpsProxy()); |
| 6056 o.add(buildTargetHttpsProxy()); | 6079 o.add(buildTargetHttpsProxy()); |
| 6057 return o; | 6080 return o; |
| 6058 } | 6081 } |
| 6059 | 6082 |
| 6060 checkUnnamed2394(core.List<api.TargetHttpsProxy> o) { | 6083 checkUnnamed844(core.List<api.TargetHttpsProxy> o) { |
| 6061 unittest.expect(o, unittest.hasLength(2)); | 6084 unittest.expect(o, unittest.hasLength(2)); |
| 6062 checkTargetHttpsProxy(o[0]); | 6085 checkTargetHttpsProxy(o[0]); |
| 6063 checkTargetHttpsProxy(o[1]); | 6086 checkTargetHttpsProxy(o[1]); |
| 6064 } | 6087 } |
| 6065 | 6088 |
| 6066 core.int buildCounterTargetHttpsProxyList = 0; | 6089 core.int buildCounterTargetHttpsProxyList = 0; |
| 6067 buildTargetHttpsProxyList() { | 6090 buildTargetHttpsProxyList() { |
| 6068 var o = new api.TargetHttpsProxyList(); | 6091 var o = new api.TargetHttpsProxyList(); |
| 6069 buildCounterTargetHttpsProxyList++; | 6092 buildCounterTargetHttpsProxyList++; |
| 6070 if (buildCounterTargetHttpsProxyList < 3) { | 6093 if (buildCounterTargetHttpsProxyList < 3) { |
| 6071 o.id = "foo"; | 6094 o.id = "foo"; |
| 6072 o.items = buildUnnamed2394(); | 6095 o.items = buildUnnamed844(); |
| 6073 o.kind = "foo"; | 6096 o.kind = "foo"; |
| 6074 o.nextPageToken = "foo"; | 6097 o.nextPageToken = "foo"; |
| 6075 o.selfLink = "foo"; | 6098 o.selfLink = "foo"; |
| 6076 } | 6099 } |
| 6077 buildCounterTargetHttpsProxyList--; | 6100 buildCounterTargetHttpsProxyList--; |
| 6078 return o; | 6101 return o; |
| 6079 } | 6102 } |
| 6080 | 6103 |
| 6081 checkTargetHttpsProxyList(api.TargetHttpsProxyList o) { | 6104 checkTargetHttpsProxyList(api.TargetHttpsProxyList o) { |
| 6082 buildCounterTargetHttpsProxyList++; | 6105 buildCounterTargetHttpsProxyList++; |
| 6083 if (buildCounterTargetHttpsProxyList < 3) { | 6106 if (buildCounterTargetHttpsProxyList < 3) { |
| 6084 unittest.expect(o.id, unittest.equals('foo')); | 6107 unittest.expect(o.id, unittest.equals('foo')); |
| 6085 checkUnnamed2394(o.items); | 6108 checkUnnamed844(o.items); |
| 6086 unittest.expect(o.kind, unittest.equals('foo')); | 6109 unittest.expect(o.kind, unittest.equals('foo')); |
| 6087 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6110 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 6088 unittest.expect(o.selfLink, unittest.equals('foo')); | 6111 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 6089 } | 6112 } |
| 6090 buildCounterTargetHttpsProxyList--; | 6113 buildCounterTargetHttpsProxyList--; |
| 6091 } | 6114 } |
| 6092 | 6115 |
| 6093 core.int buildCounterTargetInstance = 0; | 6116 core.int buildCounterTargetInstance = 0; |
| 6094 buildTargetInstance() { | 6117 buildTargetInstance() { |
| 6095 var o = new api.TargetInstance(); | 6118 var o = new api.TargetInstance(); |
| (...skipping 22 matching lines...) Expand all Loading... |
| 6118 unittest.expect(o.instance, unittest.equals('foo')); | 6141 unittest.expect(o.instance, unittest.equals('foo')); |
| 6119 unittest.expect(o.kind, unittest.equals('foo')); | 6142 unittest.expect(o.kind, unittest.equals('foo')); |
| 6120 unittest.expect(o.name, unittest.equals('foo')); | 6143 unittest.expect(o.name, unittest.equals('foo')); |
| 6121 unittest.expect(o.natPolicy, unittest.equals('foo')); | 6144 unittest.expect(o.natPolicy, unittest.equals('foo')); |
| 6122 unittest.expect(o.selfLink, unittest.equals('foo')); | 6145 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 6123 unittest.expect(o.zone, unittest.equals('foo')); | 6146 unittest.expect(o.zone, unittest.equals('foo')); |
| 6124 } | 6147 } |
| 6125 buildCounterTargetInstance--; | 6148 buildCounterTargetInstance--; |
| 6126 } | 6149 } |
| 6127 | 6150 |
| 6128 buildUnnamed2395() { | 6151 buildUnnamed845() { |
| 6129 var o = new core.Map<core.String, api.TargetInstancesScopedList>(); | 6152 var o = new core.Map<core.String, api.TargetInstancesScopedList>(); |
| 6130 o["x"] = buildTargetInstancesScopedList(); | 6153 o["x"] = buildTargetInstancesScopedList(); |
| 6131 o["y"] = buildTargetInstancesScopedList(); | 6154 o["y"] = buildTargetInstancesScopedList(); |
| 6132 return o; | 6155 return o; |
| 6133 } | 6156 } |
| 6134 | 6157 |
| 6135 checkUnnamed2395(core.Map<core.String, api.TargetInstancesScopedList> o) { | 6158 checkUnnamed845(core.Map<core.String, api.TargetInstancesScopedList> o) { |
| 6136 unittest.expect(o, unittest.hasLength(2)); | 6159 unittest.expect(o, unittest.hasLength(2)); |
| 6137 checkTargetInstancesScopedList(o["x"]); | 6160 checkTargetInstancesScopedList(o["x"]); |
| 6138 checkTargetInstancesScopedList(o["y"]); | 6161 checkTargetInstancesScopedList(o["y"]); |
| 6139 } | 6162 } |
| 6140 | 6163 |
| 6141 core.int buildCounterTargetInstanceAggregatedList = 0; | 6164 core.int buildCounterTargetInstanceAggregatedList = 0; |
| 6142 buildTargetInstanceAggregatedList() { | 6165 buildTargetInstanceAggregatedList() { |
| 6143 var o = new api.TargetInstanceAggregatedList(); | 6166 var o = new api.TargetInstanceAggregatedList(); |
| 6144 buildCounterTargetInstanceAggregatedList++; | 6167 buildCounterTargetInstanceAggregatedList++; |
| 6145 if (buildCounterTargetInstanceAggregatedList < 3) { | 6168 if (buildCounterTargetInstanceAggregatedList < 3) { |
| 6146 o.id = "foo"; | 6169 o.id = "foo"; |
| 6147 o.items = buildUnnamed2395(); | 6170 o.items = buildUnnamed845(); |
| 6148 o.kind = "foo"; | 6171 o.kind = "foo"; |
| 6149 o.nextPageToken = "foo"; | 6172 o.nextPageToken = "foo"; |
| 6150 o.selfLink = "foo"; | 6173 o.selfLink = "foo"; |
| 6151 } | 6174 } |
| 6152 buildCounterTargetInstanceAggregatedList--; | 6175 buildCounterTargetInstanceAggregatedList--; |
| 6153 return o; | 6176 return o; |
| 6154 } | 6177 } |
| 6155 | 6178 |
| 6156 checkTargetInstanceAggregatedList(api.TargetInstanceAggregatedList o) { | 6179 checkTargetInstanceAggregatedList(api.TargetInstanceAggregatedList o) { |
| 6157 buildCounterTargetInstanceAggregatedList++; | 6180 buildCounterTargetInstanceAggregatedList++; |
| 6158 if (buildCounterTargetInstanceAggregatedList < 3) { | 6181 if (buildCounterTargetInstanceAggregatedList < 3) { |
| 6159 unittest.expect(o.id, unittest.equals('foo')); | 6182 unittest.expect(o.id, unittest.equals('foo')); |
| 6160 checkUnnamed2395(o.items); | 6183 checkUnnamed845(o.items); |
| 6161 unittest.expect(o.kind, unittest.equals('foo')); | 6184 unittest.expect(o.kind, unittest.equals('foo')); |
| 6162 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6185 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 6163 unittest.expect(o.selfLink, unittest.equals('foo')); | 6186 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 6164 } | 6187 } |
| 6165 buildCounterTargetInstanceAggregatedList--; | 6188 buildCounterTargetInstanceAggregatedList--; |
| 6166 } | 6189 } |
| 6167 | 6190 |
| 6168 buildUnnamed2396() { | 6191 buildUnnamed846() { |
| 6169 var o = new core.List<api.TargetInstance>(); | 6192 var o = new core.List<api.TargetInstance>(); |
| 6170 o.add(buildTargetInstance()); | 6193 o.add(buildTargetInstance()); |
| 6171 o.add(buildTargetInstance()); | 6194 o.add(buildTargetInstance()); |
| 6172 return o; | 6195 return o; |
| 6173 } | 6196 } |
| 6174 | 6197 |
| 6175 checkUnnamed2396(core.List<api.TargetInstance> o) { | 6198 checkUnnamed846(core.List<api.TargetInstance> o) { |
| 6176 unittest.expect(o, unittest.hasLength(2)); | 6199 unittest.expect(o, unittest.hasLength(2)); |
| 6177 checkTargetInstance(o[0]); | 6200 checkTargetInstance(o[0]); |
| 6178 checkTargetInstance(o[1]); | 6201 checkTargetInstance(o[1]); |
| 6179 } | 6202 } |
| 6180 | 6203 |
| 6181 core.int buildCounterTargetInstanceList = 0; | 6204 core.int buildCounterTargetInstanceList = 0; |
| 6182 buildTargetInstanceList() { | 6205 buildTargetInstanceList() { |
| 6183 var o = new api.TargetInstanceList(); | 6206 var o = new api.TargetInstanceList(); |
| 6184 buildCounterTargetInstanceList++; | 6207 buildCounterTargetInstanceList++; |
| 6185 if (buildCounterTargetInstanceList < 3) { | 6208 if (buildCounterTargetInstanceList < 3) { |
| 6186 o.id = "foo"; | 6209 o.id = "foo"; |
| 6187 o.items = buildUnnamed2396(); | 6210 o.items = buildUnnamed846(); |
| 6188 o.kind = "foo"; | 6211 o.kind = "foo"; |
| 6189 o.nextPageToken = "foo"; | 6212 o.nextPageToken = "foo"; |
| 6190 o.selfLink = "foo"; | 6213 o.selfLink = "foo"; |
| 6191 } | 6214 } |
| 6192 buildCounterTargetInstanceList--; | 6215 buildCounterTargetInstanceList--; |
| 6193 return o; | 6216 return o; |
| 6194 } | 6217 } |
| 6195 | 6218 |
| 6196 checkTargetInstanceList(api.TargetInstanceList o) { | 6219 checkTargetInstanceList(api.TargetInstanceList o) { |
| 6197 buildCounterTargetInstanceList++; | 6220 buildCounterTargetInstanceList++; |
| 6198 if (buildCounterTargetInstanceList < 3) { | 6221 if (buildCounterTargetInstanceList < 3) { |
| 6199 unittest.expect(o.id, unittest.equals('foo')); | 6222 unittest.expect(o.id, unittest.equals('foo')); |
| 6200 checkUnnamed2396(o.items); | 6223 checkUnnamed846(o.items); |
| 6201 unittest.expect(o.kind, unittest.equals('foo')); | 6224 unittest.expect(o.kind, unittest.equals('foo')); |
| 6202 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6225 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 6203 unittest.expect(o.selfLink, unittest.equals('foo')); | 6226 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 6204 } | 6227 } |
| 6205 buildCounterTargetInstanceList--; | 6228 buildCounterTargetInstanceList--; |
| 6206 } | 6229 } |
| 6207 | 6230 |
| 6208 buildUnnamed2397() { | 6231 buildUnnamed847() { |
| 6209 var o = new core.List<api.TargetInstance>(); | 6232 var o = new core.List<api.TargetInstance>(); |
| 6210 o.add(buildTargetInstance()); | 6233 o.add(buildTargetInstance()); |
| 6211 o.add(buildTargetInstance()); | 6234 o.add(buildTargetInstance()); |
| 6212 return o; | 6235 return o; |
| 6213 } | 6236 } |
| 6214 | 6237 |
| 6215 checkUnnamed2397(core.List<api.TargetInstance> o) { | 6238 checkUnnamed847(core.List<api.TargetInstance> o) { |
| 6216 unittest.expect(o, unittest.hasLength(2)); | 6239 unittest.expect(o, unittest.hasLength(2)); |
| 6217 checkTargetInstance(o[0]); | 6240 checkTargetInstance(o[0]); |
| 6218 checkTargetInstance(o[1]); | 6241 checkTargetInstance(o[1]); |
| 6219 } | 6242 } |
| 6220 | 6243 |
| 6221 core.int buildCounterTargetInstancesScopedListWarningData = 0; | 6244 core.int buildCounterTargetInstancesScopedListWarningData = 0; |
| 6222 buildTargetInstancesScopedListWarningData() { | 6245 buildTargetInstancesScopedListWarningData() { |
| 6223 var o = new api.TargetInstancesScopedListWarningData(); | 6246 var o = new api.TargetInstancesScopedListWarningData(); |
| 6224 buildCounterTargetInstancesScopedListWarningData++; | 6247 buildCounterTargetInstancesScopedListWarningData++; |
| 6225 if (buildCounterTargetInstancesScopedListWarningData < 3) { | 6248 if (buildCounterTargetInstancesScopedListWarningData < 3) { |
| 6226 o.key = "foo"; | 6249 o.key = "foo"; |
| 6227 o.value = "foo"; | 6250 o.value = "foo"; |
| 6228 } | 6251 } |
| 6229 buildCounterTargetInstancesScopedListWarningData--; | 6252 buildCounterTargetInstancesScopedListWarningData--; |
| 6230 return o; | 6253 return o; |
| 6231 } | 6254 } |
| 6232 | 6255 |
| 6233 checkTargetInstancesScopedListWarningData(api.TargetInstancesScopedListWarningDa
ta o) { | 6256 checkTargetInstancesScopedListWarningData(api.TargetInstancesScopedListWarningDa
ta o) { |
| 6234 buildCounterTargetInstancesScopedListWarningData++; | 6257 buildCounterTargetInstancesScopedListWarningData++; |
| 6235 if (buildCounterTargetInstancesScopedListWarningData < 3) { | 6258 if (buildCounterTargetInstancesScopedListWarningData < 3) { |
| 6236 unittest.expect(o.key, unittest.equals('foo')); | 6259 unittest.expect(o.key, unittest.equals('foo')); |
| 6237 unittest.expect(o.value, unittest.equals('foo')); | 6260 unittest.expect(o.value, unittest.equals('foo')); |
| 6238 } | 6261 } |
| 6239 buildCounterTargetInstancesScopedListWarningData--; | 6262 buildCounterTargetInstancesScopedListWarningData--; |
| 6240 } | 6263 } |
| 6241 | 6264 |
| 6242 buildUnnamed2398() { | 6265 buildUnnamed848() { |
| 6243 var o = new core.List<api.TargetInstancesScopedListWarningData>(); | 6266 var o = new core.List<api.TargetInstancesScopedListWarningData>(); |
| 6244 o.add(buildTargetInstancesScopedListWarningData()); | 6267 o.add(buildTargetInstancesScopedListWarningData()); |
| 6245 o.add(buildTargetInstancesScopedListWarningData()); | 6268 o.add(buildTargetInstancesScopedListWarningData()); |
| 6246 return o; | 6269 return o; |
| 6247 } | 6270 } |
| 6248 | 6271 |
| 6249 checkUnnamed2398(core.List<api.TargetInstancesScopedListWarningData> o) { | 6272 checkUnnamed848(core.List<api.TargetInstancesScopedListWarningData> o) { |
| 6250 unittest.expect(o, unittest.hasLength(2)); | 6273 unittest.expect(o, unittest.hasLength(2)); |
| 6251 checkTargetInstancesScopedListWarningData(o[0]); | 6274 checkTargetInstancesScopedListWarningData(o[0]); |
| 6252 checkTargetInstancesScopedListWarningData(o[1]); | 6275 checkTargetInstancesScopedListWarningData(o[1]); |
| 6253 } | 6276 } |
| 6254 | 6277 |
| 6255 core.int buildCounterTargetInstancesScopedListWarning = 0; | 6278 core.int buildCounterTargetInstancesScopedListWarning = 0; |
| 6256 buildTargetInstancesScopedListWarning() { | 6279 buildTargetInstancesScopedListWarning() { |
| 6257 var o = new api.TargetInstancesScopedListWarning(); | 6280 var o = new api.TargetInstancesScopedListWarning(); |
| 6258 buildCounterTargetInstancesScopedListWarning++; | 6281 buildCounterTargetInstancesScopedListWarning++; |
| 6259 if (buildCounterTargetInstancesScopedListWarning < 3) { | 6282 if (buildCounterTargetInstancesScopedListWarning < 3) { |
| 6260 o.code = "foo"; | 6283 o.code = "foo"; |
| 6261 o.data = buildUnnamed2398(); | 6284 o.data = buildUnnamed848(); |
| 6262 o.message = "foo"; | 6285 o.message = "foo"; |
| 6263 } | 6286 } |
| 6264 buildCounterTargetInstancesScopedListWarning--; | 6287 buildCounterTargetInstancesScopedListWarning--; |
| 6265 return o; | 6288 return o; |
| 6266 } | 6289 } |
| 6267 | 6290 |
| 6268 checkTargetInstancesScopedListWarning(api.TargetInstancesScopedListWarning o) { | 6291 checkTargetInstancesScopedListWarning(api.TargetInstancesScopedListWarning o) { |
| 6269 buildCounterTargetInstancesScopedListWarning++; | 6292 buildCounterTargetInstancesScopedListWarning++; |
| 6270 if (buildCounterTargetInstancesScopedListWarning < 3) { | 6293 if (buildCounterTargetInstancesScopedListWarning < 3) { |
| 6271 unittest.expect(o.code, unittest.equals('foo')); | 6294 unittest.expect(o.code, unittest.equals('foo')); |
| 6272 checkUnnamed2398(o.data); | 6295 checkUnnamed848(o.data); |
| 6273 unittest.expect(o.message, unittest.equals('foo')); | 6296 unittest.expect(o.message, unittest.equals('foo')); |
| 6274 } | 6297 } |
| 6275 buildCounterTargetInstancesScopedListWarning--; | 6298 buildCounterTargetInstancesScopedListWarning--; |
| 6276 } | 6299 } |
| 6277 | 6300 |
| 6278 core.int buildCounterTargetInstancesScopedList = 0; | 6301 core.int buildCounterTargetInstancesScopedList = 0; |
| 6279 buildTargetInstancesScopedList() { | 6302 buildTargetInstancesScopedList() { |
| 6280 var o = new api.TargetInstancesScopedList(); | 6303 var o = new api.TargetInstancesScopedList(); |
| 6281 buildCounterTargetInstancesScopedList++; | 6304 buildCounterTargetInstancesScopedList++; |
| 6282 if (buildCounterTargetInstancesScopedList < 3) { | 6305 if (buildCounterTargetInstancesScopedList < 3) { |
| 6283 o.targetInstances = buildUnnamed2397(); | 6306 o.targetInstances = buildUnnamed847(); |
| 6284 o.warning = buildTargetInstancesScopedListWarning(); | 6307 o.warning = buildTargetInstancesScopedListWarning(); |
| 6285 } | 6308 } |
| 6286 buildCounterTargetInstancesScopedList--; | 6309 buildCounterTargetInstancesScopedList--; |
| 6287 return o; | 6310 return o; |
| 6288 } | 6311 } |
| 6289 | 6312 |
| 6290 checkTargetInstancesScopedList(api.TargetInstancesScopedList o) { | 6313 checkTargetInstancesScopedList(api.TargetInstancesScopedList o) { |
| 6291 buildCounterTargetInstancesScopedList++; | 6314 buildCounterTargetInstancesScopedList++; |
| 6292 if (buildCounterTargetInstancesScopedList < 3) { | 6315 if (buildCounterTargetInstancesScopedList < 3) { |
| 6293 checkUnnamed2397(o.targetInstances); | 6316 checkUnnamed847(o.targetInstances); |
| 6294 checkTargetInstancesScopedListWarning(o.warning); | 6317 checkTargetInstancesScopedListWarning(o.warning); |
| 6295 } | 6318 } |
| 6296 buildCounterTargetInstancesScopedList--; | 6319 buildCounterTargetInstancesScopedList--; |
| 6297 } | 6320 } |
| 6298 | 6321 |
| 6299 buildUnnamed2399() { | 6322 buildUnnamed849() { |
| 6300 var o = new core.List<core.String>(); | 6323 var o = new core.List<core.String>(); |
| 6301 o.add("foo"); | 6324 o.add("foo"); |
| 6302 o.add("foo"); | 6325 o.add("foo"); |
| 6303 return o; | 6326 return o; |
| 6304 } | 6327 } |
| 6305 | 6328 |
| 6306 checkUnnamed2399(core.List<core.String> o) { | 6329 checkUnnamed849(core.List<core.String> o) { |
| 6307 unittest.expect(o, unittest.hasLength(2)); | 6330 unittest.expect(o, unittest.hasLength(2)); |
| 6308 unittest.expect(o[0], unittest.equals('foo')); | 6331 unittest.expect(o[0], unittest.equals('foo')); |
| 6309 unittest.expect(o[1], unittest.equals('foo')); | 6332 unittest.expect(o[1], unittest.equals('foo')); |
| 6310 } | 6333 } |
| 6311 | 6334 |
| 6312 buildUnnamed2400() { | 6335 buildUnnamed850() { |
| 6313 var o = new core.List<core.String>(); | 6336 var o = new core.List<core.String>(); |
| 6314 o.add("foo"); | 6337 o.add("foo"); |
| 6315 o.add("foo"); | 6338 o.add("foo"); |
| 6316 return o; | 6339 return o; |
| 6317 } | 6340 } |
| 6318 | 6341 |
| 6319 checkUnnamed2400(core.List<core.String> o) { | 6342 checkUnnamed850(core.List<core.String> o) { |
| 6320 unittest.expect(o, unittest.hasLength(2)); | 6343 unittest.expect(o, unittest.hasLength(2)); |
| 6321 unittest.expect(o[0], unittest.equals('foo')); | 6344 unittest.expect(o[0], unittest.equals('foo')); |
| 6322 unittest.expect(o[1], unittest.equals('foo')); | 6345 unittest.expect(o[1], unittest.equals('foo')); |
| 6323 } | 6346 } |
| 6324 | 6347 |
| 6325 core.int buildCounterTargetPool = 0; | 6348 core.int buildCounterTargetPool = 0; |
| 6326 buildTargetPool() { | 6349 buildTargetPool() { |
| 6327 var o = new api.TargetPool(); | 6350 var o = new api.TargetPool(); |
| 6328 buildCounterTargetPool++; | 6351 buildCounterTargetPool++; |
| 6329 if (buildCounterTargetPool < 3) { | 6352 if (buildCounterTargetPool < 3) { |
| 6330 o.backupPool = "foo"; | 6353 o.backupPool = "foo"; |
| 6331 o.creationTimestamp = "foo"; | 6354 o.creationTimestamp = "foo"; |
| 6332 o.description = "foo"; | 6355 o.description = "foo"; |
| 6333 o.failoverRatio = 42.0; | 6356 o.failoverRatio = 42.0; |
| 6334 o.healthChecks = buildUnnamed2399(); | 6357 o.healthChecks = buildUnnamed849(); |
| 6335 o.id = "foo"; | 6358 o.id = "foo"; |
| 6336 o.instances = buildUnnamed2400(); | 6359 o.instances = buildUnnamed850(); |
| 6337 o.kind = "foo"; | 6360 o.kind = "foo"; |
| 6338 o.name = "foo"; | 6361 o.name = "foo"; |
| 6339 o.region = "foo"; | 6362 o.region = "foo"; |
| 6340 o.selfLink = "foo"; | 6363 o.selfLink = "foo"; |
| 6341 o.sessionAffinity = "foo"; | 6364 o.sessionAffinity = "foo"; |
| 6342 } | 6365 } |
| 6343 buildCounterTargetPool--; | 6366 buildCounterTargetPool--; |
| 6344 return o; | 6367 return o; |
| 6345 } | 6368 } |
| 6346 | 6369 |
| 6347 checkTargetPool(api.TargetPool o) { | 6370 checkTargetPool(api.TargetPool o) { |
| 6348 buildCounterTargetPool++; | 6371 buildCounterTargetPool++; |
| 6349 if (buildCounterTargetPool < 3) { | 6372 if (buildCounterTargetPool < 3) { |
| 6350 unittest.expect(o.backupPool, unittest.equals('foo')); | 6373 unittest.expect(o.backupPool, unittest.equals('foo')); |
| 6351 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 6374 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 6352 unittest.expect(o.description, unittest.equals('foo')); | 6375 unittest.expect(o.description, unittest.equals('foo')); |
| 6353 unittest.expect(o.failoverRatio, unittest.equals(42.0)); | 6376 unittest.expect(o.failoverRatio, unittest.equals(42.0)); |
| 6354 checkUnnamed2399(o.healthChecks); | 6377 checkUnnamed849(o.healthChecks); |
| 6355 unittest.expect(o.id, unittest.equals('foo')); | 6378 unittest.expect(o.id, unittest.equals('foo')); |
| 6356 checkUnnamed2400(o.instances); | 6379 checkUnnamed850(o.instances); |
| 6357 unittest.expect(o.kind, unittest.equals('foo')); | 6380 unittest.expect(o.kind, unittest.equals('foo')); |
| 6358 unittest.expect(o.name, unittest.equals('foo')); | 6381 unittest.expect(o.name, unittest.equals('foo')); |
| 6359 unittest.expect(o.region, unittest.equals('foo')); | 6382 unittest.expect(o.region, unittest.equals('foo')); |
| 6360 unittest.expect(o.selfLink, unittest.equals('foo')); | 6383 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 6361 unittest.expect(o.sessionAffinity, unittest.equals('foo')); | 6384 unittest.expect(o.sessionAffinity, unittest.equals('foo')); |
| 6362 } | 6385 } |
| 6363 buildCounterTargetPool--; | 6386 buildCounterTargetPool--; |
| 6364 } | 6387 } |
| 6365 | 6388 |
| 6366 buildUnnamed2401() { | 6389 buildUnnamed851() { |
| 6367 var o = new core.Map<core.String, api.TargetPoolsScopedList>(); | 6390 var o = new core.Map<core.String, api.TargetPoolsScopedList>(); |
| 6368 o["x"] = buildTargetPoolsScopedList(); | 6391 o["x"] = buildTargetPoolsScopedList(); |
| 6369 o["y"] = buildTargetPoolsScopedList(); | 6392 o["y"] = buildTargetPoolsScopedList(); |
| 6370 return o; | 6393 return o; |
| 6371 } | 6394 } |
| 6372 | 6395 |
| 6373 checkUnnamed2401(core.Map<core.String, api.TargetPoolsScopedList> o) { | 6396 checkUnnamed851(core.Map<core.String, api.TargetPoolsScopedList> o) { |
| 6374 unittest.expect(o, unittest.hasLength(2)); | 6397 unittest.expect(o, unittest.hasLength(2)); |
| 6375 checkTargetPoolsScopedList(o["x"]); | 6398 checkTargetPoolsScopedList(o["x"]); |
| 6376 checkTargetPoolsScopedList(o["y"]); | 6399 checkTargetPoolsScopedList(o["y"]); |
| 6377 } | 6400 } |
| 6378 | 6401 |
| 6379 core.int buildCounterTargetPoolAggregatedList = 0; | 6402 core.int buildCounterTargetPoolAggregatedList = 0; |
| 6380 buildTargetPoolAggregatedList() { | 6403 buildTargetPoolAggregatedList() { |
| 6381 var o = new api.TargetPoolAggregatedList(); | 6404 var o = new api.TargetPoolAggregatedList(); |
| 6382 buildCounterTargetPoolAggregatedList++; | 6405 buildCounterTargetPoolAggregatedList++; |
| 6383 if (buildCounterTargetPoolAggregatedList < 3) { | 6406 if (buildCounterTargetPoolAggregatedList < 3) { |
| 6384 o.id = "foo"; | 6407 o.id = "foo"; |
| 6385 o.items = buildUnnamed2401(); | 6408 o.items = buildUnnamed851(); |
| 6386 o.kind = "foo"; | 6409 o.kind = "foo"; |
| 6387 o.nextPageToken = "foo"; | 6410 o.nextPageToken = "foo"; |
| 6388 o.selfLink = "foo"; | 6411 o.selfLink = "foo"; |
| 6389 } | 6412 } |
| 6390 buildCounterTargetPoolAggregatedList--; | 6413 buildCounterTargetPoolAggregatedList--; |
| 6391 return o; | 6414 return o; |
| 6392 } | 6415 } |
| 6393 | 6416 |
| 6394 checkTargetPoolAggregatedList(api.TargetPoolAggregatedList o) { | 6417 checkTargetPoolAggregatedList(api.TargetPoolAggregatedList o) { |
| 6395 buildCounterTargetPoolAggregatedList++; | 6418 buildCounterTargetPoolAggregatedList++; |
| 6396 if (buildCounterTargetPoolAggregatedList < 3) { | 6419 if (buildCounterTargetPoolAggregatedList < 3) { |
| 6397 unittest.expect(o.id, unittest.equals('foo')); | 6420 unittest.expect(o.id, unittest.equals('foo')); |
| 6398 checkUnnamed2401(o.items); | 6421 checkUnnamed851(o.items); |
| 6399 unittest.expect(o.kind, unittest.equals('foo')); | 6422 unittest.expect(o.kind, unittest.equals('foo')); |
| 6400 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6423 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 6401 unittest.expect(o.selfLink, unittest.equals('foo')); | 6424 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 6402 } | 6425 } |
| 6403 buildCounterTargetPoolAggregatedList--; | 6426 buildCounterTargetPoolAggregatedList--; |
| 6404 } | 6427 } |
| 6405 | 6428 |
| 6406 buildUnnamed2402() { | 6429 buildUnnamed852() { |
| 6407 var o = new core.List<api.HealthStatus>(); | 6430 var o = new core.List<api.HealthStatus>(); |
| 6408 o.add(buildHealthStatus()); | 6431 o.add(buildHealthStatus()); |
| 6409 o.add(buildHealthStatus()); | 6432 o.add(buildHealthStatus()); |
| 6410 return o; | 6433 return o; |
| 6411 } | 6434 } |
| 6412 | 6435 |
| 6413 checkUnnamed2402(core.List<api.HealthStatus> o) { | 6436 checkUnnamed852(core.List<api.HealthStatus> o) { |
| 6414 unittest.expect(o, unittest.hasLength(2)); | 6437 unittest.expect(o, unittest.hasLength(2)); |
| 6415 checkHealthStatus(o[0]); | 6438 checkHealthStatus(o[0]); |
| 6416 checkHealthStatus(o[1]); | 6439 checkHealthStatus(o[1]); |
| 6417 } | 6440 } |
| 6418 | 6441 |
| 6419 core.int buildCounterTargetPoolInstanceHealth = 0; | 6442 core.int buildCounterTargetPoolInstanceHealth = 0; |
| 6420 buildTargetPoolInstanceHealth() { | 6443 buildTargetPoolInstanceHealth() { |
| 6421 var o = new api.TargetPoolInstanceHealth(); | 6444 var o = new api.TargetPoolInstanceHealth(); |
| 6422 buildCounterTargetPoolInstanceHealth++; | 6445 buildCounterTargetPoolInstanceHealth++; |
| 6423 if (buildCounterTargetPoolInstanceHealth < 3) { | 6446 if (buildCounterTargetPoolInstanceHealth < 3) { |
| 6424 o.healthStatus = buildUnnamed2402(); | 6447 o.healthStatus = buildUnnamed852(); |
| 6425 o.kind = "foo"; | 6448 o.kind = "foo"; |
| 6426 } | 6449 } |
| 6427 buildCounterTargetPoolInstanceHealth--; | 6450 buildCounterTargetPoolInstanceHealth--; |
| 6428 return o; | 6451 return o; |
| 6429 } | 6452 } |
| 6430 | 6453 |
| 6431 checkTargetPoolInstanceHealth(api.TargetPoolInstanceHealth o) { | 6454 checkTargetPoolInstanceHealth(api.TargetPoolInstanceHealth o) { |
| 6432 buildCounterTargetPoolInstanceHealth++; | 6455 buildCounterTargetPoolInstanceHealth++; |
| 6433 if (buildCounterTargetPoolInstanceHealth < 3) { | 6456 if (buildCounterTargetPoolInstanceHealth < 3) { |
| 6434 checkUnnamed2402(o.healthStatus); | 6457 checkUnnamed852(o.healthStatus); |
| 6435 unittest.expect(o.kind, unittest.equals('foo')); | 6458 unittest.expect(o.kind, unittest.equals('foo')); |
| 6436 } | 6459 } |
| 6437 buildCounterTargetPoolInstanceHealth--; | 6460 buildCounterTargetPoolInstanceHealth--; |
| 6438 } | 6461 } |
| 6439 | 6462 |
| 6440 buildUnnamed2403() { | 6463 buildUnnamed853() { |
| 6441 var o = new core.List<api.TargetPool>(); | 6464 var o = new core.List<api.TargetPool>(); |
| 6442 o.add(buildTargetPool()); | 6465 o.add(buildTargetPool()); |
| 6443 o.add(buildTargetPool()); | 6466 o.add(buildTargetPool()); |
| 6444 return o; | 6467 return o; |
| 6445 } | 6468 } |
| 6446 | 6469 |
| 6447 checkUnnamed2403(core.List<api.TargetPool> o) { | 6470 checkUnnamed853(core.List<api.TargetPool> o) { |
| 6448 unittest.expect(o, unittest.hasLength(2)); | 6471 unittest.expect(o, unittest.hasLength(2)); |
| 6449 checkTargetPool(o[0]); | 6472 checkTargetPool(o[0]); |
| 6450 checkTargetPool(o[1]); | 6473 checkTargetPool(o[1]); |
| 6451 } | 6474 } |
| 6452 | 6475 |
| 6453 core.int buildCounterTargetPoolList = 0; | 6476 core.int buildCounterTargetPoolList = 0; |
| 6454 buildTargetPoolList() { | 6477 buildTargetPoolList() { |
| 6455 var o = new api.TargetPoolList(); | 6478 var o = new api.TargetPoolList(); |
| 6456 buildCounterTargetPoolList++; | 6479 buildCounterTargetPoolList++; |
| 6457 if (buildCounterTargetPoolList < 3) { | 6480 if (buildCounterTargetPoolList < 3) { |
| 6458 o.id = "foo"; | 6481 o.id = "foo"; |
| 6459 o.items = buildUnnamed2403(); | 6482 o.items = buildUnnamed853(); |
| 6460 o.kind = "foo"; | 6483 o.kind = "foo"; |
| 6461 o.nextPageToken = "foo"; | 6484 o.nextPageToken = "foo"; |
| 6462 o.selfLink = "foo"; | 6485 o.selfLink = "foo"; |
| 6463 } | 6486 } |
| 6464 buildCounterTargetPoolList--; | 6487 buildCounterTargetPoolList--; |
| 6465 return o; | 6488 return o; |
| 6466 } | 6489 } |
| 6467 | 6490 |
| 6468 checkTargetPoolList(api.TargetPoolList o) { | 6491 checkTargetPoolList(api.TargetPoolList o) { |
| 6469 buildCounterTargetPoolList++; | 6492 buildCounterTargetPoolList++; |
| 6470 if (buildCounterTargetPoolList < 3) { | 6493 if (buildCounterTargetPoolList < 3) { |
| 6471 unittest.expect(o.id, unittest.equals('foo')); | 6494 unittest.expect(o.id, unittest.equals('foo')); |
| 6472 checkUnnamed2403(o.items); | 6495 checkUnnamed853(o.items); |
| 6473 unittest.expect(o.kind, unittest.equals('foo')); | 6496 unittest.expect(o.kind, unittest.equals('foo')); |
| 6474 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6497 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 6475 unittest.expect(o.selfLink, unittest.equals('foo')); | 6498 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 6476 } | 6499 } |
| 6477 buildCounterTargetPoolList--; | 6500 buildCounterTargetPoolList--; |
| 6478 } | 6501 } |
| 6479 | 6502 |
| 6480 buildUnnamed2404() { | 6503 buildUnnamed854() { |
| 6481 var o = new core.List<api.HealthCheckReference>(); | 6504 var o = new core.List<api.HealthCheckReference>(); |
| 6482 o.add(buildHealthCheckReference()); | 6505 o.add(buildHealthCheckReference()); |
| 6483 o.add(buildHealthCheckReference()); | 6506 o.add(buildHealthCheckReference()); |
| 6484 return o; | 6507 return o; |
| 6485 } | 6508 } |
| 6486 | 6509 |
| 6487 checkUnnamed2404(core.List<api.HealthCheckReference> o) { | 6510 checkUnnamed854(core.List<api.HealthCheckReference> o) { |
| 6488 unittest.expect(o, unittest.hasLength(2)); | 6511 unittest.expect(o, unittest.hasLength(2)); |
| 6489 checkHealthCheckReference(o[0]); | 6512 checkHealthCheckReference(o[0]); |
| 6490 checkHealthCheckReference(o[1]); | 6513 checkHealthCheckReference(o[1]); |
| 6491 } | 6514 } |
| 6492 | 6515 |
| 6493 core.int buildCounterTargetPoolsAddHealthCheckRequest = 0; | 6516 core.int buildCounterTargetPoolsAddHealthCheckRequest = 0; |
| 6494 buildTargetPoolsAddHealthCheckRequest() { | 6517 buildTargetPoolsAddHealthCheckRequest() { |
| 6495 var o = new api.TargetPoolsAddHealthCheckRequest(); | 6518 var o = new api.TargetPoolsAddHealthCheckRequest(); |
| 6496 buildCounterTargetPoolsAddHealthCheckRequest++; | 6519 buildCounterTargetPoolsAddHealthCheckRequest++; |
| 6497 if (buildCounterTargetPoolsAddHealthCheckRequest < 3) { | 6520 if (buildCounterTargetPoolsAddHealthCheckRequest < 3) { |
| 6498 o.healthChecks = buildUnnamed2404(); | 6521 o.healthChecks = buildUnnamed854(); |
| 6499 } | 6522 } |
| 6500 buildCounterTargetPoolsAddHealthCheckRequest--; | 6523 buildCounterTargetPoolsAddHealthCheckRequest--; |
| 6501 return o; | 6524 return o; |
| 6502 } | 6525 } |
| 6503 | 6526 |
| 6504 checkTargetPoolsAddHealthCheckRequest(api.TargetPoolsAddHealthCheckRequest o) { | 6527 checkTargetPoolsAddHealthCheckRequest(api.TargetPoolsAddHealthCheckRequest o) { |
| 6505 buildCounterTargetPoolsAddHealthCheckRequest++; | 6528 buildCounterTargetPoolsAddHealthCheckRequest++; |
| 6506 if (buildCounterTargetPoolsAddHealthCheckRequest < 3) { | 6529 if (buildCounterTargetPoolsAddHealthCheckRequest < 3) { |
| 6507 checkUnnamed2404(o.healthChecks); | 6530 checkUnnamed854(o.healthChecks); |
| 6508 } | 6531 } |
| 6509 buildCounterTargetPoolsAddHealthCheckRequest--; | 6532 buildCounterTargetPoolsAddHealthCheckRequest--; |
| 6510 } | 6533 } |
| 6511 | 6534 |
| 6512 buildUnnamed2405() { | 6535 buildUnnamed855() { |
| 6513 var o = new core.List<api.InstanceReference>(); | 6536 var o = new core.List<api.InstanceReference>(); |
| 6514 o.add(buildInstanceReference()); | 6537 o.add(buildInstanceReference()); |
| 6515 o.add(buildInstanceReference()); | 6538 o.add(buildInstanceReference()); |
| 6516 return o; | 6539 return o; |
| 6517 } | 6540 } |
| 6518 | 6541 |
| 6519 checkUnnamed2405(core.List<api.InstanceReference> o) { | 6542 checkUnnamed855(core.List<api.InstanceReference> o) { |
| 6520 unittest.expect(o, unittest.hasLength(2)); | 6543 unittest.expect(o, unittest.hasLength(2)); |
| 6521 checkInstanceReference(o[0]); | 6544 checkInstanceReference(o[0]); |
| 6522 checkInstanceReference(o[1]); | 6545 checkInstanceReference(o[1]); |
| 6523 } | 6546 } |
| 6524 | 6547 |
| 6525 core.int buildCounterTargetPoolsAddInstanceRequest = 0; | 6548 core.int buildCounterTargetPoolsAddInstanceRequest = 0; |
| 6526 buildTargetPoolsAddInstanceRequest() { | 6549 buildTargetPoolsAddInstanceRequest() { |
| 6527 var o = new api.TargetPoolsAddInstanceRequest(); | 6550 var o = new api.TargetPoolsAddInstanceRequest(); |
| 6528 buildCounterTargetPoolsAddInstanceRequest++; | 6551 buildCounterTargetPoolsAddInstanceRequest++; |
| 6529 if (buildCounterTargetPoolsAddInstanceRequest < 3) { | 6552 if (buildCounterTargetPoolsAddInstanceRequest < 3) { |
| 6530 o.instances = buildUnnamed2405(); | 6553 o.instances = buildUnnamed855(); |
| 6531 } | 6554 } |
| 6532 buildCounterTargetPoolsAddInstanceRequest--; | 6555 buildCounterTargetPoolsAddInstanceRequest--; |
| 6533 return o; | 6556 return o; |
| 6534 } | 6557 } |
| 6535 | 6558 |
| 6536 checkTargetPoolsAddInstanceRequest(api.TargetPoolsAddInstanceRequest o) { | 6559 checkTargetPoolsAddInstanceRequest(api.TargetPoolsAddInstanceRequest o) { |
| 6537 buildCounterTargetPoolsAddInstanceRequest++; | 6560 buildCounterTargetPoolsAddInstanceRequest++; |
| 6538 if (buildCounterTargetPoolsAddInstanceRequest < 3) { | 6561 if (buildCounterTargetPoolsAddInstanceRequest < 3) { |
| 6539 checkUnnamed2405(o.instances); | 6562 checkUnnamed855(o.instances); |
| 6540 } | 6563 } |
| 6541 buildCounterTargetPoolsAddInstanceRequest--; | 6564 buildCounterTargetPoolsAddInstanceRequest--; |
| 6542 } | 6565 } |
| 6543 | 6566 |
| 6544 buildUnnamed2406() { | 6567 buildUnnamed856() { |
| 6545 var o = new core.List<api.HealthCheckReference>(); | 6568 var o = new core.List<api.HealthCheckReference>(); |
| 6546 o.add(buildHealthCheckReference()); | 6569 o.add(buildHealthCheckReference()); |
| 6547 o.add(buildHealthCheckReference()); | 6570 o.add(buildHealthCheckReference()); |
| 6548 return o; | 6571 return o; |
| 6549 } | 6572 } |
| 6550 | 6573 |
| 6551 checkUnnamed2406(core.List<api.HealthCheckReference> o) { | 6574 checkUnnamed856(core.List<api.HealthCheckReference> o) { |
| 6552 unittest.expect(o, unittest.hasLength(2)); | 6575 unittest.expect(o, unittest.hasLength(2)); |
| 6553 checkHealthCheckReference(o[0]); | 6576 checkHealthCheckReference(o[0]); |
| 6554 checkHealthCheckReference(o[1]); | 6577 checkHealthCheckReference(o[1]); |
| 6555 } | 6578 } |
| 6556 | 6579 |
| 6557 core.int buildCounterTargetPoolsRemoveHealthCheckRequest = 0; | 6580 core.int buildCounterTargetPoolsRemoveHealthCheckRequest = 0; |
| 6558 buildTargetPoolsRemoveHealthCheckRequest() { | 6581 buildTargetPoolsRemoveHealthCheckRequest() { |
| 6559 var o = new api.TargetPoolsRemoveHealthCheckRequest(); | 6582 var o = new api.TargetPoolsRemoveHealthCheckRequest(); |
| 6560 buildCounterTargetPoolsRemoveHealthCheckRequest++; | 6583 buildCounterTargetPoolsRemoveHealthCheckRequest++; |
| 6561 if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) { | 6584 if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) { |
| 6562 o.healthChecks = buildUnnamed2406(); | 6585 o.healthChecks = buildUnnamed856(); |
| 6563 } | 6586 } |
| 6564 buildCounterTargetPoolsRemoveHealthCheckRequest--; | 6587 buildCounterTargetPoolsRemoveHealthCheckRequest--; |
| 6565 return o; | 6588 return o; |
| 6566 } | 6589 } |
| 6567 | 6590 |
| 6568 checkTargetPoolsRemoveHealthCheckRequest(api.TargetPoolsRemoveHealthCheckRequest
o) { | 6591 checkTargetPoolsRemoveHealthCheckRequest(api.TargetPoolsRemoveHealthCheckRequest
o) { |
| 6569 buildCounterTargetPoolsRemoveHealthCheckRequest++; | 6592 buildCounterTargetPoolsRemoveHealthCheckRequest++; |
| 6570 if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) { | 6593 if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) { |
| 6571 checkUnnamed2406(o.healthChecks); | 6594 checkUnnamed856(o.healthChecks); |
| 6572 } | 6595 } |
| 6573 buildCounterTargetPoolsRemoveHealthCheckRequest--; | 6596 buildCounterTargetPoolsRemoveHealthCheckRequest--; |
| 6574 } | 6597 } |
| 6575 | 6598 |
| 6576 buildUnnamed2407() { | 6599 buildUnnamed857() { |
| 6577 var o = new core.List<api.InstanceReference>(); | 6600 var o = new core.List<api.InstanceReference>(); |
| 6578 o.add(buildInstanceReference()); | 6601 o.add(buildInstanceReference()); |
| 6579 o.add(buildInstanceReference()); | 6602 o.add(buildInstanceReference()); |
| 6580 return o; | 6603 return o; |
| 6581 } | 6604 } |
| 6582 | 6605 |
| 6583 checkUnnamed2407(core.List<api.InstanceReference> o) { | 6606 checkUnnamed857(core.List<api.InstanceReference> o) { |
| 6584 unittest.expect(o, unittest.hasLength(2)); | 6607 unittest.expect(o, unittest.hasLength(2)); |
| 6585 checkInstanceReference(o[0]); | 6608 checkInstanceReference(o[0]); |
| 6586 checkInstanceReference(o[1]); | 6609 checkInstanceReference(o[1]); |
| 6587 } | 6610 } |
| 6588 | 6611 |
| 6589 core.int buildCounterTargetPoolsRemoveInstanceRequest = 0; | 6612 core.int buildCounterTargetPoolsRemoveInstanceRequest = 0; |
| 6590 buildTargetPoolsRemoveInstanceRequest() { | 6613 buildTargetPoolsRemoveInstanceRequest() { |
| 6591 var o = new api.TargetPoolsRemoveInstanceRequest(); | 6614 var o = new api.TargetPoolsRemoveInstanceRequest(); |
| 6592 buildCounterTargetPoolsRemoveInstanceRequest++; | 6615 buildCounterTargetPoolsRemoveInstanceRequest++; |
| 6593 if (buildCounterTargetPoolsRemoveInstanceRequest < 3) { | 6616 if (buildCounterTargetPoolsRemoveInstanceRequest < 3) { |
| 6594 o.instances = buildUnnamed2407(); | 6617 o.instances = buildUnnamed857(); |
| 6595 } | 6618 } |
| 6596 buildCounterTargetPoolsRemoveInstanceRequest--; | 6619 buildCounterTargetPoolsRemoveInstanceRequest--; |
| 6597 return o; | 6620 return o; |
| 6598 } | 6621 } |
| 6599 | 6622 |
| 6600 checkTargetPoolsRemoveInstanceRequest(api.TargetPoolsRemoveInstanceRequest o) { | 6623 checkTargetPoolsRemoveInstanceRequest(api.TargetPoolsRemoveInstanceRequest o) { |
| 6601 buildCounterTargetPoolsRemoveInstanceRequest++; | 6624 buildCounterTargetPoolsRemoveInstanceRequest++; |
| 6602 if (buildCounterTargetPoolsRemoveInstanceRequest < 3) { | 6625 if (buildCounterTargetPoolsRemoveInstanceRequest < 3) { |
| 6603 checkUnnamed2407(o.instances); | 6626 checkUnnamed857(o.instances); |
| 6604 } | 6627 } |
| 6605 buildCounterTargetPoolsRemoveInstanceRequest--; | 6628 buildCounterTargetPoolsRemoveInstanceRequest--; |
| 6606 } | 6629 } |
| 6607 | 6630 |
| 6608 buildUnnamed2408() { | 6631 buildUnnamed858() { |
| 6609 var o = new core.List<api.TargetPool>(); | 6632 var o = new core.List<api.TargetPool>(); |
| 6610 o.add(buildTargetPool()); | 6633 o.add(buildTargetPool()); |
| 6611 o.add(buildTargetPool()); | 6634 o.add(buildTargetPool()); |
| 6612 return o; | 6635 return o; |
| 6613 } | 6636 } |
| 6614 | 6637 |
| 6615 checkUnnamed2408(core.List<api.TargetPool> o) { | 6638 checkUnnamed858(core.List<api.TargetPool> o) { |
| 6616 unittest.expect(o, unittest.hasLength(2)); | 6639 unittest.expect(o, unittest.hasLength(2)); |
| 6617 checkTargetPool(o[0]); | 6640 checkTargetPool(o[0]); |
| 6618 checkTargetPool(o[1]); | 6641 checkTargetPool(o[1]); |
| 6619 } | 6642 } |
| 6620 | 6643 |
| 6621 core.int buildCounterTargetPoolsScopedListWarningData = 0; | 6644 core.int buildCounterTargetPoolsScopedListWarningData = 0; |
| 6622 buildTargetPoolsScopedListWarningData() { | 6645 buildTargetPoolsScopedListWarningData() { |
| 6623 var o = new api.TargetPoolsScopedListWarningData(); | 6646 var o = new api.TargetPoolsScopedListWarningData(); |
| 6624 buildCounterTargetPoolsScopedListWarningData++; | 6647 buildCounterTargetPoolsScopedListWarningData++; |
| 6625 if (buildCounterTargetPoolsScopedListWarningData < 3) { | 6648 if (buildCounterTargetPoolsScopedListWarningData < 3) { |
| 6626 o.key = "foo"; | 6649 o.key = "foo"; |
| 6627 o.value = "foo"; | 6650 o.value = "foo"; |
| 6628 } | 6651 } |
| 6629 buildCounterTargetPoolsScopedListWarningData--; | 6652 buildCounterTargetPoolsScopedListWarningData--; |
| 6630 return o; | 6653 return o; |
| 6631 } | 6654 } |
| 6632 | 6655 |
| 6633 checkTargetPoolsScopedListWarningData(api.TargetPoolsScopedListWarningData o) { | 6656 checkTargetPoolsScopedListWarningData(api.TargetPoolsScopedListWarningData o) { |
| 6634 buildCounterTargetPoolsScopedListWarningData++; | 6657 buildCounterTargetPoolsScopedListWarningData++; |
| 6635 if (buildCounterTargetPoolsScopedListWarningData < 3) { | 6658 if (buildCounterTargetPoolsScopedListWarningData < 3) { |
| 6636 unittest.expect(o.key, unittest.equals('foo')); | 6659 unittest.expect(o.key, unittest.equals('foo')); |
| 6637 unittest.expect(o.value, unittest.equals('foo')); | 6660 unittest.expect(o.value, unittest.equals('foo')); |
| 6638 } | 6661 } |
| 6639 buildCounterTargetPoolsScopedListWarningData--; | 6662 buildCounterTargetPoolsScopedListWarningData--; |
| 6640 } | 6663 } |
| 6641 | 6664 |
| 6642 buildUnnamed2409() { | 6665 buildUnnamed859() { |
| 6643 var o = new core.List<api.TargetPoolsScopedListWarningData>(); | 6666 var o = new core.List<api.TargetPoolsScopedListWarningData>(); |
| 6644 o.add(buildTargetPoolsScopedListWarningData()); | 6667 o.add(buildTargetPoolsScopedListWarningData()); |
| 6645 o.add(buildTargetPoolsScopedListWarningData()); | 6668 o.add(buildTargetPoolsScopedListWarningData()); |
| 6646 return o; | 6669 return o; |
| 6647 } | 6670 } |
| 6648 | 6671 |
| 6649 checkUnnamed2409(core.List<api.TargetPoolsScopedListWarningData> o) { | 6672 checkUnnamed859(core.List<api.TargetPoolsScopedListWarningData> o) { |
| 6650 unittest.expect(o, unittest.hasLength(2)); | 6673 unittest.expect(o, unittest.hasLength(2)); |
| 6651 checkTargetPoolsScopedListWarningData(o[0]); | 6674 checkTargetPoolsScopedListWarningData(o[0]); |
| 6652 checkTargetPoolsScopedListWarningData(o[1]); | 6675 checkTargetPoolsScopedListWarningData(o[1]); |
| 6653 } | 6676 } |
| 6654 | 6677 |
| 6655 core.int buildCounterTargetPoolsScopedListWarning = 0; | 6678 core.int buildCounterTargetPoolsScopedListWarning = 0; |
| 6656 buildTargetPoolsScopedListWarning() { | 6679 buildTargetPoolsScopedListWarning() { |
| 6657 var o = new api.TargetPoolsScopedListWarning(); | 6680 var o = new api.TargetPoolsScopedListWarning(); |
| 6658 buildCounterTargetPoolsScopedListWarning++; | 6681 buildCounterTargetPoolsScopedListWarning++; |
| 6659 if (buildCounterTargetPoolsScopedListWarning < 3) { | 6682 if (buildCounterTargetPoolsScopedListWarning < 3) { |
| 6660 o.code = "foo"; | 6683 o.code = "foo"; |
| 6661 o.data = buildUnnamed2409(); | 6684 o.data = buildUnnamed859(); |
| 6662 o.message = "foo"; | 6685 o.message = "foo"; |
| 6663 } | 6686 } |
| 6664 buildCounterTargetPoolsScopedListWarning--; | 6687 buildCounterTargetPoolsScopedListWarning--; |
| 6665 return o; | 6688 return o; |
| 6666 } | 6689 } |
| 6667 | 6690 |
| 6668 checkTargetPoolsScopedListWarning(api.TargetPoolsScopedListWarning o) { | 6691 checkTargetPoolsScopedListWarning(api.TargetPoolsScopedListWarning o) { |
| 6669 buildCounterTargetPoolsScopedListWarning++; | 6692 buildCounterTargetPoolsScopedListWarning++; |
| 6670 if (buildCounterTargetPoolsScopedListWarning < 3) { | 6693 if (buildCounterTargetPoolsScopedListWarning < 3) { |
| 6671 unittest.expect(o.code, unittest.equals('foo')); | 6694 unittest.expect(o.code, unittest.equals('foo')); |
| 6672 checkUnnamed2409(o.data); | 6695 checkUnnamed859(o.data); |
| 6673 unittest.expect(o.message, unittest.equals('foo')); | 6696 unittest.expect(o.message, unittest.equals('foo')); |
| 6674 } | 6697 } |
| 6675 buildCounterTargetPoolsScopedListWarning--; | 6698 buildCounterTargetPoolsScopedListWarning--; |
| 6676 } | 6699 } |
| 6677 | 6700 |
| 6678 core.int buildCounterTargetPoolsScopedList = 0; | 6701 core.int buildCounterTargetPoolsScopedList = 0; |
| 6679 buildTargetPoolsScopedList() { | 6702 buildTargetPoolsScopedList() { |
| 6680 var o = new api.TargetPoolsScopedList(); | 6703 var o = new api.TargetPoolsScopedList(); |
| 6681 buildCounterTargetPoolsScopedList++; | 6704 buildCounterTargetPoolsScopedList++; |
| 6682 if (buildCounterTargetPoolsScopedList < 3) { | 6705 if (buildCounterTargetPoolsScopedList < 3) { |
| 6683 o.targetPools = buildUnnamed2408(); | 6706 o.targetPools = buildUnnamed858(); |
| 6684 o.warning = buildTargetPoolsScopedListWarning(); | 6707 o.warning = buildTargetPoolsScopedListWarning(); |
| 6685 } | 6708 } |
| 6686 buildCounterTargetPoolsScopedList--; | 6709 buildCounterTargetPoolsScopedList--; |
| 6687 return o; | 6710 return o; |
| 6688 } | 6711 } |
| 6689 | 6712 |
| 6690 checkTargetPoolsScopedList(api.TargetPoolsScopedList o) { | 6713 checkTargetPoolsScopedList(api.TargetPoolsScopedList o) { |
| 6691 buildCounterTargetPoolsScopedList++; | 6714 buildCounterTargetPoolsScopedList++; |
| 6692 if (buildCounterTargetPoolsScopedList < 3) { | 6715 if (buildCounterTargetPoolsScopedList < 3) { |
| 6693 checkUnnamed2408(o.targetPools); | 6716 checkUnnamed858(o.targetPools); |
| 6694 checkTargetPoolsScopedListWarning(o.warning); | 6717 checkTargetPoolsScopedListWarning(o.warning); |
| 6695 } | 6718 } |
| 6696 buildCounterTargetPoolsScopedList--; | 6719 buildCounterTargetPoolsScopedList--; |
| 6697 } | 6720 } |
| 6698 | 6721 |
| 6699 core.int buildCounterTargetReference = 0; | 6722 core.int buildCounterTargetReference = 0; |
| 6700 buildTargetReference() { | 6723 buildTargetReference() { |
| 6701 var o = new api.TargetReference(); | 6724 var o = new api.TargetReference(); |
| 6702 buildCounterTargetReference++; | 6725 buildCounterTargetReference++; |
| 6703 if (buildCounterTargetReference < 3) { | 6726 if (buildCounterTargetReference < 3) { |
| 6704 o.target = "foo"; | 6727 o.target = "foo"; |
| 6705 } | 6728 } |
| 6706 buildCounterTargetReference--; | 6729 buildCounterTargetReference--; |
| 6707 return o; | 6730 return o; |
| 6708 } | 6731 } |
| 6709 | 6732 |
| 6710 checkTargetReference(api.TargetReference o) { | 6733 checkTargetReference(api.TargetReference o) { |
| 6711 buildCounterTargetReference++; | 6734 buildCounterTargetReference++; |
| 6712 if (buildCounterTargetReference < 3) { | 6735 if (buildCounterTargetReference < 3) { |
| 6713 unittest.expect(o.target, unittest.equals('foo')); | 6736 unittest.expect(o.target, unittest.equals('foo')); |
| 6714 } | 6737 } |
| 6715 buildCounterTargetReference--; | 6738 buildCounterTargetReference--; |
| 6716 } | 6739 } |
| 6717 | 6740 |
| 6718 buildUnnamed2410() { | 6741 buildUnnamed860() { |
| 6719 var o = new core.List<core.String>(); | 6742 var o = new core.List<core.String>(); |
| 6720 o.add("foo"); | 6743 o.add("foo"); |
| 6721 o.add("foo"); | 6744 o.add("foo"); |
| 6722 return o; | 6745 return o; |
| 6723 } | 6746 } |
| 6724 | 6747 |
| 6725 checkUnnamed2410(core.List<core.String> o) { | 6748 checkUnnamed860(core.List<core.String> o) { |
| 6726 unittest.expect(o, unittest.hasLength(2)); | 6749 unittest.expect(o, unittest.hasLength(2)); |
| 6727 unittest.expect(o[0], unittest.equals('foo')); | 6750 unittest.expect(o[0], unittest.equals('foo')); |
| 6728 unittest.expect(o[1], unittest.equals('foo')); | 6751 unittest.expect(o[1], unittest.equals('foo')); |
| 6729 } | 6752 } |
| 6730 | 6753 |
| 6731 buildUnnamed2411() { | 6754 buildUnnamed861() { |
| 6732 var o = new core.List<core.String>(); | 6755 var o = new core.List<core.String>(); |
| 6733 o.add("foo"); | 6756 o.add("foo"); |
| 6734 o.add("foo"); | 6757 o.add("foo"); |
| 6735 return o; | 6758 return o; |
| 6736 } | 6759 } |
| 6737 | 6760 |
| 6738 checkUnnamed2411(core.List<core.String> o) { | 6761 checkUnnamed861(core.List<core.String> o) { |
| 6739 unittest.expect(o, unittest.hasLength(2)); | 6762 unittest.expect(o, unittest.hasLength(2)); |
| 6740 unittest.expect(o[0], unittest.equals('foo')); | 6763 unittest.expect(o[0], unittest.equals('foo')); |
| 6741 unittest.expect(o[1], unittest.equals('foo')); | 6764 unittest.expect(o[1], unittest.equals('foo')); |
| 6742 } | 6765 } |
| 6743 | 6766 |
| 6744 core.int buildCounterTargetVpnGateway = 0; | 6767 core.int buildCounterTargetVpnGateway = 0; |
| 6745 buildTargetVpnGateway() { | 6768 buildTargetVpnGateway() { |
| 6746 var o = new api.TargetVpnGateway(); | 6769 var o = new api.TargetVpnGateway(); |
| 6747 buildCounterTargetVpnGateway++; | 6770 buildCounterTargetVpnGateway++; |
| 6748 if (buildCounterTargetVpnGateway < 3) { | 6771 if (buildCounterTargetVpnGateway < 3) { |
| 6749 o.creationTimestamp = "foo"; | 6772 o.creationTimestamp = "foo"; |
| 6750 o.description = "foo"; | 6773 o.description = "foo"; |
| 6751 o.forwardingRules = buildUnnamed2410(); | 6774 o.forwardingRules = buildUnnamed860(); |
| 6752 o.id = "foo"; | 6775 o.id = "foo"; |
| 6753 o.kind = "foo"; | 6776 o.kind = "foo"; |
| 6754 o.name = "foo"; | 6777 o.name = "foo"; |
| 6755 o.network = "foo"; | 6778 o.network = "foo"; |
| 6756 o.region = "foo"; | 6779 o.region = "foo"; |
| 6757 o.selfLink = "foo"; | 6780 o.selfLink = "foo"; |
| 6758 o.status = "foo"; | 6781 o.status = "foo"; |
| 6759 o.tunnels = buildUnnamed2411(); | 6782 o.tunnels = buildUnnamed861(); |
| 6760 } | 6783 } |
| 6761 buildCounterTargetVpnGateway--; | 6784 buildCounterTargetVpnGateway--; |
| 6762 return o; | 6785 return o; |
| 6763 } | 6786 } |
| 6764 | 6787 |
| 6765 checkTargetVpnGateway(api.TargetVpnGateway o) { | 6788 checkTargetVpnGateway(api.TargetVpnGateway o) { |
| 6766 buildCounterTargetVpnGateway++; | 6789 buildCounterTargetVpnGateway++; |
| 6767 if (buildCounterTargetVpnGateway < 3) { | 6790 if (buildCounterTargetVpnGateway < 3) { |
| 6768 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 6791 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 6769 unittest.expect(o.description, unittest.equals('foo')); | 6792 unittest.expect(o.description, unittest.equals('foo')); |
| 6770 checkUnnamed2410(o.forwardingRules); | 6793 checkUnnamed860(o.forwardingRules); |
| 6771 unittest.expect(o.id, unittest.equals('foo')); | 6794 unittest.expect(o.id, unittest.equals('foo')); |
| 6772 unittest.expect(o.kind, unittest.equals('foo')); | 6795 unittest.expect(o.kind, unittest.equals('foo')); |
| 6773 unittest.expect(o.name, unittest.equals('foo')); | 6796 unittest.expect(o.name, unittest.equals('foo')); |
| 6774 unittest.expect(o.network, unittest.equals('foo')); | 6797 unittest.expect(o.network, unittest.equals('foo')); |
| 6775 unittest.expect(o.region, unittest.equals('foo')); | 6798 unittest.expect(o.region, unittest.equals('foo')); |
| 6776 unittest.expect(o.selfLink, unittest.equals('foo')); | 6799 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 6777 unittest.expect(o.status, unittest.equals('foo')); | 6800 unittest.expect(o.status, unittest.equals('foo')); |
| 6778 checkUnnamed2411(o.tunnels); | 6801 checkUnnamed861(o.tunnels); |
| 6779 } | 6802 } |
| 6780 buildCounterTargetVpnGateway--; | 6803 buildCounterTargetVpnGateway--; |
| 6781 } | 6804 } |
| 6782 | 6805 |
| 6783 buildUnnamed2412() { | 6806 buildUnnamed862() { |
| 6784 var o = new core.Map<core.String, api.TargetVpnGatewaysScopedList>(); | 6807 var o = new core.Map<core.String, api.TargetVpnGatewaysScopedList>(); |
| 6785 o["x"] = buildTargetVpnGatewaysScopedList(); | 6808 o["x"] = buildTargetVpnGatewaysScopedList(); |
| 6786 o["y"] = buildTargetVpnGatewaysScopedList(); | 6809 o["y"] = buildTargetVpnGatewaysScopedList(); |
| 6787 return o; | 6810 return o; |
| 6788 } | 6811 } |
| 6789 | 6812 |
| 6790 checkUnnamed2412(core.Map<core.String, api.TargetVpnGatewaysScopedList> o) { | 6813 checkUnnamed862(core.Map<core.String, api.TargetVpnGatewaysScopedList> o) { |
| 6791 unittest.expect(o, unittest.hasLength(2)); | 6814 unittest.expect(o, unittest.hasLength(2)); |
| 6792 checkTargetVpnGatewaysScopedList(o["x"]); | 6815 checkTargetVpnGatewaysScopedList(o["x"]); |
| 6793 checkTargetVpnGatewaysScopedList(o["y"]); | 6816 checkTargetVpnGatewaysScopedList(o["y"]); |
| 6794 } | 6817 } |
| 6795 | 6818 |
| 6796 core.int buildCounterTargetVpnGatewayAggregatedList = 0; | 6819 core.int buildCounterTargetVpnGatewayAggregatedList = 0; |
| 6797 buildTargetVpnGatewayAggregatedList() { | 6820 buildTargetVpnGatewayAggregatedList() { |
| 6798 var o = new api.TargetVpnGatewayAggregatedList(); | 6821 var o = new api.TargetVpnGatewayAggregatedList(); |
| 6799 buildCounterTargetVpnGatewayAggregatedList++; | 6822 buildCounterTargetVpnGatewayAggregatedList++; |
| 6800 if (buildCounterTargetVpnGatewayAggregatedList < 3) { | 6823 if (buildCounterTargetVpnGatewayAggregatedList < 3) { |
| 6801 o.id = "foo"; | 6824 o.id = "foo"; |
| 6802 o.items = buildUnnamed2412(); | 6825 o.items = buildUnnamed862(); |
| 6803 o.kind = "foo"; | 6826 o.kind = "foo"; |
| 6804 o.nextPageToken = "foo"; | 6827 o.nextPageToken = "foo"; |
| 6805 o.selfLink = "foo"; | 6828 o.selfLink = "foo"; |
| 6806 } | 6829 } |
| 6807 buildCounterTargetVpnGatewayAggregatedList--; | 6830 buildCounterTargetVpnGatewayAggregatedList--; |
| 6808 return o; | 6831 return o; |
| 6809 } | 6832 } |
| 6810 | 6833 |
| 6811 checkTargetVpnGatewayAggregatedList(api.TargetVpnGatewayAggregatedList o) { | 6834 checkTargetVpnGatewayAggregatedList(api.TargetVpnGatewayAggregatedList o) { |
| 6812 buildCounterTargetVpnGatewayAggregatedList++; | 6835 buildCounterTargetVpnGatewayAggregatedList++; |
| 6813 if (buildCounterTargetVpnGatewayAggregatedList < 3) { | 6836 if (buildCounterTargetVpnGatewayAggregatedList < 3) { |
| 6814 unittest.expect(o.id, unittest.equals('foo')); | 6837 unittest.expect(o.id, unittest.equals('foo')); |
| 6815 checkUnnamed2412(o.items); | 6838 checkUnnamed862(o.items); |
| 6816 unittest.expect(o.kind, unittest.equals('foo')); | 6839 unittest.expect(o.kind, unittest.equals('foo')); |
| 6817 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6840 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 6818 unittest.expect(o.selfLink, unittest.equals('foo')); | 6841 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 6819 } | 6842 } |
| 6820 buildCounterTargetVpnGatewayAggregatedList--; | 6843 buildCounterTargetVpnGatewayAggregatedList--; |
| 6821 } | 6844 } |
| 6822 | 6845 |
| 6823 buildUnnamed2413() { | 6846 buildUnnamed863() { |
| 6824 var o = new core.List<api.TargetVpnGateway>(); | 6847 var o = new core.List<api.TargetVpnGateway>(); |
| 6825 o.add(buildTargetVpnGateway()); | 6848 o.add(buildTargetVpnGateway()); |
| 6826 o.add(buildTargetVpnGateway()); | 6849 o.add(buildTargetVpnGateway()); |
| 6827 return o; | 6850 return o; |
| 6828 } | 6851 } |
| 6829 | 6852 |
| 6830 checkUnnamed2413(core.List<api.TargetVpnGateway> o) { | 6853 checkUnnamed863(core.List<api.TargetVpnGateway> o) { |
| 6831 unittest.expect(o, unittest.hasLength(2)); | 6854 unittest.expect(o, unittest.hasLength(2)); |
| 6832 checkTargetVpnGateway(o[0]); | 6855 checkTargetVpnGateway(o[0]); |
| 6833 checkTargetVpnGateway(o[1]); | 6856 checkTargetVpnGateway(o[1]); |
| 6834 } | 6857 } |
| 6835 | 6858 |
| 6836 core.int buildCounterTargetVpnGatewayList = 0; | 6859 core.int buildCounterTargetVpnGatewayList = 0; |
| 6837 buildTargetVpnGatewayList() { | 6860 buildTargetVpnGatewayList() { |
| 6838 var o = new api.TargetVpnGatewayList(); | 6861 var o = new api.TargetVpnGatewayList(); |
| 6839 buildCounterTargetVpnGatewayList++; | 6862 buildCounterTargetVpnGatewayList++; |
| 6840 if (buildCounterTargetVpnGatewayList < 3) { | 6863 if (buildCounterTargetVpnGatewayList < 3) { |
| 6841 o.id = "foo"; | 6864 o.id = "foo"; |
| 6842 o.items = buildUnnamed2413(); | 6865 o.items = buildUnnamed863(); |
| 6843 o.kind = "foo"; | 6866 o.kind = "foo"; |
| 6844 o.nextPageToken = "foo"; | 6867 o.nextPageToken = "foo"; |
| 6845 o.selfLink = "foo"; | 6868 o.selfLink = "foo"; |
| 6846 } | 6869 } |
| 6847 buildCounterTargetVpnGatewayList--; | 6870 buildCounterTargetVpnGatewayList--; |
| 6848 return o; | 6871 return o; |
| 6849 } | 6872 } |
| 6850 | 6873 |
| 6851 checkTargetVpnGatewayList(api.TargetVpnGatewayList o) { | 6874 checkTargetVpnGatewayList(api.TargetVpnGatewayList o) { |
| 6852 buildCounterTargetVpnGatewayList++; | 6875 buildCounterTargetVpnGatewayList++; |
| 6853 if (buildCounterTargetVpnGatewayList < 3) { | 6876 if (buildCounterTargetVpnGatewayList < 3) { |
| 6854 unittest.expect(o.id, unittest.equals('foo')); | 6877 unittest.expect(o.id, unittest.equals('foo')); |
| 6855 checkUnnamed2413(o.items); | 6878 checkUnnamed863(o.items); |
| 6856 unittest.expect(o.kind, unittest.equals('foo')); | 6879 unittest.expect(o.kind, unittest.equals('foo')); |
| 6857 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6880 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 6858 unittest.expect(o.selfLink, unittest.equals('foo')); | 6881 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 6859 } | 6882 } |
| 6860 buildCounterTargetVpnGatewayList--; | 6883 buildCounterTargetVpnGatewayList--; |
| 6861 } | 6884 } |
| 6862 | 6885 |
| 6863 buildUnnamed2414() { | 6886 buildUnnamed864() { |
| 6864 var o = new core.List<api.TargetVpnGateway>(); | 6887 var o = new core.List<api.TargetVpnGateway>(); |
| 6865 o.add(buildTargetVpnGateway()); | 6888 o.add(buildTargetVpnGateway()); |
| 6866 o.add(buildTargetVpnGateway()); | 6889 o.add(buildTargetVpnGateway()); |
| 6867 return o; | 6890 return o; |
| 6868 } | 6891 } |
| 6869 | 6892 |
| 6870 checkUnnamed2414(core.List<api.TargetVpnGateway> o) { | 6893 checkUnnamed864(core.List<api.TargetVpnGateway> o) { |
| 6871 unittest.expect(o, unittest.hasLength(2)); | 6894 unittest.expect(o, unittest.hasLength(2)); |
| 6872 checkTargetVpnGateway(o[0]); | 6895 checkTargetVpnGateway(o[0]); |
| 6873 checkTargetVpnGateway(o[1]); | 6896 checkTargetVpnGateway(o[1]); |
| 6874 } | 6897 } |
| 6875 | 6898 |
| 6876 core.int buildCounterTargetVpnGatewaysScopedListWarningData = 0; | 6899 core.int buildCounterTargetVpnGatewaysScopedListWarningData = 0; |
| 6877 buildTargetVpnGatewaysScopedListWarningData() { | 6900 buildTargetVpnGatewaysScopedListWarningData() { |
| 6878 var o = new api.TargetVpnGatewaysScopedListWarningData(); | 6901 var o = new api.TargetVpnGatewaysScopedListWarningData(); |
| 6879 buildCounterTargetVpnGatewaysScopedListWarningData++; | 6902 buildCounterTargetVpnGatewaysScopedListWarningData++; |
| 6880 if (buildCounterTargetVpnGatewaysScopedListWarningData < 3) { | 6903 if (buildCounterTargetVpnGatewaysScopedListWarningData < 3) { |
| 6881 o.key = "foo"; | 6904 o.key = "foo"; |
| 6882 o.value = "foo"; | 6905 o.value = "foo"; |
| 6883 } | 6906 } |
| 6884 buildCounterTargetVpnGatewaysScopedListWarningData--; | 6907 buildCounterTargetVpnGatewaysScopedListWarningData--; |
| 6885 return o; | 6908 return o; |
| 6886 } | 6909 } |
| 6887 | 6910 |
| 6888 checkTargetVpnGatewaysScopedListWarningData(api.TargetVpnGatewaysScopedListWarni
ngData o) { | 6911 checkTargetVpnGatewaysScopedListWarningData(api.TargetVpnGatewaysScopedListWarni
ngData o) { |
| 6889 buildCounterTargetVpnGatewaysScopedListWarningData++; | 6912 buildCounterTargetVpnGatewaysScopedListWarningData++; |
| 6890 if (buildCounterTargetVpnGatewaysScopedListWarningData < 3) { | 6913 if (buildCounterTargetVpnGatewaysScopedListWarningData < 3) { |
| 6891 unittest.expect(o.key, unittest.equals('foo')); | 6914 unittest.expect(o.key, unittest.equals('foo')); |
| 6892 unittest.expect(o.value, unittest.equals('foo')); | 6915 unittest.expect(o.value, unittest.equals('foo')); |
| 6893 } | 6916 } |
| 6894 buildCounterTargetVpnGatewaysScopedListWarningData--; | 6917 buildCounterTargetVpnGatewaysScopedListWarningData--; |
| 6895 } | 6918 } |
| 6896 | 6919 |
| 6897 buildUnnamed2415() { | 6920 buildUnnamed865() { |
| 6898 var o = new core.List<api.TargetVpnGatewaysScopedListWarningData>(); | 6921 var o = new core.List<api.TargetVpnGatewaysScopedListWarningData>(); |
| 6899 o.add(buildTargetVpnGatewaysScopedListWarningData()); | 6922 o.add(buildTargetVpnGatewaysScopedListWarningData()); |
| 6900 o.add(buildTargetVpnGatewaysScopedListWarningData()); | 6923 o.add(buildTargetVpnGatewaysScopedListWarningData()); |
| 6901 return o; | 6924 return o; |
| 6902 } | 6925 } |
| 6903 | 6926 |
| 6904 checkUnnamed2415(core.List<api.TargetVpnGatewaysScopedListWarningData> o) { | 6927 checkUnnamed865(core.List<api.TargetVpnGatewaysScopedListWarningData> o) { |
| 6905 unittest.expect(o, unittest.hasLength(2)); | 6928 unittest.expect(o, unittest.hasLength(2)); |
| 6906 checkTargetVpnGatewaysScopedListWarningData(o[0]); | 6929 checkTargetVpnGatewaysScopedListWarningData(o[0]); |
| 6907 checkTargetVpnGatewaysScopedListWarningData(o[1]); | 6930 checkTargetVpnGatewaysScopedListWarningData(o[1]); |
| 6908 } | 6931 } |
| 6909 | 6932 |
| 6910 core.int buildCounterTargetVpnGatewaysScopedListWarning = 0; | 6933 core.int buildCounterTargetVpnGatewaysScopedListWarning = 0; |
| 6911 buildTargetVpnGatewaysScopedListWarning() { | 6934 buildTargetVpnGatewaysScopedListWarning() { |
| 6912 var o = new api.TargetVpnGatewaysScopedListWarning(); | 6935 var o = new api.TargetVpnGatewaysScopedListWarning(); |
| 6913 buildCounterTargetVpnGatewaysScopedListWarning++; | 6936 buildCounterTargetVpnGatewaysScopedListWarning++; |
| 6914 if (buildCounterTargetVpnGatewaysScopedListWarning < 3) { | 6937 if (buildCounterTargetVpnGatewaysScopedListWarning < 3) { |
| 6915 o.code = "foo"; | 6938 o.code = "foo"; |
| 6916 o.data = buildUnnamed2415(); | 6939 o.data = buildUnnamed865(); |
| 6917 o.message = "foo"; | 6940 o.message = "foo"; |
| 6918 } | 6941 } |
| 6919 buildCounterTargetVpnGatewaysScopedListWarning--; | 6942 buildCounterTargetVpnGatewaysScopedListWarning--; |
| 6920 return o; | 6943 return o; |
| 6921 } | 6944 } |
| 6922 | 6945 |
| 6923 checkTargetVpnGatewaysScopedListWarning(api.TargetVpnGatewaysScopedListWarning o
) { | 6946 checkTargetVpnGatewaysScopedListWarning(api.TargetVpnGatewaysScopedListWarning o
) { |
| 6924 buildCounterTargetVpnGatewaysScopedListWarning++; | 6947 buildCounterTargetVpnGatewaysScopedListWarning++; |
| 6925 if (buildCounterTargetVpnGatewaysScopedListWarning < 3) { | 6948 if (buildCounterTargetVpnGatewaysScopedListWarning < 3) { |
| 6926 unittest.expect(o.code, unittest.equals('foo')); | 6949 unittest.expect(o.code, unittest.equals('foo')); |
| 6927 checkUnnamed2415(o.data); | 6950 checkUnnamed865(o.data); |
| 6928 unittest.expect(o.message, unittest.equals('foo')); | 6951 unittest.expect(o.message, unittest.equals('foo')); |
| 6929 } | 6952 } |
| 6930 buildCounterTargetVpnGatewaysScopedListWarning--; | 6953 buildCounterTargetVpnGatewaysScopedListWarning--; |
| 6931 } | 6954 } |
| 6932 | 6955 |
| 6933 core.int buildCounterTargetVpnGatewaysScopedList = 0; | 6956 core.int buildCounterTargetVpnGatewaysScopedList = 0; |
| 6934 buildTargetVpnGatewaysScopedList() { | 6957 buildTargetVpnGatewaysScopedList() { |
| 6935 var o = new api.TargetVpnGatewaysScopedList(); | 6958 var o = new api.TargetVpnGatewaysScopedList(); |
| 6936 buildCounterTargetVpnGatewaysScopedList++; | 6959 buildCounterTargetVpnGatewaysScopedList++; |
| 6937 if (buildCounterTargetVpnGatewaysScopedList < 3) { | 6960 if (buildCounterTargetVpnGatewaysScopedList < 3) { |
| 6938 o.targetVpnGateways = buildUnnamed2414(); | 6961 o.targetVpnGateways = buildUnnamed864(); |
| 6939 o.warning = buildTargetVpnGatewaysScopedListWarning(); | 6962 o.warning = buildTargetVpnGatewaysScopedListWarning(); |
| 6940 } | 6963 } |
| 6941 buildCounterTargetVpnGatewaysScopedList--; | 6964 buildCounterTargetVpnGatewaysScopedList--; |
| 6942 return o; | 6965 return o; |
| 6943 } | 6966 } |
| 6944 | 6967 |
| 6945 checkTargetVpnGatewaysScopedList(api.TargetVpnGatewaysScopedList o) { | 6968 checkTargetVpnGatewaysScopedList(api.TargetVpnGatewaysScopedList o) { |
| 6946 buildCounterTargetVpnGatewaysScopedList++; | 6969 buildCounterTargetVpnGatewaysScopedList++; |
| 6947 if (buildCounterTargetVpnGatewaysScopedList < 3) { | 6970 if (buildCounterTargetVpnGatewaysScopedList < 3) { |
| 6948 checkUnnamed2414(o.targetVpnGateways); | 6971 checkUnnamed864(o.targetVpnGateways); |
| 6949 checkTargetVpnGatewaysScopedListWarning(o.warning); | 6972 checkTargetVpnGatewaysScopedListWarning(o.warning); |
| 6950 } | 6973 } |
| 6951 buildCounterTargetVpnGatewaysScopedList--; | 6974 buildCounterTargetVpnGatewaysScopedList--; |
| 6952 } | 6975 } |
| 6953 | 6976 |
| 6954 core.int buildCounterTestFailure = 0; | 6977 core.int buildCounterTestFailure = 0; |
| 6955 buildTestFailure() { | 6978 buildTestFailure() { |
| 6956 var o = new api.TestFailure(); | 6979 var o = new api.TestFailure(); |
| 6957 buildCounterTestFailure++; | 6980 buildCounterTestFailure++; |
| 6958 if (buildCounterTestFailure < 3) { | 6981 if (buildCounterTestFailure < 3) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 6969 buildCounterTestFailure++; | 6992 buildCounterTestFailure++; |
| 6970 if (buildCounterTestFailure < 3) { | 6993 if (buildCounterTestFailure < 3) { |
| 6971 unittest.expect(o.actualService, unittest.equals('foo')); | 6994 unittest.expect(o.actualService, unittest.equals('foo')); |
| 6972 unittest.expect(o.expectedService, unittest.equals('foo')); | 6995 unittest.expect(o.expectedService, unittest.equals('foo')); |
| 6973 unittest.expect(o.host, unittest.equals('foo')); | 6996 unittest.expect(o.host, unittest.equals('foo')); |
| 6974 unittest.expect(o.path, unittest.equals('foo')); | 6997 unittest.expect(o.path, unittest.equals('foo')); |
| 6975 } | 6998 } |
| 6976 buildCounterTestFailure--; | 6999 buildCounterTestFailure--; |
| 6977 } | 7000 } |
| 6978 | 7001 |
| 6979 buildUnnamed2416() { | 7002 buildUnnamed866() { |
| 6980 var o = new core.List<api.HostRule>(); | 7003 var o = new core.List<api.HostRule>(); |
| 6981 o.add(buildHostRule()); | 7004 o.add(buildHostRule()); |
| 6982 o.add(buildHostRule()); | 7005 o.add(buildHostRule()); |
| 6983 return o; | 7006 return o; |
| 6984 } | 7007 } |
| 6985 | 7008 |
| 6986 checkUnnamed2416(core.List<api.HostRule> o) { | 7009 checkUnnamed866(core.List<api.HostRule> o) { |
| 6987 unittest.expect(o, unittest.hasLength(2)); | 7010 unittest.expect(o, unittest.hasLength(2)); |
| 6988 checkHostRule(o[0]); | 7011 checkHostRule(o[0]); |
| 6989 checkHostRule(o[1]); | 7012 checkHostRule(o[1]); |
| 6990 } | 7013 } |
| 6991 | 7014 |
| 6992 buildUnnamed2417() { | 7015 buildUnnamed867() { |
| 6993 var o = new core.List<api.PathMatcher>(); | 7016 var o = new core.List<api.PathMatcher>(); |
| 6994 o.add(buildPathMatcher()); | 7017 o.add(buildPathMatcher()); |
| 6995 o.add(buildPathMatcher()); | 7018 o.add(buildPathMatcher()); |
| 6996 return o; | 7019 return o; |
| 6997 } | 7020 } |
| 6998 | 7021 |
| 6999 checkUnnamed2417(core.List<api.PathMatcher> o) { | 7022 checkUnnamed867(core.List<api.PathMatcher> o) { |
| 7000 unittest.expect(o, unittest.hasLength(2)); | 7023 unittest.expect(o, unittest.hasLength(2)); |
| 7001 checkPathMatcher(o[0]); | 7024 checkPathMatcher(o[0]); |
| 7002 checkPathMatcher(o[1]); | 7025 checkPathMatcher(o[1]); |
| 7003 } | 7026 } |
| 7004 | 7027 |
| 7005 buildUnnamed2418() { | 7028 buildUnnamed868() { |
| 7006 var o = new core.List<api.UrlMapTest>(); | 7029 var o = new core.List<api.UrlMapTest>(); |
| 7007 o.add(buildUrlMapTest()); | 7030 o.add(buildUrlMapTest()); |
| 7008 o.add(buildUrlMapTest()); | 7031 o.add(buildUrlMapTest()); |
| 7009 return o; | 7032 return o; |
| 7010 } | 7033 } |
| 7011 | 7034 |
| 7012 checkUnnamed2418(core.List<api.UrlMapTest> o) { | 7035 checkUnnamed868(core.List<api.UrlMapTest> o) { |
| 7013 unittest.expect(o, unittest.hasLength(2)); | 7036 unittest.expect(o, unittest.hasLength(2)); |
| 7014 checkUrlMapTest(o[0]); | 7037 checkUrlMapTest(o[0]); |
| 7015 checkUrlMapTest(o[1]); | 7038 checkUrlMapTest(o[1]); |
| 7016 } | 7039 } |
| 7017 | 7040 |
| 7018 core.int buildCounterUrlMap = 0; | 7041 core.int buildCounterUrlMap = 0; |
| 7019 buildUrlMap() { | 7042 buildUrlMap() { |
| 7020 var o = new api.UrlMap(); | 7043 var o = new api.UrlMap(); |
| 7021 buildCounterUrlMap++; | 7044 buildCounterUrlMap++; |
| 7022 if (buildCounterUrlMap < 3) { | 7045 if (buildCounterUrlMap < 3) { |
| 7023 o.creationTimestamp = "foo"; | 7046 o.creationTimestamp = "foo"; |
| 7024 o.defaultService = "foo"; | 7047 o.defaultService = "foo"; |
| 7025 o.description = "foo"; | 7048 o.description = "foo"; |
| 7026 o.fingerprint = "foo"; | 7049 o.fingerprint = "foo"; |
| 7027 o.hostRules = buildUnnamed2416(); | 7050 o.hostRules = buildUnnamed866(); |
| 7028 o.id = "foo"; | 7051 o.id = "foo"; |
| 7029 o.kind = "foo"; | 7052 o.kind = "foo"; |
| 7030 o.name = "foo"; | 7053 o.name = "foo"; |
| 7031 o.pathMatchers = buildUnnamed2417(); | 7054 o.pathMatchers = buildUnnamed867(); |
| 7032 o.selfLink = "foo"; | 7055 o.selfLink = "foo"; |
| 7033 o.tests = buildUnnamed2418(); | 7056 o.tests = buildUnnamed868(); |
| 7034 } | 7057 } |
| 7035 buildCounterUrlMap--; | 7058 buildCounterUrlMap--; |
| 7036 return o; | 7059 return o; |
| 7037 } | 7060 } |
| 7038 | 7061 |
| 7039 checkUrlMap(api.UrlMap o) { | 7062 checkUrlMap(api.UrlMap o) { |
| 7040 buildCounterUrlMap++; | 7063 buildCounterUrlMap++; |
| 7041 if (buildCounterUrlMap < 3) { | 7064 if (buildCounterUrlMap < 3) { |
| 7042 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 7065 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 7043 unittest.expect(o.defaultService, unittest.equals('foo')); | 7066 unittest.expect(o.defaultService, unittest.equals('foo')); |
| 7044 unittest.expect(o.description, unittest.equals('foo')); | 7067 unittest.expect(o.description, unittest.equals('foo')); |
| 7045 unittest.expect(o.fingerprint, unittest.equals('foo')); | 7068 unittest.expect(o.fingerprint, unittest.equals('foo')); |
| 7046 checkUnnamed2416(o.hostRules); | 7069 checkUnnamed866(o.hostRules); |
| 7047 unittest.expect(o.id, unittest.equals('foo')); | 7070 unittest.expect(o.id, unittest.equals('foo')); |
| 7048 unittest.expect(o.kind, unittest.equals('foo')); | 7071 unittest.expect(o.kind, unittest.equals('foo')); |
| 7049 unittest.expect(o.name, unittest.equals('foo')); | 7072 unittest.expect(o.name, unittest.equals('foo')); |
| 7050 checkUnnamed2417(o.pathMatchers); | 7073 checkUnnamed867(o.pathMatchers); |
| 7051 unittest.expect(o.selfLink, unittest.equals('foo')); | 7074 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 7052 checkUnnamed2418(o.tests); | 7075 checkUnnamed868(o.tests); |
| 7053 } | 7076 } |
| 7054 buildCounterUrlMap--; | 7077 buildCounterUrlMap--; |
| 7055 } | 7078 } |
| 7056 | 7079 |
| 7057 buildUnnamed2419() { | 7080 buildUnnamed869() { |
| 7058 var o = new core.List<api.UrlMap>(); | 7081 var o = new core.List<api.UrlMap>(); |
| 7059 o.add(buildUrlMap()); | 7082 o.add(buildUrlMap()); |
| 7060 o.add(buildUrlMap()); | 7083 o.add(buildUrlMap()); |
| 7061 return o; | 7084 return o; |
| 7062 } | 7085 } |
| 7063 | 7086 |
| 7064 checkUnnamed2419(core.List<api.UrlMap> o) { | 7087 checkUnnamed869(core.List<api.UrlMap> o) { |
| 7065 unittest.expect(o, unittest.hasLength(2)); | 7088 unittest.expect(o, unittest.hasLength(2)); |
| 7066 checkUrlMap(o[0]); | 7089 checkUrlMap(o[0]); |
| 7067 checkUrlMap(o[1]); | 7090 checkUrlMap(o[1]); |
| 7068 } | 7091 } |
| 7069 | 7092 |
| 7070 core.int buildCounterUrlMapList = 0; | 7093 core.int buildCounterUrlMapList = 0; |
| 7071 buildUrlMapList() { | 7094 buildUrlMapList() { |
| 7072 var o = new api.UrlMapList(); | 7095 var o = new api.UrlMapList(); |
| 7073 buildCounterUrlMapList++; | 7096 buildCounterUrlMapList++; |
| 7074 if (buildCounterUrlMapList < 3) { | 7097 if (buildCounterUrlMapList < 3) { |
| 7075 o.id = "foo"; | 7098 o.id = "foo"; |
| 7076 o.items = buildUnnamed2419(); | 7099 o.items = buildUnnamed869(); |
| 7077 o.kind = "foo"; | 7100 o.kind = "foo"; |
| 7078 o.nextPageToken = "foo"; | 7101 o.nextPageToken = "foo"; |
| 7079 o.selfLink = "foo"; | 7102 o.selfLink = "foo"; |
| 7080 } | 7103 } |
| 7081 buildCounterUrlMapList--; | 7104 buildCounterUrlMapList--; |
| 7082 return o; | 7105 return o; |
| 7083 } | 7106 } |
| 7084 | 7107 |
| 7085 checkUrlMapList(api.UrlMapList o) { | 7108 checkUrlMapList(api.UrlMapList o) { |
| 7086 buildCounterUrlMapList++; | 7109 buildCounterUrlMapList++; |
| 7087 if (buildCounterUrlMapList < 3) { | 7110 if (buildCounterUrlMapList < 3) { |
| 7088 unittest.expect(o.id, unittest.equals('foo')); | 7111 unittest.expect(o.id, unittest.equals('foo')); |
| 7089 checkUnnamed2419(o.items); | 7112 checkUnnamed869(o.items); |
| 7090 unittest.expect(o.kind, unittest.equals('foo')); | 7113 unittest.expect(o.kind, unittest.equals('foo')); |
| 7091 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 7114 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 7092 unittest.expect(o.selfLink, unittest.equals('foo')); | 7115 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 7093 } | 7116 } |
| 7094 buildCounterUrlMapList--; | 7117 buildCounterUrlMapList--; |
| 7095 } | 7118 } |
| 7096 | 7119 |
| 7097 core.int buildCounterUrlMapReference = 0; | 7120 core.int buildCounterUrlMapReference = 0; |
| 7098 buildUrlMapReference() { | 7121 buildUrlMapReference() { |
| 7099 var o = new api.UrlMapReference(); | 7122 var o = new api.UrlMapReference(); |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7131 buildCounterUrlMapTest++; | 7154 buildCounterUrlMapTest++; |
| 7132 if (buildCounterUrlMapTest < 3) { | 7155 if (buildCounterUrlMapTest < 3) { |
| 7133 unittest.expect(o.description, unittest.equals('foo')); | 7156 unittest.expect(o.description, unittest.equals('foo')); |
| 7134 unittest.expect(o.host, unittest.equals('foo')); | 7157 unittest.expect(o.host, unittest.equals('foo')); |
| 7135 unittest.expect(o.path, unittest.equals('foo')); | 7158 unittest.expect(o.path, unittest.equals('foo')); |
| 7136 unittest.expect(o.service, unittest.equals('foo')); | 7159 unittest.expect(o.service, unittest.equals('foo')); |
| 7137 } | 7160 } |
| 7138 buildCounterUrlMapTest--; | 7161 buildCounterUrlMapTest--; |
| 7139 } | 7162 } |
| 7140 | 7163 |
| 7141 buildUnnamed2420() { | 7164 buildUnnamed870() { |
| 7142 var o = new core.List<core.String>(); | 7165 var o = new core.List<core.String>(); |
| 7143 o.add("foo"); | 7166 o.add("foo"); |
| 7144 o.add("foo"); | 7167 o.add("foo"); |
| 7145 return o; | 7168 return o; |
| 7146 } | 7169 } |
| 7147 | 7170 |
| 7148 checkUnnamed2420(core.List<core.String> o) { | 7171 checkUnnamed870(core.List<core.String> o) { |
| 7149 unittest.expect(o, unittest.hasLength(2)); | 7172 unittest.expect(o, unittest.hasLength(2)); |
| 7150 unittest.expect(o[0], unittest.equals('foo')); | 7173 unittest.expect(o[0], unittest.equals('foo')); |
| 7151 unittest.expect(o[1], unittest.equals('foo')); | 7174 unittest.expect(o[1], unittest.equals('foo')); |
| 7152 } | 7175 } |
| 7153 | 7176 |
| 7154 buildUnnamed2421() { | 7177 buildUnnamed871() { |
| 7155 var o = new core.List<api.TestFailure>(); | 7178 var o = new core.List<api.TestFailure>(); |
| 7156 o.add(buildTestFailure()); | 7179 o.add(buildTestFailure()); |
| 7157 o.add(buildTestFailure()); | 7180 o.add(buildTestFailure()); |
| 7158 return o; | 7181 return o; |
| 7159 } | 7182 } |
| 7160 | 7183 |
| 7161 checkUnnamed2421(core.List<api.TestFailure> o) { | 7184 checkUnnamed871(core.List<api.TestFailure> o) { |
| 7162 unittest.expect(o, unittest.hasLength(2)); | 7185 unittest.expect(o, unittest.hasLength(2)); |
| 7163 checkTestFailure(o[0]); | 7186 checkTestFailure(o[0]); |
| 7164 checkTestFailure(o[1]); | 7187 checkTestFailure(o[1]); |
| 7165 } | 7188 } |
| 7166 | 7189 |
| 7167 core.int buildCounterUrlMapValidationResult = 0; | 7190 core.int buildCounterUrlMapValidationResult = 0; |
| 7168 buildUrlMapValidationResult() { | 7191 buildUrlMapValidationResult() { |
| 7169 var o = new api.UrlMapValidationResult(); | 7192 var o = new api.UrlMapValidationResult(); |
| 7170 buildCounterUrlMapValidationResult++; | 7193 buildCounterUrlMapValidationResult++; |
| 7171 if (buildCounterUrlMapValidationResult < 3) { | 7194 if (buildCounterUrlMapValidationResult < 3) { |
| 7172 o.loadErrors = buildUnnamed2420(); | 7195 o.loadErrors = buildUnnamed870(); |
| 7173 o.loadSucceeded = true; | 7196 o.loadSucceeded = true; |
| 7174 o.testFailures = buildUnnamed2421(); | 7197 o.testFailures = buildUnnamed871(); |
| 7175 o.testPassed = true; | 7198 o.testPassed = true; |
| 7176 } | 7199 } |
| 7177 buildCounterUrlMapValidationResult--; | 7200 buildCounterUrlMapValidationResult--; |
| 7178 return o; | 7201 return o; |
| 7179 } | 7202 } |
| 7180 | 7203 |
| 7181 checkUrlMapValidationResult(api.UrlMapValidationResult o) { | 7204 checkUrlMapValidationResult(api.UrlMapValidationResult o) { |
| 7182 buildCounterUrlMapValidationResult++; | 7205 buildCounterUrlMapValidationResult++; |
| 7183 if (buildCounterUrlMapValidationResult < 3) { | 7206 if (buildCounterUrlMapValidationResult < 3) { |
| 7184 checkUnnamed2420(o.loadErrors); | 7207 checkUnnamed870(o.loadErrors); |
| 7185 unittest.expect(o.loadSucceeded, unittest.isTrue); | 7208 unittest.expect(o.loadSucceeded, unittest.isTrue); |
| 7186 checkUnnamed2421(o.testFailures); | 7209 checkUnnamed871(o.testFailures); |
| 7187 unittest.expect(o.testPassed, unittest.isTrue); | 7210 unittest.expect(o.testPassed, unittest.isTrue); |
| 7188 } | 7211 } |
| 7189 buildCounterUrlMapValidationResult--; | 7212 buildCounterUrlMapValidationResult--; |
| 7190 } | 7213 } |
| 7191 | 7214 |
| 7192 core.int buildCounterUrlMapsValidateRequest = 0; | 7215 core.int buildCounterUrlMapsValidateRequest = 0; |
| 7193 buildUrlMapsValidateRequest() { | 7216 buildUrlMapsValidateRequest() { |
| 7194 var o = new api.UrlMapsValidateRequest(); | 7217 var o = new api.UrlMapsValidateRequest(); |
| 7195 buildCounterUrlMapsValidateRequest++; | 7218 buildCounterUrlMapsValidateRequest++; |
| 7196 if (buildCounterUrlMapsValidateRequest < 3) { | 7219 if (buildCounterUrlMapsValidateRequest < 3) { |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7241 | 7264 |
| 7242 checkUsageExportLocation(api.UsageExportLocation o) { | 7265 checkUsageExportLocation(api.UsageExportLocation o) { |
| 7243 buildCounterUsageExportLocation++; | 7266 buildCounterUsageExportLocation++; |
| 7244 if (buildCounterUsageExportLocation < 3) { | 7267 if (buildCounterUsageExportLocation < 3) { |
| 7245 unittest.expect(o.bucketName, unittest.equals('foo')); | 7268 unittest.expect(o.bucketName, unittest.equals('foo')); |
| 7246 unittest.expect(o.reportNamePrefix, unittest.equals('foo')); | 7269 unittest.expect(o.reportNamePrefix, unittest.equals('foo')); |
| 7247 } | 7270 } |
| 7248 buildCounterUsageExportLocation--; | 7271 buildCounterUsageExportLocation--; |
| 7249 } | 7272 } |
| 7250 | 7273 |
| 7251 buildUnnamed2422() { | 7274 buildUnnamed872() { |
| 7252 var o = new core.List<core.String>(); | 7275 var o = new core.List<core.String>(); |
| 7253 o.add("foo"); | 7276 o.add("foo"); |
| 7254 o.add("foo"); | 7277 o.add("foo"); |
| 7255 return o; | 7278 return o; |
| 7256 } | 7279 } |
| 7257 | 7280 |
| 7258 checkUnnamed2422(core.List<core.String> o) { | 7281 checkUnnamed872(core.List<core.String> o) { |
| 7259 unittest.expect(o, unittest.hasLength(2)); | 7282 unittest.expect(o, unittest.hasLength(2)); |
| 7260 unittest.expect(o[0], unittest.equals('foo')); | 7283 unittest.expect(o[0], unittest.equals('foo')); |
| 7261 unittest.expect(o[1], unittest.equals('foo')); | 7284 unittest.expect(o[1], unittest.equals('foo')); |
| 7262 } | 7285 } |
| 7263 | 7286 |
| 7264 buildUnnamed2423() { | 7287 buildUnnamed873() { |
| 7265 var o = new core.List<core.String>(); | 7288 var o = new core.List<core.String>(); |
| 7266 o.add("foo"); | 7289 o.add("foo"); |
| 7267 o.add("foo"); | 7290 o.add("foo"); |
| 7268 return o; | 7291 return o; |
| 7269 } | 7292 } |
| 7270 | 7293 |
| 7271 checkUnnamed2423(core.List<core.String> o) { | 7294 checkUnnamed873(core.List<core.String> o) { |
| 7272 unittest.expect(o, unittest.hasLength(2)); | 7295 unittest.expect(o, unittest.hasLength(2)); |
| 7273 unittest.expect(o[0], unittest.equals('foo')); | 7296 unittest.expect(o[0], unittest.equals('foo')); |
| 7274 unittest.expect(o[1], unittest.equals('foo')); | 7297 unittest.expect(o[1], unittest.equals('foo')); |
| 7275 } | 7298 } |
| 7276 | 7299 |
| 7277 core.int buildCounterVpnTunnel = 0; | 7300 core.int buildCounterVpnTunnel = 0; |
| 7278 buildVpnTunnel() { | 7301 buildVpnTunnel() { |
| 7279 var o = new api.VpnTunnel(); | 7302 var o = new api.VpnTunnel(); |
| 7280 buildCounterVpnTunnel++; | 7303 buildCounterVpnTunnel++; |
| 7281 if (buildCounterVpnTunnel < 3) { | 7304 if (buildCounterVpnTunnel < 3) { |
| 7282 o.creationTimestamp = "foo"; | 7305 o.creationTimestamp = "foo"; |
| 7283 o.description = "foo"; | 7306 o.description = "foo"; |
| 7284 o.detailedStatus = "foo"; | 7307 o.detailedStatus = "foo"; |
| 7285 o.id = "foo"; | 7308 o.id = "foo"; |
| 7286 o.ikeVersion = 42; | 7309 o.ikeVersion = 42; |
| 7287 o.kind = "foo"; | 7310 o.kind = "foo"; |
| 7288 o.localTrafficSelector = buildUnnamed2422(); | 7311 o.localTrafficSelector = buildUnnamed872(); |
| 7289 o.name = "foo"; | 7312 o.name = "foo"; |
| 7290 o.peerIp = "foo"; | 7313 o.peerIp = "foo"; |
| 7291 o.region = "foo"; | 7314 o.region = "foo"; |
| 7292 o.remoteTrafficSelector = buildUnnamed2423(); | 7315 o.remoteTrafficSelector = buildUnnamed873(); |
| 7293 o.router = "foo"; | 7316 o.router = "foo"; |
| 7294 o.selfLink = "foo"; | 7317 o.selfLink = "foo"; |
| 7295 o.sharedSecret = "foo"; | 7318 o.sharedSecret = "foo"; |
| 7296 o.sharedSecretHash = "foo"; | 7319 o.sharedSecretHash = "foo"; |
| 7297 o.status = "foo"; | 7320 o.status = "foo"; |
| 7298 o.targetVpnGateway = "foo"; | 7321 o.targetVpnGateway = "foo"; |
| 7299 } | 7322 } |
| 7300 buildCounterVpnTunnel--; | 7323 buildCounterVpnTunnel--; |
| 7301 return o; | 7324 return o; |
| 7302 } | 7325 } |
| 7303 | 7326 |
| 7304 checkVpnTunnel(api.VpnTunnel o) { | 7327 checkVpnTunnel(api.VpnTunnel o) { |
| 7305 buildCounterVpnTunnel++; | 7328 buildCounterVpnTunnel++; |
| 7306 if (buildCounterVpnTunnel < 3) { | 7329 if (buildCounterVpnTunnel < 3) { |
| 7307 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 7330 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 7308 unittest.expect(o.description, unittest.equals('foo')); | 7331 unittest.expect(o.description, unittest.equals('foo')); |
| 7309 unittest.expect(o.detailedStatus, unittest.equals('foo')); | 7332 unittest.expect(o.detailedStatus, unittest.equals('foo')); |
| 7310 unittest.expect(o.id, unittest.equals('foo')); | 7333 unittest.expect(o.id, unittest.equals('foo')); |
| 7311 unittest.expect(o.ikeVersion, unittest.equals(42)); | 7334 unittest.expect(o.ikeVersion, unittest.equals(42)); |
| 7312 unittest.expect(o.kind, unittest.equals('foo')); | 7335 unittest.expect(o.kind, unittest.equals('foo')); |
| 7313 checkUnnamed2422(o.localTrafficSelector); | 7336 checkUnnamed872(o.localTrafficSelector); |
| 7314 unittest.expect(o.name, unittest.equals('foo')); | 7337 unittest.expect(o.name, unittest.equals('foo')); |
| 7315 unittest.expect(o.peerIp, unittest.equals('foo')); | 7338 unittest.expect(o.peerIp, unittest.equals('foo')); |
| 7316 unittest.expect(o.region, unittest.equals('foo')); | 7339 unittest.expect(o.region, unittest.equals('foo')); |
| 7317 checkUnnamed2423(o.remoteTrafficSelector); | 7340 checkUnnamed873(o.remoteTrafficSelector); |
| 7318 unittest.expect(o.router, unittest.equals('foo')); | 7341 unittest.expect(o.router, unittest.equals('foo')); |
| 7319 unittest.expect(o.selfLink, unittest.equals('foo')); | 7342 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 7320 unittest.expect(o.sharedSecret, unittest.equals('foo')); | 7343 unittest.expect(o.sharedSecret, unittest.equals('foo')); |
| 7321 unittest.expect(o.sharedSecretHash, unittest.equals('foo')); | 7344 unittest.expect(o.sharedSecretHash, unittest.equals('foo')); |
| 7322 unittest.expect(o.status, unittest.equals('foo')); | 7345 unittest.expect(o.status, unittest.equals('foo')); |
| 7323 unittest.expect(o.targetVpnGateway, unittest.equals('foo')); | 7346 unittest.expect(o.targetVpnGateway, unittest.equals('foo')); |
| 7324 } | 7347 } |
| 7325 buildCounterVpnTunnel--; | 7348 buildCounterVpnTunnel--; |
| 7326 } | 7349 } |
| 7327 | 7350 |
| 7328 buildUnnamed2424() { | 7351 buildUnnamed874() { |
| 7329 var o = new core.Map<core.String, api.VpnTunnelsScopedList>(); | 7352 var o = new core.Map<core.String, api.VpnTunnelsScopedList>(); |
| 7330 o["x"] = buildVpnTunnelsScopedList(); | 7353 o["x"] = buildVpnTunnelsScopedList(); |
| 7331 o["y"] = buildVpnTunnelsScopedList(); | 7354 o["y"] = buildVpnTunnelsScopedList(); |
| 7332 return o; | 7355 return o; |
| 7333 } | 7356 } |
| 7334 | 7357 |
| 7335 checkUnnamed2424(core.Map<core.String, api.VpnTunnelsScopedList> o) { | 7358 checkUnnamed874(core.Map<core.String, api.VpnTunnelsScopedList> o) { |
| 7336 unittest.expect(o, unittest.hasLength(2)); | 7359 unittest.expect(o, unittest.hasLength(2)); |
| 7337 checkVpnTunnelsScopedList(o["x"]); | 7360 checkVpnTunnelsScopedList(o["x"]); |
| 7338 checkVpnTunnelsScopedList(o["y"]); | 7361 checkVpnTunnelsScopedList(o["y"]); |
| 7339 } | 7362 } |
| 7340 | 7363 |
| 7341 core.int buildCounterVpnTunnelAggregatedList = 0; | 7364 core.int buildCounterVpnTunnelAggregatedList = 0; |
| 7342 buildVpnTunnelAggregatedList() { | 7365 buildVpnTunnelAggregatedList() { |
| 7343 var o = new api.VpnTunnelAggregatedList(); | 7366 var o = new api.VpnTunnelAggregatedList(); |
| 7344 buildCounterVpnTunnelAggregatedList++; | 7367 buildCounterVpnTunnelAggregatedList++; |
| 7345 if (buildCounterVpnTunnelAggregatedList < 3) { | 7368 if (buildCounterVpnTunnelAggregatedList < 3) { |
| 7346 o.id = "foo"; | 7369 o.id = "foo"; |
| 7347 o.items = buildUnnamed2424(); | 7370 o.items = buildUnnamed874(); |
| 7348 o.kind = "foo"; | 7371 o.kind = "foo"; |
| 7349 o.nextPageToken = "foo"; | 7372 o.nextPageToken = "foo"; |
| 7350 o.selfLink = "foo"; | 7373 o.selfLink = "foo"; |
| 7351 } | 7374 } |
| 7352 buildCounterVpnTunnelAggregatedList--; | 7375 buildCounterVpnTunnelAggregatedList--; |
| 7353 return o; | 7376 return o; |
| 7354 } | 7377 } |
| 7355 | 7378 |
| 7356 checkVpnTunnelAggregatedList(api.VpnTunnelAggregatedList o) { | 7379 checkVpnTunnelAggregatedList(api.VpnTunnelAggregatedList o) { |
| 7357 buildCounterVpnTunnelAggregatedList++; | 7380 buildCounterVpnTunnelAggregatedList++; |
| 7358 if (buildCounterVpnTunnelAggregatedList < 3) { | 7381 if (buildCounterVpnTunnelAggregatedList < 3) { |
| 7359 unittest.expect(o.id, unittest.equals('foo')); | 7382 unittest.expect(o.id, unittest.equals('foo')); |
| 7360 checkUnnamed2424(o.items); | 7383 checkUnnamed874(o.items); |
| 7361 unittest.expect(o.kind, unittest.equals('foo')); | 7384 unittest.expect(o.kind, unittest.equals('foo')); |
| 7362 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 7385 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 7363 unittest.expect(o.selfLink, unittest.equals('foo')); | 7386 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 7364 } | 7387 } |
| 7365 buildCounterVpnTunnelAggregatedList--; | 7388 buildCounterVpnTunnelAggregatedList--; |
| 7366 } | 7389 } |
| 7367 | 7390 |
| 7368 buildUnnamed2425() { | 7391 buildUnnamed875() { |
| 7369 var o = new core.List<api.VpnTunnel>(); | 7392 var o = new core.List<api.VpnTunnel>(); |
| 7370 o.add(buildVpnTunnel()); | 7393 o.add(buildVpnTunnel()); |
| 7371 o.add(buildVpnTunnel()); | 7394 o.add(buildVpnTunnel()); |
| 7372 return o; | 7395 return o; |
| 7373 } | 7396 } |
| 7374 | 7397 |
| 7375 checkUnnamed2425(core.List<api.VpnTunnel> o) { | 7398 checkUnnamed875(core.List<api.VpnTunnel> o) { |
| 7376 unittest.expect(o, unittest.hasLength(2)); | 7399 unittest.expect(o, unittest.hasLength(2)); |
| 7377 checkVpnTunnel(o[0]); | 7400 checkVpnTunnel(o[0]); |
| 7378 checkVpnTunnel(o[1]); | 7401 checkVpnTunnel(o[1]); |
| 7379 } | 7402 } |
| 7380 | 7403 |
| 7381 core.int buildCounterVpnTunnelList = 0; | 7404 core.int buildCounterVpnTunnelList = 0; |
| 7382 buildVpnTunnelList() { | 7405 buildVpnTunnelList() { |
| 7383 var o = new api.VpnTunnelList(); | 7406 var o = new api.VpnTunnelList(); |
| 7384 buildCounterVpnTunnelList++; | 7407 buildCounterVpnTunnelList++; |
| 7385 if (buildCounterVpnTunnelList < 3) { | 7408 if (buildCounterVpnTunnelList < 3) { |
| 7386 o.id = "foo"; | 7409 o.id = "foo"; |
| 7387 o.items = buildUnnamed2425(); | 7410 o.items = buildUnnamed875(); |
| 7388 o.kind = "foo"; | 7411 o.kind = "foo"; |
| 7389 o.nextPageToken = "foo"; | 7412 o.nextPageToken = "foo"; |
| 7390 o.selfLink = "foo"; | 7413 o.selfLink = "foo"; |
| 7391 } | 7414 } |
| 7392 buildCounterVpnTunnelList--; | 7415 buildCounterVpnTunnelList--; |
| 7393 return o; | 7416 return o; |
| 7394 } | 7417 } |
| 7395 | 7418 |
| 7396 checkVpnTunnelList(api.VpnTunnelList o) { | 7419 checkVpnTunnelList(api.VpnTunnelList o) { |
| 7397 buildCounterVpnTunnelList++; | 7420 buildCounterVpnTunnelList++; |
| 7398 if (buildCounterVpnTunnelList < 3) { | 7421 if (buildCounterVpnTunnelList < 3) { |
| 7399 unittest.expect(o.id, unittest.equals('foo')); | 7422 unittest.expect(o.id, unittest.equals('foo')); |
| 7400 checkUnnamed2425(o.items); | 7423 checkUnnamed875(o.items); |
| 7401 unittest.expect(o.kind, unittest.equals('foo')); | 7424 unittest.expect(o.kind, unittest.equals('foo')); |
| 7402 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 7425 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 7403 unittest.expect(o.selfLink, unittest.equals('foo')); | 7426 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 7404 } | 7427 } |
| 7405 buildCounterVpnTunnelList--; | 7428 buildCounterVpnTunnelList--; |
| 7406 } | 7429 } |
| 7407 | 7430 |
| 7408 buildUnnamed2426() { | 7431 buildUnnamed876() { |
| 7409 var o = new core.List<api.VpnTunnel>(); | 7432 var o = new core.List<api.VpnTunnel>(); |
| 7410 o.add(buildVpnTunnel()); | 7433 o.add(buildVpnTunnel()); |
| 7411 o.add(buildVpnTunnel()); | 7434 o.add(buildVpnTunnel()); |
| 7412 return o; | 7435 return o; |
| 7413 } | 7436 } |
| 7414 | 7437 |
| 7415 checkUnnamed2426(core.List<api.VpnTunnel> o) { | 7438 checkUnnamed876(core.List<api.VpnTunnel> o) { |
| 7416 unittest.expect(o, unittest.hasLength(2)); | 7439 unittest.expect(o, unittest.hasLength(2)); |
| 7417 checkVpnTunnel(o[0]); | 7440 checkVpnTunnel(o[0]); |
| 7418 checkVpnTunnel(o[1]); | 7441 checkVpnTunnel(o[1]); |
| 7419 } | 7442 } |
| 7420 | 7443 |
| 7421 core.int buildCounterVpnTunnelsScopedListWarningData = 0; | 7444 core.int buildCounterVpnTunnelsScopedListWarningData = 0; |
| 7422 buildVpnTunnelsScopedListWarningData() { | 7445 buildVpnTunnelsScopedListWarningData() { |
| 7423 var o = new api.VpnTunnelsScopedListWarningData(); | 7446 var o = new api.VpnTunnelsScopedListWarningData(); |
| 7424 buildCounterVpnTunnelsScopedListWarningData++; | 7447 buildCounterVpnTunnelsScopedListWarningData++; |
| 7425 if (buildCounterVpnTunnelsScopedListWarningData < 3) { | 7448 if (buildCounterVpnTunnelsScopedListWarningData < 3) { |
| 7426 o.key = "foo"; | 7449 o.key = "foo"; |
| 7427 o.value = "foo"; | 7450 o.value = "foo"; |
| 7428 } | 7451 } |
| 7429 buildCounterVpnTunnelsScopedListWarningData--; | 7452 buildCounterVpnTunnelsScopedListWarningData--; |
| 7430 return o; | 7453 return o; |
| 7431 } | 7454 } |
| 7432 | 7455 |
| 7433 checkVpnTunnelsScopedListWarningData(api.VpnTunnelsScopedListWarningData o) { | 7456 checkVpnTunnelsScopedListWarningData(api.VpnTunnelsScopedListWarningData o) { |
| 7434 buildCounterVpnTunnelsScopedListWarningData++; | 7457 buildCounterVpnTunnelsScopedListWarningData++; |
| 7435 if (buildCounterVpnTunnelsScopedListWarningData < 3) { | 7458 if (buildCounterVpnTunnelsScopedListWarningData < 3) { |
| 7436 unittest.expect(o.key, unittest.equals('foo')); | 7459 unittest.expect(o.key, unittest.equals('foo')); |
| 7437 unittest.expect(o.value, unittest.equals('foo')); | 7460 unittest.expect(o.value, unittest.equals('foo')); |
| 7438 } | 7461 } |
| 7439 buildCounterVpnTunnelsScopedListWarningData--; | 7462 buildCounterVpnTunnelsScopedListWarningData--; |
| 7440 } | 7463 } |
| 7441 | 7464 |
| 7442 buildUnnamed2427() { | 7465 buildUnnamed877() { |
| 7443 var o = new core.List<api.VpnTunnelsScopedListWarningData>(); | 7466 var o = new core.List<api.VpnTunnelsScopedListWarningData>(); |
| 7444 o.add(buildVpnTunnelsScopedListWarningData()); | 7467 o.add(buildVpnTunnelsScopedListWarningData()); |
| 7445 o.add(buildVpnTunnelsScopedListWarningData()); | 7468 o.add(buildVpnTunnelsScopedListWarningData()); |
| 7446 return o; | 7469 return o; |
| 7447 } | 7470 } |
| 7448 | 7471 |
| 7449 checkUnnamed2427(core.List<api.VpnTunnelsScopedListWarningData> o) { | 7472 checkUnnamed877(core.List<api.VpnTunnelsScopedListWarningData> o) { |
| 7450 unittest.expect(o, unittest.hasLength(2)); | 7473 unittest.expect(o, unittest.hasLength(2)); |
| 7451 checkVpnTunnelsScopedListWarningData(o[0]); | 7474 checkVpnTunnelsScopedListWarningData(o[0]); |
| 7452 checkVpnTunnelsScopedListWarningData(o[1]); | 7475 checkVpnTunnelsScopedListWarningData(o[1]); |
| 7453 } | 7476 } |
| 7454 | 7477 |
| 7455 core.int buildCounterVpnTunnelsScopedListWarning = 0; | 7478 core.int buildCounterVpnTunnelsScopedListWarning = 0; |
| 7456 buildVpnTunnelsScopedListWarning() { | 7479 buildVpnTunnelsScopedListWarning() { |
| 7457 var o = new api.VpnTunnelsScopedListWarning(); | 7480 var o = new api.VpnTunnelsScopedListWarning(); |
| 7458 buildCounterVpnTunnelsScopedListWarning++; | 7481 buildCounterVpnTunnelsScopedListWarning++; |
| 7459 if (buildCounterVpnTunnelsScopedListWarning < 3) { | 7482 if (buildCounterVpnTunnelsScopedListWarning < 3) { |
| 7460 o.code = "foo"; | 7483 o.code = "foo"; |
| 7461 o.data = buildUnnamed2427(); | 7484 o.data = buildUnnamed877(); |
| 7462 o.message = "foo"; | 7485 o.message = "foo"; |
| 7463 } | 7486 } |
| 7464 buildCounterVpnTunnelsScopedListWarning--; | 7487 buildCounterVpnTunnelsScopedListWarning--; |
| 7465 return o; | 7488 return o; |
| 7466 } | 7489 } |
| 7467 | 7490 |
| 7468 checkVpnTunnelsScopedListWarning(api.VpnTunnelsScopedListWarning o) { | 7491 checkVpnTunnelsScopedListWarning(api.VpnTunnelsScopedListWarning o) { |
| 7469 buildCounterVpnTunnelsScopedListWarning++; | 7492 buildCounterVpnTunnelsScopedListWarning++; |
| 7470 if (buildCounterVpnTunnelsScopedListWarning < 3) { | 7493 if (buildCounterVpnTunnelsScopedListWarning < 3) { |
| 7471 unittest.expect(o.code, unittest.equals('foo')); | 7494 unittest.expect(o.code, unittest.equals('foo')); |
| 7472 checkUnnamed2427(o.data); | 7495 checkUnnamed877(o.data); |
| 7473 unittest.expect(o.message, unittest.equals('foo')); | 7496 unittest.expect(o.message, unittest.equals('foo')); |
| 7474 } | 7497 } |
| 7475 buildCounterVpnTunnelsScopedListWarning--; | 7498 buildCounterVpnTunnelsScopedListWarning--; |
| 7476 } | 7499 } |
| 7477 | 7500 |
| 7478 core.int buildCounterVpnTunnelsScopedList = 0; | 7501 core.int buildCounterVpnTunnelsScopedList = 0; |
| 7479 buildVpnTunnelsScopedList() { | 7502 buildVpnTunnelsScopedList() { |
| 7480 var o = new api.VpnTunnelsScopedList(); | 7503 var o = new api.VpnTunnelsScopedList(); |
| 7481 buildCounterVpnTunnelsScopedList++; | 7504 buildCounterVpnTunnelsScopedList++; |
| 7482 if (buildCounterVpnTunnelsScopedList < 3) { | 7505 if (buildCounterVpnTunnelsScopedList < 3) { |
| 7483 o.vpnTunnels = buildUnnamed2426(); | 7506 o.vpnTunnels = buildUnnamed876(); |
| 7484 o.warning = buildVpnTunnelsScopedListWarning(); | 7507 o.warning = buildVpnTunnelsScopedListWarning(); |
| 7485 } | 7508 } |
| 7486 buildCounterVpnTunnelsScopedList--; | 7509 buildCounterVpnTunnelsScopedList--; |
| 7487 return o; | 7510 return o; |
| 7488 } | 7511 } |
| 7489 | 7512 |
| 7490 checkVpnTunnelsScopedList(api.VpnTunnelsScopedList o) { | 7513 checkVpnTunnelsScopedList(api.VpnTunnelsScopedList o) { |
| 7491 buildCounterVpnTunnelsScopedList++; | 7514 buildCounterVpnTunnelsScopedList++; |
| 7492 if (buildCounterVpnTunnelsScopedList < 3) { | 7515 if (buildCounterVpnTunnelsScopedList < 3) { |
| 7493 checkUnnamed2426(o.vpnTunnels); | 7516 checkUnnamed876(o.vpnTunnels); |
| 7494 checkVpnTunnelsScopedListWarning(o.warning); | 7517 checkVpnTunnelsScopedListWarning(o.warning); |
| 7495 } | 7518 } |
| 7496 buildCounterVpnTunnelsScopedList--; | 7519 buildCounterVpnTunnelsScopedList--; |
| 7497 } | 7520 } |
| 7498 | 7521 |
| 7499 core.int buildCounterZone = 0; | 7522 core.int buildCounterZone = 0; |
| 7500 buildZone() { | 7523 buildZone() { |
| 7501 var o = new api.Zone(); | 7524 var o = new api.Zone(); |
| 7502 buildCounterZone++; | 7525 buildCounterZone++; |
| 7503 if (buildCounterZone < 3) { | 7526 if (buildCounterZone < 3) { |
| (...skipping 20 matching lines...) Expand all Loading... |
| 7524 unittest.expect(o.id, unittest.equals('foo')); | 7547 unittest.expect(o.id, unittest.equals('foo')); |
| 7525 unittest.expect(o.kind, unittest.equals('foo')); | 7548 unittest.expect(o.kind, unittest.equals('foo')); |
| 7526 unittest.expect(o.name, unittest.equals('foo')); | 7549 unittest.expect(o.name, unittest.equals('foo')); |
| 7527 unittest.expect(o.region, unittest.equals('foo')); | 7550 unittest.expect(o.region, unittest.equals('foo')); |
| 7528 unittest.expect(o.selfLink, unittest.equals('foo')); | 7551 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 7529 unittest.expect(o.status, unittest.equals('foo')); | 7552 unittest.expect(o.status, unittest.equals('foo')); |
| 7530 } | 7553 } |
| 7531 buildCounterZone--; | 7554 buildCounterZone--; |
| 7532 } | 7555 } |
| 7533 | 7556 |
| 7534 buildUnnamed2428() { | 7557 buildUnnamed878() { |
| 7535 var o = new core.List<api.Zone>(); | 7558 var o = new core.List<api.Zone>(); |
| 7536 o.add(buildZone()); | 7559 o.add(buildZone()); |
| 7537 o.add(buildZone()); | 7560 o.add(buildZone()); |
| 7538 return o; | 7561 return o; |
| 7539 } | 7562 } |
| 7540 | 7563 |
| 7541 checkUnnamed2428(core.List<api.Zone> o) { | 7564 checkUnnamed878(core.List<api.Zone> o) { |
| 7542 unittest.expect(o, unittest.hasLength(2)); | 7565 unittest.expect(o, unittest.hasLength(2)); |
| 7543 checkZone(o[0]); | 7566 checkZone(o[0]); |
| 7544 checkZone(o[1]); | 7567 checkZone(o[1]); |
| 7545 } | 7568 } |
| 7546 | 7569 |
| 7547 core.int buildCounterZoneList = 0; | 7570 core.int buildCounterZoneList = 0; |
| 7548 buildZoneList() { | 7571 buildZoneList() { |
| 7549 var o = new api.ZoneList(); | 7572 var o = new api.ZoneList(); |
| 7550 buildCounterZoneList++; | 7573 buildCounterZoneList++; |
| 7551 if (buildCounterZoneList < 3) { | 7574 if (buildCounterZoneList < 3) { |
| 7552 o.id = "foo"; | 7575 o.id = "foo"; |
| 7553 o.items = buildUnnamed2428(); | 7576 o.items = buildUnnamed878(); |
| 7554 o.kind = "foo"; | 7577 o.kind = "foo"; |
| 7555 o.nextPageToken = "foo"; | 7578 o.nextPageToken = "foo"; |
| 7556 o.selfLink = "foo"; | 7579 o.selfLink = "foo"; |
| 7557 } | 7580 } |
| 7558 buildCounterZoneList--; | 7581 buildCounterZoneList--; |
| 7559 return o; | 7582 return o; |
| 7560 } | 7583 } |
| 7561 | 7584 |
| 7562 checkZoneList(api.ZoneList o) { | 7585 checkZoneList(api.ZoneList o) { |
| 7563 buildCounterZoneList++; | 7586 buildCounterZoneList++; |
| 7564 if (buildCounterZoneList < 3) { | 7587 if (buildCounterZoneList < 3) { |
| 7565 unittest.expect(o.id, unittest.equals('foo')); | 7588 unittest.expect(o.id, unittest.equals('foo')); |
| 7566 checkUnnamed2428(o.items); | 7589 checkUnnamed878(o.items); |
| 7567 unittest.expect(o.kind, unittest.equals('foo')); | 7590 unittest.expect(o.kind, unittest.equals('foo')); |
| 7568 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 7591 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 7569 unittest.expect(o.selfLink, unittest.equals('foo')); | 7592 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 7570 } | 7593 } |
| 7571 buildCounterZoneList--; | 7594 buildCounterZoneList--; |
| 7572 } | 7595 } |
| 7573 | 7596 |
| 7574 | 7597 |
| 7575 main() { | 7598 main() { |
| 7576 unittest.group("obj-schema-AccessConfig", () { | 7599 unittest.group("obj-schema-AccessConfig", () { |
| (...skipping 1303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8880 | 8903 |
| 8881 unittest.group("obj-schema-RouterStatusResponse", () { | 8904 unittest.group("obj-schema-RouterStatusResponse", () { |
| 8882 unittest.test("to-json--from-json", () { | 8905 unittest.test("to-json--from-json", () { |
| 8883 var o = buildRouterStatusResponse(); | 8906 var o = buildRouterStatusResponse(); |
| 8884 var od = new api.RouterStatusResponse.fromJson(o.toJson()); | 8907 var od = new api.RouterStatusResponse.fromJson(o.toJson()); |
| 8885 checkRouterStatusResponse(od); | 8908 checkRouterStatusResponse(od); |
| 8886 }); | 8909 }); |
| 8887 }); | 8910 }); |
| 8888 | 8911 |
| 8889 | 8912 |
| 8913 unittest.group("obj-schema-RoutersPreviewResponse", () { |
| 8914 unittest.test("to-json--from-json", () { |
| 8915 var o = buildRoutersPreviewResponse(); |
| 8916 var od = new api.RoutersPreviewResponse.fromJson(o.toJson()); |
| 8917 checkRoutersPreviewResponse(od); |
| 8918 }); |
| 8919 }); |
| 8920 |
| 8921 |
| 8890 unittest.group("obj-schema-RoutersScopedListWarningData", () { | 8922 unittest.group("obj-schema-RoutersScopedListWarningData", () { |
| 8891 unittest.test("to-json--from-json", () { | 8923 unittest.test("to-json--from-json", () { |
| 8892 var o = buildRoutersScopedListWarningData(); | 8924 var o = buildRoutersScopedListWarningData(); |
| 8893 var od = new api.RoutersScopedListWarningData.fromJson(o.toJson()); | 8925 var od = new api.RoutersScopedListWarningData.fromJson(o.toJson()); |
| 8894 checkRoutersScopedListWarningData(od); | 8926 checkRoutersScopedListWarningData(od); |
| 8895 }); | 8927 }); |
| 8896 }); | 8928 }); |
| 8897 | 8929 |
| 8898 | 8930 |
| 8899 unittest.group("obj-schema-RoutersScopedListWarning", () { | 8931 unittest.group("obj-schema-RoutersScopedListWarning", () { |
| (...skipping 7155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16055 "content-type" : "application/json; charset=utf-8", | 16087 "content-type" : "application/json; charset=utf-8", |
| 16056 }; | 16088 }; |
| 16057 var resp = convert.JSON.encode(buildOperation()); | 16089 var resp = convert.JSON.encode(buildOperation()); |
| 16058 return new async.Future.value(stringResponse(200, h, resp)); | 16090 return new async.Future.value(stringResponse(200, h, resp)); |
| 16059 }), true); | 16091 }), true); |
| 16060 res.patch(arg_request, arg_project, arg_region, arg_router).then(unittest.
expectAsync(((api.Operation response) { | 16092 res.patch(arg_request, arg_project, arg_region, arg_router).then(unittest.
expectAsync(((api.Operation response) { |
| 16061 checkOperation(response); | 16093 checkOperation(response); |
| 16062 }))); | 16094 }))); |
| 16063 }); | 16095 }); |
| 16064 | 16096 |
| 16097 unittest.test("method--preview", () { |
| 16098 |
| 16099 var mock = new HttpServerMock(); |
| 16100 api.RoutersResourceApi res = new api.ComputeApi(mock).routers; |
| 16101 var arg_request = buildRouter(); |
| 16102 var arg_project = "foo"; |
| 16103 var arg_region = "foo"; |
| 16104 var arg_router = "foo"; |
| 16105 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 16106 var obj = new api.Router.fromJson(json); |
| 16107 checkRouter(obj); |
| 16108 |
| 16109 var path = (req.url).path; |
| 16110 var pathOffset = 0; |
| 16111 var index; |
| 16112 var subPart; |
| 16113 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 16114 pathOffset += 1; |
| 16115 |
| 16116 var query = (req.url).query; |
| 16117 var queryOffset = 0; |
| 16118 var queryMap = {}; |
| 16119 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 16120 parseBool(n) { |
| 16121 if (n == "true") return true; |
| 16122 if (n == "false") return false; |
| 16123 if (n == null) return null; |
| 16124 throw new core.ArgumentError("Invalid boolean: $n"); |
| 16125 } |
| 16126 if (query.length > 0) { |
| 16127 for (var part in query.split("&")) { |
| 16128 var keyvalue = part.split("="); |
| 16129 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 16130 } |
| 16131 } |
| 16132 |
| 16133 |
| 16134 var h = { |
| 16135 "content-type" : "application/json; charset=utf-8", |
| 16136 }; |
| 16137 var resp = convert.JSON.encode(buildRoutersPreviewResponse()); |
| 16138 return new async.Future.value(stringResponse(200, h, resp)); |
| 16139 }), true); |
| 16140 res.preview(arg_request, arg_project, arg_region, arg_router).then(unittes
t.expectAsync(((api.RoutersPreviewResponse response) { |
| 16141 checkRoutersPreviewResponse(response); |
| 16142 }))); |
| 16143 }); |
| 16144 |
| 16065 unittest.test("method--update", () { | 16145 unittest.test("method--update", () { |
| 16066 | 16146 |
| 16067 var mock = new HttpServerMock(); | 16147 var mock = new HttpServerMock(); |
| 16068 api.RoutersResourceApi res = new api.ComputeApi(mock).routers; | 16148 api.RoutersResourceApi res = new api.ComputeApi(mock).routers; |
| 16069 var arg_request = buildRouter(); | 16149 var arg_request = buildRouter(); |
| 16070 var arg_project = "foo"; | 16150 var arg_project = "foo"; |
| 16071 var arg_region = "foo"; | 16151 var arg_region = "foo"; |
| 16072 var arg_router = "foo"; | 16152 var arg_router = "foo"; |
| 16073 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16153 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 16074 var obj = new api.Router.fromJson(json); | 16154 var obj = new api.Router.fromJson(json); |
| (...skipping 3124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19199 res.list(arg_project, filter: arg_filter, maxResults: arg_maxResults, page
Token: arg_pageToken).then(unittest.expectAsync(((api.ZoneList response) { | 19279 res.list(arg_project, filter: arg_filter, maxResults: arg_maxResults, page
Token: arg_pageToken).then(unittest.expectAsync(((api.ZoneList response) { |
| 19200 checkZoneList(response); | 19280 checkZoneList(response); |
| 19201 }))); | 19281 }))); |
| 19202 }); | 19282 }); |
| 19203 | 19283 |
| 19204 }); | 19284 }); |
| 19205 | 19285 |
| 19206 | 19286 |
| 19207 } | 19287 } |
| 19208 | 19288 |
| OLD | NEW |