ovirt-engine-sdk 4.0.7 → 4.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGES.adoc +10 -0
- data/lib/ovirtsdk4/connection.rb +29 -4
- data/lib/ovirtsdk4/readers.rb +8 -0
- data/lib/ovirtsdk4/services.rb +2733 -265
- data/lib/ovirtsdk4/types.rb +43 -0
- data/lib/ovirtsdk4/version.rb +1 -1
- data/lib/ovirtsdk4/writers.rb +2 -0
- metadata +2 -2
data/lib/ovirtsdk4/types.rb
CHANGED
@@ -30010,6 +30010,24 @@ module OvirtSDK4
|
|
30010
30010
|
@image_id = value
|
30011
30011
|
end
|
30012
30012
|
|
30013
|
+
#
|
30014
|
+
# Returns the value of the `initial_size` attribute.
|
30015
|
+
#
|
30016
|
+
# @return [Integer]
|
30017
|
+
#
|
30018
|
+
def initial_size
|
30019
|
+
@initial_size
|
30020
|
+
end
|
30021
|
+
|
30022
|
+
#
|
30023
|
+
# Sets the value of the `initial_size` attribute.
|
30024
|
+
#
|
30025
|
+
# @param value [Integer]
|
30026
|
+
#
|
30027
|
+
def initial_size=(value)
|
30028
|
+
@initial_size = value
|
30029
|
+
end
|
30030
|
+
|
30013
30031
|
#
|
30014
30032
|
# Returns the value of the `instance_type` attribute.
|
30015
30033
|
#
|
@@ -30575,6 +30593,8 @@ module OvirtSDK4
|
|
30575
30593
|
#
|
30576
30594
|
# @option opts [String] :image_id The value of attribute `image_id`.
|
30577
30595
|
#
|
30596
|
+
# @option opts [Integer] :initial_size The value of attribute `initial_size`.
|
30597
|
+
#
|
30578
30598
|
# @option opts [InstanceType, Hash] :instance_type The value of attribute `instance_type`.
|
30579
30599
|
#
|
30580
30600
|
# @option opts [DiskInterface] :interface The value of attribute `interface`.
|
@@ -30635,6 +30655,7 @@ module OvirtSDK4
|
|
30635
30655
|
self.disk_profile = opts[:disk_profile]
|
30636
30656
|
self.format = opts[:format]
|
30637
30657
|
self.image_id = opts[:image_id]
|
30658
|
+
self.initial_size = opts[:initial_size]
|
30638
30659
|
self.interface = opts[:interface]
|
30639
30660
|
self.logical_name = opts[:logical_name]
|
30640
30661
|
self.lun_storage = opts[:lun_storage]
|
@@ -30669,6 +30690,7 @@ module OvirtSDK4
|
|
30669
30690
|
@disk_profile == other.disk_profile &&
|
30670
30691
|
@format == other.format &&
|
30671
30692
|
@image_id == other.image_id &&
|
30693
|
+
@initial_size == other.initial_size &&
|
30672
30694
|
@interface == other.interface &&
|
30673
30695
|
@logical_name == other.logical_name &&
|
30674
30696
|
@lun_storage == other.lun_storage &&
|
@@ -30703,6 +30725,7 @@ module OvirtSDK4
|
|
30703
30725
|
@disk_profile.hash +
|
30704
30726
|
@format.hash +
|
30705
30727
|
@image_id.hash +
|
30728
|
+
@initial_size.hash +
|
30706
30729
|
@interface.hash +
|
30707
30730
|
@logical_name.hash +
|
30708
30731
|
@lun_storage.hash +
|
@@ -31434,6 +31457,24 @@ module OvirtSDK4
|
|
31434
31457
|
@image_id = value
|
31435
31458
|
end
|
31436
31459
|
|
31460
|
+
#
|
31461
|
+
# Returns the value of the `initial_size` attribute.
|
31462
|
+
#
|
31463
|
+
# @return [Integer]
|
31464
|
+
#
|
31465
|
+
def initial_size
|
31466
|
+
@initial_size
|
31467
|
+
end
|
31468
|
+
|
31469
|
+
#
|
31470
|
+
# Sets the value of the `initial_size` attribute.
|
31471
|
+
#
|
31472
|
+
# @param value [Integer]
|
31473
|
+
#
|
31474
|
+
def initial_size=(value)
|
31475
|
+
@initial_size = value
|
31476
|
+
end
|
31477
|
+
|
31437
31478
|
#
|
31438
31479
|
# Returns the value of the `instance_type` attribute.
|
31439
31480
|
#
|
@@ -32001,6 +32042,8 @@ module OvirtSDK4
|
|
32001
32042
|
#
|
32002
32043
|
# @option opts [String] :image_id The value of attribute `image_id`.
|
32003
32044
|
#
|
32045
|
+
# @option opts [Integer] :initial_size The value of attribute `initial_size`.
|
32046
|
+
#
|
32004
32047
|
# @option opts [InstanceType, Hash] :instance_type The value of attribute `instance_type`.
|
32005
32048
|
#
|
32006
32049
|
# @option opts [DiskInterface] :interface The value of attribute `interface`.
|
data/lib/ovirtsdk4/version.rb
CHANGED
data/lib/ovirtsdk4/writers.rb
CHANGED
@@ -1196,6 +1196,7 @@ module OvirtSDK4
|
|
1196
1196
|
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
1197
1197
|
Writer.write_string(writer, 'format', object.format) unless object.format.nil?
|
1198
1198
|
Writer.write_string(writer, 'image_id', object.image_id) unless object.image_id.nil?
|
1199
|
+
Writer.write_integer(writer, 'initial_size', object.initial_size) unless object.initial_size.nil?
|
1199
1200
|
Writer.write_string(writer, 'interface', object.interface) unless object.interface.nil?
|
1200
1201
|
Writer.write_string(writer, 'logical_name', object.logical_name) unless object.logical_name.nil?
|
1201
1202
|
HostStorageWriter.write_one(object.lun_storage, writer, 'lun_storage') unless object.lun_storage.nil?
|
@@ -1327,6 +1328,7 @@ module OvirtSDK4
|
|
1327
1328
|
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
1328
1329
|
Writer.write_string(writer, 'format', object.format) unless object.format.nil?
|
1329
1330
|
Writer.write_string(writer, 'image_id', object.image_id) unless object.image_id.nil?
|
1331
|
+
Writer.write_integer(writer, 'initial_size', object.initial_size) unless object.initial_size.nil?
|
1330
1332
|
Writer.write_string(writer, 'interface', object.interface) unless object.interface.nil?
|
1331
1333
|
Writer.write_string(writer, 'logical_name', object.logical_name) unless object.logical_name.nil?
|
1332
1334
|
HostStorageWriter.write_one(object.lun_storage, writer, 'lun_storage') unless object.lun_storage.nil?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ovirt-engine-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juan Hernandez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|