ovirt-engine-sdk 4.0.0.alpha10 → 4.0.0.alpha11

Sign up to get free protection for your applications and to get access to all the features.
@@ -714,7 +714,7 @@ module OvirtSDK4
714
714
  begin
715
715
  io = StringIO.new(response.body)
716
716
  reader = XmlReader.new(:io => io)
717
- return AffinityGroupReader.read_one(reader, @connection)
717
+ return AffinityGroupReader.read_one(reader)
718
718
  ensure
719
719
  reader.close
720
720
  io.close
@@ -760,7 +760,7 @@ module OvirtSDK4
760
760
  begin
761
761
  io = StringIO.new(response.body)
762
762
  reader = XmlReader.new(:io => io)
763
- return AffinityGroupReader.read_one(reader, @connection)
763
+ return AffinityGroupReader.read_one(reader)
764
764
  ensure
765
765
  reader.close
766
766
  io.close
@@ -905,7 +905,7 @@ module OvirtSDK4
905
905
  begin
906
906
  io = StringIO.new(response.body)
907
907
  reader = XmlReader.new(:io => io)
908
- return VmReader.read_one(reader, @connection)
908
+ return VmReader.read_one(reader)
909
909
  ensure
910
910
  reader.close
911
911
  io.close
@@ -931,7 +931,7 @@ module OvirtSDK4
931
931
  begin
932
932
  io = StringIO.new(response.body)
933
933
  reader = XmlReader.new(:io => io)
934
- return VmReader.read_many(reader, @connection)
934
+ return VmReader.read_many(reader)
935
935
  ensure
936
936
  reader.close
937
937
  io.close
@@ -1020,7 +1020,7 @@ module OvirtSDK4
1020
1020
  begin
1021
1021
  io = StringIO.new(response.body)
1022
1022
  reader = XmlReader.new(:io => io)
1023
- return AffinityGroupReader.read_one(reader, @connection)
1023
+ return AffinityGroupReader.read_one(reader)
1024
1024
  ensure
1025
1025
  reader.close
1026
1026
  io.close
@@ -1046,7 +1046,7 @@ module OvirtSDK4
1046
1046
  begin
1047
1047
  io = StringIO.new(response.body)
1048
1048
  reader = XmlReader.new(:io => io)
1049
- return AffinityGroupReader.read_many(reader, @connection)
1049
+ return AffinityGroupReader.read_many(reader)
1050
1050
  ensure
1051
1051
  reader.close
1052
1052
  io.close
@@ -1119,7 +1119,7 @@ module OvirtSDK4
1119
1119
  begin
1120
1120
  io = StringIO.new(response.body)
1121
1121
  reader = XmlReader.new(:io => io)
1122
- return CpuProfileReader.read_one(reader, @connection)
1122
+ return CpuProfileReader.read_one(reader)
1123
1123
  ensure
1124
1124
  reader.close
1125
1125
  io.close
@@ -1210,7 +1210,7 @@ module OvirtSDK4
1210
1210
  begin
1211
1211
  io = StringIO.new(response.body)
1212
1212
  reader = XmlReader.new(:io => io)
1213
- return CpuProfileReader.read_one(reader, @connection)
1213
+ return CpuProfileReader.read_one(reader)
1214
1214
  ensure
1215
1215
  reader.close
1216
1216
  io.close
@@ -1236,7 +1236,7 @@ module OvirtSDK4
1236
1236
  begin
1237
1237
  io = StringIO.new(response.body)
1238
1238
  reader = XmlReader.new(:io => io)
1239
- return CpuProfileReader.read_many(reader, @connection)
1239
+ return CpuProfileReader.read_many(reader)
1240
1240
  ensure
1241
1241
  reader.close
1242
1242
  io.close
@@ -1309,7 +1309,7 @@ module OvirtSDK4
1309
1309
  begin
1310
1310
  io = StringIO.new(response.body)
1311
1311
  reader = XmlReader.new(:io => io)
1312
- return DiskProfileReader.read_one(reader, @connection)
1312
+ return DiskProfileReader.read_one(reader)
1313
1313
  ensure
1314
1314
  reader.close
1315
1315
  io.close
@@ -1400,7 +1400,7 @@ module OvirtSDK4
1400
1400
  begin
1401
1401
  io = StringIO.new(response.body)
1402
1402
  reader = XmlReader.new(:io => io)
1403
- return DiskProfileReader.read_one(reader, @connection)
1403
+ return DiskProfileReader.read_one(reader)
1404
1404
  ensure
1405
1405
  reader.close
1406
1406
  io.close
@@ -1426,7 +1426,7 @@ module OvirtSDK4
1426
1426
  begin
1427
1427
  io = StringIO.new(response.body)
1428
1428
  reader = XmlReader.new(:io => io)
1429
- return DiskProfileReader.read_many(reader, @connection)
1429
+ return DiskProfileReader.read_many(reader)
1430
1430
  ensure
1431
1431
  reader.close
1432
1432
  io.close
@@ -1499,7 +1499,7 @@ module OvirtSDK4
1499
1499
  begin
1500
1500
  io = StringIO.new(response.body)
1501
1501
  reader = XmlReader.new(:io => io)
1502
- return NetworkReader.read_one(reader, @connection)
1502
+ return NetworkReader.read_one(reader)
1503
1503
  ensure
1504
1504
  reader.close
1505
1505
  io.close
@@ -1545,7 +1545,7 @@ module OvirtSDK4
1545
1545
  begin
1546
1546
  io = StringIO.new(response.body)
1547
1547
  reader = XmlReader.new(:io => io)
1548
- return NetworkReader.read_one(reader, @connection)
1548
+ return NetworkReader.read_one(reader)
1549
1549
  ensure
1550
1550
  reader.close
1551
1551
  io.close
@@ -1621,7 +1621,7 @@ module OvirtSDK4
1621
1621
  begin
1622
1622
  io = StringIO.new(response.body)
1623
1623
  reader = XmlReader.new(:io => io)
1624
- return NetworkReader.read_one(reader, @connection)
1624
+ return NetworkReader.read_one(reader)
1625
1625
  ensure
1626
1626
  reader.close
1627
1627
  io.close
@@ -1647,7 +1647,7 @@ module OvirtSDK4
1647
1647
  begin
1648
1648
  io = StringIO.new(response.body)
1649
1649
  reader = XmlReader.new(:io => io)
1650
- return NetworkReader.read_many(reader, @connection)
1650
+ return NetworkReader.read_many(reader)
1651
1651
  ensure
1652
1652
  reader.close
1653
1653
  io.close
@@ -1736,7 +1736,7 @@ module OvirtSDK4
1736
1736
  begin
1737
1737
  io = StringIO.new(response.body)
1738
1738
  reader = XmlReader.new(:io => io)
1739
- return PermissionReader.read_one(reader, @connection)
1739
+ return PermissionReader.read_one(reader)
1740
1740
  ensure
1741
1741
  reader.close
1742
1742
  io.close
@@ -1756,7 +1756,7 @@ module OvirtSDK4
1756
1756
  begin
1757
1757
  io = StringIO.new(response.body)
1758
1758
  reader = XmlReader.new(:io => io)
1759
- return PermissionReader.read_many(reader, @connection)
1759
+ return PermissionReader.read_many(reader)
1760
1760
  ensure
1761
1761
  reader.close
1762
1762
  io.close
@@ -1835,7 +1835,7 @@ module OvirtSDK4
1835
1835
  begin
1836
1836
  io = StringIO.new(response.body)
1837
1837
  reader = XmlReader.new(:io => io)
1838
- return RoleReader.read_many(reader, @connection)
1838
+ return RoleReader.read_many(reader)
1839
1839
  ensure
1840
1840
  reader.close
1841
1841
  io.close
@@ -1908,7 +1908,7 @@ module OvirtSDK4
1908
1908
  begin
1909
1909
  io = StringIO.new(response.body)
1910
1910
  reader = XmlReader.new(:io => io)
1911
- return TagReader.read_one(reader, @connection)
1911
+ return TagReader.read_one(reader)
1912
1912
  ensure
1913
1913
  reader.close
1914
1914
  io.close
@@ -1999,7 +1999,7 @@ module OvirtSDK4
1999
1999
  begin
2000
2000
  io = StringIO.new(response.body)
2001
2001
  reader = XmlReader.new(:io => io)
2002
- return TagReader.read_one(reader, @connection)
2002
+ return TagReader.read_one(reader)
2003
2003
  ensure
2004
2004
  reader.close
2005
2005
  io.close
@@ -2025,7 +2025,7 @@ module OvirtSDK4
2025
2025
  begin
2026
2026
  io = StringIO.new(response.body)
2027
2027
  reader = XmlReader.new(:io => io)
2028
- return TagReader.read_many(reader, @connection)
2028
+ return TagReader.read_many(reader)
2029
2029
  ensure
2030
2030
  reader.close
2031
2031
  io.close
@@ -2098,7 +2098,7 @@ module OvirtSDK4
2098
2098
  begin
2099
2099
  io = StringIO.new(response.body)
2100
2100
  reader = XmlReader.new(:io => io)
2101
- return VnicProfileReader.read_one(reader, @connection)
2101
+ return VnicProfileReader.read_one(reader)
2102
2102
  ensure
2103
2103
  reader.close
2104
2104
  io.close
@@ -2203,7 +2203,7 @@ module OvirtSDK4
2203
2203
  begin
2204
2204
  io = StringIO.new(response.body)
2205
2205
  reader = XmlReader.new(:io => io)
2206
- return VnicProfileReader.read_one(reader, @connection)
2206
+ return VnicProfileReader.read_one(reader)
2207
2207
  ensure
2208
2208
  reader.close
2209
2209
  io.close
@@ -2229,7 +2229,7 @@ module OvirtSDK4
2229
2229
  begin
2230
2230
  io = StringIO.new(response.body)
2231
2231
  reader = XmlReader.new(:io => io)
2232
- return VnicProfileReader.read_many(reader, @connection)
2232
+ return VnicProfileReader.read_many(reader)
2233
2233
  ensure
2234
2234
  reader.close
2235
2235
  io.close
@@ -2356,7 +2356,7 @@ module OvirtSDK4
2356
2356
  begin
2357
2357
  io = StringIO.new(response.body)
2358
2358
  reader = XmlReader.new(:io => io)
2359
- return StorageDomainReader.read_one(reader, @connection)
2359
+ return StorageDomainReader.read_one(reader)
2360
2360
  ensure
2361
2361
  reader.close
2362
2362
  io.close
@@ -2461,7 +2461,7 @@ module OvirtSDK4
2461
2461
  begin
2462
2462
  io = StringIO.new(response.body)
2463
2463
  reader = XmlReader.new(:io => io)
2464
- return StorageDomainReader.read_one(reader, @connection)
2464
+ return StorageDomainReader.read_one(reader)
2465
2465
  ensure
2466
2466
  reader.close
2467
2467
  io.close
@@ -2487,7 +2487,7 @@ module OvirtSDK4
2487
2487
  begin
2488
2488
  io = StringIO.new(response.body)
2489
2489
  reader = XmlReader.new(:io => io)
2490
- return StorageDomainReader.read_many(reader, @connection)
2490
+ return StorageDomainReader.read_many(reader)
2491
2491
  ensure
2492
2492
  reader.close
2493
2493
  io.close
@@ -2566,7 +2566,7 @@ module OvirtSDK4
2566
2566
  begin
2567
2567
  io = StringIO.new(response.body)
2568
2568
  reader = XmlReader.new(:io => io)
2569
- return BalanceReader.read_one(reader, @connection)
2569
+ return BalanceReader.read_one(reader)
2570
2570
  ensure
2571
2571
  reader.close
2572
2572
  io.close
@@ -2657,7 +2657,7 @@ module OvirtSDK4
2657
2657
  begin
2658
2658
  io = StringIO.new(response.body)
2659
2659
  reader = XmlReader.new(:io => io)
2660
- return BalanceReader.read_one(reader, @connection)
2660
+ return BalanceReader.read_one(reader)
2661
2661
  ensure
2662
2662
  reader.close
2663
2663
  io.close
@@ -2689,7 +2689,7 @@ module OvirtSDK4
2689
2689
  begin
2690
2690
  io = StringIO.new(response.body)
2691
2691
  reader = XmlReader.new(:io => io)
2692
- return BalanceReader.read_many(reader, @connection)
2692
+ return BalanceReader.read_many(reader)
2693
2693
  ensure
2694
2694
  reader.close
2695
2695
  io.close
@@ -2762,7 +2762,7 @@ module OvirtSDK4
2762
2762
  begin
2763
2763
  io = StringIO.new(response.body)
2764
2764
  reader = XmlReader.new(:io => io)
2765
- return BookmarkReader.read_one(reader, @connection)
2765
+ return BookmarkReader.read_one(reader)
2766
2766
  ensure
2767
2767
  reader.close
2768
2768
  io.close
@@ -2808,7 +2808,7 @@ module OvirtSDK4
2808
2808
  begin
2809
2809
  io = StringIO.new(response.body)
2810
2810
  reader = XmlReader.new(:io => io)
2811
- return BookmarkReader.read_one(reader, @connection)
2811
+ return BookmarkReader.read_one(reader)
2812
2812
  ensure
2813
2813
  reader.close
2814
2814
  io.close
@@ -2884,7 +2884,7 @@ module OvirtSDK4
2884
2884
  begin
2885
2885
  io = StringIO.new(response.body)
2886
2886
  reader = XmlReader.new(:io => io)
2887
- return BookmarkReader.read_one(reader, @connection)
2887
+ return BookmarkReader.read_one(reader)
2888
2888
  ensure
2889
2889
  reader.close
2890
2890
  io.close
@@ -2910,7 +2910,7 @@ module OvirtSDK4
2910
2910
  begin
2911
2911
  io = StringIO.new(response.body)
2912
2912
  reader = XmlReader.new(:io => io)
2913
- return BookmarkReader.read_many(reader, @connection)
2913
+ return BookmarkReader.read_many(reader)
2914
2914
  ensure
2915
2915
  reader.close
2916
2916
  io.close
@@ -2989,7 +2989,7 @@ module OvirtSDK4
2989
2989
  begin
2990
2990
  io = StringIO.new(response.body)
2991
2991
  reader = XmlReader.new(:io => io)
2992
- return ClusterReader.read_one(reader, @connection)
2992
+ return ClusterReader.read_one(reader)
2993
2993
  ensure
2994
2994
  reader.close
2995
2995
  io.close
@@ -3062,7 +3062,7 @@ module OvirtSDK4
3062
3062
  begin
3063
3063
  io = StringIO.new(response.body)
3064
3064
  reader = XmlReader.new(:io => io)
3065
- return ClusterReader.read_one(reader, @connection)
3065
+ return ClusterReader.read_one(reader)
3066
3066
  ensure
3067
3067
  reader.close
3068
3068
  io.close
@@ -3236,7 +3236,7 @@ module OvirtSDK4
3236
3236
  begin
3237
3237
  io = StringIO.new(response.body)
3238
3238
  reader = XmlReader.new(:io => io)
3239
- return ClusterReader.read_one(reader, @connection)
3239
+ return ClusterReader.read_one(reader)
3240
3240
  ensure
3241
3241
  reader.close
3242
3242
  io.close
@@ -3279,7 +3279,7 @@ module OvirtSDK4
3279
3279
  begin
3280
3280
  io = StringIO.new(response.body)
3281
3281
  reader = XmlReader.new(:io => io)
3282
- return ClusterReader.read_many(reader, @connection)
3282
+ return ClusterReader.read_many(reader)
3283
3283
  ensure
3284
3284
  reader.close
3285
3285
  io.close
@@ -3418,7 +3418,7 @@ module OvirtSDK4
3418
3418
  begin
3419
3419
  io = StringIO.new(response.body)
3420
3420
  reader = XmlReader.new(:io => io)
3421
- return CpuProfileReader.read_one(reader, @connection)
3421
+ return CpuProfileReader.read_one(reader)
3422
3422
  ensure
3423
3423
  reader.close
3424
3424
  io.close
@@ -3464,7 +3464,7 @@ module OvirtSDK4
3464
3464
  begin
3465
3465
  io = StringIO.new(response.body)
3466
3466
  reader = XmlReader.new(:io => io)
3467
- return CpuProfileReader.read_one(reader, @connection)
3467
+ return CpuProfileReader.read_one(reader)
3468
3468
  ensure
3469
3469
  reader.close
3470
3470
  io.close
@@ -3554,7 +3554,7 @@ module OvirtSDK4
3554
3554
  begin
3555
3555
  io = StringIO.new(response.body)
3556
3556
  reader = XmlReader.new(:io => io)
3557
- return CpuProfileReader.read_one(reader, @connection)
3557
+ return CpuProfileReader.read_one(reader)
3558
3558
  ensure
3559
3559
  reader.close
3560
3560
  io.close
@@ -3580,7 +3580,7 @@ module OvirtSDK4
3580
3580
  begin
3581
3581
  io = StringIO.new(response.body)
3582
3582
  reader = XmlReader.new(:io => io)
3583
- return CpuProfileReader.read_many(reader, @connection)
3583
+ return CpuProfileReader.read_many(reader)
3584
3584
  ensure
3585
3585
  reader.close
3586
3586
  io.close
@@ -3659,7 +3659,7 @@ module OvirtSDK4
3659
3659
  begin
3660
3660
  io = StringIO.new(response.body)
3661
3661
  reader = XmlReader.new(:io => io)
3662
- return DataCenterReader.read_one(reader, @connection)
3662
+ return DataCenterReader.read_one(reader)
3663
3663
  ensure
3664
3664
  reader.close
3665
3665
  io.close
@@ -3705,7 +3705,7 @@ module OvirtSDK4
3705
3705
  begin
3706
3706
  io = StringIO.new(response.body)
3707
3707
  reader = XmlReader.new(:io => io)
3708
- return DataCenterReader.read_one(reader, @connection)
3708
+ return DataCenterReader.read_one(reader)
3709
3709
  ensure
3710
3710
  reader.close
3711
3711
  io.close
@@ -3879,7 +3879,7 @@ module OvirtSDK4
3879
3879
  begin
3880
3880
  io = StringIO.new(response.body)
3881
3881
  reader = XmlReader.new(:io => io)
3882
- return DataCenterReader.read_one(reader, @connection)
3882
+ return DataCenterReader.read_one(reader)
3883
3883
  ensure
3884
3884
  reader.close
3885
3885
  io.close
@@ -3922,7 +3922,7 @@ module OvirtSDK4
3922
3922
  begin
3923
3923
  io = StringIO.new(response.body)
3924
3924
  reader = XmlReader.new(:io => io)
3925
- return DataCenterReader.read_many(reader, @connection)
3925
+ return DataCenterReader.read_many(reader)
3926
3926
  ensure
3927
3927
  reader.close
3928
3928
  io.close
@@ -3995,7 +3995,7 @@ module OvirtSDK4
3995
3995
  begin
3996
3996
  io = StringIO.new(response.body)
3997
3997
  reader = XmlReader.new(:io => io)
3998
- return DiskProfileReader.read_one(reader, @connection)
3998
+ return DiskProfileReader.read_one(reader)
3999
3999
  ensure
4000
4000
  reader.close
4001
4001
  io.close
@@ -4041,7 +4041,7 @@ module OvirtSDK4
4041
4041
  begin
4042
4042
  io = StringIO.new(response.body)
4043
4043
  reader = XmlReader.new(:io => io)
4044
- return DiskProfileReader.read_one(reader, @connection)
4044
+ return DiskProfileReader.read_one(reader)
4045
4045
  ensure
4046
4046
  reader.close
4047
4047
  io.close
@@ -4131,7 +4131,7 @@ module OvirtSDK4
4131
4131
  begin
4132
4132
  io = StringIO.new(response.body)
4133
4133
  reader = XmlReader.new(:io => io)
4134
- return DiskProfileReader.read_one(reader, @connection)
4134
+ return DiskProfileReader.read_one(reader)
4135
4135
  ensure
4136
4136
  reader.close
4137
4137
  io.close
@@ -4157,7 +4157,7 @@ module OvirtSDK4
4157
4157
  begin
4158
4158
  io = StringIO.new(response.body)
4159
4159
  reader = XmlReader.new(:io => io)
4160
- return DiskProfileReader.read_many(reader, @connection)
4160
+ return DiskProfileReader.read_many(reader)
4161
4161
  ensure
4162
4162
  reader.close
4163
4163
  io.close
@@ -4230,7 +4230,7 @@ module OvirtSDK4
4230
4230
  begin
4231
4231
  io = StringIO.new(response.body)
4232
4232
  reader = XmlReader.new(:io => io)
4233
- return DiskSnapshotReader.read_one(reader, @connection)
4233
+ return DiskSnapshotReader.read_one(reader)
4234
4234
  ensure
4235
4235
  reader.close
4236
4236
  io.close
@@ -4311,7 +4311,7 @@ module OvirtSDK4
4311
4311
  begin
4312
4312
  io = StringIO.new(response.body)
4313
4313
  reader = XmlReader.new(:io => io)
4314
- return DiskSnapshotReader.read_many(reader, @connection)
4314
+ return DiskSnapshotReader.read_many(reader)
4315
4315
  ensure
4316
4316
  reader.close
4317
4317
  io.close
@@ -4400,7 +4400,7 @@ module OvirtSDK4
4400
4400
  begin
4401
4401
  io = StringIO.new(response.body)
4402
4402
  reader = XmlReader.new(:io => io)
4403
- return DiskReader.read_one(reader, @connection)
4403
+ return DiskReader.read_one(reader)
4404
4404
  ensure
4405
4405
  reader.close
4406
4406
  io.close
@@ -4437,7 +4437,7 @@ module OvirtSDK4
4437
4437
  begin
4438
4438
  io = StringIO.new(response.body)
4439
4439
  reader = XmlReader.new(:io => io)
4440
- return DiskReader.read_many(reader, @connection)
4440
+ return DiskReader.read_many(reader)
4441
4441
  ensure
4442
4442
  reader.close
4443
4443
  io.close
@@ -4510,7 +4510,7 @@ module OvirtSDK4
4510
4510
  begin
4511
4511
  io = StringIO.new(response.body)
4512
4512
  reader = XmlReader.new(:io => io)
4513
- return DomainReader.read_one(reader, @connection)
4513
+ return DomainReader.read_one(reader)
4514
4514
  ensure
4515
4515
  reader.close
4516
4516
  io.close
@@ -4597,7 +4597,7 @@ module OvirtSDK4
4597
4597
  begin
4598
4598
  io = StringIO.new(response.body)
4599
4599
  reader = XmlReader.new(:io => io)
4600
- return GroupReader.read_one(reader, @connection)
4600
+ return GroupReader.read_one(reader)
4601
4601
  ensure
4602
4602
  reader.close
4603
4603
  io.close
@@ -4673,7 +4673,7 @@ module OvirtSDK4
4673
4673
  begin
4674
4674
  io = StringIO.new(response.body)
4675
4675
  reader = XmlReader.new(:io => io)
4676
- return GroupReader.read_many(reader, @connection)
4676
+ return GroupReader.read_many(reader)
4677
4677
  ensure
4678
4678
  reader.close
4679
4679
  io.close
@@ -4746,7 +4746,7 @@ module OvirtSDK4
4746
4746
  begin
4747
4747
  io = StringIO.new(response.body)
4748
4748
  reader = XmlReader.new(:io => io)
4749
- return UserReader.read_one(reader, @connection)
4749
+ return UserReader.read_one(reader)
4750
4750
  ensure
4751
4751
  reader.close
4752
4752
  io.close
@@ -4822,7 +4822,7 @@ module OvirtSDK4
4822
4822
  begin
4823
4823
  io = StringIO.new(response.body)
4824
4824
  reader = XmlReader.new(:io => io)
4825
- return UserReader.read_many(reader, @connection)
4825
+ return UserReader.read_many(reader)
4826
4826
  ensure
4827
4827
  reader.close
4828
4828
  io.close
@@ -4901,7 +4901,7 @@ module OvirtSDK4
4901
4901
  begin
4902
4902
  io = StringIO.new(response.body)
4903
4903
  reader = XmlReader.new(:io => io)
4904
- return DomainReader.read_many(reader, @connection)
4904
+ return DomainReader.read_many(reader)
4905
4905
  ensure
4906
4906
  reader.close
4907
4907
  io.close
@@ -4974,7 +4974,7 @@ module OvirtSDK4
4974
4974
  begin
4975
4975
  io = StringIO.new(response.body)
4976
4976
  reader = XmlReader.new(:io => io)
4977
- return EventReader.read_one(reader, @connection)
4977
+ return EventReader.read_one(reader)
4978
4978
  ensure
4979
4979
  reader.close
4980
4980
  io.close
@@ -5065,7 +5065,7 @@ module OvirtSDK4
5065
5065
  begin
5066
5066
  io = StringIO.new(response.body)
5067
5067
  reader = XmlReader.new(:io => io)
5068
- return EventReader.read_one(reader, @connection)
5068
+ return EventReader.read_one(reader)
5069
5069
  ensure
5070
5070
  reader.close
5071
5071
  io.close
@@ -5102,7 +5102,7 @@ module OvirtSDK4
5102
5102
  begin
5103
5103
  io = StringIO.new(response.body)
5104
5104
  reader = XmlReader.new(:io => io)
5105
- return EventReader.read_many(reader, @connection)
5105
+ return EventReader.read_many(reader)
5106
5106
  ensure
5107
5107
  reader.close
5108
5108
  io.close
@@ -5202,7 +5202,7 @@ module OvirtSDK4
5202
5202
  begin
5203
5203
  io = StringIO.new(response.body)
5204
5204
  reader = XmlReader.new(:io => io)
5205
- return ExternalComputeResourceReader.read_one(reader, @connection)
5205
+ return ExternalComputeResourceReader.read_one(reader)
5206
5206
  ensure
5207
5207
  reader.close
5208
5208
  io.close
@@ -5267,7 +5267,7 @@ module OvirtSDK4
5267
5267
  begin
5268
5268
  io = StringIO.new(response.body)
5269
5269
  reader = XmlReader.new(:io => io)
5270
- return ExternalComputeResourceReader.read_many(reader, @connection)
5270
+ return ExternalComputeResourceReader.read_many(reader)
5271
5271
  ensure
5272
5272
  reader.close
5273
5273
  io.close
@@ -5340,7 +5340,7 @@ module OvirtSDK4
5340
5340
  begin
5341
5341
  io = StringIO.new(response.body)
5342
5342
  reader = XmlReader.new(:io => io)
5343
- return ExternalDiscoveredHostReader.read_one(reader, @connection)
5343
+ return ExternalDiscoveredHostReader.read_one(reader)
5344
5344
  ensure
5345
5345
  reader.close
5346
5346
  io.close
@@ -5405,7 +5405,7 @@ module OvirtSDK4
5405
5405
  begin
5406
5406
  io = StringIO.new(response.body)
5407
5407
  reader = XmlReader.new(:io => io)
5408
- return ExternalDiscoveredHostReader.read_many(reader, @connection)
5408
+ return ExternalDiscoveredHostReader.read_many(reader)
5409
5409
  ensure
5410
5410
  reader.close
5411
5411
  io.close
@@ -5478,7 +5478,7 @@ module OvirtSDK4
5478
5478
  begin
5479
5479
  io = StringIO.new(response.body)
5480
5480
  reader = XmlReader.new(:io => io)
5481
- return ExternalHostReader.read_one(reader, @connection)
5481
+ return ExternalHostReader.read_one(reader)
5482
5482
  ensure
5483
5483
  reader.close
5484
5484
  io.close
@@ -5537,7 +5537,7 @@ module OvirtSDK4
5537
5537
  begin
5538
5538
  io = StringIO.new(response.body)
5539
5539
  reader = XmlReader.new(:io => io)
5540
- return ExternalHostGroupReader.read_one(reader, @connection)
5540
+ return ExternalHostGroupReader.read_one(reader)
5541
5541
  ensure
5542
5542
  reader.close
5543
5543
  io.close
@@ -5602,7 +5602,7 @@ module OvirtSDK4
5602
5602
  begin
5603
5603
  io = StringIO.new(response.body)
5604
5604
  reader = XmlReader.new(:io => io)
5605
- return ExternalHostGroupReader.read_many(reader, @connection)
5605
+ return ExternalHostGroupReader.read_many(reader)
5606
5606
  ensure
5607
5607
  reader.close
5608
5608
  io.close
@@ -5691,7 +5691,7 @@ module OvirtSDK4
5691
5691
  begin
5692
5692
  io = StringIO.new(response.body)
5693
5693
  reader = XmlReader.new(:io => io)
5694
- return ExternalHostProviderReader.read_one(reader, @connection)
5694
+ return ExternalHostProviderReader.read_one(reader)
5695
5695
  ensure
5696
5696
  reader.close
5697
5697
  io.close
@@ -5717,7 +5717,7 @@ module OvirtSDK4
5717
5717
  begin
5718
5718
  io = StringIO.new(response.body)
5719
5719
  reader = XmlReader.new(:io => io)
5720
- return ExternalHostProviderReader.read_many(reader, @connection)
5720
+ return ExternalHostProviderReader.read_many(reader)
5721
5721
  ensure
5722
5722
  reader.close
5723
5723
  io.close
@@ -5796,7 +5796,7 @@ module OvirtSDK4
5796
5796
  begin
5797
5797
  io = StringIO.new(response.body)
5798
5798
  reader = XmlReader.new(:io => io)
5799
- return ExternalHostReader.read_many(reader, @connection)
5799
+ return ExternalHostReader.read_many(reader)
5800
5800
  ensure
5801
5801
  reader.close
5802
5802
  io.close
@@ -5976,7 +5976,7 @@ module OvirtSDK4
5976
5976
  begin
5977
5977
  io = StringIO.new(response.body)
5978
5978
  reader = XmlReader.new(:io => io)
5979
- return CertificateReader.read_one(reader, @connection)
5979
+ return CertificateReader.read_one(reader)
5980
5980
  ensure
5981
5981
  reader.close
5982
5982
  io.close
@@ -6041,7 +6041,7 @@ module OvirtSDK4
6041
6041
  begin
6042
6042
  io = StringIO.new(response.body)
6043
6043
  reader = XmlReader.new(:io => io)
6044
- return CertificateReader.read_many(reader, @connection)
6044
+ return CertificateReader.read_many(reader)
6045
6045
  ensure
6046
6046
  reader.close
6047
6047
  io.close
@@ -6114,7 +6114,7 @@ module OvirtSDK4
6114
6114
  begin
6115
6115
  io = StringIO.new(response.body)
6116
6116
  reader = XmlReader.new(:io => io)
6117
- return AgentReader.read_one(reader, @connection)
6117
+ return AgentReader.read_one(reader)
6118
6118
  ensure
6119
6119
  reader.close
6120
6120
  io.close
@@ -6160,7 +6160,7 @@ module OvirtSDK4
6160
6160
  begin
6161
6161
  io = StringIO.new(response.body)
6162
6162
  reader = XmlReader.new(:io => io)
6163
- return AgentReader.read_one(reader, @connection)
6163
+ return AgentReader.read_one(reader)
6164
6164
  ensure
6165
6165
  reader.close
6166
6166
  io.close
@@ -6236,7 +6236,7 @@ module OvirtSDK4
6236
6236
  begin
6237
6237
  io = StringIO.new(response.body)
6238
6238
  reader = XmlReader.new(:io => io)
6239
- return AgentReader.read_one(reader, @connection)
6239
+ return AgentReader.read_one(reader)
6240
6240
  ensure
6241
6241
  reader.close
6242
6242
  io.close
@@ -6262,7 +6262,7 @@ module OvirtSDK4
6262
6262
  begin
6263
6263
  io = StringIO.new(response.body)
6264
6264
  reader = XmlReader.new(:io => io)
6265
- return AgentReader.read_many(reader, @connection)
6265
+ return AgentReader.read_many(reader)
6266
6266
  ensure
6267
6267
  reader.close
6268
6268
  io.close
@@ -6335,7 +6335,7 @@ module OvirtSDK4
6335
6335
  begin
6336
6336
  io = StringIO.new(response.body)
6337
6337
  reader = XmlReader.new(:io => io)
6338
- return FileReader.read_one(reader, @connection)
6338
+ return FileReader.read_one(reader)
6339
6339
  ensure
6340
6340
  reader.close
6341
6341
  io.close
@@ -6411,7 +6411,7 @@ module OvirtSDK4
6411
6411
  begin
6412
6412
  io = StringIO.new(response.body)
6413
6413
  reader = XmlReader.new(:io => io)
6414
- return FileReader.read_many(reader, @connection)
6414
+ return FileReader.read_many(reader)
6415
6415
  ensure
6416
6416
  reader.close
6417
6417
  io.close
@@ -6490,7 +6490,7 @@ module OvirtSDK4
6490
6490
  begin
6491
6491
  io = StringIO.new(response.body)
6492
6492
  reader = XmlReader.new(:io => io)
6493
- return FilterReader.read_one(reader, @connection)
6493
+ return FilterReader.read_one(reader)
6494
6494
  ensure
6495
6495
  reader.close
6496
6496
  io.close
@@ -6581,7 +6581,7 @@ module OvirtSDK4
6581
6581
  begin
6582
6582
  io = StringIO.new(response.body)
6583
6583
  reader = XmlReader.new(:io => io)
6584
- return FilterReader.read_one(reader, @connection)
6584
+ return FilterReader.read_one(reader)
6585
6585
  ensure
6586
6586
  reader.close
6587
6587
  io.close
@@ -6613,7 +6613,7 @@ module OvirtSDK4
6613
6613
  begin
6614
6614
  io = StringIO.new(response.body)
6615
6615
  reader = XmlReader.new(:io => io)
6616
- return FilterReader.read_many(reader, @connection)
6616
+ return FilterReader.read_many(reader)
6617
6617
  ensure
6618
6618
  reader.close
6619
6619
  io.close
@@ -6736,7 +6736,7 @@ module OvirtSDK4
6736
6736
  begin
6737
6737
  io = StringIO.new(response.body)
6738
6738
  reader = XmlReader.new(:io => io)
6739
- return GlusterBrickReader.read_many(reader, @connection)
6739
+ return GlusterBrickReader.read_many(reader)
6740
6740
  ensure
6741
6741
  reader.close
6742
6742
  io.close
@@ -6762,7 +6762,7 @@ module OvirtSDK4
6762
6762
  begin
6763
6763
  io = StringIO.new(response.body)
6764
6764
  reader = XmlReader.new(:io => io)
6765
- return GlusterBrickReader.read_many(reader, @connection)
6765
+ return GlusterBrickReader.read_many(reader)
6766
6766
  ensure
6767
6767
  reader.close
6768
6768
  io.close
@@ -6968,7 +6968,7 @@ module OvirtSDK4
6968
6968
  begin
6969
6969
  io = StringIO.new(response.body)
6970
6970
  reader = XmlReader.new(:io => io)
6971
- return GlusterHookReader.read_one(reader, @connection)
6971
+ return GlusterHookReader.read_one(reader)
6972
6972
  ensure
6973
6973
  reader.close
6974
6974
  io.close
@@ -7080,7 +7080,7 @@ module OvirtSDK4
7080
7080
  begin
7081
7081
  io = StringIO.new(response.body)
7082
7082
  reader = XmlReader.new(:io => io)
7083
- return GlusterHookReader.read_many(reader, @connection)
7083
+ return GlusterHookReader.read_many(reader)
7084
7084
  ensure
7085
7085
  reader.close
7086
7086
  io.close
@@ -7169,7 +7169,7 @@ module OvirtSDK4
7169
7169
  begin
7170
7170
  io = StringIO.new(response.body)
7171
7171
  reader = XmlReader.new(:io => io)
7172
- return GlusterVolumeReader.read_one(reader, @connection)
7172
+ return GlusterVolumeReader.read_one(reader)
7173
7173
  ensure
7174
7174
  reader.close
7175
7175
  io.close
@@ -7206,7 +7206,7 @@ module OvirtSDK4
7206
7206
  begin
7207
7207
  io = StringIO.new(response.body)
7208
7208
  reader = XmlReader.new(:io => io)
7209
- return GlusterVolumeReader.read_many(reader, @connection)
7209
+ return GlusterVolumeReader.read_many(reader)
7210
7210
  ensure
7211
7211
  reader.close
7212
7212
  io.close
@@ -7279,7 +7279,7 @@ module OvirtSDK4
7279
7279
  begin
7280
7280
  io = StringIO.new(response.body)
7281
7281
  reader = XmlReader.new(:io => io)
7282
- return GraphicsConsoleReader.read_one(reader, @connection)
7282
+ return GraphicsConsoleReader.read_one(reader)
7283
7283
  ensure
7284
7284
  reader.close
7285
7285
  io.close
@@ -7370,7 +7370,7 @@ module OvirtSDK4
7370
7370
  begin
7371
7371
  io = StringIO.new(response.body)
7372
7372
  reader = XmlReader.new(:io => io)
7373
- return GraphicsConsoleReader.read_one(reader, @connection)
7373
+ return GraphicsConsoleReader.read_one(reader)
7374
7374
  ensure
7375
7375
  reader.close
7376
7376
  io.close
@@ -7396,7 +7396,7 @@ module OvirtSDK4
7396
7396
  begin
7397
7397
  io = StringIO.new(response.body)
7398
7398
  reader = XmlReader.new(:io => io)
7399
- return GraphicsConsoleReader.read_many(reader, @connection)
7399
+ return GraphicsConsoleReader.read_many(reader)
7400
7400
  ensure
7401
7401
  reader.close
7402
7402
  io.close
@@ -7469,7 +7469,7 @@ module OvirtSDK4
7469
7469
  begin
7470
7470
  io = StringIO.new(response.body)
7471
7471
  reader = XmlReader.new(:io => io)
7472
- return GroupReader.read_one(reader, @connection)
7472
+ return GroupReader.read_one(reader)
7473
7473
  ensure
7474
7474
  reader.close
7475
7475
  io.close
@@ -7602,7 +7602,7 @@ module OvirtSDK4
7602
7602
  begin
7603
7603
  io = StringIO.new(response.body)
7604
7604
  reader = XmlReader.new(:io => io)
7605
- return GroupReader.read_one(reader, @connection)
7605
+ return GroupReader.read_one(reader)
7606
7606
  ensure
7607
7607
  reader.close
7608
7608
  io.close
@@ -7639,7 +7639,7 @@ module OvirtSDK4
7639
7639
  begin
7640
7640
  io = StringIO.new(response.body)
7641
7641
  reader = XmlReader.new(:io => io)
7642
- return GroupReader.read_many(reader, @connection)
7642
+ return GroupReader.read_many(reader)
7643
7643
  ensure
7644
7644
  reader.close
7645
7645
  io.close
@@ -7712,7 +7712,7 @@ module OvirtSDK4
7712
7712
  begin
7713
7713
  io = StringIO.new(response.body)
7714
7714
  reader = XmlReader.new(:io => io)
7715
- return HostDeviceReader.read_one(reader, @connection)
7715
+ return HostDeviceReader.read_one(reader)
7716
7716
  ensure
7717
7717
  reader.close
7718
7718
  io.close
@@ -7777,7 +7777,7 @@ module OvirtSDK4
7777
7777
  begin
7778
7778
  io = StringIO.new(response.body)
7779
7779
  reader = XmlReader.new(:io => io)
7780
- return HostDeviceReader.read_many(reader, @connection)
7780
+ return HostDeviceReader.read_many(reader)
7781
7781
  ensure
7782
7782
  reader.close
7783
7783
  io.close
@@ -7850,7 +7850,7 @@ module OvirtSDK4
7850
7850
  begin
7851
7851
  io = StringIO.new(response.body)
7852
7852
  reader = XmlReader.new(:io => io)
7853
- return HookReader.read_one(reader, @connection)
7853
+ return HookReader.read_one(reader)
7854
7854
  ensure
7855
7855
  reader.close
7856
7856
  io.close
@@ -7915,7 +7915,7 @@ module OvirtSDK4
7915
7915
  begin
7916
7916
  io = StringIO.new(response.body)
7917
7917
  reader = XmlReader.new(:io => io)
7918
- return HookReader.read_many(reader, @connection)
7918
+ return HookReader.read_many(reader)
7919
7919
  ensure
7920
7920
  reader.close
7921
7921
  io.close
@@ -7994,7 +7994,7 @@ module OvirtSDK4
7994
7994
  begin
7995
7995
  io = StringIO.new(response.body)
7996
7996
  reader = XmlReader.new(:io => io)
7997
- return HostNicReader.read_many(reader, @connection)
7997
+ return HostNicReader.read_many(reader)
7998
7998
  ensure
7999
7999
  reader.close
8000
8000
  io.close
@@ -8073,7 +8073,7 @@ module OvirtSDK4
8073
8073
  begin
8074
8074
  io = StringIO.new(response.body)
8075
8075
  reader = XmlReader.new(:io => io)
8076
- return NumaNodeReader.read_many(reader, @connection)
8076
+ return NumaNodeReader.read_many(reader)
8077
8077
  ensure
8078
8078
  reader.close
8079
8079
  io.close
@@ -8146,7 +8146,7 @@ module OvirtSDK4
8146
8146
  begin
8147
8147
  io = StringIO.new(response.body)
8148
8148
  reader = XmlReader.new(:io => io)
8149
- return HostStorageReader.read_many(reader, @connection)
8149
+ return HostStorageReader.read_many(reader)
8150
8150
  ensure
8151
8151
  reader.close
8152
8152
  io.close
@@ -8235,7 +8235,7 @@ module OvirtSDK4
8235
8235
  begin
8236
8236
  io = StringIO.new(response.body)
8237
8237
  reader = XmlReader.new(:io => io)
8238
- return HostReader.read_one(reader, @connection)
8238
+ return HostReader.read_one(reader)
8239
8239
  ensure
8240
8240
  reader.close
8241
8241
  io.close
@@ -8278,7 +8278,7 @@ module OvirtSDK4
8278
8278
  begin
8279
8279
  io = StringIO.new(response.body)
8280
8280
  reader = XmlReader.new(:io => io)
8281
- return HostReader.read_many(reader, @connection)
8281
+ return HostReader.read_many(reader)
8282
8282
  ensure
8283
8283
  reader.close
8284
8284
  io.close
@@ -8351,7 +8351,7 @@ module OvirtSDK4
8351
8351
  begin
8352
8352
  io = StringIO.new(response.body)
8353
8353
  reader = XmlReader.new(:io => io)
8354
- return IconReader.read_one(reader, @connection)
8354
+ return IconReader.read_one(reader)
8355
8355
  ensure
8356
8356
  reader.close
8357
8357
  io.close
@@ -8416,7 +8416,7 @@ module OvirtSDK4
8416
8416
  begin
8417
8417
  io = StringIO.new(response.body)
8418
8418
  reader = XmlReader.new(:io => io)
8419
- return IconReader.read_many(reader, @connection)
8419
+ return IconReader.read_many(reader)
8420
8420
  ensure
8421
8421
  reader.close
8422
8422
  io.close
@@ -8489,7 +8489,7 @@ module OvirtSDK4
8489
8489
  begin
8490
8490
  io = StringIO.new(response.body)
8491
8491
  reader = XmlReader.new(:io => io)
8492
- return ImageReader.read_one(reader, @connection)
8492
+ return ImageReader.read_one(reader)
8493
8493
  ensure
8494
8494
  reader.close
8495
8495
  io.close
@@ -8587,7 +8587,7 @@ module OvirtSDK4
8587
8587
  begin
8588
8588
  io = StringIO.new(response.body)
8589
8589
  reader = XmlReader.new(:io => io)
8590
- return ImageReader.read_many(reader, @connection)
8590
+ return ImageReader.read_many(reader)
8591
8591
  ensure
8592
8592
  reader.close
8593
8593
  io.close
@@ -8660,7 +8660,7 @@ module OvirtSDK4
8660
8660
  begin
8661
8661
  io = StringIO.new(response.body)
8662
8662
  reader = XmlReader.new(:io => io)
8663
- return InstanceTypeReader.read_one(reader, @connection)
8663
+ return InstanceTypeReader.read_one(reader)
8664
8664
  ensure
8665
8665
  reader.close
8666
8666
  io.close
@@ -8706,7 +8706,7 @@ module OvirtSDK4
8706
8706
  begin
8707
8707
  io = StringIO.new(response.body)
8708
8708
  reader = XmlReader.new(:io => io)
8709
- return InstanceTypeReader.read_one(reader, @connection)
8709
+ return InstanceTypeReader.read_one(reader)
8710
8710
  ensure
8711
8711
  reader.close
8712
8712
  io.close
@@ -8808,7 +8808,7 @@ module OvirtSDK4
8808
8808
  begin
8809
8809
  io = StringIO.new(response.body)
8810
8810
  reader = XmlReader.new(:io => io)
8811
- return NicReader.read_one(reader, @connection)
8811
+ return NicReader.read_one(reader)
8812
8812
  ensure
8813
8813
  reader.close
8814
8814
  io.close
@@ -8854,7 +8854,7 @@ module OvirtSDK4
8854
8854
  begin
8855
8855
  io = StringIO.new(response.body)
8856
8856
  reader = XmlReader.new(:io => io)
8857
- return NicReader.read_one(reader, @connection)
8857
+ return NicReader.read_one(reader)
8858
8858
  ensure
8859
8859
  reader.close
8860
8860
  io.close
@@ -8930,7 +8930,7 @@ module OvirtSDK4
8930
8930
  begin
8931
8931
  io = StringIO.new(response.body)
8932
8932
  reader = XmlReader.new(:io => io)
8933
- return NicReader.read_one(reader, @connection)
8933
+ return NicReader.read_one(reader)
8934
8934
  ensure
8935
8935
  reader.close
8936
8936
  io.close
@@ -8956,7 +8956,7 @@ module OvirtSDK4
8956
8956
  begin
8957
8957
  io = StringIO.new(response.body)
8958
8958
  reader = XmlReader.new(:io => io)
8959
- return NicReader.read_many(reader, @connection)
8959
+ return NicReader.read_many(reader)
8960
8960
  ensure
8961
8961
  reader.close
8962
8962
  io.close
@@ -9029,7 +9029,7 @@ module OvirtSDK4
9029
9029
  begin
9030
9030
  io = StringIO.new(response.body)
9031
9031
  reader = XmlReader.new(:io => io)
9032
- return WatchdogReader.read_one(reader, @connection)
9032
+ return WatchdogReader.read_one(reader)
9033
9033
  ensure
9034
9034
  reader.close
9035
9035
  io.close
@@ -9075,7 +9075,7 @@ module OvirtSDK4
9075
9075
  begin
9076
9076
  io = StringIO.new(response.body)
9077
9077
  reader = XmlReader.new(:io => io)
9078
- return WatchdogReader.read_one(reader, @connection)
9078
+ return WatchdogReader.read_one(reader)
9079
9079
  ensure
9080
9080
  reader.close
9081
9081
  io.close
@@ -9151,7 +9151,7 @@ module OvirtSDK4
9151
9151
  begin
9152
9152
  io = StringIO.new(response.body)
9153
9153
  reader = XmlReader.new(:io => io)
9154
- return WatchdogReader.read_one(reader, @connection)
9154
+ return WatchdogReader.read_one(reader)
9155
9155
  ensure
9156
9156
  reader.close
9157
9157
  io.close
@@ -9177,7 +9177,7 @@ module OvirtSDK4
9177
9177
  begin
9178
9178
  io = StringIO.new(response.body)
9179
9179
  reader = XmlReader.new(:io => io)
9180
- return WatchdogReader.read_many(reader, @connection)
9180
+ return WatchdogReader.read_many(reader)
9181
9181
  ensure
9182
9182
  reader.close
9183
9183
  io.close
@@ -9266,7 +9266,7 @@ module OvirtSDK4
9266
9266
  begin
9267
9267
  io = StringIO.new(response.body)
9268
9268
  reader = XmlReader.new(:io => io)
9269
- return InstanceTypeReader.read_one(reader, @connection)
9269
+ return InstanceTypeReader.read_one(reader)
9270
9270
  ensure
9271
9271
  reader.close
9272
9272
  io.close
@@ -9292,7 +9292,7 @@ module OvirtSDK4
9292
9292
  begin
9293
9293
  io = StringIO.new(response.body)
9294
9294
  reader = XmlReader.new(:io => io)
9295
- return InstanceTypeReader.read_many(reader, @connection)
9295
+ return InstanceTypeReader.read_many(reader)
9296
9296
  ensure
9297
9297
  reader.close
9298
9298
  io.close
@@ -9365,7 +9365,7 @@ module OvirtSDK4
9365
9365
  begin
9366
9366
  io = StringIO.new(response.body)
9367
9367
  reader = XmlReader.new(:io => io)
9368
- return IscsiBondReader.read_one(reader, @connection)
9368
+ return IscsiBondReader.read_one(reader)
9369
9369
  ensure
9370
9370
  reader.close
9371
9371
  io.close
@@ -9411,7 +9411,7 @@ module OvirtSDK4
9411
9411
  begin
9412
9412
  io = StringIO.new(response.body)
9413
9413
  reader = XmlReader.new(:io => io)
9414
- return IscsiBondReader.read_one(reader, @connection)
9414
+ return IscsiBondReader.read_one(reader)
9415
9415
  ensure
9416
9416
  reader.close
9417
9417
  io.close
@@ -9515,7 +9515,7 @@ module OvirtSDK4
9515
9515
  begin
9516
9516
  io = StringIO.new(response.body)
9517
9517
  reader = XmlReader.new(:io => io)
9518
- return IscsiBondReader.read_one(reader, @connection)
9518
+ return IscsiBondReader.read_one(reader)
9519
9519
  ensure
9520
9520
  reader.close
9521
9521
  io.close
@@ -9541,7 +9541,7 @@ module OvirtSDK4
9541
9541
  begin
9542
9542
  io = StringIO.new(response.body)
9543
9543
  reader = XmlReader.new(:io => io)
9544
- return IscsiBondReader.read_many(reader, @connection)
9544
+ return IscsiBondReader.read_many(reader)
9545
9545
  ensure
9546
9546
  reader.close
9547
9547
  io.close
@@ -9670,7 +9670,7 @@ module OvirtSDK4
9670
9670
  begin
9671
9671
  io = StringIO.new(response.body)
9672
9672
  reader = XmlReader.new(:io => io)
9673
- return JobReader.read_one(reader, @connection)
9673
+ return JobReader.read_one(reader)
9674
9674
  ensure
9675
9675
  reader.close
9676
9676
  io.close
@@ -9759,7 +9759,7 @@ module OvirtSDK4
9759
9759
  begin
9760
9760
  io = StringIO.new(response.body)
9761
9761
  reader = XmlReader.new(:io => io)
9762
- return JobReader.read_one(reader, @connection)
9762
+ return JobReader.read_one(reader)
9763
9763
  ensure
9764
9764
  reader.close
9765
9765
  io.close
@@ -9785,7 +9785,7 @@ module OvirtSDK4
9785
9785
  begin
9786
9786
  io = StringIO.new(response.body)
9787
9787
  reader = XmlReader.new(:io => io)
9788
- return JobReader.read_many(reader, @connection)
9788
+ return JobReader.read_many(reader)
9789
9789
  ensure
9790
9790
  reader.close
9791
9791
  io.close
@@ -9864,7 +9864,7 @@ module OvirtSDK4
9864
9864
  begin
9865
9865
  io = StringIO.new(response.body)
9866
9866
  reader = XmlReader.new(:io => io)
9867
- return KatelloErratumReader.read_many(reader, @connection)
9867
+ return KatelloErratumReader.read_many(reader)
9868
9868
  ensure
9869
9869
  reader.close
9870
9870
  io.close
@@ -9937,7 +9937,7 @@ module OvirtSDK4
9937
9937
  begin
9938
9938
  io = StringIO.new(response.body)
9939
9939
  reader = XmlReader.new(:io => io)
9940
- return KatelloErratumReader.read_one(reader, @connection)
9940
+ return KatelloErratumReader.read_one(reader)
9941
9941
  ensure
9942
9942
  reader.close
9943
9943
  io.close
@@ -9996,7 +9996,7 @@ module OvirtSDK4
9996
9996
  begin
9997
9997
  io = StringIO.new(response.body)
9998
9998
  reader = XmlReader.new(:io => io)
9999
- return LabelReader.read_one(reader, @connection)
9999
+ return LabelReader.read_one(reader)
10000
10000
  ensure
10001
10001
  reader.close
10002
10002
  io.close
@@ -10087,7 +10087,7 @@ module OvirtSDK4
10087
10087
  begin
10088
10088
  io = StringIO.new(response.body)
10089
10089
  reader = XmlReader.new(:io => io)
10090
- return LabelReader.read_one(reader, @connection)
10090
+ return LabelReader.read_one(reader)
10091
10091
  ensure
10092
10092
  reader.close
10093
10093
  io.close
@@ -10113,7 +10113,7 @@ module OvirtSDK4
10113
10113
  begin
10114
10114
  io = StringIO.new(response.body)
10115
10115
  reader = XmlReader.new(:io => io)
10116
- return LabelReader.read_many(reader, @connection)
10116
+ return LabelReader.read_many(reader)
10117
10117
  ensure
10118
10118
  reader.close
10119
10119
  io.close
@@ -10186,7 +10186,7 @@ module OvirtSDK4
10186
10186
  begin
10187
10187
  io = StringIO.new(response.body)
10188
10188
  reader = XmlReader.new(:io => io)
10189
- return MacPoolReader.read_one(reader, @connection)
10189
+ return MacPoolReader.read_one(reader)
10190
10190
  ensure
10191
10191
  reader.close
10192
10192
  io.close
@@ -10232,7 +10232,7 @@ module OvirtSDK4
10232
10232
  begin
10233
10233
  io = StringIO.new(response.body)
10234
10234
  reader = XmlReader.new(:io => io)
10235
- return MacPoolReader.read_one(reader, @connection)
10235
+ return MacPoolReader.read_one(reader)
10236
10236
  ensure
10237
10237
  reader.close
10238
10238
  io.close
@@ -10308,7 +10308,7 @@ module OvirtSDK4
10308
10308
  begin
10309
10309
  io = StringIO.new(response.body)
10310
10310
  reader = XmlReader.new(:io => io)
10311
- return MacPoolReader.read_one(reader, @connection)
10311
+ return MacPoolReader.read_one(reader)
10312
10312
  ensure
10313
10313
  reader.close
10314
10314
  io.close
@@ -10334,7 +10334,7 @@ module OvirtSDK4
10334
10334
  begin
10335
10335
  io = StringIO.new(response.body)
10336
10336
  reader = XmlReader.new(:io => io)
10337
- return MacPoolReader.read_many(reader, @connection)
10337
+ return MacPoolReader.read_many(reader)
10338
10338
  ensure
10339
10339
  reader.close
10340
10340
  io.close
@@ -10526,7 +10526,7 @@ module OvirtSDK4
10526
10526
  begin
10527
10527
  io = StringIO.new(response.body)
10528
10528
  reader = XmlReader.new(:io => io)
10529
- return NetworkReader.read_one(reader, @connection)
10529
+ return NetworkReader.read_one(reader)
10530
10530
  ensure
10531
10531
  reader.close
10532
10532
  io.close
@@ -10572,7 +10572,7 @@ module OvirtSDK4
10572
10572
  begin
10573
10573
  io = StringIO.new(response.body)
10574
10574
  reader = XmlReader.new(:io => io)
10575
- return NetworkReader.read_one(reader, @connection)
10575
+ return NetworkReader.read_one(reader)
10576
10576
  ensure
10577
10577
  reader.close
10578
10578
  io.close
@@ -10674,7 +10674,7 @@ module OvirtSDK4
10674
10674
  begin
10675
10675
  io = StringIO.new(response.body)
10676
10676
  reader = XmlReader.new(:io => io)
10677
- return NetworkAttachmentReader.read_one(reader, @connection)
10677
+ return NetworkAttachmentReader.read_one(reader)
10678
10678
  ensure
10679
10679
  reader.close
10680
10680
  io.close
@@ -10720,7 +10720,7 @@ module OvirtSDK4
10720
10720
  begin
10721
10721
  io = StringIO.new(response.body)
10722
10722
  reader = XmlReader.new(:io => io)
10723
- return NetworkAttachmentReader.read_one(reader, @connection)
10723
+ return NetworkAttachmentReader.read_one(reader)
10724
10724
  ensure
10725
10725
  reader.close
10726
10726
  io.close
@@ -10796,7 +10796,7 @@ module OvirtSDK4
10796
10796
  begin
10797
10797
  io = StringIO.new(response.body)
10798
10798
  reader = XmlReader.new(:io => io)
10799
- return NetworkAttachmentReader.read_one(reader, @connection)
10799
+ return NetworkAttachmentReader.read_one(reader)
10800
10800
  ensure
10801
10801
  reader.close
10802
10802
  io.close
@@ -10822,7 +10822,7 @@ module OvirtSDK4
10822
10822
  begin
10823
10823
  io = StringIO.new(response.body)
10824
10824
  reader = XmlReader.new(:io => io)
10825
- return NetworkAttachmentReader.read_many(reader, @connection)
10825
+ return NetworkAttachmentReader.read_many(reader)
10826
10826
  ensure
10827
10827
  reader.close
10828
10828
  io.close
@@ -10895,7 +10895,7 @@ module OvirtSDK4
10895
10895
  begin
10896
10896
  io = StringIO.new(response.body)
10897
10897
  reader = XmlReader.new(:io => io)
10898
- return NetworkFilterReader.read_one(reader, @connection)
10898
+ return NetworkFilterReader.read_one(reader)
10899
10899
  ensure
10900
10900
  reader.close
10901
10901
  io.close
@@ -10954,7 +10954,7 @@ module OvirtSDK4
10954
10954
  begin
10955
10955
  io = StringIO.new(response.body)
10956
10956
  reader = XmlReader.new(:io => io)
10957
- return NetworkFilterReader.read_many(reader, @connection)
10957
+ return NetworkFilterReader.read_many(reader)
10958
10958
  ensure
10959
10959
  reader.close
10960
10960
  io.close
@@ -11043,7 +11043,7 @@ module OvirtSDK4
11043
11043
  begin
11044
11044
  io = StringIO.new(response.body)
11045
11045
  reader = XmlReader.new(:io => io)
11046
- return NetworkReader.read_one(reader, @connection)
11046
+ return NetworkReader.read_one(reader)
11047
11047
  ensure
11048
11048
  reader.close
11049
11049
  io.close
@@ -11080,7 +11080,7 @@ module OvirtSDK4
11080
11080
  begin
11081
11081
  io = StringIO.new(response.body)
11082
11082
  reader = XmlReader.new(:io => io)
11083
- return NetworkReader.read_many(reader, @connection)
11083
+ return NetworkReader.read_many(reader)
11084
11084
  ensure
11085
11085
  reader.close
11086
11086
  io.close
@@ -11153,7 +11153,7 @@ module OvirtSDK4
11153
11153
  begin
11154
11154
  io = StringIO.new(response.body)
11155
11155
  reader = XmlReader.new(:io => io)
11156
- return OpenStackImageReader.read_one(reader, @connection)
11156
+ return OpenStackImageReader.read_one(reader)
11157
11157
  ensure
11158
11158
  reader.close
11159
11159
  io.close
@@ -11247,7 +11247,7 @@ module OvirtSDK4
11247
11247
  begin
11248
11248
  io = StringIO.new(response.body)
11249
11249
  reader = XmlReader.new(:io => io)
11250
- return OpenStackImageProviderReader.read_one(reader, @connection)
11250
+ return OpenStackImageProviderReader.read_one(reader)
11251
11251
  ensure
11252
11252
  reader.close
11253
11253
  io.close
@@ -11347,7 +11347,7 @@ module OvirtSDK4
11347
11347
  begin
11348
11348
  io = StringIO.new(response.body)
11349
11349
  reader = XmlReader.new(:io => io)
11350
- return OpenStackImageProviderReader.read_one(reader, @connection)
11350
+ return OpenStackImageProviderReader.read_one(reader)
11351
11351
  ensure
11352
11352
  reader.close
11353
11353
  io.close
@@ -11451,7 +11451,7 @@ module OvirtSDK4
11451
11451
  begin
11452
11452
  io = StringIO.new(response.body)
11453
11453
  reader = XmlReader.new(:io => io)
11454
- return OpenStackImageProviderReader.read_one(reader, @connection)
11454
+ return OpenStackImageProviderReader.read_one(reader)
11455
11455
  ensure
11456
11456
  reader.close
11457
11457
  io.close
@@ -11477,7 +11477,7 @@ module OvirtSDK4
11477
11477
  begin
11478
11478
  io = StringIO.new(response.body)
11479
11479
  reader = XmlReader.new(:io => io)
11480
- return OpenStackImageProviderReader.read_many(reader, @connection)
11480
+ return OpenStackImageProviderReader.read_many(reader)
11481
11481
  ensure
11482
11482
  reader.close
11483
11483
  io.close
@@ -11556,7 +11556,7 @@ module OvirtSDK4
11556
11556
  begin
11557
11557
  io = StringIO.new(response.body)
11558
11558
  reader = XmlReader.new(:io => io)
11559
- return OpenStackImageReader.read_many(reader, @connection)
11559
+ return OpenStackImageReader.read_many(reader)
11560
11560
  ensure
11561
11561
  reader.close
11562
11562
  io.close
@@ -11629,7 +11629,7 @@ module OvirtSDK4
11629
11629
  begin
11630
11630
  io = StringIO.new(response.body)
11631
11631
  reader = XmlReader.new(:io => io)
11632
- return OpenStackNetworkReader.read_one(reader, @connection)
11632
+ return OpenStackNetworkReader.read_one(reader)
11633
11633
  ensure
11634
11634
  reader.close
11635
11635
  io.close
@@ -11702,7 +11702,7 @@ module OvirtSDK4
11702
11702
  begin
11703
11703
  io = StringIO.new(response.body)
11704
11704
  reader = XmlReader.new(:io => io)
11705
- return OpenStackNetworkProviderReader.read_one(reader, @connection)
11705
+ return OpenStackNetworkProviderReader.read_one(reader)
11706
11706
  ensure
11707
11707
  reader.close
11708
11708
  io.close
@@ -11802,7 +11802,7 @@ module OvirtSDK4
11802
11802
  begin
11803
11803
  io = StringIO.new(response.body)
11804
11804
  reader = XmlReader.new(:io => io)
11805
- return OpenStackNetworkProviderReader.read_one(reader, @connection)
11805
+ return OpenStackNetworkProviderReader.read_one(reader)
11806
11806
  ensure
11807
11807
  reader.close
11808
11808
  io.close
@@ -11906,7 +11906,7 @@ module OvirtSDK4
11906
11906
  begin
11907
11907
  io = StringIO.new(response.body)
11908
11908
  reader = XmlReader.new(:io => io)
11909
- return OpenStackNetworkProviderReader.read_one(reader, @connection)
11909
+ return OpenStackNetworkProviderReader.read_one(reader)
11910
11910
  ensure
11911
11911
  reader.close
11912
11912
  io.close
@@ -11932,7 +11932,7 @@ module OvirtSDK4
11932
11932
  begin
11933
11933
  io = StringIO.new(response.body)
11934
11934
  reader = XmlReader.new(:io => io)
11935
- return OpenStackNetworkProviderReader.read_many(reader, @connection)
11935
+ return OpenStackNetworkProviderReader.read_many(reader)
11936
11936
  ensure
11937
11937
  reader.close
11938
11938
  io.close
@@ -12011,7 +12011,7 @@ module OvirtSDK4
12011
12011
  begin
12012
12012
  io = StringIO.new(response.body)
12013
12013
  reader = XmlReader.new(:io => io)
12014
- return OpenStackNetworkReader.read_many(reader, @connection)
12014
+ return OpenStackNetworkReader.read_many(reader)
12015
12015
  ensure
12016
12016
  reader.close
12017
12017
  io.close
@@ -12084,7 +12084,7 @@ module OvirtSDK4
12084
12084
  begin
12085
12085
  io = StringIO.new(response.body)
12086
12086
  reader = XmlReader.new(:io => io)
12087
- return OpenStackSubnetReader.read_one(reader, @connection)
12087
+ return OpenStackSubnetReader.read_one(reader)
12088
12088
  ensure
12089
12089
  reader.close
12090
12090
  io.close
@@ -12175,7 +12175,7 @@ module OvirtSDK4
12175
12175
  begin
12176
12176
  io = StringIO.new(response.body)
12177
12177
  reader = XmlReader.new(:io => io)
12178
- return OpenStackSubnetReader.read_one(reader, @connection)
12178
+ return OpenStackSubnetReader.read_one(reader)
12179
12179
  ensure
12180
12180
  reader.close
12181
12181
  io.close
@@ -12201,7 +12201,7 @@ module OvirtSDK4
12201
12201
  begin
12202
12202
  io = StringIO.new(response.body)
12203
12203
  reader = XmlReader.new(:io => io)
12204
- return OpenStackSubnetReader.read_many(reader, @connection)
12204
+ return OpenStackSubnetReader.read_many(reader)
12205
12205
  ensure
12206
12206
  reader.close
12207
12207
  io.close
@@ -12274,7 +12274,7 @@ module OvirtSDK4
12274
12274
  begin
12275
12275
  io = StringIO.new(response.body)
12276
12276
  reader = XmlReader.new(:io => io)
12277
- return OpenstackVolumeAuthenticationKeyReader.read_one(reader, @connection)
12277
+ return OpenstackVolumeAuthenticationKeyReader.read_one(reader)
12278
12278
  ensure
12279
12279
  reader.close
12280
12280
  io.close
@@ -12320,7 +12320,7 @@ module OvirtSDK4
12320
12320
  begin
12321
12321
  io = StringIO.new(response.body)
12322
12322
  reader = XmlReader.new(:io => io)
12323
- return OpenstackVolumeAuthenticationKeyReader.read_one(reader, @connection)
12323
+ return OpenstackVolumeAuthenticationKeyReader.read_one(reader)
12324
12324
  ensure
12325
12325
  reader.close
12326
12326
  io.close
@@ -12396,7 +12396,7 @@ module OvirtSDK4
12396
12396
  begin
12397
12397
  io = StringIO.new(response.body)
12398
12398
  reader = XmlReader.new(:io => io)
12399
- return OpenstackVolumeAuthenticationKeyReader.read_one(reader, @connection)
12399
+ return OpenstackVolumeAuthenticationKeyReader.read_one(reader)
12400
12400
  ensure
12401
12401
  reader.close
12402
12402
  io.close
@@ -12422,7 +12422,7 @@ module OvirtSDK4
12422
12422
  begin
12423
12423
  io = StringIO.new(response.body)
12424
12424
  reader = XmlReader.new(:io => io)
12425
- return OpenstackVolumeAuthenticationKeyReader.read_many(reader, @connection)
12425
+ return OpenstackVolumeAuthenticationKeyReader.read_many(reader)
12426
12426
  ensure
12427
12427
  reader.close
12428
12428
  io.close
@@ -12495,7 +12495,7 @@ module OvirtSDK4
12495
12495
  begin
12496
12496
  io = StringIO.new(response.body)
12497
12497
  reader = XmlReader.new(:io => io)
12498
- return OpenStackVolumeProviderReader.read_one(reader, @connection)
12498
+ return OpenStackVolumeProviderReader.read_one(reader)
12499
12499
  ensure
12500
12500
  reader.close
12501
12501
  io.close
@@ -12595,7 +12595,7 @@ module OvirtSDK4
12595
12595
  begin
12596
12596
  io = StringIO.new(response.body)
12597
12597
  reader = XmlReader.new(:io => io)
12598
- return OpenStackVolumeProviderReader.read_one(reader, @connection)
12598
+ return OpenStackVolumeProviderReader.read_one(reader)
12599
12599
  ensure
12600
12600
  reader.close
12601
12601
  io.close
@@ -12713,7 +12713,7 @@ module OvirtSDK4
12713
12713
  begin
12714
12714
  io = StringIO.new(response.body)
12715
12715
  reader = XmlReader.new(:io => io)
12716
- return OpenStackVolumeProviderReader.read_one(reader, @connection)
12716
+ return OpenStackVolumeProviderReader.read_one(reader)
12717
12717
  ensure
12718
12718
  reader.close
12719
12719
  io.close
@@ -12739,7 +12739,7 @@ module OvirtSDK4
12739
12739
  begin
12740
12740
  io = StringIO.new(response.body)
12741
12741
  reader = XmlReader.new(:io => io)
12742
- return OpenStackVolumeProviderReader.read_many(reader, @connection)
12742
+ return OpenStackVolumeProviderReader.read_many(reader)
12743
12743
  ensure
12744
12744
  reader.close
12745
12745
  io.close
@@ -12812,7 +12812,7 @@ module OvirtSDK4
12812
12812
  begin
12813
12813
  io = StringIO.new(response.body)
12814
12814
  reader = XmlReader.new(:io => io)
12815
- return OpenStackVolumeTypeReader.read_one(reader, @connection)
12815
+ return OpenStackVolumeTypeReader.read_one(reader)
12816
12816
  ensure
12817
12817
  reader.close
12818
12818
  io.close
@@ -12877,7 +12877,7 @@ module OvirtSDK4
12877
12877
  begin
12878
12878
  io = StringIO.new(response.body)
12879
12879
  reader = XmlReader.new(:io => io)
12880
- return OpenStackVolumeTypeReader.read_many(reader, @connection)
12880
+ return OpenStackVolumeTypeReader.read_many(reader)
12881
12881
  ensure
12882
12882
  reader.close
12883
12883
  io.close
@@ -12950,7 +12950,7 @@ module OvirtSDK4
12950
12950
  begin
12951
12951
  io = StringIO.new(response.body)
12952
12952
  reader = XmlReader.new(:io => io)
12953
- return OperatingSystemInfoReader.read_one(reader, @connection)
12953
+ return OperatingSystemInfoReader.read_one(reader)
12954
12954
  ensure
12955
12955
  reader.close
12956
12956
  io.close
@@ -13015,7 +13015,7 @@ module OvirtSDK4
13015
13015
  begin
13016
13016
  io = StringIO.new(response.body)
13017
13017
  reader = XmlReader.new(:io => io)
13018
- return OperatingSystemInfoReader.read_many(reader, @connection)
13018
+ return OperatingSystemInfoReader.read_many(reader)
13019
13019
  ensure
13020
13020
  reader.close
13021
13021
  io.close
@@ -13088,7 +13088,7 @@ module OvirtSDK4
13088
13088
  begin
13089
13089
  io = StringIO.new(response.body)
13090
13090
  reader = XmlReader.new(:io => io)
13091
- return PermissionReader.read_one(reader, @connection)
13091
+ return PermissionReader.read_one(reader)
13092
13092
  ensure
13093
13093
  reader.close
13094
13094
  io.close
@@ -13163,7 +13163,7 @@ module OvirtSDK4
13163
13163
  begin
13164
13164
  io = StringIO.new(response.body)
13165
13165
  reader = XmlReader.new(:io => io)
13166
- return PermitReader.read_one(reader, @connection)
13166
+ return PermitReader.read_one(reader)
13167
13167
  ensure
13168
13168
  reader.close
13169
13169
  io.close
@@ -13254,7 +13254,7 @@ module OvirtSDK4
13254
13254
  begin
13255
13255
  io = StringIO.new(response.body)
13256
13256
  reader = XmlReader.new(:io => io)
13257
- return PermitReader.read_one(reader, @connection)
13257
+ return PermitReader.read_one(reader)
13258
13258
  ensure
13259
13259
  reader.close
13260
13260
  io.close
@@ -13280,7 +13280,7 @@ module OvirtSDK4
13280
13280
  begin
13281
13281
  io = StringIO.new(response.body)
13282
13282
  reader = XmlReader.new(:io => io)
13283
- return PermitReader.read_many(reader, @connection)
13283
+ return PermitReader.read_many(reader)
13284
13284
  ensure
13285
13285
  reader.close
13286
13286
  io.close
@@ -13353,7 +13353,7 @@ module OvirtSDK4
13353
13353
  begin
13354
13354
  io = StringIO.new(response.body)
13355
13355
  reader = XmlReader.new(:io => io)
13356
- return QosReader.read_one(reader, @connection)
13356
+ return QosReader.read_one(reader)
13357
13357
  ensure
13358
13358
  reader.close
13359
13359
  io.close
@@ -13399,7 +13399,7 @@ module OvirtSDK4
13399
13399
  begin
13400
13400
  io = StringIO.new(response.body)
13401
13401
  reader = XmlReader.new(:io => io)
13402
- return QosReader.read_one(reader, @connection)
13402
+ return QosReader.read_one(reader)
13403
13403
  ensure
13404
13404
  reader.close
13405
13405
  io.close
@@ -13475,7 +13475,7 @@ module OvirtSDK4
13475
13475
  begin
13476
13476
  io = StringIO.new(response.body)
13477
13477
  reader = XmlReader.new(:io => io)
13478
- return QosReader.read_one(reader, @connection)
13478
+ return QosReader.read_one(reader)
13479
13479
  ensure
13480
13480
  reader.close
13481
13481
  io.close
@@ -13501,7 +13501,7 @@ module OvirtSDK4
13501
13501
  begin
13502
13502
  io = StringIO.new(response.body)
13503
13503
  reader = XmlReader.new(:io => io)
13504
- return QosReader.read_many(reader, @connection)
13504
+ return QosReader.read_many(reader)
13505
13505
  ensure
13506
13506
  reader.close
13507
13507
  io.close
@@ -13574,7 +13574,7 @@ module OvirtSDK4
13574
13574
  begin
13575
13575
  io = StringIO.new(response.body)
13576
13576
  reader = XmlReader.new(:io => io)
13577
- return QuotaReader.read_one(reader, @connection)
13577
+ return QuotaReader.read_one(reader)
13578
13578
  ensure
13579
13579
  reader.close
13580
13580
  io.close
@@ -13620,7 +13620,7 @@ module OvirtSDK4
13620
13620
  begin
13621
13621
  io = StringIO.new(response.body)
13622
13622
  reader = XmlReader.new(:io => io)
13623
- return QuotaReader.read_one(reader, @connection)
13623
+ return QuotaReader.read_one(reader)
13624
13624
  ensure
13625
13625
  reader.close
13626
13626
  io.close
@@ -13722,7 +13722,7 @@ module OvirtSDK4
13722
13722
  begin
13723
13723
  io = StringIO.new(response.body)
13724
13724
  reader = XmlReader.new(:io => io)
13725
- return QuotaClusterLimitReader.read_one(reader, @connection)
13725
+ return QuotaClusterLimitReader.read_one(reader)
13726
13726
  ensure
13727
13727
  reader.close
13728
13728
  io.close
@@ -13813,7 +13813,7 @@ module OvirtSDK4
13813
13813
  begin
13814
13814
  io = StringIO.new(response.body)
13815
13815
  reader = XmlReader.new(:io => io)
13816
- return QuotaClusterLimitReader.read_one(reader, @connection)
13816
+ return QuotaClusterLimitReader.read_one(reader)
13817
13817
  ensure
13818
13818
  reader.close
13819
13819
  io.close
@@ -13839,7 +13839,7 @@ module OvirtSDK4
13839
13839
  begin
13840
13840
  io = StringIO.new(response.body)
13841
13841
  reader = XmlReader.new(:io => io)
13842
- return QuotaClusterLimitReader.read_many(reader, @connection)
13842
+ return QuotaClusterLimitReader.read_many(reader)
13843
13843
  ensure
13844
13844
  reader.close
13845
13845
  io.close
@@ -13912,7 +13912,7 @@ module OvirtSDK4
13912
13912
  begin
13913
13913
  io = StringIO.new(response.body)
13914
13914
  reader = XmlReader.new(:io => io)
13915
- return QuotaStorageLimitReader.read_one(reader, @connection)
13915
+ return QuotaStorageLimitReader.read_one(reader)
13916
13916
  ensure
13917
13917
  reader.close
13918
13918
  io.close
@@ -14003,7 +14003,7 @@ module OvirtSDK4
14003
14003
  begin
14004
14004
  io = StringIO.new(response.body)
14005
14005
  reader = XmlReader.new(:io => io)
14006
- return QuotaStorageLimitReader.read_one(reader, @connection)
14006
+ return QuotaStorageLimitReader.read_one(reader)
14007
14007
  ensure
14008
14008
  reader.close
14009
14009
  io.close
@@ -14029,7 +14029,7 @@ module OvirtSDK4
14029
14029
  begin
14030
14030
  io = StringIO.new(response.body)
14031
14031
  reader = XmlReader.new(:io => io)
14032
- return QuotaStorageLimitReader.read_many(reader, @connection)
14032
+ return QuotaStorageLimitReader.read_many(reader)
14033
14033
  ensure
14034
14034
  reader.close
14035
14035
  io.close
@@ -14118,7 +14118,7 @@ module OvirtSDK4
14118
14118
  begin
14119
14119
  io = StringIO.new(response.body)
14120
14120
  reader = XmlReader.new(:io => io)
14121
- return QuotaReader.read_one(reader, @connection)
14121
+ return QuotaReader.read_one(reader)
14122
14122
  ensure
14123
14123
  reader.close
14124
14124
  io.close
@@ -14144,7 +14144,7 @@ module OvirtSDK4
14144
14144
  begin
14145
14145
  io = StringIO.new(response.body)
14146
14146
  reader = XmlReader.new(:io => io)
14147
- return QuotaReader.read_many(reader, @connection)
14147
+ return QuotaReader.read_many(reader)
14148
14148
  ensure
14149
14149
  reader.close
14150
14150
  io.close
@@ -14217,7 +14217,7 @@ module OvirtSDK4
14217
14217
  begin
14218
14218
  io = StringIO.new(response.body)
14219
14219
  reader = XmlReader.new(:io => io)
14220
- return RoleReader.read_one(reader, @connection)
14220
+ return RoleReader.read_one(reader)
14221
14221
  ensure
14222
14222
  reader.close
14223
14223
  io.close
@@ -14263,7 +14263,7 @@ module OvirtSDK4
14263
14263
  begin
14264
14264
  io = StringIO.new(response.body)
14265
14265
  reader = XmlReader.new(:io => io)
14266
- return RoleReader.read_one(reader, @connection)
14266
+ return RoleReader.read_one(reader)
14267
14267
  ensure
14268
14268
  reader.close
14269
14269
  io.close
@@ -14353,7 +14353,7 @@ module OvirtSDK4
14353
14353
  begin
14354
14354
  io = StringIO.new(response.body)
14355
14355
  reader = XmlReader.new(:io => io)
14356
- return RoleReader.read_one(reader, @connection)
14356
+ return RoleReader.read_one(reader)
14357
14357
  ensure
14358
14358
  reader.close
14359
14359
  io.close
@@ -14379,7 +14379,7 @@ module OvirtSDK4
14379
14379
  begin
14380
14380
  io = StringIO.new(response.body)
14381
14381
  reader = XmlReader.new(:io => io)
14382
- return RoleReader.read_many(reader, @connection)
14382
+ return RoleReader.read_many(reader)
14383
14383
  ensure
14384
14384
  reader.close
14385
14385
  io.close
@@ -14468,7 +14468,7 @@ module OvirtSDK4
14468
14468
  begin
14469
14469
  io = StringIO.new(response.body)
14470
14470
  reader = XmlReader.new(:io => io)
14471
- return SchedulingPolicyReader.read_one(reader, @connection)
14471
+ return SchedulingPolicyReader.read_one(reader)
14472
14472
  ensure
14473
14473
  reader.close
14474
14474
  io.close
@@ -14500,7 +14500,7 @@ module OvirtSDK4
14500
14500
  begin
14501
14501
  io = StringIO.new(response.body)
14502
14502
  reader = XmlReader.new(:io => io)
14503
- return SchedulingPolicyReader.read_many(reader, @connection)
14503
+ return SchedulingPolicyReader.read_many(reader)
14504
14504
  ensure
14505
14505
  reader.close
14506
14506
  io.close
@@ -14579,7 +14579,7 @@ module OvirtSDK4
14579
14579
  begin
14580
14580
  io = StringIO.new(response.body)
14581
14581
  reader = XmlReader.new(:io => io)
14582
- return SchedulingPolicyReader.read_one(reader, @connection)
14582
+ return SchedulingPolicyReader.read_one(reader)
14583
14583
  ensure
14584
14584
  reader.close
14585
14585
  io.close
@@ -14625,7 +14625,7 @@ module OvirtSDK4
14625
14625
  begin
14626
14626
  io = StringIO.new(response.body)
14627
14627
  reader = XmlReader.new(:io => io)
14628
- return SchedulingPolicyReader.read_one(reader, @connection)
14628
+ return SchedulingPolicyReader.read_one(reader)
14629
14629
  ensure
14630
14630
  reader.close
14631
14631
  io.close
@@ -14733,7 +14733,7 @@ module OvirtSDK4
14733
14733
  begin
14734
14734
  io = StringIO.new(response.body)
14735
14735
  reader = XmlReader.new(:io => io)
14736
- return SchedulingPolicyUnitReader.read_one(reader, @connection)
14736
+ return SchedulingPolicyUnitReader.read_one(reader)
14737
14737
  ensure
14738
14738
  reader.close
14739
14739
  io.close
@@ -14820,7 +14820,7 @@ module OvirtSDK4
14820
14820
  begin
14821
14821
  io = StringIO.new(response.body)
14822
14822
  reader = XmlReader.new(:io => io)
14823
- return SchedulingPolicyUnitReader.read_many(reader, @connection)
14823
+ return SchedulingPolicyUnitReader.read_many(reader)
14824
14824
  ensure
14825
14825
  reader.close
14826
14826
  io.close
@@ -14893,7 +14893,7 @@ module OvirtSDK4
14893
14893
  begin
14894
14894
  io = StringIO.new(response.body)
14895
14895
  reader = XmlReader.new(:io => io)
14896
- return SnapshotReader.read_one(reader, @connection)
14896
+ return SnapshotReader.read_one(reader)
14897
14897
  ensure
14898
14898
  reader.close
14899
14899
  io.close
@@ -15041,7 +15041,7 @@ module OvirtSDK4
15041
15041
  begin
15042
15042
  io = StringIO.new(response.body)
15043
15043
  reader = XmlReader.new(:io => io)
15044
- return CdromReader.read_one(reader, @connection)
15044
+ return CdromReader.read_one(reader)
15045
15045
  ensure
15046
15046
  reader.close
15047
15047
  io.close
@@ -15106,7 +15106,7 @@ module OvirtSDK4
15106
15106
  begin
15107
15107
  io = StringIO.new(response.body)
15108
15108
  reader = XmlReader.new(:io => io)
15109
- return CdromReader.read_many(reader, @connection)
15109
+ return CdromReader.read_many(reader)
15110
15110
  ensure
15111
15111
  reader.close
15112
15112
  io.close
@@ -15179,7 +15179,7 @@ module OvirtSDK4
15179
15179
  begin
15180
15180
  io = StringIO.new(response.body)
15181
15181
  reader = XmlReader.new(:io => io)
15182
- return DiskReader.read_one(reader, @connection)
15182
+ return DiskReader.read_one(reader)
15183
15183
  ensure
15184
15184
  reader.close
15185
15185
  io.close
@@ -15244,7 +15244,7 @@ module OvirtSDK4
15244
15244
  begin
15245
15245
  io = StringIO.new(response.body)
15246
15246
  reader = XmlReader.new(:io => io)
15247
- return DiskReader.read_many(reader, @connection)
15247
+ return DiskReader.read_many(reader)
15248
15248
  ensure
15249
15249
  reader.close
15250
15250
  io.close
@@ -15317,7 +15317,7 @@ module OvirtSDK4
15317
15317
  begin
15318
15318
  io = StringIO.new(response.body)
15319
15319
  reader = XmlReader.new(:io => io)
15320
- return NicReader.read_one(reader, @connection)
15320
+ return NicReader.read_one(reader)
15321
15321
  ensure
15322
15322
  reader.close
15323
15323
  io.close
@@ -15382,7 +15382,7 @@ module OvirtSDK4
15382
15382
  begin
15383
15383
  io = StringIO.new(response.body)
15384
15384
  reader = XmlReader.new(:io => io)
15385
- return NicReader.read_many(reader, @connection)
15385
+ return NicReader.read_many(reader)
15386
15386
  ensure
15387
15387
  reader.close
15388
15388
  io.close
@@ -15471,7 +15471,7 @@ module OvirtSDK4
15471
15471
  begin
15472
15472
  io = StringIO.new(response.body)
15473
15473
  reader = XmlReader.new(:io => io)
15474
- return SnapshotReader.read_one(reader, @connection)
15474
+ return SnapshotReader.read_one(reader)
15475
15475
  ensure
15476
15476
  reader.close
15477
15477
  io.close
@@ -15497,7 +15497,7 @@ module OvirtSDK4
15497
15497
  begin
15498
15498
  io = StringIO.new(response.body)
15499
15499
  reader = XmlReader.new(:io => io)
15500
- return SnapshotReader.read_many(reader, @connection)
15500
+ return SnapshotReader.read_many(reader)
15501
15501
  ensure
15502
15502
  reader.close
15503
15503
  io.close
@@ -15570,7 +15570,7 @@ module OvirtSDK4
15570
15570
  begin
15571
15571
  io = StringIO.new(response.body)
15572
15572
  reader = XmlReader.new(:io => io)
15573
- return SshPublicKeyReader.read_one(reader, @connection)
15573
+ return SshPublicKeyReader.read_one(reader)
15574
15574
  ensure
15575
15575
  reader.close
15576
15576
  io.close
@@ -15616,7 +15616,7 @@ module OvirtSDK4
15616
15616
  begin
15617
15617
  io = StringIO.new(response.body)
15618
15618
  reader = XmlReader.new(:io => io)
15619
- return SshPublicKeyReader.read_one(reader, @connection)
15619
+ return SshPublicKeyReader.read_one(reader)
15620
15620
  ensure
15621
15621
  reader.close
15622
15622
  io.close
@@ -15692,7 +15692,7 @@ module OvirtSDK4
15692
15692
  begin
15693
15693
  io = StringIO.new(response.body)
15694
15694
  reader = XmlReader.new(:io => io)
15695
- return SshPublicKeyReader.read_one(reader, @connection)
15695
+ return SshPublicKeyReader.read_one(reader)
15696
15696
  ensure
15697
15697
  reader.close
15698
15698
  io.close
@@ -15718,7 +15718,7 @@ module OvirtSDK4
15718
15718
  begin
15719
15719
  io = StringIO.new(response.body)
15720
15720
  reader = XmlReader.new(:io => io)
15721
- return SshPublicKeyReader.read_many(reader, @connection)
15721
+ return SshPublicKeyReader.read_many(reader)
15722
15722
  ensure
15723
15723
  reader.close
15724
15724
  io.close
@@ -15796,7 +15796,7 @@ module OvirtSDK4
15796
15796
  begin
15797
15797
  io = StringIO.new(response.body)
15798
15798
  reader = XmlReader.new(:io => io)
15799
- return StatisticReader.read_one(reader, @connection)
15799
+ return StatisticReader.read_one(reader)
15800
15800
  ensure
15801
15801
  reader.close
15802
15802
  io.close
@@ -15861,7 +15861,7 @@ module OvirtSDK4
15861
15861
  begin
15862
15862
  io = StringIO.new(response.body)
15863
15863
  reader = XmlReader.new(:io => io)
15864
- return StatisticReader.read_many(reader, @connection)
15864
+ return StatisticReader.read_many(reader)
15865
15865
  ensure
15866
15866
  reader.close
15867
15867
  io.close
@@ -15965,7 +15965,7 @@ module OvirtSDK4
15965
15965
  begin
15966
15966
  io = StringIO.new(response.body)
15967
15967
  reader = XmlReader.new(:io => io)
15968
- return StepReader.read_one(reader, @connection)
15968
+ return StepReader.read_one(reader)
15969
15969
  ensure
15970
15970
  reader.close
15971
15971
  io.close
@@ -16054,7 +16054,7 @@ module OvirtSDK4
16054
16054
  begin
16055
16055
  io = StringIO.new(response.body)
16056
16056
  reader = XmlReader.new(:io => io)
16057
- return StepReader.read_one(reader, @connection)
16057
+ return StepReader.read_one(reader)
16058
16058
  ensure
16059
16059
  reader.close
16060
16060
  io.close
@@ -16080,7 +16080,7 @@ module OvirtSDK4
16080
16080
  begin
16081
16081
  io = StringIO.new(response.body)
16082
16082
  reader = XmlReader.new(:io => io)
16083
- return StepReader.read_many(reader, @connection)
16083
+ return StepReader.read_many(reader)
16084
16084
  ensure
16085
16085
  reader.close
16086
16086
  io.close
@@ -16153,7 +16153,7 @@ module OvirtSDK4
16153
16153
  begin
16154
16154
  io = StringIO.new(response.body)
16155
16155
  reader = XmlReader.new(:io => io)
16156
- return HostStorageReader.read_one(reader, @connection)
16156
+ return HostStorageReader.read_one(reader)
16157
16157
  ensure
16158
16158
  reader.close
16159
16159
  io.close
@@ -16218,7 +16218,7 @@ module OvirtSDK4
16218
16218
  begin
16219
16219
  io = StringIO.new(response.body)
16220
16220
  reader = XmlReader.new(:io => io)
16221
- return StorageDomainReader.read_one(reader, @connection)
16221
+ return StorageDomainReader.read_one(reader)
16222
16222
  ensure
16223
16223
  reader.close
16224
16224
  io.close
@@ -16322,7 +16322,7 @@ module OvirtSDK4
16322
16322
  begin
16323
16323
  io = StringIO.new(response.body)
16324
16324
  reader = XmlReader.new(:io => io)
16325
- return StorageDomainReader.read_one(reader, @connection)
16325
+ return StorageDomainReader.read_one(reader)
16326
16326
  ensure
16327
16327
  reader.close
16328
16328
  io.close
@@ -16514,7 +16514,7 @@ module OvirtSDK4
16514
16514
  begin
16515
16515
  io = StringIO.new(response.body)
16516
16516
  reader = XmlReader.new(:io => io)
16517
- return DiskReader.read_one(reader, @connection)
16517
+ return DiskReader.read_one(reader)
16518
16518
  ensure
16519
16519
  reader.close
16520
16520
  io.close
@@ -16590,7 +16590,7 @@ module OvirtSDK4
16590
16590
  begin
16591
16591
  io = StringIO.new(response.body)
16592
16592
  reader = XmlReader.new(:io => io)
16593
- return DiskReader.read_many(reader, @connection)
16593
+ return DiskReader.read_many(reader)
16594
16594
  ensure
16595
16595
  reader.close
16596
16596
  io.close
@@ -16663,7 +16663,7 @@ module OvirtSDK4
16663
16663
  begin
16664
16664
  io = StringIO.new(response.body)
16665
16665
  reader = XmlReader.new(:io => io)
16666
- return StorageConnectionReader.read_one(reader, @connection)
16666
+ return StorageConnectionReader.read_one(reader)
16667
16667
  ensure
16668
16668
  reader.close
16669
16669
  io.close
@@ -16754,7 +16754,7 @@ module OvirtSDK4
16754
16754
  begin
16755
16755
  io = StringIO.new(response.body)
16756
16756
  reader = XmlReader.new(:io => io)
16757
- return StorageConnectionReader.read_one(reader, @connection)
16757
+ return StorageConnectionReader.read_one(reader)
16758
16758
  ensure
16759
16759
  reader.close
16760
16760
  io.close
@@ -16780,7 +16780,7 @@ module OvirtSDK4
16780
16780
  begin
16781
16781
  io = StringIO.new(response.body)
16782
16782
  reader = XmlReader.new(:io => io)
16783
- return StorageConnectionReader.read_many(reader, @connection)
16783
+ return StorageConnectionReader.read_many(reader)
16784
16784
  ensure
16785
16785
  reader.close
16786
16786
  io.close
@@ -16853,7 +16853,7 @@ module OvirtSDK4
16853
16853
  begin
16854
16854
  io = StringIO.new(response.body)
16855
16855
  reader = XmlReader.new(:io => io)
16856
- return TemplateReader.read_one(reader, @connection)
16856
+ return TemplateReader.read_one(reader)
16857
16857
  ensure
16858
16858
  reader.close
16859
16859
  io.close
@@ -17022,7 +17022,7 @@ module OvirtSDK4
17022
17022
  begin
17023
17023
  io = StringIO.new(response.body)
17024
17024
  reader = XmlReader.new(:io => io)
17025
- return TemplateReader.read_many(reader, @connection)
17025
+ return TemplateReader.read_many(reader)
17026
17026
  ensure
17027
17027
  reader.close
17028
17028
  io.close
@@ -17095,7 +17095,7 @@ module OvirtSDK4
17095
17095
  begin
17096
17096
  io = StringIO.new(response.body)
17097
17097
  reader = XmlReader.new(:io => io)
17098
- return VmReader.read_one(reader, @connection)
17098
+ return VmReader.read_one(reader)
17099
17099
  ensure
17100
17100
  reader.close
17101
17101
  io.close
@@ -17258,7 +17258,7 @@ module OvirtSDK4
17258
17258
  begin
17259
17259
  io = StringIO.new(response.body)
17260
17260
  reader = XmlReader.new(:io => io)
17261
- return VmReader.read_many(reader, @connection)
17261
+ return VmReader.read_many(reader)
17262
17262
  ensure
17263
17263
  reader.close
17264
17264
  io.close
@@ -17347,7 +17347,7 @@ module OvirtSDK4
17347
17347
  begin
17348
17348
  io = StringIO.new(response.body)
17349
17349
  reader = XmlReader.new(:io => io)
17350
- return StorageDomainReader.read_one(reader, @connection)
17350
+ return StorageDomainReader.read_one(reader)
17351
17351
  ensure
17352
17352
  reader.close
17353
17353
  io.close
@@ -17390,7 +17390,7 @@ module OvirtSDK4
17390
17390
  begin
17391
17391
  io = StringIO.new(response.body)
17392
17392
  reader = XmlReader.new(:io => io)
17393
- return StorageDomainReader.read_many(reader, @connection)
17393
+ return StorageDomainReader.read_many(reader)
17394
17394
  ensure
17395
17395
  reader.close
17396
17396
  io.close
@@ -17463,7 +17463,7 @@ module OvirtSDK4
17463
17463
  begin
17464
17464
  io = StringIO.new(response.body)
17465
17465
  reader = XmlReader.new(:io => io)
17466
- return StorageConnectionReader.read_one(reader, @connection)
17466
+ return StorageConnectionReader.read_one(reader)
17467
17467
  ensure
17468
17468
  reader.close
17469
17469
  io.close
@@ -17509,7 +17509,7 @@ module OvirtSDK4
17509
17509
  begin
17510
17510
  io = StringIO.new(response.body)
17511
17511
  reader = XmlReader.new(:io => io)
17512
- return StorageConnectionReader.read_one(reader, @connection)
17512
+ return StorageConnectionReader.read_one(reader)
17513
17513
  ensure
17514
17514
  reader.close
17515
17515
  io.close
@@ -17569,7 +17569,7 @@ module OvirtSDK4
17569
17569
  begin
17570
17570
  io = StringIO.new(response.body)
17571
17571
  reader = XmlReader.new(:io => io)
17572
- return StorageConnectionExtensionReader.read_one(reader, @connection)
17572
+ return StorageConnectionExtensionReader.read_one(reader)
17573
17573
  ensure
17574
17574
  reader.close
17575
17575
  io.close
@@ -17615,7 +17615,7 @@ module OvirtSDK4
17615
17615
  begin
17616
17616
  io = StringIO.new(response.body)
17617
17617
  reader = XmlReader.new(:io => io)
17618
- return StorageConnectionExtensionReader.read_one(reader, @connection)
17618
+ return StorageConnectionExtensionReader.read_one(reader)
17619
17619
  ensure
17620
17620
  reader.close
17621
17621
  io.close
@@ -17691,7 +17691,7 @@ module OvirtSDK4
17691
17691
  begin
17692
17692
  io = StringIO.new(response.body)
17693
17693
  reader = XmlReader.new(:io => io)
17694
- return StorageConnectionExtensionReader.read_one(reader, @connection)
17694
+ return StorageConnectionExtensionReader.read_one(reader)
17695
17695
  ensure
17696
17696
  reader.close
17697
17697
  io.close
@@ -17717,7 +17717,7 @@ module OvirtSDK4
17717
17717
  begin
17718
17718
  io = StringIO.new(response.body)
17719
17719
  reader = XmlReader.new(:io => io)
17720
- return StorageConnectionExtensionReader.read_many(reader, @connection)
17720
+ return StorageConnectionExtensionReader.read_many(reader)
17721
17721
  ensure
17722
17722
  reader.close
17723
17723
  io.close
@@ -17806,7 +17806,7 @@ module OvirtSDK4
17806
17806
  begin
17807
17807
  io = StringIO.new(response.body)
17808
17808
  reader = XmlReader.new(:io => io)
17809
- return StorageConnectionReader.read_one(reader, @connection)
17809
+ return StorageConnectionReader.read_one(reader)
17810
17810
  ensure
17811
17811
  reader.close
17812
17812
  io.close
@@ -17832,7 +17832,7 @@ module OvirtSDK4
17832
17832
  begin
17833
17833
  io = StringIO.new(response.body)
17834
17834
  reader = XmlReader.new(:io => io)
17835
- return StorageConnectionReader.read_many(reader, @connection)
17835
+ return StorageConnectionReader.read_many(reader)
17836
17836
  ensure
17837
17837
  reader.close
17838
17838
  io.close
@@ -17905,7 +17905,7 @@ module OvirtSDK4
17905
17905
  begin
17906
17906
  io = StringIO.new(response.body)
17907
17907
  reader = XmlReader.new(:io => io)
17908
- return ApiReader.read_one(reader, @connection)
17908
+ return ApiReader.read_one(reader)
17909
17909
  ensure
17910
17910
  reader.close
17911
17911
  io.close
@@ -18469,7 +18469,7 @@ module OvirtSDK4
18469
18469
  begin
18470
18470
  io = StringIO.new(response.body)
18471
18471
  reader = XmlReader.new(:io => io)
18472
- return PermissionReader.read_one(reader, @connection)
18472
+ return PermissionReader.read_one(reader)
18473
18473
  ensure
18474
18474
  reader.close
18475
18475
  io.close
@@ -18489,7 +18489,7 @@ module OvirtSDK4
18489
18489
  begin
18490
18490
  io = StringIO.new(response.body)
18491
18491
  reader = XmlReader.new(:io => io)
18492
- return PermissionReader.read_many(reader, @connection)
18492
+ return PermissionReader.read_many(reader)
18493
18493
  ensure
18494
18494
  reader.close
18495
18495
  io.close
@@ -18562,7 +18562,7 @@ module OvirtSDK4
18562
18562
  begin
18563
18563
  io = StringIO.new(response.body)
18564
18564
  reader = XmlReader.new(:io => io)
18565
- return TagReader.read_one(reader, @connection)
18565
+ return TagReader.read_one(reader)
18566
18566
  ensure
18567
18567
  reader.close
18568
18568
  io.close
@@ -18608,7 +18608,7 @@ module OvirtSDK4
18608
18608
  begin
18609
18609
  io = StringIO.new(response.body)
18610
18610
  reader = XmlReader.new(:io => io)
18611
- return TagReader.read_one(reader, @connection)
18611
+ return TagReader.read_one(reader)
18612
18612
  ensure
18613
18613
  reader.close
18614
18614
  io.close
@@ -18684,7 +18684,7 @@ module OvirtSDK4
18684
18684
  begin
18685
18685
  io = StringIO.new(response.body)
18686
18686
  reader = XmlReader.new(:io => io)
18687
- return TagReader.read_one(reader, @connection)
18687
+ return TagReader.read_one(reader)
18688
18688
  ensure
18689
18689
  reader.close
18690
18690
  io.close
@@ -18710,7 +18710,7 @@ module OvirtSDK4
18710
18710
  begin
18711
18711
  io = StringIO.new(response.body)
18712
18712
  reader = XmlReader.new(:io => io)
18713
- return TagReader.read_many(reader, @connection)
18713
+ return TagReader.read_many(reader)
18714
18714
  ensure
18715
18715
  reader.close
18716
18716
  io.close
@@ -18818,7 +18818,7 @@ module OvirtSDK4
18818
18818
  begin
18819
18819
  io = StringIO.new(response.body)
18820
18820
  reader = XmlReader.new(:io => io)
18821
- return TemplateReader.read_one(reader, @connection)
18821
+ return TemplateReader.read_one(reader)
18822
18822
  ensure
18823
18823
  reader.close
18824
18824
  io.close
@@ -18864,7 +18864,7 @@ module OvirtSDK4
18864
18864
  begin
18865
18865
  io = StringIO.new(response.body)
18866
18866
  reader = XmlReader.new(:io => io)
18867
- return TemplateReader.read_one(reader, @connection)
18867
+ return TemplateReader.read_one(reader)
18868
18868
  ensure
18869
18869
  reader.close
18870
18870
  io.close
@@ -19022,7 +19022,7 @@ module OvirtSDK4
19022
19022
  begin
19023
19023
  io = StringIO.new(response.body)
19024
19024
  reader = XmlReader.new(:io => io)
19025
- return CdromReader.read_one(reader, @connection)
19025
+ return CdromReader.read_one(reader)
19026
19026
  ensure
19027
19027
  reader.close
19028
19028
  io.close
@@ -19087,7 +19087,7 @@ module OvirtSDK4
19087
19087
  begin
19088
19088
  io = StringIO.new(response.body)
19089
19089
  reader = XmlReader.new(:io => io)
19090
- return CdromReader.read_many(reader, @connection)
19090
+ return CdromReader.read_many(reader)
19091
19091
  ensure
19092
19092
  reader.close
19093
19093
  io.close
@@ -19218,7 +19218,7 @@ module OvirtSDK4
19218
19218
  begin
19219
19219
  io = StringIO.new(response.body)
19220
19220
  reader = XmlReader.new(:io => io)
19221
- return DiskReader.read_one(reader, @connection)
19221
+ return DiskReader.read_one(reader)
19222
19222
  ensure
19223
19223
  reader.close
19224
19224
  io.close
@@ -19299,7 +19299,7 @@ module OvirtSDK4
19299
19299
  begin
19300
19300
  io = StringIO.new(response.body)
19301
19301
  reader = XmlReader.new(:io => io)
19302
- return DiskReader.read_many(reader, @connection)
19302
+ return DiskReader.read_many(reader)
19303
19303
  ensure
19304
19304
  reader.close
19305
19305
  io.close
@@ -19372,7 +19372,7 @@ module OvirtSDK4
19372
19372
  begin
19373
19373
  io = StringIO.new(response.body)
19374
19374
  reader = XmlReader.new(:io => io)
19375
- return NicReader.read_one(reader, @connection)
19375
+ return NicReader.read_one(reader)
19376
19376
  ensure
19377
19377
  reader.close
19378
19378
  io.close
@@ -19418,7 +19418,7 @@ module OvirtSDK4
19418
19418
  begin
19419
19419
  io = StringIO.new(response.body)
19420
19420
  reader = XmlReader.new(:io => io)
19421
- return NicReader.read_one(reader, @connection)
19421
+ return NicReader.read_one(reader)
19422
19422
  ensure
19423
19423
  reader.close
19424
19424
  io.close
@@ -19494,7 +19494,7 @@ module OvirtSDK4
19494
19494
  begin
19495
19495
  io = StringIO.new(response.body)
19496
19496
  reader = XmlReader.new(:io => io)
19497
- return NicReader.read_one(reader, @connection)
19497
+ return NicReader.read_one(reader)
19498
19498
  ensure
19499
19499
  reader.close
19500
19500
  io.close
@@ -19520,7 +19520,7 @@ module OvirtSDK4
19520
19520
  begin
19521
19521
  io = StringIO.new(response.body)
19522
19522
  reader = XmlReader.new(:io => io)
19523
- return NicReader.read_many(reader, @connection)
19523
+ return NicReader.read_many(reader)
19524
19524
  ensure
19525
19525
  reader.close
19526
19526
  io.close
@@ -19593,7 +19593,7 @@ module OvirtSDK4
19593
19593
  begin
19594
19594
  io = StringIO.new(response.body)
19595
19595
  reader = XmlReader.new(:io => io)
19596
- return WatchdogReader.read_one(reader, @connection)
19596
+ return WatchdogReader.read_one(reader)
19597
19597
  ensure
19598
19598
  reader.close
19599
19599
  io.close
@@ -19639,7 +19639,7 @@ module OvirtSDK4
19639
19639
  begin
19640
19640
  io = StringIO.new(response.body)
19641
19641
  reader = XmlReader.new(:io => io)
19642
- return WatchdogReader.read_one(reader, @connection)
19642
+ return WatchdogReader.read_one(reader)
19643
19643
  ensure
19644
19644
  reader.close
19645
19645
  io.close
@@ -19715,7 +19715,7 @@ module OvirtSDK4
19715
19715
  begin
19716
19716
  io = StringIO.new(response.body)
19717
19717
  reader = XmlReader.new(:io => io)
19718
- return WatchdogReader.read_one(reader, @connection)
19718
+ return WatchdogReader.read_one(reader)
19719
19719
  ensure
19720
19720
  reader.close
19721
19721
  io.close
@@ -19741,7 +19741,7 @@ module OvirtSDK4
19741
19741
  begin
19742
19742
  io = StringIO.new(response.body)
19743
19743
  reader = XmlReader.new(:io => io)
19744
- return WatchdogReader.read_many(reader, @connection)
19744
+ return WatchdogReader.read_many(reader)
19745
19745
  ensure
19746
19746
  reader.close
19747
19747
  io.close
@@ -19830,7 +19830,7 @@ module OvirtSDK4
19830
19830
  begin
19831
19831
  io = StringIO.new(response.body)
19832
19832
  reader = XmlReader.new(:io => io)
19833
- return TemplateReader.read_one(reader, @connection)
19833
+ return TemplateReader.read_one(reader)
19834
19834
  ensure
19835
19835
  reader.close
19836
19836
  io.close
@@ -19873,7 +19873,7 @@ module OvirtSDK4
19873
19873
  begin
19874
19874
  io = StringIO.new(response.body)
19875
19875
  reader = XmlReader.new(:io => io)
19876
- return TemplateReader.read_many(reader, @connection)
19876
+ return TemplateReader.read_many(reader)
19877
19877
  ensure
19878
19878
  reader.close
19879
19879
  io.close
@@ -19946,7 +19946,7 @@ module OvirtSDK4
19946
19946
  begin
19947
19947
  io = StringIO.new(response.body)
19948
19948
  reader = XmlReader.new(:io => io)
19949
- return UnmanagedNetworkReader.read_one(reader, @connection)
19949
+ return UnmanagedNetworkReader.read_one(reader)
19950
19950
  ensure
19951
19951
  reader.close
19952
19952
  io.close
@@ -20027,7 +20027,7 @@ module OvirtSDK4
20027
20027
  begin
20028
20028
  io = StringIO.new(response.body)
20029
20029
  reader = XmlReader.new(:io => io)
20030
- return UnmanagedNetworkReader.read_many(reader, @connection)
20030
+ return UnmanagedNetworkReader.read_many(reader)
20031
20031
  ensure
20032
20032
  reader.close
20033
20033
  io.close
@@ -20100,7 +20100,7 @@ module OvirtSDK4
20100
20100
  begin
20101
20101
  io = StringIO.new(response.body)
20102
20102
  reader = XmlReader.new(:io => io)
20103
- return UserReader.read_one(reader, @connection)
20103
+ return UserReader.read_one(reader)
20104
20104
  ensure
20105
20105
  reader.close
20106
20106
  io.close
@@ -20247,7 +20247,7 @@ module OvirtSDK4
20247
20247
  begin
20248
20248
  io = StringIO.new(response.body)
20249
20249
  reader = XmlReader.new(:io => io)
20250
- return UserReader.read_one(reader, @connection)
20250
+ return UserReader.read_one(reader)
20251
20251
  ensure
20252
20252
  reader.close
20253
20253
  io.close
@@ -20284,7 +20284,7 @@ module OvirtSDK4
20284
20284
  begin
20285
20285
  io = StringIO.new(response.body)
20286
20286
  reader = XmlReader.new(:io => io)
20287
- return UserReader.read_many(reader, @connection)
20287
+ return UserReader.read_many(reader)
20288
20288
  ensure
20289
20289
  reader.close
20290
20290
  io.close
@@ -20357,7 +20357,7 @@ module OvirtSDK4
20357
20357
  begin
20358
20358
  io = StringIO.new(response.body)
20359
20359
  reader = XmlReader.new(:io => io)
20360
- return NetworkReader.read_one(reader, @connection)
20360
+ return NetworkReader.read_one(reader)
20361
20361
  ensure
20362
20362
  reader.close
20363
20363
  io.close
@@ -20448,7 +20448,7 @@ module OvirtSDK4
20448
20448
  begin
20449
20449
  io = StringIO.new(response.body)
20450
20450
  reader = XmlReader.new(:io => io)
20451
- return NetworkReader.read_one(reader, @connection)
20451
+ return NetworkReader.read_one(reader)
20452
20452
  ensure
20453
20453
  reader.close
20454
20454
  io.close
@@ -20474,7 +20474,7 @@ module OvirtSDK4
20474
20474
  begin
20475
20475
  io = StringIO.new(response.body)
20476
20476
  reader = XmlReader.new(:io => io)
20477
- return NetworkReader.read_many(reader, @connection)
20477
+ return NetworkReader.read_many(reader)
20478
20478
  ensure
20479
20479
  reader.close
20480
20480
  io.close
@@ -20729,7 +20729,7 @@ module OvirtSDK4
20729
20729
  begin
20730
20730
  io = StringIO.new(response.body)
20731
20731
  reader = XmlReader.new(:io => io)
20732
- return VmReader.read_one(reader, @connection)
20732
+ return VmReader.read_one(reader)
20733
20733
  ensure
20734
20734
  reader.close
20735
20735
  io.close
@@ -21183,7 +21183,7 @@ module OvirtSDK4
21183
21183
  begin
21184
21184
  io = StringIO.new(response.body)
21185
21185
  reader = XmlReader.new(:io => io)
21186
- return VmReader.read_one(reader, @connection)
21186
+ return VmReader.read_one(reader)
21187
21187
  ensure
21188
21188
  reader.close
21189
21189
  io.close
@@ -21459,7 +21459,7 @@ module OvirtSDK4
21459
21459
  begin
21460
21460
  io = StringIO.new(response.body)
21461
21461
  reader = XmlReader.new(:io => io)
21462
- return ApplicationReader.read_one(reader, @connection)
21462
+ return ApplicationReader.read_one(reader)
21463
21463
  ensure
21464
21464
  reader.close
21465
21465
  io.close
@@ -21530,7 +21530,7 @@ module OvirtSDK4
21530
21530
  begin
21531
21531
  io = StringIO.new(response.body)
21532
21532
  reader = XmlReader.new(:io => io)
21533
- return ApplicationReader.read_many(reader, @connection)
21533
+ return ApplicationReader.read_many(reader)
21534
21534
  ensure
21535
21535
  reader.close
21536
21536
  io.close
@@ -21603,7 +21603,7 @@ module OvirtSDK4
21603
21603
  begin
21604
21604
  io = StringIO.new(response.body)
21605
21605
  reader = XmlReader.new(:io => io)
21606
- return CdromReader.read_one(reader, @connection)
21606
+ return CdromReader.read_one(reader)
21607
21607
  ensure
21608
21608
  reader.close
21609
21609
  io.close
@@ -21649,7 +21649,7 @@ module OvirtSDK4
21649
21649
  begin
21650
21650
  io = StringIO.new(response.body)
21651
21651
  reader = XmlReader.new(:io => io)
21652
- return CdromReader.read_one(reader, @connection)
21652
+ return CdromReader.read_one(reader)
21653
21653
  ensure
21654
21654
  reader.close
21655
21655
  io.close
@@ -21725,7 +21725,7 @@ module OvirtSDK4
21725
21725
  begin
21726
21726
  io = StringIO.new(response.body)
21727
21727
  reader = XmlReader.new(:io => io)
21728
- return CdromReader.read_one(reader, @connection)
21728
+ return CdromReader.read_one(reader)
21729
21729
  ensure
21730
21730
  reader.close
21731
21731
  io.close
@@ -21751,7 +21751,7 @@ module OvirtSDK4
21751
21751
  begin
21752
21752
  io = StringIO.new(response.body)
21753
21753
  reader = XmlReader.new(:io => io)
21754
- return CdromReader.read_many(reader, @connection)
21754
+ return CdromReader.read_many(reader)
21755
21755
  ensure
21756
21756
  reader.close
21757
21757
  io.close
@@ -21907,7 +21907,7 @@ module OvirtSDK4
21907
21907
  begin
21908
21908
  io = StringIO.new(response.body)
21909
21909
  reader = XmlReader.new(:io => io)
21910
- return DiskReader.read_one(reader, @connection)
21910
+ return DiskReader.read_one(reader)
21911
21911
  ensure
21912
21912
  reader.close
21913
21913
  io.close
@@ -21982,7 +21982,7 @@ module OvirtSDK4
21982
21982
  begin
21983
21983
  io = StringIO.new(response.body)
21984
21984
  reader = XmlReader.new(:io => io)
21985
- return DiskReader.read_one(reader, @connection)
21985
+ return DiskReader.read_one(reader)
21986
21986
  ensure
21987
21987
  reader.close
21988
21988
  io.close
@@ -22086,7 +22086,7 @@ module OvirtSDK4
22086
22086
  begin
22087
22087
  io = StringIO.new(response.body)
22088
22088
  reader = XmlReader.new(:io => io)
22089
- return DiskReader.read_one(reader, @connection)
22089
+ return DiskReader.read_one(reader)
22090
22090
  ensure
22091
22091
  reader.close
22092
22092
  io.close
@@ -22112,7 +22112,7 @@ module OvirtSDK4
22112
22112
  begin
22113
22113
  io = StringIO.new(response.body)
22114
22114
  reader = XmlReader.new(:io => io)
22115
- return DiskReader.read_many(reader, @connection)
22115
+ return DiskReader.read_many(reader)
22116
22116
  ensure
22117
22117
  reader.close
22118
22118
  io.close
@@ -22185,7 +22185,7 @@ module OvirtSDK4
22185
22185
  begin
22186
22186
  io = StringIO.new(response.body)
22187
22187
  reader = XmlReader.new(:io => io)
22188
- return GraphicsConsoleReader.read_one(reader, @connection)
22188
+ return GraphicsConsoleReader.read_one(reader)
22189
22189
  ensure
22190
22190
  reader.close
22191
22191
  io.close
@@ -22287,7 +22287,7 @@ module OvirtSDK4
22287
22287
  begin
22288
22288
  io = StringIO.new(response.body)
22289
22289
  reader = XmlReader.new(:io => io)
22290
- return HostDeviceReader.read_one(reader, @connection)
22290
+ return HostDeviceReader.read_one(reader)
22291
22291
  ensure
22292
22292
  reader.close
22293
22293
  io.close
@@ -22378,7 +22378,7 @@ module OvirtSDK4
22378
22378
  begin
22379
22379
  io = StringIO.new(response.body)
22380
22380
  reader = XmlReader.new(:io => io)
22381
- return HostDeviceReader.read_one(reader, @connection)
22381
+ return HostDeviceReader.read_one(reader)
22382
22382
  ensure
22383
22383
  reader.close
22384
22384
  io.close
@@ -22404,7 +22404,7 @@ module OvirtSDK4
22404
22404
  begin
22405
22405
  io = StringIO.new(response.body)
22406
22406
  reader = XmlReader.new(:io => io)
22407
- return HostDeviceReader.read_many(reader, @connection)
22407
+ return HostDeviceReader.read_many(reader)
22408
22408
  ensure
22409
22409
  reader.close
22410
22410
  io.close
@@ -22531,7 +22531,7 @@ module OvirtSDK4
22531
22531
  begin
22532
22532
  io = StringIO.new(response.body)
22533
22533
  reader = XmlReader.new(:io => io)
22534
- return NicReader.read_one(reader, @connection)
22534
+ return NicReader.read_one(reader)
22535
22535
  ensure
22536
22536
  reader.close
22537
22537
  io.close
@@ -22577,7 +22577,7 @@ module OvirtSDK4
22577
22577
  begin
22578
22578
  io = StringIO.new(response.body)
22579
22579
  reader = XmlReader.new(:io => io)
22580
- return NicReader.read_one(reader, @connection)
22580
+ return NicReader.read_one(reader)
22581
22581
  ensure
22582
22582
  reader.close
22583
22583
  io.close
@@ -22681,7 +22681,7 @@ module OvirtSDK4
22681
22681
  begin
22682
22682
  io = StringIO.new(response.body)
22683
22683
  reader = XmlReader.new(:io => io)
22684
- return NicReader.read_one(reader, @connection)
22684
+ return NicReader.read_one(reader)
22685
22685
  ensure
22686
22686
  reader.close
22687
22687
  io.close
@@ -22707,7 +22707,7 @@ module OvirtSDK4
22707
22707
  begin
22708
22708
  io = StringIO.new(response.body)
22709
22709
  reader = XmlReader.new(:io => io)
22710
- return NicReader.read_many(reader, @connection)
22710
+ return NicReader.read_many(reader)
22711
22711
  ensure
22712
22712
  reader.close
22713
22713
  io.close
@@ -22780,7 +22780,7 @@ module OvirtSDK4
22780
22780
  begin
22781
22781
  io = StringIO.new(response.body)
22782
22782
  reader = XmlReader.new(:io => io)
22783
- return VirtualNumaNodeReader.read_one(reader, @connection)
22783
+ return VirtualNumaNodeReader.read_one(reader)
22784
22784
  ensure
22785
22785
  reader.close
22786
22786
  io.close
@@ -22826,7 +22826,7 @@ module OvirtSDK4
22826
22826
  begin
22827
22827
  io = StringIO.new(response.body)
22828
22828
  reader = XmlReader.new(:io => io)
22829
- return VirtualNumaNodeReader.read_one(reader, @connection)
22829
+ return VirtualNumaNodeReader.read_one(reader)
22830
22830
  ensure
22831
22831
  reader.close
22832
22832
  io.close
@@ -22902,7 +22902,7 @@ module OvirtSDK4
22902
22902
  begin
22903
22903
  io = StringIO.new(response.body)
22904
22904
  reader = XmlReader.new(:io => io)
22905
- return VirtualNumaNodeReader.read_one(reader, @connection)
22905
+ return VirtualNumaNodeReader.read_one(reader)
22906
22906
  ensure
22907
22907
  reader.close
22908
22908
  io.close
@@ -22928,7 +22928,7 @@ module OvirtSDK4
22928
22928
  begin
22929
22929
  io = StringIO.new(response.body)
22930
22930
  reader = XmlReader.new(:io => io)
22931
- return VirtualNumaNodeReader.read_many(reader, @connection)
22931
+ return VirtualNumaNodeReader.read_many(reader)
22932
22932
  ensure
22933
22933
  reader.close
22934
22934
  io.close
@@ -23034,7 +23034,7 @@ module OvirtSDK4
23034
23034
  begin
23035
23035
  io = StringIO.new(response.body)
23036
23036
  reader = XmlReader.new(:io => io)
23037
- return VmPoolReader.read_one(reader, @connection)
23037
+ return VmPoolReader.read_one(reader)
23038
23038
  ensure
23039
23039
  reader.close
23040
23040
  io.close
@@ -23080,7 +23080,7 @@ module OvirtSDK4
23080
23080
  begin
23081
23081
  io = StringIO.new(response.body)
23082
23082
  reader = XmlReader.new(:io => io)
23083
- return VmPoolReader.read_one(reader, @connection)
23083
+ return VmPoolReader.read_one(reader)
23084
23084
  ensure
23085
23085
  reader.close
23086
23086
  io.close
@@ -23170,7 +23170,7 @@ module OvirtSDK4
23170
23170
  begin
23171
23171
  io = StringIO.new(response.body)
23172
23172
  reader = XmlReader.new(:io => io)
23173
- return VmPoolReader.read_one(reader, @connection)
23173
+ return VmPoolReader.read_one(reader)
23174
23174
  ensure
23175
23175
  reader.close
23176
23176
  io.close
@@ -23213,7 +23213,7 @@ module OvirtSDK4
23213
23213
  begin
23214
23214
  io = StringIO.new(response.body)
23215
23215
  reader = XmlReader.new(:io => io)
23216
- return VmPoolReader.read_many(reader, @connection)
23216
+ return VmPoolReader.read_many(reader)
23217
23217
  ensure
23218
23218
  reader.close
23219
23219
  io.close
@@ -23286,7 +23286,7 @@ module OvirtSDK4
23286
23286
  begin
23287
23287
  io = StringIO.new(response.body)
23288
23288
  reader = XmlReader.new(:io => io)
23289
- return ReportedDeviceReader.read_one(reader, @connection)
23289
+ return ReportedDeviceReader.read_one(reader)
23290
23290
  ensure
23291
23291
  reader.close
23292
23292
  io.close
@@ -23351,7 +23351,7 @@ module OvirtSDK4
23351
23351
  begin
23352
23352
  io = StringIO.new(response.body)
23353
23353
  reader = XmlReader.new(:io => io)
23354
- return ReportedDeviceReader.read_many(reader, @connection)
23354
+ return ReportedDeviceReader.read_many(reader)
23355
23355
  ensure
23356
23356
  reader.close
23357
23357
  io.close
@@ -23424,7 +23424,7 @@ module OvirtSDK4
23424
23424
  begin
23425
23425
  io = StringIO.new(response.body)
23426
23426
  reader = XmlReader.new(:io => io)
23427
- return SessionReader.read_one(reader, @connection)
23427
+ return SessionReader.read_one(reader)
23428
23428
  ensure
23429
23429
  reader.close
23430
23430
  io.close
@@ -23489,7 +23489,7 @@ module OvirtSDK4
23489
23489
  begin
23490
23490
  io = StringIO.new(response.body)
23491
23491
  reader = XmlReader.new(:io => io)
23492
- return SessionReader.read_many(reader, @connection)
23492
+ return SessionReader.read_many(reader)
23493
23493
  ensure
23494
23494
  reader.close
23495
23495
  io.close
@@ -23562,7 +23562,7 @@ module OvirtSDK4
23562
23562
  begin
23563
23563
  io = StringIO.new(response.body)
23564
23564
  reader = XmlReader.new(:io => io)
23565
- return WatchdogReader.read_one(reader, @connection)
23565
+ return WatchdogReader.read_one(reader)
23566
23566
  ensure
23567
23567
  reader.close
23568
23568
  io.close
@@ -23608,7 +23608,7 @@ module OvirtSDK4
23608
23608
  begin
23609
23609
  io = StringIO.new(response.body)
23610
23610
  reader = XmlReader.new(:io => io)
23611
- return WatchdogReader.read_one(reader, @connection)
23611
+ return WatchdogReader.read_one(reader)
23612
23612
  ensure
23613
23613
  reader.close
23614
23614
  io.close
@@ -23684,7 +23684,7 @@ module OvirtSDK4
23684
23684
  begin
23685
23685
  io = StringIO.new(response.body)
23686
23686
  reader = XmlReader.new(:io => io)
23687
- return WatchdogReader.read_one(reader, @connection)
23687
+ return WatchdogReader.read_one(reader)
23688
23688
  ensure
23689
23689
  reader.close
23690
23690
  io.close
@@ -23710,7 +23710,7 @@ module OvirtSDK4
23710
23710
  begin
23711
23711
  io = StringIO.new(response.body)
23712
23712
  reader = XmlReader.new(:io => io)
23713
- return WatchdogReader.read_many(reader, @connection)
23713
+ return WatchdogReader.read_many(reader)
23714
23714
  ensure
23715
23715
  reader.close
23716
23716
  io.close
@@ -23799,7 +23799,7 @@ module OvirtSDK4
23799
23799
  begin
23800
23800
  io = StringIO.new(response.body)
23801
23801
  reader = XmlReader.new(:io => io)
23802
- return VmReader.read_one(reader, @connection)
23802
+ return VmReader.read_one(reader)
23803
23803
  ensure
23804
23804
  reader.close
23805
23805
  io.close
@@ -23842,7 +23842,7 @@ module OvirtSDK4
23842
23842
  begin
23843
23843
  io = StringIO.new(response.body)
23844
23844
  reader = XmlReader.new(:io => io)
23845
- return VmReader.read_many(reader, @connection)
23845
+ return VmReader.read_many(reader)
23846
23846
  ensure
23847
23847
  reader.close
23848
23848
  io.close
@@ -23915,7 +23915,7 @@ module OvirtSDK4
23915
23915
  begin
23916
23916
  io = StringIO.new(response.body)
23917
23917
  reader = XmlReader.new(:io => io)
23918
- return VnicProfileReader.read_one(reader, @connection)
23918
+ return VnicProfileReader.read_one(reader)
23919
23919
  ensure
23920
23920
  reader.close
23921
23921
  io.close
@@ -23961,7 +23961,7 @@ module OvirtSDK4
23961
23961
  begin
23962
23962
  io = StringIO.new(response.body)
23963
23963
  reader = XmlReader.new(:io => io)
23964
- return VnicProfileReader.read_one(reader, @connection)
23964
+ return VnicProfileReader.read_one(reader)
23965
23965
  ensure
23966
23966
  reader.close
23967
23967
  io.close
@@ -24051,7 +24051,7 @@ module OvirtSDK4
24051
24051
  begin
24052
24052
  io = StringIO.new(response.body)
24053
24053
  reader = XmlReader.new(:io => io)
24054
- return VnicProfileReader.read_one(reader, @connection)
24054
+ return VnicProfileReader.read_one(reader)
24055
24055
  ensure
24056
24056
  reader.close
24057
24057
  io.close
@@ -24077,7 +24077,7 @@ module OvirtSDK4
24077
24077
  begin
24078
24078
  io = StringIO.new(response.body)
24079
24079
  reader = XmlReader.new(:io => io)
24080
- return VnicProfileReader.read_many(reader, @connection)
24080
+ return VnicProfileReader.read_many(reader)
24081
24081
  ensure
24082
24082
  reader.close
24083
24083
  io.close
@@ -24156,7 +24156,7 @@ module OvirtSDK4
24156
24156
  begin
24157
24157
  io = StringIO.new(response.body)
24158
24158
  reader = XmlReader.new(:io => io)
24159
- return WeightReader.read_one(reader, @connection)
24159
+ return WeightReader.read_one(reader)
24160
24160
  ensure
24161
24161
  reader.close
24162
24162
  io.close
@@ -24247,7 +24247,7 @@ module OvirtSDK4
24247
24247
  begin
24248
24248
  io = StringIO.new(response.body)
24249
24249
  reader = XmlReader.new(:io => io)
24250
- return WeightReader.read_one(reader, @connection)
24250
+ return WeightReader.read_one(reader)
24251
24251
  ensure
24252
24252
  reader.close
24253
24253
  io.close
@@ -24279,7 +24279,7 @@ module OvirtSDK4
24279
24279
  begin
24280
24280
  io = StringIO.new(response.body)
24281
24281
  reader = XmlReader.new(:io => io)
24282
- return WeightReader.read_many(reader, @connection)
24282
+ return WeightReader.read_many(reader)
24283
24283
  ensure
24284
24284
  reader.close
24285
24285
  io.close
@@ -24416,7 +24416,7 @@ module OvirtSDK4
24416
24416
  begin
24417
24417
  io = StringIO.new(response.body)
24418
24418
  reader = XmlReader.new(:io => io)
24419
- return DiskReader.read_one(reader, @connection)
24419
+ return DiskReader.read_one(reader)
24420
24420
  ensure
24421
24421
  reader.close
24422
24422
  io.close
@@ -24556,7 +24556,7 @@ module OvirtSDK4
24556
24556
  begin
24557
24557
  io = StringIO.new(response.body)
24558
24558
  reader = XmlReader.new(:io => io)
24559
- return KatelloErratumReader.read_many(reader, @connection)
24559
+ return KatelloErratumReader.read_many(reader)
24560
24560
  ensure
24561
24561
  reader.close
24562
24562
  io.close
@@ -24629,7 +24629,7 @@ module OvirtSDK4
24629
24629
  begin
24630
24630
  io = StringIO.new(response.body)
24631
24631
  reader = XmlReader.new(:io => io)
24632
- return ExternalHostProviderReader.read_one(reader, @connection)
24632
+ return ExternalHostProviderReader.read_one(reader)
24633
24633
  ensure
24634
24634
  reader.close
24635
24635
  io.close
@@ -24729,7 +24729,7 @@ module OvirtSDK4
24729
24729
  begin
24730
24730
  io = StringIO.new(response.body)
24731
24731
  reader = XmlReader.new(:io => io)
24732
- return ExternalHostProviderReader.read_one(reader, @connection)
24732
+ return ExternalHostProviderReader.read_one(reader)
24733
24733
  ensure
24734
24734
  reader.close
24735
24735
  io.close
@@ -24859,7 +24859,7 @@ module OvirtSDK4
24859
24859
  begin
24860
24860
  io = StringIO.new(response.body)
24861
24861
  reader = XmlReader.new(:io => io)
24862
- return GlusterBrickReader.read_one(reader, @connection)
24862
+ return GlusterBrickReader.read_one(reader)
24863
24863
  ensure
24864
24864
  reader.close
24865
24865
  io.close
@@ -24977,7 +24977,7 @@ module OvirtSDK4
24977
24977
  begin
24978
24978
  io = StringIO.new(response.body)
24979
24979
  reader = XmlReader.new(:io => io)
24980
- return GlusterVolumeReader.read_one(reader, @connection)
24980
+ return GlusterVolumeReader.read_one(reader)
24981
24981
  ensure
24982
24982
  reader.close
24983
24983
  io.close
@@ -25565,7 +25565,7 @@ module OvirtSDK4
25565
25565
  begin
25566
25566
  io = StringIO.new(response.body)
25567
25567
  reader = XmlReader.new(:io => io)
25568
- return HostReader.read_one(reader, @connection)
25568
+ return HostReader.read_one(reader)
25569
25569
  ensure
25570
25570
  reader.close
25571
25571
  io.close
@@ -25805,7 +25805,7 @@ module OvirtSDK4
25805
25805
  begin
25806
25806
  io = StringIO.new(response.body)
25807
25807
  reader = XmlReader.new(:io => io)
25808
- return HostReader.read_one(reader, @connection)
25808
+ return HostReader.read_one(reader)
25809
25809
  ensure
25810
25810
  reader.close
25811
25811
  io.close
@@ -26074,7 +26074,7 @@ module OvirtSDK4
26074
26074
  begin
26075
26075
  io = StringIO.new(response.body)
26076
26076
  reader = XmlReader.new(:io => io)
26077
- return HostNicReader.read_one(reader, @connection)
26077
+ return HostNicReader.read_one(reader)
26078
26078
  ensure
26079
26079
  reader.close
26080
26080
  io.close
@@ -26232,7 +26232,7 @@ module OvirtSDK4
26232
26232
  begin
26233
26233
  io = StringIO.new(response.body)
26234
26234
  reader = XmlReader.new(:io => io)
26235
- return NumaNodeReader.read_one(reader, @connection)
26235
+ return NumaNodeReader.read_one(reader)
26236
26236
  ensure
26237
26237
  reader.close
26238
26238
  io.close