ovirt-engine-sdk 4.0.1 → 4.4.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,7 +17,7 @@
17
17
 
18
18
  module OvirtSDK4
19
19
 
20
- class ActionWriter < Writer # :nodoc:
20
+ class ActionWriter < Writer
21
21
 
22
22
  def self.write_one(object, writer, singular = nil)
23
23
  singular ||= 'action'
@@ -25,75 +25,105 @@ module OvirtSDK4
25
25
  href = object.href
26
26
  writer.write_attribute('href', href) unless href.nil?
27
27
  writer.write_attribute('id', object.id) unless object.id.nil?
28
+ Writer.write_boolean(writer, 'activate', object.activate) unless object.activate.nil?
29
+ Writer.write_boolean(writer, 'allow_partial_import', object.allow_partial_import) unless object.allow_partial_import.nil?
28
30
  Writer.write_boolean(writer, 'async', object.async) unless object.async.nil?
31
+ DiskAttachmentWriter.write_one(object.attachment, writer, 'attachment') unless object.attachment.nil?
32
+ AuthorizedKeyWriter.write_one(object.authorized_key, writer, 'authorized_key') unless object.authorized_key.nil?
33
+ Writer.write_string(writer, 'auto_pinning_policy', object.auto_pinning_policy) unless object.auto_pinning_policy.nil?
29
34
  GlusterBrickWriter.write_many(object.bricks, writer, 'brick', 'bricks') unless object.bricks.nil?
30
35
  CertificateWriter.write_many(object.certificates, writer, 'certificate', 'certificates') unless object.certificates.nil?
31
36
  Writer.write_boolean(writer, 'check_connectivity', object.check_connectivity) unless object.check_connectivity.nil?
32
37
  Writer.write_boolean(writer, 'clone', object.clone) unless object.clone.nil?
38
+ Writer.write_boolean(writer, 'clone_permissions', object.clone_permissions) unless object.clone_permissions.nil?
33
39
  ClusterWriter.write_one(object.cluster, writer, 'cluster') unless object.cluster.nil?
34
40
  Writer.write_boolean(writer, 'collapse_snapshots', object.collapse_snapshots) unless object.collapse_snapshots.nil?
35
41
  Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
42
+ Writer.write_boolean(writer, 'commit_on_success', object.commit_on_success) unless object.commit_on_success.nil?
43
+ StorageConnectionWriter.write_one(object.connection, writer, 'connection') unless object.connection.nil?
36
44
  Writer.write_integer(writer, 'connectivity_timeout', object.connectivity_timeout) unless object.connectivity_timeout.nil?
37
45
  DataCenterWriter.write_one(object.data_center, writer, 'data_center') unless object.data_center.nil?
38
46
  Writer.write_boolean(writer, 'deploy_hosted_engine', object.deploy_hosted_engine) unless object.deploy_hosted_engine.nil?
39
47
  Writer.write_string(writer, 'description', object.description) unless object.description.nil?
40
48
  GlusterVolumeProfileDetailsWriter.write_one(object.details, writer, 'details') unless object.details.nil?
49
+ Writer.write_string(writer, 'directory', object.directory) unless object.directory.nil?
41
50
  Writer.write_boolean(writer, 'discard_snapshots', object.discard_snapshots) unless object.discard_snapshots.nil?
51
+ IscsiDetailsWriter.write_many(object.discovered_targets, writer, 'iscsi_details', 'discovered_targets') unless object.discovered_targets.nil?
42
52
  DiskWriter.write_one(object.disk, writer, 'disk') unless object.disk.nil?
53
+ DiskProfileWriter.write_one(object.disk_profile, writer, 'disk_profile') unless object.disk_profile.nil?
43
54
  DiskWriter.write_many(object.disks, writer, 'disk', 'disks') unless object.disks.nil?
44
55
  Writer.write_boolean(writer, 'exclusive', object.exclusive) unless object.exclusive.nil?
45
- Writer.write_boolean(writer, 'exclussive', object.exclussive) unless object.exclussive.nil?
46
56
  FaultWriter.write_one(object.fault, writer, 'fault') unless object.fault.nil?
47
57
  Writer.write_string(writer, 'fence_type', object.fence_type) unless object.fence_type.nil?
58
+ Writer.write_string(writer, 'filename', object.filename) unless object.filename.nil?
48
59
  Writer.write_boolean(writer, 'filter', object.filter) unless object.filter.nil?
49
60
  Writer.write_boolean(writer, 'fix_layout', object.fix_layout) unless object.fix_layout.nil?
50
61
  Writer.write_boolean(writer, 'force', object.force) unless object.force.nil?
51
62
  GracePeriodWriter.write_one(object.grace_period, writer, 'grace_period') unless object.grace_period.nil?
52
63
  HostWriter.write_one(object.host, writer, 'host') unless object.host.nil?
53
64
  Writer.write_string(writer, 'image', object.image) unless object.image.nil?
65
+ ImageTransferWriter.write_one(object.image_transfer, writer, 'image_transfer') unless object.image_transfer.nil?
54
66
  Writer.write_boolean(writer, 'import_as_template', object.import_as_template) unless object.import_as_template.nil?
55
67
  Writer.write_boolean(writer, 'is_attached', object.is_attached) unless object.is_attached.nil?
56
68
  IscsiDetailsWriter.write_one(object.iscsi, writer, 'iscsi') unless object.iscsi.nil?
57
- if not object.iscsi_targets.nil? and not object.iscsi_targets.empty? then
69
+ unless object.iscsi_targets.nil?
58
70
  writer.write_start('iscsi_targets')
59
71
  object.iscsi_targets.each do |item|
60
72
  Writer.write_string(writer, 'iscsi_target', item) unless item.nil?
61
73
  end
62
- writer.end_element
74
+ writer.write_end
63
75
  end
64
76
  JobWriter.write_one(object.job, writer, 'job') unless object.job.nil?
77
+ StorageDomainLeaseWriter.write_one(object.lease, writer, 'lease') unless object.lease.nil?
65
78
  LogicalUnitWriter.write_many(object.logical_units, writer, 'logical_unit', 'logical_units') unless object.logical_units.nil?
79
+ Writer.write_boolean(writer, 'maintenance_after_restart', object.maintenance_after_restart) unless object.maintenance_after_restart.nil?
66
80
  Writer.write_boolean(writer, 'maintenance_enabled', object.maintenance_enabled) unless object.maintenance_enabled.nil?
67
- HostNicWriter.write_many(object.modified_bonds, writer, 'modified_bond', 'modified_bonds') unless object.modified_bonds.nil?
68
- NetworkLabelWriter.write_many(object.modified_labels, writer, 'modified_label', 'modified_labels') unless object.modified_labels.nil?
69
- NetworkAttachmentWriter.write_many(object.modified_network_attachments, writer, 'modified_network_attachment', 'modified_network_attachments') unless object.modified_network_attachments.nil?
81
+ Writer.write_boolean(writer, 'migrate_vms_in_affinity_closure', object.migrate_vms_in_affinity_closure) unless object.migrate_vms_in_affinity_closure.nil?
82
+ HostNicWriter.write_many(object.modified_bonds, writer, 'host_nic', 'modified_bonds') unless object.modified_bonds.nil?
83
+ NetworkLabelWriter.write_many(object.modified_labels, writer, 'network_label', 'modified_labels') unless object.modified_labels.nil?
84
+ NetworkAttachmentWriter.write_many(object.modified_network_attachments, writer, 'network_attachment', 'modified_network_attachments') unless object.modified_network_attachments.nil?
70
85
  Writer.write_string(writer, 'name', object.name) unless object.name.nil?
86
+ Writer.write_boolean(writer, 'optimize_cpu_settings', object.optimize_cpu_settings) unless object.optimize_cpu_settings.nil?
71
87
  OptionWriter.write_one(object.option, writer, 'option') unless object.option.nil?
72
88
  Writer.write_boolean(writer, 'pause', object.pause) unless object.pause.nil?
89
+ PermissionWriter.write_one(object.permission, writer, 'permission') unless object.permission.nil?
73
90
  PowerManagementWriter.write_one(object.power_management, writer, 'power_management') unless object.power_management.nil?
74
91
  ProxyTicketWriter.write_one(object.proxy_ticket, writer, 'proxy_ticket') unless object.proxy_ticket.nil?
92
+ QuotaWriter.write_one(object.quota, writer, 'quota') unless object.quota.nil?
75
93
  Writer.write_string(writer, 'reason', object.reason) unless object.reason.nil?
76
- HostNicWriter.write_many(object.removed_bonds, writer, 'removed_bond', 'removed_bonds') unless object.removed_bonds.nil?
77
- NetworkLabelWriter.write_many(object.removed_labels, writer, 'removed_label', 'removed_labels') unless object.removed_labels.nil?
78
- NetworkAttachmentWriter.write_many(object.removed_network_attachments, writer, 'removed_network_attachment', 'removed_network_attachments') unless object.removed_network_attachments.nil?
94
+ Writer.write_boolean(writer, 'reassign_bad_macs', object.reassign_bad_macs) unless object.reassign_bad_macs.nil?
95
+ Writer.write_boolean(writer, 'reboot', object.reboot) unless object.reboot.nil?
96
+ RegistrationConfigurationWriter.write_one(object.registration_configuration, writer, 'registration_configuration') unless object.registration_configuration.nil?
97
+ Writer.write_string(writer, 'remote_viewer_connection_file', object.remote_viewer_connection_file) unless object.remote_viewer_connection_file.nil?
98
+ HostNicWriter.write_many(object.removed_bonds, writer, 'host_nic', 'removed_bonds') unless object.removed_bonds.nil?
99
+ NetworkLabelWriter.write_many(object.removed_labels, writer, 'network_label', 'removed_labels') unless object.removed_labels.nil?
100
+ NetworkAttachmentWriter.write_many(object.removed_network_attachments, writer, 'network_attachment', 'removed_network_attachments') unless object.removed_network_attachments.nil?
79
101
  Writer.write_string(writer, 'resolution_type', object.resolution_type) unless object.resolution_type.nil?
80
102
  Writer.write_boolean(writer, 'restore_memory', object.restore_memory) unless object.restore_memory.nil?
81
103
  Writer.write_string(writer, 'root_password', object.root_password) unless object.root_password.nil?
104
+ Writer.write_boolean(writer, 'seal', object.seal) unless object.seal.nil?
82
105
  SnapshotWriter.write_one(object.snapshot, writer, 'snapshot') unless object.snapshot.nil?
106
+ HostWriter.write_one(object.source_host, writer, 'source_host') unless object.source_host.nil?
83
107
  SshWriter.write_one(object.ssh, writer, 'ssh') unless object.ssh.nil?
84
108
  Writer.write_string(writer, 'status', object.status) unless object.status.nil?
85
109
  Writer.write_boolean(writer, 'stop_gluster_service', object.stop_gluster_service) unless object.stop_gluster_service.nil?
86
110
  StorageDomainWriter.write_one(object.storage_domain, writer, 'storage_domain') unless object.storage_domain.nil?
87
111
  StorageDomainWriter.write_many(object.storage_domains, writer, 'storage_domain', 'storage_domains') unless object.storage_domains.nil?
88
112
  Writer.write_boolean(writer, 'succeeded', object.succeeded) unless object.succeeded.nil?
89
- NetworkAttachmentWriter.write_many(object.synchronized_network_attachments, writer, 'synchronized_network_attachment', 'synchronized_network_attachments') unless object.synchronized_network_attachments.nil?
113
+ NetworkAttachmentWriter.write_many(object.synchronized_network_attachments, writer, 'network_attachment', 'synchronized_network_attachments') unless object.synchronized_network_attachments.nil?
90
114
  TemplateWriter.write_one(object.template, writer, 'template') unless object.template.nil?
91
115
  TicketWriter.write_one(object.ticket, writer, 'ticket') unless object.ticket.nil?
116
+ Writer.write_integer(writer, 'timeout', object.timeout) unless object.timeout.nil?
92
117
  Writer.write_boolean(writer, 'undeploy_hosted_engine', object.undeploy_hosted_engine) unless object.undeploy_hosted_engine.nil?
118
+ Writer.write_string(writer, 'upgrade_action', object.upgrade_action) unless object.upgrade_action.nil?
93
119
  Writer.write_boolean(writer, 'use_cloud_init', object.use_cloud_init) unless object.use_cloud_init.nil?
120
+ Writer.write_boolean(writer, 'use_ignition', object.use_ignition) unless object.use_ignition.nil?
121
+ Writer.write_boolean(writer, 'use_initialization', object.use_initialization) unless object.use_initialization.nil?
94
122
  Writer.write_boolean(writer, 'use_sysprep', object.use_sysprep) unless object.use_sysprep.nil?
95
123
  HostNicVirtualFunctionsConfigurationWriter.write_one(object.virtual_functions_configuration, writer, 'virtual_functions_configuration') unless object.virtual_functions_configuration.nil?
96
124
  VmWriter.write_one(object.vm, writer, 'vm') unless object.vm.nil?
125
+ VnicProfileMappingWriter.write_many(object.vnic_profile_mappings, writer, 'vnic_profile_mapping', 'vnic_profile_mappings') unless object.vnic_profile_mappings.nil?
126
+ Writer.write_boolean(writer, 'volatile', object.volatile) unless object.volatile.nil?
97
127
  writer.write_end
98
128
  end
99
129
 
@@ -113,7 +143,7 @@ module OvirtSDK4
113
143
 
114
144
  end
115
145
 
116
- class AffinityGroupWriter < Writer # :nodoc:
146
+ class AffinityGroupWriter < Writer
117
147
 
118
148
  def self.write_one(object, writer, singular = nil)
119
149
  singular ||= 'affinity_group'
@@ -124,9 +154,15 @@ module OvirtSDK4
124
154
  Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
125
155
  Writer.write_string(writer, 'description', object.description) unless object.description.nil?
126
156
  Writer.write_boolean(writer, 'enforcing', object.enforcing) unless object.enforcing.nil?
157
+ AffinityRuleWriter.write_one(object.hosts_rule, writer, 'hosts_rule') unless object.hosts_rule.nil?
127
158
  Writer.write_string(writer, 'name', object.name) unless object.name.nil?
128
159
  Writer.write_boolean(writer, 'positive', object.positive) unless object.positive.nil?
160
+ Writer.write_decimal(writer, 'priority', object.priority) unless object.priority.nil?
161
+ AffinityRuleWriter.write_one(object.vms_rule, writer, 'vms_rule') unless object.vms_rule.nil?
129
162
  ClusterWriter.write_one(object.cluster, writer, 'cluster') unless object.cluster.nil?
163
+ AffinityLabelWriter.write_many(object.host_labels, writer, 'affinity_label', 'host_labels') unless object.host_labels.nil?
164
+ HostWriter.write_many(object.hosts, writer, 'host', 'hosts') unless object.hosts.nil?
165
+ AffinityLabelWriter.write_many(object.vm_labels, writer, 'affinity_label', 'vm_labels') unless object.vm_labels.nil?
130
166
  VmWriter.write_many(object.vms, writer, 'vm', 'vms') unless object.vms.nil?
131
167
  writer.write_end
132
168
  end
@@ -147,7 +183,7 @@ module OvirtSDK4
147
183
 
148
184
  end
149
185
 
150
- class AffinityLabelWriter < Writer # :nodoc:
186
+ class AffinityLabelWriter < Writer
151
187
 
152
188
  def self.write_one(object, writer, singular = nil)
153
189
  singular ||= 'affinity_label'
@@ -157,6 +193,7 @@ module OvirtSDK4
157
193
  writer.write_attribute('id', object.id) unless object.id.nil?
158
194
  Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
159
195
  Writer.write_string(writer, 'description', object.description) unless object.description.nil?
196
+ Writer.write_boolean(writer, 'has_implicit_affinity_group', object.has_implicit_affinity_group) unless object.has_implicit_affinity_group.nil?
160
197
  Writer.write_string(writer, 'name', object.name) unless object.name.nil?
161
198
  Writer.write_boolean(writer, 'read_only', object.read_only) unless object.read_only.nil?
162
199
  HostWriter.write_many(object.hosts, writer, 'host', 'hosts') unless object.hosts.nil?
@@ -180,7 +217,36 @@ module OvirtSDK4
180
217
 
181
218
  end
182
219
 
183
- class AgentWriter < Writer # :nodoc:
220
+ class AffinityRuleWriter < Writer
221
+
222
+ def self.write_one(object, writer, singular = nil)
223
+ singular ||= 'affinity_rule'
224
+ writer.write_start(singular)
225
+ href = object.href
226
+ writer.write_attribute('href', href) unless href.nil?
227
+ Writer.write_boolean(writer, 'enabled', object.enabled) unless object.enabled.nil?
228
+ Writer.write_boolean(writer, 'enforcing', object.enforcing) unless object.enforcing.nil?
229
+ Writer.write_boolean(writer, 'positive', object.positive) unless object.positive.nil?
230
+ writer.write_end
231
+ end
232
+
233
+ def self.write_many(list, writer, singular = nil, plural = nil)
234
+ singular ||= 'affinity_rule'
235
+ plural ||= 'affinity_rules'
236
+ writer.write_start(plural)
237
+ if list.is_a?(List)
238
+ href = list.href
239
+ writer.write_attribute('href', href) unless href.nil?
240
+ end
241
+ list.each do |item|
242
+ write_one(item, writer, singular)
243
+ end
244
+ writer.write_end
245
+ end
246
+
247
+ end
248
+
249
+ class AgentWriter < Writer
184
250
 
185
251
  def self.write_one(object, writer, singular = nil)
186
252
  singular ||= 'agent'
@@ -220,7 +286,7 @@ module OvirtSDK4
220
286
 
221
287
  end
222
288
 
223
- class AgentConfigurationWriter < Writer # :nodoc:
289
+ class AgentConfigurationWriter < Writer
224
290
 
225
291
  def self.write_one(object, writer, singular = nil)
226
292
  singular ||= 'agent_configuration'
@@ -252,7 +318,7 @@ module OvirtSDK4
252
318
 
253
319
  end
254
320
 
255
- class ApiWriter < Writer # :nodoc:
321
+ class ApiWriter < Writer
256
322
 
257
323
  def self.write_one(object, writer, singular = nil)
258
324
  singular ||= 'api'
@@ -263,6 +329,8 @@ module OvirtSDK4
263
329
  SpecialObjectsWriter.write_one(object.special_objects, writer, 'special_objects') unless object.special_objects.nil?
264
330
  ApiSummaryWriter.write_one(object.summary, writer, 'summary') unless object.summary.nil?
265
331
  Writer.write_date(writer, 'time', object.time) unless object.time.nil?
332
+ UserWriter.write_one(object.authenticated_user, writer, 'authenticated_user') unless object.authenticated_user.nil?
333
+ UserWriter.write_one(object.effective_user, writer, 'effective_user') unless object.effective_user.nil?
266
334
  writer.write_end
267
335
  end
268
336
 
@@ -282,7 +350,7 @@ module OvirtSDK4
282
350
 
283
351
  end
284
352
 
285
- class ApiSummaryWriter < Writer # :nodoc:
353
+ class ApiSummaryWriter < Writer
286
354
 
287
355
  def self.write_one(object, writer, singular = nil)
288
356
  singular ||= 'api_summary'
@@ -312,7 +380,7 @@ module OvirtSDK4
312
380
 
313
381
  end
314
382
 
315
- class ApiSummaryItemWriter < Writer # :nodoc:
383
+ class ApiSummaryItemWriter < Writer
316
384
 
317
385
  def self.write_one(object, writer, singular = nil)
318
386
  singular ||= 'api_summary_item'
@@ -340,7 +408,7 @@ module OvirtSDK4
340
408
 
341
409
  end
342
410
 
343
- class ApplicationWriter < Writer # :nodoc:
411
+ class ApplicationWriter < Writer
344
412
 
345
413
  def self.write_one(object, writer, singular = nil)
346
414
  singular ||= 'application'
@@ -371,7 +439,7 @@ module OvirtSDK4
371
439
 
372
440
  end
373
441
 
374
- class AuthorizedKeyWriter < Writer # :nodoc:
442
+ class AuthorizedKeyWriter < Writer
375
443
 
376
444
  def self.write_one(object, writer, singular = nil)
377
445
  singular ||= 'authorized_key'
@@ -403,7 +471,44 @@ module OvirtSDK4
403
471
 
404
472
  end
405
473
 
406
- class BalanceWriter < Writer # :nodoc:
474
+ class BackupWriter < Writer
475
+
476
+ def self.write_one(object, writer, singular = nil)
477
+ singular ||= 'backup'
478
+ writer.write_start(singular)
479
+ href = object.href
480
+ writer.write_attribute('href', href) unless href.nil?
481
+ writer.write_attribute('id', object.id) unless object.id.nil?
482
+ Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
483
+ Writer.write_date(writer, 'creation_date', object.creation_date) unless object.creation_date.nil?
484
+ Writer.write_string(writer, 'description', object.description) unless object.description.nil?
485
+ Writer.write_string(writer, 'from_checkpoint_id', object.from_checkpoint_id) unless object.from_checkpoint_id.nil?
486
+ Writer.write_string(writer, 'name', object.name) unless object.name.nil?
487
+ Writer.write_string(writer, 'phase', object.phase) unless object.phase.nil?
488
+ Writer.write_string(writer, 'to_checkpoint_id', object.to_checkpoint_id) unless object.to_checkpoint_id.nil?
489
+ DiskWriter.write_many(object.disks, writer, 'disk', 'disks') unless object.disks.nil?
490
+ HostWriter.write_one(object.host, writer, 'host') unless object.host.nil?
491
+ VmWriter.write_one(object.vm, writer, 'vm') unless object.vm.nil?
492
+ writer.write_end
493
+ end
494
+
495
+ def self.write_many(list, writer, singular = nil, plural = nil)
496
+ singular ||= 'backup'
497
+ plural ||= 'backups'
498
+ writer.write_start(plural)
499
+ if list.is_a?(List)
500
+ href = list.href
501
+ writer.write_attribute('href', href) unless href.nil?
502
+ end
503
+ list.each do |item|
504
+ write_one(item, writer, singular)
505
+ end
506
+ writer.write_end
507
+ end
508
+
509
+ end
510
+
511
+ class BalanceWriter < Writer
407
512
 
408
513
  def self.write_one(object, writer, singular = nil)
409
514
  singular ||= 'balance'
@@ -435,7 +540,7 @@ module OvirtSDK4
435
540
 
436
541
  end
437
542
 
438
- class BiosWriter < Writer # :nodoc:
543
+ class BiosWriter < Writer
439
544
 
440
545
  def self.write_one(object, writer, singular = nil)
441
546
  singular ||= 'bios'
@@ -443,6 +548,7 @@ module OvirtSDK4
443
548
  href = object.href
444
549
  writer.write_attribute('href', href) unless href.nil?
445
550
  BootMenuWriter.write_one(object.boot_menu, writer, 'boot_menu') unless object.boot_menu.nil?
551
+ Writer.write_string(writer, 'type', object.type) unless object.type.nil?
446
552
  writer.write_end
447
553
  end
448
554
 
@@ -462,7 +568,7 @@ module OvirtSDK4
462
568
 
463
569
  end
464
570
 
465
- class BlockStatisticWriter < Writer # :nodoc:
571
+ class BlockStatisticWriter < Writer
466
572
 
467
573
  def self.write_one(object, writer, singular = nil)
468
574
  singular ||= 'block_statistic'
@@ -489,7 +595,7 @@ module OvirtSDK4
489
595
 
490
596
  end
491
597
 
492
- class BondingWriter < Writer # :nodoc:
598
+ class BondingWriter < Writer
493
599
 
494
600
  def self.write_one(object, writer, singular = nil)
495
601
  singular ||= 'bonding'
@@ -498,7 +604,8 @@ module OvirtSDK4
498
604
  writer.write_attribute('href', href) unless href.nil?
499
605
  MacWriter.write_one(object.ad_partner_mac, writer, 'ad_partner_mac') unless object.ad_partner_mac.nil?
500
606
  OptionWriter.write_many(object.options, writer, 'option', 'options') unless object.options.nil?
501
- HostNicWriter.write_many(object.slaves, writer, 'slave', 'slaves') unless object.slaves.nil?
607
+ HostNicWriter.write_many(object.slaves, writer, 'host_nic', 'slaves') unless object.slaves.nil?
608
+ HostNicWriter.write_one(object.active_slave, writer, 'active_slave') unless object.active_slave.nil?
502
609
  writer.write_end
503
610
  end
504
611
 
@@ -518,7 +625,7 @@ module OvirtSDK4
518
625
 
519
626
  end
520
627
 
521
- class BookmarkWriter < Writer # :nodoc:
628
+ class BookmarkWriter < Writer
522
629
 
523
630
  def self.write_one(object, writer, singular = nil)
524
631
  singular ||= 'bookmark'
@@ -549,19 +656,19 @@ module OvirtSDK4
549
656
 
550
657
  end
551
658
 
552
- class BootWriter < Writer # :nodoc:
659
+ class BootWriter < Writer
553
660
 
554
661
  def self.write_one(object, writer, singular = nil)
555
662
  singular ||= 'boot'
556
663
  writer.write_start(singular)
557
664
  href = object.href
558
665
  writer.write_attribute('href', href) unless href.nil?
559
- if not object.devices.nil? and not object.devices.empty? then
666
+ unless object.devices.nil?
560
667
  writer.write_start('devices')
561
668
  object.devices.each do |item|
562
669
  Writer.write_string(writer, 'device', item) unless item.nil?
563
670
  end
564
- writer.end_element
671
+ writer.write_end
565
672
  end
566
673
  writer.write_end
567
674
  end
@@ -582,7 +689,7 @@ module OvirtSDK4
582
689
 
583
690
  end
584
691
 
585
- class BootMenuWriter < Writer # :nodoc:
692
+ class BootMenuWriter < Writer
586
693
 
587
694
  def self.write_one(object, writer, singular = nil)
588
695
  singular ||= 'boot_menu'
@@ -609,7 +716,7 @@ module OvirtSDK4
609
716
 
610
717
  end
611
718
 
612
- class BrickProfileDetailWriter < Writer # :nodoc:
719
+ class BrickProfileDetailWriter < Writer
613
720
 
614
721
  def self.write_one(object, writer, singular = nil)
615
722
  singular ||= 'brick_profile_detail'
@@ -637,7 +744,7 @@ module OvirtSDK4
637
744
 
638
745
  end
639
746
 
640
- class CdromWriter < Writer # :nodoc:
747
+ class CdromWriter < Writer
641
748
 
642
749
  def self.write_one(object, writer, singular = nil)
643
750
  singular ||= 'cdrom'
@@ -672,7 +779,7 @@ module OvirtSDK4
672
779
 
673
780
  end
674
781
 
675
- class CertificateWriter < Writer # :nodoc:
782
+ class CertificateWriter < Writer
676
783
 
677
784
  def self.write_one(object, writer, singular = nil)
678
785
  singular ||= 'certificate'
@@ -705,7 +812,41 @@ module OvirtSDK4
705
812
 
706
813
  end
707
814
 
708
- class CloudInitWriter < Writer # :nodoc:
815
+ class CheckpointWriter < Writer
816
+
817
+ def self.write_one(object, writer, singular = nil)
818
+ singular ||= 'checkpoint'
819
+ writer.write_start(singular)
820
+ href = object.href
821
+ writer.write_attribute('href', href) unless href.nil?
822
+ writer.write_attribute('id', object.id) unless object.id.nil?
823
+ Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
824
+ Writer.write_date(writer, 'creation_date', object.creation_date) unless object.creation_date.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
+ Writer.write_string(writer, 'parent_id', object.parent_id) unless object.parent_id.nil?
828
+ DiskWriter.write_many(object.disks, writer, 'disk', 'disks') unless object.disks.nil?
829
+ VmWriter.write_one(object.vm, writer, 'vm') unless object.vm.nil?
830
+ writer.write_end
831
+ end
832
+
833
+ def self.write_many(list, writer, singular = nil, plural = nil)
834
+ singular ||= 'checkpoint'
835
+ plural ||= 'checkpoints'
836
+ writer.write_start(plural)
837
+ if list.is_a?(List)
838
+ href = list.href
839
+ writer.write_attribute('href', href) unless href.nil?
840
+ end
841
+ list.each do |item|
842
+ write_one(item, writer, singular)
843
+ end
844
+ writer.write_end
845
+ end
846
+
847
+ end
848
+
849
+ class CloudInitWriter < Writer
709
850
 
710
851
  def self.write_one(object, writer, singular = nil)
711
852
  singular ||= 'cloud_init'
@@ -738,7 +879,7 @@ module OvirtSDK4
738
879
 
739
880
  end
740
881
 
741
- class ClusterWriter < Writer # :nodoc:
882
+ class ClusterWriter < Writer
742
883
 
743
884
  def self.write_one(object, writer, singular = nil)
744
885
  singular ||= 'cluster'
@@ -747,39 +888,48 @@ module OvirtSDK4
747
888
  writer.write_attribute('href', href) unless href.nil?
748
889
  writer.write_attribute('id', object.id) unless object.id.nil?
749
890
  Writer.write_boolean(writer, 'ballooning_enabled', object.ballooning_enabled) unless object.ballooning_enabled.nil?
891
+ Writer.write_string(writer, 'bios_type', object.bios_type) unless object.bios_type.nil?
750
892
  Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
751
893
  CpuWriter.write_one(object.cpu, writer, 'cpu') unless object.cpu.nil?
752
- PropertyWriter.write_many(object.custom_scheduling_policy_properties, writer, 'custom_scheduling_policy_property', 'custom_scheduling_policy_properties') unless object.custom_scheduling_policy_properties.nil?
894
+ PropertyWriter.write_many(object.custom_scheduling_policy_properties, writer, 'property', 'custom_scheduling_policy_properties') unless object.custom_scheduling_policy_properties.nil?
753
895
  Writer.write_string(writer, 'description', object.description) unless object.description.nil?
754
896
  DisplayWriter.write_one(object.display, writer, 'display') unless object.display.nil?
755
897
  ErrorHandlingWriter.write_one(object.error_handling, writer, 'error_handling') unless object.error_handling.nil?
756
898
  FencingPolicyWriter.write_one(object.fencing_policy, writer, 'fencing_policy') unless object.fencing_policy.nil?
899
+ Writer.write_string(writer, 'fips_mode', object.fips_mode) unless object.fips_mode.nil?
900
+ Writer.write_string(writer, 'firewall_type', object.firewall_type) unless object.firewall_type.nil?
757
901
  Writer.write_boolean(writer, 'gluster_service', object.gluster_service) unless object.gluster_service.nil?
902
+ Writer.write_string(writer, 'gluster_tuned_profile', object.gluster_tuned_profile) unless object.gluster_tuned_profile.nil?
758
903
  Writer.write_boolean(writer, 'ha_reservation', object.ha_reservation) unless object.ha_reservation.nil?
759
904
  KsmWriter.write_one(object.ksm, writer, 'ksm') unless object.ksm.nil?
905
+ Writer.write_integer(writer, 'log_max_memory_used_threshold', object.log_max_memory_used_threshold) unless object.log_max_memory_used_threshold.nil?
906
+ Writer.write_string(writer, 'log_max_memory_used_threshold_type', object.log_max_memory_used_threshold_type) unless object.log_max_memory_used_threshold_type.nil?
760
907
  Writer.write_boolean(writer, 'maintenance_reason_required', object.maintenance_reason_required) unless object.maintenance_reason_required.nil?
761
908
  MemoryPolicyWriter.write_one(object.memory_policy, writer, 'memory_policy') unless object.memory_policy.nil?
762
909
  MigrationOptionsWriter.write_one(object.migration, writer, 'migration') unless object.migration.nil?
763
910
  Writer.write_string(writer, 'name', object.name) unless object.name.nil?
764
911
  Writer.write_boolean(writer, 'optional_reason', object.optional_reason) unless object.optional_reason.nil?
765
- if not object.required_rng_sources.nil? and not object.required_rng_sources.empty? then
912
+ unless object.required_rng_sources.nil?
766
913
  writer.write_start('required_rng_sources')
767
914
  object.required_rng_sources.each do |item|
768
915
  Writer.write_string(writer, 'required_rng_source', item) unless item.nil?
769
916
  end
770
- writer.end_element
917
+ writer.write_end
771
918
  end
772
919
  SerialNumberWriter.write_one(object.serial_number, writer, 'serial_number') unless object.serial_number.nil?
773
- VersionWriter.write_many(object.supported_versions, writer, 'supported_version', 'supported_versions') unless object.supported_versions.nil?
920
+ VersionWriter.write_many(object.supported_versions, writer, 'version', 'supported_versions') unless object.supported_versions.nil?
774
921
  Writer.write_string(writer, 'switch_type', object.switch_type) unless object.switch_type.nil?
775
922
  Writer.write_boolean(writer, 'threads_as_cores', object.threads_as_cores) unless object.threads_as_cores.nil?
776
923
  Writer.write_boolean(writer, 'trusted_service', object.trusted_service) unless object.trusted_service.nil?
777
924
  Writer.write_boolean(writer, 'tunnel_migration', object.tunnel_migration) unless object.tunnel_migration.nil?
778
925
  VersionWriter.write_one(object.version, writer, 'version') unless object.version.nil?
779
926
  Writer.write_boolean(writer, 'virt_service', object.virt_service) unless object.virt_service.nil?
927
+ Writer.write_boolean(writer, 'vnc_encryption', object.vnc_encryption) unless object.vnc_encryption.nil?
780
928
  AffinityGroupWriter.write_many(object.affinity_groups, writer, 'affinity_group', 'affinity_groups') unless object.affinity_groups.nil?
781
929
  CpuProfileWriter.write_many(object.cpu_profiles, writer, 'cpu_profile', 'cpu_profiles') unless object.cpu_profiles.nil?
782
930
  DataCenterWriter.write_one(object.data_center, writer, 'data_center') unless object.data_center.nil?
931
+ ClusterFeatureWriter.write_many(object.enabled_features, writer, 'cluster_feature', 'enabled_features') unless object.enabled_features.nil?
932
+ ExternalProviderWriter.write_many(object.external_network_providers, writer, 'external_provider', 'external_network_providers') unless object.external_network_providers.nil?
783
933
  GlusterHookWriter.write_many(object.gluster_hooks, writer, 'gluster_hook', 'gluster_hooks') unless object.gluster_hooks.nil?
784
934
  GlusterVolumeWriter.write_many(object.gluster_volumes, writer, 'gluster_volume', 'gluster_volumes') unless object.gluster_volumes.nil?
785
935
  MacPoolWriter.write_one(object.mac_pool, writer, 'mac_pool') unless object.mac_pool.nil?
@@ -807,7 +957,38 @@ module OvirtSDK4
807
957
 
808
958
  end
809
959
 
810
- class ClusterLevelWriter < Writer # :nodoc:
960
+ class ClusterFeatureWriter < Writer
961
+
962
+ def self.write_one(object, writer, singular = nil)
963
+ singular ||= 'cluster_feature'
964
+ writer.write_start(singular)
965
+ href = object.href
966
+ writer.write_attribute('href', href) unless href.nil?
967
+ writer.write_attribute('id', object.id) unless object.id.nil?
968
+ Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
969
+ Writer.write_string(writer, 'description', object.description) unless object.description.nil?
970
+ Writer.write_string(writer, 'name', object.name) unless object.name.nil?
971
+ ClusterLevelWriter.write_one(object.cluster_level, writer, 'cluster_level') unless object.cluster_level.nil?
972
+ writer.write_end
973
+ end
974
+
975
+ def self.write_many(list, writer, singular = nil, plural = nil)
976
+ singular ||= 'cluster_feature'
977
+ plural ||= 'cluster_features'
978
+ writer.write_start(plural)
979
+ if list.is_a?(List)
980
+ href = list.href
981
+ writer.write_attribute('href', href) unless href.nil?
982
+ end
983
+ list.each do |item|
984
+ write_one(item, writer, singular)
985
+ end
986
+ writer.write_end
987
+ end
988
+
989
+ end
990
+
991
+ class ClusterLevelWriter < Writer
811
992
 
812
993
  def self.write_one(object, writer, singular = nil)
813
994
  singular ||= 'cluster_level'
@@ -820,6 +1001,7 @@ module OvirtSDK4
820
1001
  Writer.write_string(writer, 'description', object.description) unless object.description.nil?
821
1002
  Writer.write_string(writer, 'name', object.name) unless object.name.nil?
822
1003
  PermitWriter.write_many(object.permits, writer, 'permit', 'permits') unless object.permits.nil?
1004
+ ClusterFeatureWriter.write_many(object.cluster_features, writer, 'cluster_feature', 'cluster_features') unless object.cluster_features.nil?
823
1005
  writer.write_end
824
1006
  end
825
1007
 
@@ -839,7 +1021,7 @@ module OvirtSDK4
839
1021
 
840
1022
  end
841
1023
 
842
- class ConfigurationWriter < Writer # :nodoc:
1024
+ class ConfigurationWriter < Writer
843
1025
 
844
1026
  def self.write_one(object, writer, singular = nil)
845
1027
  singular ||= 'configuration'
@@ -867,7 +1049,7 @@ module OvirtSDK4
867
1049
 
868
1050
  end
869
1051
 
870
- class ConsoleWriter < Writer # :nodoc:
1052
+ class ConsoleWriter < Writer
871
1053
 
872
1054
  def self.write_one(object, writer, singular = nil)
873
1055
  singular ||= 'console'
@@ -894,7 +1076,7 @@ module OvirtSDK4
894
1076
 
895
1077
  end
896
1078
 
897
- class CoreWriter < Writer # :nodoc:
1079
+ class CoreWriter < Writer
898
1080
 
899
1081
  def self.write_one(object, writer, singular = nil)
900
1082
  singular ||= 'core'
@@ -922,7 +1104,7 @@ module OvirtSDK4
922
1104
 
923
1105
  end
924
1106
 
925
- class CpuWriter < Writer # :nodoc:
1107
+ class CpuWriter < Writer
926
1108
 
927
1109
  def self.write_one(object, writer, singular = nil)
928
1110
  singular ||= 'cpu'
@@ -957,7 +1139,7 @@ module OvirtSDK4
957
1139
 
958
1140
  end
959
1141
 
960
- class CpuProfileWriter < Writer # :nodoc:
1142
+ class CpuProfileWriter < Writer
961
1143
 
962
1144
  def self.write_one(object, writer, singular = nil)
963
1145
  singular ||= 'cpu_profile'
@@ -990,7 +1172,7 @@ module OvirtSDK4
990
1172
 
991
1173
  end
992
1174
 
993
- class CpuTopologyWriter < Writer # :nodoc:
1175
+ class CpuTopologyWriter < Writer
994
1176
 
995
1177
  def self.write_one(object, writer, singular = nil)
996
1178
  singular ||= 'cpu_topology'
@@ -1019,7 +1201,7 @@ module OvirtSDK4
1019
1201
 
1020
1202
  end
1021
1203
 
1022
- class CpuTuneWriter < Writer # :nodoc:
1204
+ class CpuTuneWriter < Writer
1023
1205
 
1024
1206
  def self.write_one(object, writer, singular = nil)
1025
1207
  singular ||= 'cpu_tune'
@@ -1046,7 +1228,7 @@ module OvirtSDK4
1046
1228
 
1047
1229
  end
1048
1230
 
1049
- class CpuTypeWriter < Writer # :nodoc:
1231
+ class CpuTypeWriter < Writer
1050
1232
 
1051
1233
  def self.write_one(object, writer, singular = nil)
1052
1234
  singular ||= 'cpu_type'
@@ -1075,7 +1257,7 @@ module OvirtSDK4
1075
1257
 
1076
1258
  end
1077
1259
 
1078
- class CustomPropertyWriter < Writer # :nodoc:
1260
+ class CustomPropertyWriter < Writer
1079
1261
 
1080
1262
  def self.write_one(object, writer, singular = nil)
1081
1263
  singular ||= 'custom_property'
@@ -1104,7 +1286,7 @@ module OvirtSDK4
1104
1286
 
1105
1287
  end
1106
1288
 
1107
- class DataCenterWriter < Writer # :nodoc:
1289
+ class DataCenterWriter < Writer
1108
1290
 
1109
1291
  def self.write_one(object, writer, singular = nil)
1110
1292
  singular ||= 'data_center'
@@ -1119,7 +1301,7 @@ module OvirtSDK4
1119
1301
  Writer.write_string(writer, 'quota_mode', object.quota_mode) unless object.quota_mode.nil?
1120
1302
  Writer.write_string(writer, 'status', object.status) unless object.status.nil?
1121
1303
  Writer.write_string(writer, 'storage_format', object.storage_format) unless object.storage_format.nil?
1122
- VersionWriter.write_many(object.supported_versions, writer, 'supported_version', 'supported_versions') unless object.supported_versions.nil?
1304
+ VersionWriter.write_many(object.supported_versions, writer, 'version', 'supported_versions') unless object.supported_versions.nil?
1123
1305
  VersionWriter.write_one(object.version, writer, 'version') unless object.version.nil?
1124
1306
  ClusterWriter.write_many(object.clusters, writer, 'cluster', 'clusters') unless object.clusters.nil?
1125
1307
  IscsiBondWriter.write_many(object.iscsi_bonds, writer, 'iscsi_bond', 'iscsi_bonds') unless object.iscsi_bonds.nil?
@@ -1148,7 +1330,7 @@ module OvirtSDK4
1148
1330
 
1149
1331
  end
1150
1332
 
1151
- class DeviceWriter < Writer # :nodoc:
1333
+ class DeviceWriter < Writer
1152
1334
 
1153
1335
  def self.write_one(object, writer, singular = nil)
1154
1336
  singular ||= 'device'
@@ -1182,7 +1364,7 @@ module OvirtSDK4
1182
1364
 
1183
1365
  end
1184
1366
 
1185
- class DiskWriter < Writer # :nodoc:
1367
+ class DiskWriter < Writer
1186
1368
 
1187
1369
  def self.write_one(object, writer, singular = nil)
1188
1370
  singular ||= 'disk'
@@ -1193,26 +1375,34 @@ module OvirtSDK4
1193
1375
  Writer.write_boolean(writer, 'active', object.active) unless object.active.nil?
1194
1376
  Writer.write_integer(writer, 'actual_size', object.actual_size) unless object.actual_size.nil?
1195
1377
  Writer.write_string(writer, 'alias', object.alias_) unless object.alias_.nil?
1378
+ Writer.write_string(writer, 'backup', object.backup) unless object.backup.nil?
1379
+ Writer.write_string(writer, 'backup_mode', object.backup_mode) unless object.backup_mode.nil?
1196
1380
  Writer.write_boolean(writer, 'bootable', object.bootable) unless object.bootable.nil?
1197
1381
  Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
1382
+ Writer.write_string(writer, 'content_type', object.content_type) unless object.content_type.nil?
1198
1383
  Writer.write_string(writer, 'description', object.description) unless object.description.nil?
1384
+ Writer.write_string(writer, 'external_disk', object.external_disk) unless object.external_disk.nil?
1199
1385
  Writer.write_string(writer, 'format', object.format) unless object.format.nil?
1200
1386
  Writer.write_string(writer, 'image_id', object.image_id) unless object.image_id.nil?
1387
+ Writer.write_integer(writer, 'initial_size', object.initial_size) unless object.initial_size.nil?
1201
1388
  Writer.write_string(writer, 'interface', object.interface) unless object.interface.nil?
1202
1389
  Writer.write_string(writer, 'logical_name', object.logical_name) unless object.logical_name.nil?
1203
1390
  HostStorageWriter.write_one(object.lun_storage, writer, 'lun_storage') unless object.lun_storage.nil?
1204
1391
  Writer.write_string(writer, 'name', object.name) unless object.name.nil?
1205
1392
  Writer.write_boolean(writer, 'propagate_errors', object.propagate_errors) unless object.propagate_errors.nil?
1206
1393
  Writer.write_integer(writer, 'provisioned_size', object.provisioned_size) unless object.provisioned_size.nil?
1394
+ Writer.write_string(writer, 'qcow_version', object.qcow_version) unless object.qcow_version.nil?
1207
1395
  Writer.write_boolean(writer, 'read_only', object.read_only) unless object.read_only.nil?
1208
1396
  Writer.write_string(writer, 'sgio', object.sgio) unless object.sgio.nil?
1209
1397
  Writer.write_boolean(writer, 'shareable', object.shareable) unless object.shareable.nil?
1210
1398
  Writer.write_boolean(writer, 'sparse', object.sparse) unless object.sparse.nil?
1211
1399
  Writer.write_string(writer, 'status', object.status) unless object.status.nil?
1212
1400
  Writer.write_string(writer, 'storage_type', object.storage_type) unless object.storage_type.nil?
1401
+ Writer.write_integer(writer, 'total_size', object.total_size) unless object.total_size.nil?
1213
1402
  Writer.write_boolean(writer, 'uses_scsi_reservation', object.uses_scsi_reservation) unless object.uses_scsi_reservation.nil?
1214
1403
  Writer.write_boolean(writer, 'wipe_after_delete', object.wipe_after_delete) unless object.wipe_after_delete.nil?
1215
1404
  DiskProfileWriter.write_one(object.disk_profile, writer, 'disk_profile') unless object.disk_profile.nil?
1405
+ DiskSnapshotWriter.write_many(object.disk_snapshots, writer, 'disk_snapshot', 'disk_snapshots') unless object.disk_snapshots.nil?
1216
1406
  InstanceTypeWriter.write_one(object.instance_type, writer, 'instance_type') unless object.instance_type.nil?
1217
1407
  OpenStackVolumeTypeWriter.write_one(object.openstack_volume_type, writer, 'openstack_volume_type') unless object.openstack_volume_type.nil?
1218
1408
  PermissionWriter.write_many(object.permissions, writer, 'permission', 'permissions') unless object.permissions.nil?
@@ -1243,7 +1433,7 @@ module OvirtSDK4
1243
1433
 
1244
1434
  end
1245
1435
 
1246
- class DiskAttachmentWriter < Writer # :nodoc:
1436
+ class DiskAttachmentWriter < Writer
1247
1437
 
1248
1438
  def self.write_one(object, writer, singular = nil)
1249
1439
  singular ||= 'disk_attachment'
@@ -1258,6 +1448,9 @@ module OvirtSDK4
1258
1448
  Writer.write_string(writer, 'interface', object.interface) unless object.interface.nil?
1259
1449
  Writer.write_string(writer, 'logical_name', object.logical_name) unless object.logical_name.nil?
1260
1450
  Writer.write_string(writer, 'name', object.name) unless object.name.nil?
1451
+ Writer.write_boolean(writer, 'pass_discard', object.pass_discard) unless object.pass_discard.nil?
1452
+ Writer.write_boolean(writer, 'read_only', object.read_only) unless object.read_only.nil?
1453
+ Writer.write_boolean(writer, 'uses_scsi_reservation', object.uses_scsi_reservation) unless object.uses_scsi_reservation.nil?
1261
1454
  DiskWriter.write_one(object.disk, writer, 'disk') unless object.disk.nil?
1262
1455
  TemplateWriter.write_one(object.template, writer, 'template') unless object.template.nil?
1263
1456
  VmWriter.write_one(object.vm, writer, 'vm') unless object.vm.nil?
@@ -1280,7 +1473,7 @@ module OvirtSDK4
1280
1473
 
1281
1474
  end
1282
1475
 
1283
- class DiskProfileWriter < Writer # :nodoc:
1476
+ class DiskProfileWriter < Writer
1284
1477
 
1285
1478
  def self.write_one(object, writer, singular = nil)
1286
1479
  singular ||= 'disk_profile'
@@ -1313,7 +1506,7 @@ module OvirtSDK4
1313
1506
 
1314
1507
  end
1315
1508
 
1316
- class DiskSnapshotWriter < Writer # :nodoc:
1509
+ class DiskSnapshotWriter < Writer
1317
1510
 
1318
1511
  def self.write_one(object, writer, singular = nil)
1319
1512
  singular ||= 'disk_snapshot'
@@ -1324,29 +1517,38 @@ module OvirtSDK4
1324
1517
  Writer.write_boolean(writer, 'active', object.active) unless object.active.nil?
1325
1518
  Writer.write_integer(writer, 'actual_size', object.actual_size) unless object.actual_size.nil?
1326
1519
  Writer.write_string(writer, 'alias', object.alias_) unless object.alias_.nil?
1520
+ Writer.write_string(writer, 'backup', object.backup) unless object.backup.nil?
1521
+ Writer.write_string(writer, 'backup_mode', object.backup_mode) unless object.backup_mode.nil?
1327
1522
  Writer.write_boolean(writer, 'bootable', object.bootable) unless object.bootable.nil?
1328
1523
  Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
1524
+ Writer.write_string(writer, 'content_type', object.content_type) unless object.content_type.nil?
1329
1525
  Writer.write_string(writer, 'description', object.description) unless object.description.nil?
1526
+ Writer.write_string(writer, 'external_disk', object.external_disk) unless object.external_disk.nil?
1330
1527
  Writer.write_string(writer, 'format', object.format) unless object.format.nil?
1331
1528
  Writer.write_string(writer, 'image_id', object.image_id) unless object.image_id.nil?
1529
+ Writer.write_integer(writer, 'initial_size', object.initial_size) unless object.initial_size.nil?
1332
1530
  Writer.write_string(writer, 'interface', object.interface) unless object.interface.nil?
1333
1531
  Writer.write_string(writer, 'logical_name', object.logical_name) unless object.logical_name.nil?
1334
1532
  HostStorageWriter.write_one(object.lun_storage, writer, 'lun_storage') unless object.lun_storage.nil?
1335
1533
  Writer.write_string(writer, 'name', object.name) unless object.name.nil?
1336
1534
  Writer.write_boolean(writer, 'propagate_errors', object.propagate_errors) unless object.propagate_errors.nil?
1337
1535
  Writer.write_integer(writer, 'provisioned_size', object.provisioned_size) unless object.provisioned_size.nil?
1536
+ Writer.write_string(writer, 'qcow_version', object.qcow_version) unless object.qcow_version.nil?
1338
1537
  Writer.write_boolean(writer, 'read_only', object.read_only) unless object.read_only.nil?
1339
1538
  Writer.write_string(writer, 'sgio', object.sgio) unless object.sgio.nil?
1340
1539
  Writer.write_boolean(writer, 'shareable', object.shareable) unless object.shareable.nil?
1341
1540
  Writer.write_boolean(writer, 'sparse', object.sparse) unless object.sparse.nil?
1342
1541
  Writer.write_string(writer, 'status', object.status) unless object.status.nil?
1343
1542
  Writer.write_string(writer, 'storage_type', object.storage_type) unless object.storage_type.nil?
1543
+ Writer.write_integer(writer, 'total_size', object.total_size) unless object.total_size.nil?
1344
1544
  Writer.write_boolean(writer, 'uses_scsi_reservation', object.uses_scsi_reservation) unless object.uses_scsi_reservation.nil?
1345
1545
  Writer.write_boolean(writer, 'wipe_after_delete', object.wipe_after_delete) unless object.wipe_after_delete.nil?
1346
1546
  DiskWriter.write_one(object.disk, writer, 'disk') unless object.disk.nil?
1347
1547
  DiskProfileWriter.write_one(object.disk_profile, writer, 'disk_profile') unless object.disk_profile.nil?
1548
+ DiskSnapshotWriter.write_many(object.disk_snapshots, writer, 'disk_snapshot', 'disk_snapshots') unless object.disk_snapshots.nil?
1348
1549
  InstanceTypeWriter.write_one(object.instance_type, writer, 'instance_type') unless object.instance_type.nil?
1349
1550
  OpenStackVolumeTypeWriter.write_one(object.openstack_volume_type, writer, 'openstack_volume_type') unless object.openstack_volume_type.nil?
1551
+ DiskSnapshotWriter.write_one(object.parent, writer, 'parent') unless object.parent.nil?
1350
1552
  PermissionWriter.write_many(object.permissions, writer, 'permission', 'permissions') unless object.permissions.nil?
1351
1553
  QuotaWriter.write_one(object.quota, writer, 'quota') unless object.quota.nil?
1352
1554
  SnapshotWriter.write_one(object.snapshot, writer, 'snapshot') unless object.snapshot.nil?
@@ -1375,7 +1577,7 @@ module OvirtSDK4
1375
1577
 
1376
1578
  end
1377
1579
 
1378
- class DisplayWriter < Writer # :nodoc:
1580
+ class DisplayWriter < Writer
1379
1581
 
1380
1582
  def self.write_one(object, writer, singular = nil)
1381
1583
  singular ||= 'display'
@@ -1415,15 +1617,15 @@ module OvirtSDK4
1415
1617
 
1416
1618
  end
1417
1619
 
1418
- class DnsWriter < Writer # :nodoc:
1620
+ class DnsWriter < Writer
1419
1621
 
1420
1622
  def self.write_one(object, writer, singular = nil)
1421
1623
  singular ||= 'dns'
1422
1624
  writer.write_start(singular)
1423
1625
  href = object.href
1424
1626
  writer.write_attribute('href', href) unless href.nil?
1425
- HostWriter.write_many(object.search_domains, writer, 'search_domain', 'search_domains') unless object.search_domains.nil?
1426
- HostWriter.write_many(object.servers, writer, 'server', 'servers') unless object.servers.nil?
1627
+ HostWriter.write_many(object.search_domains, writer, 'host', 'search_domains') unless object.search_domains.nil?
1628
+ HostWriter.write_many(object.servers, writer, 'host', 'servers') unless object.servers.nil?
1427
1629
  writer.write_end
1428
1630
  end
1429
1631
 
@@ -1443,7 +1645,40 @@ module OvirtSDK4
1443
1645
 
1444
1646
  end
1445
1647
 
1446
- class DomainWriter < Writer # :nodoc:
1648
+ class DnsResolverConfigurationWriter < Writer
1649
+
1650
+ def self.write_one(object, writer, singular = nil)
1651
+ singular ||= 'dns_resolver_configuration'
1652
+ writer.write_start(singular)
1653
+ href = object.href
1654
+ writer.write_attribute('href', href) unless href.nil?
1655
+ unless object.name_servers.nil?
1656
+ writer.write_start('name_servers')
1657
+ object.name_servers.each do |item|
1658
+ Writer.write_string(writer, 'name_server', item) unless item.nil?
1659
+ end
1660
+ writer.write_end
1661
+ end
1662
+ writer.write_end
1663
+ end
1664
+
1665
+ def self.write_many(list, writer, singular = nil, plural = nil)
1666
+ singular ||= 'dns_resolver_configuration'
1667
+ plural ||= 'dns_resolver_configurations'
1668
+ writer.write_start(plural)
1669
+ if list.is_a?(List)
1670
+ href = list.href
1671
+ writer.write_attribute('href', href) unless href.nil?
1672
+ end
1673
+ list.each do |item|
1674
+ write_one(item, writer, singular)
1675
+ end
1676
+ writer.write_end
1677
+ end
1678
+
1679
+ end
1680
+
1681
+ class DomainWriter < Writer
1447
1682
 
1448
1683
  def self.write_one(object, writer, singular = nil)
1449
1684
  singular ||= 'domain'
@@ -1476,7 +1711,7 @@ module OvirtSDK4
1476
1711
 
1477
1712
  end
1478
1713
 
1479
- class EntityProfileDetailWriter < Writer # :nodoc:
1714
+ class EntityProfileDetailWriter < Writer
1480
1715
 
1481
1716
  def self.write_one(object, writer, singular = nil)
1482
1717
  singular ||= 'entity_profile_detail'
@@ -1503,7 +1738,7 @@ module OvirtSDK4
1503
1738
 
1504
1739
  end
1505
1740
 
1506
- class ErrorHandlingWriter < Writer # :nodoc:
1741
+ class ErrorHandlingWriter < Writer
1507
1742
 
1508
1743
  def self.write_one(object, writer, singular = nil)
1509
1744
  singular ||= 'error_handling'
@@ -1530,7 +1765,7 @@ module OvirtSDK4
1530
1765
 
1531
1766
  end
1532
1767
 
1533
- class EventWriter < Writer # :nodoc:
1768
+ class EventWriter < Writer
1534
1769
 
1535
1770
  def self.write_one(object, writer, singular = nil)
1536
1771
  singular ||= 'event'
@@ -1545,6 +1780,8 @@ module OvirtSDK4
1545
1780
  Writer.write_integer(writer, 'custom_id', object.custom_id) unless object.custom_id.nil?
1546
1781
  Writer.write_string(writer, 'description', object.description) unless object.description.nil?
1547
1782
  Writer.write_integer(writer, 'flood_rate', object.flood_rate) unless object.flood_rate.nil?
1783
+ Writer.write_integer(writer, 'index', object.index) unless object.index.nil?
1784
+ Writer.write_boolean(writer, 'log_on_host', object.log_on_host) unless object.log_on_host.nil?
1548
1785
  Writer.write_string(writer, 'name', object.name) unless object.name.nil?
1549
1786
  Writer.write_string(writer, 'origin', object.origin) unless object.origin.nil?
1550
1787
  Writer.write_string(writer, 'severity', object.severity) unless object.severity.nil?
@@ -1575,7 +1812,41 @@ module OvirtSDK4
1575
1812
 
1576
1813
  end
1577
1814
 
1578
- class ExternalComputeResourceWriter < Writer # :nodoc:
1815
+ class EventSubscriptionWriter < Writer
1816
+
1817
+ def self.write_one(object, writer, singular = nil)
1818
+ singular ||= 'event_subscription'
1819
+ writer.write_start(singular)
1820
+ href = object.href
1821
+ writer.write_attribute('href', href) unless href.nil?
1822
+ writer.write_attribute('id', object.id) unless object.id.nil?
1823
+ Writer.write_string(writer, 'address', object.address) unless object.address.nil?
1824
+ Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
1825
+ Writer.write_string(writer, 'description', object.description) unless object.description.nil?
1826
+ Writer.write_string(writer, 'event', object.event) unless object.event.nil?
1827
+ Writer.write_string(writer, 'name', object.name) unless object.name.nil?
1828
+ Writer.write_string(writer, 'notification_method', object.notification_method) unless object.notification_method.nil?
1829
+ UserWriter.write_one(object.user, writer, 'user') unless object.user.nil?
1830
+ writer.write_end
1831
+ end
1832
+
1833
+ def self.write_many(list, writer, singular = nil, plural = nil)
1834
+ singular ||= 'event_subscription'
1835
+ plural ||= 'event_subscriptions'
1836
+ writer.write_start(plural)
1837
+ if list.is_a?(List)
1838
+ href = list.href
1839
+ writer.write_attribute('href', href) unless href.nil?
1840
+ end
1841
+ list.each do |item|
1842
+ write_one(item, writer, singular)
1843
+ end
1844
+ writer.write_end
1845
+ end
1846
+
1847
+ end
1848
+
1849
+ class ExternalComputeResourceWriter < Writer
1579
1850
 
1580
1851
  def self.write_one(object, writer, singular = nil)
1581
1852
  singular ||= 'external_compute_resource'
@@ -1609,7 +1880,7 @@ module OvirtSDK4
1609
1880
 
1610
1881
  end
1611
1882
 
1612
- class ExternalDiscoveredHostWriter < Writer # :nodoc:
1883
+ class ExternalDiscoveredHostWriter < Writer
1613
1884
 
1614
1885
  def self.write_one(object, writer, singular = nil)
1615
1886
  singular ||= 'external_discovered_host'
@@ -1644,7 +1915,7 @@ module OvirtSDK4
1644
1915
 
1645
1916
  end
1646
1917
 
1647
- class ExternalHostWriter < Writer # :nodoc:
1918
+ class ExternalHostWriter < Writer
1648
1919
 
1649
1920
  def self.write_one(object, writer, singular = nil)
1650
1921
  singular ||= 'external_host'
@@ -1676,7 +1947,7 @@ module OvirtSDK4
1676
1947
 
1677
1948
  end
1678
1949
 
1679
- class ExternalHostGroupWriter < Writer # :nodoc:
1950
+ class ExternalHostGroupWriter < Writer
1680
1951
 
1681
1952
  def self.write_one(object, writer, singular = nil)
1682
1953
  singular ||= 'external_host_group'
@@ -1711,7 +1982,7 @@ module OvirtSDK4
1711
1982
 
1712
1983
  end
1713
1984
 
1714
- class ExternalHostProviderWriter < Writer # :nodoc:
1985
+ class ExternalHostProviderWriter < Writer
1715
1986
 
1716
1987
  def self.write_one(object, writer, singular = nil)
1717
1988
  singular ||= 'external_host_provider'
@@ -1729,9 +2000,9 @@ module OvirtSDK4
1729
2000
  Writer.write_string(writer, 'url', object.url) unless object.url.nil?
1730
2001
  Writer.write_string(writer, 'username', object.username) unless object.username.nil?
1731
2002
  CertificateWriter.write_many(object.certificates, writer, 'certificate', 'certificates') unless object.certificates.nil?
1732
- ExternalComputeResourceWriter.write_many(object.compute_resources, writer, 'compute_resource', 'compute_resources') unless object.compute_resources.nil?
1733
- ExternalDiscoveredHostWriter.write_many(object.discovered_hosts, writer, 'discovered_host', 'discovered_hosts') unless object.discovered_hosts.nil?
1734
- ExternalHostGroupWriter.write_many(object.host_groups, writer, 'host_group', 'host_groups') unless object.host_groups.nil?
2003
+ ExternalComputeResourceWriter.write_many(object.compute_resources, writer, 'external_compute_resource', 'compute_resources') unless object.compute_resources.nil?
2004
+ ExternalDiscoveredHostWriter.write_many(object.discovered_hosts, writer, 'external_discovered_host', 'discovered_hosts') unless object.discovered_hosts.nil?
2005
+ ExternalHostGroupWriter.write_many(object.host_groups, writer, 'external_host_group', 'host_groups') unless object.host_groups.nil?
1735
2006
  HostWriter.write_many(object.hosts, writer, 'host', 'hosts') unless object.hosts.nil?
1736
2007
  writer.write_end
1737
2008
  end
@@ -1752,7 +2023,39 @@ module OvirtSDK4
1752
2023
 
1753
2024
  end
1754
2025
 
1755
- class ExternalProviderWriter < Writer # :nodoc:
2026
+ class ExternalNetworkProviderConfigurationWriter < Writer
2027
+
2028
+ def self.write_one(object, writer, singular = nil)
2029
+ singular ||= 'external_network_provider_configuration'
2030
+ writer.write_start(singular)
2031
+ href = object.href
2032
+ writer.write_attribute('href', href) unless href.nil?
2033
+ writer.write_attribute('id', object.id) unless object.id.nil?
2034
+ Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
2035
+ Writer.write_string(writer, 'description', object.description) unless object.description.nil?
2036
+ Writer.write_string(writer, 'name', object.name) unless object.name.nil?
2037
+ ExternalProviderWriter.write_one(object.external_network_provider, writer, 'external_network_provider') unless object.external_network_provider.nil?
2038
+ HostWriter.write_one(object.host, writer, 'host') unless object.host.nil?
2039
+ writer.write_end
2040
+ end
2041
+
2042
+ def self.write_many(list, writer, singular = nil, plural = nil)
2043
+ singular ||= 'external_network_provider_configuration'
2044
+ plural ||= 'external_network_provider_configurations'
2045
+ writer.write_start(plural)
2046
+ if list.is_a?(List)
2047
+ href = list.href
2048
+ writer.write_attribute('href', href) unless href.nil?
2049
+ end
2050
+ list.each do |item|
2051
+ write_one(item, writer, singular)
2052
+ end
2053
+ writer.write_end
2054
+ end
2055
+
2056
+ end
2057
+
2058
+ class ExternalProviderWriter < Writer
1756
2059
 
1757
2060
  def self.write_one(object, writer, singular = nil)
1758
2061
  singular ||= 'external_provider'
@@ -1788,7 +2091,7 @@ module OvirtSDK4
1788
2091
 
1789
2092
  end
1790
2093
 
1791
- class ExternalVmImportWriter < Writer # :nodoc:
2094
+ class ExternalVmImportWriter < Writer
1792
2095
 
1793
2096
  def self.write_one(object, writer, singular = nil)
1794
2097
  singular ||= 'external_vm_import'
@@ -1827,7 +2130,7 @@ module OvirtSDK4
1827
2130
 
1828
2131
  end
1829
2132
 
1830
- class FaultWriter < Writer # :nodoc:
2133
+ class FaultWriter < Writer
1831
2134
 
1832
2135
  def self.write_one(object, writer, singular = nil)
1833
2136
  singular ||= 'fault'
@@ -1855,7 +2158,7 @@ module OvirtSDK4
1855
2158
 
1856
2159
  end
1857
2160
 
1858
- class FencingPolicyWriter < Writer # :nodoc:
2161
+ class FencingPolicyWriter < Writer
1859
2162
 
1860
2163
  def self.write_one(object, writer, singular = nil)
1861
2164
  singular ||= 'fencing_policy'
@@ -1864,6 +2167,8 @@ module OvirtSDK4
1864
2167
  writer.write_attribute('href', href) unless href.nil?
1865
2168
  Writer.write_boolean(writer, 'enabled', object.enabled) unless object.enabled.nil?
1866
2169
  SkipIfConnectivityBrokenWriter.write_one(object.skip_if_connectivity_broken, writer, 'skip_if_connectivity_broken') unless object.skip_if_connectivity_broken.nil?
2170
+ Writer.write_boolean(writer, 'skip_if_gluster_bricks_up', object.skip_if_gluster_bricks_up) unless object.skip_if_gluster_bricks_up.nil?
2171
+ Writer.write_boolean(writer, 'skip_if_gluster_quorum_not_met', object.skip_if_gluster_quorum_not_met) unless object.skip_if_gluster_quorum_not_met.nil?
1867
2172
  SkipIfSdActiveWriter.write_one(object.skip_if_sd_active, writer, 'skip_if_sd_active') unless object.skip_if_sd_active.nil?
1868
2173
  writer.write_end
1869
2174
  end
@@ -1884,7 +2189,7 @@ module OvirtSDK4
1884
2189
 
1885
2190
  end
1886
2191
 
1887
- class FileWriter < Writer # :nodoc:
2192
+ class FileWriter < Writer
1888
2193
 
1889
2194
  def self.write_one(object, writer, singular = nil)
1890
2195
  singular ||= 'file'
@@ -1917,7 +2222,7 @@ module OvirtSDK4
1917
2222
 
1918
2223
  end
1919
2224
 
1920
- class FilterWriter < Writer # :nodoc:
2225
+ class FilterWriter < Writer
1921
2226
 
1922
2227
  def self.write_one(object, writer, singular = nil)
1923
2228
  singular ||= 'filter'
@@ -1949,7 +2254,7 @@ module OvirtSDK4
1949
2254
 
1950
2255
  end
1951
2256
 
1952
- class FloppyWriter < Writer # :nodoc:
2257
+ class FloppyWriter < Writer
1953
2258
 
1954
2259
  def self.write_one(object, writer, singular = nil)
1955
2260
  singular ||= 'floppy'
@@ -1984,7 +2289,7 @@ module OvirtSDK4
1984
2289
 
1985
2290
  end
1986
2291
 
1987
- class FopStatisticWriter < Writer # :nodoc:
2292
+ class FopStatisticWriter < Writer
1988
2293
 
1989
2294
  def self.write_one(object, writer, singular = nil)
1990
2295
  singular ||= 'fop_statistic'
@@ -2012,10 +2317,10 @@ module OvirtSDK4
2012
2317
 
2013
2318
  end
2014
2319
 
2015
- class GlusterBrickWriter < Writer # :nodoc:
2320
+ class GlusterBrickWriter < Writer
2016
2321
 
2017
2322
  def self.write_one(object, writer, singular = nil)
2018
- singular ||= 'gluster_brick'
2323
+ singular ||= 'brick'
2019
2324
  writer.write_start(singular)
2020
2325
  href = object.href
2021
2326
  writer.write_attribute('href', href) unless href.nil?
@@ -2043,8 +2348,8 @@ module OvirtSDK4
2043
2348
  end
2044
2349
 
2045
2350
  def self.write_many(list, writer, singular = nil, plural = nil)
2046
- singular ||= 'gluster_brick'
2047
- plural ||= 'gluster_bricks'
2351
+ singular ||= 'brick'
2352
+ plural ||= 'bricks'
2048
2353
  writer.write_start(plural)
2049
2354
  if list.is_a?(List)
2050
2355
  href = list.href
@@ -2058,7 +2363,7 @@ module OvirtSDK4
2058
2363
 
2059
2364
  end
2060
2365
 
2061
- class GlusterBrickAdvancedDetailsWriter < Writer # :nodoc:
2366
+ class GlusterBrickAdvancedDetailsWriter < Writer
2062
2367
 
2063
2368
  def self.write_one(object, writer, singular = nil)
2064
2369
  singular ||= 'gluster_brick_advanced_details'
@@ -2099,10 +2404,10 @@ module OvirtSDK4
2099
2404
 
2100
2405
  end
2101
2406
 
2102
- class GlusterBrickMemoryInfoWriter < Writer # :nodoc:
2407
+ class GlusterBrickMemoryInfoWriter < Writer
2103
2408
 
2104
2409
  def self.write_one(object, writer, singular = nil)
2105
- singular ||= 'gluster_brick_memory_info'
2410
+ singular ||= 'brick_memoryinfo'
2106
2411
  writer.write_start(singular)
2107
2412
  href = object.href
2108
2413
  writer.write_attribute('href', href) unless href.nil?
@@ -2111,7 +2416,7 @@ module OvirtSDK4
2111
2416
  end
2112
2417
 
2113
2418
  def self.write_many(list, writer, singular = nil, plural = nil)
2114
- singular ||= 'gluster_brick_memory_info'
2419
+ singular ||= 'brick_memoryinfo'
2115
2420
  plural ||= 'gluster_brick_memory_infos'
2116
2421
  writer.write_start(plural)
2117
2422
  if list.is_a?(List)
@@ -2126,7 +2431,7 @@ module OvirtSDK4
2126
2431
 
2127
2432
  end
2128
2433
 
2129
- class GlusterClientWriter < Writer # :nodoc:
2434
+ class GlusterClientWriter < Writer
2130
2435
 
2131
2436
  def self.write_one(object, writer, singular = nil)
2132
2437
  singular ||= 'gluster_client'
@@ -2156,7 +2461,7 @@ module OvirtSDK4
2156
2461
 
2157
2462
  end
2158
2463
 
2159
- class GlusterHookWriter < Writer # :nodoc:
2464
+ class GlusterHookWriter < Writer
2160
2465
 
2161
2466
  def self.write_one(object, writer, singular = nil)
2162
2467
  singular ||= 'gluster_hook'
@@ -2196,10 +2501,10 @@ module OvirtSDK4
2196
2501
 
2197
2502
  end
2198
2503
 
2199
- class GlusterMemoryPoolWriter < Writer # :nodoc:
2504
+ class GlusterMemoryPoolWriter < Writer
2200
2505
 
2201
2506
  def self.write_one(object, writer, singular = nil)
2202
- singular ||= 'gluster_memory_pool'
2507
+ singular ||= 'memory_pool'
2203
2508
  writer.write_start(singular)
2204
2509
  href = object.href
2205
2510
  writer.write_attribute('href', href) unless href.nil?
@@ -2219,8 +2524,8 @@ module OvirtSDK4
2219
2524
  end
2220
2525
 
2221
2526
  def self.write_many(list, writer, singular = nil, plural = nil)
2222
- singular ||= 'gluster_memory_pool'
2223
- plural ||= 'gluster_memory_pools'
2527
+ singular ||= 'memory_pool'
2528
+ plural ||= 'memory_pools'
2224
2529
  writer.write_start(plural)
2225
2530
  if list.is_a?(List)
2226
2531
  href = list.href
@@ -2234,10 +2539,10 @@ module OvirtSDK4
2234
2539
 
2235
2540
  end
2236
2541
 
2237
- class GlusterServerHookWriter < Writer # :nodoc:
2542
+ class GlusterServerHookWriter < Writer
2238
2543
 
2239
2544
  def self.write_one(object, writer, singular = nil)
2240
- singular ||= 'gluster_server_hook'
2545
+ singular ||= 'server_hook'
2241
2546
  writer.write_start(singular)
2242
2547
  href = object.href
2243
2548
  writer.write_attribute('href', href) unless href.nil?
@@ -2253,8 +2558,8 @@ module OvirtSDK4
2253
2558
  end
2254
2559
 
2255
2560
  def self.write_many(list, writer, singular = nil, plural = nil)
2256
- singular ||= 'gluster_server_hook'
2257
- plural ||= 'gluster_server_hooks'
2561
+ singular ||= 'server_hook'
2562
+ plural ||= 'server_hooks'
2258
2563
  writer.write_start(plural)
2259
2564
  if list.is_a?(List)
2260
2565
  href = list.href
@@ -2268,7 +2573,7 @@ module OvirtSDK4
2268
2573
 
2269
2574
  end
2270
2575
 
2271
- class GlusterVolumeWriter < Writer # :nodoc:
2576
+ class GlusterVolumeWriter < Writer
2272
2577
 
2273
2578
  def self.write_one(object, writer, singular = nil)
2274
2579
  singular ||= 'gluster_volume'
@@ -2285,12 +2590,12 @@ module OvirtSDK4
2285
2590
  Writer.write_integer(writer, 'replica_count', object.replica_count) unless object.replica_count.nil?
2286
2591
  Writer.write_string(writer, 'status', object.status) unless object.status.nil?
2287
2592
  Writer.write_integer(writer, 'stripe_count', object.stripe_count) unless object.stripe_count.nil?
2288
- if not object.transport_types.nil? and not object.transport_types.empty? then
2593
+ unless object.transport_types.nil?
2289
2594
  writer.write_start('transport_types')
2290
2595
  object.transport_types.each do |item|
2291
2596
  Writer.write_string(writer, 'transport_type', item) unless item.nil?
2292
2597
  end
2293
- writer.end_element
2598
+ writer.write_end
2294
2599
  end
2295
2600
  Writer.write_string(writer, 'volume_type', object.volume_type) unless object.volume_type.nil?
2296
2601
  GlusterBrickWriter.write_many(object.bricks, writer, 'brick', 'bricks') unless object.bricks.nil?
@@ -2315,7 +2620,7 @@ module OvirtSDK4
2315
2620
 
2316
2621
  end
2317
2622
 
2318
- class GlusterVolumeProfileDetailsWriter < Writer # :nodoc:
2623
+ class GlusterVolumeProfileDetailsWriter < Writer
2319
2624
 
2320
2625
  def self.write_one(object, writer, singular = nil)
2321
2626
  singular ||= 'gluster_volume_profile_details'
@@ -2347,7 +2652,7 @@ module OvirtSDK4
2347
2652
 
2348
2653
  end
2349
2654
 
2350
- class GracePeriodWriter < Writer # :nodoc:
2655
+ class GracePeriodWriter < Writer
2351
2656
 
2352
2657
  def self.write_one(object, writer, singular = nil)
2353
2658
  singular ||= 'grace_period'
@@ -2374,7 +2679,7 @@ module OvirtSDK4
2374
2679
 
2375
2680
  end
2376
2681
 
2377
- class GraphicsConsoleWriter < Writer # :nodoc:
2682
+ class GraphicsConsoleWriter < Writer
2378
2683
 
2379
2684
  def self.write_one(object, writer, singular = nil)
2380
2685
  singular ||= 'graphics_console'
@@ -2411,7 +2716,7 @@ module OvirtSDK4
2411
2716
 
2412
2717
  end
2413
2718
 
2414
- class GroupWriter < Writer # :nodoc:
2719
+ class GroupWriter < Writer
2415
2720
 
2416
2721
  def self.write_one(object, writer, singular = nil)
2417
2722
  singular ||= 'group'
@@ -2447,7 +2752,7 @@ module OvirtSDK4
2447
2752
 
2448
2753
  end
2449
2754
 
2450
- class GuestOperatingSystemWriter < Writer # :nodoc:
2755
+ class GuestOperatingSystemWriter < Writer
2451
2756
 
2452
2757
  def self.write_one(object, writer, singular = nil)
2453
2758
  singular ||= 'guest_operating_system'
@@ -2479,7 +2784,7 @@ module OvirtSDK4
2479
2784
 
2480
2785
  end
2481
2786
 
2482
- class HardwareInformationWriter < Writer # :nodoc:
2787
+ class HardwareInformationWriter < Writer
2483
2788
 
2484
2789
  def self.write_one(object, writer, singular = nil)
2485
2790
  singular ||= 'hardware_information'
@@ -2490,12 +2795,12 @@ module OvirtSDK4
2490
2795
  Writer.write_string(writer, 'manufacturer', object.manufacturer) unless object.manufacturer.nil?
2491
2796
  Writer.write_string(writer, 'product_name', object.product_name) unless object.product_name.nil?
2492
2797
  Writer.write_string(writer, 'serial_number', object.serial_number) unless object.serial_number.nil?
2493
- if not object.supported_rng_sources.nil? and not object.supported_rng_sources.empty? then
2798
+ unless object.supported_rng_sources.nil?
2494
2799
  writer.write_start('supported_rng_sources')
2495
2800
  object.supported_rng_sources.each do |item|
2496
2801
  Writer.write_string(writer, 'supported_rng_source', item) unless item.nil?
2497
2802
  end
2498
- writer.end_element
2803
+ writer.write_end
2499
2804
  end
2500
2805
  Writer.write_string(writer, 'uuid', object.uuid) unless object.uuid.nil?
2501
2806
  Writer.write_string(writer, 'version', object.version) unless object.version.nil?
@@ -2518,7 +2823,7 @@ module OvirtSDK4
2518
2823
 
2519
2824
  end
2520
2825
 
2521
- class HighAvailabilityWriter < Writer # :nodoc:
2826
+ class HighAvailabilityWriter < Writer
2522
2827
 
2523
2828
  def self.write_one(object, writer, singular = nil)
2524
2829
  singular ||= 'high_availability'
@@ -2546,7 +2851,7 @@ module OvirtSDK4
2546
2851
 
2547
2852
  end
2548
2853
 
2549
- class HookWriter < Writer # :nodoc:
2854
+ class HookWriter < Writer
2550
2855
 
2551
2856
  def self.write_one(object, writer, singular = nil)
2552
2857
  singular ||= 'hook'
@@ -2579,7 +2884,7 @@ module OvirtSDK4
2579
2884
 
2580
2885
  end
2581
2886
 
2582
- class HostWriter < Writer # :nodoc:
2887
+ class HostWriter < Writer
2583
2888
 
2584
2889
  def self.write_one(object, writer, singular = nil)
2585
2890
  singular ||= 'host'
@@ -2605,12 +2910,14 @@ module OvirtSDK4
2605
2910
  Writer.write_integer(writer, 'max_scheduling_memory', object.max_scheduling_memory) unless object.max_scheduling_memory.nil?
2606
2911
  Writer.write_integer(writer, 'memory', object.memory) unless object.memory.nil?
2607
2912
  Writer.write_string(writer, 'name', object.name) unless object.name.nil?
2913
+ Writer.write_boolean(writer, 'network_operation_in_progress', object.network_operation_in_progress) unless object.network_operation_in_progress.nil?
2608
2914
  Writer.write_boolean(writer, 'numa_supported', object.numa_supported) unless object.numa_supported.nil?
2609
2915
  OperatingSystemWriter.write_one(object.os, writer, 'os') unless object.os.nil?
2610
2916
  Writer.write_boolean(writer, 'override_iptables', object.override_iptables) unless object.override_iptables.nil?
2611
2917
  Writer.write_integer(writer, 'port', object.port) unless object.port.nil?
2612
2918
  PowerManagementWriter.write_one(object.power_management, writer, 'power_management') unless object.power_management.nil?
2613
2919
  Writer.write_string(writer, 'protocol', object.protocol) unless object.protocol.nil?
2920
+ Writer.write_boolean(writer, 'reinstallation_required', object.reinstallation_required) unless object.reinstallation_required.nil?
2614
2921
  Writer.write_string(writer, 'root_password', object.root_password) unless object.root_password.nil?
2615
2922
  SeLinuxWriter.write_one(object.se_linux, writer, 'se_linux') unless object.se_linux.nil?
2616
2923
  SpmWriter.write_one(object.spm, writer, 'spm') unless object.spm.nil?
@@ -2622,20 +2929,22 @@ module OvirtSDK4
2622
2929
  Writer.write_string(writer, 'type', object.type) unless object.type.nil?
2623
2930
  Writer.write_boolean(writer, 'update_available', object.update_available) unless object.update_available.nil?
2624
2931
  VersionWriter.write_one(object.version, writer, 'version') unless object.version.nil?
2932
+ Writer.write_string(writer, 'vgpu_placement', object.vgpu_placement) unless object.vgpu_placement.nil?
2625
2933
  AffinityLabelWriter.write_many(object.affinity_labels, writer, 'affinity_label', 'affinity_labels') unless object.affinity_labels.nil?
2626
2934
  AgentWriter.write_many(object.agents, writer, 'agent', 'agents') unless object.agents.nil?
2627
2935
  ClusterWriter.write_one(object.cluster, writer, 'cluster') unless object.cluster.nil?
2628
- DeviceWriter.write_many(object.devices, writer, 'device', 'devices') unless object.devices.nil?
2936
+ HostDeviceWriter.write_many(object.devices, writer, 'host_device', 'devices') unless object.devices.nil?
2629
2937
  ExternalHostProviderWriter.write_one(object.external_host_provider, writer, 'external_host_provider') unless object.external_host_provider.nil?
2938
+ ExternalNetworkProviderConfigurationWriter.write_many(object.external_network_provider_configurations, writer, 'external_network_provider_configuration', 'external_network_provider_configurations') unless object.external_network_provider_configurations.nil?
2630
2939
  HookWriter.write_many(object.hooks, writer, 'hook', 'hooks') unless object.hooks.nil?
2631
2940
  KatelloErratumWriter.write_many(object.katello_errata, writer, 'katello_erratum', 'katello_errata') unless object.katello_errata.nil?
2632
2941
  NetworkAttachmentWriter.write_many(object.network_attachments, writer, 'network_attachment', 'network_attachments') unless object.network_attachments.nil?
2633
- NicWriter.write_many(object.nics, writer, 'nic', 'nics') unless object.nics.nil?
2942
+ HostNicWriter.write_many(object.nics, writer, 'host_nic', 'nics') unless object.nics.nil?
2634
2943
  NumaNodeWriter.write_many(object.numa_nodes, writer, 'host_numa_node', 'host_numa_nodes') unless object.numa_nodes.nil?
2635
2944
  PermissionWriter.write_many(object.permissions, writer, 'permission', 'permissions') unless object.permissions.nil?
2636
2945
  StatisticWriter.write_many(object.statistics, writer, 'statistic', 'statistics') unless object.statistics.nil?
2637
2946
  StorageConnectionExtensionWriter.write_many(object.storage_connection_extensions, writer, 'storage_connection_extension', 'storage_connection_extensions') unless object.storage_connection_extensions.nil?
2638
- HostStorageWriter.write_many(object.storages, writer, 'storage', 'storages') unless object.storages.nil?
2947
+ HostStorageWriter.write_many(object.storages, writer, 'host_storage', 'storages') unless object.storages.nil?
2639
2948
  TagWriter.write_many(object.tags, writer, 'tag', 'tags') unless object.tags.nil?
2640
2949
  UnmanagedNetworkWriter.write_many(object.unmanaged_networks, writer, 'unmanaged_network', 'unmanaged_networks') unless object.unmanaged_networks.nil?
2641
2950
  writer.write_end
@@ -2657,7 +2966,7 @@ module OvirtSDK4
2657
2966
 
2658
2967
  end
2659
2968
 
2660
- class HostDeviceWriter < Writer # :nodoc:
2969
+ class HostDeviceWriter < Writer
2661
2970
 
2662
2971
  def self.write_one(object, writer, singular = nil)
2663
2972
  singular ||= 'host_device'
@@ -2668,7 +2977,9 @@ module OvirtSDK4
2668
2977
  Writer.write_string(writer, 'capability', object.capability) unless object.capability.nil?
2669
2978
  Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
2670
2979
  Writer.write_string(writer, 'description', object.description) unless object.description.nil?
2980
+ Writer.write_string(writer, 'driver', object.driver) unless object.driver.nil?
2671
2981
  Writer.write_integer(writer, 'iommu_group', object.iommu_group) unless object.iommu_group.nil?
2982
+ MDevTypeWriter.write_many(object.m_dev_types, writer, 'm_dev_type', 'm_dev_types') unless object.m_dev_types.nil?
2672
2983
  Writer.write_string(writer, 'name', object.name) unless object.name.nil?
2673
2984
  HostDeviceWriter.write_one(object.physical_function, writer, 'physical_function') unless object.physical_function.nil?
2674
2985
  Writer.write_boolean(writer, 'placeholder', object.placeholder) unless object.placeholder.nil?
@@ -2697,7 +3008,7 @@ module OvirtSDK4
2697
3008
 
2698
3009
  end
2699
3010
 
2700
- class HostDevicePassthroughWriter < Writer # :nodoc:
3011
+ class HostDevicePassthroughWriter < Writer
2701
3012
 
2702
3013
  def self.write_one(object, writer, singular = nil)
2703
3014
  singular ||= 'host_device_passthrough'
@@ -2724,7 +3035,7 @@ module OvirtSDK4
2724
3035
 
2725
3036
  end
2726
3037
 
2727
- class HostNicWriter < Writer # :nodoc:
3038
+ class HostNicWriter < Writer
2728
3039
 
2729
3040
  def self.write_one(object, writer, singular = nil)
2730
3041
  singular ||= 'host_nic'
@@ -2747,18 +3058,18 @@ module OvirtSDK4
2747
3058
  MacWriter.write_one(object.mac, writer, 'mac') unless object.mac.nil?
2748
3059
  Writer.write_integer(writer, 'mtu', object.mtu) unless object.mtu.nil?
2749
3060
  Writer.write_string(writer, 'name', object.name) unless object.name.nil?
2750
- NetworkLabelWriter.write_many(object.network_labels, writer, 'network_label', 'network_labels') unless object.network_labels.nil?
2751
3061
  Writer.write_boolean(writer, 'override_configuration', object.override_configuration) unless object.override_configuration.nil?
2752
3062
  PropertyWriter.write_many(object.properties, writer, 'property', 'properties') unless object.properties.nil?
2753
3063
  Writer.write_integer(writer, 'speed', object.speed) unless object.speed.nil?
2754
- StatisticWriter.write_many(object.statistics, writer, 'statistic', 'statistics') unless object.statistics.nil?
2755
3064
  Writer.write_string(writer, 'status', object.status) unless object.status.nil?
2756
3065
  HostNicVirtualFunctionsConfigurationWriter.write_one(object.virtual_functions_configuration, writer, 'virtual_functions_configuration') unless object.virtual_functions_configuration.nil?
2757
3066
  VlanWriter.write_one(object.vlan, writer, 'vlan') unless object.vlan.nil?
2758
3067
  HostWriter.write_one(object.host, writer, 'host') unless object.host.nil?
2759
3068
  NetworkWriter.write_one(object.network, writer, 'network') unless object.network.nil?
3069
+ NetworkLabelWriter.write_many(object.network_labels, writer, 'network_label', 'network_labels') unless object.network_labels.nil?
2760
3070
  HostNicWriter.write_one(object.physical_function, writer, 'physical_function') unless object.physical_function.nil?
2761
3071
  QosWriter.write_one(object.qos, writer, 'qos') unless object.qos.nil?
3072
+ StatisticWriter.write_many(object.statistics, writer, 'statistic', 'statistics') unless object.statistics.nil?
2762
3073
  writer.write_end
2763
3074
  end
2764
3075
 
@@ -2778,7 +3089,7 @@ module OvirtSDK4
2778
3089
 
2779
3090
  end
2780
3091
 
2781
- class HostNicVirtualFunctionsConfigurationWriter < Writer # :nodoc:
3092
+ class HostNicVirtualFunctionsConfigurationWriter < Writer
2782
3093
 
2783
3094
  def self.write_one(object, writer, singular = nil)
2784
3095
  singular ||= 'host_nic_virtual_functions_configuration'
@@ -2807,7 +3118,7 @@ module OvirtSDK4
2807
3118
 
2808
3119
  end
2809
3120
 
2810
- class HostStorageWriter < Writer # :nodoc:
3121
+ class HostStorageWriter < Writer
2811
3122
 
2812
3123
  def self.write_one(object, writer, singular = nil)
2813
3124
  singular ||= 'host_storage'
@@ -2818,6 +3129,8 @@ module OvirtSDK4
2818
3129
  Writer.write_string(writer, 'address', object.address) unless object.address.nil?
2819
3130
  Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
2820
3131
  Writer.write_string(writer, 'description', object.description) unless object.description.nil?
3132
+ PropertyWriter.write_many(object.driver_options, writer, 'property', 'driver_options') unless object.driver_options.nil?
3133
+ PropertyWriter.write_many(object.driver_sensitive_options, writer, 'property', 'driver_sensitive_options') unless object.driver_sensitive_options.nil?
2821
3134
  LogicalUnitWriter.write_many(object.logical_units, writer, 'logical_unit', 'logical_units') unless object.logical_units.nil?
2822
3135
  Writer.write_string(writer, 'mount_options', object.mount_options) unless object.mount_options.nil?
2823
3136
  Writer.write_string(writer, 'name', object.name) unless object.name.nil?
@@ -2854,7 +3167,7 @@ module OvirtSDK4
2854
3167
 
2855
3168
  end
2856
3169
 
2857
- class HostedEngineWriter < Writer # :nodoc:
3170
+ class HostedEngineWriter < Writer
2858
3171
 
2859
3172
  def self.write_one(object, writer, singular = nil)
2860
3173
  singular ||= 'hosted_engine'
@@ -2885,7 +3198,7 @@ module OvirtSDK4
2885
3198
 
2886
3199
  end
2887
3200
 
2888
- class IconWriter < Writer # :nodoc:
3201
+ class IconWriter < Writer
2889
3202
 
2890
3203
  def self.write_one(object, writer, singular = nil)
2891
3204
  singular ||= 'icon'
@@ -2917,7 +3230,7 @@ module OvirtSDK4
2917
3230
 
2918
3231
  end
2919
3232
 
2920
- class IdentifiedWriter < Writer # :nodoc:
3233
+ class IdentifiedWriter < Writer
2921
3234
 
2922
3235
  def self.write_one(object, writer, singular = nil)
2923
3236
  singular ||= 'identified'
@@ -2947,7 +3260,7 @@ module OvirtSDK4
2947
3260
 
2948
3261
  end
2949
3262
 
2950
- class ImageWriter < Writer # :nodoc:
3263
+ class ImageWriter < Writer
2951
3264
 
2952
3265
  def self.write_one(object, writer, singular = nil)
2953
3266
  singular ||= 'image'
@@ -2958,6 +3271,8 @@ module OvirtSDK4
2958
3271
  Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
2959
3272
  Writer.write_string(writer, 'description', object.description) unless object.description.nil?
2960
3273
  Writer.write_string(writer, 'name', object.name) unless object.name.nil?
3274
+ Writer.write_integer(writer, 'size', object.size) unless object.size.nil?
3275
+ Writer.write_string(writer, 'type', object.type) unless object.type.nil?
2961
3276
  StorageDomainWriter.write_one(object.storage_domain, writer, 'storage_domain') unless object.storage_domain.nil?
2962
3277
  writer.write_end
2963
3278
  end
@@ -2978,7 +3293,7 @@ module OvirtSDK4
2978
3293
 
2979
3294
  end
2980
3295
 
2981
- class ImageTransferWriter < Writer # :nodoc:
3296
+ class ImageTransferWriter < Writer
2982
3297
 
2983
3298
  def self.write_one(object, writer, singular = nil)
2984
3299
  singular ||= 'image_transfer'
@@ -2986,14 +3301,24 @@ module OvirtSDK4
2986
3301
  href = object.href
2987
3302
  writer.write_attribute('href', href) unless href.nil?
2988
3303
  writer.write_attribute('id', object.id) unless object.id.nil?
3304
+ Writer.write_boolean(writer, 'active', object.active) unless object.active.nil?
2989
3305
  Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
2990
3306
  Writer.write_string(writer, 'description', object.description) unless object.description.nil?
3307
+ Writer.write_string(writer, 'direction', object.direction) unless object.direction.nil?
3308
+ Writer.write_string(writer, 'format', object.format) unless object.format.nil?
3309
+ Writer.write_integer(writer, 'inactivity_timeout', object.inactivity_timeout) unless object.inactivity_timeout.nil?
2991
3310
  Writer.write_string(writer, 'name', object.name) unless object.name.nil?
2992
3311
  Writer.write_string(writer, 'phase', object.phase) unless object.phase.nil?
2993
3312
  Writer.write_string(writer, 'proxy_url', object.proxy_url) unless object.proxy_url.nil?
2994
- Writer.write_string(writer, 'signed_ticket', object.signed_ticket) unless object.signed_ticket.nil?
3313
+ Writer.write_boolean(writer, 'shallow', object.shallow) unless object.shallow.nil?
3314
+ Writer.write_string(writer, 'timeout_policy', object.timeout_policy) unless object.timeout_policy.nil?
3315
+ Writer.write_string(writer, 'transfer_url', object.transfer_url) unless object.transfer_url.nil?
3316
+ Writer.write_integer(writer, 'transferred', object.transferred) unless object.transferred.nil?
3317
+ BackupWriter.write_one(object.backup, writer, 'backup') unless object.backup.nil?
3318
+ DiskWriter.write_one(object.disk, writer, 'disk') unless object.disk.nil?
2995
3319
  HostWriter.write_one(object.host, writer, 'host') unless object.host.nil?
2996
3320
  ImageWriter.write_one(object.image, writer, 'image') unless object.image.nil?
3321
+ DiskSnapshotWriter.write_one(object.snapshot, writer, 'snapshot') unless object.snapshot.nil?
2997
3322
  writer.write_end
2998
3323
  end
2999
3324
 
@@ -3013,7 +3338,7 @@ module OvirtSDK4
3013
3338
 
3014
3339
  end
3015
3340
 
3016
- class InitializationWriter < Writer # :nodoc:
3341
+ class InitializationWriter < Writer
3017
3342
 
3018
3343
  def self.write_one(object, writer, singular = nil)
3019
3344
  singular ||= 'initialization'
@@ -3023,6 +3348,7 @@ module OvirtSDK4
3023
3348
  Writer.write_string(writer, 'active_directory_ou', object.active_directory_ou) unless object.active_directory_ou.nil?
3024
3349
  Writer.write_string(writer, 'authorized_ssh_keys', object.authorized_ssh_keys) unless object.authorized_ssh_keys.nil?
3025
3350
  CloudInitWriter.write_one(object.cloud_init, writer, 'cloud_init') unless object.cloud_init.nil?
3351
+ Writer.write_string(writer, 'cloud_init_network_protocol', object.cloud_init_network_protocol) unless object.cloud_init_network_protocol.nil?
3026
3352
  ConfigurationWriter.write_one(object.configuration, writer, 'configuration') unless object.configuration.nil?
3027
3353
  Writer.write_string(writer, 'custom_script', object.custom_script) unless object.custom_script.nil?
3028
3354
  Writer.write_string(writer, 'dns_search', object.dns_search) unless object.dns_search.nil?
@@ -3060,7 +3386,7 @@ module OvirtSDK4
3060
3386
 
3061
3387
  end
3062
3388
 
3063
- class InstanceTypeWriter < Writer # :nodoc:
3389
+ class InstanceTypeWriter < Writer
3064
3390
 
3065
3391
  def self.write_one(object, writer, singular = nil)
3066
3392
  singular ||= 'instance_type'
@@ -3086,13 +3412,16 @@ module OvirtSDK4
3086
3412
  InitializationWriter.write_one(object.initialization, writer, 'initialization') unless object.initialization.nil?
3087
3413
  IoWriter.write_one(object.io, writer, 'io') unless object.io.nil?
3088
3414
  IconWriter.write_one(object.large_icon, writer, 'large_icon') unless object.large_icon.nil?
3415
+ StorageDomainLeaseWriter.write_one(object.lease, writer, 'lease') unless object.lease.nil?
3089
3416
  Writer.write_integer(writer, 'memory', object.memory) unless object.memory.nil?
3090
3417
  MemoryPolicyWriter.write_one(object.memory_policy, writer, 'memory_policy') unless object.memory_policy.nil?
3091
3418
  MigrationOptionsWriter.write_one(object.migration, writer, 'migration') unless object.migration.nil?
3092
3419
  Writer.write_integer(writer, 'migration_downtime', object.migration_downtime) unless object.migration_downtime.nil?
3420
+ Writer.write_boolean(writer, 'multi_queues_enabled', object.multi_queues_enabled) unless object.multi_queues_enabled.nil?
3093
3421
  Writer.write_string(writer, 'name', object.name) unless object.name.nil?
3094
3422
  Writer.write_string(writer, 'origin', object.origin) unless object.origin.nil?
3095
3423
  OperatingSystemWriter.write_one(object.os, writer, 'os') unless object.os.nil?
3424
+ VmPlacementPolicyWriter.write_one(object.placement_policy, writer, 'placement_policy') unless object.placement_policy.nil?
3096
3425
  RngDeviceWriter.write_one(object.rng_device, writer, 'rng_device') unless object.rng_device.nil?
3097
3426
  SerialNumberWriter.write_one(object.serial_number, writer, 'serial_number') unless object.serial_number.nil?
3098
3427
  IconWriter.write_one(object.small_icon, writer, 'small_icon') unless object.small_icon.nil?
@@ -3101,12 +3430,14 @@ module OvirtSDK4
3101
3430
  Writer.write_boolean(writer, 'start_paused', object.start_paused) unless object.start_paused.nil?
3102
3431
  Writer.write_boolean(writer, 'stateless', object.stateless) unless object.stateless.nil?
3103
3432
  Writer.write_string(writer, 'status', object.status) unless object.status.nil?
3433
+ Writer.write_string(writer, 'storage_error_resume_behaviour', object.storage_error_resume_behaviour) unless object.storage_error_resume_behaviour.nil?
3104
3434
  TimeZoneWriter.write_one(object.time_zone, writer, 'time_zone') unless object.time_zone.nil?
3105
3435
  Writer.write_boolean(writer, 'tunnel_migration', object.tunnel_migration) unless object.tunnel_migration.nil?
3106
3436
  Writer.write_string(writer, 'type', object.type) unless object.type.nil?
3107
3437
  UsbWriter.write_one(object.usb, writer, 'usb') unless object.usb.nil?
3108
3438
  TemplateVersionWriter.write_one(object.version, writer, 'version') unless object.version.nil?
3109
3439
  VirtioScsiWriter.write_one(object.virtio_scsi, writer, 'virtio_scsi') unless object.virtio_scsi.nil?
3440
+ Writer.write_boolean(writer, 'virtio_scsi_multi_queues_enabled', object.virtio_scsi_multi_queues_enabled) unless object.virtio_scsi_multi_queues_enabled.nil?
3110
3441
  VmWriter.write_one(object.vm, writer, 'vm') unless object.vm.nil?
3111
3442
  CdromWriter.write_many(object.cdroms, writer, 'cdrom', 'cdroms') unless object.cdroms.nil?
3112
3443
  ClusterWriter.write_one(object.cluster, writer, 'cluster') unless object.cluster.nil?
@@ -3115,6 +3446,7 @@ module OvirtSDK4
3115
3446
  GraphicsConsoleWriter.write_many(object.graphics_consoles, writer, 'graphics_console', 'graphics_consoles') unless object.graphics_consoles.nil?
3116
3447
  NicWriter.write_many(object.nics, writer, 'nic', 'nics') unless object.nics.nil?
3117
3448
  PermissionWriter.write_many(object.permissions, writer, 'permission', 'permissions') unless object.permissions.nil?
3449
+ QuotaWriter.write_one(object.quota, writer, 'quota') unless object.quota.nil?
3118
3450
  StorageDomainWriter.write_one(object.storage_domain, writer, 'storage_domain') unless object.storage_domain.nil?
3119
3451
  TagWriter.write_many(object.tags, writer, 'tag', 'tags') unless object.tags.nil?
3120
3452
  WatchdogWriter.write_many(object.watchdogs, writer, 'watchdog', 'watchdogs') unless object.watchdogs.nil?
@@ -3137,7 +3469,7 @@ module OvirtSDK4
3137
3469
 
3138
3470
  end
3139
3471
 
3140
- class IoWriter < Writer # :nodoc:
3472
+ class IoWriter < Writer
3141
3473
 
3142
3474
  def self.write_one(object, writer, singular = nil)
3143
3475
  singular ||= 'io'
@@ -3164,7 +3496,7 @@ module OvirtSDK4
3164
3496
 
3165
3497
  end
3166
3498
 
3167
- class IpWriter < Writer # :nodoc:
3499
+ class IpWriter < Writer
3168
3500
 
3169
3501
  def self.write_one(object, writer, singular = nil)
3170
3502
  singular ||= 'ip'
@@ -3194,7 +3526,7 @@ module OvirtSDK4
3194
3526
 
3195
3527
  end
3196
3528
 
3197
- class IpAddressAssignmentWriter < Writer # :nodoc:
3529
+ class IpAddressAssignmentWriter < Writer
3198
3530
 
3199
3531
  def self.write_one(object, writer, singular = nil)
3200
3532
  singular ||= 'ip_address_assignment'
@@ -3222,7 +3554,7 @@ module OvirtSDK4
3222
3554
 
3223
3555
  end
3224
3556
 
3225
- class IscsiBondWriter < Writer # :nodoc:
3557
+ class IscsiBondWriter < Writer
3226
3558
 
3227
3559
  def self.write_one(object, writer, singular = nil)
3228
3560
  singular ||= 'iscsi_bond'
@@ -3255,7 +3587,7 @@ module OvirtSDK4
3255
3587
 
3256
3588
  end
3257
3589
 
3258
- class IscsiDetailsWriter < Writer # :nodoc:
3590
+ class IscsiDetailsWriter < Writer
3259
3591
 
3260
3592
  def self.write_one(object, writer, singular = nil)
3261
3593
  singular ||= 'iscsi_details'
@@ -3298,7 +3630,7 @@ module OvirtSDK4
3298
3630
 
3299
3631
  end
3300
3632
 
3301
- class JobWriter < Writer # :nodoc:
3633
+ class JobWriter < Writer
3302
3634
 
3303
3635
  def self.write_one(object, writer, singular = nil)
3304
3636
  singular ||= 'job'
@@ -3336,7 +3668,7 @@ module OvirtSDK4
3336
3668
 
3337
3669
  end
3338
3670
 
3339
- class KatelloErratumWriter < Writer # :nodoc:
3671
+ class KatelloErratumWriter < Writer
3340
3672
 
3341
3673
  def self.write_one(object, writer, singular = nil)
3342
3674
  singular ||= 'katello_erratum'
@@ -3375,7 +3707,7 @@ module OvirtSDK4
3375
3707
 
3376
3708
  end
3377
3709
 
3378
- class KernelWriter < Writer # :nodoc:
3710
+ class KernelWriter < Writer
3379
3711
 
3380
3712
  def self.write_one(object, writer, singular = nil)
3381
3713
  singular ||= 'kernel'
@@ -3402,7 +3734,7 @@ module OvirtSDK4
3402
3734
 
3403
3735
  end
3404
3736
 
3405
- class KsmWriter < Writer # :nodoc:
3737
+ class KsmWriter < Writer
3406
3738
 
3407
3739
  def self.write_one(object, writer, singular = nil)
3408
3740
  singular ||= 'ksm'
@@ -3430,7 +3762,41 @@ module OvirtSDK4
3430
3762
 
3431
3763
  end
3432
3764
 
3433
- class LogicalUnitWriter < Writer # :nodoc:
3765
+ class LinkLayerDiscoveryProtocolElementWriter < Writer
3766
+
3767
+ def self.write_one(object, writer, singular = nil)
3768
+ singular ||= 'link_layer_discovery_protocol_element'
3769
+ writer.write_start(singular)
3770
+ href = object.href
3771
+ writer.write_attribute('href', href) unless href.nil?
3772
+ writer.write_attribute('id', object.id) unless object.id.nil?
3773
+ Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
3774
+ Writer.write_string(writer, 'description', object.description) unless object.description.nil?
3775
+ Writer.write_string(writer, 'name', object.name) unless object.name.nil?
3776
+ Writer.write_integer(writer, 'oui', object.oui) unless object.oui.nil?
3777
+ PropertyWriter.write_many(object.properties, writer, 'property', 'properties') unless object.properties.nil?
3778
+ Writer.write_integer(writer, 'subtype', object.subtype) unless object.subtype.nil?
3779
+ Writer.write_integer(writer, 'type', object.type) unless object.type.nil?
3780
+ writer.write_end
3781
+ end
3782
+
3783
+ def self.write_many(list, writer, singular = nil, plural = nil)
3784
+ singular ||= 'link_layer_discovery_protocol_element'
3785
+ plural ||= 'link_layer_discovery_protocol_elements'
3786
+ writer.write_start(plural)
3787
+ if list.is_a?(List)
3788
+ href = list.href
3789
+ writer.write_attribute('href', href) unless href.nil?
3790
+ end
3791
+ list.each do |item|
3792
+ write_one(item, writer, singular)
3793
+ end
3794
+ writer.write_end
3795
+ end
3796
+
3797
+ end
3798
+
3799
+ class LogicalUnitWriter < Writer
3434
3800
 
3435
3801
  def self.write_one(object, writer, singular = nil)
3436
3802
  singular ||= 'logical_unit'
@@ -3439,6 +3805,8 @@ module OvirtSDK4
3439
3805
  writer.write_attribute('href', href) unless href.nil?
3440
3806
  writer.write_attribute('id', object.id) unless object.id.nil?
3441
3807
  Writer.write_string(writer, 'address', object.address) unless object.address.nil?
3808
+ Writer.write_integer(writer, 'discard_max_size', object.discard_max_size) unless object.discard_max_size.nil?
3809
+ Writer.write_boolean(writer, 'discard_zeroes_data', object.discard_zeroes_data) unless object.discard_zeroes_data.nil?
3442
3810
  Writer.write_string(writer, 'disk_id', object.disk_id) unless object.disk_id.nil?
3443
3811
  Writer.write_integer(writer, 'lun_mapping', object.lun_mapping) unless object.lun_mapping.nil?
3444
3812
  Writer.write_string(writer, 'password', object.password) unless object.password.nil?
@@ -3473,20 +3841,22 @@ module OvirtSDK4
3473
3841
 
3474
3842
  end
3475
3843
 
3476
- class MacWriter < Writer # :nodoc:
3844
+ class MDevTypeWriter < Writer
3477
3845
 
3478
3846
  def self.write_one(object, writer, singular = nil)
3479
- singular ||= 'mac'
3847
+ singular ||= 'm_dev_type'
3480
3848
  writer.write_start(singular)
3481
3849
  href = object.href
3482
3850
  writer.write_attribute('href', href) unless href.nil?
3483
- Writer.write_string(writer, 'address', object.address) unless object.address.nil?
3851
+ Writer.write_integer(writer, 'available_instances', object.available_instances) unless object.available_instances.nil?
3852
+ Writer.write_string(writer, 'description', object.description) unless object.description.nil?
3853
+ Writer.write_string(writer, 'name', object.name) unless object.name.nil?
3484
3854
  writer.write_end
3485
3855
  end
3486
3856
 
3487
3857
  def self.write_many(list, writer, singular = nil, plural = nil)
3488
- singular ||= 'mac'
3489
- plural ||= 'macs'
3858
+ singular ||= 'm_dev_type'
3859
+ plural ||= 'm_dev_types'
3490
3860
  writer.write_start(plural)
3491
3861
  if list.is_a?(List)
3492
3862
  href = list.href
@@ -3500,20 +3870,48 @@ module OvirtSDK4
3500
3870
 
3501
3871
  end
3502
3872
 
3503
- class MacPoolWriter < Writer # :nodoc:
3873
+ class MacWriter < Writer
3504
3874
 
3505
3875
  def self.write_one(object, writer, singular = nil)
3506
- singular ||= 'mac_pool'
3876
+ singular ||= 'mac'
3507
3877
  writer.write_start(singular)
3508
3878
  href = object.href
3509
3879
  writer.write_attribute('href', href) unless href.nil?
3510
- writer.write_attribute('id', object.id) unless object.id.nil?
3511
- Writer.write_boolean(writer, 'allow_duplicates', object.allow_duplicates) unless object.allow_duplicates.nil?
3512
- Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
3513
- Writer.write_boolean(writer, 'default_pool', object.default_pool) unless object.default_pool.nil?
3514
- Writer.write_string(writer, 'description', object.description) unless object.description.nil?
3515
- Writer.write_string(writer, 'name', object.name) unless object.name.nil?
3516
- RangeWriter.write_many(object.ranges, writer, 'range', 'ranges') unless object.ranges.nil?
3880
+ Writer.write_string(writer, 'address', object.address) unless object.address.nil?
3881
+ writer.write_end
3882
+ end
3883
+
3884
+ def self.write_many(list, writer, singular = nil, plural = nil)
3885
+ singular ||= 'mac'
3886
+ plural ||= 'macs'
3887
+ writer.write_start(plural)
3888
+ if list.is_a?(List)
3889
+ href = list.href
3890
+ writer.write_attribute('href', href) unless href.nil?
3891
+ end
3892
+ list.each do |item|
3893
+ write_one(item, writer, singular)
3894
+ end
3895
+ writer.write_end
3896
+ end
3897
+
3898
+ end
3899
+
3900
+ class MacPoolWriter < Writer
3901
+
3902
+ def self.write_one(object, writer, singular = nil)
3903
+ singular ||= 'mac_pool'
3904
+ writer.write_start(singular)
3905
+ href = object.href
3906
+ writer.write_attribute('href', href) unless href.nil?
3907
+ writer.write_attribute('id', object.id) unless object.id.nil?
3908
+ Writer.write_boolean(writer, 'allow_duplicates', object.allow_duplicates) unless object.allow_duplicates.nil?
3909
+ Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
3910
+ Writer.write_boolean(writer, 'default_pool', object.default_pool) unless object.default_pool.nil?
3911
+ Writer.write_string(writer, 'description', object.description) unless object.description.nil?
3912
+ Writer.write_string(writer, 'name', object.name) unless object.name.nil?
3913
+ RangeWriter.write_many(object.ranges, writer, 'range', 'ranges') unless object.ranges.nil?
3914
+ PermissionWriter.write_many(object.permissions, writer, 'permission', 'permissions') unless object.permissions.nil?
3517
3915
  writer.write_end
3518
3916
  end
3519
3917
 
@@ -3533,7 +3931,7 @@ module OvirtSDK4
3533
3931
 
3534
3932
  end
3535
3933
 
3536
- class MemoryOverCommitWriter < Writer # :nodoc:
3934
+ class MemoryOverCommitWriter < Writer
3537
3935
 
3538
3936
  def self.write_one(object, writer, singular = nil)
3539
3937
  singular ||= 'memory_over_commit'
@@ -3560,7 +3958,7 @@ module OvirtSDK4
3560
3958
 
3561
3959
  end
3562
3960
 
3563
- class MemoryPolicyWriter < Writer # :nodoc:
3961
+ class MemoryPolicyWriter < Writer
3564
3962
 
3565
3963
  def self.write_one(object, writer, singular = nil)
3566
3964
  singular ||= 'memory_policy'
@@ -3569,6 +3967,7 @@ module OvirtSDK4
3569
3967
  writer.write_attribute('href', href) unless href.nil?
3570
3968
  Writer.write_boolean(writer, 'ballooning', object.ballooning) unless object.ballooning.nil?
3571
3969
  Writer.write_integer(writer, 'guaranteed', object.guaranteed) unless object.guaranteed.nil?
3970
+ Writer.write_integer(writer, 'max', object.max) unless object.max.nil?
3572
3971
  MemoryOverCommitWriter.write_one(object.over_commit, writer, 'over_commit') unless object.over_commit.nil?
3573
3972
  TransparentHugePagesWriter.write_one(object.transparent_huge_pages, writer, 'transparent_hugepages') unless object.transparent_huge_pages.nil?
3574
3973
  writer.write_end
@@ -3590,14 +3989,14 @@ module OvirtSDK4
3590
3989
 
3591
3990
  end
3592
3991
 
3593
- class MethodWriter < Writer # :nodoc:
3992
+ class MethodWriter < Writer
3594
3993
 
3595
3994
  def self.write_one(object, writer, singular = nil)
3596
3995
  singular ||= 'method'
3597
3996
  writer.write_start(singular)
3598
3997
  href = object.href
3599
3998
  writer.write_attribute('href', href) unless href.nil?
3600
- Writer.write_string(writer, 'id', object.id) unless object.id.nil?
3999
+ writer.write_attribute('id', object.id) unless object.id.nil?
3601
4000
  writer.write_end
3602
4001
  end
3603
4002
 
@@ -3617,7 +4016,7 @@ module OvirtSDK4
3617
4016
 
3618
4017
  end
3619
4018
 
3620
- class MigrationBandwidthWriter < Writer # :nodoc:
4019
+ class MigrationBandwidthWriter < Writer
3621
4020
 
3622
4021
  def self.write_one(object, writer, singular = nil)
3623
4022
  singular ||= 'migration_bandwidth'
@@ -3645,22 +4044,23 @@ module OvirtSDK4
3645
4044
 
3646
4045
  end
3647
4046
 
3648
- class MigrationOptionsWriter < Writer # :nodoc:
4047
+ class MigrationOptionsWriter < Writer
3649
4048
 
3650
4049
  def self.write_one(object, writer, singular = nil)
3651
- singular ||= 'migration_options'
4050
+ singular ||= 'migration'
3652
4051
  writer.write_start(singular)
3653
4052
  href = object.href
3654
4053
  writer.write_attribute('href', href) unless href.nil?
3655
4054
  Writer.write_string(writer, 'auto_converge', object.auto_converge) unless object.auto_converge.nil?
3656
4055
  MigrationBandwidthWriter.write_one(object.bandwidth, writer, 'bandwidth') unless object.bandwidth.nil?
3657
4056
  Writer.write_string(writer, 'compressed', object.compressed) unless object.compressed.nil?
4057
+ Writer.write_string(writer, 'encrypted', object.encrypted) unless object.encrypted.nil?
3658
4058
  MigrationPolicyWriter.write_one(object.policy, writer, 'policy') unless object.policy.nil?
3659
4059
  writer.write_end
3660
4060
  end
3661
4061
 
3662
4062
  def self.write_many(list, writer, singular = nil, plural = nil)
3663
- singular ||= 'migration_options'
4063
+ singular ||= 'migration'
3664
4064
  plural ||= 'migration_optionss'
3665
4065
  writer.write_start(plural)
3666
4066
  if list.is_a?(List)
@@ -3675,7 +4075,7 @@ module OvirtSDK4
3675
4075
 
3676
4076
  end
3677
4077
 
3678
- class MigrationPolicyWriter < Writer # :nodoc:
4078
+ class MigrationPolicyWriter < Writer
3679
4079
 
3680
4080
  def self.write_one(object, writer, singular = nil)
3681
4081
  singular ||= 'migration_policy'
@@ -3705,7 +4105,7 @@ module OvirtSDK4
3705
4105
 
3706
4106
  end
3707
4107
 
3708
- class NetworkWriter < Writer # :nodoc:
4108
+ class NetworkWriter < Writer
3709
4109
 
3710
4110
  def self.write_one(object, writer, singular = nil)
3711
4111
  singular ||= 'network'
@@ -3716,23 +4116,28 @@ module OvirtSDK4
3716
4116
  Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
3717
4117
  Writer.write_string(writer, 'description', object.description) unless object.description.nil?
3718
4118
  Writer.write_boolean(writer, 'display', object.display) unless object.display.nil?
4119
+ DnsResolverConfigurationWriter.write_one(object.dns_resolver_configuration, writer, 'dns_resolver_configuration') unless object.dns_resolver_configuration.nil?
3719
4120
  IpWriter.write_one(object.ip, writer, 'ip') unless object.ip.nil?
3720
4121
  Writer.write_integer(writer, 'mtu', object.mtu) unless object.mtu.nil?
3721
4122
  Writer.write_string(writer, 'name', object.name) unless object.name.nil?
4123
+ Writer.write_boolean(writer, 'port_isolation', object.port_isolation) unless object.port_isolation.nil?
3722
4124
  Writer.write_boolean(writer, 'profile_required', object.profile_required) unless object.profile_required.nil?
3723
4125
  Writer.write_boolean(writer, 'required', object.required) unless object.required.nil?
3724
4126
  Writer.write_string(writer, 'status', object.status) unless object.status.nil?
3725
4127
  Writer.write_boolean(writer, 'stp', object.stp) unless object.stp.nil?
3726
- if not object.usages.nil? and not object.usages.empty? then
4128
+ unless object.usages.nil?
3727
4129
  writer.write_start('usages')
3728
4130
  object.usages.each do |item|
3729
4131
  Writer.write_string(writer, 'usage', item) unless item.nil?
3730
4132
  end
3731
- writer.end_element
4133
+ writer.write_end
3732
4134
  end
4135
+ Writer.write_string(writer, 'vdsm_name', object.vdsm_name) unless object.vdsm_name.nil?
3733
4136
  VlanWriter.write_one(object.vlan, writer, 'vlan') unless object.vlan.nil?
3734
4137
  ClusterWriter.write_one(object.cluster, writer, 'cluster') unless object.cluster.nil?
3735
4138
  DataCenterWriter.write_one(object.data_center, writer, 'data_center') unless object.data_center.nil?
4139
+ OpenStackNetworkProviderWriter.write_one(object.external_provider, writer, 'external_provider') unless object.external_provider.nil?
4140
+ NetworkWriter.write_one(object.external_provider_physical_network, writer, 'external_provider_physical_network') unless object.external_provider_physical_network.nil?
3736
4141
  NetworkLabelWriter.write_many(object.network_labels, writer, 'network_label', 'network_labels') unless object.network_labels.nil?
3737
4142
  PermissionWriter.write_many(object.permissions, writer, 'permission', 'permissions') unless object.permissions.nil?
3738
4143
  QosWriter.write_one(object.qos, writer, 'qos') unless object.qos.nil?
@@ -3756,7 +4161,7 @@ module OvirtSDK4
3756
4161
 
3757
4162
  end
3758
4163
 
3759
- class NetworkAttachmentWriter < Writer # :nodoc:
4164
+ class NetworkAttachmentWriter < Writer
3760
4165
 
3761
4166
  def self.write_one(object, writer, singular = nil)
3762
4167
  singular ||= 'network_attachment'
@@ -3766,6 +4171,7 @@ module OvirtSDK4
3766
4171
  writer.write_attribute('id', object.id) unless object.id.nil?
3767
4172
  Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
3768
4173
  Writer.write_string(writer, 'description', object.description) unless object.description.nil?
4174
+ DnsResolverConfigurationWriter.write_one(object.dns_resolver_configuration, writer, 'dns_resolver_configuration') unless object.dns_resolver_configuration.nil?
3769
4175
  Writer.write_boolean(writer, 'in_sync', object.in_sync) unless object.in_sync.nil?
3770
4176
  IpAddressAssignmentWriter.write_many(object.ip_address_assignments, writer, 'ip_address_assignment', 'ip_address_assignments') unless object.ip_address_assignments.nil?
3771
4177
  Writer.write_string(writer, 'name', object.name) unless object.name.nil?
@@ -3794,7 +4200,7 @@ module OvirtSDK4
3794
4200
 
3795
4201
  end
3796
4202
 
3797
- class NetworkConfigurationWriter < Writer # :nodoc:
4203
+ class NetworkConfigurationWriter < Writer
3798
4204
 
3799
4205
  def self.write_one(object, writer, singular = nil)
3800
4206
  singular ||= 'network_configuration'
@@ -3822,7 +4228,7 @@ module OvirtSDK4
3822
4228
 
3823
4229
  end
3824
4230
 
3825
- class NetworkFilterWriter < Writer # :nodoc:
4231
+ class NetworkFilterWriter < Writer
3826
4232
 
3827
4233
  def self.write_one(object, writer, singular = nil)
3828
4234
  singular ||= 'network_filter'
@@ -3853,7 +4259,39 @@ module OvirtSDK4
3853
4259
 
3854
4260
  end
3855
4261
 
3856
- class NetworkLabelWriter < Writer # :nodoc:
4262
+ class NetworkFilterParameterWriter < Writer
4263
+
4264
+ def self.write_one(object, writer, singular = nil)
4265
+ singular ||= 'network_filter_parameter'
4266
+ writer.write_start(singular)
4267
+ href = object.href
4268
+ writer.write_attribute('href', href) unless href.nil?
4269
+ writer.write_attribute('id', object.id) unless object.id.nil?
4270
+ Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
4271
+ Writer.write_string(writer, 'description', object.description) unless object.description.nil?
4272
+ Writer.write_string(writer, 'name', object.name) unless object.name.nil?
4273
+ Writer.write_string(writer, 'value', object.value) unless object.value.nil?
4274
+ NicWriter.write_one(object.nic, writer, 'nic') unless object.nic.nil?
4275
+ writer.write_end
4276
+ end
4277
+
4278
+ def self.write_many(list, writer, singular = nil, plural = nil)
4279
+ singular ||= 'network_filter_parameter'
4280
+ plural ||= 'network_filter_parameters'
4281
+ writer.write_start(plural)
4282
+ if list.is_a?(List)
4283
+ href = list.href
4284
+ writer.write_attribute('href', href) unless href.nil?
4285
+ end
4286
+ list.each do |item|
4287
+ write_one(item, writer, singular)
4288
+ end
4289
+ writer.write_end
4290
+ end
4291
+
4292
+ end
4293
+
4294
+ class NetworkLabelWriter < Writer
3857
4295
 
3858
4296
  def self.write_one(object, writer, singular = nil)
3859
4297
  singular ||= 'network_label'
@@ -3885,7 +4323,7 @@ module OvirtSDK4
3885
4323
 
3886
4324
  end
3887
4325
 
3888
- class NfsProfileDetailWriter < Writer # :nodoc:
4326
+ class NfsProfileDetailWriter < Writer
3889
4327
 
3890
4328
  def self.write_one(object, writer, singular = nil)
3891
4329
  singular ||= 'nfs_profile_detail'
@@ -3913,7 +4351,7 @@ module OvirtSDK4
3913
4351
 
3914
4352
  end
3915
4353
 
3916
- class NicWriter < Writer # :nodoc:
4354
+ class NicWriter < Writer
3917
4355
 
3918
4356
  def self.write_one(object, writer, singular = nil)
3919
4357
  singular ||= 'nic'
@@ -3933,12 +4371,13 @@ module OvirtSDK4
3933
4371
  InstanceTypeWriter.write_one(object.instance_type, writer, 'instance_type') unless object.instance_type.nil?
3934
4372
  NetworkWriter.write_one(object.network, writer, 'network') unless object.network.nil?
3935
4373
  NetworkAttachmentWriter.write_many(object.network_attachments, writer, 'network_attachment', 'network_attachments') unless object.network_attachments.nil?
4374
+ NetworkFilterParameterWriter.write_many(object.network_filter_parameters, writer, 'network_filter_parameter', 'network_filter_parameters') unless object.network_filter_parameters.nil?
3936
4375
  NetworkLabelWriter.write_many(object.network_labels, writer, 'network_label', 'network_labels') unless object.network_labels.nil?
3937
4376
  ReportedDeviceWriter.write_many(object.reported_devices, writer, 'reported_device', 'reported_devices') unless object.reported_devices.nil?
3938
4377
  StatisticWriter.write_many(object.statistics, writer, 'statistic', 'statistics') unless object.statistics.nil?
3939
4378
  TemplateWriter.write_one(object.template, writer, 'template') unless object.template.nil?
3940
- NetworkLabelWriter.write_many(object.virtual_function_allowed_labels, writer, 'virtual_function_allowed_label', 'virtual_function_allowed_labels') unless object.virtual_function_allowed_labels.nil?
3941
- NetworkWriter.write_many(object.virtual_function_allowed_networks, writer, 'virtual_function_allowed_network', 'virtual_function_allowed_networks') unless object.virtual_function_allowed_networks.nil?
4379
+ NetworkLabelWriter.write_many(object.virtual_function_allowed_labels, writer, 'network_label', 'virtual_function_allowed_labels') unless object.virtual_function_allowed_labels.nil?
4380
+ NetworkWriter.write_many(object.virtual_function_allowed_networks, writer, 'network', 'virtual_function_allowed_networks') unless object.virtual_function_allowed_networks.nil?
3942
4381
  VmWriter.write_one(object.vm, writer, 'vm') unless object.vm.nil?
3943
4382
  VmWriter.write_many(object.vms, writer, 'vm', 'vms') unless object.vms.nil?
3944
4383
  VnicProfileWriter.write_one(object.vnic_profile, writer, 'vnic_profile') unless object.vnic_profile.nil?
@@ -3961,7 +4400,7 @@ module OvirtSDK4
3961
4400
 
3962
4401
  end
3963
4402
 
3964
- class NicConfigurationWriter < Writer # :nodoc:
4403
+ class NicConfigurationWriter < Writer
3965
4404
 
3966
4405
  def self.write_one(object, writer, singular = nil)
3967
4406
  singular ||= 'nic_configuration'
@@ -3970,6 +4409,8 @@ module OvirtSDK4
3970
4409
  writer.write_attribute('href', href) unless href.nil?
3971
4410
  Writer.write_string(writer, 'boot_protocol', object.boot_protocol) unless object.boot_protocol.nil?
3972
4411
  IpWriter.write_one(object.ip, writer, 'ip') unless object.ip.nil?
4412
+ IpWriter.write_one(object.ipv6, writer, 'ipv6') unless object.ipv6.nil?
4413
+ Writer.write_string(writer, 'ipv6_boot_protocol', object.ipv6_boot_protocol) unless object.ipv6_boot_protocol.nil?
3973
4414
  Writer.write_string(writer, 'name', object.name) unless object.name.nil?
3974
4415
  Writer.write_boolean(writer, 'on_boot', object.on_boot) unless object.on_boot.nil?
3975
4416
  writer.write_end
@@ -3991,10 +4432,10 @@ module OvirtSDK4
3991
4432
 
3992
4433
  end
3993
4434
 
3994
- class NumaNodeWriter < Writer # :nodoc:
4435
+ class NumaNodeWriter < Writer
3995
4436
 
3996
4437
  def self.write_one(object, writer, singular = nil)
3997
- singular ||= 'numa_node'
4438
+ singular ||= 'host_numa_node'
3998
4439
  writer.write_start(singular)
3999
4440
  href = object.href
4000
4441
  writer.write_attribute('href', href) unless href.nil?
@@ -4012,8 +4453,8 @@ module OvirtSDK4
4012
4453
  end
4013
4454
 
4014
4455
  def self.write_many(list, writer, singular = nil, plural = nil)
4015
- singular ||= 'numa_node'
4016
- plural ||= 'numa_nodes'
4456
+ singular ||= 'host_numa_node'
4457
+ plural ||= 'host_numa_nodes'
4017
4458
  writer.write_start(plural)
4018
4459
  if list.is_a?(List)
4019
4460
  href = list.href
@@ -4027,7 +4468,7 @@ module OvirtSDK4
4027
4468
 
4028
4469
  end
4029
4470
 
4030
- class NumaNodePinWriter < Writer # :nodoc:
4471
+ class NumaNodePinWriter < Writer
4031
4472
 
4032
4473
  def self.write_one(object, writer, singular = nil)
4033
4474
  singular ||= 'numa_node_pin'
@@ -4056,10 +4497,10 @@ module OvirtSDK4
4056
4497
 
4057
4498
  end
4058
4499
 
4059
- class OpenStackImageWriter < Writer # :nodoc:
4500
+ class OpenStackImageWriter < Writer
4060
4501
 
4061
4502
  def self.write_one(object, writer, singular = nil)
4062
- singular ||= 'open_stack_image'
4503
+ singular ||= 'openstack_image'
4063
4504
  writer.write_start(singular)
4064
4505
  href = object.href
4065
4506
  writer.write_attribute('href', href) unless href.nil?
@@ -4072,8 +4513,8 @@ module OvirtSDK4
4072
4513
  end
4073
4514
 
4074
4515
  def self.write_many(list, writer, singular = nil, plural = nil)
4075
- singular ||= 'open_stack_image'
4076
- plural ||= 'open_stack_images'
4516
+ singular ||= 'openstack_image'
4517
+ plural ||= 'openstack_images'
4077
4518
  writer.write_start(plural)
4078
4519
  if list.is_a?(List)
4079
4520
  href = list.href
@@ -4087,10 +4528,10 @@ module OvirtSDK4
4087
4528
 
4088
4529
  end
4089
4530
 
4090
- class OpenStackImageProviderWriter < Writer # :nodoc:
4531
+ class OpenStackImageProviderWriter < Writer
4091
4532
 
4092
4533
  def self.write_one(object, writer, singular = nil)
4093
- singular ||= 'open_stack_image_provider'
4534
+ singular ||= 'openstack_image_provider'
4094
4535
  writer.write_start(singular)
4095
4536
  href = object.href
4096
4537
  writer.write_attribute('href', href) unless href.nil?
@@ -4106,13 +4547,13 @@ module OvirtSDK4
4106
4547
  Writer.write_string(writer, 'url', object.url) unless object.url.nil?
4107
4548
  Writer.write_string(writer, 'username', object.username) unless object.username.nil?
4108
4549
  CertificateWriter.write_many(object.certificates, writer, 'certificate', 'certificates') unless object.certificates.nil?
4109
- OpenStackImageWriter.write_many(object.images, writer, 'image', 'images') unless object.images.nil?
4550
+ OpenStackImageWriter.write_many(object.images, writer, 'openstack_image', 'images') unless object.images.nil?
4110
4551
  writer.write_end
4111
4552
  end
4112
4553
 
4113
4554
  def self.write_many(list, writer, singular = nil, plural = nil)
4114
- singular ||= 'open_stack_image_provider'
4115
- plural ||= 'open_stack_image_providers'
4555
+ singular ||= 'openstack_image_provider'
4556
+ plural ||= 'openstack_image_providers'
4116
4557
  writer.write_start(plural)
4117
4558
  if list.is_a?(List)
4118
4559
  href = list.href
@@ -4126,10 +4567,10 @@ module OvirtSDK4
4126
4567
 
4127
4568
  end
4128
4569
 
4129
- class OpenStackNetworkWriter < Writer # :nodoc:
4570
+ class OpenStackNetworkWriter < Writer
4130
4571
 
4131
4572
  def self.write_one(object, writer, singular = nil)
4132
- singular ||= 'open_stack_network'
4573
+ singular ||= 'openstack_network'
4133
4574
  writer.write_start(singular)
4134
4575
  href = object.href
4135
4576
  writer.write_attribute('href', href) unless href.nil?
@@ -4142,8 +4583,8 @@ module OvirtSDK4
4142
4583
  end
4143
4584
 
4144
4585
  def self.write_many(list, writer, singular = nil, plural = nil)
4145
- singular ||= 'open_stack_network'
4146
- plural ||= 'open_stack_networks'
4586
+ singular ||= 'openstack_network'
4587
+ plural ||= 'openstack_networks'
4147
4588
  writer.write_start(plural)
4148
4589
  if list.is_a?(List)
4149
4590
  href = list.href
@@ -4157,37 +4598,43 @@ module OvirtSDK4
4157
4598
 
4158
4599
  end
4159
4600
 
4160
- class OpenStackNetworkProviderWriter < Writer # :nodoc:
4601
+ class OpenStackNetworkProviderWriter < Writer
4161
4602
 
4162
4603
  def self.write_one(object, writer, singular = nil)
4163
- singular ||= 'open_stack_network_provider'
4604
+ singular ||= 'openstack_network_provider'
4164
4605
  writer.write_start(singular)
4165
4606
  href = object.href
4166
4607
  writer.write_attribute('href', href) unless href.nil?
4167
4608
  writer.write_attribute('id', object.id) unless object.id.nil?
4168
4609
  AgentConfigurationWriter.write_one(object.agent_configuration, writer, 'agent_configuration') unless object.agent_configuration.nil?
4169
4610
  Writer.write_string(writer, 'authentication_url', object.authentication_url) unless object.authentication_url.nil?
4611
+ Writer.write_boolean(writer, 'auto_sync', object.auto_sync) unless object.auto_sync.nil?
4170
4612
  Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
4171
4613
  Writer.write_string(writer, 'description', object.description) unless object.description.nil?
4614
+ Writer.write_string(writer, 'external_plugin_type', object.external_plugin_type) unless object.external_plugin_type.nil?
4172
4615
  Writer.write_string(writer, 'name', object.name) unless object.name.nil?
4173
4616
  Writer.write_string(writer, 'password', object.password) unless object.password.nil?
4174
4617
  Writer.write_string(writer, 'plugin_type', object.plugin_type) unless object.plugin_type.nil?
4618
+ Writer.write_string(writer, 'project_domain_name', object.project_domain_name) unless object.project_domain_name.nil?
4619
+ Writer.write_string(writer, 'project_name', object.project_name) unless object.project_name.nil?
4175
4620
  PropertyWriter.write_many(object.properties, writer, 'property', 'properties') unless object.properties.nil?
4176
4621
  Writer.write_boolean(writer, 'read_only', object.read_only) unless object.read_only.nil?
4177
4622
  Writer.write_boolean(writer, 'requires_authentication', object.requires_authentication) unless object.requires_authentication.nil?
4178
4623
  Writer.write_string(writer, 'tenant_name', object.tenant_name) unless object.tenant_name.nil?
4179
4624
  Writer.write_string(writer, 'type', object.type) unless object.type.nil?
4625
+ Writer.write_boolean(writer, 'unmanaged', object.unmanaged) unless object.unmanaged.nil?
4180
4626
  Writer.write_string(writer, 'url', object.url) unless object.url.nil?
4627
+ Writer.write_string(writer, 'user_domain_name', object.user_domain_name) unless object.user_domain_name.nil?
4181
4628
  Writer.write_string(writer, 'username', object.username) unless object.username.nil?
4182
4629
  CertificateWriter.write_many(object.certificates, writer, 'certificate', 'certificates') unless object.certificates.nil?
4183
- OpenStackNetworkWriter.write_many(object.networks, writer, 'network', 'networks') unless object.networks.nil?
4184
- OpenStackSubnetWriter.write_many(object.subnets, writer, 'subnet', 'subnets') unless object.subnets.nil?
4630
+ OpenStackNetworkWriter.write_many(object.networks, writer, 'openstack_network', 'networks') unless object.networks.nil?
4631
+ OpenStackSubnetWriter.write_many(object.subnets, writer, 'openstack_subnet', 'subnets') unless object.subnets.nil?
4185
4632
  writer.write_end
4186
4633
  end
4187
4634
 
4188
4635
  def self.write_many(list, writer, singular = nil, plural = nil)
4189
- singular ||= 'open_stack_network_provider'
4190
- plural ||= 'open_stack_network_providers'
4636
+ singular ||= 'openstack_network_provider'
4637
+ plural ||= 'openstack_network_providers'
4191
4638
  writer.write_start(plural)
4192
4639
  if list.is_a?(List)
4193
4640
  href = list.href
@@ -4201,7 +4648,7 @@ module OvirtSDK4
4201
4648
 
4202
4649
  end
4203
4650
 
4204
- class OpenStackProviderWriter < Writer # :nodoc:
4651
+ class OpenStackProviderWriter < Writer
4205
4652
 
4206
4653
  def self.write_one(object, writer, singular = nil)
4207
4654
  singular ||= 'open_stack_provider'
@@ -4238,10 +4685,10 @@ module OvirtSDK4
4238
4685
 
4239
4686
  end
4240
4687
 
4241
- class OpenStackSubnetWriter < Writer # :nodoc:
4688
+ class OpenStackSubnetWriter < Writer
4242
4689
 
4243
4690
  def self.write_one(object, writer, singular = nil)
4244
- singular ||= 'open_stack_subnet'
4691
+ singular ||= 'openstack_subnet'
4245
4692
  writer.write_start(singular)
4246
4693
  href = object.href
4247
4694
  writer.write_attribute('href', href) unless href.nil?
@@ -4249,12 +4696,12 @@ module OvirtSDK4
4249
4696
  Writer.write_string(writer, 'cidr', object.cidr) unless object.cidr.nil?
4250
4697
  Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
4251
4698
  Writer.write_string(writer, 'description', object.description) unless object.description.nil?
4252
- if not object.dns_servers.nil? and not object.dns_servers.empty? then
4699
+ unless object.dns_servers.nil?
4253
4700
  writer.write_start('dns_servers')
4254
4701
  object.dns_servers.each do |item|
4255
4702
  Writer.write_string(writer, 'dns_server', item) unless item.nil?
4256
4703
  end
4257
- writer.end_element
4704
+ writer.write_end
4258
4705
  end
4259
4706
  Writer.write_string(writer, 'gateway', object.gateway) unless object.gateway.nil?
4260
4707
  Writer.write_string(writer, 'ip_version', object.ip_version) unless object.ip_version.nil?
@@ -4264,8 +4711,8 @@ module OvirtSDK4
4264
4711
  end
4265
4712
 
4266
4713
  def self.write_many(list, writer, singular = nil, plural = nil)
4267
- singular ||= 'open_stack_subnet'
4268
- plural ||= 'open_stack_subnets'
4714
+ singular ||= 'openstack_subnet'
4715
+ plural ||= 'openstack_subnets'
4269
4716
  writer.write_start(plural)
4270
4717
  if list.is_a?(List)
4271
4718
  href = list.href
@@ -4279,10 +4726,10 @@ module OvirtSDK4
4279
4726
 
4280
4727
  end
4281
4728
 
4282
- class OpenStackVolumeProviderWriter < Writer # :nodoc:
4729
+ class OpenStackVolumeProviderWriter < Writer
4283
4730
 
4284
4731
  def self.write_one(object, writer, singular = nil)
4285
- singular ||= 'open_stack_volume_provider'
4732
+ singular ||= 'openstack_volume_provider'
4286
4733
  writer.write_start(singular)
4287
4734
  href = object.href
4288
4735
  writer.write_attribute('href', href) unless href.nil?
@@ -4297,16 +4744,16 @@ module OvirtSDK4
4297
4744
  Writer.write_string(writer, 'tenant_name', object.tenant_name) unless object.tenant_name.nil?
4298
4745
  Writer.write_string(writer, 'url', object.url) unless object.url.nil?
4299
4746
  Writer.write_string(writer, 'username', object.username) unless object.username.nil?
4300
- OpenstackVolumeAuthenticationKeyWriter.write_many(object.authentication_keys, writer, 'authentication_key', 'authentication_keys') unless object.authentication_keys.nil?
4747
+ OpenstackVolumeAuthenticationKeyWriter.write_many(object.authentication_keys, writer, 'openstack_volume_authentication_key', 'authentication_keys') unless object.authentication_keys.nil?
4301
4748
  CertificateWriter.write_many(object.certificates, writer, 'certificate', 'certificates') unless object.certificates.nil?
4302
4749
  DataCenterWriter.write_one(object.data_center, writer, 'data_center') unless object.data_center.nil?
4303
- OpenStackVolumeTypeWriter.write_many(object.volume_types, writer, 'volume_type', 'volume_types') unless object.volume_types.nil?
4750
+ OpenStackVolumeTypeWriter.write_many(object.volume_types, writer, 'open_stack_volume_type', 'volume_types') unless object.volume_types.nil?
4304
4751
  writer.write_end
4305
4752
  end
4306
4753
 
4307
4754
  def self.write_many(list, writer, singular = nil, plural = nil)
4308
- singular ||= 'open_stack_volume_provider'
4309
- plural ||= 'open_stack_volume_providers'
4755
+ singular ||= 'openstack_volume_provider'
4756
+ plural ||= 'openstack_volume_providers'
4310
4757
  writer.write_start(plural)
4311
4758
  if list.is_a?(List)
4312
4759
  href = list.href
@@ -4320,7 +4767,7 @@ module OvirtSDK4
4320
4767
 
4321
4768
  end
4322
4769
 
4323
- class OpenStackVolumeTypeWriter < Writer # :nodoc:
4770
+ class OpenStackVolumeTypeWriter < Writer
4324
4771
 
4325
4772
  def self.write_one(object, writer, singular = nil)
4326
4773
  singular ||= 'open_stack_volume_type'
@@ -4352,7 +4799,7 @@ module OvirtSDK4
4352
4799
 
4353
4800
  end
4354
4801
 
4355
- class OpenstackVolumeAuthenticationKeyWriter < Writer # :nodoc:
4802
+ class OpenstackVolumeAuthenticationKeyWriter < Writer
4356
4803
 
4357
4804
  def self.write_one(object, writer, singular = nil)
4358
4805
  singular ||= 'openstack_volume_authentication_key'
@@ -4387,10 +4834,10 @@ module OvirtSDK4
4387
4834
 
4388
4835
  end
4389
4836
 
4390
- class OperatingSystemWriter < Writer # :nodoc:
4837
+ class OperatingSystemWriter < Writer
4391
4838
 
4392
4839
  def self.write_one(object, writer, singular = nil)
4393
- singular ||= 'operating_system'
4840
+ singular ||= 'os'
4394
4841
  writer.write_start(singular)
4395
4842
  href = object.href
4396
4843
  writer.write_attribute('href', href) unless href.nil?
@@ -4406,8 +4853,8 @@ module OvirtSDK4
4406
4853
  end
4407
4854
 
4408
4855
  def self.write_many(list, writer, singular = nil, plural = nil)
4409
- singular ||= 'operating_system'
4410
- plural ||= 'operating_systems'
4856
+ singular ||= 'os'
4857
+ plural ||= 'oss'
4411
4858
  writer.write_start(plural)
4412
4859
  if list.is_a?(List)
4413
4860
  href = list.href
@@ -4421,14 +4868,15 @@ module OvirtSDK4
4421
4868
 
4422
4869
  end
4423
4870
 
4424
- class OperatingSystemInfoWriter < Writer # :nodoc:
4871
+ class OperatingSystemInfoWriter < Writer
4425
4872
 
4426
4873
  def self.write_one(object, writer, singular = nil)
4427
- singular ||= 'operating_system_info'
4874
+ singular ||= 'operating_system'
4428
4875
  writer.write_start(singular)
4429
4876
  href = object.href
4430
4877
  writer.write_attribute('href', href) unless href.nil?
4431
4878
  writer.write_attribute('id', object.id) unless object.id.nil?
4879
+ Writer.write_string(writer, 'architecture', object.architecture) unless object.architecture.nil?
4432
4880
  Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
4433
4881
  Writer.write_string(writer, 'description', object.description) unless object.description.nil?
4434
4882
  IconWriter.write_one(object.large_icon, writer, 'large_icon') unless object.large_icon.nil?
@@ -4438,8 +4886,8 @@ module OvirtSDK4
4438
4886
  end
4439
4887
 
4440
4888
  def self.write_many(list, writer, singular = nil, plural = nil)
4441
- singular ||= 'operating_system_info'
4442
- plural ||= 'operating_system_infos'
4889
+ singular ||= 'operating_system'
4890
+ plural ||= 'operation_systems'
4443
4891
  writer.write_start(plural)
4444
4892
  if list.is_a?(List)
4445
4893
  href = list.href
@@ -4453,7 +4901,7 @@ module OvirtSDK4
4453
4901
 
4454
4902
  end
4455
4903
 
4456
- class OptionWriter < Writer # :nodoc:
4904
+ class OptionWriter < Writer
4457
4905
 
4458
4906
  def self.write_one(object, writer, singular = nil)
4459
4907
  singular ||= 'option'
@@ -4482,7 +4930,7 @@ module OvirtSDK4
4482
4930
 
4483
4931
  end
4484
4932
 
4485
- class PackageWriter < Writer # :nodoc:
4933
+ class PackageWriter < Writer
4486
4934
 
4487
4935
  def self.write_one(object, writer, singular = nil)
4488
4936
  singular ||= 'package'
@@ -4509,7 +4957,7 @@ module OvirtSDK4
4509
4957
 
4510
4958
  end
4511
4959
 
4512
- class PayloadWriter < Writer # :nodoc:
4960
+ class PayloadWriter < Writer
4513
4961
 
4514
4962
  def self.write_one(object, writer, singular = nil)
4515
4963
  singular ||= 'payload'
@@ -4538,7 +4986,7 @@ module OvirtSDK4
4538
4986
 
4539
4987
  end
4540
4988
 
4541
- class PermissionWriter < Writer # :nodoc:
4989
+ class PermissionWriter < Writer
4542
4990
 
4543
4991
  def self.write_one(object, writer, singular = nil)
4544
4992
  singular ||= 'permission'
@@ -4579,7 +5027,7 @@ module OvirtSDK4
4579
5027
 
4580
5028
  end
4581
5029
 
4582
- class PermitWriter < Writer # :nodoc:
5030
+ class PermitWriter < Writer
4583
5031
 
4584
5032
  def self.write_one(object, writer, singular = nil)
4585
5033
  singular ||= 'permit'
@@ -4611,7 +5059,7 @@ module OvirtSDK4
4611
5059
 
4612
5060
  end
4613
5061
 
4614
- class PmProxyWriter < Writer # :nodoc:
5062
+ class PmProxyWriter < Writer
4615
5063
 
4616
5064
  def self.write_one(object, writer, singular = nil)
4617
5065
  singular ||= 'pm_proxy'
@@ -4638,7 +5086,7 @@ module OvirtSDK4
4638
5086
 
4639
5087
  end
4640
5088
 
4641
- class PortMirroringWriter < Writer # :nodoc:
5089
+ class PortMirroringWriter < Writer
4642
5090
 
4643
5091
  def self.write_one(object, writer, singular = nil)
4644
5092
  singular ||= 'port_mirroring'
@@ -4664,7 +5112,7 @@ module OvirtSDK4
4664
5112
 
4665
5113
  end
4666
5114
 
4667
- class PowerManagementWriter < Writer # :nodoc:
5115
+ class PowerManagementWriter < Writer
4668
5116
 
4669
5117
  def self.write_one(object, writer, singular = nil)
4670
5118
  singular ||= 'power_management'
@@ -4701,7 +5149,7 @@ module OvirtSDK4
4701
5149
 
4702
5150
  end
4703
5151
 
4704
- class ProductWriter < Writer # :nodoc:
5152
+ class ProductWriter < Writer
4705
5153
 
4706
5154
  def self.write_one(object, writer, singular = nil)
4707
5155
  singular ||= 'product'
@@ -4731,13 +5179,14 @@ module OvirtSDK4
4731
5179
 
4732
5180
  end
4733
5181
 
4734
- class ProductInfoWriter < Writer # :nodoc:
5182
+ class ProductInfoWriter < Writer
4735
5183
 
4736
5184
  def self.write_one(object, writer, singular = nil)
4737
5185
  singular ||= 'product_info'
4738
5186
  writer.write_start(singular)
4739
5187
  href = object.href
4740
5188
  writer.write_attribute('href', href) unless href.nil?
5189
+ Writer.write_string(writer, 'instance_id', object.instance_id) unless object.instance_id.nil?
4741
5190
  Writer.write_string(writer, 'name', object.name) unless object.name.nil?
4742
5191
  Writer.write_string(writer, 'vendor', object.vendor) unless object.vendor.nil?
4743
5192
  VersionWriter.write_one(object.version, writer, 'version') unless object.version.nil?
@@ -4760,7 +5209,7 @@ module OvirtSDK4
4760
5209
 
4761
5210
  end
4762
5211
 
4763
- class ProfileDetailWriter < Writer # :nodoc:
5212
+ class ProfileDetailWriter < Writer
4764
5213
 
4765
5214
  def self.write_one(object, writer, singular = nil)
4766
5215
  singular ||= 'profile_detail'
@@ -4791,7 +5240,7 @@ module OvirtSDK4
4791
5240
 
4792
5241
  end
4793
5242
 
4794
- class PropertyWriter < Writer # :nodoc:
5243
+ class PropertyWriter < Writer
4795
5244
 
4796
5245
  def self.write_one(object, writer, singular = nil)
4797
5246
  singular ||= 'property'
@@ -4819,7 +5268,7 @@ module OvirtSDK4
4819
5268
 
4820
5269
  end
4821
5270
 
4822
- class ProxyTicketWriter < Writer # :nodoc:
5271
+ class ProxyTicketWriter < Writer
4823
5272
 
4824
5273
  def self.write_one(object, writer, singular = nil)
4825
5274
  singular ||= 'proxy_ticket'
@@ -4846,7 +5295,7 @@ module OvirtSDK4
4846
5295
 
4847
5296
  end
4848
5297
 
4849
- class QosWriter < Writer # :nodoc:
5298
+ class QosWriter < Writer
4850
5299
 
4851
5300
  def self.write_one(object, writer, singular = nil)
4852
5301
  singular ||= 'qos'
@@ -4894,7 +5343,7 @@ module OvirtSDK4
4894
5343
 
4895
5344
  end
4896
5345
 
4897
- class QuotaWriter < Writer # :nodoc:
5346
+ class QuotaWriter < Writer
4898
5347
 
4899
5348
  def self.write_one(object, writer, singular = nil)
4900
5349
  singular ||= 'quota'
@@ -4935,7 +5384,7 @@ module OvirtSDK4
4935
5384
 
4936
5385
  end
4937
5386
 
4938
- class QuotaClusterLimitWriter < Writer # :nodoc:
5387
+ class QuotaClusterLimitWriter < Writer
4939
5388
 
4940
5389
  def self.write_one(object, writer, singular = nil)
4941
5390
  singular ||= 'quota_cluster_limit'
@@ -4971,7 +5420,7 @@ module OvirtSDK4
4971
5420
 
4972
5421
  end
4973
5422
 
4974
- class QuotaStorageLimitWriter < Writer # :nodoc:
5423
+ class QuotaStorageLimitWriter < Writer
4975
5424
 
4976
5425
  def self.write_one(object, writer, singular = nil)
4977
5426
  singular ||= 'quota_storage_limit'
@@ -5005,7 +5454,7 @@ module OvirtSDK4
5005
5454
 
5006
5455
  end
5007
5456
 
5008
- class RangeWriter < Writer # :nodoc:
5457
+ class RangeWriter < Writer
5009
5458
 
5010
5459
  def self.write_one(object, writer, singular = nil)
5011
5460
  singular ||= 'range'
@@ -5033,7 +5482,7 @@ module OvirtSDK4
5033
5482
 
5034
5483
  end
5035
5484
 
5036
- class RateWriter < Writer # :nodoc:
5485
+ class RateWriter < Writer
5037
5486
 
5038
5487
  def self.write_one(object, writer, singular = nil)
5039
5488
  singular ||= 'rate'
@@ -5061,7 +5510,236 @@ module OvirtSDK4
5061
5510
 
5062
5511
  end
5063
5512
 
5064
- class ReportedConfigurationWriter < Writer # :nodoc:
5513
+ class RegistrationAffinityGroupMappingWriter < Writer
5514
+
5515
+ def self.write_one(object, writer, singular = nil)
5516
+ singular ||= 'registration_affinity_group_mapping'
5517
+ writer.write_start(singular)
5518
+ href = object.href
5519
+ writer.write_attribute('href', href) unless href.nil?
5520
+ AffinityGroupWriter.write_one(object.from, writer, 'from') unless object.from.nil?
5521
+ AffinityGroupWriter.write_one(object.to, writer, 'to') unless object.to.nil?
5522
+ writer.write_end
5523
+ end
5524
+
5525
+ def self.write_many(list, writer, singular = nil, plural = nil)
5526
+ singular ||= 'registration_affinity_group_mapping'
5527
+ plural ||= 'registration_affinity_group_mappings'
5528
+ writer.write_start(plural)
5529
+ if list.is_a?(List)
5530
+ href = list.href
5531
+ writer.write_attribute('href', href) unless href.nil?
5532
+ end
5533
+ list.each do |item|
5534
+ write_one(item, writer, singular)
5535
+ end
5536
+ writer.write_end
5537
+ end
5538
+
5539
+ end
5540
+
5541
+ class RegistrationAffinityLabelMappingWriter < Writer
5542
+
5543
+ def self.write_one(object, writer, singular = nil)
5544
+ singular ||= 'registration_affinity_label_mapping'
5545
+ writer.write_start(singular)
5546
+ href = object.href
5547
+ writer.write_attribute('href', href) unless href.nil?
5548
+ AffinityLabelWriter.write_one(object.from, writer, 'from') unless object.from.nil?
5549
+ AffinityLabelWriter.write_one(object.to, writer, 'to') unless object.to.nil?
5550
+ writer.write_end
5551
+ end
5552
+
5553
+ def self.write_many(list, writer, singular = nil, plural = nil)
5554
+ singular ||= 'registration_affinity_label_mapping'
5555
+ plural ||= 'registration_affinity_label_mappings'
5556
+ writer.write_start(plural)
5557
+ if list.is_a?(List)
5558
+ href = list.href
5559
+ writer.write_attribute('href', href) unless href.nil?
5560
+ end
5561
+ list.each do |item|
5562
+ write_one(item, writer, singular)
5563
+ end
5564
+ writer.write_end
5565
+ end
5566
+
5567
+ end
5568
+
5569
+ class RegistrationClusterMappingWriter < Writer
5570
+
5571
+ def self.write_one(object, writer, singular = nil)
5572
+ singular ||= 'registration_cluster_mapping'
5573
+ writer.write_start(singular)
5574
+ href = object.href
5575
+ writer.write_attribute('href', href) unless href.nil?
5576
+ ClusterWriter.write_one(object.from, writer, 'from') unless object.from.nil?
5577
+ ClusterWriter.write_one(object.to, writer, 'to') unless object.to.nil?
5578
+ writer.write_end
5579
+ end
5580
+
5581
+ def self.write_many(list, writer, singular = nil, plural = nil)
5582
+ singular ||= 'registration_cluster_mapping'
5583
+ plural ||= 'registration_cluster_mappings'
5584
+ writer.write_start(plural)
5585
+ if list.is_a?(List)
5586
+ href = list.href
5587
+ writer.write_attribute('href', href) unless href.nil?
5588
+ end
5589
+ list.each do |item|
5590
+ write_one(item, writer, singular)
5591
+ end
5592
+ writer.write_end
5593
+ end
5594
+
5595
+ end
5596
+
5597
+ class RegistrationConfigurationWriter < Writer
5598
+
5599
+ def self.write_one(object, writer, singular = nil)
5600
+ singular ||= 'registration_configuration'
5601
+ writer.write_start(singular)
5602
+ href = object.href
5603
+ writer.write_attribute('href', href) unless href.nil?
5604
+ RegistrationAffinityGroupMappingWriter.write_many(object.affinity_group_mappings, writer, 'registration_affinity_group_mapping', 'affinity_group_mappings') unless object.affinity_group_mappings.nil?
5605
+ RegistrationAffinityLabelMappingWriter.write_many(object.affinity_label_mappings, writer, 'registration_affinity_label_mapping', 'affinity_label_mappings') unless object.affinity_label_mappings.nil?
5606
+ RegistrationClusterMappingWriter.write_many(object.cluster_mappings, writer, 'registration_cluster_mapping', 'cluster_mappings') unless object.cluster_mappings.nil?
5607
+ RegistrationDomainMappingWriter.write_many(object.domain_mappings, writer, 'registration_domain_mapping', 'domain_mappings') unless object.domain_mappings.nil?
5608
+ RegistrationLunMappingWriter.write_many(object.lun_mappings, writer, 'registration_lun_mapping', 'lun_mappings') unless object.lun_mappings.nil?
5609
+ RegistrationRoleMappingWriter.write_many(object.role_mappings, writer, 'registration_role_mapping', 'role_mappings') unless object.role_mappings.nil?
5610
+ RegistrationVnicProfileMappingWriter.write_many(object.vnic_profile_mappings, writer, 'registration_vnic_profile_mapping', 'vnic_profile_mappings') unless object.vnic_profile_mappings.nil?
5611
+ writer.write_end
5612
+ end
5613
+
5614
+ def self.write_many(list, writer, singular = nil, plural = nil)
5615
+ singular ||= 'registration_configuration'
5616
+ plural ||= 'registration_configurations'
5617
+ writer.write_start(plural)
5618
+ if list.is_a?(List)
5619
+ href = list.href
5620
+ writer.write_attribute('href', href) unless href.nil?
5621
+ end
5622
+ list.each do |item|
5623
+ write_one(item, writer, singular)
5624
+ end
5625
+ writer.write_end
5626
+ end
5627
+
5628
+ end
5629
+
5630
+ class RegistrationDomainMappingWriter < Writer
5631
+
5632
+ def self.write_one(object, writer, singular = nil)
5633
+ singular ||= 'registration_domain_mapping'
5634
+ writer.write_start(singular)
5635
+ href = object.href
5636
+ writer.write_attribute('href', href) unless href.nil?
5637
+ DomainWriter.write_one(object.from, writer, 'from') unless object.from.nil?
5638
+ DomainWriter.write_one(object.to, writer, 'to') unless object.to.nil?
5639
+ writer.write_end
5640
+ end
5641
+
5642
+ def self.write_many(list, writer, singular = nil, plural = nil)
5643
+ singular ||= 'registration_domain_mapping'
5644
+ plural ||= 'registration_domain_mappings'
5645
+ writer.write_start(plural)
5646
+ if list.is_a?(List)
5647
+ href = list.href
5648
+ writer.write_attribute('href', href) unless href.nil?
5649
+ end
5650
+ list.each do |item|
5651
+ write_one(item, writer, singular)
5652
+ end
5653
+ writer.write_end
5654
+ end
5655
+
5656
+ end
5657
+
5658
+ class RegistrationLunMappingWriter < Writer
5659
+
5660
+ def self.write_one(object, writer, singular = nil)
5661
+ singular ||= 'registration_lun_mapping'
5662
+ writer.write_start(singular)
5663
+ href = object.href
5664
+ writer.write_attribute('href', href) unless href.nil?
5665
+ DiskWriter.write_one(object.from, writer, 'from') unless object.from.nil?
5666
+ DiskWriter.write_one(object.to, writer, 'to') unless object.to.nil?
5667
+ writer.write_end
5668
+ end
5669
+
5670
+ def self.write_many(list, writer, singular = nil, plural = nil)
5671
+ singular ||= 'registration_lun_mapping'
5672
+ plural ||= 'registration_lun_mappings'
5673
+ writer.write_start(plural)
5674
+ if list.is_a?(List)
5675
+ href = list.href
5676
+ writer.write_attribute('href', href) unless href.nil?
5677
+ end
5678
+ list.each do |item|
5679
+ write_one(item, writer, singular)
5680
+ end
5681
+ writer.write_end
5682
+ end
5683
+
5684
+ end
5685
+
5686
+ class RegistrationRoleMappingWriter < Writer
5687
+
5688
+ def self.write_one(object, writer, singular = nil)
5689
+ singular ||= 'registration_role_mapping'
5690
+ writer.write_start(singular)
5691
+ href = object.href
5692
+ writer.write_attribute('href', href) unless href.nil?
5693
+ RoleWriter.write_one(object.from, writer, 'from') unless object.from.nil?
5694
+ RoleWriter.write_one(object.to, writer, 'to') unless object.to.nil?
5695
+ writer.write_end
5696
+ end
5697
+
5698
+ def self.write_many(list, writer, singular = nil, plural = nil)
5699
+ singular ||= 'registration_role_mapping'
5700
+ plural ||= 'registration_role_mappings'
5701
+ writer.write_start(plural)
5702
+ if list.is_a?(List)
5703
+ href = list.href
5704
+ writer.write_attribute('href', href) unless href.nil?
5705
+ end
5706
+ list.each do |item|
5707
+ write_one(item, writer, singular)
5708
+ end
5709
+ writer.write_end
5710
+ end
5711
+
5712
+ end
5713
+
5714
+ class RegistrationVnicProfileMappingWriter < Writer
5715
+
5716
+ def self.write_one(object, writer, singular = nil)
5717
+ singular ||= 'registration_vnic_profile_mapping'
5718
+ writer.write_start(singular)
5719
+ href = object.href
5720
+ writer.write_attribute('href', href) unless href.nil?
5721
+ VnicProfileWriter.write_one(object.from, writer, 'from') unless object.from.nil?
5722
+ VnicProfileWriter.write_one(object.to, writer, 'to') unless object.to.nil?
5723
+ writer.write_end
5724
+ end
5725
+
5726
+ def self.write_many(list, writer, singular = nil, plural = nil)
5727
+ singular ||= 'registration_vnic_profile_mapping'
5728
+ plural ||= 'registration_vnic_profile_mappings'
5729
+ writer.write_start(plural)
5730
+ if list.is_a?(List)
5731
+ href = list.href
5732
+ writer.write_attribute('href', href) unless href.nil?
5733
+ end
5734
+ list.each do |item|
5735
+ write_one(item, writer, singular)
5736
+ end
5737
+ writer.write_end
5738
+ end
5739
+
5740
+ end
5741
+
5742
+ class ReportedConfigurationWriter < Writer
5065
5743
 
5066
5744
  def self.write_one(object, writer, singular = nil)
5067
5745
  singular ||= 'reported_configuration'
@@ -5091,7 +5769,7 @@ module OvirtSDK4
5091
5769
 
5092
5770
  end
5093
5771
 
5094
- class ReportedDeviceWriter < Writer # :nodoc:
5772
+ class ReportedDeviceWriter < Writer
5095
5773
 
5096
5774
  def self.write_one(object, writer, singular = nil)
5097
5775
  singular ||= 'reported_device'
@@ -5125,7 +5803,7 @@ module OvirtSDK4
5125
5803
 
5126
5804
  end
5127
5805
 
5128
- class RngDeviceWriter < Writer # :nodoc:
5806
+ class RngDeviceWriter < Writer
5129
5807
 
5130
5808
  def self.write_one(object, writer, singular = nil)
5131
5809
  singular ||= 'rng_device'
@@ -5153,7 +5831,7 @@ module OvirtSDK4
5153
5831
 
5154
5832
  end
5155
5833
 
5156
- class RoleWriter < Writer # :nodoc:
5834
+ class RoleWriter < Writer
5157
5835
 
5158
5836
  def self.write_one(object, writer, singular = nil)
5159
5837
  singular ||= 'role'
@@ -5187,7 +5865,7 @@ module OvirtSDK4
5187
5865
 
5188
5866
  end
5189
5867
 
5190
- class SchedulingPolicyWriter < Writer # :nodoc:
5868
+ class SchedulingPolicyWriter < Writer
5191
5869
 
5192
5870
  def self.write_one(object, writer, singular = nil)
5193
5871
  singular ||= 'scheduling_policy'
@@ -5223,7 +5901,7 @@ module OvirtSDK4
5223
5901
 
5224
5902
  end
5225
5903
 
5226
- class SchedulingPolicyUnitWriter < Writer # :nodoc:
5904
+ class SchedulingPolicyUnitWriter < Writer
5227
5905
 
5228
5906
  def self.write_one(object, writer, singular = nil)
5229
5907
  singular ||= 'scheduling_policy_unit'
@@ -5257,7 +5935,7 @@ module OvirtSDK4
5257
5935
 
5258
5936
  end
5259
5937
 
5260
- class SeLinuxWriter < Writer # :nodoc:
5938
+ class SeLinuxWriter < Writer
5261
5939
 
5262
5940
  def self.write_one(object, writer, singular = nil)
5263
5941
  singular ||= 'se_linux'
@@ -5284,7 +5962,7 @@ module OvirtSDK4
5284
5962
 
5285
5963
  end
5286
5964
 
5287
- class SerialNumberWriter < Writer # :nodoc:
5965
+ class SerialNumberWriter < Writer
5288
5966
 
5289
5967
  def self.write_one(object, writer, singular = nil)
5290
5968
  singular ||= 'serial_number'
@@ -5312,7 +5990,7 @@ module OvirtSDK4
5312
5990
 
5313
5991
  end
5314
5992
 
5315
- class SessionWriter < Writer # :nodoc:
5993
+ class SessionWriter < Writer
5316
5994
 
5317
5995
  def self.write_one(object, writer, singular = nil)
5318
5996
  singular ||= 'session'
@@ -5347,7 +6025,7 @@ module OvirtSDK4
5347
6025
 
5348
6026
  end
5349
6027
 
5350
- class SkipIfConnectivityBrokenWriter < Writer # :nodoc:
6028
+ class SkipIfConnectivityBrokenWriter < Writer
5351
6029
 
5352
6030
  def self.write_one(object, writer, singular = nil)
5353
6031
  singular ||= 'skip_if_connectivity_broken'
@@ -5375,7 +6053,7 @@ module OvirtSDK4
5375
6053
 
5376
6054
  end
5377
6055
 
5378
- class SkipIfSdActiveWriter < Writer # :nodoc:
6056
+ class SkipIfSdActiveWriter < Writer
5379
6057
 
5380
6058
  def self.write_one(object, writer, singular = nil)
5381
6059
  singular ||= 'skip_if_sd_active'
@@ -5402,7 +6080,7 @@ module OvirtSDK4
5402
6080
 
5403
6081
  end
5404
6082
 
5405
- class SnapshotWriter < Writer # :nodoc:
6083
+ class SnapshotWriter < Writer
5406
6084
 
5407
6085
  def self.write_one(object, writer, singular = nil)
5408
6086
  singular ||= 'snapshot'
@@ -5428,14 +6106,17 @@ module OvirtSDK4
5428
6106
  Writer.write_string(writer, 'fqdn', object.fqdn) unless object.fqdn.nil?
5429
6107
  GuestOperatingSystemWriter.write_one(object.guest_operating_system, writer, 'guest_operating_system') unless object.guest_operating_system.nil?
5430
6108
  TimeZoneWriter.write_one(object.guest_time_zone, writer, 'guest_time_zone') unless object.guest_time_zone.nil?
6109
+ Writer.write_boolean(writer, 'has_illegal_images', object.has_illegal_images) unless object.has_illegal_images.nil?
5431
6110
  HighAvailabilityWriter.write_one(object.high_availability, writer, 'high_availability') unless object.high_availability.nil?
5432
6111
  InitializationWriter.write_one(object.initialization, writer, 'initialization') unless object.initialization.nil?
5433
6112
  IoWriter.write_one(object.io, writer, 'io') unless object.io.nil?
5434
6113
  IconWriter.write_one(object.large_icon, writer, 'large_icon') unless object.large_icon.nil?
6114
+ StorageDomainLeaseWriter.write_one(object.lease, writer, 'lease') unless object.lease.nil?
5435
6115
  Writer.write_integer(writer, 'memory', object.memory) unless object.memory.nil?
5436
6116
  MemoryPolicyWriter.write_one(object.memory_policy, writer, 'memory_policy') unless object.memory_policy.nil?
5437
6117
  MigrationOptionsWriter.write_one(object.migration, writer, 'migration') unless object.migration.nil?
5438
6118
  Writer.write_integer(writer, 'migration_downtime', object.migration_downtime) unless object.migration_downtime.nil?
6119
+ Writer.write_boolean(writer, 'multi_queues_enabled', object.multi_queues_enabled) unless object.multi_queues_enabled.nil?
5439
6120
  Writer.write_string(writer, 'name', object.name) unless object.name.nil?
5440
6121
  Writer.write_boolean(writer, 'next_run_configuration_exists', object.next_run_configuration_exists) unless object.next_run_configuration_exists.nil?
5441
6122
  Writer.write_string(writer, 'numa_tune_mode', object.numa_tune_mode) unless object.numa_tune_mode.nil?
@@ -5459,18 +6140,21 @@ module OvirtSDK4
5459
6140
  Writer.write_string(writer, 'status_detail', object.status_detail) unless object.status_detail.nil?
5460
6141
  Writer.write_string(writer, 'stop_reason', object.stop_reason) unless object.stop_reason.nil?
5461
6142
  Writer.write_date(writer, 'stop_time', object.stop_time) unless object.stop_time.nil?
6143
+ Writer.write_string(writer, 'storage_error_resume_behaviour', object.storage_error_resume_behaviour) unless object.storage_error_resume_behaviour.nil?
5462
6144
  TimeZoneWriter.write_one(object.time_zone, writer, 'time_zone') unless object.time_zone.nil?
5463
6145
  Writer.write_boolean(writer, 'tunnel_migration', object.tunnel_migration) unless object.tunnel_migration.nil?
5464
6146
  Writer.write_string(writer, 'type', object.type) unless object.type.nil?
5465
6147
  UsbWriter.write_one(object.usb, writer, 'usb') unless object.usb.nil?
5466
6148
  Writer.write_boolean(writer, 'use_latest_template_version', object.use_latest_template_version) unless object.use_latest_template_version.nil?
5467
6149
  VirtioScsiWriter.write_one(object.virtio_scsi, writer, 'virtio_scsi') unless object.virtio_scsi.nil?
6150
+ Writer.write_boolean(writer, 'virtio_scsi_multi_queues_enabled', object.virtio_scsi_multi_queues_enabled) unless object.virtio_scsi_multi_queues_enabled.nil?
5468
6151
  AffinityLabelWriter.write_many(object.affinity_labels, writer, 'affinity_label', 'affinity_labels') unless object.affinity_labels.nil?
5469
6152
  ApplicationWriter.write_many(object.applications, writer, 'application', 'applications') unless object.applications.nil?
5470
6153
  CdromWriter.write_many(object.cdroms, writer, 'cdrom', 'cdroms') unless object.cdroms.nil?
5471
6154
  ClusterWriter.write_one(object.cluster, writer, 'cluster') unless object.cluster.nil?
5472
6155
  CpuProfileWriter.write_one(object.cpu_profile, writer, 'cpu_profile') unless object.cpu_profile.nil?
5473
6156
  DiskAttachmentWriter.write_many(object.disk_attachments, writer, 'disk_attachment', 'disk_attachments') unless object.disk_attachments.nil?
6157
+ DiskWriter.write_many(object.disks, writer, 'disk', 'disks') unless object.disks.nil?
5474
6158
  ExternalHostProviderWriter.write_one(object.external_host_provider, writer, 'external_host_provider') unless object.external_host_provider.nil?
5475
6159
  FloppyWriter.write_many(object.floppies, writer, 'floppy', 'floppies') unless object.floppies.nil?
5476
6160
  GraphicsConsoleWriter.write_many(object.graphics_consoles, writer, 'graphics_console', 'graphics_consoles') unless object.graphics_consoles.nil?
@@ -5480,6 +6164,7 @@ module OvirtSDK4
5480
6164
  KatelloErratumWriter.write_many(object.katello_errata, writer, 'katello_erratum', 'katello_errata') unless object.katello_errata.nil?
5481
6165
  NicWriter.write_many(object.nics, writer, 'nic', 'nics') unless object.nics.nil?
5482
6166
  NumaNodeWriter.write_many(object.numa_nodes, writer, 'host_numa_node', 'host_numa_nodes') unless object.numa_nodes.nil?
6167
+ TemplateWriter.write_one(object.original_template, writer, 'original_template') unless object.original_template.nil?
5483
6168
  PermissionWriter.write_many(object.permissions, writer, 'permission', 'permissions') unless object.permissions.nil?
5484
6169
  QuotaWriter.write_one(object.quota, writer, 'quota') unless object.quota.nil?
5485
6170
  ReportedDeviceWriter.write_many(object.reported_devices, writer, 'reported_device', 'reported_devices') unless object.reported_devices.nil?
@@ -5511,7 +6196,7 @@ module OvirtSDK4
5511
6196
 
5512
6197
  end
5513
6198
 
5514
- class SpecialObjectsWriter < Writer # :nodoc:
6199
+ class SpecialObjectsWriter < Writer
5515
6200
 
5516
6201
  def self.write_one(object, writer, singular = nil)
5517
6202
  singular ||= 'special_objects'
@@ -5539,7 +6224,7 @@ module OvirtSDK4
5539
6224
 
5540
6225
  end
5541
6226
 
5542
- class SpmWriter < Writer # :nodoc:
6227
+ class SpmWriter < Writer
5543
6228
 
5544
6229
  def self.write_one(object, writer, singular = nil)
5545
6230
  singular ||= 'spm'
@@ -5567,7 +6252,7 @@ module OvirtSDK4
5567
6252
 
5568
6253
  end
5569
6254
 
5570
- class SshWriter < Writer # :nodoc:
6255
+ class SshWriter < Writer
5571
6256
 
5572
6257
  def self.write_one(object, writer, singular = nil)
5573
6258
  singular ||= 'ssh'
@@ -5581,6 +6266,7 @@ module OvirtSDK4
5581
6266
  Writer.write_string(writer, 'fingerprint', object.fingerprint) unless object.fingerprint.nil?
5582
6267
  Writer.write_string(writer, 'name', object.name) unless object.name.nil?
5583
6268
  Writer.write_integer(writer, 'port', object.port) unless object.port.nil?
6269
+ Writer.write_string(writer, 'public_key', object.public_key) unless object.public_key.nil?
5584
6270
  UserWriter.write_one(object.user, writer, 'user') unless object.user.nil?
5585
6271
  writer.write_end
5586
6272
  end
@@ -5601,7 +6287,7 @@ module OvirtSDK4
5601
6287
 
5602
6288
  end
5603
6289
 
5604
- class SshPublicKeyWriter < Writer # :nodoc:
6290
+ class SshPublicKeyWriter < Writer
5605
6291
 
5606
6292
  def self.write_one(object, writer, singular = nil)
5607
6293
  singular ||= 'ssh_public_key'
@@ -5633,7 +6319,7 @@ module OvirtSDK4
5633
6319
 
5634
6320
  end
5635
6321
 
5636
- class SsoWriter < Writer # :nodoc:
6322
+ class SsoWriter < Writer
5637
6323
 
5638
6324
  def self.write_one(object, writer, singular = nil)
5639
6325
  singular ||= 'sso'
@@ -5660,7 +6346,7 @@ module OvirtSDK4
5660
6346
 
5661
6347
  end
5662
6348
 
5663
- class StatisticWriter < Writer # :nodoc:
6349
+ class StatisticWriter < Writer
5664
6350
 
5665
6351
  def self.write_one(object, writer, singular = nil)
5666
6352
  singular ||= 'statistic'
@@ -5703,7 +6389,7 @@ module OvirtSDK4
5703
6389
 
5704
6390
  end
5705
6391
 
5706
- class StepWriter < Writer # :nodoc:
6392
+ class StepWriter < Writer
5707
6393
 
5708
6394
  def self.write_one(object, writer, singular = nil)
5709
6395
  singular ||= 'step'
@@ -5718,9 +6404,11 @@ module OvirtSDK4
5718
6404
  Writer.write_string(writer, 'external_type', object.external_type) unless object.external_type.nil?
5719
6405
  Writer.write_string(writer, 'name', object.name) unless object.name.nil?
5720
6406
  Writer.write_integer(writer, 'number', object.number) unless object.number.nil?
6407
+ Writer.write_integer(writer, 'progress', object.progress) unless object.progress.nil?
5721
6408
  Writer.write_date(writer, 'start_time', object.start_time) unless object.start_time.nil?
5722
6409
  Writer.write_string(writer, 'status', object.status) unless object.status.nil?
5723
6410
  Writer.write_string(writer, 'type', object.type) unless object.type.nil?
6411
+ HostWriter.write_one(object.execution_host, writer, 'execution_host') unless object.execution_host.nil?
5724
6412
  JobWriter.write_one(object.job, writer, 'job') unless object.job.nil?
5725
6413
  StepWriter.write_one(object.parent_step, writer, 'parent_step') unless object.parent_step.nil?
5726
6414
  StatisticWriter.write_many(object.statistics, writer, 'statistic', 'statistics') unless object.statistics.nil?
@@ -5743,7 +6431,7 @@ module OvirtSDK4
5743
6431
 
5744
6432
  end
5745
6433
 
5746
- class StorageConnectionWriter < Writer # :nodoc:
6434
+ class StorageConnectionWriter < Writer
5747
6435
 
5748
6436
  def self.write_one(object, writer, singular = nil)
5749
6437
  singular ||= 'storage_connection'
@@ -5767,6 +6455,7 @@ module OvirtSDK4
5767
6455
  Writer.write_string(writer, 'type', object.type) unless object.type.nil?
5768
6456
  Writer.write_string(writer, 'username', object.username) unless object.username.nil?
5769
6457
  Writer.write_string(writer, 'vfs_type', object.vfs_type) unless object.vfs_type.nil?
6458
+ GlusterVolumeWriter.write_one(object.gluster_volume, writer, 'gluster_volume') unless object.gluster_volume.nil?
5770
6459
  HostWriter.write_one(object.host, writer, 'host') unless object.host.nil?
5771
6460
  writer.write_end
5772
6461
  end
@@ -5787,7 +6476,7 @@ module OvirtSDK4
5787
6476
 
5788
6477
  end
5789
6478
 
5790
- class StorageConnectionExtensionWriter < Writer # :nodoc:
6479
+ class StorageConnectionExtensionWriter < Writer
5791
6480
 
5792
6481
  def self.write_one(object, writer, singular = nil)
5793
6482
  singular ||= 'storage_connection_extension'
@@ -5821,7 +6510,7 @@ module OvirtSDK4
5821
6510
 
5822
6511
  end
5823
6512
 
5824
- class StorageDomainWriter < Writer # :nodoc:
6513
+ class StorageDomainWriter < Writer
5825
6514
 
5826
6515
  def self.write_one(object, writer, singular = nil)
5827
6516
  singular ||= 'storage_domain'
@@ -5830,10 +6519,13 @@ module OvirtSDK4
5830
6519
  writer.write_attribute('href', href) unless href.nil?
5831
6520
  writer.write_attribute('id', object.id) unless object.id.nil?
5832
6521
  Writer.write_integer(writer, 'available', object.available) unless object.available.nil?
6522
+ Writer.write_boolean(writer, 'backup', object.backup) unless object.backup.nil?
6523
+ Writer.write_integer(writer, 'block_size', object.block_size) unless object.block_size.nil?
5833
6524
  Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
5834
6525
  Writer.write_integer(writer, 'committed', object.committed) unless object.committed.nil?
5835
6526
  Writer.write_integer(writer, 'critical_space_action_blocker', object.critical_space_action_blocker) unless object.critical_space_action_blocker.nil?
5836
6527
  Writer.write_string(writer, 'description', object.description) unless object.description.nil?
6528
+ Writer.write_boolean(writer, 'discard_after_delete', object.discard_after_delete) unless object.discard_after_delete.nil?
5837
6529
  Writer.write_string(writer, 'external_status', object.external_status) unless object.external_status.nil?
5838
6530
  Writer.write_boolean(writer, 'import', object.import) unless object.import.nil?
5839
6531
  Writer.write_boolean(writer, 'master', object.master) unless object.master.nil?
@@ -5841,6 +6533,8 @@ module OvirtSDK4
5841
6533
  Writer.write_string(writer, 'status', object.status) unless object.status.nil?
5842
6534
  HostStorageWriter.write_one(object.storage, writer, 'storage') unless object.storage.nil?
5843
6535
  Writer.write_string(writer, 'storage_format', object.storage_format) unless object.storage_format.nil?
6536
+ Writer.write_boolean(writer, 'supports_discard', object.supports_discard) unless object.supports_discard.nil?
6537
+ Writer.write_boolean(writer, 'supports_discard_zeroes_data', object.supports_discard_zeroes_data) unless object.supports_discard_zeroes_data.nil?
5844
6538
  Writer.write_string(writer, 'type', object.type) unless object.type.nil?
5845
6539
  Writer.write_integer(writer, 'used', object.used) unless object.used.nil?
5846
6540
  Writer.write_integer(writer, 'warning_low_space_indicator', object.warning_low_space_indicator) unless object.warning_low_space_indicator.nil?
@@ -5876,7 +6570,93 @@ module OvirtSDK4
5876
6570
 
5877
6571
  end
5878
6572
 
5879
- class TagWriter < Writer # :nodoc:
6573
+ class StorageDomainLeaseWriter < Writer
6574
+
6575
+ def self.write_one(object, writer, singular = nil)
6576
+ singular ||= 'storage_domain_lease'
6577
+ writer.write_start(singular)
6578
+ href = object.href
6579
+ writer.write_attribute('href', href) unless href.nil?
6580
+ StorageDomainWriter.write_one(object.storage_domain, writer, 'storage_domain') unless object.storage_domain.nil?
6581
+ writer.write_end
6582
+ end
6583
+
6584
+ def self.write_many(list, writer, singular = nil, plural = nil)
6585
+ singular ||= 'storage_domain_lease'
6586
+ plural ||= 'storage_domain_leases'
6587
+ writer.write_start(plural)
6588
+ if list.is_a?(List)
6589
+ href = list.href
6590
+ writer.write_attribute('href', href) unless href.nil?
6591
+ end
6592
+ list.each do |item|
6593
+ write_one(item, writer, singular)
6594
+ end
6595
+ writer.write_end
6596
+ end
6597
+
6598
+ end
6599
+
6600
+ class SystemOptionWriter < Writer
6601
+
6602
+ def self.write_one(object, writer, singular = nil)
6603
+ singular ||= 'system_option'
6604
+ writer.write_start(singular)
6605
+ href = object.href
6606
+ writer.write_attribute('href', href) unless href.nil?
6607
+ writer.write_attribute('id', object.id) unless object.id.nil?
6608
+ Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
6609
+ Writer.write_string(writer, 'description', object.description) unless object.description.nil?
6610
+ Writer.write_string(writer, 'name', object.name) unless object.name.nil?
6611
+ SystemOptionValueWriter.write_many(object.values, writer, 'system_option_value', 'values') unless object.values.nil?
6612
+ writer.write_end
6613
+ end
6614
+
6615
+ def self.write_many(list, writer, singular = nil, plural = nil)
6616
+ singular ||= 'system_option'
6617
+ plural ||= 'system_options'
6618
+ writer.write_start(plural)
6619
+ if list.is_a?(List)
6620
+ href = list.href
6621
+ writer.write_attribute('href', href) unless href.nil?
6622
+ end
6623
+ list.each do |item|
6624
+ write_one(item, writer, singular)
6625
+ end
6626
+ writer.write_end
6627
+ end
6628
+
6629
+ end
6630
+
6631
+ class SystemOptionValueWriter < Writer
6632
+
6633
+ def self.write_one(object, writer, singular = nil)
6634
+ singular ||= 'system_option_value'
6635
+ writer.write_start(singular)
6636
+ href = object.href
6637
+ writer.write_attribute('href', href) unless href.nil?
6638
+ Writer.write_string(writer, 'value', object.value) unless object.value.nil?
6639
+ Writer.write_string(writer, 'version', object.version) unless object.version.nil?
6640
+ writer.write_end
6641
+ end
6642
+
6643
+ def self.write_many(list, writer, singular = nil, plural = nil)
6644
+ singular ||= 'system_option_value'
6645
+ plural ||= 'system_option_values'
6646
+ writer.write_start(plural)
6647
+ if list.is_a?(List)
6648
+ href = list.href
6649
+ writer.write_attribute('href', href) unless href.nil?
6650
+ end
6651
+ list.each do |item|
6652
+ write_one(item, writer, singular)
6653
+ end
6654
+ writer.write_end
6655
+ end
6656
+
6657
+ end
6658
+
6659
+ class TagWriter < Writer
5880
6660
 
5881
6661
  def self.write_one(object, writer, singular = nil)
5882
6662
  singular ||= 'tag'
@@ -5912,7 +6692,7 @@ module OvirtSDK4
5912
6692
 
5913
6693
  end
5914
6694
 
5915
- class TemplateWriter < Writer # :nodoc:
6695
+ class TemplateWriter < Writer
5916
6696
 
5917
6697
  def self.write_one(object, writer, singular = nil)
5918
6698
  singular ||= 'template'
@@ -5938,13 +6718,16 @@ module OvirtSDK4
5938
6718
  InitializationWriter.write_one(object.initialization, writer, 'initialization') unless object.initialization.nil?
5939
6719
  IoWriter.write_one(object.io, writer, 'io') unless object.io.nil?
5940
6720
  IconWriter.write_one(object.large_icon, writer, 'large_icon') unless object.large_icon.nil?
6721
+ StorageDomainLeaseWriter.write_one(object.lease, writer, 'lease') unless object.lease.nil?
5941
6722
  Writer.write_integer(writer, 'memory', object.memory) unless object.memory.nil?
5942
6723
  MemoryPolicyWriter.write_one(object.memory_policy, writer, 'memory_policy') unless object.memory_policy.nil?
5943
6724
  MigrationOptionsWriter.write_one(object.migration, writer, 'migration') unless object.migration.nil?
5944
6725
  Writer.write_integer(writer, 'migration_downtime', object.migration_downtime) unless object.migration_downtime.nil?
6726
+ Writer.write_boolean(writer, 'multi_queues_enabled', object.multi_queues_enabled) unless object.multi_queues_enabled.nil?
5945
6727
  Writer.write_string(writer, 'name', object.name) unless object.name.nil?
5946
6728
  Writer.write_string(writer, 'origin', object.origin) unless object.origin.nil?
5947
6729
  OperatingSystemWriter.write_one(object.os, writer, 'os') unless object.os.nil?
6730
+ VmPlacementPolicyWriter.write_one(object.placement_policy, writer, 'placement_policy') unless object.placement_policy.nil?
5948
6731
  RngDeviceWriter.write_one(object.rng_device, writer, 'rng_device') unless object.rng_device.nil?
5949
6732
  SerialNumberWriter.write_one(object.serial_number, writer, 'serial_number') unless object.serial_number.nil?
5950
6733
  IconWriter.write_one(object.small_icon, writer, 'small_icon') unless object.small_icon.nil?
@@ -5953,12 +6736,14 @@ module OvirtSDK4
5953
6736
  Writer.write_boolean(writer, 'start_paused', object.start_paused) unless object.start_paused.nil?
5954
6737
  Writer.write_boolean(writer, 'stateless', object.stateless) unless object.stateless.nil?
5955
6738
  Writer.write_string(writer, 'status', object.status) unless object.status.nil?
6739
+ Writer.write_string(writer, 'storage_error_resume_behaviour', object.storage_error_resume_behaviour) unless object.storage_error_resume_behaviour.nil?
5956
6740
  TimeZoneWriter.write_one(object.time_zone, writer, 'time_zone') unless object.time_zone.nil?
5957
6741
  Writer.write_boolean(writer, 'tunnel_migration', object.tunnel_migration) unless object.tunnel_migration.nil?
5958
6742
  Writer.write_string(writer, 'type', object.type) unless object.type.nil?
5959
6743
  UsbWriter.write_one(object.usb, writer, 'usb') unless object.usb.nil?
5960
6744
  TemplateVersionWriter.write_one(object.version, writer, 'version') unless object.version.nil?
5961
6745
  VirtioScsiWriter.write_one(object.virtio_scsi, writer, 'virtio_scsi') unless object.virtio_scsi.nil?
6746
+ Writer.write_boolean(writer, 'virtio_scsi_multi_queues_enabled', object.virtio_scsi_multi_queues_enabled) unless object.virtio_scsi_multi_queues_enabled.nil?
5962
6747
  VmWriter.write_one(object.vm, writer, 'vm') unless object.vm.nil?
5963
6748
  CdromWriter.write_many(object.cdroms, writer, 'cdrom', 'cdroms') unless object.cdroms.nil?
5964
6749
  ClusterWriter.write_one(object.cluster, writer, 'cluster') unless object.cluster.nil?
@@ -5967,6 +6752,7 @@ module OvirtSDK4
5967
6752
  GraphicsConsoleWriter.write_many(object.graphics_consoles, writer, 'graphics_console', 'graphics_consoles') unless object.graphics_consoles.nil?
5968
6753
  NicWriter.write_many(object.nics, writer, 'nic', 'nics') unless object.nics.nil?
5969
6754
  PermissionWriter.write_many(object.permissions, writer, 'permission', 'permissions') unless object.permissions.nil?
6755
+ QuotaWriter.write_one(object.quota, writer, 'quota') unless object.quota.nil?
5970
6756
  StorageDomainWriter.write_one(object.storage_domain, writer, 'storage_domain') unless object.storage_domain.nil?
5971
6757
  TagWriter.write_many(object.tags, writer, 'tag', 'tags') unless object.tags.nil?
5972
6758
  WatchdogWriter.write_many(object.watchdogs, writer, 'watchdog', 'watchdogs') unless object.watchdogs.nil?
@@ -5989,7 +6775,7 @@ module OvirtSDK4
5989
6775
 
5990
6776
  end
5991
6777
 
5992
- class TemplateVersionWriter < Writer # :nodoc:
6778
+ class TemplateVersionWriter < Writer
5993
6779
 
5994
6780
  def self.write_one(object, writer, singular = nil)
5995
6781
  singular ||= 'template_version'
@@ -6018,7 +6804,7 @@ module OvirtSDK4
6018
6804
 
6019
6805
  end
6020
6806
 
6021
- class TicketWriter < Writer # :nodoc:
6807
+ class TicketWriter < Writer
6022
6808
 
6023
6809
  def self.write_one(object, writer, singular = nil)
6024
6810
  singular ||= 'ticket'
@@ -6046,7 +6832,7 @@ module OvirtSDK4
6046
6832
 
6047
6833
  end
6048
6834
 
6049
- class TimeZoneWriter < Writer # :nodoc:
6835
+ class TimeZoneWriter < Writer
6050
6836
 
6051
6837
  def self.write_one(object, writer, singular = nil)
6052
6838
  singular ||= 'time_zone'
@@ -6074,10 +6860,10 @@ module OvirtSDK4
6074
6860
 
6075
6861
  end
6076
6862
 
6077
- class TransparentHugePagesWriter < Writer # :nodoc:
6863
+ class TransparentHugePagesWriter < Writer
6078
6864
 
6079
6865
  def self.write_one(object, writer, singular = nil)
6080
- singular ||= 'transparent_huge_pages'
6866
+ singular ||= 'transparent_hugepages'
6081
6867
  writer.write_start(singular)
6082
6868
  href = object.href
6083
6869
  writer.write_attribute('href', href) unless href.nil?
@@ -6086,7 +6872,7 @@ module OvirtSDK4
6086
6872
  end
6087
6873
 
6088
6874
  def self.write_many(list, writer, singular = nil, plural = nil)
6089
- singular ||= 'transparent_huge_pages'
6875
+ singular ||= 'transparent_hugepages'
6090
6876
  plural ||= 'transparent_huge_pagess'
6091
6877
  writer.write_start(plural)
6092
6878
  if list.is_a?(List)
@@ -6101,7 +6887,7 @@ module OvirtSDK4
6101
6887
 
6102
6888
  end
6103
6889
 
6104
- class UnmanagedNetworkWriter < Writer # :nodoc:
6890
+ class UnmanagedNetworkWriter < Writer
6105
6891
 
6106
6892
  def self.write_one(object, writer, singular = nil)
6107
6893
  singular ||= 'unmanaged_network'
@@ -6133,7 +6919,7 @@ module OvirtSDK4
6133
6919
 
6134
6920
  end
6135
6921
 
6136
- class UsbWriter < Writer # :nodoc:
6922
+ class UsbWriter < Writer
6137
6923
 
6138
6924
  def self.write_one(object, writer, singular = nil)
6139
6925
  singular ||= 'usb'
@@ -6161,7 +6947,7 @@ module OvirtSDK4
6161
6947
 
6162
6948
  end
6163
6949
 
6164
- class UserWriter < Writer # :nodoc:
6950
+ class UserWriter < Writer
6165
6951
 
6166
6952
  def self.write_one(object, writer, singular = nil)
6167
6953
  singular ||= 'user'
@@ -6181,8 +6967,10 @@ module OvirtSDK4
6181
6967
  Writer.write_string(writer, 'password', object.password) unless object.password.nil?
6182
6968
  Writer.write_string(writer, 'principal', object.principal) unless object.principal.nil?
6183
6969
  Writer.write_string(writer, 'user_name', object.user_name) unless object.user_name.nil?
6970
+ PropertyWriter.write_many(object.user_options, writer, 'property', 'user_options') unless object.user_options.nil?
6184
6971
  DomainWriter.write_one(object.domain, writer, 'domain') unless object.domain.nil?
6185
6972
  GroupWriter.write_many(object.groups, writer, 'group', 'groups') unless object.groups.nil?
6973
+ UserOptionWriter.write_many(object.options, writer, 'user_option', 'options') unless object.options.nil?
6186
6974
  PermissionWriter.write_many(object.permissions, writer, 'permission', 'permissions') unless object.permissions.nil?
6187
6975
  RoleWriter.write_many(object.roles, writer, 'role', 'roles') unless object.roles.nil?
6188
6976
  SshPublicKeyWriter.write_many(object.ssh_public_keys, writer, 'ssh_public_key', 'ssh_public_keys') unless object.ssh_public_keys.nil?
@@ -6206,7 +6994,39 @@ module OvirtSDK4
6206
6994
 
6207
6995
  end
6208
6996
 
6209
- class ValueWriter < Writer # :nodoc:
6997
+ class UserOptionWriter < Writer
6998
+
6999
+ def self.write_one(object, writer, singular = nil)
7000
+ singular ||= 'user_option'
7001
+ writer.write_start(singular)
7002
+ href = object.href
7003
+ writer.write_attribute('href', href) unless href.nil?
7004
+ writer.write_attribute('id', object.id) unless object.id.nil?
7005
+ Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
7006
+ Writer.write_string(writer, 'content', object.content) unless object.content.nil?
7007
+ Writer.write_string(writer, 'description', object.description) unless object.description.nil?
7008
+ Writer.write_string(writer, 'name', object.name) unless object.name.nil?
7009
+ UserWriter.write_one(object.user, writer, 'user') unless object.user.nil?
7010
+ writer.write_end
7011
+ end
7012
+
7013
+ def self.write_many(list, writer, singular = nil, plural = nil)
7014
+ singular ||= 'user_option'
7015
+ plural ||= 'user_options'
7016
+ writer.write_start(plural)
7017
+ if list.is_a?(List)
7018
+ href = list.href
7019
+ writer.write_attribute('href', href) unless href.nil?
7020
+ end
7021
+ list.each do |item|
7022
+ write_one(item, writer, singular)
7023
+ end
7024
+ writer.write_end
7025
+ end
7026
+
7027
+ end
7028
+
7029
+ class ValueWriter < Writer
6210
7030
 
6211
7031
  def self.write_one(object, writer, singular = nil)
6212
7032
  singular ||= 'value'
@@ -6234,7 +7054,7 @@ module OvirtSDK4
6234
7054
 
6235
7055
  end
6236
7056
 
6237
- class VcpuPinWriter < Writer # :nodoc:
7057
+ class VcpuPinWriter < Writer
6238
7058
 
6239
7059
  def self.write_one(object, writer, singular = nil)
6240
7060
  singular ||= 'vcpu_pin'
@@ -6262,7 +7082,7 @@ module OvirtSDK4
6262
7082
 
6263
7083
  end
6264
7084
 
6265
- class VendorWriter < Writer # :nodoc:
7085
+ class VendorWriter < Writer
6266
7086
 
6267
7087
  def self.write_one(object, writer, singular = nil)
6268
7088
  singular ||= 'vendor'
@@ -6292,7 +7112,7 @@ module OvirtSDK4
6292
7112
 
6293
7113
  end
6294
7114
 
6295
- class VersionWriter < Writer # :nodoc:
7115
+ class VersionWriter < Writer
6296
7116
 
6297
7117
  def self.write_one(object, writer, singular = nil)
6298
7118
  singular ||= 'version'
@@ -6327,7 +7147,7 @@ module OvirtSDK4
6327
7147
 
6328
7148
  end
6329
7149
 
6330
- class VirtioScsiWriter < Writer # :nodoc:
7150
+ class VirtioScsiWriter < Writer
6331
7151
 
6332
7152
  def self.write_one(object, writer, singular = nil)
6333
7153
  singular ||= 'virtio_scsi'
@@ -6354,10 +7174,10 @@ module OvirtSDK4
6354
7174
 
6355
7175
  end
6356
7176
 
6357
- class VirtualNumaNodeWriter < Writer # :nodoc:
7177
+ class VirtualNumaNodeWriter < Writer
6358
7178
 
6359
7179
  def self.write_one(object, writer, singular = nil)
6360
- singular ||= 'virtual_numa_node'
7180
+ singular ||= 'vm_numa_node'
6361
7181
  writer.write_start(singular)
6362
7182
  href = object.href
6363
7183
  writer.write_attribute('href', href) unless href.nil?
@@ -6370,6 +7190,7 @@ module OvirtSDK4
6370
7190
  Writer.write_string(writer, 'name', object.name) unless object.name.nil?
6371
7191
  Writer.write_string(writer, 'node_distance', object.node_distance) unless object.node_distance.nil?
6372
7192
  NumaNodePinWriter.write_many(object.numa_node_pins, writer, 'numa_node_pin', 'numa_node_pins') unless object.numa_node_pins.nil?
7193
+ Writer.write_string(writer, 'numa_tune_mode', object.numa_tune_mode) unless object.numa_tune_mode.nil?
6373
7194
  HostWriter.write_one(object.host, writer, 'host') unless object.host.nil?
6374
7195
  StatisticWriter.write_many(object.statistics, writer, 'statistic', 'statistics') unless object.statistics.nil?
6375
7196
  VmWriter.write_one(object.vm, writer, 'vm') unless object.vm.nil?
@@ -6377,8 +7198,8 @@ module OvirtSDK4
6377
7198
  end
6378
7199
 
6379
7200
  def self.write_many(list, writer, singular = nil, plural = nil)
6380
- singular ||= 'virtual_numa_node'
6381
- plural ||= 'virtual_numa_nodes'
7201
+ singular ||= 'vm_numa_node'
7202
+ plural ||= 'vm_numa_nodes'
6382
7203
  writer.write_start(plural)
6383
7204
  if list.is_a?(List)
6384
7205
  href = list.href
@@ -6392,7 +7213,7 @@ module OvirtSDK4
6392
7213
 
6393
7214
  end
6394
7215
 
6395
- class VlanWriter < Writer # :nodoc:
7216
+ class VlanWriter < Writer
6396
7217
 
6397
7218
  def self.write_one(object, writer, singular = nil)
6398
7219
  singular ||= 'vlan'
@@ -6419,7 +7240,7 @@ module OvirtSDK4
6419
7240
 
6420
7241
  end
6421
7242
 
6422
- class VmWriter < Writer # :nodoc:
7243
+ class VmWriter < Writer
6423
7244
 
6424
7245
  def self.write_one(object, writer, singular = nil)
6425
7246
  singular ||= 'vm'
@@ -6444,14 +7265,17 @@ module OvirtSDK4
6444
7265
  Writer.write_string(writer, 'fqdn', object.fqdn) unless object.fqdn.nil?
6445
7266
  GuestOperatingSystemWriter.write_one(object.guest_operating_system, writer, 'guest_operating_system') unless object.guest_operating_system.nil?
6446
7267
  TimeZoneWriter.write_one(object.guest_time_zone, writer, 'guest_time_zone') unless object.guest_time_zone.nil?
7268
+ Writer.write_boolean(writer, 'has_illegal_images', object.has_illegal_images) unless object.has_illegal_images.nil?
6447
7269
  HighAvailabilityWriter.write_one(object.high_availability, writer, 'high_availability') unless object.high_availability.nil?
6448
7270
  InitializationWriter.write_one(object.initialization, writer, 'initialization') unless object.initialization.nil?
6449
7271
  IoWriter.write_one(object.io, writer, 'io') unless object.io.nil?
6450
7272
  IconWriter.write_one(object.large_icon, writer, 'large_icon') unless object.large_icon.nil?
7273
+ StorageDomainLeaseWriter.write_one(object.lease, writer, 'lease') unless object.lease.nil?
6451
7274
  Writer.write_integer(writer, 'memory', object.memory) unless object.memory.nil?
6452
7275
  MemoryPolicyWriter.write_one(object.memory_policy, writer, 'memory_policy') unless object.memory_policy.nil?
6453
7276
  MigrationOptionsWriter.write_one(object.migration, writer, 'migration') unless object.migration.nil?
6454
7277
  Writer.write_integer(writer, 'migration_downtime', object.migration_downtime) unless object.migration_downtime.nil?
7278
+ Writer.write_boolean(writer, 'multi_queues_enabled', object.multi_queues_enabled) unless object.multi_queues_enabled.nil?
6455
7279
  Writer.write_string(writer, 'name', object.name) unless object.name.nil?
6456
7280
  Writer.write_boolean(writer, 'next_run_configuration_exists', object.next_run_configuration_exists) unless object.next_run_configuration_exists.nil?
6457
7281
  Writer.write_string(writer, 'numa_tune_mode', object.numa_tune_mode) unless object.numa_tune_mode.nil?
@@ -6472,12 +7296,14 @@ module OvirtSDK4
6472
7296
  Writer.write_string(writer, 'status_detail', object.status_detail) unless object.status_detail.nil?
6473
7297
  Writer.write_string(writer, 'stop_reason', object.stop_reason) unless object.stop_reason.nil?
6474
7298
  Writer.write_date(writer, 'stop_time', object.stop_time) unless object.stop_time.nil?
7299
+ Writer.write_string(writer, 'storage_error_resume_behaviour', object.storage_error_resume_behaviour) unless object.storage_error_resume_behaviour.nil?
6475
7300
  TimeZoneWriter.write_one(object.time_zone, writer, 'time_zone') unless object.time_zone.nil?
6476
7301
  Writer.write_boolean(writer, 'tunnel_migration', object.tunnel_migration) unless object.tunnel_migration.nil?
6477
7302
  Writer.write_string(writer, 'type', object.type) unless object.type.nil?
6478
7303
  UsbWriter.write_one(object.usb, writer, 'usb') unless object.usb.nil?
6479
7304
  Writer.write_boolean(writer, 'use_latest_template_version', object.use_latest_template_version) unless object.use_latest_template_version.nil?
6480
7305
  VirtioScsiWriter.write_one(object.virtio_scsi, writer, 'virtio_scsi') unless object.virtio_scsi.nil?
7306
+ Writer.write_boolean(writer, 'virtio_scsi_multi_queues_enabled', object.virtio_scsi_multi_queues_enabled) unless object.virtio_scsi_multi_queues_enabled.nil?
6481
7307
  AffinityLabelWriter.write_many(object.affinity_labels, writer, 'affinity_label', 'affinity_labels') unless object.affinity_labels.nil?
6482
7308
  ApplicationWriter.write_many(object.applications, writer, 'application', 'applications') unless object.applications.nil?
6483
7309
  CdromWriter.write_many(object.cdroms, writer, 'cdrom', 'cdroms') unless object.cdroms.nil?
@@ -6493,6 +7319,7 @@ module OvirtSDK4
6493
7319
  KatelloErratumWriter.write_many(object.katello_errata, writer, 'katello_erratum', 'katello_errata') unless object.katello_errata.nil?
6494
7320
  NicWriter.write_many(object.nics, writer, 'nic', 'nics') unless object.nics.nil?
6495
7321
  NumaNodeWriter.write_many(object.numa_nodes, writer, 'host_numa_node', 'host_numa_nodes') unless object.numa_nodes.nil?
7322
+ TemplateWriter.write_one(object.original_template, writer, 'original_template') unless object.original_template.nil?
6496
7323
  PermissionWriter.write_many(object.permissions, writer, 'permission', 'permissions') unless object.permissions.nil?
6497
7324
  QuotaWriter.write_one(object.quota, writer, 'quota') unless object.quota.nil?
6498
7325
  ReportedDeviceWriter.write_many(object.reported_devices, writer, 'reported_device', 'reported_devices') unless object.reported_devices.nil?
@@ -6523,7 +7350,7 @@ module OvirtSDK4
6523
7350
 
6524
7351
  end
6525
7352
 
6526
- class VmBaseWriter < Writer # :nodoc:
7353
+ class VmBaseWriter < Writer
6527
7354
 
6528
7355
  def self.write_one(object, writer, singular = nil)
6529
7356
  singular ||= 'vm_base'
@@ -6549,13 +7376,16 @@ module OvirtSDK4
6549
7376
  InitializationWriter.write_one(object.initialization, writer, 'initialization') unless object.initialization.nil?
6550
7377
  IoWriter.write_one(object.io, writer, 'io') unless object.io.nil?
6551
7378
  IconWriter.write_one(object.large_icon, writer, 'large_icon') unless object.large_icon.nil?
7379
+ StorageDomainLeaseWriter.write_one(object.lease, writer, 'lease') unless object.lease.nil?
6552
7380
  Writer.write_integer(writer, 'memory', object.memory) unless object.memory.nil?
6553
7381
  MemoryPolicyWriter.write_one(object.memory_policy, writer, 'memory_policy') unless object.memory_policy.nil?
6554
7382
  MigrationOptionsWriter.write_one(object.migration, writer, 'migration') unless object.migration.nil?
6555
7383
  Writer.write_integer(writer, 'migration_downtime', object.migration_downtime) unless object.migration_downtime.nil?
7384
+ Writer.write_boolean(writer, 'multi_queues_enabled', object.multi_queues_enabled) unless object.multi_queues_enabled.nil?
6556
7385
  Writer.write_string(writer, 'name', object.name) unless object.name.nil?
6557
7386
  Writer.write_string(writer, 'origin', object.origin) unless object.origin.nil?
6558
7387
  OperatingSystemWriter.write_one(object.os, writer, 'os') unless object.os.nil?
7388
+ VmPlacementPolicyWriter.write_one(object.placement_policy, writer, 'placement_policy') unless object.placement_policy.nil?
6559
7389
  RngDeviceWriter.write_one(object.rng_device, writer, 'rng_device') unless object.rng_device.nil?
6560
7390
  SerialNumberWriter.write_one(object.serial_number, writer, 'serial_number') unless object.serial_number.nil?
6561
7391
  IconWriter.write_one(object.small_icon, writer, 'small_icon') unless object.small_icon.nil?
@@ -6563,13 +7393,16 @@ module OvirtSDK4
6563
7393
  SsoWriter.write_one(object.sso, writer, 'sso') unless object.sso.nil?
6564
7394
  Writer.write_boolean(writer, 'start_paused', object.start_paused) unless object.start_paused.nil?
6565
7395
  Writer.write_boolean(writer, 'stateless', object.stateless) unless object.stateless.nil?
7396
+ Writer.write_string(writer, 'storage_error_resume_behaviour', object.storage_error_resume_behaviour) unless object.storage_error_resume_behaviour.nil?
6566
7397
  TimeZoneWriter.write_one(object.time_zone, writer, 'time_zone') unless object.time_zone.nil?
6567
7398
  Writer.write_boolean(writer, 'tunnel_migration', object.tunnel_migration) unless object.tunnel_migration.nil?
6568
7399
  Writer.write_string(writer, 'type', object.type) unless object.type.nil?
6569
7400
  UsbWriter.write_one(object.usb, writer, 'usb') unless object.usb.nil?
6570
7401
  VirtioScsiWriter.write_one(object.virtio_scsi, writer, 'virtio_scsi') unless object.virtio_scsi.nil?
7402
+ Writer.write_boolean(writer, 'virtio_scsi_multi_queues_enabled', object.virtio_scsi_multi_queues_enabled) unless object.virtio_scsi_multi_queues_enabled.nil?
6571
7403
  ClusterWriter.write_one(object.cluster, writer, 'cluster') unless object.cluster.nil?
6572
7404
  CpuProfileWriter.write_one(object.cpu_profile, writer, 'cpu_profile') unless object.cpu_profile.nil?
7405
+ QuotaWriter.write_one(object.quota, writer, 'quota') unless object.quota.nil?
6573
7406
  StorageDomainWriter.write_one(object.storage_domain, writer, 'storage_domain') unless object.storage_domain.nil?
6574
7407
  writer.write_end
6575
7408
  end
@@ -6590,7 +7423,7 @@ module OvirtSDK4
6590
7423
 
6591
7424
  end
6592
7425
 
6593
- class VmPlacementPolicyWriter < Writer # :nodoc:
7426
+ class VmPlacementPolicyWriter < Writer
6594
7427
 
6595
7428
  def self.write_one(object, writer, singular = nil)
6596
7429
  singular ||= 'vm_placement_policy'
@@ -6618,7 +7451,7 @@ module OvirtSDK4
6618
7451
 
6619
7452
  end
6620
7453
 
6621
- class VmPoolWriter < Writer # :nodoc:
7454
+ class VmPoolWriter < Writer
6622
7455
 
6623
7456
  def self.write_one(object, writer, singular = nil)
6624
7457
  singular ||= 'vm_pool'
@@ -6626,6 +7459,7 @@ module OvirtSDK4
6626
7459
  href = object.href
6627
7460
  writer.write_attribute('href', href) unless href.nil?
6628
7461
  writer.write_attribute('id', object.id) unless object.id.nil?
7462
+ Writer.write_boolean(writer, 'auto_storage_select', object.auto_storage_select) unless object.auto_storage_select.nil?
6629
7463
  Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
6630
7464
  Writer.write_string(writer, 'description', object.description) unless object.description.nil?
6631
7465
  DisplayWriter.write_one(object.display, writer, 'display') unless object.display.nil?
@@ -6662,7 +7496,7 @@ module OvirtSDK4
6662
7496
 
6663
7497
  end
6664
7498
 
6665
- class VmSummaryWriter < Writer # :nodoc:
7499
+ class VmSummaryWriter < Writer
6666
7500
 
6667
7501
  def self.write_one(object, writer, singular = nil)
6668
7502
  singular ||= 'vm_summary'
@@ -6691,7 +7525,7 @@ module OvirtSDK4
6691
7525
 
6692
7526
  end
6693
7527
 
6694
- class VnicPassThroughWriter < Writer # :nodoc:
7528
+ class VnicPassThroughWriter < Writer
6695
7529
 
6696
7530
  def self.write_one(object, writer, singular = nil)
6697
7531
  singular ||= 'vnic_pass_through'
@@ -6718,7 +7552,7 @@ module OvirtSDK4
6718
7552
 
6719
7553
  end
6720
7554
 
6721
- class VnicProfileWriter < Writer # :nodoc:
7555
+ class VnicProfileWriter < Writer
6722
7556
 
6723
7557
  def self.write_one(object, writer, singular = nil)
6724
7558
  singular ||= 'vnic_profile'
@@ -6729,6 +7563,7 @@ module OvirtSDK4
6729
7563
  Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
6730
7564
  CustomPropertyWriter.write_many(object.custom_properties, writer, 'custom_property', 'custom_properties') unless object.custom_properties.nil?
6731
7565
  Writer.write_string(writer, 'description', object.description) unless object.description.nil?
7566
+ Writer.write_boolean(writer, 'migratable', object.migratable) unless object.migratable.nil?
6732
7567
  Writer.write_string(writer, 'name', object.name) unless object.name.nil?
6733
7568
  VnicPassThroughWriter.write_one(object.pass_through, writer, 'pass_through') unless object.pass_through.nil?
6734
7569
  Writer.write_boolean(writer, 'port_mirroring', object.port_mirroring) unless object.port_mirroring.nil?
@@ -6755,7 +7590,36 @@ module OvirtSDK4
6755
7590
 
6756
7591
  end
6757
7592
 
6758
- class VolumeGroupWriter < Writer # :nodoc:
7593
+ class VnicProfileMappingWriter < Writer
7594
+
7595
+ def self.write_one(object, writer, singular = nil)
7596
+ singular ||= 'vnic_profile_mapping'
7597
+ writer.write_start(singular)
7598
+ href = object.href
7599
+ writer.write_attribute('href', href) unless href.nil?
7600
+ Writer.write_string(writer, 'source_network_name', object.source_network_name) unless object.source_network_name.nil?
7601
+ Writer.write_string(writer, 'source_network_profile_name', object.source_network_profile_name) unless object.source_network_profile_name.nil?
7602
+ VnicProfileWriter.write_one(object.target_vnic_profile, writer, 'target_vnic_profile') unless object.target_vnic_profile.nil?
7603
+ writer.write_end
7604
+ end
7605
+
7606
+ def self.write_many(list, writer, singular = nil, plural = nil)
7607
+ singular ||= 'vnic_profile_mapping'
7608
+ plural ||= 'vnic_profile_mappings'
7609
+ writer.write_start(plural)
7610
+ if list.is_a?(List)
7611
+ href = list.href
7612
+ writer.write_attribute('href', href) unless href.nil?
7613
+ end
7614
+ list.each do |item|
7615
+ write_one(item, writer, singular)
7616
+ end
7617
+ writer.write_end
7618
+ end
7619
+
7620
+ end
7621
+
7622
+ class VolumeGroupWriter < Writer
6759
7623
 
6760
7624
  def self.write_one(object, writer, singular = nil)
6761
7625
  singular ||= 'volume_group'
@@ -6784,7 +7648,7 @@ module OvirtSDK4
6784
7648
 
6785
7649
  end
6786
7650
 
6787
- class WatchdogWriter < Writer # :nodoc:
7651
+ class WatchdogWriter < Writer
6788
7652
 
6789
7653
  def self.write_one(object, writer, singular = nil)
6790
7654
  singular ||= 'watchdog'
@@ -6820,7 +7684,7 @@ module OvirtSDK4
6820
7684
 
6821
7685
  end
6822
7686
 
6823
- class WeightWriter < Writer # :nodoc:
7687
+ class WeightWriter < Writer
6824
7688
 
6825
7689
  def self.write_one(object, writer, singular = nil)
6826
7690
  singular ||= 'weight'
@@ -6853,4 +7717,219 @@ module OvirtSDK4
6853
7717
 
6854
7718
  end
6855
7719
 
7720
+ Writer.register(Action, ActionWriter.method(:write_one))
7721
+ Writer.register(AffinityGroup, AffinityGroupWriter.method(:write_one))
7722
+ Writer.register(AffinityLabel, AffinityLabelWriter.method(:write_one))
7723
+ Writer.register(AffinityRule, AffinityRuleWriter.method(:write_one))
7724
+ Writer.register(Agent, AgentWriter.method(:write_one))
7725
+ Writer.register(AgentConfiguration, AgentConfigurationWriter.method(:write_one))
7726
+ Writer.register(Api, ApiWriter.method(:write_one))
7727
+ Writer.register(ApiSummary, ApiSummaryWriter.method(:write_one))
7728
+ Writer.register(ApiSummaryItem, ApiSummaryItemWriter.method(:write_one))
7729
+ Writer.register(Application, ApplicationWriter.method(:write_one))
7730
+ Writer.register(AuthorizedKey, AuthorizedKeyWriter.method(:write_one))
7731
+ Writer.register(Backup, BackupWriter.method(:write_one))
7732
+ Writer.register(Balance, BalanceWriter.method(:write_one))
7733
+ Writer.register(Bios, BiosWriter.method(:write_one))
7734
+ Writer.register(BlockStatistic, BlockStatisticWriter.method(:write_one))
7735
+ Writer.register(Bonding, BondingWriter.method(:write_one))
7736
+ Writer.register(Bookmark, BookmarkWriter.method(:write_one))
7737
+ Writer.register(Boot, BootWriter.method(:write_one))
7738
+ Writer.register(BootMenu, BootMenuWriter.method(:write_one))
7739
+ Writer.register(BrickProfileDetail, BrickProfileDetailWriter.method(:write_one))
7740
+ Writer.register(Cdrom, CdromWriter.method(:write_one))
7741
+ Writer.register(Certificate, CertificateWriter.method(:write_one))
7742
+ Writer.register(Checkpoint, CheckpointWriter.method(:write_one))
7743
+ Writer.register(CloudInit, CloudInitWriter.method(:write_one))
7744
+ Writer.register(Cluster, ClusterWriter.method(:write_one))
7745
+ Writer.register(ClusterFeature, ClusterFeatureWriter.method(:write_one))
7746
+ Writer.register(ClusterLevel, ClusterLevelWriter.method(:write_one))
7747
+ Writer.register(Configuration, ConfigurationWriter.method(:write_one))
7748
+ Writer.register(Console, ConsoleWriter.method(:write_one))
7749
+ Writer.register(Core, CoreWriter.method(:write_one))
7750
+ Writer.register(Cpu, CpuWriter.method(:write_one))
7751
+ Writer.register(CpuProfile, CpuProfileWriter.method(:write_one))
7752
+ Writer.register(CpuTopology, CpuTopologyWriter.method(:write_one))
7753
+ Writer.register(CpuTune, CpuTuneWriter.method(:write_one))
7754
+ Writer.register(CpuType, CpuTypeWriter.method(:write_one))
7755
+ Writer.register(CustomProperty, CustomPropertyWriter.method(:write_one))
7756
+ Writer.register(DataCenter, DataCenterWriter.method(:write_one))
7757
+ Writer.register(Device, DeviceWriter.method(:write_one))
7758
+ Writer.register(Disk, DiskWriter.method(:write_one))
7759
+ Writer.register(DiskAttachment, DiskAttachmentWriter.method(:write_one))
7760
+ Writer.register(DiskProfile, DiskProfileWriter.method(:write_one))
7761
+ Writer.register(DiskSnapshot, DiskSnapshotWriter.method(:write_one))
7762
+ Writer.register(Display, DisplayWriter.method(:write_one))
7763
+ Writer.register(Dns, DnsWriter.method(:write_one))
7764
+ Writer.register(DnsResolverConfiguration, DnsResolverConfigurationWriter.method(:write_one))
7765
+ Writer.register(Domain, DomainWriter.method(:write_one))
7766
+ Writer.register(EntityProfileDetail, EntityProfileDetailWriter.method(:write_one))
7767
+ Writer.register(ErrorHandling, ErrorHandlingWriter.method(:write_one))
7768
+ Writer.register(Event, EventWriter.method(:write_one))
7769
+ Writer.register(EventSubscription, EventSubscriptionWriter.method(:write_one))
7770
+ Writer.register(ExternalComputeResource, ExternalComputeResourceWriter.method(:write_one))
7771
+ Writer.register(ExternalDiscoveredHost, ExternalDiscoveredHostWriter.method(:write_one))
7772
+ Writer.register(ExternalHost, ExternalHostWriter.method(:write_one))
7773
+ Writer.register(ExternalHostGroup, ExternalHostGroupWriter.method(:write_one))
7774
+ Writer.register(ExternalHostProvider, ExternalHostProviderWriter.method(:write_one))
7775
+ Writer.register(ExternalNetworkProviderConfiguration, ExternalNetworkProviderConfigurationWriter.method(:write_one))
7776
+ Writer.register(ExternalProvider, ExternalProviderWriter.method(:write_one))
7777
+ Writer.register(ExternalVmImport, ExternalVmImportWriter.method(:write_one))
7778
+ Writer.register(Fault, FaultWriter.method(:write_one))
7779
+ Writer.register(FencingPolicy, FencingPolicyWriter.method(:write_one))
7780
+ Writer.register(File, FileWriter.method(:write_one))
7781
+ Writer.register(Filter, FilterWriter.method(:write_one))
7782
+ Writer.register(Floppy, FloppyWriter.method(:write_one))
7783
+ Writer.register(FopStatistic, FopStatisticWriter.method(:write_one))
7784
+ Writer.register(GlusterBrick, GlusterBrickWriter.method(:write_one))
7785
+ Writer.register(GlusterBrickAdvancedDetails, GlusterBrickAdvancedDetailsWriter.method(:write_one))
7786
+ Writer.register(GlusterBrickMemoryInfo, GlusterBrickMemoryInfoWriter.method(:write_one))
7787
+ Writer.register(GlusterClient, GlusterClientWriter.method(:write_one))
7788
+ Writer.register(GlusterHook, GlusterHookWriter.method(:write_one))
7789
+ Writer.register(GlusterMemoryPool, GlusterMemoryPoolWriter.method(:write_one))
7790
+ Writer.register(GlusterServerHook, GlusterServerHookWriter.method(:write_one))
7791
+ Writer.register(GlusterVolume, GlusterVolumeWriter.method(:write_one))
7792
+ Writer.register(GlusterVolumeProfileDetails, GlusterVolumeProfileDetailsWriter.method(:write_one))
7793
+ Writer.register(GracePeriod, GracePeriodWriter.method(:write_one))
7794
+ Writer.register(GraphicsConsole, GraphicsConsoleWriter.method(:write_one))
7795
+ Writer.register(Group, GroupWriter.method(:write_one))
7796
+ Writer.register(GuestOperatingSystem, GuestOperatingSystemWriter.method(:write_one))
7797
+ Writer.register(HardwareInformation, HardwareInformationWriter.method(:write_one))
7798
+ Writer.register(HighAvailability, HighAvailabilityWriter.method(:write_one))
7799
+ Writer.register(Hook, HookWriter.method(:write_one))
7800
+ Writer.register(Host, HostWriter.method(:write_one))
7801
+ Writer.register(HostDevice, HostDeviceWriter.method(:write_one))
7802
+ Writer.register(HostDevicePassthrough, HostDevicePassthroughWriter.method(:write_one))
7803
+ Writer.register(HostNic, HostNicWriter.method(:write_one))
7804
+ Writer.register(HostNicVirtualFunctionsConfiguration, HostNicVirtualFunctionsConfigurationWriter.method(:write_one))
7805
+ Writer.register(HostStorage, HostStorageWriter.method(:write_one))
7806
+ Writer.register(HostedEngine, HostedEngineWriter.method(:write_one))
7807
+ Writer.register(Icon, IconWriter.method(:write_one))
7808
+ Writer.register(Identified, IdentifiedWriter.method(:write_one))
7809
+ Writer.register(Image, ImageWriter.method(:write_one))
7810
+ Writer.register(ImageTransfer, ImageTransferWriter.method(:write_one))
7811
+ Writer.register(Initialization, InitializationWriter.method(:write_one))
7812
+ Writer.register(InstanceType, InstanceTypeWriter.method(:write_one))
7813
+ Writer.register(Io, IoWriter.method(:write_one))
7814
+ Writer.register(Ip, IpWriter.method(:write_one))
7815
+ Writer.register(IpAddressAssignment, IpAddressAssignmentWriter.method(:write_one))
7816
+ Writer.register(IscsiBond, IscsiBondWriter.method(:write_one))
7817
+ Writer.register(IscsiDetails, IscsiDetailsWriter.method(:write_one))
7818
+ Writer.register(Job, JobWriter.method(:write_one))
7819
+ Writer.register(KatelloErratum, KatelloErratumWriter.method(:write_one))
7820
+ Writer.register(Kernel, KernelWriter.method(:write_one))
7821
+ Writer.register(Ksm, KsmWriter.method(:write_one))
7822
+ Writer.register(LinkLayerDiscoveryProtocolElement, LinkLayerDiscoveryProtocolElementWriter.method(:write_one))
7823
+ Writer.register(LogicalUnit, LogicalUnitWriter.method(:write_one))
7824
+ Writer.register(MDevType, MDevTypeWriter.method(:write_one))
7825
+ Writer.register(Mac, MacWriter.method(:write_one))
7826
+ Writer.register(MacPool, MacPoolWriter.method(:write_one))
7827
+ Writer.register(MemoryOverCommit, MemoryOverCommitWriter.method(:write_one))
7828
+ Writer.register(MemoryPolicy, MemoryPolicyWriter.method(:write_one))
7829
+ Writer.register(Method, MethodWriter.method(:write_one))
7830
+ Writer.register(MigrationBandwidth, MigrationBandwidthWriter.method(:write_one))
7831
+ Writer.register(MigrationOptions, MigrationOptionsWriter.method(:write_one))
7832
+ Writer.register(MigrationPolicy, MigrationPolicyWriter.method(:write_one))
7833
+ Writer.register(Network, NetworkWriter.method(:write_one))
7834
+ Writer.register(NetworkAttachment, NetworkAttachmentWriter.method(:write_one))
7835
+ Writer.register(NetworkConfiguration, NetworkConfigurationWriter.method(:write_one))
7836
+ Writer.register(NetworkFilter, NetworkFilterWriter.method(:write_one))
7837
+ Writer.register(NetworkFilterParameter, NetworkFilterParameterWriter.method(:write_one))
7838
+ Writer.register(NetworkLabel, NetworkLabelWriter.method(:write_one))
7839
+ Writer.register(NfsProfileDetail, NfsProfileDetailWriter.method(:write_one))
7840
+ Writer.register(Nic, NicWriter.method(:write_one))
7841
+ Writer.register(NicConfiguration, NicConfigurationWriter.method(:write_one))
7842
+ Writer.register(NumaNode, NumaNodeWriter.method(:write_one))
7843
+ Writer.register(NumaNodePin, NumaNodePinWriter.method(:write_one))
7844
+ Writer.register(OpenStackImage, OpenStackImageWriter.method(:write_one))
7845
+ Writer.register(OpenStackImageProvider, OpenStackImageProviderWriter.method(:write_one))
7846
+ Writer.register(OpenStackNetwork, OpenStackNetworkWriter.method(:write_one))
7847
+ Writer.register(OpenStackNetworkProvider, OpenStackNetworkProviderWriter.method(:write_one))
7848
+ Writer.register(OpenStackProvider, OpenStackProviderWriter.method(:write_one))
7849
+ Writer.register(OpenStackSubnet, OpenStackSubnetWriter.method(:write_one))
7850
+ Writer.register(OpenStackVolumeProvider, OpenStackVolumeProviderWriter.method(:write_one))
7851
+ Writer.register(OpenStackVolumeType, OpenStackVolumeTypeWriter.method(:write_one))
7852
+ Writer.register(OpenstackVolumeAuthenticationKey, OpenstackVolumeAuthenticationKeyWriter.method(:write_one))
7853
+ Writer.register(OperatingSystem, OperatingSystemWriter.method(:write_one))
7854
+ Writer.register(OperatingSystemInfo, OperatingSystemInfoWriter.method(:write_one))
7855
+ Writer.register(Option, OptionWriter.method(:write_one))
7856
+ Writer.register(Package, PackageWriter.method(:write_one))
7857
+ Writer.register(Payload, PayloadWriter.method(:write_one))
7858
+ Writer.register(Permission, PermissionWriter.method(:write_one))
7859
+ Writer.register(Permit, PermitWriter.method(:write_one))
7860
+ Writer.register(PmProxy, PmProxyWriter.method(:write_one))
7861
+ Writer.register(PortMirroring, PortMirroringWriter.method(:write_one))
7862
+ Writer.register(PowerManagement, PowerManagementWriter.method(:write_one))
7863
+ Writer.register(Product, ProductWriter.method(:write_one))
7864
+ Writer.register(ProductInfo, ProductInfoWriter.method(:write_one))
7865
+ Writer.register(ProfileDetail, ProfileDetailWriter.method(:write_one))
7866
+ Writer.register(Property, PropertyWriter.method(:write_one))
7867
+ Writer.register(ProxyTicket, ProxyTicketWriter.method(:write_one))
7868
+ Writer.register(Qos, QosWriter.method(:write_one))
7869
+ Writer.register(Quota, QuotaWriter.method(:write_one))
7870
+ Writer.register(QuotaClusterLimit, QuotaClusterLimitWriter.method(:write_one))
7871
+ Writer.register(QuotaStorageLimit, QuotaStorageLimitWriter.method(:write_one))
7872
+ Writer.register(Range, RangeWriter.method(:write_one))
7873
+ Writer.register(Rate, RateWriter.method(:write_one))
7874
+ Writer.register(RegistrationAffinityGroupMapping, RegistrationAffinityGroupMappingWriter.method(:write_one))
7875
+ Writer.register(RegistrationAffinityLabelMapping, RegistrationAffinityLabelMappingWriter.method(:write_one))
7876
+ Writer.register(RegistrationClusterMapping, RegistrationClusterMappingWriter.method(:write_one))
7877
+ Writer.register(RegistrationConfiguration, RegistrationConfigurationWriter.method(:write_one))
7878
+ Writer.register(RegistrationDomainMapping, RegistrationDomainMappingWriter.method(:write_one))
7879
+ Writer.register(RegistrationLunMapping, RegistrationLunMappingWriter.method(:write_one))
7880
+ Writer.register(RegistrationRoleMapping, RegistrationRoleMappingWriter.method(:write_one))
7881
+ Writer.register(RegistrationVnicProfileMapping, RegistrationVnicProfileMappingWriter.method(:write_one))
7882
+ Writer.register(ReportedConfiguration, ReportedConfigurationWriter.method(:write_one))
7883
+ Writer.register(ReportedDevice, ReportedDeviceWriter.method(:write_one))
7884
+ Writer.register(RngDevice, RngDeviceWriter.method(:write_one))
7885
+ Writer.register(Role, RoleWriter.method(:write_one))
7886
+ Writer.register(SchedulingPolicy, SchedulingPolicyWriter.method(:write_one))
7887
+ Writer.register(SchedulingPolicyUnit, SchedulingPolicyUnitWriter.method(:write_one))
7888
+ Writer.register(SeLinux, SeLinuxWriter.method(:write_one))
7889
+ Writer.register(SerialNumber, SerialNumberWriter.method(:write_one))
7890
+ Writer.register(Session, SessionWriter.method(:write_one))
7891
+ Writer.register(SkipIfConnectivityBroken, SkipIfConnectivityBrokenWriter.method(:write_one))
7892
+ Writer.register(SkipIfSdActive, SkipIfSdActiveWriter.method(:write_one))
7893
+ Writer.register(Snapshot, SnapshotWriter.method(:write_one))
7894
+ Writer.register(SpecialObjects, SpecialObjectsWriter.method(:write_one))
7895
+ Writer.register(Spm, SpmWriter.method(:write_one))
7896
+ Writer.register(Ssh, SshWriter.method(:write_one))
7897
+ Writer.register(SshPublicKey, SshPublicKeyWriter.method(:write_one))
7898
+ Writer.register(Sso, SsoWriter.method(:write_one))
7899
+ Writer.register(Statistic, StatisticWriter.method(:write_one))
7900
+ Writer.register(Step, StepWriter.method(:write_one))
7901
+ Writer.register(StorageConnection, StorageConnectionWriter.method(:write_one))
7902
+ Writer.register(StorageConnectionExtension, StorageConnectionExtensionWriter.method(:write_one))
7903
+ Writer.register(StorageDomain, StorageDomainWriter.method(:write_one))
7904
+ Writer.register(StorageDomainLease, StorageDomainLeaseWriter.method(:write_one))
7905
+ Writer.register(SystemOption, SystemOptionWriter.method(:write_one))
7906
+ Writer.register(SystemOptionValue, SystemOptionValueWriter.method(:write_one))
7907
+ Writer.register(Tag, TagWriter.method(:write_one))
7908
+ Writer.register(Template, TemplateWriter.method(:write_one))
7909
+ Writer.register(TemplateVersion, TemplateVersionWriter.method(:write_one))
7910
+ Writer.register(Ticket, TicketWriter.method(:write_one))
7911
+ Writer.register(TimeZone, TimeZoneWriter.method(:write_one))
7912
+ Writer.register(TransparentHugePages, TransparentHugePagesWriter.method(:write_one))
7913
+ Writer.register(UnmanagedNetwork, UnmanagedNetworkWriter.method(:write_one))
7914
+ Writer.register(Usb, UsbWriter.method(:write_one))
7915
+ Writer.register(User, UserWriter.method(:write_one))
7916
+ Writer.register(UserOption, UserOptionWriter.method(:write_one))
7917
+ Writer.register(Value, ValueWriter.method(:write_one))
7918
+ Writer.register(VcpuPin, VcpuPinWriter.method(:write_one))
7919
+ Writer.register(Vendor, VendorWriter.method(:write_one))
7920
+ Writer.register(Version, VersionWriter.method(:write_one))
7921
+ Writer.register(VirtioScsi, VirtioScsiWriter.method(:write_one))
7922
+ Writer.register(VirtualNumaNode, VirtualNumaNodeWriter.method(:write_one))
7923
+ Writer.register(Vlan, VlanWriter.method(:write_one))
7924
+ Writer.register(Vm, VmWriter.method(:write_one))
7925
+ Writer.register(VmBase, VmBaseWriter.method(:write_one))
7926
+ Writer.register(VmPlacementPolicy, VmPlacementPolicyWriter.method(:write_one))
7927
+ Writer.register(VmPool, VmPoolWriter.method(:write_one))
7928
+ Writer.register(VmSummary, VmSummaryWriter.method(:write_one))
7929
+ Writer.register(VnicPassThrough, VnicPassThroughWriter.method(:write_one))
7930
+ Writer.register(VnicProfile, VnicProfileWriter.method(:write_one))
7931
+ Writer.register(VnicProfileMapping, VnicProfileMappingWriter.method(:write_one))
7932
+ Writer.register(VolumeGroup, VolumeGroupWriter.method(:write_one))
7933
+ Writer.register(Watchdog, WatchdogWriter.method(:write_one))
7934
+ Writer.register(Weight, WeightWriter.method(:write_one))
6856
7935
  end