ovirt-engine-sdk 4.0.0.alpha9 → 4.0.0.alpha10
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/ext/ovirtsdk4c/ov_xml_reader.c +107 -14
- data/ext/ovirtsdk4c/ovirtsdk4c.c +0 -2
- data/lib/ovirtsdk4.rb +0 -1
- data/lib/ovirtsdk4/http.rb +20 -6
- data/lib/ovirtsdk4/reader.rb +168 -0
- data/lib/ovirtsdk4/readers.rb +1023 -1742
- data/lib/ovirtsdk4/services.rb +227 -121
- data/lib/ovirtsdk4/version.rb +1 -1
- data/lib/ovirtsdk4/writer.rb +100 -0
- data/lib/ovirtsdk4/writers.rb +928 -928
- metadata +2 -5
- data/ext/ovirtsdk4c/ov_xml_constants.c +0 -36
- data/ext/ovirtsdk4c/ov_xml_constants.h +0 -26
- data/lib/ovirtsdk4/xml.rb +0 -244
data/lib/ovirtsdk4/version.rb
CHANGED
data/lib/ovirtsdk4/writer.rb
CHANGED
@@ -23,6 +23,106 @@ module OvirtSDK4
|
|
23
23
|
# @api private
|
24
24
|
#
|
25
25
|
class Writer
|
26
|
+
|
27
|
+
##
|
28
|
+
# Writes an element with the given name and string value.
|
29
|
+
#
|
30
|
+
# @param writer [XmlWriter]
|
31
|
+
# @param name [String]
|
32
|
+
# @param text [String]
|
33
|
+
#
|
34
|
+
def self.write_string(writer, name, value)
|
35
|
+
writer.write_element(name, value)
|
36
|
+
end
|
37
|
+
|
38
|
+
##
|
39
|
+
# Converts the given boolean value to an string.
|
40
|
+
#
|
41
|
+
# @param value [Boolean]
|
42
|
+
# @return [String]
|
43
|
+
#
|
44
|
+
def self.render_boolean(value)
|
45
|
+
if value
|
46
|
+
return 'true'
|
47
|
+
else
|
48
|
+
return 'false'
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
##
|
53
|
+
# Writes an element with the given name and boolean value.
|
54
|
+
#
|
55
|
+
# @param writer [XmlWriter]
|
56
|
+
# @param name [String]
|
57
|
+
# @param value [Boolean]
|
58
|
+
#
|
59
|
+
def self.write_boolean(writer, name, value)
|
60
|
+
writer.write_element(name, Writer.render_boolean(value))
|
61
|
+
end
|
62
|
+
|
63
|
+
##
|
64
|
+
# Converts the given integer value to an string.
|
65
|
+
#
|
66
|
+
# @param value [Integer]
|
67
|
+
# @return [String]
|
68
|
+
#
|
69
|
+
def self.render_integer(value)
|
70
|
+
return value.to_s
|
71
|
+
end
|
72
|
+
|
73
|
+
##
|
74
|
+
# Writes an element with the given name and integer value.
|
75
|
+
#
|
76
|
+
# @param writer [XmlWriter]
|
77
|
+
# @param name [String]
|
78
|
+
# @param value [Integer]
|
79
|
+
#
|
80
|
+
def self.write_integer(writer, name, value)
|
81
|
+
writer.write_element(name, Writer.render_integer(value))
|
82
|
+
end
|
83
|
+
|
84
|
+
##
|
85
|
+
# Converts the given decimal value to an string.
|
86
|
+
#
|
87
|
+
# @param value [Fixnum]
|
88
|
+
# @return [String]
|
89
|
+
#
|
90
|
+
def self.render_decimal(value)
|
91
|
+
return value.to_s
|
92
|
+
end
|
93
|
+
|
94
|
+
##
|
95
|
+
# Writes an element with the given name and decimal value.
|
96
|
+
#
|
97
|
+
# @param writer [XmlWriter]
|
98
|
+
# @param name [String]
|
99
|
+
# @param value [Fixnum]
|
100
|
+
#
|
101
|
+
def self.write_decimal(writer, name, value)
|
102
|
+
writer.write_element(name, Writer.render_decimal(value))
|
103
|
+
end
|
104
|
+
|
105
|
+
##
|
106
|
+
# Converts the given date value to an string.
|
107
|
+
#
|
108
|
+
# @param value [DateTime]
|
109
|
+
# @return [String]
|
110
|
+
#
|
111
|
+
def self.render_date(value)
|
112
|
+
return value.xmlschema
|
113
|
+
end
|
114
|
+
|
115
|
+
##
|
116
|
+
# Writes an element with the given name and date value.
|
117
|
+
#
|
118
|
+
# @param writer [XmlWriter]
|
119
|
+
# @param name [String]
|
120
|
+
# @param value [DateTime]
|
121
|
+
#
|
122
|
+
def self.write_date(writer, name, value)
|
123
|
+
writer.write_element(name, Writer.render_date(value))
|
124
|
+
end
|
125
|
+
|
26
126
|
end
|
27
127
|
|
28
128
|
end
|
data/lib/ovirtsdk4/writers.rb
CHANGED
@@ -53,11 +53,11 @@ module OvirtSDK4
|
|
53
53
|
href = object.href
|
54
54
|
writer.write_attribute('href', href) unless href.nil?
|
55
55
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
56
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
57
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
58
|
+
Writer.write_boolean(writer, 'enforcing', object.enforcing) unless object.enforcing.nil?
|
59
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
60
|
+
Writer.write_boolean(writer, 'positive', object.positive) unless object.positive.nil?
|
61
61
|
ClusterWriter.write_one(object.cluster, writer, 'cluster') unless object.cluster.nil?
|
62
62
|
writer.write_end
|
63
63
|
end
|
@@ -86,18 +86,18 @@ module OvirtSDK4
|
|
86
86
|
href = object.href
|
87
87
|
writer.write_attribute('href', href) unless href.nil?
|
88
88
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
89
|
+
Writer.write_string(writer, 'address', object.address) unless object.address.nil?
|
90
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
91
|
+
Writer.write_boolean(writer, 'concurrent', object.concurrent) unless object.concurrent.nil?
|
92
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
93
|
+
Writer.write_boolean(writer, 'encrypt_options', object.encrypt_options) unless object.encrypt_options.nil?
|
94
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
95
95
|
OptionWriter.write_many(object.options, writer, 'option', 'options') unless object.options.nil?
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
96
|
+
Writer.write_integer(writer, 'order', object.order) unless object.order.nil?
|
97
|
+
Writer.write_string(writer, 'password', object.password) unless object.password.nil?
|
98
|
+
Writer.write_integer(writer, 'port', object.port) unless object.port.nil?
|
99
|
+
Writer.write_string(writer, 'type', object.type) unless object.type.nil?
|
100
|
+
Writer.write_string(writer, 'username', object.username) unless object.username.nil?
|
101
101
|
HostWriter.write_one(object.host, writer, 'host') unless object.host.nil?
|
102
102
|
writer.write_end
|
103
103
|
end
|
@@ -125,12 +125,12 @@ module OvirtSDK4
|
|
125
125
|
writer.write_start(singular)
|
126
126
|
href = object.href
|
127
127
|
writer.write_attribute('href', href) unless href.nil?
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
128
|
+
Writer.write_string(writer, 'address', object.address) unless object.address.nil?
|
129
|
+
Writer.write_string(writer, 'broker_type', object.broker_type) unless object.broker_type.nil?
|
130
|
+
Writer.write_string(writer, 'network_mappings', object.network_mappings) unless object.network_mappings.nil?
|
131
|
+
Writer.write_string(writer, 'password', object.password) unless object.password.nil?
|
132
|
+
Writer.write_integer(writer, 'port', object.port) unless object.port.nil?
|
133
|
+
Writer.write_string(writer, 'username', object.username) unless object.username.nil?
|
134
134
|
writer.write_end
|
135
135
|
end
|
136
136
|
|
@@ -160,7 +160,7 @@ module OvirtSDK4
|
|
160
160
|
ProductInfoWriter.write_one(object.product_info, writer, 'product_info') unless object.product_info.nil?
|
161
161
|
SpecialObjectsWriter.write_one(object.special_objects, writer, 'special_objects') unless object.special_objects.nil?
|
162
162
|
ApiSummaryWriter.write_one(object.summary, writer, 'summary') unless object.summary.nil?
|
163
|
-
|
163
|
+
Writer.write_date(writer, 'time', object.time) unless object.time.nil?
|
164
164
|
writer.write_end
|
165
165
|
end
|
166
166
|
|
@@ -217,8 +217,8 @@ module OvirtSDK4
|
|
217
217
|
writer.write_start(singular)
|
218
218
|
href = object.href
|
219
219
|
writer.write_attribute('href', href) unless href.nil?
|
220
|
-
|
221
|
-
|
220
|
+
Writer.write_integer(writer, 'active', object.active) unless object.active.nil?
|
221
|
+
Writer.write_integer(writer, 'total', object.total) unless object.total.nil?
|
222
222
|
writer.write_end
|
223
223
|
end
|
224
224
|
|
@@ -246,9 +246,9 @@ module OvirtSDK4
|
|
246
246
|
href = object.href
|
247
247
|
writer.write_attribute('href', href) unless href.nil?
|
248
248
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
249
|
-
|
250
|
-
|
251
|
-
|
249
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
250
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
251
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
252
252
|
VmWriter.write_one(object.vm, writer, 'vm') unless object.vm.nil?
|
253
253
|
writer.write_end
|
254
254
|
end
|
@@ -277,10 +277,10 @@ module OvirtSDK4
|
|
277
277
|
href = object.href
|
278
278
|
writer.write_attribute('href', href) unless href.nil?
|
279
279
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
280
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
281
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
282
|
+
Writer.write_string(writer, 'key', object.key) unless object.key.nil?
|
283
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
284
284
|
UserWriter.write_one(object.user, writer, 'user') unless object.user.nil?
|
285
285
|
writer.write_end
|
286
286
|
end
|
@@ -309,9 +309,9 @@ module OvirtSDK4
|
|
309
309
|
href = object.href
|
310
310
|
writer.write_attribute('href', href) unless href.nil?
|
311
311
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
312
|
-
|
313
|
-
|
314
|
-
|
312
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
313
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
314
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
315
315
|
SchedulingPolicyWriter.write_one(object.scheduling_policy, writer, 'scheduling_policy') unless object.scheduling_policy.nil?
|
316
316
|
SchedulingPolicyUnitWriter.write_one(object.scheduling_policy_unit, writer, 'scheduling_policy_unit') unless object.scheduling_policy_unit.nil?
|
317
317
|
writer.write_end
|
@@ -423,10 +423,10 @@ module OvirtSDK4
|
|
423
423
|
href = object.href
|
424
424
|
writer.write_attribute('href', href) unless href.nil?
|
425
425
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
426
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
427
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
428
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
429
|
+
Writer.write_string(writer, 'value', object.value) unless object.value.nil?
|
430
430
|
writer.write_end
|
431
431
|
end
|
432
432
|
|
@@ -456,7 +456,7 @@ module OvirtSDK4
|
|
456
456
|
if not object.devices.nil? and not object.devices.empty? then
|
457
457
|
writer.write_start('devices')
|
458
458
|
object.devices.each do |item|
|
459
|
-
|
459
|
+
Writer.write_string(writer, 'device', item) unless item.nil?
|
460
460
|
end
|
461
461
|
writer.end_element
|
462
462
|
end
|
@@ -486,7 +486,7 @@ module OvirtSDK4
|
|
486
486
|
writer.write_start(singular)
|
487
487
|
href = object.href
|
488
488
|
writer.write_attribute('href', href) unless href.nil?
|
489
|
-
|
489
|
+
Writer.write_boolean(writer, 'enabled', object.enabled) unless object.enabled.nil?
|
490
490
|
writer.write_end
|
491
491
|
end
|
492
492
|
|
@@ -542,10 +542,10 @@ module OvirtSDK4
|
|
542
542
|
href = object.href
|
543
543
|
writer.write_attribute('href', href) unless href.nil?
|
544
544
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
545
|
-
|
546
|
-
|
545
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
546
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
547
547
|
FileWriter.write_one(object.file, writer, 'file') unless object.file.nil?
|
548
|
-
|
548
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
549
549
|
InstanceTypeWriter.write_one(object.instance_type, writer, 'instance_type') unless object.instance_type.nil?
|
550
550
|
TemplateWriter.write_one(object.template, writer, 'template') unless object.template.nil?
|
551
551
|
VmWriter.write_one(object.vm, writer, 'vm') unless object.vm.nil?
|
@@ -577,12 +577,12 @@ module OvirtSDK4
|
|
577
577
|
href = object.href
|
578
578
|
writer.write_attribute('href', href) unless href.nil?
|
579
579
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
580
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
581
|
+
Writer.write_string(writer, 'content', object.content) unless object.content.nil?
|
582
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
583
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
584
|
+
Writer.write_string(writer, 'organization', object.organization) unless object.organization.nil?
|
585
|
+
Writer.write_string(writer, 'subject', object.subject) unless object.subject.nil?
|
586
586
|
writer.write_end
|
587
587
|
end
|
588
588
|
|
@@ -613,8 +613,8 @@ module OvirtSDK4
|
|
613
613
|
FileWriter.write_many(object.files, writer, 'file', 'files') unless object.files.nil?
|
614
614
|
HostWriter.write_one(object.host, writer, 'host') unless object.host.nil?
|
615
615
|
NetworkConfigurationWriter.write_one(object.network_configuration, writer, 'network_configuration') unless object.network_configuration.nil?
|
616
|
-
|
617
|
-
|
616
|
+
Writer.write_boolean(writer, 'regenerate_ssh_keys', object.regenerate_ssh_keys) unless object.regenerate_ssh_keys.nil?
|
617
|
+
Writer.write_string(writer, 'timezone', object.timezone) unless object.timezone.nil?
|
618
618
|
UserWriter.write_many(object.users, writer, 'user', 'users') unless object.users.nil?
|
619
619
|
writer.write_end
|
620
620
|
end
|
@@ -643,36 +643,36 @@ module OvirtSDK4
|
|
643
643
|
href = object.href
|
644
644
|
writer.write_attribute('href', href) unless href.nil?
|
645
645
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
646
|
-
|
647
|
-
|
646
|
+
Writer.write_boolean(writer, 'ballooning_enabled', object.ballooning_enabled) unless object.ballooning_enabled.nil?
|
647
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
648
648
|
CpuWriter.write_one(object.cpu, writer, 'cpu') unless object.cpu.nil?
|
649
|
-
|
649
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
650
650
|
DisplayWriter.write_one(object.display, writer, 'display') unless object.display.nil?
|
651
651
|
ErrorHandlingWriter.write_one(object.error_handling, writer, 'error_handling') unless object.error_handling.nil?
|
652
652
|
FencingPolicyWriter.write_one(object.fencing_policy, writer, 'fencing_policy') unless object.fencing_policy.nil?
|
653
|
-
|
654
|
-
|
653
|
+
Writer.write_boolean(writer, 'gluster_service', object.gluster_service) unless object.gluster_service.nil?
|
654
|
+
Writer.write_boolean(writer, 'ha_reservation', object.ha_reservation) unless object.ha_reservation.nil?
|
655
655
|
KsmWriter.write_one(object.ksm, writer, 'ksm') unless object.ksm.nil?
|
656
|
-
|
656
|
+
Writer.write_boolean(writer, 'maintenance_reason_required', object.maintenance_reason_required) unless object.maintenance_reason_required.nil?
|
657
657
|
MemoryPolicyWriter.write_one(object.memory_policy, writer, 'memory_policy') unless object.memory_policy.nil?
|
658
658
|
MigrationOptionsWriter.write_one(object.migration, writer, 'migration') unless object.migration.nil?
|
659
|
-
|
660
|
-
|
659
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
660
|
+
Writer.write_boolean(writer, 'optional_reason', object.optional_reason) unless object.optional_reason.nil?
|
661
661
|
if not object.required_rng_sources.nil? and not object.required_rng_sources.empty? then
|
662
662
|
writer.write_start('required_rng_sources')
|
663
663
|
object.required_rng_sources.each do |item|
|
664
|
-
|
664
|
+
Writer.write_string(writer, 'required_rng_source', item) unless item.nil?
|
665
665
|
end
|
666
666
|
writer.end_element
|
667
667
|
end
|
668
668
|
SchedulingPolicyWriter.write_one(object.scheduling_policy, writer, 'scheduling_policy') unless object.scheduling_policy.nil?
|
669
669
|
SerialNumberWriter.write_one(object.serial_number, writer, 'serial_number') unless object.serial_number.nil?
|
670
670
|
VersionWriter.write_many(object.supported_versions, writer, 'supported_version', 'supported_versions') unless object.supported_versions.nil?
|
671
|
-
|
672
|
-
|
673
|
-
|
671
|
+
Writer.write_boolean(writer, 'threads_as_cores', object.threads_as_cores) unless object.threads_as_cores.nil?
|
672
|
+
Writer.write_boolean(writer, 'trusted_service', object.trusted_service) unless object.trusted_service.nil?
|
673
|
+
Writer.write_boolean(writer, 'tunnel_migration', object.tunnel_migration) unless object.tunnel_migration.nil?
|
674
674
|
VersionWriter.write_one(object.version, writer, 'version') unless object.version.nil?
|
675
|
-
|
675
|
+
Writer.write_boolean(writer, 'virt_service', object.virt_service) unless object.virt_service.nil?
|
676
676
|
DataCenterWriter.write_one(object.data_center, writer, 'data_center') unless object.data_center.nil?
|
677
677
|
MacPoolWriter.write_one(object.mac_pool, writer, 'mac_pool') unless object.mac_pool.nil?
|
678
678
|
NetworkWriter.write_one(object.management_network, writer, 'management_network') unless object.management_network.nil?
|
@@ -702,8 +702,8 @@ module OvirtSDK4
|
|
702
702
|
writer.write_start(singular)
|
703
703
|
href = object.href
|
704
704
|
writer.write_attribute('href', href) unless href.nil?
|
705
|
-
|
706
|
-
|
705
|
+
Writer.write_string(writer, 'data', object.data) unless object.data.nil?
|
706
|
+
Writer.write_string(writer, 'type', object.type) unless object.type.nil?
|
707
707
|
writer.write_end
|
708
708
|
end
|
709
709
|
|
@@ -730,7 +730,7 @@ module OvirtSDK4
|
|
730
730
|
writer.write_start(singular)
|
731
731
|
href = object.href
|
732
732
|
writer.write_attribute('href', href) unless href.nil?
|
733
|
-
|
733
|
+
Writer.write_boolean(writer, 'enabled', object.enabled) unless object.enabled.nil?
|
734
734
|
writer.write_end
|
735
735
|
end
|
736
736
|
|
@@ -757,8 +757,8 @@ module OvirtSDK4
|
|
757
757
|
writer.write_start(singular)
|
758
758
|
href = object.href
|
759
759
|
writer.write_attribute('href', href) unless href.nil?
|
760
|
-
|
761
|
-
|
760
|
+
Writer.write_integer(writer, 'index', object.index) unless object.index.nil?
|
761
|
+
Writer.write_integer(writer, 'socket', object.socket) unless object.socket.nil?
|
762
762
|
writer.write_end
|
763
763
|
end
|
764
764
|
|
@@ -785,15 +785,15 @@ module OvirtSDK4
|
|
785
785
|
writer.write_start(singular)
|
786
786
|
href = object.href
|
787
787
|
writer.write_attribute('href', href) unless href.nil?
|
788
|
-
|
788
|
+
Writer.write_string(writer, 'architecture', object.architecture) unless object.architecture.nil?
|
789
789
|
CoreWriter.write_many(object.cores, writer, 'core', 'cores') unless object.cores.nil?
|
790
790
|
CpuTuneWriter.write_one(object.cpu_tune, writer, 'cpu_tune') unless object.cpu_tune.nil?
|
791
|
-
|
792
|
-
|
793
|
-
|
794
|
-
|
791
|
+
Writer.write_integer(writer, 'level', object.level) unless object.level.nil?
|
792
|
+
Writer.write_string(writer, 'mode', object.mode) unless object.mode.nil?
|
793
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
794
|
+
Writer.write_decimal(writer, 'speed', object.speed) unless object.speed.nil?
|
795
795
|
CpuTopologyWriter.write_one(object.topology, writer, 'topology') unless object.topology.nil?
|
796
|
-
|
796
|
+
Writer.write_string(writer, 'type', object.type) unless object.type.nil?
|
797
797
|
writer.write_end
|
798
798
|
end
|
799
799
|
|
@@ -821,9 +821,9 @@ module OvirtSDK4
|
|
821
821
|
href = object.href
|
822
822
|
writer.write_attribute('href', href) unless href.nil?
|
823
823
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
824
|
-
|
825
|
-
|
826
|
-
|
824
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
825
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
826
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
827
827
|
ClusterWriter.write_one(object.cluster, writer, 'cluster') unless object.cluster.nil?
|
828
828
|
QosWriter.write_one(object.qos, writer, 'qos') unless object.qos.nil?
|
829
829
|
writer.write_end
|
@@ -852,9 +852,9 @@ module OvirtSDK4
|
|
852
852
|
writer.write_start(singular)
|
853
853
|
href = object.href
|
854
854
|
writer.write_attribute('href', href) unless href.nil?
|
855
|
-
|
856
|
-
|
857
|
-
|
855
|
+
Writer.write_integer(writer, 'cores', object.cores) unless object.cores.nil?
|
856
|
+
Writer.write_integer(writer, 'sockets', object.sockets) unless object.sockets.nil?
|
857
|
+
Writer.write_integer(writer, 'threads', object.threads) unless object.threads.nil?
|
858
858
|
writer.write_end
|
859
859
|
end
|
860
860
|
|
@@ -908,9 +908,9 @@ module OvirtSDK4
|
|
908
908
|
writer.write_start(singular)
|
909
909
|
href = object.href
|
910
910
|
writer.write_attribute('href', href) unless href.nil?
|
911
|
-
|
912
|
-
|
913
|
-
|
911
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
912
|
+
Writer.write_string(writer, 'regexp', object.regexp) unless object.regexp.nil?
|
913
|
+
Writer.write_string(writer, 'value', object.value) unless object.value.nil?
|
914
914
|
writer.write_end
|
915
915
|
end
|
916
916
|
|
@@ -938,13 +938,13 @@ module OvirtSDK4
|
|
938
938
|
href = object.href
|
939
939
|
writer.write_attribute('href', href) unless href.nil?
|
940
940
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
941
|
-
|
942
|
-
|
943
|
-
|
944
|
-
|
945
|
-
|
941
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
942
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
943
|
+
Writer.write_boolean(writer, 'local', object.local) unless object.local.nil?
|
944
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
945
|
+
Writer.write_string(writer, 'quota_mode', object.quota_mode) unless object.quota_mode.nil?
|
946
946
|
StatusWriter.write_one(object.status, writer, 'status') unless object.status.nil?
|
947
|
-
|
947
|
+
Writer.write_string(writer, 'storage_format', object.storage_format) unless object.storage_format.nil?
|
948
948
|
VersionWriter.write_many(object.supported_versions, writer, 'supported_version', 'supported_versions') unless object.supported_versions.nil?
|
949
949
|
VersionWriter.write_one(object.version, writer, 'version') unless object.version.nil?
|
950
950
|
MacPoolWriter.write_one(object.mac_pool, writer, 'mac_pool') unless object.mac_pool.nil?
|
@@ -975,9 +975,9 @@ module OvirtSDK4
|
|
975
975
|
href = object.href
|
976
976
|
writer.write_attribute('href', href) unless href.nil?
|
977
977
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
978
|
-
|
979
|
-
|
980
|
-
|
978
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
979
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
980
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
981
981
|
InstanceTypeWriter.write_one(object.instance_type, writer, 'instance_type') unless object.instance_type.nil?
|
982
982
|
TemplateWriter.write_one(object.template, writer, 'template') unless object.template.nil?
|
983
983
|
VmWriter.write_one(object.vm, writer, 'vm') unless object.vm.nil?
|
@@ -1009,29 +1009,29 @@ module OvirtSDK4
|
|
1009
1009
|
href = object.href
|
1010
1010
|
writer.write_attribute('href', href) unless href.nil?
|
1011
1011
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
1012
|
-
|
1013
|
-
|
1014
|
-
|
1015
|
-
|
1016
|
-
|
1017
|
-
|
1018
|
-
|
1019
|
-
|
1020
|
-
|
1021
|
-
|
1012
|
+
Writer.write_boolean(writer, 'active', object.active) unless object.active.nil?
|
1013
|
+
Writer.write_integer(writer, 'actual_size', object.actual_size) unless object.actual_size.nil?
|
1014
|
+
Writer.write_string(writer, 'alias', object.alias_) unless object.alias_.nil?
|
1015
|
+
Writer.write_boolean(writer, 'bootable', object.bootable) unless object.bootable.nil?
|
1016
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
1017
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
1018
|
+
Writer.write_string(writer, 'format', object.format) unless object.format.nil?
|
1019
|
+
Writer.write_string(writer, 'image_id', object.image_id) unless object.image_id.nil?
|
1020
|
+
Writer.write_string(writer, 'interface', object.interface) unless object.interface.nil?
|
1021
|
+
Writer.write_string(writer, 'logical_name', object.logical_name) unless object.logical_name.nil?
|
1022
1022
|
HostStorageWriter.write_one(object.lun_storage, writer, 'lun_storage') unless object.lun_storage.nil?
|
1023
|
-
|
1024
|
-
|
1025
|
-
|
1026
|
-
|
1027
|
-
|
1028
|
-
|
1029
|
-
|
1023
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
1024
|
+
Writer.write_boolean(writer, 'propagate_errors', object.propagate_errors) unless object.propagate_errors.nil?
|
1025
|
+
Writer.write_integer(writer, 'provisioned_size', object.provisioned_size) unless object.provisioned_size.nil?
|
1026
|
+
Writer.write_boolean(writer, 'read_only', object.read_only) unless object.read_only.nil?
|
1027
|
+
Writer.write_string(writer, 'sgio', object.sgio) unless object.sgio.nil?
|
1028
|
+
Writer.write_boolean(writer, 'shareable', object.shareable) unless object.shareable.nil?
|
1029
|
+
Writer.write_boolean(writer, 'sparse', object.sparse) unless object.sparse.nil?
|
1030
1030
|
StatisticWriter.write_many(object.statistics, writer, 'statistic', 'statistics') unless object.statistics.nil?
|
1031
1031
|
StatusWriter.write_one(object.status, writer, 'status') unless object.status.nil?
|
1032
|
-
|
1033
|
-
|
1034
|
-
|
1032
|
+
Writer.write_string(writer, 'storage_type', object.storage_type) unless object.storage_type.nil?
|
1033
|
+
Writer.write_boolean(writer, 'uses_scsi_reservation', object.uses_scsi_reservation) unless object.uses_scsi_reservation.nil?
|
1034
|
+
Writer.write_boolean(writer, 'wipe_after_delete', object.wipe_after_delete) unless object.wipe_after_delete.nil?
|
1035
1035
|
DiskProfileWriter.write_one(object.disk_profile, writer, 'disk_profile') unless object.disk_profile.nil?
|
1036
1036
|
InstanceTypeWriter.write_one(object.instance_type, writer, 'instance_type') unless object.instance_type.nil?
|
1037
1037
|
OpenStackVolumeTypeWriter.write_one(object.openstack_volume_type, writer, 'openstack_volume_type') unless object.openstack_volume_type.nil?
|
@@ -1069,9 +1069,9 @@ module OvirtSDK4
|
|
1069
1069
|
href = object.href
|
1070
1070
|
writer.write_attribute('href', href) unless href.nil?
|
1071
1071
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
1072
|
-
|
1073
|
-
|
1074
|
-
|
1072
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
1073
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
1074
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
1075
1075
|
QosWriter.write_one(object.qos, writer, 'qos') unless object.qos.nil?
|
1076
1076
|
StorageDomainWriter.write_one(object.storage_domain, writer, 'storage_domain') unless object.storage_domain.nil?
|
1077
1077
|
writer.write_end
|
@@ -1101,29 +1101,29 @@ module OvirtSDK4
|
|
1101
1101
|
href = object.href
|
1102
1102
|
writer.write_attribute('href', href) unless href.nil?
|
1103
1103
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
1104
|
-
|
1105
|
-
|
1106
|
-
|
1107
|
-
|
1108
|
-
|
1109
|
-
|
1110
|
-
|
1111
|
-
|
1112
|
-
|
1113
|
-
|
1104
|
+
Writer.write_boolean(writer, 'active', object.active) unless object.active.nil?
|
1105
|
+
Writer.write_integer(writer, 'actual_size', object.actual_size) unless object.actual_size.nil?
|
1106
|
+
Writer.write_string(writer, 'alias', object.alias_) unless object.alias_.nil?
|
1107
|
+
Writer.write_boolean(writer, 'bootable', object.bootable) unless object.bootable.nil?
|
1108
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
1109
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
1110
|
+
Writer.write_string(writer, 'format', object.format) unless object.format.nil?
|
1111
|
+
Writer.write_string(writer, 'image_id', object.image_id) unless object.image_id.nil?
|
1112
|
+
Writer.write_string(writer, 'interface', object.interface) unless object.interface.nil?
|
1113
|
+
Writer.write_string(writer, 'logical_name', object.logical_name) unless object.logical_name.nil?
|
1114
1114
|
HostStorageWriter.write_one(object.lun_storage, writer, 'lun_storage') unless object.lun_storage.nil?
|
1115
|
-
|
1116
|
-
|
1117
|
-
|
1118
|
-
|
1119
|
-
|
1120
|
-
|
1121
|
-
|
1115
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
1116
|
+
Writer.write_boolean(writer, 'propagate_errors', object.propagate_errors) unless object.propagate_errors.nil?
|
1117
|
+
Writer.write_integer(writer, 'provisioned_size', object.provisioned_size) unless object.provisioned_size.nil?
|
1118
|
+
Writer.write_boolean(writer, 'read_only', object.read_only) unless object.read_only.nil?
|
1119
|
+
Writer.write_string(writer, 'sgio', object.sgio) unless object.sgio.nil?
|
1120
|
+
Writer.write_boolean(writer, 'shareable', object.shareable) unless object.shareable.nil?
|
1121
|
+
Writer.write_boolean(writer, 'sparse', object.sparse) unless object.sparse.nil?
|
1122
1122
|
StatisticWriter.write_many(object.statistics, writer, 'statistic', 'statistics') unless object.statistics.nil?
|
1123
1123
|
StatusWriter.write_one(object.status, writer, 'status') unless object.status.nil?
|
1124
|
-
|
1125
|
-
|
1126
|
-
|
1124
|
+
Writer.write_string(writer, 'storage_type', object.storage_type) unless object.storage_type.nil?
|
1125
|
+
Writer.write_boolean(writer, 'uses_scsi_reservation', object.uses_scsi_reservation) unless object.uses_scsi_reservation.nil?
|
1126
|
+
Writer.write_boolean(writer, 'wipe_after_delete', object.wipe_after_delete) unless object.wipe_after_delete.nil?
|
1127
1127
|
DiskWriter.write_one(object.disk, writer, 'disk') unless object.disk.nil?
|
1128
1128
|
DiskProfileWriter.write_one(object.disk_profile, writer, 'disk_profile') unless object.disk_profile.nil?
|
1129
1129
|
InstanceTypeWriter.write_one(object.instance_type, writer, 'instance_type') unless object.instance_type.nil?
|
@@ -1161,20 +1161,20 @@ module OvirtSDK4
|
|
1161
1161
|
writer.write_start(singular)
|
1162
1162
|
href = object.href
|
1163
1163
|
writer.write_attribute('href', href) unless href.nil?
|
1164
|
-
|
1165
|
-
|
1164
|
+
Writer.write_string(writer, 'address', object.address) unless object.address.nil?
|
1165
|
+
Writer.write_boolean(writer, 'allow_override', object.allow_override) unless object.allow_override.nil?
|
1166
1166
|
CertificateWriter.write_one(object.certificate, writer, 'certificate') unless object.certificate.nil?
|
1167
|
-
|
1168
|
-
|
1169
|
-
|
1170
|
-
|
1171
|
-
|
1172
|
-
|
1173
|
-
|
1174
|
-
|
1175
|
-
|
1176
|
-
|
1177
|
-
|
1167
|
+
Writer.write_boolean(writer, 'copy_paste_enabled', object.copy_paste_enabled) unless object.copy_paste_enabled.nil?
|
1168
|
+
Writer.write_string(writer, 'disconnect_action', object.disconnect_action) unless object.disconnect_action.nil?
|
1169
|
+
Writer.write_boolean(writer, 'file_transfer_enabled', object.file_transfer_enabled) unless object.file_transfer_enabled.nil?
|
1170
|
+
Writer.write_string(writer, 'keyboard_layout', object.keyboard_layout) unless object.keyboard_layout.nil?
|
1171
|
+
Writer.write_integer(writer, 'monitors', object.monitors) unless object.monitors.nil?
|
1172
|
+
Writer.write_integer(writer, 'port', object.port) unless object.port.nil?
|
1173
|
+
Writer.write_string(writer, 'proxy', object.proxy) unless object.proxy.nil?
|
1174
|
+
Writer.write_integer(writer, 'secure_port', object.secure_port) unless object.secure_port.nil?
|
1175
|
+
Writer.write_boolean(writer, 'single_qxl_pci', object.single_qxl_pci) unless object.single_qxl_pci.nil?
|
1176
|
+
Writer.write_boolean(writer, 'smartcard_enabled', object.smartcard_enabled) unless object.smartcard_enabled.nil?
|
1177
|
+
Writer.write_string(writer, 'type', object.type) unless object.type.nil?
|
1178
1178
|
writer.write_end
|
1179
1179
|
end
|
1180
1180
|
|
@@ -1230,9 +1230,9 @@ module OvirtSDK4
|
|
1230
1230
|
href = object.href
|
1231
1231
|
writer.write_attribute('href', href) unless href.nil?
|
1232
1232
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
1233
|
-
|
1234
|
-
|
1235
|
-
|
1233
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
1234
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
1235
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
1236
1236
|
UserWriter.write_one(object.user, writer, 'user') unless object.user.nil?
|
1237
1237
|
writer.write_end
|
1238
1238
|
end
|
@@ -1287,7 +1287,7 @@ module OvirtSDK4
|
|
1287
1287
|
writer.write_start(singular)
|
1288
1288
|
href = object.href
|
1289
1289
|
writer.write_attribute('href', href) unless href.nil?
|
1290
|
-
|
1290
|
+
Writer.write_string(writer, 'on_error', object.on_error) unless object.on_error.nil?
|
1291
1291
|
writer.write_end
|
1292
1292
|
end
|
1293
1293
|
|
@@ -1315,17 +1315,17 @@ module OvirtSDK4
|
|
1315
1315
|
href = object.href
|
1316
1316
|
writer.write_attribute('href', href) unless href.nil?
|
1317
1317
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
1318
|
-
|
1319
|
-
|
1320
|
-
|
1321
|
-
|
1322
|
-
|
1323
|
-
|
1324
|
-
|
1325
|
-
|
1326
|
-
|
1327
|
-
|
1328
|
-
|
1318
|
+
Writer.write_integer(writer, 'code', object.code) unless object.code.nil?
|
1319
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
1320
|
+
Writer.write_string(writer, 'correlation_id', object.correlation_id) unless object.correlation_id.nil?
|
1321
|
+
Writer.write_string(writer, 'custom_data', object.custom_data) unless object.custom_data.nil?
|
1322
|
+
Writer.write_integer(writer, 'custom_id', object.custom_id) unless object.custom_id.nil?
|
1323
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
1324
|
+
Writer.write_integer(writer, 'flood_rate', object.flood_rate) unless object.flood_rate.nil?
|
1325
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
1326
|
+
Writer.write_string(writer, 'origin', object.origin) unless object.origin.nil?
|
1327
|
+
Writer.write_string(writer, 'severity', object.severity) unless object.severity.nil?
|
1328
|
+
Writer.write_date(writer, 'time', object.time) unless object.time.nil?
|
1329
1329
|
ClusterWriter.write_one(object.cluster, writer, 'cluster') unless object.cluster.nil?
|
1330
1330
|
DataCenterWriter.write_one(object.data_center, writer, 'data_center') unless object.data_center.nil?
|
1331
1331
|
HostWriter.write_one(object.host, writer, 'host') unless object.host.nil?
|
@@ -1360,12 +1360,12 @@ module OvirtSDK4
|
|
1360
1360
|
href = object.href
|
1361
1361
|
writer.write_attribute('href', href) unless href.nil?
|
1362
1362
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
1363
|
-
|
1364
|
-
|
1365
|
-
|
1366
|
-
|
1367
|
-
|
1368
|
-
|
1363
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
1364
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
1365
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
1366
|
+
Writer.write_string(writer, 'provider', object.provider) unless object.provider.nil?
|
1367
|
+
Writer.write_string(writer, 'url', object.url) unless object.url.nil?
|
1368
|
+
Writer.write_string(writer, 'user', object.user) unless object.user.nil?
|
1369
1369
|
ExternalHostProviderWriter.write_one(object.external_host_provider, writer, 'external_host_provider') unless object.external_host_provider.nil?
|
1370
1370
|
writer.write_end
|
1371
1371
|
end
|
@@ -1394,13 +1394,13 @@ module OvirtSDK4
|
|
1394
1394
|
href = object.href
|
1395
1395
|
writer.write_attribute('href', href) unless href.nil?
|
1396
1396
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
1397
|
-
|
1398
|
-
|
1399
|
-
|
1400
|
-
|
1401
|
-
|
1402
|
-
|
1403
|
-
|
1397
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
1398
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
1399
|
+
Writer.write_string(writer, 'ip', object.ip) unless object.ip.nil?
|
1400
|
+
Writer.write_string(writer, 'last_report', object.last_report) unless object.last_report.nil?
|
1401
|
+
Writer.write_string(writer, 'mac', object.mac) unless object.mac.nil?
|
1402
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
1403
|
+
Writer.write_string(writer, 'subnet_name', object.subnet_name) unless object.subnet_name.nil?
|
1404
1404
|
ExternalHostProviderWriter.write_one(object.external_host_provider, writer, 'external_host_provider') unless object.external_host_provider.nil?
|
1405
1405
|
writer.write_end
|
1406
1406
|
end
|
@@ -1429,10 +1429,10 @@ module OvirtSDK4
|
|
1429
1429
|
href = object.href
|
1430
1430
|
writer.write_attribute('href', href) unless href.nil?
|
1431
1431
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
1432
|
-
|
1433
|
-
|
1434
|
-
|
1435
|
-
|
1432
|
+
Writer.write_string(writer, 'address', object.address) unless object.address.nil?
|
1433
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
1434
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
1435
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
1436
1436
|
ExternalHostProviderWriter.write_one(object.external_host_provider, writer, 'external_host_provider') unless object.external_host_provider.nil?
|
1437
1437
|
writer.write_end
|
1438
1438
|
end
|
@@ -1461,13 +1461,13 @@ module OvirtSDK4
|
|
1461
1461
|
href = object.href
|
1462
1462
|
writer.write_attribute('href', href) unless href.nil?
|
1463
1463
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
1464
|
-
|
1465
|
-
|
1466
|
-
|
1467
|
-
|
1468
|
-
|
1469
|
-
|
1470
|
-
|
1464
|
+
Writer.write_string(writer, 'architecture_name', object.architecture_name) unless object.architecture_name.nil?
|
1465
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
1466
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
1467
|
+
Writer.write_string(writer, 'domain_name', object.domain_name) unless object.domain_name.nil?
|
1468
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
1469
|
+
Writer.write_string(writer, 'operating_system_name', object.operating_system_name) unless object.operating_system_name.nil?
|
1470
|
+
Writer.write_string(writer, 'subnet_name', object.subnet_name) unless object.subnet_name.nil?
|
1471
1471
|
ExternalHostProviderWriter.write_one(object.external_host_provider, writer, 'external_host_provider') unless object.external_host_provider.nil?
|
1472
1472
|
writer.write_end
|
1473
1473
|
end
|
@@ -1496,15 +1496,15 @@ module OvirtSDK4
|
|
1496
1496
|
href = object.href
|
1497
1497
|
writer.write_attribute('href', href) unless href.nil?
|
1498
1498
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
1499
|
-
|
1500
|
-
|
1501
|
-
|
1502
|
-
|
1503
|
-
|
1499
|
+
Writer.write_string(writer, 'authentication_url', object.authentication_url) unless object.authentication_url.nil?
|
1500
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
1501
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
1502
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
1503
|
+
Writer.write_string(writer, 'password', object.password) unless object.password.nil?
|
1504
1504
|
PropertyWriter.write_many(object.properties, writer, 'property', 'properties') unless object.properties.nil?
|
1505
|
-
|
1506
|
-
|
1507
|
-
|
1505
|
+
Writer.write_boolean(writer, 'requires_authentication', object.requires_authentication) unless object.requires_authentication.nil?
|
1506
|
+
Writer.write_string(writer, 'url', object.url) unless object.url.nil?
|
1507
|
+
Writer.write_string(writer, 'username', object.username) unless object.username.nil?
|
1508
1508
|
writer.write_end
|
1509
1509
|
end
|
1510
1510
|
|
@@ -1532,15 +1532,15 @@ module OvirtSDK4
|
|
1532
1532
|
href = object.href
|
1533
1533
|
writer.write_attribute('href', href) unless href.nil?
|
1534
1534
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
1535
|
-
|
1536
|
-
|
1537
|
-
|
1538
|
-
|
1539
|
-
|
1535
|
+
Writer.write_string(writer, 'authentication_url', object.authentication_url) unless object.authentication_url.nil?
|
1536
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
1537
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
1538
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
1539
|
+
Writer.write_string(writer, 'password', object.password) unless object.password.nil?
|
1540
1540
|
PropertyWriter.write_many(object.properties, writer, 'property', 'properties') unless object.properties.nil?
|
1541
|
-
|
1542
|
-
|
1543
|
-
|
1541
|
+
Writer.write_boolean(writer, 'requires_authentication', object.requires_authentication) unless object.requires_authentication.nil?
|
1542
|
+
Writer.write_string(writer, 'url', object.url) unless object.url.nil?
|
1543
|
+
Writer.write_string(writer, 'username', object.username) unless object.username.nil?
|
1544
1544
|
writer.write_end
|
1545
1545
|
end
|
1546
1546
|
|
@@ -1567,8 +1567,8 @@ module OvirtSDK4
|
|
1567
1567
|
writer.write_start(singular)
|
1568
1568
|
href = object.href
|
1569
1569
|
writer.write_attribute('href', href) unless href.nil?
|
1570
|
-
|
1571
|
-
|
1570
|
+
Writer.write_string(writer, 'detail', object.detail) unless object.detail.nil?
|
1571
|
+
Writer.write_string(writer, 'reason', object.reason) unless object.reason.nil?
|
1572
1572
|
writer.write_end
|
1573
1573
|
end
|
1574
1574
|
|
@@ -1595,7 +1595,7 @@ module OvirtSDK4
|
|
1595
1595
|
writer.write_start(singular)
|
1596
1596
|
href = object.href
|
1597
1597
|
writer.write_attribute('href', href) unless href.nil?
|
1598
|
-
|
1598
|
+
Writer.write_boolean(writer, 'enabled', object.enabled) unless object.enabled.nil?
|
1599
1599
|
SkipIfConnectivityBrokenWriter.write_one(object.skip_if_connectivity_broken, writer, 'skip_if_connectivity_broken') unless object.skip_if_connectivity_broken.nil?
|
1600
1600
|
SkipIfSdActiveWriter.write_one(object.skip_if_sd_active, writer, 'skip_if_sd_active') unless object.skip_if_sd_active.nil?
|
1601
1601
|
writer.write_end
|
@@ -1625,11 +1625,11 @@ module OvirtSDK4
|
|
1625
1625
|
href = object.href
|
1626
1626
|
writer.write_attribute('href', href) unless href.nil?
|
1627
1627
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
1628
|
-
|
1629
|
-
|
1630
|
-
|
1631
|
-
|
1632
|
-
|
1628
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
1629
|
+
Writer.write_string(writer, 'content', object.content) unless object.content.nil?
|
1630
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
1631
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
1632
|
+
Writer.write_string(writer, 'type', object.type) unless object.type.nil?
|
1633
1633
|
StorageDomainWriter.write_one(object.storage_domain, writer, 'storage_domain') unless object.storage_domain.nil?
|
1634
1634
|
writer.write_end
|
1635
1635
|
end
|
@@ -1658,10 +1658,10 @@ module OvirtSDK4
|
|
1658
1658
|
href = object.href
|
1659
1659
|
writer.write_attribute('href', href) unless href.nil?
|
1660
1660
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
1661
|
-
|
1662
|
-
|
1663
|
-
|
1664
|
-
|
1661
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
1662
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
1663
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
1664
|
+
Writer.write_integer(writer, 'position', object.position) unless object.position.nil?
|
1665
1665
|
SchedulingPolicyUnitWriter.write_one(object.scheduling_policy_unit, writer, 'scheduling_policy_unit') unless object.scheduling_policy_unit.nil?
|
1666
1666
|
writer.write_end
|
1667
1667
|
end
|
@@ -1690,10 +1690,10 @@ module OvirtSDK4
|
|
1690
1690
|
href = object.href
|
1691
1691
|
writer.write_attribute('href', href) unless href.nil?
|
1692
1692
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
1693
|
-
|
1694
|
-
|
1693
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
1694
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
1695
1695
|
FileWriter.write_one(object.file, writer, 'file') unless object.file.nil?
|
1696
|
-
|
1696
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
1697
1697
|
InstanceTypeWriter.write_one(object.instance_type, writer, 'instance_type') unless object.instance_type.nil?
|
1698
1698
|
TemplateWriter.write_one(object.template, writer, 'template') unless object.template.nil?
|
1699
1699
|
VmWriter.write_one(object.vm, writer, 'vm') unless object.vm.nil?
|
@@ -1724,7 +1724,7 @@ module OvirtSDK4
|
|
1724
1724
|
writer.write_start(singular)
|
1725
1725
|
href = object.href
|
1726
1726
|
writer.write_attribute('href', href) unless href.nil?
|
1727
|
-
|
1727
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
1728
1728
|
StatisticWriter.write_many(object.statistics, writer, 'statistic', 'statistics') unless object.statistics.nil?
|
1729
1729
|
writer.write_end
|
1730
1730
|
end
|
@@ -1753,18 +1753,18 @@ module OvirtSDK4
|
|
1753
1753
|
href = object.href
|
1754
1754
|
writer.write_attribute('href', href) unless href.nil?
|
1755
1755
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
1756
|
-
|
1757
|
-
|
1758
|
-
|
1759
|
-
|
1760
|
-
|
1756
|
+
Writer.write_string(writer, 'brick_dir', object.brick_dir) unless object.brick_dir.nil?
|
1757
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
1758
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
1759
|
+
Writer.write_string(writer, 'device', object.device) unless object.device.nil?
|
1760
|
+
Writer.write_string(writer, 'fs_name', object.fs_name) unless object.fs_name.nil?
|
1761
1761
|
GlusterClientWriter.write_many(object.gluster_clients, writer, 'gluster_client', 'gluster_clients') unless object.gluster_clients.nil?
|
1762
1762
|
GlusterMemoryPoolWriter.write_many(object.memory_pools, writer, 'memory_pool', 'memory_pools') unless object.memory_pools.nil?
|
1763
|
-
|
1764
|
-
|
1765
|
-
|
1766
|
-
|
1767
|
-
|
1763
|
+
Writer.write_string(writer, 'mnt_options', object.mnt_options) unless object.mnt_options.nil?
|
1764
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
1765
|
+
Writer.write_integer(writer, 'pid', object.pid) unless object.pid.nil?
|
1766
|
+
Writer.write_integer(writer, 'port', object.port) unless object.port.nil?
|
1767
|
+
Writer.write_string(writer, 'server_id', object.server_id) unless object.server_id.nil?
|
1768
1768
|
StatusWriter.write_one(object.status, writer, 'status') unless object.status.nil?
|
1769
1769
|
GlusterVolumeWriter.write_one(object.gluster_volume, writer, 'gluster_volume') unless object.gluster_volume.nil?
|
1770
1770
|
InstanceTypeWriter.write_one(object.instance_type, writer, 'instance_type') unless object.instance_type.nil?
|
@@ -1798,16 +1798,16 @@ module OvirtSDK4
|
|
1798
1798
|
href = object.href
|
1799
1799
|
writer.write_attribute('href', href) unless href.nil?
|
1800
1800
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
1801
|
-
|
1802
|
-
|
1803
|
-
|
1804
|
-
|
1801
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
1802
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
1803
|
+
Writer.write_string(writer, 'device', object.device) unless object.device.nil?
|
1804
|
+
Writer.write_string(writer, 'fs_name', object.fs_name) unless object.fs_name.nil?
|
1805
1805
|
GlusterClientWriter.write_many(object.gluster_clients, writer, 'gluster_client', 'gluster_clients') unless object.gluster_clients.nil?
|
1806
1806
|
GlusterMemoryPoolWriter.write_many(object.memory_pools, writer, 'memory_pool', 'memory_pools') unless object.memory_pools.nil?
|
1807
|
-
|
1808
|
-
|
1809
|
-
|
1810
|
-
|
1807
|
+
Writer.write_string(writer, 'mnt_options', object.mnt_options) unless object.mnt_options.nil?
|
1808
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
1809
|
+
Writer.write_integer(writer, 'pid', object.pid) unless object.pid.nil?
|
1810
|
+
Writer.write_integer(writer, 'port', object.port) unless object.port.nil?
|
1811
1811
|
InstanceTypeWriter.write_one(object.instance_type, writer, 'instance_type') unless object.instance_type.nil?
|
1812
1812
|
TemplateWriter.write_one(object.template, writer, 'template') unless object.template.nil?
|
1813
1813
|
VmWriter.write_one(object.vm, writer, 'vm') unless object.vm.nil?
|
@@ -1865,10 +1865,10 @@ module OvirtSDK4
|
|
1865
1865
|
writer.write_start(singular)
|
1866
1866
|
href = object.href
|
1867
1867
|
writer.write_attribute('href', href) unless href.nil?
|
1868
|
-
|
1869
|
-
|
1870
|
-
|
1871
|
-
|
1868
|
+
Writer.write_integer(writer, 'bytes_read', object.bytes_read) unless object.bytes_read.nil?
|
1869
|
+
Writer.write_integer(writer, 'bytes_written', object.bytes_written) unless object.bytes_written.nil?
|
1870
|
+
Writer.write_integer(writer, 'client_port', object.client_port) unless object.client_port.nil?
|
1871
|
+
Writer.write_string(writer, 'host_name', object.host_name) unless object.host_name.nil?
|
1872
1872
|
writer.write_end
|
1873
1873
|
end
|
1874
1874
|
|
@@ -1896,16 +1896,16 @@ module OvirtSDK4
|
|
1896
1896
|
href = object.href
|
1897
1897
|
writer.write_attribute('href', href) unless href.nil?
|
1898
1898
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
1899
|
-
|
1900
|
-
|
1901
|
-
|
1902
|
-
|
1903
|
-
|
1904
|
-
|
1905
|
-
|
1906
|
-
|
1907
|
-
|
1908
|
-
|
1899
|
+
Writer.write_string(writer, 'checksum', object.checksum) unless object.checksum.nil?
|
1900
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
1901
|
+
Writer.write_integer(writer, 'conflict_status', object.conflict_status) unless object.conflict_status.nil?
|
1902
|
+
Writer.write_string(writer, 'conflicts', object.conflicts) unless object.conflicts.nil?
|
1903
|
+
Writer.write_string(writer, 'content', object.content) unless object.content.nil?
|
1904
|
+
Writer.write_string(writer, 'content_type', object.content_type) unless object.content_type.nil?
|
1905
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
1906
|
+
Writer.write_string(writer, 'gluster_command', object.gluster_command) unless object.gluster_command.nil?
|
1907
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
1908
|
+
Writer.write_string(writer, 'stage', object.stage) unless object.stage.nil?
|
1909
1909
|
StatusWriter.write_one(object.status, writer, 'status') unless object.status.nil?
|
1910
1910
|
ClusterWriter.write_one(object.cluster, writer, 'cluster') unless object.cluster.nil?
|
1911
1911
|
GlusterServerHookWriter.write_many(object.server_hooks, writer, 'server_hook', 'server_hooks') unless object.server_hooks.nil?
|
@@ -1936,17 +1936,17 @@ module OvirtSDK4
|
|
1936
1936
|
href = object.href
|
1937
1937
|
writer.write_attribute('href', href) unless href.nil?
|
1938
1938
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
1939
|
-
|
1940
|
-
|
1941
|
-
|
1942
|
-
|
1943
|
-
|
1944
|
-
|
1945
|
-
|
1946
|
-
|
1947
|
-
|
1948
|
-
|
1949
|
-
|
1939
|
+
Writer.write_integer(writer, 'alloc_count', object.alloc_count) unless object.alloc_count.nil?
|
1940
|
+
Writer.write_integer(writer, 'cold_count', object.cold_count) unless object.cold_count.nil?
|
1941
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
1942
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
1943
|
+
Writer.write_integer(writer, 'hot_count', object.hot_count) unless object.hot_count.nil?
|
1944
|
+
Writer.write_integer(writer, 'max_alloc', object.max_alloc) unless object.max_alloc.nil?
|
1945
|
+
Writer.write_integer(writer, 'max_stdalloc', object.max_stdalloc) unless object.max_stdalloc.nil?
|
1946
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
1947
|
+
Writer.write_integer(writer, 'padded_size', object.padded_size) unless object.padded_size.nil?
|
1948
|
+
Writer.write_integer(writer, 'pool_misses', object.pool_misses) unless object.pool_misses.nil?
|
1949
|
+
Writer.write_string(writer, 'type', object.type) unless object.type.nil?
|
1950
1950
|
writer.write_end
|
1951
1951
|
end
|
1952
1952
|
|
@@ -1974,11 +1974,11 @@ module OvirtSDK4
|
|
1974
1974
|
href = object.href
|
1975
1975
|
writer.write_attribute('href', href) unless href.nil?
|
1976
1976
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
1977
|
-
|
1978
|
-
|
1979
|
-
|
1980
|
-
|
1981
|
-
|
1977
|
+
Writer.write_string(writer, 'checksum', object.checksum) unless object.checksum.nil?
|
1978
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
1979
|
+
Writer.write_string(writer, 'content_type', object.content_type) unless object.content_type.nil?
|
1980
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
1981
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
1982
1982
|
StatusWriter.write_one(object.status, writer, 'status') unless object.status.nil?
|
1983
1983
|
HostWriter.write_one(object.host, writer, 'host') unless object.host.nil?
|
1984
1984
|
writer.write_end
|
@@ -2008,23 +2008,23 @@ module OvirtSDK4
|
|
2008
2008
|
href = object.href
|
2009
2009
|
writer.write_attribute('href', href) unless href.nil?
|
2010
2010
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
2011
|
-
|
2012
|
-
|
2013
|
-
|
2014
|
-
|
2011
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
2012
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
2013
|
+
Writer.write_integer(writer, 'disperse_count', object.disperse_count) unless object.disperse_count.nil?
|
2014
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
2015
2015
|
OptionWriter.write_many(object.options, writer, 'option', 'options') unless object.options.nil?
|
2016
|
-
|
2017
|
-
|
2016
|
+
Writer.write_integer(writer, 'redundancy_count', object.redundancy_count) unless object.redundancy_count.nil?
|
2017
|
+
Writer.write_integer(writer, 'replica_count', object.replica_count) unless object.replica_count.nil?
|
2018
2018
|
StatusWriter.write_one(object.status, writer, 'status') unless object.status.nil?
|
2019
|
-
|
2019
|
+
Writer.write_integer(writer, 'stripe_count', object.stripe_count) unless object.stripe_count.nil?
|
2020
2020
|
if not object.transport_types.nil? and not object.transport_types.empty? then
|
2021
2021
|
writer.write_start('transport_types')
|
2022
2022
|
object.transport_types.each do |item|
|
2023
|
-
|
2023
|
+
Writer.write_string(writer, 'transport_type', item) unless item.nil?
|
2024
2024
|
end
|
2025
2025
|
writer.end_element
|
2026
2026
|
end
|
2027
|
-
|
2027
|
+
Writer.write_string(writer, 'volume_type', object.volume_type) unless object.volume_type.nil?
|
2028
2028
|
GlusterBrickWriter.write_many(object.bricks, writer, 'brick', 'bricks') unless object.bricks.nil?
|
2029
2029
|
ClusterWriter.write_one(object.cluster, writer, 'cluster') unless object.cluster.nil?
|
2030
2030
|
writer.write_end
|
@@ -2055,9 +2055,9 @@ module OvirtSDK4
|
|
2055
2055
|
writer.write_attribute('href', href) unless href.nil?
|
2056
2056
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
2057
2057
|
BrickProfileDetailWriter.write_many(object.brick_profile_details, writer, 'brick_profile_detail', 'brick_profile_details') unless object.brick_profile_details.nil?
|
2058
|
-
|
2059
|
-
|
2060
|
-
|
2058
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
2059
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
2060
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
2061
2061
|
NfsProfileDetailWriter.write_many(object.nfs_profile_details, writer, 'nfs_profile_detail', 'nfs_profile_details') unless object.nfs_profile_details.nil?
|
2062
2062
|
writer.write_end
|
2063
2063
|
end
|
@@ -2086,13 +2086,13 @@ module OvirtSDK4
|
|
2086
2086
|
href = object.href
|
2087
2087
|
writer.write_attribute('href', href) unless href.nil?
|
2088
2088
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
2089
|
-
|
2090
|
-
|
2091
|
-
|
2092
|
-
|
2093
|
-
|
2094
|
-
|
2095
|
-
|
2089
|
+
Writer.write_string(writer, 'address', object.address) unless object.address.nil?
|
2090
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
2091
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
2092
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
2093
|
+
Writer.write_integer(writer, 'port', object.port) unless object.port.nil?
|
2094
|
+
Writer.write_string(writer, 'protocol', object.protocol) unless object.protocol.nil?
|
2095
|
+
Writer.write_integer(writer, 'tls_port', object.tls_port) unless object.tls_port.nil?
|
2096
2096
|
InstanceTypeWriter.write_one(object.instance_type, writer, 'instance_type') unless object.instance_type.nil?
|
2097
2097
|
TemplateWriter.write_one(object.template, writer, 'template') unless object.template.nil?
|
2098
2098
|
VmWriter.write_one(object.vm, writer, 'vm') unless object.vm.nil?
|
@@ -2123,11 +2123,11 @@ module OvirtSDK4
|
|
2123
2123
|
href = object.href
|
2124
2124
|
writer.write_attribute('href', href) unless href.nil?
|
2125
2125
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
2126
|
-
|
2127
|
-
|
2128
|
-
|
2129
|
-
|
2130
|
-
|
2126
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
2127
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
2128
|
+
Writer.write_string(writer, 'domain_entry_id', object.domain_entry_id) unless object.domain_entry_id.nil?
|
2129
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
2130
|
+
Writer.write_string(writer, 'namespace', object.namespace) unless object.namespace.nil?
|
2131
2131
|
DomainWriter.write_one(object.domain, writer, 'domain') unless object.domain.nil?
|
2132
2132
|
RoleWriter.write_many(object.roles, writer, 'role', 'roles') unless object.roles.nil?
|
2133
2133
|
writer.write_end
|
@@ -2156,10 +2156,10 @@ module OvirtSDK4
|
|
2156
2156
|
writer.write_start(singular)
|
2157
2157
|
href = object.href
|
2158
2158
|
writer.write_attribute('href', href) unless href.nil?
|
2159
|
-
|
2160
|
-
|
2161
|
-
|
2162
|
-
|
2159
|
+
Writer.write_string(writer, 'architecture', object.architecture) unless object.architecture.nil?
|
2160
|
+
Writer.write_string(writer, 'codename', object.codename) unless object.codename.nil?
|
2161
|
+
Writer.write_string(writer, 'distribution', object.distribution) unless object.distribution.nil?
|
2162
|
+
Writer.write_string(writer, 'family', object.family) unless object.family.nil?
|
2163
2163
|
KernelWriter.write_one(object.kernel, writer, 'kernel') unless object.kernel.nil?
|
2164
2164
|
VersionWriter.write_one(object.version, writer, 'version') unless object.version.nil?
|
2165
2165
|
writer.write_end
|
@@ -2188,19 +2188,19 @@ module OvirtSDK4
|
|
2188
2188
|
writer.write_start(singular)
|
2189
2189
|
href = object.href
|
2190
2190
|
writer.write_attribute('href', href) unless href.nil?
|
2191
|
-
|
2192
|
-
|
2193
|
-
|
2194
|
-
|
2191
|
+
Writer.write_string(writer, 'family', object.family) unless object.family.nil?
|
2192
|
+
Writer.write_string(writer, 'manufacturer', object.manufacturer) unless object.manufacturer.nil?
|
2193
|
+
Writer.write_string(writer, 'product_name', object.product_name) unless object.product_name.nil?
|
2194
|
+
Writer.write_string(writer, 'serial_number', object.serial_number) unless object.serial_number.nil?
|
2195
2195
|
if not object.supported_rng_sources.nil? and not object.supported_rng_sources.empty? then
|
2196
2196
|
writer.write_start('supported_rng_sources')
|
2197
2197
|
object.supported_rng_sources.each do |item|
|
2198
|
-
|
2198
|
+
Writer.write_string(writer, 'supported_rng_source', item) unless item.nil?
|
2199
2199
|
end
|
2200
2200
|
writer.end_element
|
2201
2201
|
end
|
2202
|
-
|
2203
|
-
|
2202
|
+
Writer.write_string(writer, 'uuid', object.uuid) unless object.uuid.nil?
|
2203
|
+
Writer.write_string(writer, 'version', object.version) unless object.version.nil?
|
2204
2204
|
writer.write_end
|
2205
2205
|
end
|
2206
2206
|
|
@@ -2227,8 +2227,8 @@ module OvirtSDK4
|
|
2227
2227
|
writer.write_start(singular)
|
2228
2228
|
href = object.href
|
2229
2229
|
writer.write_attribute('href', href) unless href.nil?
|
2230
|
-
|
2231
|
-
|
2230
|
+
Writer.write_boolean(writer, 'enabled', object.enabled) unless object.enabled.nil?
|
2231
|
+
Writer.write_integer(writer, 'priority', object.priority) unless object.priority.nil?
|
2232
2232
|
writer.write_end
|
2233
2233
|
end
|
2234
2234
|
|
@@ -2256,11 +2256,11 @@ module OvirtSDK4
|
|
2256
2256
|
href = object.href
|
2257
2257
|
writer.write_attribute('href', href) unless href.nil?
|
2258
2258
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
2259
|
-
|
2260
|
-
|
2261
|
-
|
2262
|
-
|
2263
|
-
|
2259
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
2260
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
2261
|
+
Writer.write_string(writer, 'event_name', object.event_name) unless object.event_name.nil?
|
2262
|
+
Writer.write_string(writer, 'md5', object.md5) unless object.md5.nil?
|
2263
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
2264
2264
|
HostWriter.write_one(object.host, writer, 'host') unless object.host.nil?
|
2265
2265
|
writer.write_end
|
2266
2266
|
end
|
@@ -2289,12 +2289,12 @@ module OvirtSDK4
|
|
2289
2289
|
href = object.href
|
2290
2290
|
writer.write_attribute('href', href) unless href.nil?
|
2291
2291
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
2292
|
-
|
2293
|
-
|
2292
|
+
Writer.write_string(writer, 'address', object.address) unless object.address.nil?
|
2293
|
+
Writer.write_string(writer, 'auto_numa_status', object.auto_numa_status) unless object.auto_numa_status.nil?
|
2294
2294
|
CertificateWriter.write_one(object.certificate, writer, 'certificate') unless object.certificate.nil?
|
2295
|
-
|
2295
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
2296
2296
|
CpuWriter.write_one(object.cpu, writer, 'cpu') unless object.cpu.nil?
|
2297
|
-
|
2297
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
2298
2298
|
HostDevicePassthroughWriter.write_one(object.device_passthrough, writer, 'device_passthrough') unless object.device_passthrough.nil?
|
2299
2299
|
DisplayWriter.write_one(object.display, writer, 'display') unless object.display.nil?
|
2300
2300
|
StatusWriter.write_one(object.external_status, writer, 'external_status') unless object.external_status.nil?
|
@@ -2302,20 +2302,20 @@ module OvirtSDK4
|
|
2302
2302
|
HostedEngineWriter.write_one(object.hosted_engine, writer, 'hosted_engine') unless object.hosted_engine.nil?
|
2303
2303
|
IscsiDetailsWriter.write_one(object.iscsi, writer, 'iscsi') unless object.iscsi.nil?
|
2304
2304
|
KatelloErratumWriter.write_many(object.katello_errata, writer, 'katello_erratum', 'katello_errata') unless object.katello_errata.nil?
|
2305
|
-
|
2305
|
+
Writer.write_string(writer, 'kdump_status', object.kdump_status) unless object.kdump_status.nil?
|
2306
2306
|
KsmWriter.write_one(object.ksm, writer, 'ksm') unless object.ksm.nil?
|
2307
2307
|
VersionWriter.write_one(object.libvirt_version, writer, 'libvirt_version') unless object.libvirt_version.nil?
|
2308
|
-
|
2309
|
-
|
2310
|
-
|
2311
|
-
|
2312
|
-
|
2308
|
+
Writer.write_boolean(writer, 'live_snapshot_support', object.live_snapshot_support) unless object.live_snapshot_support.nil?
|
2309
|
+
Writer.write_integer(writer, 'max_scheduling_memory', object.max_scheduling_memory) unless object.max_scheduling_memory.nil?
|
2310
|
+
Writer.write_integer(writer, 'memory', object.memory) unless object.memory.nil?
|
2311
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
2312
|
+
Writer.write_boolean(writer, 'numa_supported', object.numa_supported) unless object.numa_supported.nil?
|
2313
2313
|
OperatingSystemWriter.write_one(object.os, writer, 'os') unless object.os.nil?
|
2314
|
-
|
2315
|
-
|
2314
|
+
Writer.write_boolean(writer, 'override_iptables', object.override_iptables) unless object.override_iptables.nil?
|
2315
|
+
Writer.write_integer(writer, 'port', object.port) unless object.port.nil?
|
2316
2316
|
PowerManagementWriter.write_one(object.power_management, writer, 'power_management') unless object.power_management.nil?
|
2317
|
-
|
2318
|
-
|
2317
|
+
Writer.write_string(writer, 'protocol', object.protocol) unless object.protocol.nil?
|
2318
|
+
Writer.write_string(writer, 'root_password', object.root_password) unless object.root_password.nil?
|
2319
2319
|
SeLinuxWriter.write_one(object.selinux, writer, 'selinux') unless object.selinux.nil?
|
2320
2320
|
SpmWriter.write_one(object.spm, writer, 'spm') unless object.spm.nil?
|
2321
2321
|
SshWriter.write_one(object.ssh, writer, 'ssh') unless object.ssh.nil?
|
@@ -2323,8 +2323,8 @@ module OvirtSDK4
|
|
2323
2323
|
StatusWriter.write_one(object.status, writer, 'status') unless object.status.nil?
|
2324
2324
|
VmSummaryWriter.write_one(object.summary, writer, 'summary') unless object.summary.nil?
|
2325
2325
|
TransparentHugePagesWriter.write_one(object.transparent_huge_pages, writer, 'transparent_hugepages') unless object.transparent_huge_pages.nil?
|
2326
|
-
|
2327
|
-
|
2326
|
+
Writer.write_string(writer, 'type', object.type) unless object.type.nil?
|
2327
|
+
Writer.write_boolean(writer, 'update_available', object.update_available) unless object.update_available.nil?
|
2328
2328
|
VersionWriter.write_one(object.version, writer, 'version') unless object.version.nil?
|
2329
2329
|
ClusterWriter.write_one(object.cluster, writer, 'cluster') unless object.cluster.nil?
|
2330
2330
|
ExternalHostProviderWriter.write_one(object.external_host_provider, writer, 'external_host_provider') unless object.external_host_provider.nil?
|
@@ -2357,16 +2357,16 @@ module OvirtSDK4
|
|
2357
2357
|
href = object.href
|
2358
2358
|
writer.write_attribute('href', href) unless href.nil?
|
2359
2359
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
2360
|
-
|
2361
|
-
|
2362
|
-
|
2363
|
-
|
2364
|
-
|
2360
|
+
Writer.write_string(writer, 'capability', object.capability) unless object.capability.nil?
|
2361
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
2362
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
2363
|
+
Writer.write_integer(writer, 'iommu_group', object.iommu_group) unless object.iommu_group.nil?
|
2364
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
2365
2365
|
HostDeviceWriter.write_one(object.physical_function, writer, 'physical_function') unless object.physical_function.nil?
|
2366
|
-
|
2366
|
+
Writer.write_boolean(writer, 'placeholder', object.placeholder) unless object.placeholder.nil?
|
2367
2367
|
ProductWriter.write_one(object.product, writer, 'product') unless object.product.nil?
|
2368
2368
|
VendorWriter.write_one(object.vendor, writer, 'vendor') unless object.vendor.nil?
|
2369
|
-
|
2369
|
+
Writer.write_integer(writer, 'virtual_functions', object.virtual_functions) unless object.virtual_functions.nil?
|
2370
2370
|
HostWriter.write_one(object.host, writer, 'host') unless object.host.nil?
|
2371
2371
|
HostDeviceWriter.write_one(object.parent_device, writer, 'parent_device') unless object.parent_device.nil?
|
2372
2372
|
VmWriter.write_one(object.vm, writer, 'vm') unless object.vm.nil?
|
@@ -2396,7 +2396,7 @@ module OvirtSDK4
|
|
2396
2396
|
writer.write_start(singular)
|
2397
2397
|
href = object.href
|
2398
2398
|
writer.write_attribute('href', href) unless href.nil?
|
2399
|
-
|
2399
|
+
Writer.write_boolean(writer, 'enabled', object.enabled) unless object.enabled.nil?
|
2400
2400
|
writer.write_end
|
2401
2401
|
end
|
2402
2402
|
|
@@ -2424,22 +2424,22 @@ module OvirtSDK4
|
|
2424
2424
|
href = object.href
|
2425
2425
|
writer.write_attribute('href', href) unless href.nil?
|
2426
2426
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
2427
|
-
|
2427
|
+
Writer.write_string(writer, 'base_interface', object.base_interface) unless object.base_interface.nil?
|
2428
2428
|
BondingWriter.write_one(object.bonding, writer, 'bonding') unless object.bonding.nil?
|
2429
|
-
|
2430
|
-
|
2431
|
-
|
2432
|
-
|
2433
|
-
|
2434
|
-
|
2429
|
+
Writer.write_string(writer, 'boot_protocol', object.boot_protocol) unless object.boot_protocol.nil?
|
2430
|
+
Writer.write_boolean(writer, 'bridged', object.bridged) unless object.bridged.nil?
|
2431
|
+
Writer.write_boolean(writer, 'check_connectivity', object.check_connectivity) unless object.check_connectivity.nil?
|
2432
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
2433
|
+
Writer.write_boolean(writer, 'custom_configuration', object.custom_configuration) unless object.custom_configuration.nil?
|
2434
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
2435
2435
|
IpWriter.write_one(object.ip, writer, 'ip') unless object.ip.nil?
|
2436
2436
|
LabelWriter.write_many(object.labels, writer, 'label', 'labels') unless object.labels.nil?
|
2437
2437
|
MacWriter.write_one(object.mac, writer, 'mac') unless object.mac.nil?
|
2438
|
-
|
2439
|
-
|
2440
|
-
|
2438
|
+
Writer.write_integer(writer, 'mtu', object.mtu) unless object.mtu.nil?
|
2439
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
2440
|
+
Writer.write_boolean(writer, 'override_configuration', object.override_configuration) unless object.override_configuration.nil?
|
2441
2441
|
PropertyWriter.write_many(object.properties, writer, 'property', 'properties') unless object.properties.nil?
|
2442
|
-
|
2442
|
+
Writer.write_integer(writer, 'speed', object.speed) unless object.speed.nil?
|
2443
2443
|
StatisticWriter.write_many(object.statistics, writer, 'statistic', 'statistics') unless object.statistics.nil?
|
2444
2444
|
StatusWriter.write_one(object.status, writer, 'status') unless object.status.nil?
|
2445
2445
|
HostNicVirtualFunctionsConfigurationWriter.write_one(object.virtual_functions_configuration, writer, 'virtual_functions_configuration') unless object.virtual_functions_configuration.nil?
|
@@ -2474,9 +2474,9 @@ module OvirtSDK4
|
|
2474
2474
|
writer.write_start(singular)
|
2475
2475
|
href = object.href
|
2476
2476
|
writer.write_attribute('href', href) unless href.nil?
|
2477
|
-
|
2478
|
-
|
2479
|
-
|
2477
|
+
Writer.write_boolean(writer, 'all_networks_allowed', object.all_networks_allowed) unless object.all_networks_allowed.nil?
|
2478
|
+
Writer.write_integer(writer, 'max_number_of_virtual_functions', object.max_number_of_virtual_functions) unless object.max_number_of_virtual_functions.nil?
|
2479
|
+
Writer.write_integer(writer, 'number_of_virtual_functions', object.number_of_virtual_functions) unless object.number_of_virtual_functions.nil?
|
2480
2480
|
writer.write_end
|
2481
2481
|
end
|
2482
2482
|
|
@@ -2504,24 +2504,24 @@ module OvirtSDK4
|
|
2504
2504
|
href = object.href
|
2505
2505
|
writer.write_attribute('href', href) unless href.nil?
|
2506
2506
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
2507
|
-
|
2508
|
-
|
2509
|
-
|
2507
|
+
Writer.write_string(writer, 'address', object.address) unless object.address.nil?
|
2508
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
2509
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
2510
2510
|
LogicalUnitWriter.write_many(object.logical_units, writer, 'logical_unit', 'logical_units') unless object.logical_units.nil?
|
2511
|
-
|
2512
|
-
|
2513
|
-
|
2514
|
-
|
2515
|
-
|
2516
|
-
|
2517
|
-
|
2518
|
-
|
2519
|
-
|
2520
|
-
|
2521
|
-
|
2522
|
-
|
2523
|
-
|
2524
|
-
|
2511
|
+
Writer.write_string(writer, 'mount_options', object.mount_options) unless object.mount_options.nil?
|
2512
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
2513
|
+
Writer.write_integer(writer, 'nfs_retrans', object.nfs_retrans) unless object.nfs_retrans.nil?
|
2514
|
+
Writer.write_integer(writer, 'nfs_timeo', object.nfs_timeo) unless object.nfs_timeo.nil?
|
2515
|
+
Writer.write_string(writer, 'nfs_version', object.nfs_version) unless object.nfs_version.nil?
|
2516
|
+
Writer.write_boolean(writer, 'override_luns', object.override_luns) unless object.override_luns.nil?
|
2517
|
+
Writer.write_string(writer, 'password', object.password) unless object.password.nil?
|
2518
|
+
Writer.write_string(writer, 'path', object.path) unless object.path.nil?
|
2519
|
+
Writer.write_integer(writer, 'port', object.port) unless object.port.nil?
|
2520
|
+
Writer.write_string(writer, 'portal', object.portal) unless object.portal.nil?
|
2521
|
+
Writer.write_string(writer, 'target', object.target) unless object.target.nil?
|
2522
|
+
Writer.write_string(writer, 'type', object.type) unless object.type.nil?
|
2523
|
+
Writer.write_string(writer, 'username', object.username) unless object.username.nil?
|
2524
|
+
Writer.write_string(writer, 'vfs_type', object.vfs_type) unless object.vfs_type.nil?
|
2525
2525
|
VolumeGroupWriter.write_one(object.volume_group, writer, 'volume_group') unless object.volume_group.nil?
|
2526
2526
|
HostWriter.write_one(object.host, writer, 'host') unless object.host.nil?
|
2527
2527
|
writer.write_end
|
@@ -2550,11 +2550,11 @@ module OvirtSDK4
|
|
2550
2550
|
writer.write_start(singular)
|
2551
2551
|
href = object.href
|
2552
2552
|
writer.write_attribute('href', href) unless href.nil?
|
2553
|
-
|
2554
|
-
|
2555
|
-
|
2556
|
-
|
2557
|
-
|
2553
|
+
Writer.write_boolean(writer, 'active', object.active) unless object.active.nil?
|
2554
|
+
Writer.write_boolean(writer, 'configured', object.configured) unless object.configured.nil?
|
2555
|
+
Writer.write_boolean(writer, 'global_maintenance', object.global_maintenance) unless object.global_maintenance.nil?
|
2556
|
+
Writer.write_boolean(writer, 'local_maintenance', object.local_maintenance) unless object.local_maintenance.nil?
|
2557
|
+
Writer.write_integer(writer, 'score', object.score) unless object.score.nil?
|
2558
2558
|
writer.write_end
|
2559
2559
|
end
|
2560
2560
|
|
@@ -2582,11 +2582,11 @@ module OvirtSDK4
|
|
2582
2582
|
href = object.href
|
2583
2583
|
writer.write_attribute('href', href) unless href.nil?
|
2584
2584
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
2585
|
-
|
2586
|
-
|
2587
|
-
|
2588
|
-
|
2589
|
-
|
2585
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
2586
|
+
Writer.write_string(writer, 'data', object.data) unless object.data.nil?
|
2587
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
2588
|
+
Writer.write_string(writer, 'media_type', object.media_type) unless object.media_type.nil?
|
2589
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
2590
2590
|
writer.write_end
|
2591
2591
|
end
|
2592
2592
|
|
@@ -2614,9 +2614,9 @@ module OvirtSDK4
|
|
2614
2614
|
href = object.href
|
2615
2615
|
writer.write_attribute('href', href) unless href.nil?
|
2616
2616
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
2617
|
-
|
2618
|
-
|
2619
|
-
|
2617
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
2618
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
2619
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
2620
2620
|
writer.write_end
|
2621
2621
|
end
|
2622
2622
|
|
@@ -2644,9 +2644,9 @@ module OvirtSDK4
|
|
2644
2644
|
href = object.href
|
2645
2645
|
writer.write_attribute('href', href) unless href.nil?
|
2646
2646
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
2647
|
-
|
2648
|
-
|
2649
|
-
|
2647
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
2648
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
2649
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
2650
2650
|
StorageDomainWriter.write_one(object.storage_domain, writer, 'storage_domain') unless object.storage_domain.nil?
|
2651
2651
|
writer.write_end
|
2652
2652
|
end
|
@@ -2674,27 +2674,27 @@ module OvirtSDK4
|
|
2674
2674
|
writer.write_start(singular)
|
2675
2675
|
href = object.href
|
2676
2676
|
writer.write_attribute('href', href) unless href.nil?
|
2677
|
-
|
2678
|
-
|
2677
|
+
Writer.write_string(writer, 'active_directory_ou', object.active_directory_ou) unless object.active_directory_ou.nil?
|
2678
|
+
Writer.write_string(writer, 'authorized_ssh_keys', object.authorized_ssh_keys) unless object.authorized_ssh_keys.nil?
|
2679
2679
|
CloudInitWriter.write_one(object.cloud_init, writer, 'cloud_init') unless object.cloud_init.nil?
|
2680
2680
|
ConfigurationWriter.write_one(object.configuration, writer, 'configuration') unless object.configuration.nil?
|
2681
|
-
|
2682
|
-
|
2683
|
-
|
2684
|
-
|
2685
|
-
|
2686
|
-
|
2681
|
+
Writer.write_string(writer, 'custom_script', object.custom_script) unless object.custom_script.nil?
|
2682
|
+
Writer.write_string(writer, 'dns_search', object.dns_search) unless object.dns_search.nil?
|
2683
|
+
Writer.write_string(writer, 'dns_servers', object.dns_servers) unless object.dns_servers.nil?
|
2684
|
+
Writer.write_string(writer, 'domain', object.domain) unless object.domain.nil?
|
2685
|
+
Writer.write_string(writer, 'host_name', object.host_name) unless object.host_name.nil?
|
2686
|
+
Writer.write_string(writer, 'input_locale', object.input_locale) unless object.input_locale.nil?
|
2687
2687
|
NicConfigurationWriter.write_many(object.nic_configurations, writer, 'nic_configuration', 'nic_configurations') unless object.nic_configurations.nil?
|
2688
|
-
|
2689
|
-
|
2690
|
-
|
2691
|
-
|
2692
|
-
|
2693
|
-
|
2694
|
-
|
2695
|
-
|
2696
|
-
|
2697
|
-
|
2688
|
+
Writer.write_string(writer, 'org_name', object.org_name) unless object.org_name.nil?
|
2689
|
+
Writer.write_boolean(writer, 'regenerate_ids', object.regenerate_ids) unless object.regenerate_ids.nil?
|
2690
|
+
Writer.write_boolean(writer, 'regenerate_ssh_keys', object.regenerate_ssh_keys) unless object.regenerate_ssh_keys.nil?
|
2691
|
+
Writer.write_string(writer, 'root_password', object.root_password) unless object.root_password.nil?
|
2692
|
+
Writer.write_string(writer, 'system_locale', object.system_locale) unless object.system_locale.nil?
|
2693
|
+
Writer.write_string(writer, 'timezone', object.timezone) unless object.timezone.nil?
|
2694
|
+
Writer.write_string(writer, 'ui_language', object.ui_language) unless object.ui_language.nil?
|
2695
|
+
Writer.write_string(writer, 'user_locale', object.user_locale) unless object.user_locale.nil?
|
2696
|
+
Writer.write_string(writer, 'user_name', object.user_name) unless object.user_name.nil?
|
2697
|
+
Writer.write_string(writer, 'windows_license_key', object.windows_license_key) unless object.windows_license_key.nil?
|
2698
2698
|
writer.write_end
|
2699
2699
|
end
|
2700
2700
|
|
@@ -2723,40 +2723,40 @@ module OvirtSDK4
|
|
2723
2723
|
writer.write_attribute('href', href) unless href.nil?
|
2724
2724
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
2725
2725
|
BiosWriter.write_one(object.bios, writer, 'bios') unless object.bios.nil?
|
2726
|
-
|
2726
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
2727
2727
|
ConsoleWriter.write_one(object.console, writer, 'console') unless object.console.nil?
|
2728
2728
|
CpuWriter.write_one(object.cpu, writer, 'cpu') unless object.cpu.nil?
|
2729
|
-
|
2730
|
-
|
2731
|
-
|
2732
|
-
|
2729
|
+
Writer.write_integer(writer, 'cpu_shares', object.cpu_shares) unless object.cpu_shares.nil?
|
2730
|
+
Writer.write_date(writer, 'creation_time', object.creation_time) unless object.creation_time.nil?
|
2731
|
+
Writer.write_string(writer, 'custom_cpu_model', object.custom_cpu_model) unless object.custom_cpu_model.nil?
|
2732
|
+
Writer.write_string(writer, 'custom_emulated_machine', object.custom_emulated_machine) unless object.custom_emulated_machine.nil?
|
2733
2733
|
CustomPropertyWriter.write_many(object.custom_properties, writer, 'custom_property', 'custom_properties') unless object.custom_properties.nil?
|
2734
|
-
|
2735
|
-
|
2734
|
+
Writer.write_boolean(writer, 'delete_protected', object.delete_protected) unless object.delete_protected.nil?
|
2735
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
2736
2736
|
DisplayWriter.write_one(object.display, writer, 'display') unless object.display.nil?
|
2737
2737
|
DomainWriter.write_one(object.domain, writer, 'domain') unless object.domain.nil?
|
2738
2738
|
HighAvailabilityWriter.write_one(object.high_availability, writer, 'high_availability') unless object.high_availability.nil?
|
2739
2739
|
InitializationWriter.write_one(object.initialization, writer, 'initialization') unless object.initialization.nil?
|
2740
2740
|
IoWriter.write_one(object.io, writer, 'io') unless object.io.nil?
|
2741
2741
|
IconWriter.write_one(object.large_icon, writer, 'large_icon') unless object.large_icon.nil?
|
2742
|
-
|
2742
|
+
Writer.write_integer(writer, 'memory', object.memory) unless object.memory.nil?
|
2743
2743
|
MemoryPolicyWriter.write_one(object.memory_policy, writer, 'memory_policy') unless object.memory_policy.nil?
|
2744
2744
|
MigrationOptionsWriter.write_one(object.migration, writer, 'migration') unless object.migration.nil?
|
2745
|
-
|
2746
|
-
|
2747
|
-
|
2745
|
+
Writer.write_integer(writer, 'migration_downtime', object.migration_downtime) unless object.migration_downtime.nil?
|
2746
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
2747
|
+
Writer.write_string(writer, 'origin', object.origin) unless object.origin.nil?
|
2748
2748
|
OperatingSystemWriter.write_one(object.os, writer, 'os') unless object.os.nil?
|
2749
2749
|
RngDeviceWriter.write_one(object.rng_device, writer, 'rng_device') unless object.rng_device.nil?
|
2750
2750
|
SerialNumberWriter.write_one(object.serial_number, writer, 'serial_number') unless object.serial_number.nil?
|
2751
2751
|
IconWriter.write_one(object.small_icon, writer, 'small_icon') unless object.small_icon.nil?
|
2752
|
-
|
2752
|
+
Writer.write_boolean(writer, 'soundcard_enabled', object.soundcard_enabled) unless object.soundcard_enabled.nil?
|
2753
2753
|
SsoWriter.write_one(object.sso, writer, 'sso') unless object.sso.nil?
|
2754
|
-
|
2755
|
-
|
2754
|
+
Writer.write_boolean(writer, 'start_paused', object.start_paused) unless object.start_paused.nil?
|
2755
|
+
Writer.write_boolean(writer, 'stateless', object.stateless) unless object.stateless.nil?
|
2756
2756
|
StatusWriter.write_one(object.status, writer, 'status') unless object.status.nil?
|
2757
2757
|
TimeZoneWriter.write_one(object.time_zone, writer, 'time_zone') unless object.time_zone.nil?
|
2758
|
-
|
2759
|
-
|
2758
|
+
Writer.write_boolean(writer, 'tunnel_migration', object.tunnel_migration) unless object.tunnel_migration.nil?
|
2759
|
+
Writer.write_string(writer, 'type', object.type) unless object.type.nil?
|
2760
2760
|
UsbWriter.write_one(object.usb, writer, 'usb') unless object.usb.nil?
|
2761
2761
|
TemplateVersionWriter.write_one(object.version, writer, 'version') unless object.version.nil?
|
2762
2762
|
VirtioScsiWriter.write_one(object.virtio_scsi, writer, 'virtio_scsi') unless object.virtio_scsi.nil?
|
@@ -2790,7 +2790,7 @@ module OvirtSDK4
|
|
2790
2790
|
writer.write_start(singular)
|
2791
2791
|
href = object.href
|
2792
2792
|
writer.write_attribute('href', href) unless href.nil?
|
2793
|
-
|
2793
|
+
Writer.write_integer(writer, 'threads', object.threads) unless object.threads.nil?
|
2794
2794
|
writer.write_end
|
2795
2795
|
end
|
2796
2796
|
|
@@ -2817,10 +2817,10 @@ module OvirtSDK4
|
|
2817
2817
|
writer.write_start(singular)
|
2818
2818
|
href = object.href
|
2819
2819
|
writer.write_attribute('href', href) unless href.nil?
|
2820
|
-
|
2821
|
-
|
2822
|
-
|
2823
|
-
|
2820
|
+
Writer.write_string(writer, 'address', object.address) unless object.address.nil?
|
2821
|
+
Writer.write_string(writer, 'gateway', object.gateway) unless object.gateway.nil?
|
2822
|
+
Writer.write_string(writer, 'netmask', object.netmask) unless object.netmask.nil?
|
2823
|
+
Writer.write_string(writer, 'version', object.version) unless object.version.nil?
|
2824
2824
|
writer.write_end
|
2825
2825
|
end
|
2826
2826
|
|
@@ -2847,7 +2847,7 @@ module OvirtSDK4
|
|
2847
2847
|
writer.write_start(singular)
|
2848
2848
|
href = object.href
|
2849
2849
|
writer.write_attribute('href', href) unless href.nil?
|
2850
|
-
|
2850
|
+
Writer.write_string(writer, 'assignment_method', object.assignment_method) unless object.assignment_method.nil?
|
2851
2851
|
IpWriter.write_one(object.ip, writer, 'ip') unless object.ip.nil?
|
2852
2852
|
writer.write_end
|
2853
2853
|
end
|
@@ -2876,9 +2876,9 @@ module OvirtSDK4
|
|
2876
2876
|
href = object.href
|
2877
2877
|
writer.write_attribute('href', href) unless href.nil?
|
2878
2878
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
2879
|
-
|
2880
|
-
|
2881
|
-
|
2879
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
2880
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
2881
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
2882
2882
|
DataCenterWriter.write_one(object.data_center, writer, 'data_center') unless object.data_center.nil?
|
2883
2883
|
NetworkWriter.write_many(object.networks, writer, 'network', 'networks') unless object.networks.nil?
|
2884
2884
|
StorageConnectionWriter.write_many(object.storage_connections, writer, 'storage_connection', 'storage_connections') unless object.storage_connections.nil?
|
@@ -2908,23 +2908,23 @@ module OvirtSDK4
|
|
2908
2908
|
writer.write_start(singular)
|
2909
2909
|
href = object.href
|
2910
2910
|
writer.write_attribute('href', href) unless href.nil?
|
2911
|
-
|
2912
|
-
|
2913
|
-
|
2914
|
-
|
2915
|
-
|
2916
|
-
|
2917
|
-
|
2918
|
-
|
2919
|
-
|
2920
|
-
|
2921
|
-
|
2922
|
-
|
2923
|
-
|
2924
|
-
|
2925
|
-
|
2926
|
-
|
2927
|
-
|
2911
|
+
Writer.write_string(writer, 'address', object.address) unless object.address.nil?
|
2912
|
+
Writer.write_string(writer, 'disk_id', object.disk_id) unless object.disk_id.nil?
|
2913
|
+
Writer.write_string(writer, 'initiator', object.initiator) unless object.initiator.nil?
|
2914
|
+
Writer.write_integer(writer, 'lun_mapping', object.lun_mapping) unless object.lun_mapping.nil?
|
2915
|
+
Writer.write_string(writer, 'password', object.password) unless object.password.nil?
|
2916
|
+
Writer.write_integer(writer, 'paths', object.paths) unless object.paths.nil?
|
2917
|
+
Writer.write_integer(writer, 'port', object.port) unless object.port.nil?
|
2918
|
+
Writer.write_string(writer, 'portal', object.portal) unless object.portal.nil?
|
2919
|
+
Writer.write_string(writer, 'product_id', object.product_id) unless object.product_id.nil?
|
2920
|
+
Writer.write_string(writer, 'serial', object.serial) unless object.serial.nil?
|
2921
|
+
Writer.write_integer(writer, 'size', object.size) unless object.size.nil?
|
2922
|
+
Writer.write_string(writer, 'status', object.status) unless object.status.nil?
|
2923
|
+
Writer.write_string(writer, 'storage_domain_id', object.storage_domain_id) unless object.storage_domain_id.nil?
|
2924
|
+
Writer.write_string(writer, 'target', object.target) unless object.target.nil?
|
2925
|
+
Writer.write_string(writer, 'username', object.username) unless object.username.nil?
|
2926
|
+
Writer.write_string(writer, 'vendor_id', object.vendor_id) unless object.vendor_id.nil?
|
2927
|
+
Writer.write_string(writer, 'volume_group_id', object.volume_group_id) unless object.volume_group_id.nil?
|
2928
2928
|
writer.write_end
|
2929
2929
|
end
|
2930
2930
|
|
@@ -2952,14 +2952,14 @@ module OvirtSDK4
|
|
2952
2952
|
href = object.href
|
2953
2953
|
writer.write_attribute('href', href) unless href.nil?
|
2954
2954
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
2955
|
-
|
2956
|
-
|
2957
|
-
|
2958
|
-
|
2959
|
-
|
2960
|
-
|
2961
|
-
|
2962
|
-
|
2955
|
+
Writer.write_boolean(writer, 'auto_cleared', object.auto_cleared) unless object.auto_cleared.nil?
|
2956
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
2957
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
2958
|
+
Writer.write_date(writer, 'end_time', object.end_time) unless object.end_time.nil?
|
2959
|
+
Writer.write_boolean(writer, 'external', object.external) unless object.external.nil?
|
2960
|
+
Writer.write_date(writer, 'last_updated', object.last_updated) unless object.last_updated.nil?
|
2961
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
2962
|
+
Writer.write_date(writer, 'start_time', object.start_time) unless object.start_time.nil?
|
2963
2963
|
StatusWriter.write_one(object.status, writer, 'status') unless object.status.nil?
|
2964
2964
|
UserWriter.write_one(object.owner, writer, 'owner') unless object.owner.nil?
|
2965
2965
|
writer.write_end
|
@@ -2989,16 +2989,16 @@ module OvirtSDK4
|
|
2989
2989
|
href = object.href
|
2990
2990
|
writer.write_attribute('href', href) unless href.nil?
|
2991
2991
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
2992
|
-
|
2993
|
-
|
2994
|
-
|
2995
|
-
|
2992
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
2993
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
2994
|
+
Writer.write_date(writer, 'issued', object.issued) unless object.issued.nil?
|
2995
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
2996
2996
|
PackageWriter.write_many(object.packages, writer, 'package', 'packages') unless object.packages.nil?
|
2997
|
-
|
2998
|
-
|
2999
|
-
|
3000
|
-
|
3001
|
-
|
2997
|
+
Writer.write_string(writer, 'severity', object.severity) unless object.severity.nil?
|
2998
|
+
Writer.write_string(writer, 'solution', object.solution) unless object.solution.nil?
|
2999
|
+
Writer.write_string(writer, 'summary', object.summary) unless object.summary.nil?
|
3000
|
+
Writer.write_string(writer, 'title', object.title) unless object.title.nil?
|
3001
|
+
Writer.write_string(writer, 'type', object.type) unless object.type.nil?
|
3002
3002
|
HostWriter.write_one(object.host, writer, 'host') unless object.host.nil?
|
3003
3003
|
VmWriter.write_one(object.vm, writer, 'vm') unless object.vm.nil?
|
3004
3004
|
writer.write_end
|
@@ -3054,8 +3054,8 @@ module OvirtSDK4
|
|
3054
3054
|
writer.write_start(singular)
|
3055
3055
|
href = object.href
|
3056
3056
|
writer.write_attribute('href', href) unless href.nil?
|
3057
|
-
|
3058
|
-
|
3057
|
+
Writer.write_boolean(writer, 'enabled', object.enabled) unless object.enabled.nil?
|
3058
|
+
Writer.write_boolean(writer, 'merge_across_nodes', object.merge_across_nodes) unless object.merge_across_nodes.nil?
|
3059
3059
|
writer.write_end
|
3060
3060
|
end
|
3061
3061
|
|
@@ -3083,9 +3083,9 @@ module OvirtSDK4
|
|
3083
3083
|
href = object.href
|
3084
3084
|
writer.write_attribute('href', href) unless href.nil?
|
3085
3085
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
3086
|
-
|
3087
|
-
|
3088
|
-
|
3086
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
3087
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
3088
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
3089
3089
|
HostNicWriter.write_one(object.host_nic, writer, 'host_nic') unless object.host_nic.nil?
|
3090
3090
|
NetworkWriter.write_one(object.network, writer, 'network') unless object.network.nil?
|
3091
3091
|
writer.write_end
|
@@ -3115,22 +3115,22 @@ module OvirtSDK4
|
|
3115
3115
|
href = object.href
|
3116
3116
|
writer.write_attribute('href', href) unless href.nil?
|
3117
3117
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
3118
|
-
|
3119
|
-
|
3120
|
-
|
3121
|
-
|
3122
|
-
|
3123
|
-
|
3124
|
-
|
3125
|
-
|
3126
|
-
|
3127
|
-
|
3128
|
-
|
3129
|
-
|
3130
|
-
|
3131
|
-
|
3132
|
-
|
3133
|
-
|
3118
|
+
Writer.write_string(writer, 'address', object.address) unless object.address.nil?
|
3119
|
+
Writer.write_string(writer, 'disk_id', object.disk_id) unless object.disk_id.nil?
|
3120
|
+
Writer.write_integer(writer, 'lun_mapping', object.lun_mapping) unless object.lun_mapping.nil?
|
3121
|
+
Writer.write_string(writer, 'password', object.password) unless object.password.nil?
|
3122
|
+
Writer.write_integer(writer, 'paths', object.paths) unless object.paths.nil?
|
3123
|
+
Writer.write_integer(writer, 'port', object.port) unless object.port.nil?
|
3124
|
+
Writer.write_string(writer, 'portal', object.portal) unless object.portal.nil?
|
3125
|
+
Writer.write_string(writer, 'product_id', object.product_id) unless object.product_id.nil?
|
3126
|
+
Writer.write_string(writer, 'serial', object.serial) unless object.serial.nil?
|
3127
|
+
Writer.write_integer(writer, 'size', object.size) unless object.size.nil?
|
3128
|
+
Writer.write_string(writer, 'status', object.status) unless object.status.nil?
|
3129
|
+
Writer.write_string(writer, 'storage_domain_id', object.storage_domain_id) unless object.storage_domain_id.nil?
|
3130
|
+
Writer.write_string(writer, 'target', object.target) unless object.target.nil?
|
3131
|
+
Writer.write_string(writer, 'username', object.username) unless object.username.nil?
|
3132
|
+
Writer.write_string(writer, 'vendor_id', object.vendor_id) unless object.vendor_id.nil?
|
3133
|
+
Writer.write_string(writer, 'volume_group_id', object.volume_group_id) unless object.volume_group_id.nil?
|
3134
3134
|
writer.write_end
|
3135
3135
|
end
|
3136
3136
|
|
@@ -3157,7 +3157,7 @@ module OvirtSDK4
|
|
3157
3157
|
writer.write_start(singular)
|
3158
3158
|
href = object.href
|
3159
3159
|
writer.write_attribute('href', href) unless href.nil?
|
3160
|
-
|
3160
|
+
Writer.write_string(writer, 'address', object.address) unless object.address.nil?
|
3161
3161
|
writer.write_end
|
3162
3162
|
end
|
3163
3163
|
|
@@ -3185,11 +3185,11 @@ module OvirtSDK4
|
|
3185
3185
|
href = object.href
|
3186
3186
|
writer.write_attribute('href', href) unless href.nil?
|
3187
3187
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
3188
|
-
|
3189
|
-
|
3190
|
-
|
3191
|
-
|
3192
|
-
|
3188
|
+
Writer.write_boolean(writer, 'allow_duplicates', object.allow_duplicates) unless object.allow_duplicates.nil?
|
3189
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
3190
|
+
Writer.write_boolean(writer, 'default_pool', object.default_pool) unless object.default_pool.nil?
|
3191
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
3192
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
3193
3193
|
RangeWriter.write_many(object.ranges, writer, 'range', 'ranges') unless object.ranges.nil?
|
3194
3194
|
writer.write_end
|
3195
3195
|
end
|
@@ -3217,7 +3217,7 @@ module OvirtSDK4
|
|
3217
3217
|
writer.write_start(singular)
|
3218
3218
|
href = object.href
|
3219
3219
|
writer.write_attribute('href', href) unless href.nil?
|
3220
|
-
|
3220
|
+
Writer.write_integer(writer, 'percent', object.percent) unless object.percent.nil?
|
3221
3221
|
writer.write_end
|
3222
3222
|
end
|
3223
3223
|
|
@@ -3244,8 +3244,8 @@ module OvirtSDK4
|
|
3244
3244
|
writer.write_start(singular)
|
3245
3245
|
href = object.href
|
3246
3246
|
writer.write_attribute('href', href) unless href.nil?
|
3247
|
-
|
3248
|
-
|
3247
|
+
Writer.write_boolean(writer, 'ballooning', object.ballooning) unless object.ballooning.nil?
|
3248
|
+
Writer.write_integer(writer, 'guaranteed', object.guaranteed) unless object.guaranteed.nil?
|
3249
3249
|
MemoryOverCommitWriter.write_one(object.over_commit, writer, 'over_commit') unless object.over_commit.nil?
|
3250
3250
|
TransparentHugePagesWriter.write_one(object.transparent_huge_pages, writer, 'transparent_hugepages') unless object.transparent_huge_pages.nil?
|
3251
3251
|
writer.write_end
|
@@ -3301,8 +3301,8 @@ module OvirtSDK4
|
|
3301
3301
|
writer.write_start(singular)
|
3302
3302
|
href = object.href
|
3303
3303
|
writer.write_attribute('href', href) unless href.nil?
|
3304
|
-
|
3305
|
-
|
3304
|
+
Writer.write_string(writer, 'auto_converge', object.auto_converge) unless object.auto_converge.nil?
|
3305
|
+
Writer.write_string(writer, 'compressed', object.compressed) unless object.compressed.nil?
|
3306
3306
|
writer.write_end
|
3307
3307
|
end
|
3308
3308
|
|
@@ -3330,21 +3330,21 @@ module OvirtSDK4
|
|
3330
3330
|
href = object.href
|
3331
3331
|
writer.write_attribute('href', href) unless href.nil?
|
3332
3332
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
3333
|
-
|
3334
|
-
|
3335
|
-
|
3333
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
3334
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
3335
|
+
Writer.write_boolean(writer, 'display', object.display) unless object.display.nil?
|
3336
3336
|
IpWriter.write_one(object.ip, writer, 'ip') unless object.ip.nil?
|
3337
3337
|
LabelWriter.write_many(object.labels, writer, 'label', 'labels') unless object.labels.nil?
|
3338
|
-
|
3339
|
-
|
3340
|
-
|
3341
|
-
|
3338
|
+
Writer.write_integer(writer, 'mtu', object.mtu) unless object.mtu.nil?
|
3339
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
3340
|
+
Writer.write_boolean(writer, 'profile_required', object.profile_required) unless object.profile_required.nil?
|
3341
|
+
Writer.write_boolean(writer, 'required', object.required) unless object.required.nil?
|
3342
3342
|
StatusWriter.write_one(object.status, writer, 'status') unless object.status.nil?
|
3343
|
-
|
3343
|
+
Writer.write_boolean(writer, 'stp', object.stp) unless object.stp.nil?
|
3344
3344
|
if not object.usages.nil? and not object.usages.empty? then
|
3345
3345
|
writer.write_start('usages')
|
3346
3346
|
object.usages.each do |item|
|
3347
|
-
|
3347
|
+
Writer.write_string(writer, 'usage', item) unless item.nil?
|
3348
3348
|
end
|
3349
3349
|
writer.end_element
|
3350
3350
|
end
|
@@ -3379,11 +3379,11 @@ module OvirtSDK4
|
|
3379
3379
|
href = object.href
|
3380
3380
|
writer.write_attribute('href', href) unless href.nil?
|
3381
3381
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
3382
|
-
|
3383
|
-
|
3384
|
-
|
3382
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
3383
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
3384
|
+
Writer.write_boolean(writer, 'in_sync', object.in_sync) unless object.in_sync.nil?
|
3385
3385
|
IpAddressAssignmentWriter.write_many(object.ip_address_assignments, writer, 'ip_address_assignment', 'ip_address_assignments') unless object.ip_address_assignments.nil?
|
3386
|
-
|
3386
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
3387
3387
|
PropertyWriter.write_many(object.properties, writer, 'property', 'properties') unless object.properties.nil?
|
3388
3388
|
ReportedConfigurationWriter.write_many(object.reported_configurations, writer, 'reported_configuration', 'reported_configurations') unless object.reported_configurations.nil?
|
3389
3389
|
HostWriter.write_one(object.host, writer, 'host') unless object.host.nil?
|
@@ -3445,9 +3445,9 @@ module OvirtSDK4
|
|
3445
3445
|
href = object.href
|
3446
3446
|
writer.write_attribute('href', href) unless href.nil?
|
3447
3447
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
3448
|
-
|
3449
|
-
|
3450
|
-
|
3448
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
3449
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
3450
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
3451
3451
|
VersionWriter.write_one(object.version, writer, 'version') unless object.version.nil?
|
3452
3452
|
writer.write_end
|
3453
3453
|
end
|
@@ -3475,7 +3475,7 @@ module OvirtSDK4
|
|
3475
3475
|
writer.write_start(singular)
|
3476
3476
|
href = object.href
|
3477
3477
|
writer.write_attribute('href', href) unless href.nil?
|
3478
|
-
|
3478
|
+
Writer.write_string(writer, 'nfs_server_ip', object.nfs_server_ip) unless object.nfs_server_ip.nil?
|
3479
3479
|
ProfileDetailWriter.write_many(object.profile_details, writer, 'profile_detail', 'profile_details') unless object.profile_details.nil?
|
3480
3480
|
writer.write_end
|
3481
3481
|
end
|
@@ -3504,15 +3504,15 @@ module OvirtSDK4
|
|
3504
3504
|
href = object.href
|
3505
3505
|
writer.write_attribute('href', href) unless href.nil?
|
3506
3506
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
3507
|
-
|
3508
|
-
|
3509
|
-
|
3510
|
-
|
3511
|
-
|
3507
|
+
Writer.write_string(writer, 'boot_protocol', object.boot_protocol) unless object.boot_protocol.nil?
|
3508
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
3509
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
3510
|
+
Writer.write_string(writer, 'interface', object.interface) unless object.interface.nil?
|
3511
|
+
Writer.write_boolean(writer, 'linked', object.linked) unless object.linked.nil?
|
3512
3512
|
MacWriter.write_one(object.mac, writer, 'mac') unless object.mac.nil?
|
3513
|
-
|
3514
|
-
|
3515
|
-
|
3513
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
3514
|
+
Writer.write_boolean(writer, 'on_boot', object.on_boot) unless object.on_boot.nil?
|
3515
|
+
Writer.write_boolean(writer, 'plugged', object.plugged) unless object.plugged.nil?
|
3516
3516
|
ReportedDeviceWriter.write_many(object.reported_devices, writer, 'reported_device', 'reported_devices') unless object.reported_devices.nil?
|
3517
3517
|
InstanceTypeWriter.write_one(object.instance_type, writer, 'instance_type') unless object.instance_type.nil?
|
3518
3518
|
NetworkWriter.write_one(object.network, writer, 'network') unless object.network.nil?
|
@@ -3547,10 +3547,10 @@ module OvirtSDK4
|
|
3547
3547
|
writer.write_start(singular)
|
3548
3548
|
href = object.href
|
3549
3549
|
writer.write_attribute('href', href) unless href.nil?
|
3550
|
-
|
3550
|
+
Writer.write_string(writer, 'boot_protocol', object.boot_protocol) unless object.boot_protocol.nil?
|
3551
3551
|
IpWriter.write_one(object.ip, writer, 'ip') unless object.ip.nil?
|
3552
|
-
|
3553
|
-
|
3552
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
3553
|
+
Writer.write_boolean(writer, 'on_boot', object.on_boot) unless object.on_boot.nil?
|
3554
3554
|
writer.write_end
|
3555
3555
|
end
|
3556
3556
|
|
@@ -3578,13 +3578,13 @@ module OvirtSDK4
|
|
3578
3578
|
href = object.href
|
3579
3579
|
writer.write_attribute('href', href) unless href.nil?
|
3580
3580
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
3581
|
-
|
3581
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
3582
3582
|
CpuWriter.write_one(object.cpu, writer, 'cpu') unless object.cpu.nil?
|
3583
|
-
|
3584
|
-
|
3585
|
-
|
3586
|
-
|
3587
|
-
|
3583
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
3584
|
+
Writer.write_integer(writer, 'index', object.index) unless object.index.nil?
|
3585
|
+
Writer.write_integer(writer, 'memory', object.memory) unless object.memory.nil?
|
3586
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
3587
|
+
Writer.write_string(writer, 'node_distance', object.node_distance) unless object.node_distance.nil?
|
3588
3588
|
HostWriter.write_one(object.host, writer, 'host') unless object.host.nil?
|
3589
3589
|
StatisticWriter.write_many(object.statistics, writer, 'statistic', 'statistics') unless object.statistics.nil?
|
3590
3590
|
writer.write_end
|
@@ -3614,8 +3614,8 @@ module OvirtSDK4
|
|
3614
3614
|
href = object.href
|
3615
3615
|
writer.write_attribute('href', href) unless href.nil?
|
3616
3616
|
NumaNodeWriter.write_one(object.host_numa_node, writer, 'host_numa_node') unless object.host_numa_node.nil?
|
3617
|
-
|
3618
|
-
|
3617
|
+
Writer.write_integer(writer, 'index', object.index) unless object.index.nil?
|
3618
|
+
Writer.write_boolean(writer, 'pinned', object.pinned) unless object.pinned.nil?
|
3619
3619
|
writer.write_end
|
3620
3620
|
end
|
3621
3621
|
|
@@ -3643,9 +3643,9 @@ module OvirtSDK4
|
|
3643
3643
|
href = object.href
|
3644
3644
|
writer.write_attribute('href', href) unless href.nil?
|
3645
3645
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
3646
|
-
|
3647
|
-
|
3648
|
-
|
3646
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
3647
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
3648
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
3649
3649
|
OpenStackImageProviderWriter.write_one(object.openstack_image_provider, writer, 'openstack_image_provider') unless object.openstack_image_provider.nil?
|
3650
3650
|
writer.write_end
|
3651
3651
|
end
|
@@ -3674,16 +3674,16 @@ module OvirtSDK4
|
|
3674
3674
|
href = object.href
|
3675
3675
|
writer.write_attribute('href', href) unless href.nil?
|
3676
3676
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
3677
|
-
|
3678
|
-
|
3679
|
-
|
3680
|
-
|
3681
|
-
|
3677
|
+
Writer.write_string(writer, 'authentication_url', object.authentication_url) unless object.authentication_url.nil?
|
3678
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
3679
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
3680
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
3681
|
+
Writer.write_string(writer, 'password', object.password) unless object.password.nil?
|
3682
3682
|
PropertyWriter.write_many(object.properties, writer, 'property', 'properties') unless object.properties.nil?
|
3683
|
-
|
3684
|
-
|
3685
|
-
|
3686
|
-
|
3683
|
+
Writer.write_boolean(writer, 'requires_authentication', object.requires_authentication) unless object.requires_authentication.nil?
|
3684
|
+
Writer.write_string(writer, 'tenant_name', object.tenant_name) unless object.tenant_name.nil?
|
3685
|
+
Writer.write_string(writer, 'url', object.url) unless object.url.nil?
|
3686
|
+
Writer.write_string(writer, 'username', object.username) unless object.username.nil?
|
3687
3687
|
writer.write_end
|
3688
3688
|
end
|
3689
3689
|
|
@@ -3711,9 +3711,9 @@ module OvirtSDK4
|
|
3711
3711
|
href = object.href
|
3712
3712
|
writer.write_attribute('href', href) unless href.nil?
|
3713
3713
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
3714
|
-
|
3715
|
-
|
3716
|
-
|
3714
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
3715
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
3716
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
3717
3717
|
OpenStackNetworkProviderWriter.write_one(object.openstack_network_provider, writer, 'openstack_network_provider') unless object.openstack_network_provider.nil?
|
3718
3718
|
writer.write_end
|
3719
3719
|
end
|
@@ -3743,17 +3743,17 @@ module OvirtSDK4
|
|
3743
3743
|
writer.write_attribute('href', href) unless href.nil?
|
3744
3744
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
3745
3745
|
AgentConfigurationWriter.write_one(object.agent_configuration, writer, 'agent_configuration') unless object.agent_configuration.nil?
|
3746
|
-
|
3747
|
-
|
3748
|
-
|
3749
|
-
|
3750
|
-
|
3751
|
-
|
3746
|
+
Writer.write_string(writer, 'authentication_url', object.authentication_url) unless object.authentication_url.nil?
|
3747
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
3748
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
3749
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
3750
|
+
Writer.write_string(writer, 'password', object.password) unless object.password.nil?
|
3751
|
+
Writer.write_string(writer, 'plugin_type', object.plugin_type) unless object.plugin_type.nil?
|
3752
3752
|
PropertyWriter.write_many(object.properties, writer, 'property', 'properties') unless object.properties.nil?
|
3753
|
-
|
3754
|
-
|
3755
|
-
|
3756
|
-
|
3753
|
+
Writer.write_boolean(writer, 'requires_authentication', object.requires_authentication) unless object.requires_authentication.nil?
|
3754
|
+
Writer.write_string(writer, 'tenant_name', object.tenant_name) unless object.tenant_name.nil?
|
3755
|
+
Writer.write_string(writer, 'url', object.url) unless object.url.nil?
|
3756
|
+
Writer.write_string(writer, 'username', object.username) unless object.username.nil?
|
3757
3757
|
writer.write_end
|
3758
3758
|
end
|
3759
3759
|
|
@@ -3781,16 +3781,16 @@ module OvirtSDK4
|
|
3781
3781
|
href = object.href
|
3782
3782
|
writer.write_attribute('href', href) unless href.nil?
|
3783
3783
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
3784
|
-
|
3785
|
-
|
3786
|
-
|
3787
|
-
|
3788
|
-
|
3784
|
+
Writer.write_string(writer, 'authentication_url', object.authentication_url) unless object.authentication_url.nil?
|
3785
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
3786
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
3787
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
3788
|
+
Writer.write_string(writer, 'password', object.password) unless object.password.nil?
|
3789
3789
|
PropertyWriter.write_many(object.properties, writer, 'property', 'properties') unless object.properties.nil?
|
3790
|
-
|
3791
|
-
|
3792
|
-
|
3793
|
-
|
3790
|
+
Writer.write_boolean(writer, 'requires_authentication', object.requires_authentication) unless object.requires_authentication.nil?
|
3791
|
+
Writer.write_string(writer, 'tenant_name', object.tenant_name) unless object.tenant_name.nil?
|
3792
|
+
Writer.write_string(writer, 'url', object.url) unless object.url.nil?
|
3793
|
+
Writer.write_string(writer, 'username', object.username) unless object.username.nil?
|
3794
3794
|
writer.write_end
|
3795
3795
|
end
|
3796
3796
|
|
@@ -3818,19 +3818,19 @@ module OvirtSDK4
|
|
3818
3818
|
href = object.href
|
3819
3819
|
writer.write_attribute('href', href) unless href.nil?
|
3820
3820
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
3821
|
-
|
3822
|
-
|
3823
|
-
|
3821
|
+
Writer.write_string(writer, 'cidr', object.cidr) unless object.cidr.nil?
|
3822
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
3823
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
3824
3824
|
if not object.dns_servers.nil? and not object.dns_servers.empty? then
|
3825
3825
|
writer.write_start('dns_servers')
|
3826
3826
|
object.dns_servers.each do |item|
|
3827
|
-
|
3827
|
+
Writer.write_string(writer, 'dns_server', item) unless item.nil?
|
3828
3828
|
end
|
3829
3829
|
writer.end_element
|
3830
3830
|
end
|
3831
|
-
|
3832
|
-
|
3833
|
-
|
3831
|
+
Writer.write_string(writer, 'gateway', object.gateway) unless object.gateway.nil?
|
3832
|
+
Writer.write_string(writer, 'ip_version', object.ip_version) unless object.ip_version.nil?
|
3833
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
3834
3834
|
OpenStackNetworkWriter.write_one(object.openstack_network, writer, 'openstack_network') unless object.openstack_network.nil?
|
3835
3835
|
writer.write_end
|
3836
3836
|
end
|
@@ -3859,16 +3859,16 @@ module OvirtSDK4
|
|
3859
3859
|
href = object.href
|
3860
3860
|
writer.write_attribute('href', href) unless href.nil?
|
3861
3861
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
3862
|
-
|
3863
|
-
|
3864
|
-
|
3865
|
-
|
3866
|
-
|
3862
|
+
Writer.write_string(writer, 'authentication_url', object.authentication_url) unless object.authentication_url.nil?
|
3863
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
3864
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
3865
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
3866
|
+
Writer.write_string(writer, 'password', object.password) unless object.password.nil?
|
3867
3867
|
PropertyWriter.write_many(object.properties, writer, 'property', 'properties') unless object.properties.nil?
|
3868
|
-
|
3869
|
-
|
3870
|
-
|
3871
|
-
|
3868
|
+
Writer.write_boolean(writer, 'requires_authentication', object.requires_authentication) unless object.requires_authentication.nil?
|
3869
|
+
Writer.write_string(writer, 'tenant_name', object.tenant_name) unless object.tenant_name.nil?
|
3870
|
+
Writer.write_string(writer, 'url', object.url) unless object.url.nil?
|
3871
|
+
Writer.write_string(writer, 'username', object.username) unless object.username.nil?
|
3872
3872
|
DataCenterWriter.write_one(object.data_center, writer, 'data_center') unless object.data_center.nil?
|
3873
3873
|
writer.write_end
|
3874
3874
|
end
|
@@ -3897,9 +3897,9 @@ module OvirtSDK4
|
|
3897
3897
|
href = object.href
|
3898
3898
|
writer.write_attribute('href', href) unless href.nil?
|
3899
3899
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
3900
|
-
|
3901
|
-
|
3902
|
-
|
3900
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
3901
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
3902
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
3903
3903
|
PropertyWriter.write_many(object.properties, writer, 'property', 'properties') unless object.properties.nil?
|
3904
3904
|
OpenStackVolumeProviderWriter.write_one(object.openstack_volume_provider, writer, 'openstack_volume_provider') unless object.openstack_volume_provider.nil?
|
3905
3905
|
writer.write_end
|
@@ -3929,13 +3929,13 @@ module OvirtSDK4
|
|
3929
3929
|
href = object.href
|
3930
3930
|
writer.write_attribute('href', href) unless href.nil?
|
3931
3931
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
3932
|
-
|
3933
|
-
|
3934
|
-
|
3935
|
-
|
3936
|
-
|
3937
|
-
|
3938
|
-
|
3932
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
3933
|
+
Writer.write_date(writer, 'creation_date', object.creation_date) unless object.creation_date.nil?
|
3934
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
3935
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
3936
|
+
Writer.write_string(writer, 'usage_type', object.usage_type) unless object.usage_type.nil?
|
3937
|
+
Writer.write_string(writer, 'uuid', object.uuid) unless object.uuid.nil?
|
3938
|
+
Writer.write_string(writer, 'value', object.value) unless object.value.nil?
|
3939
3939
|
OpenStackVolumeProviderWriter.write_one(object.openstack_volume_provider, writer, 'openstack_volume_provider') unless object.openstack_volume_provider.nil?
|
3940
3940
|
writer.write_end
|
3941
3941
|
end
|
@@ -3964,10 +3964,10 @@ module OvirtSDK4
|
|
3964
3964
|
href = object.href
|
3965
3965
|
writer.write_attribute('href', href) unless href.nil?
|
3966
3966
|
BootWriter.write_one(object.boot, writer, 'boot') unless object.boot.nil?
|
3967
|
-
|
3968
|
-
|
3969
|
-
|
3970
|
-
|
3967
|
+
Writer.write_string(writer, 'cmdline', object.cmdline) unless object.cmdline.nil?
|
3968
|
+
Writer.write_string(writer, 'initrd', object.initrd) unless object.initrd.nil?
|
3969
|
+
Writer.write_string(writer, 'kernel', object.kernel) unless object.kernel.nil?
|
3970
|
+
Writer.write_string(writer, 'type', object.type) unless object.type.nil?
|
3971
3971
|
VersionWriter.write_one(object.version, writer, 'version') unless object.version.nil?
|
3972
3972
|
writer.write_end
|
3973
3973
|
end
|
@@ -3996,10 +3996,10 @@ module OvirtSDK4
|
|
3996
3996
|
href = object.href
|
3997
3997
|
writer.write_attribute('href', href) unless href.nil?
|
3998
3998
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
3999
|
-
|
4000
|
-
|
3999
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
4000
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
4001
4001
|
IconWriter.write_one(object.large_icon, writer, 'large_icon') unless object.large_icon.nil?
|
4002
|
-
|
4002
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
4003
4003
|
IconWriter.write_one(object.small_icon, writer, 'small_icon') unless object.small_icon.nil?
|
4004
4004
|
writer.write_end
|
4005
4005
|
end
|
@@ -4027,9 +4027,9 @@ module OvirtSDK4
|
|
4027
4027
|
writer.write_start(singular)
|
4028
4028
|
href = object.href
|
4029
4029
|
writer.write_attribute('href', href) unless href.nil?
|
4030
|
-
|
4031
|
-
|
4032
|
-
|
4030
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
4031
|
+
Writer.write_string(writer, 'type', object.type) unless object.type.nil?
|
4032
|
+
Writer.write_string(writer, 'value', object.value) unless object.value.nil?
|
4033
4033
|
writer.write_end
|
4034
4034
|
end
|
4035
4035
|
|
@@ -4056,7 +4056,7 @@ module OvirtSDK4
|
|
4056
4056
|
writer.write_start(singular)
|
4057
4057
|
href = object.href
|
4058
4058
|
writer.write_attribute('href', href) unless href.nil?
|
4059
|
-
|
4059
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
4060
4060
|
writer.write_end
|
4061
4061
|
end
|
4062
4062
|
|
@@ -4084,8 +4084,8 @@ module OvirtSDK4
|
|
4084
4084
|
href = object.href
|
4085
4085
|
writer.write_attribute('href', href) unless href.nil?
|
4086
4086
|
FileWriter.write_many(object.files, writer, 'file', 'files') unless object.files.nil?
|
4087
|
-
|
4088
|
-
|
4087
|
+
Writer.write_string(writer, 'type', object.type) unless object.type.nil?
|
4088
|
+
Writer.write_string(writer, 'volume_id', object.volume_id) unless object.volume_id.nil?
|
4089
4089
|
writer.write_end
|
4090
4090
|
end
|
4091
4091
|
|
@@ -4113,9 +4113,9 @@ module OvirtSDK4
|
|
4113
4113
|
href = object.href
|
4114
4114
|
writer.write_attribute('href', href) unless href.nil?
|
4115
4115
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
4116
|
-
|
4117
|
-
|
4118
|
-
|
4116
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
4117
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
4118
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
4119
4119
|
ClusterWriter.write_one(object.cluster, writer, 'cluster') unless object.cluster.nil?
|
4120
4120
|
DataCenterWriter.write_one(object.data_center, writer, 'data_center') unless object.data_center.nil?
|
4121
4121
|
DiskWriter.write_one(object.disk, writer, 'disk') unless object.disk.nil?
|
@@ -4154,10 +4154,10 @@ module OvirtSDK4
|
|
4154
4154
|
href = object.href
|
4155
4155
|
writer.write_attribute('href', href) unless href.nil?
|
4156
4156
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
4157
|
-
|
4158
|
-
|
4159
|
-
|
4160
|
-
|
4157
|
+
Writer.write_boolean(writer, 'administrative', object.administrative) unless object.administrative.nil?
|
4158
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
4159
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
4160
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
4161
4161
|
RoleWriter.write_one(object.role, writer, 'role') unless object.role.nil?
|
4162
4162
|
writer.write_end
|
4163
4163
|
end
|
@@ -4185,7 +4185,7 @@ module OvirtSDK4
|
|
4185
4185
|
writer.write_start(singular)
|
4186
4186
|
href = object.href
|
4187
4187
|
writer.write_attribute('href', href) unless href.nil?
|
4188
|
-
|
4188
|
+
Writer.write_string(writer, 'type', object.type) unless object.type.nil?
|
4189
4189
|
writer.write_end
|
4190
4190
|
end
|
4191
4191
|
|
@@ -4238,17 +4238,17 @@ module OvirtSDK4
|
|
4238
4238
|
writer.write_start(singular)
|
4239
4239
|
href = object.href
|
4240
4240
|
writer.write_attribute('href', href) unless href.nil?
|
4241
|
-
|
4241
|
+
Writer.write_string(writer, 'address', object.address) unless object.address.nil?
|
4242
4242
|
AgentWriter.write_many(object.agents, writer, 'agent', 'agents') unless object.agents.nil?
|
4243
|
-
|
4244
|
-
|
4245
|
-
|
4243
|
+
Writer.write_boolean(writer, 'automatic_pm_enabled', object.automatic_pm_enabled) unless object.automatic_pm_enabled.nil?
|
4244
|
+
Writer.write_boolean(writer, 'enabled', object.enabled) unless object.enabled.nil?
|
4245
|
+
Writer.write_boolean(writer, 'kdump_detection', object.kdump_detection) unless object.kdump_detection.nil?
|
4246
4246
|
OptionWriter.write_many(object.options, writer, 'option', 'options') unless object.options.nil?
|
4247
|
-
|
4247
|
+
Writer.write_string(writer, 'password', object.password) unless object.password.nil?
|
4248
4248
|
PmProxyWriter.write_many(object.pm_proxies, writer, 'pm_proxy', 'pm_proxies') unless object.pm_proxies.nil?
|
4249
4249
|
StatusWriter.write_one(object.status, writer, 'status') unless object.status.nil?
|
4250
|
-
|
4251
|
-
|
4250
|
+
Writer.write_string(writer, 'type', object.type) unless object.type.nil?
|
4251
|
+
Writer.write_string(writer, 'username', object.username) unless object.username.nil?
|
4252
4252
|
writer.write_end
|
4253
4253
|
end
|
4254
4254
|
|
@@ -4276,9 +4276,9 @@ module OvirtSDK4
|
|
4276
4276
|
href = object.href
|
4277
4277
|
writer.write_attribute('href', href) unless href.nil?
|
4278
4278
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
4279
|
-
|
4280
|
-
|
4281
|
-
|
4279
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
4280
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
4281
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
4282
4282
|
writer.write_end
|
4283
4283
|
end
|
4284
4284
|
|
@@ -4305,8 +4305,8 @@ module OvirtSDK4
|
|
4305
4305
|
writer.write_start(singular)
|
4306
4306
|
href = object.href
|
4307
4307
|
writer.write_attribute('href', href) unless href.nil?
|
4308
|
-
|
4309
|
-
|
4308
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
4309
|
+
Writer.write_string(writer, 'vendor', object.vendor) unless object.vendor.nil?
|
4310
4310
|
VersionWriter.write_one(object.version, writer, 'version') unless object.version.nil?
|
4311
4311
|
writer.write_end
|
4312
4312
|
end
|
@@ -4335,9 +4335,9 @@ module OvirtSDK4
|
|
4335
4335
|
href = object.href
|
4336
4336
|
writer.write_attribute('href', href) unless href.nil?
|
4337
4337
|
BlockStatisticWriter.write_many(object.block_statistics, writer, 'block_statistic', 'block_statistics') unless object.block_statistics.nil?
|
4338
|
-
|
4338
|
+
Writer.write_integer(writer, 'duration', object.duration) unless object.duration.nil?
|
4339
4339
|
FopStatisticWriter.write_many(object.fop_statistics, writer, 'fop_statistic', 'fop_statistics') unless object.fop_statistics.nil?
|
4340
|
-
|
4340
|
+
Writer.write_string(writer, 'profile_type', object.profile_type) unless object.profile_type.nil?
|
4341
4341
|
StatisticWriter.write_many(object.statistics, writer, 'statistic', 'statistics') unless object.statistics.nil?
|
4342
4342
|
writer.write_end
|
4343
4343
|
end
|
@@ -4365,8 +4365,8 @@ module OvirtSDK4
|
|
4365
4365
|
writer.write_start(singular)
|
4366
4366
|
href = object.href
|
4367
4367
|
writer.write_attribute('href', href) unless href.nil?
|
4368
|
-
|
4369
|
-
|
4368
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
4369
|
+
Writer.write_string(writer, 'value', object.value) unless object.value.nil?
|
4370
4370
|
writer.write_end
|
4371
4371
|
end
|
4372
4372
|
|
@@ -4393,7 +4393,7 @@ module OvirtSDK4
|
|
4393
4393
|
writer.write_start(singular)
|
4394
4394
|
href = object.href
|
4395
4395
|
writer.write_attribute('href', href) unless href.nil?
|
4396
|
-
|
4396
|
+
Writer.write_string(writer, 'value', object.value) unless object.value.nil?
|
4397
4397
|
writer.write_end
|
4398
4398
|
end
|
4399
4399
|
|
@@ -4421,26 +4421,26 @@ module OvirtSDK4
|
|
4421
4421
|
href = object.href
|
4422
4422
|
writer.write_attribute('href', href) unless href.nil?
|
4423
4423
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
4424
|
-
|
4425
|
-
|
4426
|
-
|
4427
|
-
|
4428
|
-
|
4429
|
-
|
4430
|
-
|
4431
|
-
|
4432
|
-
|
4433
|
-
|
4434
|
-
|
4435
|
-
|
4436
|
-
|
4437
|
-
|
4438
|
-
|
4439
|
-
|
4440
|
-
|
4441
|
-
|
4442
|
-
|
4443
|
-
|
4424
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
4425
|
+
Writer.write_integer(writer, 'cpu_limit', object.cpu_limit) unless object.cpu_limit.nil?
|
4426
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
4427
|
+
Writer.write_integer(writer, 'inbound_average', object.inbound_average) unless object.inbound_average.nil?
|
4428
|
+
Writer.write_integer(writer, 'inbound_burst', object.inbound_burst) unless object.inbound_burst.nil?
|
4429
|
+
Writer.write_integer(writer, 'inbound_peak', object.inbound_peak) unless object.inbound_peak.nil?
|
4430
|
+
Writer.write_integer(writer, 'max_iops', object.max_iops) unless object.max_iops.nil?
|
4431
|
+
Writer.write_integer(writer, 'max_read_iops', object.max_read_iops) unless object.max_read_iops.nil?
|
4432
|
+
Writer.write_integer(writer, 'max_read_throughput', object.max_read_throughput) unless object.max_read_throughput.nil?
|
4433
|
+
Writer.write_integer(writer, 'max_throughput', object.max_throughput) unless object.max_throughput.nil?
|
4434
|
+
Writer.write_integer(writer, 'max_write_iops', object.max_write_iops) unless object.max_write_iops.nil?
|
4435
|
+
Writer.write_integer(writer, 'max_write_throughput', object.max_write_throughput) unless object.max_write_throughput.nil?
|
4436
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
4437
|
+
Writer.write_integer(writer, 'outbound_average', object.outbound_average) unless object.outbound_average.nil?
|
4438
|
+
Writer.write_integer(writer, 'outbound_average_linkshare', object.outbound_average_linkshare) unless object.outbound_average_linkshare.nil?
|
4439
|
+
Writer.write_integer(writer, 'outbound_average_realtime', object.outbound_average_realtime) unless object.outbound_average_realtime.nil?
|
4440
|
+
Writer.write_integer(writer, 'outbound_average_upperlimit', object.outbound_average_upperlimit) unless object.outbound_average_upperlimit.nil?
|
4441
|
+
Writer.write_integer(writer, 'outbound_burst', object.outbound_burst) unless object.outbound_burst.nil?
|
4442
|
+
Writer.write_integer(writer, 'outbound_peak', object.outbound_peak) unless object.outbound_peak.nil?
|
4443
|
+
Writer.write_string(writer, 'type', object.type) unless object.type.nil?
|
4444
4444
|
DataCenterWriter.write_one(object.data_center, writer, 'data_center') unless object.data_center.nil?
|
4445
4445
|
writer.write_end
|
4446
4446
|
end
|
@@ -4469,15 +4469,15 @@ module OvirtSDK4
|
|
4469
4469
|
href = object.href
|
4470
4470
|
writer.write_attribute('href', href) unless href.nil?
|
4471
4471
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
4472
|
-
|
4473
|
-
|
4474
|
-
|
4472
|
+
Writer.write_integer(writer, 'cluster_hard_limit_pct', object.cluster_hard_limit_pct) unless object.cluster_hard_limit_pct.nil?
|
4473
|
+
Writer.write_integer(writer, 'cluster_soft_limit_pct', object.cluster_soft_limit_pct) unless object.cluster_soft_limit_pct.nil?
|
4474
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
4475
4475
|
DataCenterWriter.write_one(object.data_center, writer, 'data_center') unless object.data_center.nil?
|
4476
|
-
|
4476
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
4477
4477
|
DiskWriter.write_many(object.disks, writer, 'disk', 'disks') unless object.disks.nil?
|
4478
|
-
|
4479
|
-
|
4480
|
-
|
4478
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
4479
|
+
Writer.write_integer(writer, 'storage_hard_limit_pct', object.storage_hard_limit_pct) unless object.storage_hard_limit_pct.nil?
|
4480
|
+
Writer.write_integer(writer, 'storage_soft_limit_pct', object.storage_soft_limit_pct) unless object.storage_soft_limit_pct.nil?
|
4481
4481
|
UserWriter.write_many(object.users, writer, 'user', 'users') unless object.users.nil?
|
4482
4482
|
VmWriter.write_many(object.vms, writer, 'vm', 'vms') unless object.vms.nil?
|
4483
4483
|
writer.write_end
|
@@ -4507,13 +4507,13 @@ module OvirtSDK4
|
|
4507
4507
|
href = object.href
|
4508
4508
|
writer.write_attribute('href', href) unless href.nil?
|
4509
4509
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
4510
|
-
|
4511
|
-
|
4512
|
-
|
4513
|
-
|
4514
|
-
|
4515
|
-
|
4516
|
-
|
4510
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
4511
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
4512
|
+
Writer.write_decimal(writer, 'memory_limit', object.memory_limit) unless object.memory_limit.nil?
|
4513
|
+
Writer.write_decimal(writer, 'memory_usage', object.memory_usage) unless object.memory_usage.nil?
|
4514
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
4515
|
+
Writer.write_integer(writer, 'vcpu_limit', object.vcpu_limit) unless object.vcpu_limit.nil?
|
4516
|
+
Writer.write_integer(writer, 'vcpu_usage', object.vcpu_usage) unless object.vcpu_usage.nil?
|
4517
4517
|
ClusterWriter.write_one(object.cluster, writer, 'cluster') unless object.cluster.nil?
|
4518
4518
|
QuotaWriter.write_one(object.quota, writer, 'quota') unless object.quota.nil?
|
4519
4519
|
writer.write_end
|
@@ -4543,11 +4543,11 @@ module OvirtSDK4
|
|
4543
4543
|
href = object.href
|
4544
4544
|
writer.write_attribute('href', href) unless href.nil?
|
4545
4545
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
4546
|
-
|
4547
|
-
|
4548
|
-
|
4549
|
-
|
4550
|
-
|
4546
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
4547
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
4548
|
+
Writer.write_integer(writer, 'limit', object.limit) unless object.limit.nil?
|
4549
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
4550
|
+
Writer.write_decimal(writer, 'usage', object.usage) unless object.usage.nil?
|
4551
4551
|
QuotaWriter.write_one(object.quota, writer, 'quota') unless object.quota.nil?
|
4552
4552
|
StorageDomainWriter.write_one(object.storage_domain, writer, 'storage_domain') unless object.storage_domain.nil?
|
4553
4553
|
writer.write_end
|
@@ -4576,8 +4576,8 @@ module OvirtSDK4
|
|
4576
4576
|
writer.write_start(singular)
|
4577
4577
|
href = object.href
|
4578
4578
|
writer.write_attribute('href', href) unless href.nil?
|
4579
|
-
|
4580
|
-
|
4579
|
+
Writer.write_string(writer, 'from', object.from) unless object.from.nil?
|
4580
|
+
Writer.write_string(writer, 'to', object.to) unless object.to.nil?
|
4581
4581
|
writer.write_end
|
4582
4582
|
end
|
4583
4583
|
|
@@ -4604,8 +4604,8 @@ module OvirtSDK4
|
|
4604
4604
|
writer.write_start(singular)
|
4605
4605
|
href = object.href
|
4606
4606
|
writer.write_attribute('href', href) unless href.nil?
|
4607
|
-
|
4608
|
-
|
4607
|
+
Writer.write_integer(writer, 'bytes', object.bytes) unless object.bytes.nil?
|
4608
|
+
Writer.write_integer(writer, 'period', object.period) unless object.period.nil?
|
4609
4609
|
writer.write_end
|
4610
4610
|
end
|
4611
4611
|
|
@@ -4632,10 +4632,10 @@ module OvirtSDK4
|
|
4632
4632
|
writer.write_start(singular)
|
4633
4633
|
href = object.href
|
4634
4634
|
writer.write_attribute('href', href) unless href.nil?
|
4635
|
-
|
4636
|
-
|
4637
|
-
|
4638
|
-
|
4635
|
+
Writer.write_string(writer, 'actual_value', object.actual_value) unless object.actual_value.nil?
|
4636
|
+
Writer.write_string(writer, 'expected_value', object.expected_value) unless object.expected_value.nil?
|
4637
|
+
Writer.write_boolean(writer, 'in_sync', object.in_sync) unless object.in_sync.nil?
|
4638
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
4639
4639
|
writer.write_end
|
4640
4640
|
end
|
4641
4641
|
|
@@ -4663,12 +4663,12 @@ module OvirtSDK4
|
|
4663
4663
|
href = object.href
|
4664
4664
|
writer.write_attribute('href', href) unless href.nil?
|
4665
4665
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
4666
|
-
|
4667
|
-
|
4666
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
4667
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
4668
4668
|
IpWriter.write_many(object.ips, writer, 'ip', 'ips') unless object.ips.nil?
|
4669
4669
|
MacWriter.write_one(object.mac, writer, 'mac') unless object.mac.nil?
|
4670
|
-
|
4671
|
-
|
4670
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
4671
|
+
Writer.write_string(writer, 'type', object.type) unless object.type.nil?
|
4672
4672
|
VmWriter.write_one(object.vm, writer, 'vm') unless object.vm.nil?
|
4673
4673
|
writer.write_end
|
4674
4674
|
end
|
@@ -4697,7 +4697,7 @@ module OvirtSDK4
|
|
4697
4697
|
href = object.href
|
4698
4698
|
writer.write_attribute('href', href) unless href.nil?
|
4699
4699
|
RateWriter.write_one(object.rate, writer, 'rate') unless object.rate.nil?
|
4700
|
-
|
4700
|
+
Writer.write_string(writer, 'source', object.source) unless object.source.nil?
|
4701
4701
|
writer.write_end
|
4702
4702
|
end
|
4703
4703
|
|
@@ -4725,11 +4725,11 @@ module OvirtSDK4
|
|
4725
4725
|
href = object.href
|
4726
4726
|
writer.write_attribute('href', href) unless href.nil?
|
4727
4727
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
4728
|
-
|
4729
|
-
|
4730
|
-
|
4731
|
-
|
4732
|
-
|
4728
|
+
Writer.write_boolean(writer, 'administrative', object.administrative) unless object.administrative.nil?
|
4729
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
4730
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
4731
|
+
Writer.write_boolean(writer, 'mutable', object.mutable) unless object.mutable.nil?
|
4732
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
4733
4733
|
PermitWriter.write_many(object.permits, writer, 'permit', 'permits') unless object.permits.nil?
|
4734
4734
|
UserWriter.write_one(object.user, writer, 'user') unless object.user.nil?
|
4735
4735
|
writer.write_end
|
@@ -4759,11 +4759,11 @@ module OvirtSDK4
|
|
4759
4759
|
href = object.href
|
4760
4760
|
writer.write_attribute('href', href) unless href.nil?
|
4761
4761
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
4762
|
-
|
4763
|
-
|
4764
|
-
|
4765
|
-
|
4766
|
-
|
4762
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
4763
|
+
Writer.write_boolean(writer, 'default_policy', object.default_policy) unless object.default_policy.nil?
|
4764
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
4765
|
+
Writer.write_boolean(writer, 'locked', object.locked) unless object.locked.nil?
|
4766
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
4767
4767
|
PropertyWriter.write_many(object.properties, writer, 'property', 'properties') unless object.properties.nil?
|
4768
4768
|
writer.write_end
|
4769
4769
|
end
|
@@ -4792,13 +4792,13 @@ module OvirtSDK4
|
|
4792
4792
|
href = object.href
|
4793
4793
|
writer.write_attribute('href', href) unless href.nil?
|
4794
4794
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
4795
|
-
|
4796
|
-
|
4797
|
-
|
4798
|
-
|
4799
|
-
|
4795
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
4796
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
4797
|
+
Writer.write_boolean(writer, 'enabled', object.enabled) unless object.enabled.nil?
|
4798
|
+
Writer.write_boolean(writer, 'internal', object.internal) unless object.internal.nil?
|
4799
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
4800
4800
|
PropertyWriter.write_many(object.properties, writer, 'property', 'properties') unless object.properties.nil?
|
4801
|
-
|
4801
|
+
Writer.write_string(writer, 'type', object.type) unless object.type.nil?
|
4802
4802
|
writer.write_end
|
4803
4803
|
end
|
4804
4804
|
|
@@ -4825,7 +4825,7 @@ module OvirtSDK4
|
|
4825
4825
|
writer.write_start(singular)
|
4826
4826
|
href = object.href
|
4827
4827
|
writer.write_attribute('href', href) unless href.nil?
|
4828
|
-
|
4828
|
+
Writer.write_string(writer, 'mode', object.mode) unless object.mode.nil?
|
4829
4829
|
writer.write_end
|
4830
4830
|
end
|
4831
4831
|
|
@@ -4852,8 +4852,8 @@ module OvirtSDK4
|
|
4852
4852
|
writer.write_start(singular)
|
4853
4853
|
href = object.href
|
4854
4854
|
writer.write_attribute('href', href) unless href.nil?
|
4855
|
-
|
4856
|
-
|
4855
|
+
Writer.write_string(writer, 'policy', object.policy) unless object.policy.nil?
|
4856
|
+
Writer.write_string(writer, 'value', object.value) unless object.value.nil?
|
4857
4857
|
writer.write_end
|
4858
4858
|
end
|
4859
4859
|
|
@@ -4881,12 +4881,12 @@ module OvirtSDK4
|
|
4881
4881
|
href = object.href
|
4882
4882
|
writer.write_attribute('href', href) unless href.nil?
|
4883
4883
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
4884
|
-
|
4885
|
-
|
4886
|
-
|
4884
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
4885
|
+
Writer.write_boolean(writer, 'console_user', object.console_user) unless object.console_user.nil?
|
4886
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
4887
4887
|
IpWriter.write_one(object.ip, writer, 'ip') unless object.ip.nil?
|
4888
|
-
|
4889
|
-
|
4888
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
4889
|
+
Writer.write_string(writer, 'protocol', object.protocol) unless object.protocol.nil?
|
4890
4890
|
UserWriter.write_one(object.user, writer, 'user') unless object.user.nil?
|
4891
4891
|
VmWriter.write_one(object.vm, writer, 'vm') unless object.vm.nil?
|
4892
4892
|
writer.write_end
|
@@ -4915,8 +4915,8 @@ module OvirtSDK4
|
|
4915
4915
|
writer.write_start(singular)
|
4916
4916
|
href = object.href
|
4917
4917
|
writer.write_attribute('href', href) unless href.nil?
|
4918
|
-
|
4919
|
-
|
4918
|
+
Writer.write_boolean(writer, 'enabled', object.enabled) unless object.enabled.nil?
|
4919
|
+
Writer.write_integer(writer, 'threshold', object.threshold) unless object.threshold.nil?
|
4920
4920
|
writer.write_end
|
4921
4921
|
end
|
4922
4922
|
|
@@ -4943,7 +4943,7 @@ module OvirtSDK4
|
|
4943
4943
|
writer.write_start(singular)
|
4944
4944
|
href = object.href
|
4945
4945
|
writer.write_attribute('href', href) unless href.nil?
|
4946
|
-
|
4946
|
+
Writer.write_boolean(writer, 'enabled', object.enabled) unless object.enabled.nil?
|
4947
4947
|
writer.write_end
|
4948
4948
|
end
|
4949
4949
|
|
@@ -4972,59 +4972,59 @@ module OvirtSDK4
|
|
4972
4972
|
writer.write_attribute('href', href) unless href.nil?
|
4973
4973
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
4974
4974
|
BiosWriter.write_one(object.bios, writer, 'bios') unless object.bios.nil?
|
4975
|
-
|
4975
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
4976
4976
|
ConsoleWriter.write_one(object.console, writer, 'console') unless object.console.nil?
|
4977
4977
|
CpuWriter.write_one(object.cpu, writer, 'cpu') unless object.cpu.nil?
|
4978
|
-
|
4979
|
-
|
4980
|
-
|
4981
|
-
|
4978
|
+
Writer.write_integer(writer, 'cpu_shares', object.cpu_shares) unless object.cpu_shares.nil?
|
4979
|
+
Writer.write_date(writer, 'creation_time', object.creation_time) unless object.creation_time.nil?
|
4980
|
+
Writer.write_string(writer, 'custom_cpu_model', object.custom_cpu_model) unless object.custom_cpu_model.nil?
|
4981
|
+
Writer.write_string(writer, 'custom_emulated_machine', object.custom_emulated_machine) unless object.custom_emulated_machine.nil?
|
4982
4982
|
CustomPropertyWriter.write_many(object.custom_properties, writer, 'custom_property', 'custom_properties') unless object.custom_properties.nil?
|
4983
|
-
|
4984
|
-
|
4985
|
-
|
4983
|
+
Writer.write_date(writer, 'date', object.date) unless object.date.nil?
|
4984
|
+
Writer.write_boolean(writer, 'delete_protected', object.delete_protected) unless object.delete_protected.nil?
|
4985
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
4986
4986
|
DisplayWriter.write_one(object.display, writer, 'display') unless object.display.nil?
|
4987
4987
|
DomainWriter.write_one(object.domain, writer, 'domain') unless object.domain.nil?
|
4988
|
-
|
4988
|
+
Writer.write_string(writer, 'fqdn', object.fqdn) unless object.fqdn.nil?
|
4989
4989
|
GuestOperatingSystemWriter.write_one(object.guest_operating_system, writer, 'guest_operating_system') unless object.guest_operating_system.nil?
|
4990
4990
|
TimeZoneWriter.write_one(object.guest_time_zone, writer, 'guest_time_zone') unless object.guest_time_zone.nil?
|
4991
4991
|
HighAvailabilityWriter.write_one(object.high_availability, writer, 'high_availability') unless object.high_availability.nil?
|
4992
4992
|
InitializationWriter.write_one(object.initialization, writer, 'initialization') unless object.initialization.nil?
|
4993
4993
|
IoWriter.write_one(object.io, writer, 'io') unless object.io.nil?
|
4994
4994
|
IconWriter.write_one(object.large_icon, writer, 'large_icon') unless object.large_icon.nil?
|
4995
|
-
|
4995
|
+
Writer.write_integer(writer, 'memory', object.memory) unless object.memory.nil?
|
4996
4996
|
MemoryPolicyWriter.write_one(object.memory_policy, writer, 'memory_policy') unless object.memory_policy.nil?
|
4997
4997
|
MigrationOptionsWriter.write_one(object.migration, writer, 'migration') unless object.migration.nil?
|
4998
|
-
|
4999
|
-
|
5000
|
-
|
5001
|
-
|
5002
|
-
|
4998
|
+
Writer.write_integer(writer, 'migration_downtime', object.migration_downtime) unless object.migration_downtime.nil?
|
4999
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
5000
|
+
Writer.write_boolean(writer, 'next_run_configuration_exists', object.next_run_configuration_exists) unless object.next_run_configuration_exists.nil?
|
5001
|
+
Writer.write_string(writer, 'numa_tune_mode', object.numa_tune_mode) unless object.numa_tune_mode.nil?
|
5002
|
+
Writer.write_string(writer, 'origin', object.origin) unless object.origin.nil?
|
5003
5003
|
OperatingSystemWriter.write_one(object.os, writer, 'os') unless object.os.nil?
|
5004
5004
|
PayloadWriter.write_many(object.payloads, writer, 'payload', 'payloads') unless object.payloads.nil?
|
5005
|
-
|
5005
|
+
Writer.write_boolean(writer, 'persist_memorystate', object.persist_memorystate) unless object.persist_memorystate.nil?
|
5006
5006
|
VmPlacementPolicyWriter.write_one(object.placement_policy, writer, 'placement_policy') unless object.placement_policy.nil?
|
5007
5007
|
RngDeviceWriter.write_one(object.rng_device, writer, 'rng_device') unless object.rng_device.nil?
|
5008
|
-
|
5008
|
+
Writer.write_boolean(writer, 'run_once', object.run_once) unless object.run_once.nil?
|
5009
5009
|
SerialNumberWriter.write_one(object.serial_number, writer, 'serial_number') unless object.serial_number.nil?
|
5010
5010
|
IconWriter.write_one(object.small_icon, writer, 'small_icon') unless object.small_icon.nil?
|
5011
|
-
|
5012
|
-
|
5013
|
-
|
5011
|
+
Writer.write_string(writer, 'snapshot_status', object.snapshot_status) unless object.snapshot_status.nil?
|
5012
|
+
Writer.write_string(writer, 'snapshot_type', object.snapshot_type) unless object.snapshot_type.nil?
|
5013
|
+
Writer.write_boolean(writer, 'soundcard_enabled', object.soundcard_enabled) unless object.soundcard_enabled.nil?
|
5014
5014
|
SsoWriter.write_one(object.sso, writer, 'sso') unless object.sso.nil?
|
5015
|
-
|
5016
|
-
|
5017
|
-
|
5015
|
+
Writer.write_boolean(writer, 'start_paused', object.start_paused) unless object.start_paused.nil?
|
5016
|
+
Writer.write_date(writer, 'start_time', object.start_time) unless object.start_time.nil?
|
5017
|
+
Writer.write_boolean(writer, 'stateless', object.stateless) unless object.stateless.nil?
|
5018
5018
|
StatisticWriter.write_many(object.statistics, writer, 'statistic', 'statistics') unless object.statistics.nil?
|
5019
5019
|
StatusWriter.write_one(object.status, writer, 'status') unless object.status.nil?
|
5020
|
-
|
5021
|
-
|
5020
|
+
Writer.write_string(writer, 'stop_reason', object.stop_reason) unless object.stop_reason.nil?
|
5021
|
+
Writer.write_date(writer, 'stop_time', object.stop_time) unless object.stop_time.nil?
|
5022
5022
|
TagWriter.write_many(object.tags, writer, 'tag', 'tags') unless object.tags.nil?
|
5023
5023
|
TimeZoneWriter.write_one(object.time_zone, writer, 'time_zone') unless object.time_zone.nil?
|
5024
|
-
|
5025
|
-
|
5024
|
+
Writer.write_boolean(writer, 'tunnel_migration', object.tunnel_migration) unless object.tunnel_migration.nil?
|
5025
|
+
Writer.write_string(writer, 'type', object.type) unless object.type.nil?
|
5026
5026
|
UsbWriter.write_one(object.usb, writer, 'usb') unless object.usb.nil?
|
5027
|
-
|
5027
|
+
Writer.write_boolean(writer, 'use_latest_template_version', object.use_latest_template_version) unless object.use_latest_template_version.nil?
|
5028
5028
|
VirtioScsiWriter.write_one(object.virtio_scsi, writer, 'virtio_scsi') unless object.virtio_scsi.nil?
|
5029
5029
|
CdromWriter.write_many(object.cdroms, writer, 'cdrom', 'cdroms') unless object.cdroms.nil?
|
5030
5030
|
ClusterWriter.write_one(object.cluster, writer, 'cluster') unless object.cluster.nil?
|
@@ -5099,7 +5099,7 @@ module OvirtSDK4
|
|
5099
5099
|
writer.write_start(singular)
|
5100
5100
|
href = object.href
|
5101
5101
|
writer.write_attribute('href', href) unless href.nil?
|
5102
|
-
|
5102
|
+
Writer.write_integer(writer, 'priority', object.priority) unless object.priority.nil?
|
5103
5103
|
StatusWriter.write_one(object.status, writer, 'status') unless object.status.nil?
|
5104
5104
|
writer.write_end
|
5105
5105
|
end
|
@@ -5128,12 +5128,12 @@ module OvirtSDK4
|
|
5128
5128
|
href = object.href
|
5129
5129
|
writer.write_attribute('href', href) unless href.nil?
|
5130
5130
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
5131
|
-
|
5132
|
-
|
5133
|
-
|
5134
|
-
|
5135
|
-
|
5136
|
-
|
5131
|
+
Writer.write_string(writer, 'authentication_method', object.authentication_method) unless object.authentication_method.nil?
|
5132
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
5133
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
5134
|
+
Writer.write_string(writer, 'fingerprint', object.fingerprint) unless object.fingerprint.nil?
|
5135
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
5136
|
+
Writer.write_integer(writer, 'port', object.port) unless object.port.nil?
|
5137
5137
|
UserWriter.write_one(object.user, writer, 'user') unless object.user.nil?
|
5138
5138
|
writer.write_end
|
5139
5139
|
end
|
@@ -5162,10 +5162,10 @@ module OvirtSDK4
|
|
5162
5162
|
href = object.href
|
5163
5163
|
writer.write_attribute('href', href) unless href.nil?
|
5164
5164
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
5165
|
-
|
5166
|
-
|
5167
|
-
|
5168
|
-
|
5165
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
5166
|
+
Writer.write_string(writer, 'content', object.content) unless object.content.nil?
|
5167
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
5168
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
5169
5169
|
UserWriter.write_one(object.user, writer, 'user') unless object.user.nil?
|
5170
5170
|
writer.write_end
|
5171
5171
|
end
|
@@ -5221,12 +5221,12 @@ module OvirtSDK4
|
|
5221
5221
|
href = object.href
|
5222
5222
|
writer.write_attribute('href', href) unless href.nil?
|
5223
5223
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
5224
|
-
|
5225
|
-
|
5226
|
-
|
5227
|
-
|
5228
|
-
|
5229
|
-
|
5224
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
5225
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
5226
|
+
Writer.write_string(writer, 'kind', object.kind) unless object.kind.nil?
|
5227
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
5228
|
+
Writer.write_string(writer, 'type', object.type) unless object.type.nil?
|
5229
|
+
Writer.write_string(writer, 'unit', object.unit) unless object.unit.nil?
|
5230
5230
|
ValueWriter.write_many(object.values, writer, 'value', 'values') unless object.values.nil?
|
5231
5231
|
GlusterBrickWriter.write_one(object.brick, writer, 'brick') unless object.brick.nil?
|
5232
5232
|
DiskWriter.write_one(object.disk, writer, 'disk') unless object.disk.nil?
|
@@ -5263,8 +5263,8 @@ module OvirtSDK4
|
|
5263
5263
|
writer.write_start(singular)
|
5264
5264
|
href = object.href
|
5265
5265
|
writer.write_attribute('href', href) unless href.nil?
|
5266
|
-
|
5267
|
-
|
5266
|
+
Writer.write_string(writer, 'detail', object.detail) unless object.detail.nil?
|
5267
|
+
Writer.write_string(writer, 'state', object.state) unless object.state.nil?
|
5268
5268
|
writer.write_end
|
5269
5269
|
end
|
5270
5270
|
|
@@ -5292,16 +5292,16 @@ module OvirtSDK4
|
|
5292
5292
|
href = object.href
|
5293
5293
|
writer.write_attribute('href', href) unless href.nil?
|
5294
5294
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
5295
|
-
|
5296
|
-
|
5297
|
-
|
5298
|
-
|
5299
|
-
|
5300
|
-
|
5301
|
-
|
5302
|
-
|
5295
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
5296
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
5297
|
+
Writer.write_date(writer, 'end_time', object.end_time) unless object.end_time.nil?
|
5298
|
+
Writer.write_boolean(writer, 'external', object.external) unless object.external.nil?
|
5299
|
+
Writer.write_string(writer, 'external_type', object.external_type) unless object.external_type.nil?
|
5300
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
5301
|
+
Writer.write_integer(writer, 'number', object.number) unless object.number.nil?
|
5302
|
+
Writer.write_date(writer, 'start_time', object.start_time) unless object.start_time.nil?
|
5303
5303
|
StatusWriter.write_one(object.status, writer, 'status') unless object.status.nil?
|
5304
|
-
|
5304
|
+
Writer.write_string(writer, 'type', object.type) unless object.type.nil?
|
5305
5305
|
JobWriter.write_one(object.job, writer, 'job') unless object.job.nil?
|
5306
5306
|
StepWriter.write_one(object.parent_step, writer, 'parent_step') unless object.parent_step.nil?
|
5307
5307
|
writer.write_end
|
@@ -5331,22 +5331,22 @@ module OvirtSDK4
|
|
5331
5331
|
href = object.href
|
5332
5332
|
writer.write_attribute('href', href) unless href.nil?
|
5333
5333
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
5334
|
-
|
5335
|
-
|
5336
|
-
|
5337
|
-
|
5338
|
-
|
5339
|
-
|
5340
|
-
|
5341
|
-
|
5342
|
-
|
5343
|
-
|
5344
|
-
|
5345
|
-
|
5346
|
-
|
5347
|
-
|
5348
|
-
|
5349
|
-
|
5334
|
+
Writer.write_string(writer, 'address', object.address) unless object.address.nil?
|
5335
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
5336
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
5337
|
+
Writer.write_string(writer, 'mount_options', object.mount_options) unless object.mount_options.nil?
|
5338
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
5339
|
+
Writer.write_integer(writer, 'nfs_retrans', object.nfs_retrans) unless object.nfs_retrans.nil?
|
5340
|
+
Writer.write_integer(writer, 'nfs_timeo', object.nfs_timeo) unless object.nfs_timeo.nil?
|
5341
|
+
Writer.write_string(writer, 'nfs_version', object.nfs_version) unless object.nfs_version.nil?
|
5342
|
+
Writer.write_string(writer, 'password', object.password) unless object.password.nil?
|
5343
|
+
Writer.write_string(writer, 'path', object.path) unless object.path.nil?
|
5344
|
+
Writer.write_integer(writer, 'port', object.port) unless object.port.nil?
|
5345
|
+
Writer.write_string(writer, 'portal', object.portal) unless object.portal.nil?
|
5346
|
+
Writer.write_string(writer, 'target', object.target) unless object.target.nil?
|
5347
|
+
Writer.write_string(writer, 'type', object.type) unless object.type.nil?
|
5348
|
+
Writer.write_string(writer, 'username', object.username) unless object.username.nil?
|
5349
|
+
Writer.write_string(writer, 'vfs_type', object.vfs_type) unless object.vfs_type.nil?
|
5350
5350
|
HostWriter.write_one(object.host, writer, 'host') unless object.host.nil?
|
5351
5351
|
writer.write_end
|
5352
5352
|
end
|
@@ -5375,12 +5375,12 @@ module OvirtSDK4
|
|
5375
5375
|
href = object.href
|
5376
5376
|
writer.write_attribute('href', href) unless href.nil?
|
5377
5377
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
5378
|
-
|
5379
|
-
|
5380
|
-
|
5381
|
-
|
5382
|
-
|
5383
|
-
|
5378
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
5379
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
5380
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
5381
|
+
Writer.write_string(writer, 'password', object.password) unless object.password.nil?
|
5382
|
+
Writer.write_string(writer, 'target', object.target) unless object.target.nil?
|
5383
|
+
Writer.write_string(writer, 'username', object.username) unless object.username.nil?
|
5384
5384
|
HostWriter.write_one(object.host, writer, 'host') unless object.host.nil?
|
5385
5385
|
writer.write_end
|
5386
5386
|
end
|
@@ -5409,22 +5409,22 @@ module OvirtSDK4
|
|
5409
5409
|
href = object.href
|
5410
5410
|
writer.write_attribute('href', href) unless href.nil?
|
5411
5411
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
5412
|
-
|
5413
|
-
|
5414
|
-
|
5415
|
-
|
5416
|
-
|
5412
|
+
Writer.write_integer(writer, 'available', object.available) unless object.available.nil?
|
5413
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
5414
|
+
Writer.write_integer(writer, 'committed', object.committed) unless object.committed.nil?
|
5415
|
+
Writer.write_integer(writer, 'critical_space_action_blocker', object.critical_space_action_blocker) unless object.critical_space_action_blocker.nil?
|
5416
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
5417
5417
|
StatusWriter.write_one(object.external_status, writer, 'external_status') unless object.external_status.nil?
|
5418
|
-
|
5419
|
-
|
5420
|
-
|
5418
|
+
Writer.write_boolean(writer, 'import', object.import) unless object.import.nil?
|
5419
|
+
Writer.write_boolean(writer, 'master', object.master) unless object.master.nil?
|
5420
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
5421
5421
|
StatusWriter.write_one(object.status, writer, 'status') unless object.status.nil?
|
5422
5422
|
HostStorageWriter.write_one(object.storage, writer, 'storage') unless object.storage.nil?
|
5423
|
-
|
5424
|
-
|
5425
|
-
|
5426
|
-
|
5427
|
-
|
5423
|
+
Writer.write_string(writer, 'storage_format', object.storage_format) unless object.storage_format.nil?
|
5424
|
+
Writer.write_string(writer, 'type', object.type) unless object.type.nil?
|
5425
|
+
Writer.write_integer(writer, 'used', object.used) unless object.used.nil?
|
5426
|
+
Writer.write_integer(writer, 'warning_low_space_indicator', object.warning_low_space_indicator) unless object.warning_low_space_indicator.nil?
|
5427
|
+
Writer.write_boolean(writer, 'wipe_after_delete', object.wipe_after_delete) unless object.wipe_after_delete.nil?
|
5428
5428
|
DataCenterWriter.write_one(object.data_center, writer, 'data_center') unless object.data_center.nil?
|
5429
5429
|
DataCenterWriter.write_many(object.data_centers, writer, 'data_center', 'data_centers') unless object.data_centers.nil?
|
5430
5430
|
HostWriter.write_one(object.host, writer, 'host') unless object.host.nil?
|
@@ -5455,9 +5455,9 @@ module OvirtSDK4
|
|
5455
5455
|
href = object.href
|
5456
5456
|
writer.write_attribute('href', href) unless href.nil?
|
5457
5457
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
5458
|
-
|
5459
|
-
|
5460
|
-
|
5458
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
5459
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
5460
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
5461
5461
|
GroupWriter.write_one(object.group, writer, 'group') unless object.group.nil?
|
5462
5462
|
HostWriter.write_one(object.host, writer, 'host') unless object.host.nil?
|
5463
5463
|
TagWriter.write_one(object.parent, writer, 'parent') unless object.parent.nil?
|
@@ -5492,40 +5492,40 @@ module OvirtSDK4
|
|
5492
5492
|
writer.write_attribute('href', href) unless href.nil?
|
5493
5493
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
5494
5494
|
BiosWriter.write_one(object.bios, writer, 'bios') unless object.bios.nil?
|
5495
|
-
|
5495
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
5496
5496
|
ConsoleWriter.write_one(object.console, writer, 'console') unless object.console.nil?
|
5497
5497
|
CpuWriter.write_one(object.cpu, writer, 'cpu') unless object.cpu.nil?
|
5498
|
-
|
5499
|
-
|
5500
|
-
|
5501
|
-
|
5498
|
+
Writer.write_integer(writer, 'cpu_shares', object.cpu_shares) unless object.cpu_shares.nil?
|
5499
|
+
Writer.write_date(writer, 'creation_time', object.creation_time) unless object.creation_time.nil?
|
5500
|
+
Writer.write_string(writer, 'custom_cpu_model', object.custom_cpu_model) unless object.custom_cpu_model.nil?
|
5501
|
+
Writer.write_string(writer, 'custom_emulated_machine', object.custom_emulated_machine) unless object.custom_emulated_machine.nil?
|
5502
5502
|
CustomPropertyWriter.write_many(object.custom_properties, writer, 'custom_property', 'custom_properties') unless object.custom_properties.nil?
|
5503
|
-
|
5504
|
-
|
5503
|
+
Writer.write_boolean(writer, 'delete_protected', object.delete_protected) unless object.delete_protected.nil?
|
5504
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
5505
5505
|
DisplayWriter.write_one(object.display, writer, 'display') unless object.display.nil?
|
5506
5506
|
DomainWriter.write_one(object.domain, writer, 'domain') unless object.domain.nil?
|
5507
5507
|
HighAvailabilityWriter.write_one(object.high_availability, writer, 'high_availability') unless object.high_availability.nil?
|
5508
5508
|
InitializationWriter.write_one(object.initialization, writer, 'initialization') unless object.initialization.nil?
|
5509
5509
|
IoWriter.write_one(object.io, writer, 'io') unless object.io.nil?
|
5510
5510
|
IconWriter.write_one(object.large_icon, writer, 'large_icon') unless object.large_icon.nil?
|
5511
|
-
|
5511
|
+
Writer.write_integer(writer, 'memory', object.memory) unless object.memory.nil?
|
5512
5512
|
MemoryPolicyWriter.write_one(object.memory_policy, writer, 'memory_policy') unless object.memory_policy.nil?
|
5513
5513
|
MigrationOptionsWriter.write_one(object.migration, writer, 'migration') unless object.migration.nil?
|
5514
|
-
|
5515
|
-
|
5516
|
-
|
5514
|
+
Writer.write_integer(writer, 'migration_downtime', object.migration_downtime) unless object.migration_downtime.nil?
|
5515
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
5516
|
+
Writer.write_string(writer, 'origin', object.origin) unless object.origin.nil?
|
5517
5517
|
OperatingSystemWriter.write_one(object.os, writer, 'os') unless object.os.nil?
|
5518
5518
|
RngDeviceWriter.write_one(object.rng_device, writer, 'rng_device') unless object.rng_device.nil?
|
5519
5519
|
SerialNumberWriter.write_one(object.serial_number, writer, 'serial_number') unless object.serial_number.nil?
|
5520
5520
|
IconWriter.write_one(object.small_icon, writer, 'small_icon') unless object.small_icon.nil?
|
5521
|
-
|
5521
|
+
Writer.write_boolean(writer, 'soundcard_enabled', object.soundcard_enabled) unless object.soundcard_enabled.nil?
|
5522
5522
|
SsoWriter.write_one(object.sso, writer, 'sso') unless object.sso.nil?
|
5523
|
-
|
5524
|
-
|
5523
|
+
Writer.write_boolean(writer, 'start_paused', object.start_paused) unless object.start_paused.nil?
|
5524
|
+
Writer.write_boolean(writer, 'stateless', object.stateless) unless object.stateless.nil?
|
5525
5525
|
StatusWriter.write_one(object.status, writer, 'status') unless object.status.nil?
|
5526
5526
|
TimeZoneWriter.write_one(object.time_zone, writer, 'time_zone') unless object.time_zone.nil?
|
5527
|
-
|
5528
|
-
|
5527
|
+
Writer.write_boolean(writer, 'tunnel_migration', object.tunnel_migration) unless object.tunnel_migration.nil?
|
5528
|
+
Writer.write_string(writer, 'type', object.type) unless object.type.nil?
|
5529
5529
|
UsbWriter.write_one(object.usb, writer, 'usb') unless object.usb.nil?
|
5530
5530
|
TemplateVersionWriter.write_one(object.version, writer, 'version') unless object.version.nil?
|
5531
5531
|
VirtioScsiWriter.write_one(object.virtio_scsi, writer, 'virtio_scsi') unless object.virtio_scsi.nil?
|
@@ -5559,8 +5559,8 @@ module OvirtSDK4
|
|
5559
5559
|
writer.write_start(singular)
|
5560
5560
|
href = object.href
|
5561
5561
|
writer.write_attribute('href', href) unless href.nil?
|
5562
|
-
|
5563
|
-
|
5562
|
+
Writer.write_string(writer, 'version_name', object.version_name) unless object.version_name.nil?
|
5563
|
+
Writer.write_integer(writer, 'version_number', object.version_number) unless object.version_number.nil?
|
5564
5564
|
TemplateWriter.write_one(object.base_template, writer, 'base_template') unless object.base_template.nil?
|
5565
5565
|
writer.write_end
|
5566
5566
|
end
|
@@ -5588,8 +5588,8 @@ module OvirtSDK4
|
|
5588
5588
|
writer.write_start(singular)
|
5589
5589
|
href = object.href
|
5590
5590
|
writer.write_attribute('href', href) unless href.nil?
|
5591
|
-
|
5592
|
-
|
5591
|
+
Writer.write_integer(writer, 'expiry', object.expiry) unless object.expiry.nil?
|
5592
|
+
Writer.write_string(writer, 'value', object.value) unless object.value.nil?
|
5593
5593
|
writer.write_end
|
5594
5594
|
end
|
5595
5595
|
|
@@ -5616,8 +5616,8 @@ module OvirtSDK4
|
|
5616
5616
|
writer.write_start(singular)
|
5617
5617
|
href = object.href
|
5618
5618
|
writer.write_attribute('href', href) unless href.nil?
|
5619
|
-
|
5620
|
-
|
5619
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
5620
|
+
Writer.write_string(writer, 'utc_offset', object.utc_offset) unless object.utc_offset.nil?
|
5621
5621
|
writer.write_end
|
5622
5622
|
end
|
5623
5623
|
|
@@ -5644,7 +5644,7 @@ module OvirtSDK4
|
|
5644
5644
|
writer.write_start(singular)
|
5645
5645
|
href = object.href
|
5646
5646
|
writer.write_attribute('href', href) unless href.nil?
|
5647
|
-
|
5647
|
+
Writer.write_boolean(writer, 'enabled', object.enabled) unless object.enabled.nil?
|
5648
5648
|
writer.write_end
|
5649
5649
|
end
|
5650
5650
|
|
@@ -5672,9 +5672,9 @@ module OvirtSDK4
|
|
5672
5672
|
href = object.href
|
5673
5673
|
writer.write_attribute('href', href) unless href.nil?
|
5674
5674
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
5675
|
-
|
5676
|
-
|
5677
|
-
|
5675
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
5676
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
5677
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
5678
5678
|
HostWriter.write_one(object.host, writer, 'host') unless object.host.nil?
|
5679
5679
|
HostNicWriter.write_one(object.host_nic, writer, 'host_nic') unless object.host_nic.nil?
|
5680
5680
|
writer.write_end
|
@@ -5703,8 +5703,8 @@ module OvirtSDK4
|
|
5703
5703
|
writer.write_start(singular)
|
5704
5704
|
href = object.href
|
5705
5705
|
writer.write_attribute('href', href) unless href.nil?
|
5706
|
-
|
5707
|
-
|
5706
|
+
Writer.write_boolean(writer, 'enabled', object.enabled) unless object.enabled.nil?
|
5707
|
+
Writer.write_string(writer, 'type', object.type) unless object.type.nil?
|
5708
5708
|
writer.write_end
|
5709
5709
|
end
|
5710
5710
|
|
@@ -5732,18 +5732,18 @@ module OvirtSDK4
|
|
5732
5732
|
href = object.href
|
5733
5733
|
writer.write_attribute('href', href) unless href.nil?
|
5734
5734
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
5735
|
-
|
5736
|
-
|
5737
|
-
|
5738
|
-
|
5739
|
-
|
5740
|
-
|
5741
|
-
|
5742
|
-
|
5743
|
-
|
5744
|
-
|
5745
|
-
|
5746
|
-
|
5735
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
5736
|
+
Writer.write_string(writer, 'department', object.department) unless object.department.nil?
|
5737
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
5738
|
+
Writer.write_string(writer, 'domain_entry_id', object.domain_entry_id) unless object.domain_entry_id.nil?
|
5739
|
+
Writer.write_string(writer, 'email', object.email) unless object.email.nil?
|
5740
|
+
Writer.write_string(writer, 'last_name', object.last_name) unless object.last_name.nil?
|
5741
|
+
Writer.write_boolean(writer, 'logged_in', object.logged_in) unless object.logged_in.nil?
|
5742
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
5743
|
+
Writer.write_string(writer, 'namespace', object.namespace) unless object.namespace.nil?
|
5744
|
+
Writer.write_string(writer, 'password', object.password) unless object.password.nil?
|
5745
|
+
Writer.write_string(writer, 'principal', object.principal) unless object.principal.nil?
|
5746
|
+
Writer.write_string(writer, 'user_name', object.user_name) unless object.user_name.nil?
|
5747
5747
|
DomainWriter.write_one(object.domain, writer, 'domain') unless object.domain.nil?
|
5748
5748
|
GroupWriter.write_many(object.groups, writer, 'group', 'groups') unless object.groups.nil?
|
5749
5749
|
RoleWriter.write_many(object.roles, writer, 'role', 'roles') unless object.roles.nil?
|
@@ -5773,8 +5773,8 @@ module OvirtSDK4
|
|
5773
5773
|
writer.write_start(singular)
|
5774
5774
|
href = object.href
|
5775
5775
|
writer.write_attribute('href', href) unless href.nil?
|
5776
|
-
|
5777
|
-
|
5776
|
+
Writer.write_decimal(writer, 'datum', object.datum) unless object.datum.nil?
|
5777
|
+
Writer.write_string(writer, 'detail', object.detail) unless object.detail.nil?
|
5778
5778
|
writer.write_end
|
5779
5779
|
end
|
5780
5780
|
|
@@ -5801,8 +5801,8 @@ module OvirtSDK4
|
|
5801
5801
|
writer.write_start(singular)
|
5802
5802
|
href = object.href
|
5803
5803
|
writer.write_attribute('href', href) unless href.nil?
|
5804
|
-
|
5805
|
-
|
5804
|
+
Writer.write_string(writer, 'cpu_set', object.cpu_set) unless object.cpu_set.nil?
|
5805
|
+
Writer.write_integer(writer, 'vcpu', object.vcpu) unless object.vcpu.nil?
|
5806
5806
|
writer.write_end
|
5807
5807
|
end
|
5808
5808
|
|
@@ -5830,9 +5830,9 @@ module OvirtSDK4
|
|
5830
5830
|
href = object.href
|
5831
5831
|
writer.write_attribute('href', href) unless href.nil?
|
5832
5832
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
5833
|
-
|
5834
|
-
|
5835
|
-
|
5833
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
5834
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
5835
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
5836
5836
|
writer.write_end
|
5837
5837
|
end
|
5838
5838
|
|
@@ -5860,14 +5860,14 @@ module OvirtSDK4
|
|
5860
5860
|
href = object.href
|
5861
5861
|
writer.write_attribute('href', href) unless href.nil?
|
5862
5862
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
5863
|
-
|
5864
|
-
|
5865
|
-
|
5866
|
-
|
5867
|
-
|
5868
|
-
|
5869
|
-
|
5870
|
-
|
5863
|
+
Writer.write_integer(writer, 'build', object.build) unless object.build.nil?
|
5864
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
5865
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
5866
|
+
Writer.write_string(writer, 'full_version', object.full_version) unless object.full_version.nil?
|
5867
|
+
Writer.write_integer(writer, 'major', object.major) unless object.major.nil?
|
5868
|
+
Writer.write_integer(writer, 'minor', object.minor) unless object.minor.nil?
|
5869
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
5870
|
+
Writer.write_integer(writer, 'revision', object.revision) unless object.revision.nil?
|
5871
5871
|
writer.write_end
|
5872
5872
|
end
|
5873
5873
|
|
@@ -5894,7 +5894,7 @@ module OvirtSDK4
|
|
5894
5894
|
writer.write_start(singular)
|
5895
5895
|
href = object.href
|
5896
5896
|
writer.write_attribute('href', href) unless href.nil?
|
5897
|
-
|
5897
|
+
Writer.write_boolean(writer, 'enabled', object.enabled) unless object.enabled.nil?
|
5898
5898
|
writer.write_end
|
5899
5899
|
end
|
5900
5900
|
|
@@ -5922,13 +5922,13 @@ module OvirtSDK4
|
|
5922
5922
|
href = object.href
|
5923
5923
|
writer.write_attribute('href', href) unless href.nil?
|
5924
5924
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
5925
|
-
|
5925
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
5926
5926
|
CpuWriter.write_one(object.cpu, writer, 'cpu') unless object.cpu.nil?
|
5927
|
-
|
5928
|
-
|
5929
|
-
|
5930
|
-
|
5931
|
-
|
5927
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
5928
|
+
Writer.write_integer(writer, 'index', object.index) unless object.index.nil?
|
5929
|
+
Writer.write_integer(writer, 'memory', object.memory) unless object.memory.nil?
|
5930
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
5931
|
+
Writer.write_string(writer, 'node_distance', object.node_distance) unless object.node_distance.nil?
|
5932
5932
|
NumaNodePinWriter.write_many(object.numa_node_pins, writer, 'numa_node_pin', 'numa_node_pins') unless object.numa_node_pins.nil?
|
5933
5933
|
HostWriter.write_one(object.host, writer, 'host') unless object.host.nil?
|
5934
5934
|
StatisticWriter.write_many(object.statistics, writer, 'statistic', 'statistics') unless object.statistics.nil?
|
@@ -5988,55 +5988,55 @@ module OvirtSDK4
|
|
5988
5988
|
writer.write_attribute('href', href) unless href.nil?
|
5989
5989
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
5990
5990
|
BiosWriter.write_one(object.bios, writer, 'bios') unless object.bios.nil?
|
5991
|
-
|
5991
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
5992
5992
|
ConsoleWriter.write_one(object.console, writer, 'console') unless object.console.nil?
|
5993
5993
|
CpuWriter.write_one(object.cpu, writer, 'cpu') unless object.cpu.nil?
|
5994
|
-
|
5995
|
-
|
5996
|
-
|
5997
|
-
|
5994
|
+
Writer.write_integer(writer, 'cpu_shares', object.cpu_shares) unless object.cpu_shares.nil?
|
5995
|
+
Writer.write_date(writer, 'creation_time', object.creation_time) unless object.creation_time.nil?
|
5996
|
+
Writer.write_string(writer, 'custom_cpu_model', object.custom_cpu_model) unless object.custom_cpu_model.nil?
|
5997
|
+
Writer.write_string(writer, 'custom_emulated_machine', object.custom_emulated_machine) unless object.custom_emulated_machine.nil?
|
5998
5998
|
CustomPropertyWriter.write_many(object.custom_properties, writer, 'custom_property', 'custom_properties') unless object.custom_properties.nil?
|
5999
|
-
|
6000
|
-
|
5999
|
+
Writer.write_boolean(writer, 'delete_protected', object.delete_protected) unless object.delete_protected.nil?
|
6000
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
6001
6001
|
DisplayWriter.write_one(object.display, writer, 'display') unless object.display.nil?
|
6002
6002
|
DomainWriter.write_one(object.domain, writer, 'domain') unless object.domain.nil?
|
6003
|
-
|
6003
|
+
Writer.write_string(writer, 'fqdn', object.fqdn) unless object.fqdn.nil?
|
6004
6004
|
GuestOperatingSystemWriter.write_one(object.guest_operating_system, writer, 'guest_operating_system') unless object.guest_operating_system.nil?
|
6005
6005
|
TimeZoneWriter.write_one(object.guest_time_zone, writer, 'guest_time_zone') unless object.guest_time_zone.nil?
|
6006
6006
|
HighAvailabilityWriter.write_one(object.high_availability, writer, 'high_availability') unless object.high_availability.nil?
|
6007
6007
|
InitializationWriter.write_one(object.initialization, writer, 'initialization') unless object.initialization.nil?
|
6008
6008
|
IoWriter.write_one(object.io, writer, 'io') unless object.io.nil?
|
6009
6009
|
IconWriter.write_one(object.large_icon, writer, 'large_icon') unless object.large_icon.nil?
|
6010
|
-
|
6010
|
+
Writer.write_integer(writer, 'memory', object.memory) unless object.memory.nil?
|
6011
6011
|
MemoryPolicyWriter.write_one(object.memory_policy, writer, 'memory_policy') unless object.memory_policy.nil?
|
6012
6012
|
MigrationOptionsWriter.write_one(object.migration, writer, 'migration') unless object.migration.nil?
|
6013
|
-
|
6014
|
-
|
6015
|
-
|
6016
|
-
|
6017
|
-
|
6013
|
+
Writer.write_integer(writer, 'migration_downtime', object.migration_downtime) unless object.migration_downtime.nil?
|
6014
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
6015
|
+
Writer.write_boolean(writer, 'next_run_configuration_exists', object.next_run_configuration_exists) unless object.next_run_configuration_exists.nil?
|
6016
|
+
Writer.write_string(writer, 'numa_tune_mode', object.numa_tune_mode) unless object.numa_tune_mode.nil?
|
6017
|
+
Writer.write_string(writer, 'origin', object.origin) unless object.origin.nil?
|
6018
6018
|
OperatingSystemWriter.write_one(object.os, writer, 'os') unless object.os.nil?
|
6019
6019
|
PayloadWriter.write_many(object.payloads, writer, 'payload', 'payloads') unless object.payloads.nil?
|
6020
6020
|
VmPlacementPolicyWriter.write_one(object.placement_policy, writer, 'placement_policy') unless object.placement_policy.nil?
|
6021
6021
|
RngDeviceWriter.write_one(object.rng_device, writer, 'rng_device') unless object.rng_device.nil?
|
6022
|
-
|
6022
|
+
Writer.write_boolean(writer, 'run_once', object.run_once) unless object.run_once.nil?
|
6023
6023
|
SerialNumberWriter.write_one(object.serial_number, writer, 'serial_number') unless object.serial_number.nil?
|
6024
6024
|
IconWriter.write_one(object.small_icon, writer, 'small_icon') unless object.small_icon.nil?
|
6025
|
-
|
6025
|
+
Writer.write_boolean(writer, 'soundcard_enabled', object.soundcard_enabled) unless object.soundcard_enabled.nil?
|
6026
6026
|
SsoWriter.write_one(object.sso, writer, 'sso') unless object.sso.nil?
|
6027
|
-
|
6028
|
-
|
6029
|
-
|
6027
|
+
Writer.write_boolean(writer, 'start_paused', object.start_paused) unless object.start_paused.nil?
|
6028
|
+
Writer.write_date(writer, 'start_time', object.start_time) unless object.start_time.nil?
|
6029
|
+
Writer.write_boolean(writer, 'stateless', object.stateless) unless object.stateless.nil?
|
6030
6030
|
StatisticWriter.write_many(object.statistics, writer, 'statistic', 'statistics') unless object.statistics.nil?
|
6031
6031
|
StatusWriter.write_one(object.status, writer, 'status') unless object.status.nil?
|
6032
|
-
|
6033
|
-
|
6032
|
+
Writer.write_string(writer, 'stop_reason', object.stop_reason) unless object.stop_reason.nil?
|
6033
|
+
Writer.write_date(writer, 'stop_time', object.stop_time) unless object.stop_time.nil?
|
6034
6034
|
TagWriter.write_many(object.tags, writer, 'tag', 'tags') unless object.tags.nil?
|
6035
6035
|
TimeZoneWriter.write_one(object.time_zone, writer, 'time_zone') unless object.time_zone.nil?
|
6036
|
-
|
6037
|
-
|
6036
|
+
Writer.write_boolean(writer, 'tunnel_migration', object.tunnel_migration) unless object.tunnel_migration.nil?
|
6037
|
+
Writer.write_string(writer, 'type', object.type) unless object.type.nil?
|
6038
6038
|
UsbWriter.write_one(object.usb, writer, 'usb') unless object.usb.nil?
|
6039
|
-
|
6039
|
+
Writer.write_boolean(writer, 'use_latest_template_version', object.use_latest_template_version) unless object.use_latest_template_version.nil?
|
6040
6040
|
VirtioScsiWriter.write_one(object.virtio_scsi, writer, 'virtio_scsi') unless object.virtio_scsi.nil?
|
6041
6041
|
CdromWriter.write_many(object.cdroms, writer, 'cdrom', 'cdroms') unless object.cdroms.nil?
|
6042
6042
|
ClusterWriter.write_one(object.cluster, writer, 'cluster') unless object.cluster.nil?
|
@@ -6084,40 +6084,40 @@ module OvirtSDK4
|
|
6084
6084
|
writer.write_attribute('href', href) unless href.nil?
|
6085
6085
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
6086
6086
|
BiosWriter.write_one(object.bios, writer, 'bios') unless object.bios.nil?
|
6087
|
-
|
6087
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
6088
6088
|
ConsoleWriter.write_one(object.console, writer, 'console') unless object.console.nil?
|
6089
6089
|
CpuWriter.write_one(object.cpu, writer, 'cpu') unless object.cpu.nil?
|
6090
|
-
|
6091
|
-
|
6092
|
-
|
6093
|
-
|
6090
|
+
Writer.write_integer(writer, 'cpu_shares', object.cpu_shares) unless object.cpu_shares.nil?
|
6091
|
+
Writer.write_date(writer, 'creation_time', object.creation_time) unless object.creation_time.nil?
|
6092
|
+
Writer.write_string(writer, 'custom_cpu_model', object.custom_cpu_model) unless object.custom_cpu_model.nil?
|
6093
|
+
Writer.write_string(writer, 'custom_emulated_machine', object.custom_emulated_machine) unless object.custom_emulated_machine.nil?
|
6094
6094
|
CustomPropertyWriter.write_many(object.custom_properties, writer, 'custom_property', 'custom_properties') unless object.custom_properties.nil?
|
6095
|
-
|
6096
|
-
|
6095
|
+
Writer.write_boolean(writer, 'delete_protected', object.delete_protected) unless object.delete_protected.nil?
|
6096
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
6097
6097
|
DisplayWriter.write_one(object.display, writer, 'display') unless object.display.nil?
|
6098
6098
|
DomainWriter.write_one(object.domain, writer, 'domain') unless object.domain.nil?
|
6099
6099
|
HighAvailabilityWriter.write_one(object.high_availability, writer, 'high_availability') unless object.high_availability.nil?
|
6100
6100
|
InitializationWriter.write_one(object.initialization, writer, 'initialization') unless object.initialization.nil?
|
6101
6101
|
IoWriter.write_one(object.io, writer, 'io') unless object.io.nil?
|
6102
6102
|
IconWriter.write_one(object.large_icon, writer, 'large_icon') unless object.large_icon.nil?
|
6103
|
-
|
6103
|
+
Writer.write_integer(writer, 'memory', object.memory) unless object.memory.nil?
|
6104
6104
|
MemoryPolicyWriter.write_one(object.memory_policy, writer, 'memory_policy') unless object.memory_policy.nil?
|
6105
6105
|
MigrationOptionsWriter.write_one(object.migration, writer, 'migration') unless object.migration.nil?
|
6106
|
-
|
6107
|
-
|
6108
|
-
|
6106
|
+
Writer.write_integer(writer, 'migration_downtime', object.migration_downtime) unless object.migration_downtime.nil?
|
6107
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
6108
|
+
Writer.write_string(writer, 'origin', object.origin) unless object.origin.nil?
|
6109
6109
|
OperatingSystemWriter.write_one(object.os, writer, 'os') unless object.os.nil?
|
6110
6110
|
RngDeviceWriter.write_one(object.rng_device, writer, 'rng_device') unless object.rng_device.nil?
|
6111
6111
|
SerialNumberWriter.write_one(object.serial_number, writer, 'serial_number') unless object.serial_number.nil?
|
6112
6112
|
IconWriter.write_one(object.small_icon, writer, 'small_icon') unless object.small_icon.nil?
|
6113
|
-
|
6113
|
+
Writer.write_boolean(writer, 'soundcard_enabled', object.soundcard_enabled) unless object.soundcard_enabled.nil?
|
6114
6114
|
SsoWriter.write_one(object.sso, writer, 'sso') unless object.sso.nil?
|
6115
|
-
|
6116
|
-
|
6115
|
+
Writer.write_boolean(writer, 'start_paused', object.start_paused) unless object.start_paused.nil?
|
6116
|
+
Writer.write_boolean(writer, 'stateless', object.stateless) unless object.stateless.nil?
|
6117
6117
|
StatusWriter.write_one(object.status, writer, 'status') unless object.status.nil?
|
6118
6118
|
TimeZoneWriter.write_one(object.time_zone, writer, 'time_zone') unless object.time_zone.nil?
|
6119
|
-
|
6120
|
-
|
6119
|
+
Writer.write_boolean(writer, 'tunnel_migration', object.tunnel_migration) unless object.tunnel_migration.nil?
|
6120
|
+
Writer.write_string(writer, 'type', object.type) unless object.type.nil?
|
6121
6121
|
UsbWriter.write_one(object.usb, writer, 'usb') unless object.usb.nil?
|
6122
6122
|
VirtioScsiWriter.write_one(object.virtio_scsi, writer, 'virtio_scsi') unless object.virtio_scsi.nil?
|
6123
6123
|
ClusterWriter.write_one(object.cluster, writer, 'cluster') unless object.cluster.nil?
|
@@ -6149,7 +6149,7 @@ module OvirtSDK4
|
|
6149
6149
|
writer.write_start(singular)
|
6150
6150
|
href = object.href
|
6151
6151
|
writer.write_attribute('href', href) unless href.nil?
|
6152
|
-
|
6152
|
+
Writer.write_string(writer, 'affinity', object.affinity) unless object.affinity.nil?
|
6153
6153
|
HostWriter.write_many(object.hosts, writer, 'host', 'hosts') unless object.hosts.nil?
|
6154
6154
|
writer.write_end
|
6155
6155
|
end
|
@@ -6178,17 +6178,17 @@ module OvirtSDK4
|
|
6178
6178
|
href = object.href
|
6179
6179
|
writer.write_attribute('href', href) unless href.nil?
|
6180
6180
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
6181
|
-
|
6182
|
-
|
6181
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
6182
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
6183
6183
|
DisplayWriter.write_one(object.display, writer, 'display') unless object.display.nil?
|
6184
|
-
|
6185
|
-
|
6186
|
-
|
6184
|
+
Writer.write_integer(writer, 'max_user_vms', object.max_user_vms) unless object.max_user_vms.nil?
|
6185
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
6186
|
+
Writer.write_integer(writer, 'prestarted_vms', object.prestarted_vms) unless object.prestarted_vms.nil?
|
6187
6187
|
RngDeviceWriter.write_one(object.rng_device, writer, 'rng_device') unless object.rng_device.nil?
|
6188
|
-
|
6189
|
-
|
6190
|
-
|
6191
|
-
|
6188
|
+
Writer.write_integer(writer, 'size', object.size) unless object.size.nil?
|
6189
|
+
Writer.write_boolean(writer, 'soundcard_enabled', object.soundcard_enabled) unless object.soundcard_enabled.nil?
|
6190
|
+
Writer.write_string(writer, 'type', object.type) unless object.type.nil?
|
6191
|
+
Writer.write_boolean(writer, 'use_latest_template_version', object.use_latest_template_version) unless object.use_latest_template_version.nil?
|
6192
6192
|
ClusterWriter.write_one(object.cluster, writer, 'cluster') unless object.cluster.nil?
|
6193
6193
|
TemplateWriter.write_one(object.template, writer, 'template') unless object.template.nil?
|
6194
6194
|
VmWriter.write_one(object.vm, writer, 'vm') unless object.vm.nil?
|
@@ -6218,9 +6218,9 @@ module OvirtSDK4
|
|
6218
6218
|
writer.write_start(singular)
|
6219
6219
|
href = object.href
|
6220
6220
|
writer.write_attribute('href', href) unless href.nil?
|
6221
|
-
|
6222
|
-
|
6223
|
-
|
6221
|
+
Writer.write_integer(writer, 'active', object.active) unless object.active.nil?
|
6222
|
+
Writer.write_integer(writer, 'migrating', object.migrating) unless object.migrating.nil?
|
6223
|
+
Writer.write_integer(writer, 'total', object.total) unless object.total.nil?
|
6224
6224
|
writer.write_end
|
6225
6225
|
end
|
6226
6226
|
|
@@ -6247,7 +6247,7 @@ module OvirtSDK4
|
|
6247
6247
|
writer.write_start(singular)
|
6248
6248
|
href = object.href
|
6249
6249
|
writer.write_attribute('href', href) unless href.nil?
|
6250
|
-
|
6250
|
+
Writer.write_string(writer, 'mode', object.mode) unless object.mode.nil?
|
6251
6251
|
writer.write_end
|
6252
6252
|
end
|
6253
6253
|
|
@@ -6275,12 +6275,12 @@ module OvirtSDK4
|
|
6275
6275
|
href = object.href
|
6276
6276
|
writer.write_attribute('href', href) unless href.nil?
|
6277
6277
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
6278
|
-
|
6278
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
6279
6279
|
CustomPropertyWriter.write_many(object.custom_properties, writer, 'custom_property', 'custom_properties') unless object.custom_properties.nil?
|
6280
|
-
|
6281
|
-
|
6280
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
6281
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
6282
6282
|
VnicPassThroughWriter.write_one(object.pass_through, writer, 'pass_through') unless object.pass_through.nil?
|
6283
|
-
|
6283
|
+
Writer.write_boolean(writer, 'port_mirroring', object.port_mirroring) unless object.port_mirroring.nil?
|
6284
6284
|
NetworkWriter.write_one(object.network, writer, 'network') unless object.network.nil?
|
6285
6285
|
QosWriter.write_one(object.qos, writer, 'qos') unless object.qos.nil?
|
6286
6286
|
writer.write_end
|
@@ -6311,7 +6311,7 @@ module OvirtSDK4
|
|
6311
6311
|
writer.write_attribute('href', href) unless href.nil?
|
6312
6312
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
6313
6313
|
LogicalUnitWriter.write_many(object.logical_units, writer, 'logical_unit', 'logical_units') unless object.logical_units.nil?
|
6314
|
-
|
6314
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
6315
6315
|
writer.write_end
|
6316
6316
|
end
|
6317
6317
|
|
@@ -6339,11 +6339,11 @@ module OvirtSDK4
|
|
6339
6339
|
href = object.href
|
6340
6340
|
writer.write_attribute('href', href) unless href.nil?
|
6341
6341
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
6342
|
-
|
6343
|
-
|
6344
|
-
|
6345
|
-
|
6346
|
-
|
6342
|
+
Writer.write_string(writer, 'action', object.action) unless object.action.nil?
|
6343
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
6344
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
6345
|
+
Writer.write_string(writer, 'model', object.model) unless object.model.nil?
|
6346
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
6347
6347
|
InstanceTypeWriter.write_one(object.instance_type, writer, 'instance_type') unless object.instance_type.nil?
|
6348
6348
|
TemplateWriter.write_one(object.template, writer, 'template') unless object.template.nil?
|
6349
6349
|
VmWriter.write_one(object.vm, writer, 'vm') unless object.vm.nil?
|
@@ -6375,10 +6375,10 @@ module OvirtSDK4
|
|
6375
6375
|
href = object.href
|
6376
6376
|
writer.write_attribute('href', href) unless href.nil?
|
6377
6377
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
6378
|
-
|
6379
|
-
|
6380
|
-
|
6381
|
-
|
6378
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
6379
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
6380
|
+
Writer.write_integer(writer, 'factor', object.factor) unless object.factor.nil?
|
6381
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
6382
6382
|
SchedulingPolicyWriter.write_one(object.scheduling_policy, writer, 'scheduling_policy') unless object.scheduling_policy.nil?
|
6383
6383
|
SchedulingPolicyUnitWriter.write_one(object.scheduling_policy_unit, writer, 'scheduling_policy_unit') unless object.scheduling_policy_unit.nil?
|
6384
6384
|
writer.write_end
|