class OvirtSDK4::Snapshot

Public Class Methods

new(opts = {}) click to toggle source

Creates a new instance of the {Snapshot} class.

@param opts [Hash] 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.

@option opts [Array<AffinityLabel>, Array<Hash>] :affinity_labels The values of attribute `affinity_labels`.

@option opts [Array<Application>, Array<Hash>] :applications The values of attribute `applications`.

@option opts [Bios, Hash] :bios The value of attribute `bios`.

@option opts [Array<Cdrom>, Array<Hash>] :cdroms The values of attribute `cdroms`.

@option opts [Cluster, Hash] :cluster The value of attribute `cluster`.

@option opts [String] :comment The value of attribute `comment`.

@option opts [Console, Hash] :console The value of attribute `console`.

@option opts [Cpu, Hash] :cpu The value of attribute `cpu`.

@option opts [CpuProfile, Hash] :cpu_profile The value of attribute `cpu_profile`.

@option opts [Integer] :cpu_shares The value of attribute `cpu_shares`.

@option opts [DateTime] :creation_time The value of attribute `creation_time`.

@option opts [Version, Hash] :custom_compatibility_version The value of attribute `custom_compatibility_version`.

@option opts [String] :custom_cpu_model The value of attribute `custom_cpu_model`.

@option opts [String] :custom_emulated_machine The value of attribute `custom_emulated_machine`.

@option opts [Array<CustomProperty>, Array<Hash>] :custom_properties The values of attribute `custom_properties`.

@option opts [DateTime] :date The value of attribute `date`.

@option opts [Boolean] :delete_protected The value of attribute `delete_protected`.

@option opts [String] :description The value of attribute `description`.

@option opts [Array<DiskAttachment>, Array<Hash>] :disk_attachments The values of attribute `disk_attachments`.

@option opts [Display, Hash] :display The value of attribute `display`.

@option opts [Domain, Hash] :domain The value of attribute `domain`.

@option opts [ExternalHostProvider, Hash] :external_host_provider The value of attribute `external_host_provider`.

@option opts [Array<Floppy>, Array<Hash>] :floppies The values of attribute `floppies`.

@option opts [String] :fqdn The value of attribute `fqdn`.

@option opts [Array<GraphicsConsole>, Array<Hash>] :graphics_consoles The values of attribute `graphics_consoles`.

@option opts [GuestOperatingSystem, Hash] :guest_operating_system The value of attribute `guest_operating_system`.

@option opts [TimeZone, Hash] :guest_time_zone The value of attribute `guest_time_zone`.

@option opts [HighAvailability, Hash] :high_availability The value of attribute `high_availability`.

@option opts [Host, Hash] :host The value of attribute `host`.

@option opts [Array<HostDevice>, Array<Hash>] :host_devices The values of attribute `host_devices`.

@option opts [String] :id The value of attribute `id`.

@option opts [Initialization, Hash] :initialization The value of attribute `initialization`.

@option opts [InstanceType, Hash] :instance_type The value of attribute `instance_type`.

@option opts [Io, Hash] :io The value of attribute `io`.

@option opts [Array<KatelloErratum>, Array<Hash>] :katello_errata The values of attribute `katello_errata`.

@option opts [Icon, Hash] :large_icon The value of attribute `large_icon`.

@option opts [Integer] :memory The value of attribute `memory`.

@option opts [MemoryPolicy, Hash] :memory_policy The value of attribute `memory_policy`.

@option opts [MigrationOptions, Hash] :migration The value of attribute `migration`.

@option opts [Integer] :migration_downtime The value of attribute `migration_downtime`.

@option opts [String] :name The value of attribute `name`.

@option opts [Boolean] :next_run_configuration_exists The value of attribute `next_run_configuration_exists`.

@option opts [Array<Nic>, Array<Hash>] :nics The values of attribute `nics`.

@option opts [Array<NumaNode>, Array<Hash>] :numa_nodes The values of attribute `numa_nodes`.

@option opts [NumaTuneMode] :numa_tune_mode The value of attribute `numa_tune_mode`.

@option opts [String] :origin The value of attribute `origin`.

@option opts [OperatingSystem, Hash] :os The value of attribute `os`.

@option opts [Array<Payload>, Array<Hash>] :payloads The values of attribute `payloads`.

@option opts [Array<Permission>, Array<Hash>] :permissions The values of attribute `permissions`.

@option opts [Boolean] :persist_memorystate The value of attribute `persist_memorystate`.

@option opts [VmPlacementPolicy, Hash] :placement_policy The value of attribute `placement_policy`.

@option opts [Quota, Hash] :quota The value of attribute `quota`.

@option opts [Array<ReportedDevice>, Array<Hash>] :reported_devices The values of attribute `reported_devices`.

@option opts [RngDevice, Hash] :rng_device The value of attribute `rng_device`.

@option opts [Boolean] :run_once The value of attribute `run_once`.

@option opts [SerialNumber, Hash] :serial_number The value of attribute `serial_number`.

@option opts [Array<Session>, Array<Hash>] :sessions The values of attribute `sessions`.

@option opts [Icon, Hash] :small_icon The value of attribute `small_icon`.

@option opts [SnapshotStatus] :snapshot_status The value of attribute `snapshot_status`.

@option opts [SnapshotType] :snapshot_type The value of attribute `snapshot_type`.

@option opts [Array<Snapshot>, Array<Hash>] :snapshots The values of attribute `snapshots`.

@option opts [Boolean] :soundcard_enabled The value of attribute `soundcard_enabled`.

@option opts [Sso, Hash] :sso The value of attribute `sso`.

@option opts [Boolean] :start_paused The value of attribute `start_paused`.

@option opts [DateTime] :start_time The value of attribute `start_time`.

@option opts [Boolean] :stateless The value of attribute `stateless`.

@option opts [Array<Statistic>, Array<Hash>] :statistics The values of attribute `statistics`.

@option opts [VmStatus] :status The value of attribute `status`.

@option opts [String] :status_detail The value of attribute `status_detail`.

@option opts [String] :stop_reason The value of attribute `stop_reason`.

@option opts [DateTime] :stop_time The value of attribute `stop_time`.

@option opts [StorageDomain, Hash] :storage_domain The value of attribute `storage_domain`.

@option opts [Array<Tag>, Array<Hash>] :tags The values of attribute `tags`.

@option opts [Template, Hash] :template The value of attribute `template`.

@option opts [TimeZone, Hash] :time_zone The value of attribute `time_zone`.

@option opts [Boolean] :tunnel_migration The value of attribute `tunnel_migration`.

@option opts [VmType] :type The value of attribute `type`.

@option opts [Usb, Hash] :usb The value of attribute `usb`.

@option opts [Boolean] :use_latest_template_version The value of attribute `use_latest_template_version`.

@option opts [VirtioScsi, Hash] :virtio_scsi The value of attribute `virtio_scsi`.

@option opts [Vm, Hash] :vm The value of attribute `vm`.

@option opts [VmPool, Hash] :vm_pool The value of attribute `vm_pool`.

@option opts [Array<Watchdog>, Array<Hash>] :watchdogs The values of attribute `watchdogs`.

Calls superclass method OvirtSDK4::Vm.new
# File lib/ovirtsdk4/types.rb, line 45864
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.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

Public Instance Methods

affinity_labels() click to toggle source

Returns the value of the `affinity_labels` attribute.

@return [Array<AffinityLabel>]

# File lib/ovirtsdk4/types.rb, line 43837
def affinity_labels
  return @affinity_labels
end
affinity_labels=(list) click to toggle source

Sets the value of the `affinity_labels` attribute.

@param list [Array<AffinityLabel>]

# File lib/ovirtsdk4/types.rb, line 43845
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
applications() click to toggle source

Returns the value of the `applications` attribute.

@return [Array<Application>]

# File lib/ovirtsdk4/types.rb, line 43862
def applications
  return @applications
end
applications=(list) click to toggle source

Sets the value of the `applications` attribute.

@param list [Array<Application>]

# File lib/ovirtsdk4/types.rb, line 43870
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() click to toggle source

Returns the value of the `bios` attribute.

@return [Bios]

# File lib/ovirtsdk4/types.rb, line 43887
def bios
  return @bios
end
bios=(value) click to toggle source

Sets the value of the `bios` attribute.

@param value [Bios, Hash]

The `value` parameter can be an instance of {OvirtSDK4::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.

# File lib/ovirtsdk4/types.rb, line 43900
def bios=(value)
  if value.is_a?(Hash)
    value = Bios.new(value)
  end
  @bios = value
end
cdroms() click to toggle source

Returns the value of the `cdroms` attribute.

@return [Array<Cdrom>]

# File lib/ovirtsdk4/types.rb, line 43912
def cdroms
  return @cdroms
end
cdroms=(list) click to toggle source

Sets the value of the `cdroms` attribute.

@param list [Array<Cdrom>]

# File lib/ovirtsdk4/types.rb, line 43920
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() click to toggle source

Returns the value of the `cluster` attribute.

@return [Cluster]

# File lib/ovirtsdk4/types.rb, line 43937
def cluster
  return @cluster
end
cluster=(value) click to toggle source

Sets the value of the `cluster` attribute.

@param value [Cluster, Hash]

The `value` parameter can be an instance of {OvirtSDK4::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.

# File lib/ovirtsdk4/types.rb, line 43950
def cluster=(value)
  if value.is_a?(Hash)
    value = Cluster.new(value)
  end
  @cluster = value
end
comment() click to toggle source

Returns the value of the `comment` attribute.

@return [String]

# File lib/ovirtsdk4/types.rb, line 43962
def comment
  return @comment
end
comment=(value) click to toggle source

Sets the value of the `comment` attribute.

@param value [String]

# File lib/ovirtsdk4/types.rb, line 43971
def comment=(value)
  @comment = value
end
console() click to toggle source

Returns the value of the `console` attribute.

@return [Console]

# File lib/ovirtsdk4/types.rb, line 43980
def console
  return @console
end
console=(value) click to toggle source

Sets the value of the `console` attribute.

@param value [Console, Hash]

The `value` parameter can be an instance of {OvirtSDK4::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.

# File lib/ovirtsdk4/types.rb, line 43993
def console=(value)
  if value.is_a?(Hash)
    value = Console.new(value)
  end
  @console = value
end
cpu() click to toggle source

Returns the value of the `cpu` attribute.

@return [Cpu]

# File lib/ovirtsdk4/types.rb, line 44005
def cpu
  return @cpu
end
cpu=(value) click to toggle source

Sets the value of the `cpu` attribute.

@param value [Cpu, Hash]

The `value` parameter can be an instance of {OvirtSDK4::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.

# File lib/ovirtsdk4/types.rb, line 44018
def cpu=(value)
  if value.is_a?(Hash)
    value = Cpu.new(value)
  end
  @cpu = value
end
cpu_profile() click to toggle source

Returns the value of the `cpu_profile` attribute.

@return [CpuProfile]

# File lib/ovirtsdk4/types.rb, line 44030
def cpu_profile
  return @cpu_profile
end
cpu_profile=(value) click to toggle source

Sets the value of the `cpu_profile` attribute.

@param value [CpuProfile, Hash]

The `value` parameter can be an instance of {OvirtSDK4::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.

# File lib/ovirtsdk4/types.rb, line 44043
def cpu_profile=(value)
  if value.is_a?(Hash)
    value = CpuProfile.new(value)
  end
  @cpu_profile = value
end
cpu_shares() click to toggle source

Returns the value of the `cpu_shares` attribute.

@return [Integer]

# File lib/ovirtsdk4/types.rb, line 44055
def cpu_shares
  return @cpu_shares
end
cpu_shares=(value) click to toggle source

Sets the value of the `cpu_shares` attribute.

@param value [Integer]

# File lib/ovirtsdk4/types.rb, line 44064
def cpu_shares=(value)
  @cpu_shares = value
end
creation_time() click to toggle source

Returns the value of the `creation_time` attribute.

@return [DateTime]

# File lib/ovirtsdk4/types.rb, line 44073
def creation_time
  return @creation_time
end
creation_time=(value) click to toggle source

Sets the value of the `creation_time` attribute.

@param value [DateTime]

# File lib/ovirtsdk4/types.rb, line 44082
def creation_time=(value)
  @creation_time = value
end
custom_compatibility_version() click to toggle source

Returns the value of the `custom_compatibility_version` attribute.

@return [Version]

# File lib/ovirtsdk4/types.rb, line 44091
def custom_compatibility_version
  return @custom_compatibility_version
end
custom_compatibility_version=(value) click to toggle source

Sets the value of the `custom_compatibility_version` attribute.

@param value [Version, Hash]

The `value` parameter can be an instance of {OvirtSDK4::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.

# File lib/ovirtsdk4/types.rb, line 44104
def custom_compatibility_version=(value)
  if value.is_a?(Hash)
    value = Version.new(value)
  end
  @custom_compatibility_version = value
end
custom_cpu_model() click to toggle source

Returns the value of the `custom_cpu_model` attribute.

@return [String]

# File lib/ovirtsdk4/types.rb, line 44116
def custom_cpu_model
  return @custom_cpu_model
end
custom_cpu_model=(value) click to toggle source

Sets the value of the `custom_cpu_model` attribute.

@param value [String]

# File lib/ovirtsdk4/types.rb, line 44125
def custom_cpu_model=(value)
  @custom_cpu_model = value
end
custom_emulated_machine() click to toggle source

Returns the value of the `custom_emulated_machine` attribute.

@return [String]

# File lib/ovirtsdk4/types.rb, line 44134
def custom_emulated_machine
  return @custom_emulated_machine
end
custom_emulated_machine=(value) click to toggle source

Sets the value of the `custom_emulated_machine` attribute.

@param value [String]

# File lib/ovirtsdk4/types.rb, line 44143
def custom_emulated_machine=(value)
  @custom_emulated_machine = value
end
custom_properties() click to toggle source

Returns the value of the `custom_properties` attribute.

@return [Array<CustomProperty>]

# File lib/ovirtsdk4/types.rb, line 44152
def custom_properties
  return @custom_properties
end
custom_properties=(list) click to toggle source

Sets the value of the `custom_properties` attribute.

@param list [Array<CustomProperty>]

# File lib/ovirtsdk4/types.rb, line 44160
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
date() click to toggle source

Returns the value of the `date` attribute.

@return [DateTime]

# File lib/ovirtsdk4/types.rb, line 44177
def date
  return @date
end
date=(value) click to toggle source

Sets the value of the `date` attribute.

@param value [DateTime]

# File lib/ovirtsdk4/types.rb, line 44186
def date=(value)
  @date = value
end
delete_protected() click to toggle source

Returns the value of the `delete_protected` attribute.

@return [Boolean]

# File lib/ovirtsdk4/types.rb, line 44195
def delete_protected
  return @delete_protected
end
delete_protected=(value) click to toggle source

Sets the value of the `delete_protected` attribute.

@param value [Boolean]

# File lib/ovirtsdk4/types.rb, line 44204
def delete_protected=(value)
  @delete_protected = value
end
description() click to toggle source

Returns the value of the `description` attribute.

@return [String]

# File lib/ovirtsdk4/types.rb, line 44213
def description
  return @description
end
description=(value) click to toggle source

Sets the value of the `description` attribute.

@param value [String]

# File lib/ovirtsdk4/types.rb, line 44222
def description=(value)
  @description = value
end
disk_attachments() click to toggle source

Returns the value of the `disk_attachments` attribute.

@return [Array<DiskAttachment>]

# File lib/ovirtsdk4/types.rb, line 44231
def disk_attachments
  return @disk_attachments
end
disk_attachments=(list) click to toggle source

Sets the value of the `disk_attachments` attribute.

@param list [Array<DiskAttachment>]

# File lib/ovirtsdk4/types.rb, line 44239
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
display() click to toggle source

Returns the value of the `display` attribute.

@return [Display]

# File lib/ovirtsdk4/types.rb, line 44256
def display
  return @display
end
display=(value) click to toggle source

Sets the value of the `display` attribute.

@param value [Display, Hash]

The `value` parameter can be an instance of {OvirtSDK4::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.

# File lib/ovirtsdk4/types.rb, line 44269
def display=(value)
  if value.is_a?(Hash)
    value = Display.new(value)
  end
  @display = value
end
domain() click to toggle source

Returns the value of the `domain` attribute.

@return [Domain]

# File lib/ovirtsdk4/types.rb, line 44281
def domain
  return @domain
end
domain=(value) click to toggle source

Sets the value of the `domain` attribute.

@param value [Domain, Hash]

The `value` parameter can be an instance of {OvirtSDK4::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.

# File lib/ovirtsdk4/types.rb, line 44294
def domain=(value)
  if value.is_a?(Hash)
    value = Domain.new(value)
  end
  @domain = value
end
external_host_provider() click to toggle source

Returns the value of the `external_host_provider` attribute.

@return [ExternalHostProvider]

# File lib/ovirtsdk4/types.rb, line 44306
def external_host_provider
  return @external_host_provider
end
external_host_provider=(value) click to toggle source

Sets the value of the `external_host_provider` attribute.

@param value [ExternalHostProvider, Hash]

The `value` parameter can be an instance of {OvirtSDK4::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.

# File lib/ovirtsdk4/types.rb, line 44319
def external_host_provider=(value)
  if value.is_a?(Hash)
    value = ExternalHostProvider.new(value)
  end
  @external_host_provider = value
end
floppies() click to toggle source

Returns the value of the `floppies` attribute.

@return [Array<Floppy>]

# File lib/ovirtsdk4/types.rb, line 44331
def floppies
  return @floppies
end
floppies=(list) click to toggle source

Sets the value of the `floppies` attribute.

@param list [Array<Floppy>]

# File lib/ovirtsdk4/types.rb, line 44339
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
fqdn() click to toggle source

Returns the value of the `fqdn` attribute.

@return [String]

# File lib/ovirtsdk4/types.rb, line 44356
def fqdn
  return @fqdn
end
fqdn=(value) click to toggle source

Sets the value of the `fqdn` attribute.

@param value [String]

# File lib/ovirtsdk4/types.rb, line 44365
def fqdn=(value)
  @fqdn = value
end
graphics_consoles() click to toggle source

Returns the value of the `graphics_consoles` attribute.

@return [Array<GraphicsConsole>]

# File lib/ovirtsdk4/types.rb, line 44374
def graphics_consoles
  return @graphics_consoles
end
graphics_consoles=(list) click to toggle source

Sets the value of the `graphics_consoles` attribute.

@param list [Array<GraphicsConsole>]

# File lib/ovirtsdk4/types.rb, line 44382
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
guest_operating_system() click to toggle source

Returns the value of the `guest_operating_system` attribute.

@return [GuestOperatingSystem]

# File lib/ovirtsdk4/types.rb, line 44399
def guest_operating_system
  return @guest_operating_system
end
guest_operating_system=(value) click to toggle source

Sets the value of the `guest_operating_system` attribute.

@param value [GuestOperatingSystem, Hash]

The `value` parameter can be an instance of {OvirtSDK4::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.

# File lib/ovirtsdk4/types.rb, line 44412
def guest_operating_system=(value)
  if value.is_a?(Hash)
    value = GuestOperatingSystem.new(value)
  end
  @guest_operating_system = value
end
guest_time_zone() click to toggle source

Returns the value of the `guest_time_zone` attribute.

@return [TimeZone]

# File lib/ovirtsdk4/types.rb, line 44424
def guest_time_zone
  return @guest_time_zone
end
guest_time_zone=(value) click to toggle source

Sets the value of the `guest_time_zone` attribute.

@param value [TimeZone, Hash]

The `value` parameter can be an instance of {OvirtSDK4::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.

# File lib/ovirtsdk4/types.rb, line 44437
def guest_time_zone=(value)
  if value.is_a?(Hash)
    value = TimeZone.new(value)
  end
  @guest_time_zone = value
end
high_availability() click to toggle source

Returns the value of the `high_availability` attribute.

@return [HighAvailability]

# File lib/ovirtsdk4/types.rb, line 44449
def high_availability
  return @high_availability
end
high_availability=(value) click to toggle source

Sets the value of the `high_availability` attribute.

@param value [HighAvailability, Hash]

The `value` parameter can be an instance of {OvirtSDK4::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.

# File lib/ovirtsdk4/types.rb, line 44462
def high_availability=(value)
  if value.is_a?(Hash)
    value = HighAvailability.new(value)
  end
  @high_availability = value
end
host() click to toggle source

Returns the value of the `host` attribute.

@return [Host]

# File lib/ovirtsdk4/types.rb, line 44474
def host
  return @host
end
host=(value) click to toggle source

Sets the value of the `host` attribute.

@param value [Host, Hash]

The `value` parameter can be an instance of {OvirtSDK4::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.

# File lib/ovirtsdk4/types.rb, line 44487
def host=(value)
  if value.is_a?(Hash)
    value = Host.new(value)
  end
  @host = value
end
host_devices() click to toggle source

Returns the value of the `host_devices` attribute.

@return [Array<HostDevice>]

# File lib/ovirtsdk4/types.rb, line 44499
def host_devices
  return @host_devices
end
host_devices=(list) click to toggle source

Sets the value of the `host_devices` attribute.

@param list [Array<HostDevice>]

# File lib/ovirtsdk4/types.rb, line 44507
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
id() click to toggle source

Returns the value of the `id` attribute.

@return [String]

# File lib/ovirtsdk4/types.rb, line 44524
def id
  return @id
end
id=(value) click to toggle source

Sets the value of the `id` attribute.

@param value [String]

# File lib/ovirtsdk4/types.rb, line 44533
def id=(value)
  @id = value
end
initialization() click to toggle source

Returns the value of the `initialization` attribute.

@return [Initialization]

# File lib/ovirtsdk4/types.rb, line 44542
def initialization
  return @initialization
end
initialization=(value) click to toggle source

Sets the value of the `initialization` attribute.

@param value [Initialization, Hash]

The `value` parameter can be an instance of {OvirtSDK4::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.

# File lib/ovirtsdk4/types.rb, line 44555
def initialization=(value)
  if value.is_a?(Hash)
    value = Initialization.new(value)
  end
  @initialization = value
end
instance_type() click to toggle source

Returns the value of the `instance_type` attribute.

@return [InstanceType]

# File lib/ovirtsdk4/types.rb, line 44567
def instance_type
  return @instance_type
end
instance_type=(value) click to toggle source

Sets the value of the `instance_type` attribute.

@param value [InstanceType, Hash]

The `value` parameter can be an instance of {OvirtSDK4::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.

# File lib/ovirtsdk4/types.rb, line 44580
def instance_type=(value)
  if value.is_a?(Hash)
    value = InstanceType.new(value)
  end
  @instance_type = value
end
io() click to toggle source

Returns the value of the `io` attribute.

@return [Io]

# File lib/ovirtsdk4/types.rb, line 44592
def io
  return @io
end
io=(value) click to toggle source

Sets the value of the `io` attribute.

@param value [Io, Hash]

The `value` parameter can be an instance of {OvirtSDK4::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.

# File lib/ovirtsdk4/types.rb, line 44605
def io=(value)
  if value.is_a?(Hash)
    value = Io.new(value)
  end
  @io = value
end
katello_errata() click to toggle source

Returns the value of the `katello_errata` attribute.

@return [Array<KatelloErratum>]

# File lib/ovirtsdk4/types.rb, line 44617
def katello_errata
  return @katello_errata
end
katello_errata=(list) click to toggle source

Sets the value of the `katello_errata` attribute.

@param list [Array<KatelloErratum>]

# File lib/ovirtsdk4/types.rb, line 44625
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
large_icon() click to toggle source

Returns the value of the `large_icon` attribute.

@return [Icon]

# File lib/ovirtsdk4/types.rb, line 44642
def large_icon
  return @large_icon
end
large_icon=(value) click to toggle source

Sets the value of the `large_icon` attribute.

@param value [Icon, Hash]

The `value` parameter can be an instance of {OvirtSDK4::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.

# File lib/ovirtsdk4/types.rb, line 44655
def large_icon=(value)
  if value.is_a?(Hash)
    value = Icon.new(value)
  end
  @large_icon = value
end
memory() click to toggle source

Returns the value of the `memory` attribute.

@return [Integer]

# File lib/ovirtsdk4/types.rb, line 44667
def memory
  return @memory
end
memory=(value) click to toggle source

Sets the value of the `memory` attribute.

@param value [Integer]

# File lib/ovirtsdk4/types.rb, line 44676
def memory=(value)
  @memory = value
end
memory_policy() click to toggle source

Returns the value of the `memory_policy` attribute.

@return [MemoryPolicy]

# File lib/ovirtsdk4/types.rb, line 44685
def memory_policy
  return @memory_policy
end
memory_policy=(value) click to toggle source

Sets the value of the `memory_policy` attribute.

@param value [MemoryPolicy, Hash]

The `value` parameter can be an instance of {OvirtSDK4::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.

# File lib/ovirtsdk4/types.rb, line 44698
def memory_policy=(value)
  if value.is_a?(Hash)
    value = MemoryPolicy.new(value)
  end
  @memory_policy = value
end
migration() click to toggle source

Returns the value of the `migration` attribute.

@return [MigrationOptions]

# File lib/ovirtsdk4/types.rb, line 44710
def migration
  return @migration
end
migration=(value) click to toggle source

Sets the value of the `migration` attribute.

@param value [MigrationOptions, Hash]

The `value` parameter can be an instance of {OvirtSDK4::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.

# File lib/ovirtsdk4/types.rb, line 44723
def migration=(value)
  if value.is_a?(Hash)
    value = MigrationOptions.new(value)
  end
  @migration = value
end
migration_downtime() click to toggle source

Returns the value of the `migration_downtime` attribute.

@return [Integer]

# File lib/ovirtsdk4/types.rb, line 44735
def migration_downtime
  return @migration_downtime
end
migration_downtime=(value) click to toggle source

Sets the value of the `migration_downtime` attribute.

@param value [Integer]

# File lib/ovirtsdk4/types.rb, line 44744
def migration_downtime=(value)
  @migration_downtime = value
end
name() click to toggle source

Returns the value of the `name` attribute.

@return [String]

# File lib/ovirtsdk4/types.rb, line 44753
def name
  return @name
end
name=(value) click to toggle source

Sets the value of the `name` attribute.

@param value [String]

# File lib/ovirtsdk4/types.rb, line 44762
def name=(value)
  @name = value
end
next_run_configuration_exists() click to toggle source

Returns the value of the `next_run_configuration_exists` attribute.

@return [Boolean]

# File lib/ovirtsdk4/types.rb, line 44771
def next_run_configuration_exists
  return @next_run_configuration_exists
end
next_run_configuration_exists=(value) click to toggle source

Sets the value of the `next_run_configuration_exists` attribute.

@param value [Boolean]

# File lib/ovirtsdk4/types.rb, line 44780
def next_run_configuration_exists=(value)
  @next_run_configuration_exists = value
end
nics() click to toggle source

Returns the value of the `nics` attribute.

@return [Array<Nic>]

# File lib/ovirtsdk4/types.rb, line 44789
def nics
  return @nics
end
nics=(list) click to toggle source

Sets the value of the `nics` attribute.

@param list [Array<Nic>]

# File lib/ovirtsdk4/types.rb, line 44797
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
numa_nodes() click to toggle source

Returns the value of the `numa_nodes` attribute.

@return [Array<NumaNode>]

# File lib/ovirtsdk4/types.rb, line 44814
def numa_nodes
  return @numa_nodes
end
numa_nodes=(list) click to toggle source

Sets the value of the `numa_nodes` attribute.

@param list [Array<NumaNode>]

# File lib/ovirtsdk4/types.rb, line 44822
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
numa_tune_mode() click to toggle source

Returns the value of the `numa_tune_mode` attribute.

@return [NumaTuneMode]

# File lib/ovirtsdk4/types.rb, line 44839
def numa_tune_mode
  return @numa_tune_mode
end
numa_tune_mode=(value) click to toggle source

Sets the value of the `numa_tune_mode` attribute.

@param value [NumaTuneMode]

# File lib/ovirtsdk4/types.rb, line 44848
def numa_tune_mode=(value)
  @numa_tune_mode = value
end
origin() click to toggle source

Returns the value of the `origin` attribute.

@return [String]

# File lib/ovirtsdk4/types.rb, line 44857
def origin
  return @origin
end
origin=(value) click to toggle source

Sets the value of the `origin` attribute.

@param value [String]

# File lib/ovirtsdk4/types.rb, line 44866
def origin=(value)
  @origin = value
end
os() click to toggle source

Returns the value of the `os` attribute.

@return [OperatingSystem]

# File lib/ovirtsdk4/types.rb, line 44875
def os
  return @os
end
os=(value) click to toggle source

Sets the value of the `os` attribute.

@param value [OperatingSystem, Hash]

The `value` parameter can be an instance of {OvirtSDK4::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.

# File lib/ovirtsdk4/types.rb, line 44888
def os=(value)
  if value.is_a?(Hash)
    value = OperatingSystem.new(value)
  end
  @os = value
end
payloads() click to toggle source

Returns the value of the `payloads` attribute.

@return [Array<Payload>]

# File lib/ovirtsdk4/types.rb, line 44900
def payloads
  return @payloads
end
payloads=(list) click to toggle source

Sets the value of the `payloads` attribute.

@param list [Array<Payload>]

# File lib/ovirtsdk4/types.rb, line 44908
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
permissions() click to toggle source

Returns the value of the `permissions` attribute.

@return [Array<Permission>]

# File lib/ovirtsdk4/types.rb, line 44925
def permissions
  return @permissions
end
permissions=(list) click to toggle source

Sets the value of the `permissions` attribute.

@param list [Array<Permission>]

# File lib/ovirtsdk4/types.rb, line 44933
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
persist_memorystate() click to toggle source

Returns the value of the `persist_memorystate` attribute.

@return [Boolean]

# File lib/ovirtsdk4/types.rb, line 44950
def persist_memorystate
  return @persist_memorystate
end
persist_memorystate=(value) click to toggle source

Sets the value of the `persist_memorystate` attribute.

@param value [Boolean]

# File lib/ovirtsdk4/types.rb, line 44959
def persist_memorystate=(value)
  @persist_memorystate = value
end
placement_policy() click to toggle source

Returns the value of the `placement_policy` attribute.

@return [VmPlacementPolicy]

# File lib/ovirtsdk4/types.rb, line 44968
def placement_policy
  return @placement_policy
end
placement_policy=(value) click to toggle source

Sets the value of the `placement_policy` attribute.

@param value [VmPlacementPolicy, Hash]

The `value` parameter can be an instance of {OvirtSDK4::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.

# File lib/ovirtsdk4/types.rb, line 44981
def placement_policy=(value)
  if value.is_a?(Hash)
    value = VmPlacementPolicy.new(value)
  end
  @placement_policy = value
end
quota() click to toggle source

Returns the value of the `quota` attribute.

@return [Quota]

# File lib/ovirtsdk4/types.rb, line 44993
def quota
  return @quota
end
quota=(value) click to toggle source

Sets the value of the `quota` attribute.

@param value [Quota, Hash]

The `value` parameter can be an instance of {OvirtSDK4::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.

# File lib/ovirtsdk4/types.rb, line 45006
def quota=(value)
  if value.is_a?(Hash)
    value = Quota.new(value)
  end
  @quota = value
end
reported_devices() click to toggle source

Returns the value of the `reported_devices` attribute.

@return [Array<ReportedDevice>]

# File lib/ovirtsdk4/types.rb, line 45018
def reported_devices
  return @reported_devices
end
reported_devices=(list) click to toggle source

Sets the value of the `reported_devices` attribute.

@param list [Array<ReportedDevice>]

# File lib/ovirtsdk4/types.rb, line 45026
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
rng_device() click to toggle source

Returns the value of the `rng_device` attribute.

@return [RngDevice]

# File lib/ovirtsdk4/types.rb, line 45043
def rng_device
  return @rng_device
end
rng_device=(value) click to toggle source

Sets the value of the `rng_device` attribute.

@param value [RngDevice, Hash]

The `value` parameter can be an instance of {OvirtSDK4::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.

# File lib/ovirtsdk4/types.rb, line 45056
def rng_device=(value)
  if value.is_a?(Hash)
    value = RngDevice.new(value)
  end
  @rng_device = value
end
run_once() click to toggle source

Returns the value of the `run_once` attribute.

@return [Boolean]

# File lib/ovirtsdk4/types.rb, line 45068
def run_once
  return @run_once
end
run_once=(value) click to toggle source

Sets the value of the `run_once` attribute.

@param value [Boolean]

# File lib/ovirtsdk4/types.rb, line 45077
def run_once=(value)
  @run_once = value
end
serial_number() click to toggle source

Returns the value of the `serial_number` attribute.

@return [SerialNumber]

# File lib/ovirtsdk4/types.rb, line 45086
def serial_number
  return @serial_number
end
serial_number=(value) click to toggle source

Sets the value of the `serial_number` attribute.

@param value [SerialNumber, Hash]

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.

# File lib/ovirtsdk4/types.rb, line 45099
def serial_number=(value)
  if value.is_a?(Hash)
    value = SerialNumber.new(value)
  end
  @serial_number = value
end
sessions() click to toggle source

Returns the value of the `sessions` attribute.

@return [Array<Session>]

# File lib/ovirtsdk4/types.rb, line 45111
def sessions
  return @sessions
end
sessions=(list) click to toggle source

Sets the value of the `sessions` attribute.

@param list [Array<Session>]

# File lib/ovirtsdk4/types.rb, line 45119
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
small_icon() click to toggle source

Returns the value of the `small_icon` attribute.

@return [Icon]

# File lib/ovirtsdk4/types.rb, line 45136
def small_icon
  return @small_icon
end
small_icon=(value) click to toggle source

Sets the value of the `small_icon` attribute.

@param value [Icon, Hash]

The `value` parameter can be an instance of {OvirtSDK4::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.

# File lib/ovirtsdk4/types.rb, line 45149
def small_icon=(value)
  if value.is_a?(Hash)
    value = Icon.new(value)
  end
  @small_icon = value
end
snapshot_status() click to toggle source

Returns the value of the `snapshot_status` attribute.

@return [SnapshotStatus]

# File lib/ovirtsdk4/types.rb, line 45161
def snapshot_status
  return @snapshot_status
end
snapshot_status=(value) click to toggle source

Sets the value of the `snapshot_status` attribute.

@param value [SnapshotStatus]

# File lib/ovirtsdk4/types.rb, line 45170
def snapshot_status=(value)
  @snapshot_status = value
end
snapshot_type() click to toggle source

Returns the value of the `snapshot_type` attribute.

@return [SnapshotType]

# File lib/ovirtsdk4/types.rb, line 45179
def snapshot_type
  return @snapshot_type
end
snapshot_type=(value) click to toggle source

Sets the value of the `snapshot_type` attribute.

@param value [SnapshotType]

# File lib/ovirtsdk4/types.rb, line 45188
def snapshot_type=(value)
  @snapshot_type = value
end
snapshots() click to toggle source

Returns the value of the `snapshots` attribute.

@return [Array<Snapshot>]

# File lib/ovirtsdk4/types.rb, line 45197
def snapshots
  return @snapshots
end
snapshots=(list) click to toggle source

Sets the value of the `snapshots` attribute.

@param list [Array<Snapshot>]

# File lib/ovirtsdk4/types.rb, line 45205
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
soundcard_enabled() click to toggle source

Returns the value of the `soundcard_enabled` attribute.

@return [Boolean]

# File lib/ovirtsdk4/types.rb, line 45222
def soundcard_enabled
  return @soundcard_enabled
end
soundcard_enabled=(value) click to toggle source

Sets the value of the `soundcard_enabled` attribute.

@param value [Boolean]

# File lib/ovirtsdk4/types.rb, line 45231
def soundcard_enabled=(value)
  @soundcard_enabled = value
end
sso() click to toggle source

Returns the value of the `sso` attribute.

@return [Sso]

# File lib/ovirtsdk4/types.rb, line 45240
def sso
  return @sso
end
sso=(value) click to toggle source

Sets the value of the `sso` attribute.

@param value [Sso, Hash]

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.

# File lib/ovirtsdk4/types.rb, line 45253
def sso=(value)
  if value.is_a?(Hash)
    value = Sso.new(value)
  end
  @sso = value
end
start_paused() click to toggle source

Returns the value of the `start_paused` attribute.

@return [Boolean]

# File lib/ovirtsdk4/types.rb, line 45265
def start_paused
  return @start_paused
end
start_paused=(value) click to toggle source

Sets the value of the `start_paused` attribute.

@param value [Boolean]

# File lib/ovirtsdk4/types.rb, line 45274
def start_paused=(value)
  @start_paused = value
end
start_time() click to toggle source

Returns the value of the `start_time` attribute.

@return [DateTime]

# File lib/ovirtsdk4/types.rb, line 45283
def start_time
  return @start_time
end
start_time=(value) click to toggle source

Sets the value of the `start_time` attribute.

@param value [DateTime]

# File lib/ovirtsdk4/types.rb, line 45292
def start_time=(value)
  @start_time = value
end
stateless() click to toggle source

Returns the value of the `stateless` attribute.

@return [Boolean]

# File lib/ovirtsdk4/types.rb, line 45301
def stateless
  return @stateless
end
stateless=(value) click to toggle source

Sets the value of the `stateless` attribute.

@param value [Boolean]

# File lib/ovirtsdk4/types.rb, line 45310
def stateless=(value)
  @stateless = value
end
statistics() click to toggle source

Returns the value of the `statistics` attribute.

@return [Array<Statistic>]

# File lib/ovirtsdk4/types.rb, line 45319
def statistics
  return @statistics
end
statistics=(list) click to toggle source

Sets the value of the `statistics` attribute.

@param list [Array<Statistic>]

# File lib/ovirtsdk4/types.rb, line 45327
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
status() click to toggle source

Returns the value of the `status` attribute.

@return [VmStatus]

# File lib/ovirtsdk4/types.rb, line 45344
def status
  return @status
end
status=(value) click to toggle source

Sets the value of the `status` attribute.

@param value [VmStatus]

# File lib/ovirtsdk4/types.rb, line 45353
def status=(value)
  @status = value
end
status_detail() click to toggle source

Returns the value of the `status_detail` attribute.

@return [String]

# File lib/ovirtsdk4/types.rb, line 45362
def status_detail
  return @status_detail
end
status_detail=(value) click to toggle source

Sets the value of the `status_detail` attribute.

@param value [String]

# File lib/ovirtsdk4/types.rb, line 45371
def status_detail=(value)
  @status_detail = value
end
stop_reason() click to toggle source

Returns the value of the `stop_reason` attribute.

@return [String]

# File lib/ovirtsdk4/types.rb, line 45380
def stop_reason
  return @stop_reason
end
stop_reason=(value) click to toggle source

Sets the value of the `stop_reason` attribute.

@param value [String]

# File lib/ovirtsdk4/types.rb, line 45389
def stop_reason=(value)
  @stop_reason = value
end
stop_time() click to toggle source

Returns the value of the `stop_time` attribute.

@return [DateTime]

# File lib/ovirtsdk4/types.rb, line 45398
def stop_time
  return @stop_time
end
stop_time=(value) click to toggle source

Sets the value of the `stop_time` attribute.

@param value [DateTime]

# File lib/ovirtsdk4/types.rb, line 45407
def stop_time=(value)
  @stop_time = value
end
storage_domain() click to toggle source

Returns the value of the `storage_domain` attribute.

@return [StorageDomain]

# File lib/ovirtsdk4/types.rb, line 45416
def storage_domain
  return @storage_domain
end
storage_domain=(value) click to toggle source

Sets the value of the `storage_domain` attribute.

@param value [StorageDomain, Hash]

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.

# File lib/ovirtsdk4/types.rb, line 45429
def storage_domain=(value)
  if value.is_a?(Hash)
    value = StorageDomain.new(value)
  end
  @storage_domain = value
end
tags() click to toggle source

Returns the value of the `tags` attribute.

@return [Array<Tag>]

# File lib/ovirtsdk4/types.rb, line 45441
def tags
  return @tags
end
tags=(list) click to toggle source

Sets the value of the `tags` attribute.

@param list [Array<Tag>]

# File lib/ovirtsdk4/types.rb, line 45449
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() click to toggle source

Returns the value of the `template` attribute.

@return [Template]

# File lib/ovirtsdk4/types.rb, line 45466
def template
  return @template
end
template=(value) click to toggle source

Sets the value of the `template` attribute.

@param value [Template, Hash]

The `value` parameter can be an instance of {OvirtSDK4::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.

# File lib/ovirtsdk4/types.rb, line 45479
def template=(value)
  if value.is_a?(Hash)
    value = Template.new(value)
  end
  @template = value
end
time_zone() click to toggle source

Returns the value of the `time_zone` attribute.

@return [TimeZone]

# File lib/ovirtsdk4/types.rb, line 45491
def time_zone
  return @time_zone
end
time_zone=(value) click to toggle source

Sets the value of the `time_zone` attribute.

@param value [TimeZone, Hash]

The `value` parameter can be an instance of {OvirtSDK4::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.

# File lib/ovirtsdk4/types.rb, line 45504
def time_zone=(value)
  if value.is_a?(Hash)
    value = TimeZone.new(value)
  end
  @time_zone = value
end
tunnel_migration() click to toggle source

Returns the value of the `tunnel_migration` attribute.

@return [Boolean]

# File lib/ovirtsdk4/types.rb, line 45516
def tunnel_migration
  return @tunnel_migration
end
tunnel_migration=(value) click to toggle source

Sets the value of the `tunnel_migration` attribute.

@param value [Boolean]

# File lib/ovirtsdk4/types.rb, line 45525
def tunnel_migration=(value)
  @tunnel_migration = value
end
type() click to toggle source

Returns the value of the `type` attribute.

@return [VmType]

# File lib/ovirtsdk4/types.rb, line 45534
def type
  return @type
end
type=(value) click to toggle source

Sets the value of the `type` attribute.

@param value [VmType]

# File lib/ovirtsdk4/types.rb, line 45543
def type=(value)
  @type = value
end
usb() click to toggle source

Returns the value of the `usb` attribute.

@return [Usb]

# File lib/ovirtsdk4/types.rb, line 45552
def usb
  return @usb
end
usb=(value) click to toggle source

Sets the value of the `usb` attribute.

@param value [Usb, Hash]

The `value` parameter can be an instance of {OvirtSDK4::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.

# File lib/ovirtsdk4/types.rb, line 45565
def usb=(value)
  if value.is_a?(Hash)
    value = Usb.new(value)
  end
  @usb = value
end
use_latest_template_version() click to toggle source

Returns the value of the `use_latest_template_version` attribute.

@return [Boolean]

# File lib/ovirtsdk4/types.rb, line 45577
def use_latest_template_version
  return @use_latest_template_version
end
use_latest_template_version=(value) click to toggle source

Sets the value of the `use_latest_template_version` attribute.

@param value [Boolean]

# File lib/ovirtsdk4/types.rb, line 45586
def use_latest_template_version=(value)
  @use_latest_template_version = value
end
virtio_scsi() click to toggle source

Returns the value of the `virtio_scsi` attribute.

@return [VirtioScsi]

# File lib/ovirtsdk4/types.rb, line 45595
def virtio_scsi
  return @virtio_scsi
end
virtio_scsi=(value) click to toggle source

Sets the value of the `virtio_scsi` attribute.

@param value [VirtioScsi, Hash]

The `value` parameter can be an instance of {OvirtSDK4::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.

# File lib/ovirtsdk4/types.rb, line 45608
def virtio_scsi=(value)
  if value.is_a?(Hash)
    value = VirtioScsi.new(value)
  end
  @virtio_scsi = value
end
vm() click to toggle source

Returns the value of the `vm` attribute.

@return [Vm]

# File lib/ovirtsdk4/types.rb, line 45620
def vm
  return @vm
end
vm=(value) click to toggle source

Sets the value of the `vm` attribute.

@param value [Vm, Hash]

The `value` parameter can be an instance of {OvirtSDK4::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.

# File lib/ovirtsdk4/types.rb, line 45633
def vm=(value)
  if value.is_a?(Hash)
    value = Vm.new(value)
  end
  @vm = value
end
vm_pool() click to toggle source

Returns the value of the `vm_pool` attribute.

@return [VmPool]

# File lib/ovirtsdk4/types.rb, line 45645
def vm_pool
  return @vm_pool
end
vm_pool=(value) click to toggle source

Sets the value of the `vm_pool` attribute.

@param value [VmPool, Hash]

The `value` parameter can be an instance of {OvirtSDK4::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.

# File lib/ovirtsdk4/types.rb, line 45658
def vm_pool=(value)
  if value.is_a?(Hash)
    value = VmPool.new(value)
  end
  @vm_pool = value
end
watchdogs() click to toggle source

Returns the value of the `watchdogs` attribute.

@return [Array<Watchdog>]

# File lib/ovirtsdk4/types.rb, line 45670
def watchdogs
  return @watchdogs
end
watchdogs=(list) click to toggle source

Sets the value of the `watchdogs` attribute.

@param list [Array<Watchdog>]

# File lib/ovirtsdk4/types.rb, line 45678
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