ovirt-engine-sdk 4.0.0.alpha12 → 4.0.0.alpha13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.adoc +2 -1
- data/lib/ovirtsdk4/http.rb +28 -34
- data/lib/ovirtsdk4/reader.rb +17 -17
- data/lib/ovirtsdk4/readers.rb +412 -180
- data/lib/ovirtsdk4/service.rb +6 -6
- data/lib/ovirtsdk4/services.rb +8451 -3621
- data/lib/ovirtsdk4/type.rb +8 -8
- data/lib/ovirtsdk4/types.rb +13533 -11515
- data/lib/ovirtsdk4/version.rb +3 -3
- data/lib/ovirtsdk4/writer.rb +12 -12
- data/lib/ovirtsdk4/writers.rb +163 -91
- data/lib/ovirtsdk4.rb +5 -5
- metadata +2 -2
data/lib/ovirtsdk4/type.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
#
|
2
2
|
# Copyright (c) 2016-2016 Red Hat, Inc.
|
3
3
|
#
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -12,16 +12,16 @@
|
|
12
12
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
13
|
# See the License for the specific language governing permissions and
|
14
14
|
# limitations under the License.
|
15
|
-
|
15
|
+
#
|
16
16
|
|
17
17
|
module OvirtSDK4
|
18
18
|
|
19
|
-
|
19
|
+
#
|
20
20
|
# This module is a mixin that contains the methods common to struct and list types.
|
21
21
|
#
|
22
22
|
module Type
|
23
23
|
|
24
|
-
|
24
|
+
#
|
25
25
|
# Returns the value of the `href` attribute.
|
26
26
|
#
|
27
27
|
# @return [String]
|
@@ -30,7 +30,7 @@ module OvirtSDK4
|
|
30
30
|
return @href
|
31
31
|
end
|
32
32
|
|
33
|
-
|
33
|
+
#
|
34
34
|
# Sets the value of the `href` attribute.
|
35
35
|
#
|
36
36
|
# @param value [String]
|
@@ -41,13 +41,13 @@ module OvirtSDK4
|
|
41
41
|
|
42
42
|
end
|
43
43
|
|
44
|
-
|
44
|
+
#
|
45
45
|
# This is the base class for all the struct types.
|
46
46
|
#
|
47
47
|
class Struct
|
48
48
|
include Type
|
49
49
|
|
50
|
-
|
50
|
+
#
|
51
51
|
# Empty constructor.
|
52
52
|
#
|
53
53
|
def initialize(opts = {})
|
@@ -56,7 +56,7 @@ module OvirtSDK4
|
|
56
56
|
|
57
57
|
end
|
58
58
|
|
59
|
-
|
59
|
+
#
|
60
60
|
# This is the base class for all the list types.
|
61
61
|
#
|
62
62
|
class List < Array
|