Class: OvirtSDK4::Snapshot

Inherits:
Vm show all
Defined in:
lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb

Instance Method Summary (collapse)

Methods included from Type

#href, #href=

Constructor Details

- (Snapshot) initialize(opts = {})

Creates a new instance of the OvirtSDK4::Snapshot class.

Parameters:

  • opts (Hash) (defaults to: {})

    A hash containing the attributes of the object. The keys of the hash should be symbols corresponding to the names of the attributes. The values of the hash should be the values of the attributes.

Options Hash (opts):

  • :affinity_labels (Array<AffinityLabel>, Array<Hash>)

    The values of attribute affinity_labels.

  • :applications (Array<Application>, Array<Hash>)

    The values of attribute applications.

  • :bios (Bios, Hash)

    The value of attribute bios.

  • :cdroms (Array<Cdrom>, Array<Hash>)

    The values of attribute cdroms.

  • :cluster (Cluster, Hash)

    The value of attribute cluster.

  • :comment (String)

    The value of attribute comment.

  • :console (Console, Hash)

    The value of attribute console.

  • :cpu (Cpu, Hash)

    The value of attribute cpu.

  • :cpu_profile (CpuProfile, Hash)

    The value of attribute cpu_profile.

  • :cpu_shares (Integer)

    The value of attribute cpu_shares.

  • :creation_time (DateTime)

    The value of attribute creation_time.

  • :custom_compatibility_version (Version, Hash)

    The value of attribute custom_compatibility_version.

  • :custom_cpu_model (String)

    The value of attribute custom_cpu_model.

  • :custom_emulated_machine (String)

    The value of attribute custom_emulated_machine.

  • :custom_properties (Array<CustomProperty>, Array<Hash>)

    The values of attribute custom_properties.

  • :date (DateTime)

    The value of attribute date.

  • :delete_protected (Boolean)

    The value of attribute delete_protected.

  • :description (String)

    The value of attribute description.

  • :disk_attachments (Array<DiskAttachment>, Array<Hash>)

    The values of attribute disk_attachments.

  • :disks (Array<Disk>, Array<Hash>)

    The values of attribute disks.

  • :display (Display, Hash)

    The value of attribute display.

  • :domain (Domain, Hash)

    The value of attribute domain.

  • :external_host_provider (ExternalHostProvider, Hash)

    The value of attribute external_host_provider.

  • :floppies (Array<Floppy>, Array<Hash>)

    The values of attribute floppies.

  • :fqdn (String)

    The value of attribute fqdn.

  • :graphics_consoles (Array<GraphicsConsole>, Array<Hash>)

    The values of attribute graphics_consoles.

  • :guest_operating_system (GuestOperatingSystem, Hash)

    The value of attribute guest_operating_system.

  • :guest_time_zone (TimeZone, Hash)

    The value of attribute guest_time_zone.

  • :high_availability (HighAvailability, Hash)

    The value of attribute high_availability.

  • :host (Host, Hash)

    The value of attribute host.

  • :host_devices (Array<HostDevice>, Array<Hash>)

    The values of attribute host_devices.

  • :id (String)

    The value of attribute id.

  • :initialization (Initialization, Hash)

    The value of attribute initialization.

  • :instance_type (InstanceType, Hash)

    The value of attribute instance_type.

  • :io (Io, Hash)

    The value of attribute io.

  • :katello_errata (Array<KatelloErratum>, Array<Hash>)

    The values of attribute katello_errata.

  • :large_icon (Icon, Hash)

    The value of attribute large_icon.

  • :memory (Integer)

    The value of attribute memory.

  • :memory_policy (MemoryPolicy, Hash)

    The value of attribute memory_policy.

  • :migration (MigrationOptions, Hash)

    The value of attribute migration.

  • :migration_downtime (Integer)

    The value of attribute migration_downtime.

  • :name (String)

    The value of attribute name.

  • :next_run_configuration_exists (Boolean)

    The value of attribute next_run_configuration_exists.

  • :nics (Array<Nic>, Array<Hash>)

    The values of attribute nics.

  • :numa_nodes (Array<NumaNode>, Array<Hash>)

    The values of attribute numa_nodes.

  • :numa_tune_mode (NumaTuneMode)

    The value of attribute numa_tune_mode.

  • :origin (String)

    The value of attribute origin.

  • :os (OperatingSystem, Hash)

    The value of attribute os.

  • :payloads (Array<Payload>, Array<Hash>)

    The values of attribute payloads.

  • :permissions (Array<Permission>, Array<Hash>)

    The values of attribute permissions.

  • :persist_memorystate (Boolean)

    The value of attribute persist_memorystate.

  • :placement_policy (VmPlacementPolicy, Hash)

    The value of attribute placement_policy.

  • :quota (Quota, Hash)

    The value of attribute quota.

  • :reported_devices (Array<ReportedDevice>, Array<Hash>)

    The values of attribute reported_devices.

  • :rng_device (RngDevice, Hash)

    The value of attribute rng_device.

  • :run_once (Boolean)

    The value of attribute run_once.

  • :serial_number (SerialNumber, Hash)

    The value of attribute serial_number.

  • :sessions (Array<Session>, Array<Hash>)

    The values of attribute sessions.

  • :small_icon (Icon, Hash)

    The value of attribute small_icon.

  • :snapshot_status (SnapshotStatus)

    The value of attribute snapshot_status.

  • :snapshot_type (SnapshotType)

    The value of attribute snapshot_type.

  • :snapshots (Array<Snapshot>, Array<Hash>)

    The values of attribute snapshots.

  • :soundcard_enabled (Boolean)

    The value of attribute soundcard_enabled.

  • :sso (Sso, Hash)

    The value of attribute sso.

  • :start_paused (Boolean)

    The value of attribute start_paused.

  • :start_time (DateTime)

    The value of attribute start_time.

  • :stateless (Boolean)

    The value of attribute stateless.

  • :statistics (Array<Statistic>, Array<Hash>)

    The values of attribute statistics.

  • :status (VmStatus)

    The value of attribute status.

  • :status_detail (String)

    The value of attribute status_detail.

  • :stop_reason (String)

    The value of attribute stop_reason.

  • :stop_time (DateTime)

    The value of attribute stop_time.

  • :storage_domain (StorageDomain, Hash)

    The value of attribute storage_domain.

  • :tags (Array<Tag>, Array<Hash>)

    The values of attribute tags.

  • :template (Template, Hash)

    The value of attribute template.

  • :time_zone (TimeZone, Hash)

    The value of attribute time_zone.

  • :tunnel_migration (Boolean)

    The value of attribute tunnel_migration.

  • :type (VmType)

    The value of attribute type.

  • :usb (Usb, Hash)

    The value of attribute usb.

  • :use_latest_template_version (Boolean)

    The value of attribute use_latest_template_version.

  • :virtio_scsi (VirtioScsi, Hash)

    The value of attribute virtio_scsi.

  • :vm (Vm, Hash)

    The value of attribute vm.

  • :vm_pool (VmPool, Hash)

    The value of attribute vm_pool.

  • :watchdogs (Array<Watchdog>, Array<Hash>)

    The values of attribute watchdogs.



45410
45411
45412
45413
45414
45415
45416
45417
45418
45419
45420
45421
45422
45423
45424
45425
45426
45427
45428
45429
45430
45431
45432
45433
45434
45435
45436
45437
45438
45439
45440
45441
45442
45443
45444
45445
45446
45447
45448
45449
45450
45451
45452
45453
45454
45455
45456
45457
45458
45459
45460
45461
45462
45463
45464
45465
45466
45467
45468
45469
45470
45471
45472
45473
45474
45475
45476
45477
45478
45479
45480
45481
45482
45483
45484
45485
45486
45487
45488
45489
45490
45491
45492
45493
45494
45495
45496
# File 'lib/ovirtsdk4/types.rb', line 45410

def initialize(opts = {})
  super(opts)
  self.affinity_labels = opts[:affinity_labels]
  self.applications = opts[:applications]
  self.bios = opts[:bios]
  self.cdroms = opts[:cdroms]
  self.cluster = opts[:cluster]
  self.comment = opts[:comment]
  self.console = opts[:console]
  self.cpu = opts[:cpu]
  self.cpu_profile = opts[:cpu_profile]
  self.cpu_shares = opts[:cpu_shares]
  self.creation_time = opts[:creation_time]
  self.custom_compatibility_version = opts[:custom_compatibility_version]
  self.custom_cpu_model = opts[:custom_cpu_model]
  self.custom_emulated_machine = opts[:custom_emulated_machine]
  self.custom_properties = opts[:custom_properties]
  self.date = opts[:date]
  self.delete_protected = opts[:delete_protected]
  self.description = opts[:description]
  self.disk_attachments = opts[:disk_attachments]
  self.disks = opts[:disks]
  self.display = opts[:display]
  self.domain = opts[:domain]
  self.external_host_provider = opts[:external_host_provider]
  self.floppies = opts[:floppies]
  self.fqdn = opts[:fqdn]
  self.graphics_consoles = opts[:graphics_consoles]
  self.guest_operating_system = opts[:guest_operating_system]
  self.guest_time_zone = opts[:guest_time_zone]
  self.high_availability = opts[:high_availability]
  self.host = opts[:host]
  self.host_devices = opts[:host_devices]
  self.id = opts[:id]
  self.initialization = opts[:initialization]
  self.instance_type = opts[:instance_type]
  self.io = opts[:io]
  self.katello_errata = opts[:katello_errata]
  self.large_icon = opts[:large_icon]
  self.memory = opts[:memory]
  self.memory_policy = opts[:memory_policy]
  self.migration = opts[:migration]
  self.migration_downtime = opts[:migration_downtime]
  self.name = opts[:name]
  self.next_run_configuration_exists = opts[:next_run_configuration_exists]
  self.nics = opts[:nics]
  self.numa_nodes = opts[:numa_nodes]
  self.numa_tune_mode = opts[:numa_tune_mode]
  self.origin = opts[:origin]
  self.os = opts[:os]
  self.payloads = opts[:payloads]
  self.permissions = opts[:permissions]
  self.persist_memorystate = opts[:persist_memorystate]
  self.placement_policy = opts[:placement_policy]
  self.quota = opts[:quota]
  self.reported_devices = opts[:reported_devices]
  self.rng_device = opts[:rng_device]
  self.run_once = opts[:run_once]
  self.serial_number = opts[:serial_number]
  self.sessions = opts[:sessions]
  self.small_icon = opts[:small_icon]
  self.snapshot_status = opts[:snapshot_status]
  self.snapshot_type = opts[:snapshot_type]
  self.snapshots = opts[:snapshots]
  self.soundcard_enabled = opts[:soundcard_enabled]
  self.sso = opts[:sso]
  self.start_paused = opts[:start_paused]
  self.start_time = opts[:start_time]
  self.stateless = opts[:stateless]
  self.statistics = opts[:statistics]
  self.status = opts[:status]
  self.status_detail = opts[:status_detail]
  self.stop_reason = opts[:stop_reason]
  self.stop_time = opts[:stop_time]
  self.storage_domain = opts[:storage_domain]
  self.tags = opts[:tags]
  self.template = opts[:template]
  self.time_zone = opts[:time_zone]
  self.tunnel_migration = opts[:tunnel_migration]
  self.type = opts[:type]
  self.usb = opts[:usb]
  self.use_latest_template_version = opts[:use_latest_template_version]
  self.virtio_scsi = opts[:virtio_scsi]
  self.vm = opts[:vm]
  self.vm_pool = opts[:vm_pool]
  self.watchdogs = opts[:watchdogs]
end

Instance Method Details

- (Array<AffinityLabel>) affinity_labels

Returns the value of the affinity_labels attribute.

Returns:



43356
43357
43358
# File 'lib/ovirtsdk4/types.rb', line 43356

def affinity_labels
  return @affinity_labels
end

- (Object) affinity_labels=(list)

Sets the value of the affinity_labels attribute.

Parameters:



43364
43365
43366
43367
43368
43369
43370
43371
43372
43373
43374
# File 'lib/ovirtsdk4/types.rb', line 43364

def affinity_labels=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = AffinityLabel.new(value)
      end
    end
  end
  @affinity_labels = list
end

- (Array<Application>) applications

Returns the value of the applications attribute.

Returns:



43381
43382
43383
# File 'lib/ovirtsdk4/types.rb', line 43381

def applications
  return @applications
end

- (Object) applications=(list)

Sets the value of the applications attribute.

Parameters:



43389
43390
43391
43392
43393
43394
43395
43396
43397
43398
43399
# File 'lib/ovirtsdk4/types.rb', line 43389

def applications=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = Application.new(value)
      end
    end
  end
  @applications = list
end

- (Bios) bios

Returns the value of the bios attribute.

Returns:



43406
43407
43408
# File 'lib/ovirtsdk4/types.rb', line 43406

def bios
  return @bios
end

- (Object) bios=(value)

Sets the value of the bios attribute.

The value parameter can be an instance of Bios or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:

  • value (Bios, Hash)


43419
43420
43421
43422
43423
43424
# File 'lib/ovirtsdk4/types.rb', line 43419

def bios=(value)
  if value.is_a?(Hash)
    value = Bios.new(value)
  end
  @bios = value
end

- (Array<Cdrom>) cdroms

Returns the value of the cdroms attribute.

Returns:



43431
43432
43433
# File 'lib/ovirtsdk4/types.rb', line 43431

def cdroms
  return @cdroms
end

- (Object) cdroms=(list)

Sets the value of the cdroms attribute.

Parameters:



43439
43440
43441
43442
43443
43444
43445
43446
43447
43448
43449
# File 'lib/ovirtsdk4/types.rb', line 43439

def cdroms=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = Cdrom.new(value)
      end
    end
  end
  @cdroms = list
end

- (Cluster) cluster

Returns the value of the cluster attribute.

Returns:



43456
43457
43458
# File 'lib/ovirtsdk4/types.rb', line 43456

def cluster
  return @cluster
end

- (Object) cluster=(value)

Sets the value of the cluster attribute.

The value parameter can be an instance of Cluster or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:



43469
43470
43471
43472
43473
43474
# File 'lib/ovirtsdk4/types.rb', line 43469

def cluster=(value)
  if value.is_a?(Hash)
    value = Cluster.new(value)
  end
  @cluster = value
end

- (String) comment

Returns the value of the comment attribute.

Returns:

  • (String)


43481
43482
43483
# File 'lib/ovirtsdk4/types.rb', line 43481

def comment
  return @comment
end

- (Object) comment=(value)

Sets the value of the comment attribute.

Parameters:

  • value (String)


43490
43491
43492
# File 'lib/ovirtsdk4/types.rb', line 43490

def comment=(value)
  @comment = value
end

- (Console) console

Returns the value of the console attribute.

Returns:



43499
43500
43501
# File 'lib/ovirtsdk4/types.rb', line 43499

def console
  return @console
end

- (Object) console=(value)

Sets the value of the console attribute.

The value parameter can be an instance of Console or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:



43512
43513
43514
43515
43516
43517
# File 'lib/ovirtsdk4/types.rb', line 43512

def console=(value)
  if value.is_a?(Hash)
    value = Console.new(value)
  end
  @console = value
end

- (Cpu) cpu

Returns the value of the cpu attribute.

Returns:



43524
43525
43526
# File 'lib/ovirtsdk4/types.rb', line 43524

def cpu
  return @cpu
end

- (Object) cpu=(value)

Sets the value of the cpu attribute.

The value parameter can be an instance of Cpu or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:

  • value (Cpu, Hash)


43537
43538
43539
43540
43541
43542
# File 'lib/ovirtsdk4/types.rb', line 43537

def cpu=(value)
  if value.is_a?(Hash)
    value = Cpu.new(value)
  end
  @cpu = value
end

- (CpuProfile) cpu_profile

Returns the value of the cpu_profile attribute.

Returns:



43549
43550
43551
# File 'lib/ovirtsdk4/types.rb', line 43549

def cpu_profile
  return @cpu_profile
end

- (Object) cpu_profile=(value)

Sets the value of the cpu_profile attribute.

The value parameter can be an instance of CpuProfile or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:



43562
43563
43564
43565
43566
43567
# File 'lib/ovirtsdk4/types.rb', line 43562

def cpu_profile=(value)
  if value.is_a?(Hash)
    value = CpuProfile.new(value)
  end
  @cpu_profile = value
end

- (Integer) cpu_shares

Returns the value of the cpu_shares attribute.

Returns:

  • (Integer)


43574
43575
43576
# File 'lib/ovirtsdk4/types.rb', line 43574

def cpu_shares
  return @cpu_shares
end

- (Object) cpu_shares=(value)

Sets the value of the cpu_shares attribute.

Parameters:

  • value (Integer)


43583
43584
43585
# File 'lib/ovirtsdk4/types.rb', line 43583

def cpu_shares=(value)
  @cpu_shares = value
end

- (DateTime) creation_time

Returns the value of the creation_time attribute.

Returns:

  • (DateTime)


43592
43593
43594
# File 'lib/ovirtsdk4/types.rb', line 43592

def creation_time
  return @creation_time
end

- (Object) creation_time=(value)

Sets the value of the creation_time attribute.

Parameters:

  • value (DateTime)


43601
43602
43603
# File 'lib/ovirtsdk4/types.rb', line 43601

def creation_time=(value)
  @creation_time = value
end

- (Version) custom_compatibility_version

Returns the value of the custom_compatibility_version attribute.

Returns:



43610
43611
43612
# File 'lib/ovirtsdk4/types.rb', line 43610

def custom_compatibility_version
  return @custom_compatibility_version
end

- (Object) custom_compatibility_version=(value)

Sets the value of the custom_compatibility_version attribute.

The value parameter can be an instance of Version or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:



43623
43624
43625
43626
43627
43628
# File 'lib/ovirtsdk4/types.rb', line 43623

def custom_compatibility_version=(value)
  if value.is_a?(Hash)
    value = Version.new(value)
  end
  @custom_compatibility_version = value
end

- (String) custom_cpu_model

Returns the value of the custom_cpu_model attribute.

Returns:

  • (String)


43635
43636
43637
# File 'lib/ovirtsdk4/types.rb', line 43635

def custom_cpu_model
  return @custom_cpu_model
end

- (Object) custom_cpu_model=(value)

Sets the value of the custom_cpu_model attribute.

Parameters:

  • value (String)


43644
43645
43646
# File 'lib/ovirtsdk4/types.rb', line 43644

def custom_cpu_model=(value)
  @custom_cpu_model = value
end

- (String) custom_emulated_machine

Returns the value of the custom_emulated_machine attribute.

Returns:

  • (String)


43653
43654
43655
# File 'lib/ovirtsdk4/types.rb', line 43653

def custom_emulated_machine
  return @custom_emulated_machine
end

- (Object) custom_emulated_machine=(value)

Sets the value of the custom_emulated_machine attribute.

Parameters:

  • value (String)


43662
43663
43664
# File 'lib/ovirtsdk4/types.rb', line 43662

def custom_emulated_machine=(value)
  @custom_emulated_machine = value
end

- (Array<CustomProperty>) custom_properties

Returns the value of the custom_properties attribute.

Returns:



43671
43672
43673
# File 'lib/ovirtsdk4/types.rb', line 43671

def custom_properties
  return @custom_properties
end

- (Object) custom_properties=(list)

Sets the value of the custom_properties attribute.

Parameters:



43679
43680
43681
43682
43683
43684
43685
43686
43687
43688
43689
# File 'lib/ovirtsdk4/types.rb', line 43679

def custom_properties=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = CustomProperty.new(value)
      end
    end
  end
  @custom_properties = list
end

- (DateTime) date

Returns the value of the date attribute.

Returns:

  • (DateTime)


43696
43697
43698
# File 'lib/ovirtsdk4/types.rb', line 43696

def date
  return @date
end

- (Object) date=(value)

Sets the value of the date attribute.

Parameters:

  • value (DateTime)


43705
43706
43707
# File 'lib/ovirtsdk4/types.rb', line 43705

def date=(value)
  @date = value
end

- (Boolean) delete_protected

Returns the value of the delete_protected attribute.

Returns:

  • (Boolean)


43714
43715
43716
# File 'lib/ovirtsdk4/types.rb', line 43714

def delete_protected
  return @delete_protected
end

- (Object) delete_protected=(value)

Sets the value of the delete_protected attribute.

Parameters:

  • value (Boolean)


43723
43724
43725
# File 'lib/ovirtsdk4/types.rb', line 43723

def delete_protected=(value)
  @delete_protected = value
end

- (String) description

Returns the value of the description attribute.

Returns:

  • (String)


43732
43733
43734
# File 'lib/ovirtsdk4/types.rb', line 43732

def description
  return @description
end

- (Object) description=(value)

Sets the value of the description attribute.

Parameters:

  • value (String)


43741
43742
43743
# File 'lib/ovirtsdk4/types.rb', line 43741

def description=(value)
  @description = value
end

- (Array<DiskAttachment>) disk_attachments

Returns the value of the disk_attachments attribute.

Returns:



43750
43751
43752
# File 'lib/ovirtsdk4/types.rb', line 43750

def disk_attachments
  return @disk_attachments
end

- (Object) disk_attachments=(list)

Sets the value of the disk_attachments attribute.

Parameters:



43758
43759
43760
43761
43762
43763
43764
43765
43766
43767
43768
# File 'lib/ovirtsdk4/types.rb', line 43758

def disk_attachments=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = DiskAttachment.new(value)
      end
    end
  end
  @disk_attachments = list
end

- (Array<Disk>) disks

Returns the value of the disks attribute.

Returns:



43775
43776
43777
# File 'lib/ovirtsdk4/types.rb', line 43775

def disks
  return @disks
end

- (Object) disks=(list)

Sets the value of the disks attribute.

Parameters:

  • list (Array<Disk>)


43783
43784
43785
43786
43787
43788
43789
43790
43791
43792
43793
# File 'lib/ovirtsdk4/types.rb', line 43783

def disks=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = Disk.new(value)
      end
    end
  end
  @disks = list
end

- (Display) display

Returns the value of the display attribute.

Returns:



43800
43801
43802
# File 'lib/ovirtsdk4/types.rb', line 43800

def display
  return @display
end

- (Object) display=(value)

Sets the value of the display attribute.

The value parameter can be an instance of Display or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:



43813
43814
43815
43816
43817
43818
# File 'lib/ovirtsdk4/types.rb', line 43813

def display=(value)
  if value.is_a?(Hash)
    value = Display.new(value)
  end
  @display = value
end

- (Domain) domain

Returns the value of the domain attribute.

Returns:



43825
43826
43827
# File 'lib/ovirtsdk4/types.rb', line 43825

def domain
  return @domain
end

- (Object) domain=(value)

Sets the value of the domain attribute.

The value parameter can be an instance of Domain or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:



43838
43839
43840
43841
43842
43843
# File 'lib/ovirtsdk4/types.rb', line 43838

def domain=(value)
  if value.is_a?(Hash)
    value = Domain.new(value)
  end
  @domain = value
end

- (ExternalHostProvider) external_host_provider

Returns the value of the external_host_provider attribute.



43850
43851
43852
# File 'lib/ovirtsdk4/types.rb', line 43850

def external_host_provider
  return @external_host_provider
end

- (Object) external_host_provider=(value)

Sets the value of the external_host_provider attribute.

The value parameter can be an instance of ExternalHostProvider or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:



43863
43864
43865
43866
43867
43868
# File 'lib/ovirtsdk4/types.rb', line 43863

def external_host_provider=(value)
  if value.is_a?(Hash)
    value = ExternalHostProvider.new(value)
  end
  @external_host_provider = value
end

- (Array<Floppy>) floppies

Returns the value of the floppies attribute.

Returns:



43875
43876
43877
# File 'lib/ovirtsdk4/types.rb', line 43875

def floppies
  return @floppies
end

- (Object) floppies=(list)

Sets the value of the floppies attribute.

Parameters:



43883
43884
43885
43886
43887
43888
43889
43890
43891
43892
43893
# File 'lib/ovirtsdk4/types.rb', line 43883

def floppies=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = Floppy.new(value)
      end
    end
  end
  @floppies = list
end

- (String) fqdn

Returns the value of the fqdn attribute.

Returns:

  • (String)


43900
43901
43902
# File 'lib/ovirtsdk4/types.rb', line 43900

def fqdn
  return @fqdn
end

- (Object) fqdn=(value)

Sets the value of the fqdn attribute.

Parameters:

  • value (String)


43909
43910
43911
# File 'lib/ovirtsdk4/types.rb', line 43909

def fqdn=(value)
  @fqdn = value
end

- (Array<GraphicsConsole>) graphics_consoles

Returns the value of the graphics_consoles attribute.

Returns:



43918
43919
43920
# File 'lib/ovirtsdk4/types.rb', line 43918

def graphics_consoles
  return @graphics_consoles
end

- (Object) graphics_consoles=(list)

Sets the value of the graphics_consoles attribute.

Parameters:



43926
43927
43928
43929
43930
43931
43932
43933
43934
43935
43936
# File 'lib/ovirtsdk4/types.rb', line 43926

def graphics_consoles=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = GraphicsConsole.new(value)
      end
    end
  end
  @graphics_consoles = list
end

- (GuestOperatingSystem) guest_operating_system

Returns the value of the guest_operating_system attribute.



43943
43944
43945
# File 'lib/ovirtsdk4/types.rb', line 43943

def guest_operating_system
  return @guest_operating_system
end

- (Object) guest_operating_system=(value)

Sets the value of the guest_operating_system attribute.

The value parameter can be an instance of GuestOperatingSystem or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:



43956
43957
43958
43959
43960
43961
# File 'lib/ovirtsdk4/types.rb', line 43956

def guest_operating_system=(value)
  if value.is_a?(Hash)
    value = GuestOperatingSystem.new(value)
  end
  @guest_operating_system = value
end

- (TimeZone) guest_time_zone

Returns the value of the guest_time_zone attribute.

Returns:



43968
43969
43970
# File 'lib/ovirtsdk4/types.rb', line 43968

def guest_time_zone
  return @guest_time_zone
end

- (Object) guest_time_zone=(value)

Sets the value of the guest_time_zone attribute.

The value parameter can be an instance of TimeZone or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:



43981
43982
43983
43984
43985
43986
# File 'lib/ovirtsdk4/types.rb', line 43981

def guest_time_zone=(value)
  if value.is_a?(Hash)
    value = TimeZone.new(value)
  end
  @guest_time_zone = value
end

- (HighAvailability) high_availability

Returns the value of the high_availability attribute.

Returns:



43993
43994
43995
# File 'lib/ovirtsdk4/types.rb', line 43993

def high_availability
  return @high_availability
end

- (Object) high_availability=(value)

Sets the value of the high_availability attribute.

The value parameter can be an instance of HighAvailability or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:



44006
44007
44008
44009
44010
44011
# File 'lib/ovirtsdk4/types.rb', line 44006

def high_availability=(value)
  if value.is_a?(Hash)
    value = HighAvailability.new(value)
  end
  @high_availability = value
end

- (Host) host

Returns the value of the host attribute.

Returns:



44018
44019
44020
# File 'lib/ovirtsdk4/types.rb', line 44018

def host
  return @host
end

- (Object) host=(value)

Sets the value of the host attribute.

The value parameter can be an instance of Host or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:

  • value (Host, Hash)


44031
44032
44033
44034
44035
44036
# File 'lib/ovirtsdk4/types.rb', line 44031

def host=(value)
  if value.is_a?(Hash)
    value = Host.new(value)
  end
  @host = value
end

- (Array<HostDevice>) host_devices

Returns the value of the host_devices attribute.

Returns:



44043
44044
44045
# File 'lib/ovirtsdk4/types.rb', line 44043

def host_devices
  return @host_devices
end

- (Object) host_devices=(list)

Sets the value of the host_devices attribute.

Parameters:



44051
44052
44053
44054
44055
44056
44057
44058
44059
44060
44061
# File 'lib/ovirtsdk4/types.rb', line 44051

def host_devices=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = HostDevice.new(value)
      end
    end
  end
  @host_devices = list
end

- (String) id

Returns the value of the id attribute.

Returns:

  • (String)


44068
44069
44070
# File 'lib/ovirtsdk4/types.rb', line 44068

def id
  return @id
end

- (Object) id=(value)

Sets the value of the id attribute.

Parameters:

  • value (String)


44077
44078
44079
# File 'lib/ovirtsdk4/types.rb', line 44077

def id=(value)
  @id = value
end

- (Initialization) initialization

Returns the value of the initialization attribute.

Returns:



44086
44087
44088
# File 'lib/ovirtsdk4/types.rb', line 44086

def initialization
  return @initialization
end

- (Object) initialization=(value)

Sets the value of the initialization attribute.

The value parameter can be an instance of Initialization or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:



44099
44100
44101
44102
44103
44104
# File 'lib/ovirtsdk4/types.rb', line 44099

def initialization=(value)
  if value.is_a?(Hash)
    value = Initialization.new(value)
  end
  @initialization = value
end

- (InstanceType) instance_type

Returns the value of the instance_type attribute.

Returns:



44111
44112
44113
# File 'lib/ovirtsdk4/types.rb', line 44111

def instance_type
  return @instance_type
end

- (Object) instance_type=(value)

Sets the value of the instance_type attribute.

The value parameter can be an instance of InstanceType or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:



44124
44125
44126
44127
44128
44129
# File 'lib/ovirtsdk4/types.rb', line 44124

def instance_type=(value)
  if value.is_a?(Hash)
    value = InstanceType.new(value)
  end
  @instance_type = value
end

- (Io) io

Returns the value of the io attribute.

Returns:



44136
44137
44138
# File 'lib/ovirtsdk4/types.rb', line 44136

def io
  return @io
end

- (Object) io=(value)

Sets the value of the io attribute.

The value parameter can be an instance of Io or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:

  • value (Io, Hash)


44149
44150
44151
44152
44153
44154
# File 'lib/ovirtsdk4/types.rb', line 44149

def io=(value)
  if value.is_a?(Hash)
    value = Io.new(value)
  end
  @io = value
end

- (Array<KatelloErratum>) katello_errata

Returns the value of the katello_errata attribute.

Returns:



44161
44162
44163
# File 'lib/ovirtsdk4/types.rb', line 44161

def katello_errata
  return @katello_errata
end

- (Object) katello_errata=(list)

Sets the value of the katello_errata attribute.

Parameters:



44169
44170
44171
44172
44173
44174
44175
44176
44177
44178
44179
# File 'lib/ovirtsdk4/types.rb', line 44169

def katello_errata=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = KatelloErratum.new(value)
      end
    end
  end
  @katello_errata = list
end

- (Icon) large_icon

Returns the value of the large_icon attribute.

Returns:



44186
44187
44188
# File 'lib/ovirtsdk4/types.rb', line 44186

def large_icon
  return @large_icon
end

- (Object) large_icon=(value)

Sets the value of the large_icon attribute.

The value parameter can be an instance of Icon or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:

  • value (Icon, Hash)


44199
44200
44201
44202
44203
44204
# File 'lib/ovirtsdk4/types.rb', line 44199

def large_icon=(value)
  if value.is_a?(Hash)
    value = Icon.new(value)
  end
  @large_icon = value
end

- (Integer) memory

Returns the value of the memory attribute.

Returns:

  • (Integer)


44211
44212
44213
# File 'lib/ovirtsdk4/types.rb', line 44211

def memory
  return @memory
end

- (Object) memory=(value)

Sets the value of the memory attribute.

Parameters:

  • value (Integer)


44220
44221
44222
# File 'lib/ovirtsdk4/types.rb', line 44220

def memory=(value)
  @memory = value
end

- (MemoryPolicy) memory_policy

Returns the value of the memory_policy attribute.

Returns:



44229
44230
44231
# File 'lib/ovirtsdk4/types.rb', line 44229

def memory_policy
  return @memory_policy
end

- (Object) memory_policy=(value)

Sets the value of the memory_policy attribute.

The value parameter can be an instance of MemoryPolicy or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:



44242
44243
44244
44245
44246
44247
# File 'lib/ovirtsdk4/types.rb', line 44242

def memory_policy=(value)
  if value.is_a?(Hash)
    value = MemoryPolicy.new(value)
  end
  @memory_policy = value
end

- (MigrationOptions) migration

Returns the value of the migration attribute.

Returns:



44254
44255
44256
# File 'lib/ovirtsdk4/types.rb', line 44254

def migration
  return @migration
end

- (Object) migration=(value)

Sets the value of the migration attribute.

The value parameter can be an instance of MigrationOptions or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:



44267
44268
44269
44270
44271
44272
# File 'lib/ovirtsdk4/types.rb', line 44267

def migration=(value)
  if value.is_a?(Hash)
    value = MigrationOptions.new(value)
  end
  @migration = value
end

- (Integer) migration_downtime

Returns the value of the migration_downtime attribute.

Returns:

  • (Integer)


44279
44280
44281
# File 'lib/ovirtsdk4/types.rb', line 44279

def migration_downtime
  return @migration_downtime
end

- (Object) migration_downtime=(value)

Sets the value of the migration_downtime attribute.

Parameters:

  • value (Integer)


44288
44289
44290
# File 'lib/ovirtsdk4/types.rb', line 44288

def migration_downtime=(value)
  @migration_downtime = value
end

- (String) name

Returns the value of the name attribute.

Returns:

  • (String)


44297
44298
44299
# File 'lib/ovirtsdk4/types.rb', line 44297

def name
  return @name
end

- (Object) name=(value)

Sets the value of the name attribute.

Parameters:

  • value (String)


44306
44307
44308
# File 'lib/ovirtsdk4/types.rb', line 44306

def name=(value)
  @name = value
end

- (Boolean) next_run_configuration_exists

Returns the value of the next_run_configuration_exists attribute.

Returns:

  • (Boolean)


44315
44316
44317
# File 'lib/ovirtsdk4/types.rb', line 44315

def next_run_configuration_exists
  return @next_run_configuration_exists
end

- (Object) next_run_configuration_exists=(value)

Sets the value of the next_run_configuration_exists attribute.

Parameters:

  • value (Boolean)


44324
44325
44326
# File 'lib/ovirtsdk4/types.rb', line 44324

def next_run_configuration_exists=(value)
  @next_run_configuration_exists = value
end

- (Array<Nic>) nics

Returns the value of the nics attribute.

Returns:



44333
44334
44335
# File 'lib/ovirtsdk4/types.rb', line 44333

def nics
  return @nics
end

- (Object) nics=(list)

Sets the value of the nics attribute.

Parameters:

  • list (Array<Nic>)


44341
44342
44343
44344
44345
44346
44347
44348
44349
44350
44351
# File 'lib/ovirtsdk4/types.rb', line 44341

def nics=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = Nic.new(value)
      end
    end
  end
  @nics = list
end

- (Array<NumaNode>) numa_nodes

Returns the value of the numa_nodes attribute.

Returns:



44358
44359
44360
# File 'lib/ovirtsdk4/types.rb', line 44358

def numa_nodes
  return @numa_nodes
end

- (Object) numa_nodes=(list)

Sets the value of the numa_nodes attribute.

Parameters:



44366
44367
44368
44369
44370
44371
44372
44373
44374
44375
44376
# File 'lib/ovirtsdk4/types.rb', line 44366

def numa_nodes=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = NumaNode.new(value)
      end
    end
  end
  @numa_nodes = list
end

- (NumaTuneMode) numa_tune_mode

Returns the value of the numa_tune_mode attribute.

Returns:



44383
44384
44385
# File 'lib/ovirtsdk4/types.rb', line 44383

def numa_tune_mode
  return @numa_tune_mode
end

- (Object) numa_tune_mode=(value)

Sets the value of the numa_tune_mode attribute.

Parameters:



44392
44393
44394
# File 'lib/ovirtsdk4/types.rb', line 44392

def numa_tune_mode=(value)
  @numa_tune_mode = value
end

- (String) origin

Returns the value of the origin attribute.

Returns:

  • (String)


44401
44402
44403
# File 'lib/ovirtsdk4/types.rb', line 44401

def origin
  return @origin
end

- (Object) origin=(value)

Sets the value of the origin attribute.

Parameters:

  • value (String)


44410
44411
44412
# File 'lib/ovirtsdk4/types.rb', line 44410

def origin=(value)
  @origin = value
end

- (OperatingSystem) os

Returns the value of the os attribute.

Returns:



44419
44420
44421
# File 'lib/ovirtsdk4/types.rb', line 44419

def os
  return @os
end

- (Object) os=(value)

Sets the value of the os attribute.

The value parameter can be an instance of OperatingSystem or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:



44432
44433
44434
44435
44436
44437
# File 'lib/ovirtsdk4/types.rb', line 44432

def os=(value)
  if value.is_a?(Hash)
    value = OperatingSystem.new(value)
  end
  @os = value
end

- (Array<Payload>) payloads

Returns the value of the payloads attribute.

Returns:



44444
44445
44446
# File 'lib/ovirtsdk4/types.rb', line 44444

def payloads
  return @payloads
end

- (Object) payloads=(list)

Sets the value of the payloads attribute.

Parameters:



44452
44453
44454
44455
44456
44457
44458
44459
44460
44461
44462
# File 'lib/ovirtsdk4/types.rb', line 44452

def payloads=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = Payload.new(value)
      end
    end
  end
  @payloads = list
end

- (Array<Permission>) permissions

Returns the value of the permissions attribute.

Returns:



44469
44470
44471
# File 'lib/ovirtsdk4/types.rb', line 44469

def permissions
  return @permissions
end

- (Object) permissions=(list)

Sets the value of the permissions attribute.

Parameters:



44477
44478
44479
44480
44481
44482
44483
44484
44485
44486
44487
# File 'lib/ovirtsdk4/types.rb', line 44477

def permissions=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = Permission.new(value)
      end
    end
  end
  @permissions = list
end

- (Boolean) persist_memorystate

Returns the value of the persist_memorystate attribute.

Returns:

  • (Boolean)


44494
44495
44496
# File 'lib/ovirtsdk4/types.rb', line 44494

def persist_memorystate
  return @persist_memorystate
end

- (Object) persist_memorystate=(value)

Sets the value of the persist_memorystate attribute.

Parameters:

  • value (Boolean)


44503
44504
44505
# File 'lib/ovirtsdk4/types.rb', line 44503

def persist_memorystate=(value)
  @persist_memorystate = value
end

- (VmPlacementPolicy) placement_policy

Returns the value of the placement_policy attribute.

Returns:



44512
44513
44514
# File 'lib/ovirtsdk4/types.rb', line 44512

def placement_policy
  return @placement_policy
end

- (Object) placement_policy=(value)

Sets the value of the placement_policy attribute.

The value parameter can be an instance of VmPlacementPolicy or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:



44525
44526
44527
44528
44529
44530
# File 'lib/ovirtsdk4/types.rb', line 44525

def placement_policy=(value)
  if value.is_a?(Hash)
    value = VmPlacementPolicy.new(value)
  end
  @placement_policy = value
end

- (Quota) quota

Returns the value of the quota attribute.

Returns:



44537
44538
44539
# File 'lib/ovirtsdk4/types.rb', line 44537

def quota
  return @quota
end

- (Object) quota=(value)

Sets the value of the quota attribute.

The value parameter can be an instance of Quota or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:



44550
44551
44552
44553
44554
44555
# File 'lib/ovirtsdk4/types.rb', line 44550

def quota=(value)
  if value.is_a?(Hash)
    value = Quota.new(value)
  end
  @quota = value
end

- (Array<ReportedDevice>) reported_devices

Returns the value of the reported_devices attribute.

Returns:



44562
44563
44564
# File 'lib/ovirtsdk4/types.rb', line 44562

def reported_devices
  return @reported_devices
end

- (Object) reported_devices=(list)

Sets the value of the reported_devices attribute.

Parameters:



44570
44571
44572
44573
44574
44575
44576
44577
44578
44579
44580
# File 'lib/ovirtsdk4/types.rb', line 44570

def reported_devices=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = ReportedDevice.new(value)
      end
    end
  end
  @reported_devices = list
end

- (RngDevice) rng_device

Returns the value of the rng_device attribute.

Returns:



44587
44588
44589
# File 'lib/ovirtsdk4/types.rb', line 44587

def rng_device
  return @rng_device
end

- (Object) rng_device=(value)

Sets the value of the rng_device attribute.

The value parameter can be an instance of RngDevice or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:



44600
44601
44602
44603
44604
44605
# File 'lib/ovirtsdk4/types.rb', line 44600

def rng_device=(value)
  if value.is_a?(Hash)
    value = RngDevice.new(value)
  end
  @rng_device = value
end

- (Boolean) run_once

Returns the value of the run_once attribute.

Returns:

  • (Boolean)


44612
44613
44614
# File 'lib/ovirtsdk4/types.rb', line 44612

def run_once
  return @run_once
end

- (Object) run_once=(value)

Sets the value of the run_once attribute.

Parameters:

  • value (Boolean)


44621
44622
44623
# File 'lib/ovirtsdk4/types.rb', line 44621

def run_once=(value)
  @run_once = value
end

- (SerialNumber) serial_number

Returns the value of the serial_number attribute.

Returns:



44630
44631
44632
# File 'lib/ovirtsdk4/types.rb', line 44630

def serial_number
  return @serial_number
end

- (Object) serial_number=(value)

Sets the value of the serial_number attribute.

The value parameter can be an instance of OvirtSDK4::SerialNumber or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:



44643
44644
44645
44646
44647
44648
# File 'lib/ovirtsdk4/types.rb', line 44643

def serial_number=(value)
  if value.is_a?(Hash)
    value = SerialNumber.new(value)
  end
  @serial_number = value
end

- (Array<Session>) sessions

Returns the value of the sessions attribute.

Returns:



44655
44656
44657
# File 'lib/ovirtsdk4/types.rb', line 44655

def sessions
  return @sessions
end

- (Object) sessions=(list)

Sets the value of the sessions attribute.

Parameters:



44663
44664
44665
44666
44667
44668
44669
44670
44671
44672
44673
# File 'lib/ovirtsdk4/types.rb', line 44663

def sessions=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = Session.new(value)
      end
    end
  end
  @sessions = list
end

- (Icon) small_icon

Returns the value of the small_icon attribute.

Returns:



44680
44681
44682
# File 'lib/ovirtsdk4/types.rb', line 44680

def small_icon
  return @small_icon
end

- (Object) small_icon=(value)

Sets the value of the small_icon attribute.

The value parameter can be an instance of Icon or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:

  • value (Icon, Hash)


44693
44694
44695
44696
44697
44698
# File 'lib/ovirtsdk4/types.rb', line 44693

def small_icon=(value)
  if value.is_a?(Hash)
    value = Icon.new(value)
  end
  @small_icon = value
end

- (SnapshotStatus) snapshot_status

Returns the value of the snapshot_status attribute.

Returns:



44705
44706
44707
# File 'lib/ovirtsdk4/types.rb', line 44705

def snapshot_status
  return @snapshot_status
end

- (Object) snapshot_status=(value)

Sets the value of the snapshot_status attribute.

Parameters:



44714
44715
44716
# File 'lib/ovirtsdk4/types.rb', line 44714

def snapshot_status=(value)
  @snapshot_status = value
end

- (SnapshotType) snapshot_type

Returns the value of the snapshot_type attribute.

Returns:



44723
44724
44725
# File 'lib/ovirtsdk4/types.rb', line 44723

def snapshot_type
  return @snapshot_type
end

- (Object) snapshot_type=(value)

Sets the value of the snapshot_type attribute.

Parameters:



44732
44733
44734
# File 'lib/ovirtsdk4/types.rb', line 44732

def snapshot_type=(value)
  @snapshot_type = value
end

- (Array<Snapshot>) snapshots

Returns the value of the snapshots attribute.

Returns:



44741
44742
44743
# File 'lib/ovirtsdk4/types.rb', line 44741

def snapshots
  return @snapshots
end

- (Object) snapshots=(list)

Sets the value of the snapshots attribute.

Parameters:



44749
44750
44751
44752
44753
44754
44755
44756
44757
44758
44759
# File 'lib/ovirtsdk4/types.rb', line 44749

def snapshots=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = Snapshot.new(value)
      end
    end
  end
  @snapshots = list
end

- (Boolean) soundcard_enabled

Returns the value of the soundcard_enabled attribute.

Returns:

  • (Boolean)


44766
44767
44768
# File 'lib/ovirtsdk4/types.rb', line 44766

def soundcard_enabled
  return @soundcard_enabled
end

- (Object) soundcard_enabled=(value)

Sets the value of the soundcard_enabled attribute.

Parameters:

  • value (Boolean)


44775
44776
44777
# File 'lib/ovirtsdk4/types.rb', line 44775

def soundcard_enabled=(value)
  @soundcard_enabled = value
end

- (Sso) sso

Returns the value of the sso attribute.

Returns:



44784
44785
44786
# File 'lib/ovirtsdk4/types.rb', line 44784

def sso
  return @sso
end

- (Object) sso=(value)

Sets the value of the sso attribute.

The value parameter can be an instance of OvirtSDK4::Sso or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:

  • value (Sso, Hash)


44797
44798
44799
44800
44801
44802
# File 'lib/ovirtsdk4/types.rb', line 44797

def sso=(value)
  if value.is_a?(Hash)
    value = Sso.new(value)
  end
  @sso = value
end

- (Boolean) start_paused

Returns the value of the start_paused attribute.

Returns:

  • (Boolean)


44809
44810
44811
# File 'lib/ovirtsdk4/types.rb', line 44809

def start_paused
  return @start_paused
end

- (Object) start_paused=(value)

Sets the value of the start_paused attribute.

Parameters:

  • value (Boolean)


44818
44819
44820
# File 'lib/ovirtsdk4/types.rb', line 44818

def start_paused=(value)
  @start_paused = value
end

- (DateTime) start_time

Returns the value of the start_time attribute.

Returns:

  • (DateTime)


44827
44828
44829
# File 'lib/ovirtsdk4/types.rb', line 44827

def start_time
  return @start_time
end

- (Object) start_time=(value)

Sets the value of the start_time attribute.

Parameters:

  • value (DateTime)


44836
44837
44838
# File 'lib/ovirtsdk4/types.rb', line 44836

def start_time=(value)
  @start_time = value
end

- (Boolean) stateless

Returns the value of the stateless attribute.

Returns:

  • (Boolean)


44845
44846
44847
# File 'lib/ovirtsdk4/types.rb', line 44845

def stateless
  return @stateless
end

- (Object) stateless=(value)

Sets the value of the stateless attribute.

Parameters:

  • value (Boolean)


44854
44855
44856
# File 'lib/ovirtsdk4/types.rb', line 44854

def stateless=(value)
  @stateless = value
end

- (Array<Statistic>) statistics

Returns the value of the statistics attribute.

Returns:



44863
44864
44865
# File 'lib/ovirtsdk4/types.rb', line 44863

def statistics
  return @statistics
end

- (Object) statistics=(list)

Sets the value of the statistics attribute.

Parameters:



44871
44872
44873
44874
44875
44876
44877
44878
44879
44880
44881
# File 'lib/ovirtsdk4/types.rb', line 44871

def statistics=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = Statistic.new(value)
      end
    end
  end
  @statistics = list
end

- (VmStatus) status

Returns the value of the status attribute.

Returns:



44888
44889
44890
# File 'lib/ovirtsdk4/types.rb', line 44888

def status
  return @status
end

- (Object) status=(value)

Sets the value of the status attribute.

Parameters:



44897
44898
44899
# File 'lib/ovirtsdk4/types.rb', line 44897

def status=(value)
  @status = value
end

- (String) status_detail

Returns the value of the status_detail attribute.

Returns:

  • (String)


44906
44907
44908
# File 'lib/ovirtsdk4/types.rb', line 44906

def status_detail
  return @status_detail
end

- (Object) status_detail=(value)

Sets the value of the status_detail attribute.

Parameters:

  • value (String)


44915
44916
44917
# File 'lib/ovirtsdk4/types.rb', line 44915

def status_detail=(value)
  @status_detail = value
end

- (String) stop_reason

Returns the value of the stop_reason attribute.

Returns:

  • (String)


44924
44925
44926
# File 'lib/ovirtsdk4/types.rb', line 44924

def stop_reason
  return @stop_reason
end

- (Object) stop_reason=(value)

Sets the value of the stop_reason attribute.

Parameters:

  • value (String)


44933
44934
44935
# File 'lib/ovirtsdk4/types.rb', line 44933

def stop_reason=(value)
  @stop_reason = value
end

- (DateTime) stop_time

Returns the value of the stop_time attribute.

Returns:

  • (DateTime)


44942
44943
44944
# File 'lib/ovirtsdk4/types.rb', line 44942

def stop_time
  return @stop_time
end

- (Object) stop_time=(value)

Sets the value of the stop_time attribute.

Parameters:

  • value (DateTime)


44951
44952
44953
# File 'lib/ovirtsdk4/types.rb', line 44951

def stop_time=(value)
  @stop_time = value
end

- (StorageDomain) storage_domain

Returns the value of the storage_domain attribute.

Returns:



44960
44961
44962
# File 'lib/ovirtsdk4/types.rb', line 44960

def storage_domain
  return @storage_domain
end

- (Object) storage_domain=(value)

Sets the value of the storage_domain attribute.

The value parameter can be an instance of OvirtSDK4::StorageDomain or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:



44973
44974
44975
44976
44977
44978
# File 'lib/ovirtsdk4/types.rb', line 44973

def storage_domain=(value)
  if value.is_a?(Hash)
    value = StorageDomain.new(value)
  end
  @storage_domain = value
end

- (Array<Tag>) tags

Returns the value of the tags attribute.

Returns:



44985
44986
44987
# File 'lib/ovirtsdk4/types.rb', line 44985

def tags
  return @tags
end

- (Object) tags=(list)

Sets the value of the tags attribute.

Parameters:

  • list (Array<Tag>)


44993
44994
44995
44996
44997
44998
44999
45000
45001
45002
45003
# File 'lib/ovirtsdk4/types.rb', line 44993

def tags=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = Tag.new(value)
      end
    end
  end
  @tags = list
end

- (Template) template

Returns the value of the template attribute.

Returns:



45010
45011
45012
# File 'lib/ovirtsdk4/types.rb', line 45010

def template
  return @template
end

- (Object) template=(value)

Sets the value of the template attribute.

The value parameter can be an instance of Template or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:



45023
45024
45025
45026
45027
45028
# File 'lib/ovirtsdk4/types.rb', line 45023

def template=(value)
  if value.is_a?(Hash)
    value = Template.new(value)
  end
  @template = value
end

- (TimeZone) time_zone

Returns the value of the time_zone attribute.

Returns:



45035
45036
45037
# File 'lib/ovirtsdk4/types.rb', line 45035

def time_zone
  return @time_zone
end

- (Object) time_zone=(value)

Sets the value of the time_zone attribute.

The value parameter can be an instance of TimeZone or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:



45048
45049
45050
45051
45052
45053
# File 'lib/ovirtsdk4/types.rb', line 45048

def time_zone=(value)
  if value.is_a?(Hash)
    value = TimeZone.new(value)
  end
  @time_zone = value
end

- (Boolean) tunnel_migration

Returns the value of the tunnel_migration attribute.

Returns:

  • (Boolean)


45060
45061
45062
# File 'lib/ovirtsdk4/types.rb', line 45060

def tunnel_migration
  return @tunnel_migration
end

- (Object) tunnel_migration=(value)

Sets the value of the tunnel_migration attribute.

Parameters:

  • value (Boolean)


45069
45070
45071
# File 'lib/ovirtsdk4/types.rb', line 45069

def tunnel_migration=(value)
  @tunnel_migration = value
end

- (VmType) type

Returns the value of the type attribute.

Returns:



45078
45079
45080
# File 'lib/ovirtsdk4/types.rb', line 45078

def type
  return @type
end

- (Object) type=(value)

Sets the value of the type attribute.

Parameters:



45087
45088
45089
# File 'lib/ovirtsdk4/types.rb', line 45087

def type=(value)
  @type = value
end

- (Usb) usb

Returns the value of the usb attribute.

Returns:



45096
45097
45098
# File 'lib/ovirtsdk4/types.rb', line 45096

def usb
  return @usb
end

- (Object) usb=(value)

Sets the value of the usb attribute.

The value parameter can be an instance of Usb or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:

  • value (Usb, Hash)


45109
45110
45111
45112
45113
45114
# File 'lib/ovirtsdk4/types.rb', line 45109

def usb=(value)
  if value.is_a?(Hash)
    value = Usb.new(value)
  end
  @usb = value
end

- (Boolean) use_latest_template_version

Returns the value of the use_latest_template_version attribute.

Returns:

  • (Boolean)


45121
45122
45123
# File 'lib/ovirtsdk4/types.rb', line 45121

def use_latest_template_version
  return @use_latest_template_version
end

- (Object) use_latest_template_version=(value)

Sets the value of the use_latest_template_version attribute.

Parameters:

  • value (Boolean)


45130
45131
45132
# File 'lib/ovirtsdk4/types.rb', line 45130

def use_latest_template_version=(value)
  @use_latest_template_version = value
end

- (VirtioScsi) virtio_scsi

Returns the value of the virtio_scsi attribute.

Returns:



45139
45140
45141
# File 'lib/ovirtsdk4/types.rb', line 45139

def virtio_scsi
  return @virtio_scsi
end

- (Object) virtio_scsi=(value)

Sets the value of the virtio_scsi attribute.

The value parameter can be an instance of VirtioScsi or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:



45152
45153
45154
45155
45156
45157
# File 'lib/ovirtsdk4/types.rb', line 45152

def virtio_scsi=(value)
  if value.is_a?(Hash)
    value = VirtioScsi.new(value)
  end
  @virtio_scsi = value
end

- (Vm) vm

Returns the value of the vm attribute.

Returns:



45164
45165
45166
# File 'lib/ovirtsdk4/types.rb', line 45164

def vm
  return @vm
end

- (Object) vm=(value)

Sets the value of the vm attribute.

The value parameter can be an instance of Vm or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:

  • value (Vm, Hash)


45177
45178
45179
45180
45181
45182
# File 'lib/ovirtsdk4/types.rb', line 45177

def vm=(value)
  if value.is_a?(Hash)
    value = Vm.new(value)
  end
  @vm = value
end

- (VmPool) vm_pool

Returns the value of the vm_pool attribute.

Returns:



45189
45190
45191
# File 'lib/ovirtsdk4/types.rb', line 45189

def vm_pool
  return @vm_pool
end

- (Object) vm_pool=(value)

Sets the value of the vm_pool attribute.

The value parameter can be an instance of VmPool or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:



45202
45203
45204
45205
45206
45207
# File 'lib/ovirtsdk4/types.rb', line 45202

def vm_pool=(value)
  if value.is_a?(Hash)
    value = VmPool.new(value)
  end
  @vm_pool = value
end

- (Array<Watchdog>) watchdogs

Returns the value of the watchdogs attribute.

Returns:



45214
45215
45216
# File 'lib/ovirtsdk4/types.rb', line 45214

def watchdogs
  return @watchdogs
end

- (Object) watchdogs=(list)

Sets the value of the watchdogs attribute.

Parameters:



45222
45223
45224
45225
45226
45227
45228
45229
45230
45231
45232
# File 'lib/ovirtsdk4/types.rb', line 45222

def watchdogs=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = Watchdog.new(value)
      end
    end
  end
  @watchdogs = list
end