Class: OvirtSDK4::Snapshot
- Inherits:
-
Vm
- Object
- Struct
- Identified
- VmBase
- Vm
- OvirtSDK4::Snapshot
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (Array<AffinityLabel>) affinity_labels
Returns the value of the
affinity_labelsattribute. -
- (Object) affinity_labels=(list)
Sets the value of the
affinity_labelsattribute. -
- (Array<Application>) applications
Returns the value of the
applicationsattribute. -
- (Object) applications=(list)
Sets the value of the
applicationsattribute. -
- (Bios) bios
Returns the value of the
biosattribute. -
- (Object) bios=(value)
Sets the value of the
biosattribute. -
- (Array<Cdrom>) cdroms
Returns the value of the
cdromsattribute. -
- (Object) cdroms=(list)
Sets the value of the
cdromsattribute. -
- (Cluster) cluster
Returns the value of the
clusterattribute. -
- (Object) cluster=(value)
Sets the value of the
clusterattribute. -
- (String) comment
Returns the value of the
commentattribute. -
- (Object) comment=(value)
Sets the value of the
commentattribute. -
- (Console) console
Returns the value of the
consoleattribute. -
- (Object) console=(value)
Sets the value of the
consoleattribute. -
- (Cpu) cpu
Returns the value of the
cpuattribute. -
- (Object) cpu=(value)
Sets the value of the
cpuattribute. -
- (CpuProfile) cpu_profile
Returns the value of the
cpu_profileattribute. -
- (Object) cpu_profile=(value)
Sets the value of the
cpu_profileattribute. -
- (Integer) cpu_shares
Returns the value of the
cpu_sharesattribute. -
- (Object) cpu_shares=(value)
Sets the value of the
cpu_sharesattribute. -
- (DateTime) creation_time
Returns the value of the
creation_timeattribute. -
- (Object) creation_time=(value)
Sets the value of the
creation_timeattribute. -
- (Version) custom_compatibility_version
Returns the value of the
custom_compatibility_versionattribute. -
- (Object) custom_compatibility_version=(value)
Sets the value of the
custom_compatibility_versionattribute. -
- (String) custom_cpu_model
Returns the value of the
custom_cpu_modelattribute. -
- (Object) custom_cpu_model=(value)
Sets the value of the
custom_cpu_modelattribute. -
- (String) custom_emulated_machine
Returns the value of the
custom_emulated_machineattribute. -
- (Object) custom_emulated_machine=(value)
Sets the value of the
custom_emulated_machineattribute. -
- (Array<CustomProperty>) custom_properties
Returns the value of the
custom_propertiesattribute. -
- (Object) custom_properties=(list)
Sets the value of the
custom_propertiesattribute. -
- (DateTime) date
Returns the value of the
dateattribute. -
- (Object) date=(value)
Sets the value of the
dateattribute. -
- (Boolean) delete_protected
Returns the value of the
delete_protectedattribute. -
- (Object) delete_protected=(value)
Sets the value of the
delete_protectedattribute. -
- (String) description
Returns the value of the
descriptionattribute. -
- (Object) description=(value)
Sets the value of the
descriptionattribute. -
- (Array<DiskAttachment>) disk_attachments
Returns the value of the
disk_attachmentsattribute. -
- (Object) disk_attachments=(list)
Sets the value of the
disk_attachmentsattribute. -
- (Array<Disk>) disks
Returns the value of the
disksattribute. -
- (Object) disks=(list)
Sets the value of the
disksattribute. -
- (Display) display
Returns the value of the
displayattribute. -
- (Object) display=(value)
Sets the value of the
displayattribute. -
- (Domain) domain
Returns the value of the
domainattribute. -
- (Object) domain=(value)
Sets the value of the
domainattribute. -
- (ExternalHostProvider) external_host_provider
Returns the value of the
external_host_providerattribute. -
- (Object) external_host_provider=(value)
Sets the value of the
external_host_providerattribute. -
- (Array<Floppy>) floppies
Returns the value of the
floppiesattribute. -
- (Object) floppies=(list)
Sets the value of the
floppiesattribute. -
- (String) fqdn
Returns the value of the
fqdnattribute. -
- (Object) fqdn=(value)
Sets the value of the
fqdnattribute. -
- (Array<GraphicsConsole>) graphics_consoles
Returns the value of the
graphics_consolesattribute. -
- (Object) graphics_consoles=(list)
Sets the value of the
graphics_consolesattribute. -
- (GuestOperatingSystem) guest_operating_system
Returns the value of the
guest_operating_systemattribute. -
- (Object) guest_operating_system=(value)
Sets the value of the
guest_operating_systemattribute. -
- (TimeZone) guest_time_zone
Returns the value of the
guest_time_zoneattribute. -
- (Object) guest_time_zone=(value)
Sets the value of the
guest_time_zoneattribute. -
- (HighAvailability) high_availability
Returns the value of the
high_availabilityattribute. -
- (Object) high_availability=(value)
Sets the value of the
high_availabilityattribute. -
- (Host) host
Returns the value of the
hostattribute. -
- (Object) host=(value)
Sets the value of the
hostattribute. -
- (Array<HostDevice>) host_devices
Returns the value of the
host_devicesattribute. -
- (Object) host_devices=(list)
Sets the value of the
host_devicesattribute. -
- (String) id
Returns the value of the
idattribute. -
- (Object) id=(value)
Sets the value of the
idattribute. -
- (Initialization) initialization
Returns the value of the
initializationattribute. -
- (Object) initialization=(value)
Sets the value of the
initializationattribute. -
- (Snapshot) initialize(opts = {})
constructor
Creates a new instance of the Snapshot class.
-
- (InstanceType) instance_type
Returns the value of the
instance_typeattribute. -
- (Object) instance_type=(value)
Sets the value of the
instance_typeattribute. -
- (Io) io
Returns the value of the
ioattribute. -
- (Object) io=(value)
Sets the value of the
ioattribute. -
- (Array<KatelloErratum>) katello_errata
Returns the value of the
katello_errataattribute. -
- (Object) katello_errata=(list)
Sets the value of the
katello_errataattribute. -
- (Icon) large_icon
Returns the value of the
large_iconattribute. -
- (Object) large_icon=(value)
Sets the value of the
large_iconattribute. -
- (Integer) memory
Returns the value of the
memoryattribute. -
- (Object) memory=(value)
Sets the value of the
memoryattribute. -
- (MemoryPolicy) memory_policy
Returns the value of the
memory_policyattribute. -
- (Object) memory_policy=(value)
Sets the value of the
memory_policyattribute. -
- (MigrationOptions) migration
Returns the value of the
migrationattribute. -
- (Object) migration=(value)
Sets the value of the
migrationattribute. -
- (Integer) migration_downtime
Returns the value of the
migration_downtimeattribute. -
- (Object) migration_downtime=(value)
Sets the value of the
migration_downtimeattribute. -
- (String) name
Returns the value of the
nameattribute. -
- (Object) name=(value)
Sets the value of the
nameattribute. -
- (Boolean) next_run_configuration_exists
Returns the value of the
next_run_configuration_existsattribute. -
- (Object) next_run_configuration_exists=(value)
Sets the value of the
next_run_configuration_existsattribute. -
- (Array<Nic>) nics
Returns the value of the
nicsattribute. -
- (Object) nics=(list)
Sets the value of the
nicsattribute. -
- (Array<NumaNode>) numa_nodes
Returns the value of the
numa_nodesattribute. -
- (Object) numa_nodes=(list)
Sets the value of the
numa_nodesattribute. -
- (NumaTuneMode) numa_tune_mode
Returns the value of the
numa_tune_modeattribute. -
- (Object) numa_tune_mode=(value)
Sets the value of the
numa_tune_modeattribute. -
- (String) origin
Returns the value of the
originattribute. -
- (Object) origin=(value)
Sets the value of the
originattribute. -
- (OperatingSystem) os
Returns the value of the
osattribute. -
- (Object) os=(value)
Sets the value of the
osattribute. -
- (Array<Payload>) payloads
Returns the value of the
payloadsattribute. -
- (Object) payloads=(list)
Sets the value of the
payloadsattribute. -
- (Array<Permission>) permissions
Returns the value of the
permissionsattribute. -
- (Object) permissions=(list)
Sets the value of the
permissionsattribute. -
- (Boolean) persist_memorystate
Returns the value of the
persist_memorystateattribute. -
- (Object) persist_memorystate=(value)
Sets the value of the
persist_memorystateattribute. -
- (VmPlacementPolicy) placement_policy
Returns the value of the
placement_policyattribute. -
- (Object) placement_policy=(value)
Sets the value of the
placement_policyattribute. -
- (Quota) quota
Returns the value of the
quotaattribute. -
- (Object) quota=(value)
Sets the value of the
quotaattribute. -
- (Array<ReportedDevice>) reported_devices
Returns the value of the
reported_devicesattribute. -
- (Object) reported_devices=(list)
Sets the value of the
reported_devicesattribute. -
- (RngDevice) rng_device
Returns the value of the
rng_deviceattribute. -
- (Object) rng_device=(value)
Sets the value of the
rng_deviceattribute. -
- (Boolean) run_once
Returns the value of the
run_onceattribute. -
- (Object) run_once=(value)
Sets the value of the
run_onceattribute. -
- (SerialNumber) serial_number
Returns the value of the
serial_numberattribute. -
- (Object) serial_number=(value)
Sets the value of the
serial_numberattribute. -
- (Array<Session>) sessions
Returns the value of the
sessionsattribute. -
- (Object) sessions=(list)
Sets the value of the
sessionsattribute. -
- (Icon) small_icon
Returns the value of the
small_iconattribute. -
- (Object) small_icon=(value)
Sets the value of the
small_iconattribute. -
- (SnapshotStatus) snapshot_status
Returns the value of the
snapshot_statusattribute. -
- (Object) snapshot_status=(value)
Sets the value of the
snapshot_statusattribute. -
- (SnapshotType) snapshot_type
Returns the value of the
snapshot_typeattribute. -
- (Object) snapshot_type=(value)
Sets the value of the
snapshot_typeattribute. -
- (Array<Snapshot>) snapshots
Returns the value of the
snapshotsattribute. -
- (Object) snapshots=(list)
Sets the value of the
snapshotsattribute. -
- (Boolean) soundcard_enabled
Returns the value of the
soundcard_enabledattribute. -
- (Object) soundcard_enabled=(value)
Sets the value of the
soundcard_enabledattribute. -
- (Sso) sso
Returns the value of the
ssoattribute. -
- (Object) sso=(value)
Sets the value of the
ssoattribute. -
- (Boolean) start_paused
Returns the value of the
start_pausedattribute. -
- (Object) start_paused=(value)
Sets the value of the
start_pausedattribute. -
- (DateTime) start_time
Returns the value of the
start_timeattribute. -
- (Object) start_time=(value)
Sets the value of the
start_timeattribute. -
- (Boolean) stateless
Returns the value of the
statelessattribute. -
- (Object) stateless=(value)
Sets the value of the
statelessattribute. -
- (Array<Statistic>) statistics
Returns the value of the
statisticsattribute. -
- (Object) statistics=(list)
Sets the value of the
statisticsattribute. -
- (VmStatus) status
Returns the value of the
statusattribute. -
- (Object) status=(value)
Sets the value of the
statusattribute. -
- (String) status_detail
Returns the value of the
status_detailattribute. -
- (Object) status_detail=(value)
Sets the value of the
status_detailattribute. -
- (String) stop_reason
Returns the value of the
stop_reasonattribute. -
- (Object) stop_reason=(value)
Sets the value of the
stop_reasonattribute. -
- (DateTime) stop_time
Returns the value of the
stop_timeattribute. -
- (Object) stop_time=(value)
Sets the value of the
stop_timeattribute. -
- (StorageDomain) storage_domain
Returns the value of the
storage_domainattribute. -
- (Object) storage_domain=(value)
Sets the value of the
storage_domainattribute. -
- (Array<Tag>) tags
Returns the value of the
tagsattribute. -
- (Object) tags=(list)
Sets the value of the
tagsattribute. -
- (Template) template
Returns the value of the
templateattribute. -
- (Object) template=(value)
Sets the value of the
templateattribute. -
- (TimeZone) time_zone
Returns the value of the
time_zoneattribute. -
- (Object) time_zone=(value)
Sets the value of the
time_zoneattribute. -
- (Boolean) tunnel_migration
Returns the value of the
tunnel_migrationattribute. -
- (Object) tunnel_migration=(value)
Sets the value of the
tunnel_migrationattribute. -
- (VmType) type
Returns the value of the
typeattribute. -
- (Object) type=(value)
Sets the value of the
typeattribute. -
- (Usb) usb
Returns the value of the
usbattribute. -
- (Object) usb=(value)
Sets the value of the
usbattribute. -
- (Boolean) use_latest_template_version
Returns the value of the
use_latest_template_versionattribute. -
- (Object) use_latest_template_version=(value)
Sets the value of the
use_latest_template_versionattribute. -
- (VirtioScsi) virtio_scsi
Returns the value of the
virtio_scsiattribute. -
- (Object) virtio_scsi=(value)
Sets the value of the
virtio_scsiattribute. -
- (Vm) vm
Returns the value of the
vmattribute. -
- (Object) vm=(value)
Sets the value of the
vmattribute. -
- (VmPool) vm_pool
Returns the value of the
vm_poolattribute. -
- (Object) vm_pool=(value)
Sets the value of the
vm_poolattribute. -
- (Array<Watchdog>) watchdogs
Returns the value of the
watchdogsattribute. -
- (Object) watchdogs=(list)
Sets the value of the
watchdogsattribute.
Methods included from Type
Constructor Details
- (Snapshot) initialize(opts = {})
Creates a new instance of the OvirtSDK4::Snapshot class.
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. = 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. = 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. = 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. = 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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
43750 43751 43752 |
# File 'lib/ovirtsdk4/types.rb', line 43750 def return @disk_attachments end |
- (Object) disk_attachments=(list)
Sets the value of the disk_attachments attribute.
43758 43759 43760 43761 43762 43763 43764 43765 43766 43767 43768 |
# File 'lib/ovirtsdk4/types.rb', line 43758 def (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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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 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.
43956 43957 43958 43959 43960 43961 |
# File 'lib/ovirtsdk4/types.rb', line 43956 def (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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
44469 44470 44471 |
# File 'lib/ovirtsdk4/types.rb', line 44469 def return @permissions end |
- (Object) permissions=(list)
Sets the value of the permissions attribute.
44477 44478 44479 44480 44481 44482 44483 44484 44485 44486 44487 |
# File 'lib/ovirtsdk4/types.rb', line 44477 def (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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
44985 44986 44987 |
# File 'lib/ovirtsdk4/types.rb', line 44985 def return @tags end |
- (Object) tags=(list)
Sets the value of the tags attribute.
44993 44994 44995 44996 44997 44998 44999 45000 45001 45002 45003 |
# File 'lib/ovirtsdk4/types.rb', line 44993 def (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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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 |