class OvirtSDK4::Action

Public Class Methods

new(opts = {}) click to toggle source

Creates a new instance of the {Action} 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 [Boolean] :activate The value of attribute `activate`.

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

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

@option opts [DiskAttachment, Hash] :attachment The value of attribute `attachment`.

@option opts [AuthorizedKey, Hash] :authorized_key The value of attribute `authorized_key`.

@option opts [AutoPinningPolicy] :auto_pinning_policy The value of attribute `auto_pinning_policy`.

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

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

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

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

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

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

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

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

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

@option opts [StorageConnection, Hash] :connection The value of attribute `connection`.

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

@option opts [DataCenter, Hash] :data_center The value of attribute `data_center`.

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

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

@option opts [GlusterVolumeProfileDetails, Hash] :details The value of attribute `details`.

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

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

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

@option opts [Disk, Hash] :disk The value of attribute `disk`.

@option opts [DiskProfile, Hash] :disk_profile The value of attribute `disk_profile`.

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

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

@option opts [Fault, Hash] :fault The value of attribute `fault`.

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

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

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

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

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

@option opts [GracePeriod, Hash] :grace_period The value of attribute `grace_period`.

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

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

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

@option opts [ImageTransfer, Hash] :image_transfer The value of attribute `image_transfer`.

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

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

@option opts [IscsiDetails, Hash] :iscsi The value of attribute `iscsi`.

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

@option opts [Job, Hash] :job The value of attribute `job`.

@option opts [StorageDomainLease, Hash] :lease The value of attribute `lease`.

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

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

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

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

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

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

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

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

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

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

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

@option opts [Permission, Hash] :permission The value of attribute `permission`.

@option opts [PowerManagement, Hash] :power_management The value of attribute `power_management`.

@option opts [ProxyTicket, Hash] :proxy_ticket The value of attribute `proxy_ticket`.

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

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

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

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

@option opts [RegistrationConfiguration, Hash] :registration_configuration The value of attribute `registration_configuration`.

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

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

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

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

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

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

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

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

@option opts [Snapshot, Hash] :snapshot The value of attribute `snapshot`.

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

@option opts [Ssh, Hash] :ssh The value of attribute `ssh`.

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

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

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

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

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

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

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

@option opts [Ticket, Hash] :ticket The value of attribute `ticket`.

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

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

@option opts [ClusterUpgradeAction] :upgrade_action The value of attribute `upgrade_action`.

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

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

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

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

@option opts [HostNicVirtualFunctionsConfiguration, Hash] :virtual_functions_configuration The value of attribute `virtual_functions_configuration`.

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

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

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

Calls superclass method OvirtSDK4::Identified.new
# File lib/ovirtsdk4/types.rb, line 30041
def initialize(opts = {})
  super(opts)
  self.activate = opts[:activate]
  self.allow_partial_import = opts[:allow_partial_import]
  self.async = opts[:async]
  self.attachment = opts[:attachment]
  self.authorized_key = opts[:authorized_key]
  self.auto_pinning_policy = opts[:auto_pinning_policy]
  self.bricks = opts[:bricks]
  self.certificates = opts[:certificates]
  self.check_connectivity = opts[:check_connectivity]
  self.clone = opts[:clone]
  self.clone_permissions = opts[:clone_permissions]
  self.cluster = opts[:cluster]
  self.collapse_snapshots = opts[:collapse_snapshots]
  self.commit_on_success = opts[:commit_on_success]
  self.connection = opts[:connection]
  self.connectivity_timeout = opts[:connectivity_timeout]
  self.data_center = opts[:data_center]
  self.deploy_hosted_engine = opts[:deploy_hosted_engine]
  self.details = opts[:details]
  self.directory = opts[:directory]
  self.discard_snapshots = opts[:discard_snapshots]
  self.discovered_targets = opts[:discovered_targets]
  self.disk = opts[:disk]
  self.disk_profile = opts[:disk_profile]
  self.disks = opts[:disks]
  self.exclusive = opts[:exclusive]
  self.fault = opts[:fault]
  self.fence_type = opts[:fence_type]
  self.filename = opts[:filename]
  self.filter = opts[:filter]
  self.fix_layout = opts[:fix_layout]
  self.force = opts[:force]
  self.grace_period = opts[:grace_period]
  self.host = opts[:host]
  self.image = opts[:image]
  self.image_transfer = opts[:image_transfer]
  self.import_as_template = opts[:import_as_template]
  self.is_attached = opts[:is_attached]
  self.iscsi = opts[:iscsi]
  self.iscsi_targets = opts[:iscsi_targets]
  self.job = opts[:job]
  self.lease = opts[:lease]
  self.logical_units = opts[:logical_units]
  self.maintenance_after_restart = opts[:maintenance_after_restart]
  self.maintenance_enabled = opts[:maintenance_enabled]
  self.migrate_vms_in_affinity_closure = opts[:migrate_vms_in_affinity_closure]
  self.modified_bonds = opts[:modified_bonds]
  self.modified_labels = opts[:modified_labels]
  self.modified_network_attachments = opts[:modified_network_attachments]
  self.optimize_cpu_settings = opts[:optimize_cpu_settings]
  self.option = opts[:option]
  self.pause = opts[:pause]
  self.permission = opts[:permission]
  self.power_management = opts[:power_management]
  self.proxy_ticket = opts[:proxy_ticket]
  self.quota = opts[:quota]
  self.reason = opts[:reason]
  self.reassign_bad_macs = opts[:reassign_bad_macs]
  self.reboot = opts[:reboot]
  self.registration_configuration = opts[:registration_configuration]
  self.remote_viewer_connection_file = opts[:remote_viewer_connection_file]
  self.removed_bonds = opts[:removed_bonds]
  self.removed_labels = opts[:removed_labels]
  self.removed_network_attachments = opts[:removed_network_attachments]
  self.resolution_type = opts[:resolution_type]
  self.restore_memory = opts[:restore_memory]
  self.root_password = opts[:root_password]
  self.seal = opts[:seal]
  self.snapshot = opts[:snapshot]
  self.source_host = opts[:source_host]
  self.ssh = opts[:ssh]
  self.status = opts[:status]
  self.stop_gluster_service = opts[:stop_gluster_service]
  self.storage_domain = opts[:storage_domain]
  self.storage_domains = opts[:storage_domains]
  self.succeeded = opts[:succeeded]
  self.synchronized_network_attachments = opts[:synchronized_network_attachments]
  self.template = opts[:template]
  self.ticket = opts[:ticket]
  self.timeout = opts[:timeout]
  self.undeploy_hosted_engine = opts[:undeploy_hosted_engine]
  self.upgrade_action = opts[:upgrade_action]
  self.use_cloud_init = opts[:use_cloud_init]
  self.use_ignition = opts[:use_ignition]
  self.use_initialization = opts[:use_initialization]
  self.use_sysprep = opts[:use_sysprep]
  self.virtual_functions_configuration = opts[:virtual_functions_configuration]
  self.vm = opts[:vm]
  self.vnic_profile_mappings = opts[:vnic_profile_mappings]
  self.volatile = opts[:volatile]
end

Public Instance Methods

==(other) click to toggle source

Returns `true` if `self` and `other` have the same attributes and values.

Calls superclass method OvirtSDK4::Identified#==
# File lib/ovirtsdk4/types.rb, line 30138
def ==(other)
  super &&
  @activate == other.activate &&
  @allow_partial_import == other.allow_partial_import &&
  @async == other.async &&
  @attachment == other.attachment &&
  @authorized_key == other.authorized_key &&
  @auto_pinning_policy == other.auto_pinning_policy &&
  @bricks == other.bricks &&
  @certificates == other.certificates &&
  @check_connectivity == other.check_connectivity &&
  @clone == other.clone &&
  @clone_permissions == other.clone_permissions &&
  @cluster == other.cluster &&
  @collapse_snapshots == other.collapse_snapshots &&
  @commit_on_success == other.commit_on_success &&
  @connection == other.connection &&
  @connectivity_timeout == other.connectivity_timeout &&
  @data_center == other.data_center &&
  @deploy_hosted_engine == other.deploy_hosted_engine &&
  @details == other.details &&
  @directory == other.directory &&
  @discard_snapshots == other.discard_snapshots &&
  @discovered_targets == other.discovered_targets &&
  @disk == other.disk &&
  @disk_profile == other.disk_profile &&
  @disks == other.disks &&
  @exclusive == other.exclusive &&
  @fault == other.fault &&
  @fence_type == other.fence_type &&
  @filename == other.filename &&
  @filter == other.filter &&
  @fix_layout == other.fix_layout &&
  @force == other.force &&
  @grace_period == other.grace_period &&
  @host == other.host &&
  @image == other.image &&
  @image_transfer == other.image_transfer &&
  @import_as_template == other.import_as_template &&
  @is_attached == other.is_attached &&
  @iscsi == other.iscsi &&
  @iscsi_targets == other.iscsi_targets &&
  @job == other.job &&
  @lease == other.lease &&
  @logical_units == other.logical_units &&
  @maintenance_after_restart == other.maintenance_after_restart &&
  @maintenance_enabled == other.maintenance_enabled &&
  @migrate_vms_in_affinity_closure == other.migrate_vms_in_affinity_closure &&
  @modified_bonds == other.modified_bonds &&
  @modified_labels == other.modified_labels &&
  @modified_network_attachments == other.modified_network_attachments &&
  @optimize_cpu_settings == other.optimize_cpu_settings &&
  @option == other.option &&
  @pause == other.pause &&
  @permission == other.permission &&
  @power_management == other.power_management &&
  @proxy_ticket == other.proxy_ticket &&
  @quota == other.quota &&
  @reason == other.reason &&
  @reassign_bad_macs == other.reassign_bad_macs &&
  @reboot == other.reboot &&
  @registration_configuration == other.registration_configuration &&
  @remote_viewer_connection_file == other.remote_viewer_connection_file &&
  @removed_bonds == other.removed_bonds &&
  @removed_labels == other.removed_labels &&
  @removed_network_attachments == other.removed_network_attachments &&
  @resolution_type == other.resolution_type &&
  @restore_memory == other.restore_memory &&
  @root_password == other.root_password &&
  @seal == other.seal &&
  @snapshot == other.snapshot &&
  @source_host == other.source_host &&
  @ssh == other.ssh &&
  @status == other.status &&
  @stop_gluster_service == other.stop_gluster_service &&
  @storage_domain == other.storage_domain &&
  @storage_domains == other.storage_domains &&
  @succeeded == other.succeeded &&
  @synchronized_network_attachments == other.synchronized_network_attachments &&
  @template == other.template &&
  @ticket == other.ticket &&
  @timeout == other.timeout &&
  @undeploy_hosted_engine == other.undeploy_hosted_engine &&
  @upgrade_action == other.upgrade_action &&
  @use_cloud_init == other.use_cloud_init &&
  @use_ignition == other.use_ignition &&
  @use_initialization == other.use_initialization &&
  @use_sysprep == other.use_sysprep &&
  @virtual_functions_configuration == other.virtual_functions_configuration &&
  @vm == other.vm &&
  @vnic_profile_mappings == other.vnic_profile_mappings &&
  @volatile == other.volatile
end
activate() click to toggle source

Returns the value of the `activate` attribute.

@return [Boolean]

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

Sets the value of the `activate` attribute.

@param value [Boolean]

# File lib/ovirtsdk4/types.rb, line 27852
def activate=(value)
  @activate = value
end
allow_partial_import() click to toggle source

Returns the value of the `allow_partial_import` attribute.

@return [Boolean]

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

Sets the value of the `allow_partial_import` attribute.

@param value [Boolean]

# File lib/ovirtsdk4/types.rb, line 27870
def allow_partial_import=(value)
  @allow_partial_import = value
end
async() click to toggle source

Returns the value of the `async` attribute.

@return [Boolean]

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

Sets the value of the `async` attribute.

@param value [Boolean]

# File lib/ovirtsdk4/types.rb, line 27888
def async=(value)
  @async = value
end
attachment() click to toggle source

Returns the value of the `attachment` attribute.

@return [DiskAttachment]

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

Sets the value of the `attachment` attribute.

@param value [DiskAttachment, Hash]

The `value` parameter can be an instance of {OvirtSDK4::DiskAttachment} 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 27910
def attachment=(value)
  if value.is_a?(Hash)
    value = DiskAttachment.new(value)
  end
  @attachment = value
end
authorized_key() click to toggle source

Returns the value of the `authorized_key` attribute.

@return [AuthorizedKey]

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

Sets the value of the `authorized_key` attribute.

@param value [AuthorizedKey, Hash]

The `value` parameter can be an instance of {OvirtSDK4::AuthorizedKey} 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 27935
def authorized_key=(value)
  if value.is_a?(Hash)
    value = AuthorizedKey.new(value)
  end
  @authorized_key = value
end
auto_pinning_policy() click to toggle source

Returns the value of the `auto_pinning_policy` attribute.

@return [AutoPinningPolicy]

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

Sets the value of the `auto_pinning_policy` attribute.

@param value [AutoPinningPolicy]

# File lib/ovirtsdk4/types.rb, line 27956
def auto_pinning_policy=(value)
  @auto_pinning_policy = value
end
bricks() click to toggle source

Returns the value of the `bricks` attribute.

@return [Array<GlusterBrick>]

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

Sets the value of the `bricks` attribute.

@param list [Array<GlusterBrick>]

# File lib/ovirtsdk4/types.rb, line 27974
def bricks=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = GlusterBrick.new(value)
      end
    end
  end
  @bricks = list
end
certificates() click to toggle source

Returns the value of the `certificates` attribute.

@return [Array<Certificate>]

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

Sets the value of the `certificates` attribute.

@param list [Array<Certificate>]

# File lib/ovirtsdk4/types.rb, line 28000
def certificates=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = Certificate.new(value)
      end
    end
  end
  @certificates = list
end
check_connectivity() click to toggle source

Returns the value of the `check_connectivity` attribute.

@return [Boolean]

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

Sets the value of the `check_connectivity` attribute.

@param value [Boolean]

# File lib/ovirtsdk4/types.rb, line 28026
def check_connectivity=(value)
  @check_connectivity = value
end
clone() click to toggle source

Returns the value of the `clone` attribute.

@return [Boolean]

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

Sets the value of the `clone` attribute.

@param value [Boolean]

# File lib/ovirtsdk4/types.rb, line 28044
def clone=(value)
  @clone = value
end
clone_permissions() click to toggle source

Returns the value of the `clone_permissions` attribute.

@return [Boolean]

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

Sets the value of the `clone_permissions` attribute.

@param value [Boolean]

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

Returns the value of the `cluster` attribute.

@return [Cluster]

# File lib/ovirtsdk4/types.rb, line 28071
def cluster
  @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 28084
def cluster=(value)
  if value.is_a?(Hash)
    value = Cluster.new(value)
  end
  @cluster = value
end
collapse_snapshots() click to toggle source

Returns the value of the `collapse_snapshots` attribute.

@return [Boolean]

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

Sets the value of the `collapse_snapshots` attribute.

@param value [Boolean]

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

Returns the value of the `comment` attribute.

@return [String]

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

Sets the value of the `comment` attribute.

@param value [String]

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

Returns the value of the `commit_on_success` attribute.

@return [Boolean]

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

Sets the value of the `commit_on_success` attribute.

@param value [Boolean]

# File lib/ovirtsdk4/types.rb, line 28141
def commit_on_success=(value)
  @commit_on_success = value
end
connection() click to toggle source

Returns the value of the `connection` attribute.

@return [StorageConnection]

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

Sets the value of the `connection` attribute.

@param value [StorageConnection, Hash]

The `value` parameter can be an instance of {OvirtSDK4::StorageConnection} 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 28163
def connection=(value)
  if value.is_a?(Hash)
    value = StorageConnection.new(value)
  end
  @connection = value
end
connectivity_timeout() click to toggle source

Returns the value of the `connectivity_timeout` attribute.

@return [Integer]

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

Sets the value of the `connectivity_timeout` attribute.

@param value [Integer]

# File lib/ovirtsdk4/types.rb, line 28184
def connectivity_timeout=(value)
  @connectivity_timeout = value
end
data_center() click to toggle source

Returns the value of the `data_center` attribute.

@return [DataCenter]

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

Sets the value of the `data_center` attribute.

@param value [DataCenter, Hash]

The `value` parameter can be an instance of {OvirtSDK4::DataCenter} 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 28206
def data_center=(value)
  if value.is_a?(Hash)
    value = DataCenter.new(value)
  end
  @data_center = value
end
deploy_hosted_engine() click to toggle source

Returns the value of the `deploy_hosted_engine` attribute.

@return [Boolean]

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

Sets the value of the `deploy_hosted_engine` attribute.

@param value [Boolean]

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

Returns the value of the `description` attribute.

@return [String]

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

Sets the value of the `description` attribute.

@param value [String]

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

Returns the value of the `details` attribute.

@return [GlusterVolumeProfileDetails]

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

Sets the value of the `details` attribute.

@param value [GlusterVolumeProfileDetails, Hash]

The `value` parameter can be an instance of {OvirtSDK4::GlusterVolumeProfileDetails} 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 28267
def details=(value)
  if value.is_a?(Hash)
    value = GlusterVolumeProfileDetails.new(value)
  end
  @details = value
end
directory() click to toggle source

Returns the value of the `directory` attribute.

@return [String]

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

Sets the value of the `directory` attribute.

@param value [String]

# File lib/ovirtsdk4/types.rb, line 28288
def directory=(value)
  @directory = value
end
discard_snapshots() click to toggle source

Returns the value of the `discard_snapshots` attribute.

@return [Boolean]

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

Sets the value of the `discard_snapshots` attribute.

@param value [Boolean]

# File lib/ovirtsdk4/types.rb, line 28306
def discard_snapshots=(value)
  @discard_snapshots = value
end
discovered_targets() click to toggle source

Returns the value of the `discovered_targets` attribute.

@return [Array<IscsiDetails>]

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

Sets the value of the `discovered_targets` attribute.

@param list [Array<IscsiDetails>]

# File lib/ovirtsdk4/types.rb, line 28324
def discovered_targets=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = IscsiDetails.new(value)
      end
    end
  end
  @discovered_targets = list
end
disk() click to toggle source

Returns the value of the `disk` attribute.

@return [Disk]

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

Sets the value of the `disk` attribute.

@param value [Disk, Hash]

The `value` parameter can be an instance of {OvirtSDK4::Disk} 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 28354
def disk=(value)
  if value.is_a?(Hash)
    value = Disk.new(value)
  end
  @disk = value
end
disk_profile() click to toggle source

Returns the value of the `disk_profile` attribute.

@return [DiskProfile]

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

Sets the value of the `disk_profile` attribute.

@param value [DiskProfile, Hash]

The `value` parameter can be an instance of {OvirtSDK4::DiskProfile} 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 28379
def disk_profile=(value)
  if value.is_a?(Hash)
    value = DiskProfile.new(value)
  end
  @disk_profile = value
end
disks() click to toggle source

Returns the value of the `disks` attribute.

@return [Array<Disk>]

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

Sets the value of the `disks` attribute.

@param list [Array<Disk>]

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

Returns the value of the `exclusive` attribute.

@return [Boolean]

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

Sets the value of the `exclusive` attribute.

@param value [Boolean]

# File lib/ovirtsdk4/types.rb, line 28426
def exclusive=(value)
  @exclusive = value
end
fault() click to toggle source

Returns the value of the `fault` attribute.

@return [Fault]

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

Sets the value of the `fault` attribute.

@param value [Fault, Hash]

The `value` parameter can be an instance of {OvirtSDK4::Fault} 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 28448
def fault=(value)
  if value.is_a?(Hash)
    value = Fault.new(value)
  end
  @fault = value
end
fence_type() click to toggle source

Returns the value of the `fence_type` attribute.

@return [String]

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

Sets the value of the `fence_type` attribute.

@param value [String]

# File lib/ovirtsdk4/types.rb, line 28469
def fence_type=(value)
  @fence_type = value
end
filename() click to toggle source

Returns the value of the `filename` attribute.

@return [String]

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

Sets the value of the `filename` attribute.

@param value [String]

# File lib/ovirtsdk4/types.rb, line 28487
def filename=(value)
  @filename = value
end
filter() click to toggle source

Returns the value of the `filter` attribute.

@return [Boolean]

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

Sets the value of the `filter` attribute.

@param value [Boolean]

# File lib/ovirtsdk4/types.rb, line 28505
def filter=(value)
  @filter = value
end
fix_layout() click to toggle source

Returns the value of the `fix_layout` attribute.

@return [Boolean]

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

Sets the value of the `fix_layout` attribute.

@param value [Boolean]

# File lib/ovirtsdk4/types.rb, line 28523
def fix_layout=(value)
  @fix_layout = value
end
force() click to toggle source

Returns the value of the `force` attribute.

@return [Boolean]

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

Sets the value of the `force` attribute.

@param value [Boolean]

# File lib/ovirtsdk4/types.rb, line 28541
def force=(value)
  @force = value
end
grace_period() click to toggle source

Returns the value of the `grace_period` attribute.

@return [GracePeriod]

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

Sets the value of the `grace_period` attribute.

@param value [GracePeriod, Hash]

The `value` parameter can be an instance of {OvirtSDK4::GracePeriod} 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 28563
def grace_period=(value)
  if value.is_a?(Hash)
    value = GracePeriod.new(value)
  end
  @grace_period = value
end
hash() click to toggle source

Generates a hash value for this object.

Calls superclass method OvirtSDK4::Identified#hash
# File lib/ovirtsdk4/types.rb, line 30235
def hash
  super +
  @activate.hash +
  @allow_partial_import.hash +
  @async.hash +
  @attachment.hash +
  @authorized_key.hash +
  @auto_pinning_policy.hash +
  @bricks.hash +
  @certificates.hash +
  @check_connectivity.hash +
  @clone.hash +
  @clone_permissions.hash +
  @cluster.hash +
  @collapse_snapshots.hash +
  @commit_on_success.hash +
  @connection.hash +
  @connectivity_timeout.hash +
  @data_center.hash +
  @deploy_hosted_engine.hash +
  @details.hash +
  @directory.hash +
  @discard_snapshots.hash +
  @discovered_targets.hash +
  @disk.hash +
  @disk_profile.hash +
  @disks.hash +
  @exclusive.hash +
  @fault.hash +
  @fence_type.hash +
  @filename.hash +
  @filter.hash +
  @fix_layout.hash +
  @force.hash +
  @grace_period.hash +
  @host.hash +
  @image.hash +
  @image_transfer.hash +
  @import_as_template.hash +
  @is_attached.hash +
  @iscsi.hash +
  @iscsi_targets.hash +
  @job.hash +
  @lease.hash +
  @logical_units.hash +
  @maintenance_after_restart.hash +
  @maintenance_enabled.hash +
  @migrate_vms_in_affinity_closure.hash +
  @modified_bonds.hash +
  @modified_labels.hash +
  @modified_network_attachments.hash +
  @optimize_cpu_settings.hash +
  @option.hash +
  @pause.hash +
  @permission.hash +
  @power_management.hash +
  @proxy_ticket.hash +
  @quota.hash +
  @reason.hash +
  @reassign_bad_macs.hash +
  @reboot.hash +
  @registration_configuration.hash +
  @remote_viewer_connection_file.hash +
  @removed_bonds.hash +
  @removed_labels.hash +
  @removed_network_attachments.hash +
  @resolution_type.hash +
  @restore_memory.hash +
  @root_password.hash +
  @seal.hash +
  @snapshot.hash +
  @source_host.hash +
  @ssh.hash +
  @status.hash +
  @stop_gluster_service.hash +
  @storage_domain.hash +
  @storage_domains.hash +
  @succeeded.hash +
  @synchronized_network_attachments.hash +
  @template.hash +
  @ticket.hash +
  @timeout.hash +
  @undeploy_hosted_engine.hash +
  @upgrade_action.hash +
  @use_cloud_init.hash +
  @use_ignition.hash +
  @use_initialization.hash +
  @use_sysprep.hash +
  @virtual_functions_configuration.hash +
  @vm.hash +
  @vnic_profile_mappings.hash +
  @volatile.hash
end
host() click to toggle source

Returns the value of the `host` attribute.

@return [Host]

# File lib/ovirtsdk4/types.rb, line 28575
def host
  @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 28588
def host=(value)
  if value.is_a?(Hash)
    value = Host.new(value)
  end
  @host = value
end
id() click to toggle source

Returns the value of the `id` attribute.

@return [String]

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

Sets the value of the `id` attribute.

@param value [String]

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

Returns the value of the `image` attribute.

@return [String]

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

Sets the value of the `image` attribute.

@param value [String]

# File lib/ovirtsdk4/types.rb, line 28627
def image=(value)
  @image = value
end
image_transfer() click to toggle source

Returns the value of the `image_transfer` attribute.

@return [ImageTransfer]

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

Sets the value of the `image_transfer` attribute.

@param value [ImageTransfer, Hash]

The `value` parameter can be an instance of {OvirtSDK4::ImageTransfer} 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 28649
def image_transfer=(value)
  if value.is_a?(Hash)
    value = ImageTransfer.new(value)
  end
  @image_transfer = value
end
import_as_template() click to toggle source

Returns the value of the `import_as_template` attribute.

@return [Boolean]

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

Sets the value of the `import_as_template` attribute.

@param value [Boolean]

# File lib/ovirtsdk4/types.rb, line 28670
def import_as_template=(value)
  @import_as_template = value
end
is_attached() click to toggle source

Returns the value of the `is_attached` attribute.

@return [Boolean]

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

Sets the value of the `is_attached` attribute.

@param value [Boolean]

# File lib/ovirtsdk4/types.rb, line 28688
def is_attached=(value)
  @is_attached = value
end
iscsi() click to toggle source

Returns the value of the `iscsi` attribute.

@return [IscsiDetails]

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

Sets the value of the `iscsi` attribute.

@param value [IscsiDetails, Hash]

The `value` parameter can be an instance of {OvirtSDK4::IscsiDetails} 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 28710
def iscsi=(value)
  if value.is_a?(Hash)
    value = IscsiDetails.new(value)
  end
  @iscsi = value
end
iscsi_targets() click to toggle source

Returns the value of the `iscsi_targets` attribute.

@return [Array<String>]

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

Sets the value of the `iscsi_targets` attribute.

@param list [Array<String>]

# File lib/ovirtsdk4/types.rb, line 28731
def iscsi_targets=(list)
  @iscsi_targets = list
end
job() click to toggle source

Returns the value of the `job` attribute.

@return [Job]

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

Sets the value of the `job` attribute.

@param value [Job, Hash]

The `value` parameter can be an instance of {OvirtSDK4::Job} 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 28753
def job=(value)
  if value.is_a?(Hash)
    value = Job.new(value)
  end
  @job = value
end
lease() click to toggle source

Returns the value of the `lease` attribute.

@return [StorageDomainLease]

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

Sets the value of the `lease` attribute.

@param value [StorageDomainLease, Hash]

The `value` parameter can be an instance of {OvirtSDK4::StorageDomainLease} 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 28778
def lease=(value)
  if value.is_a?(Hash)
    value = StorageDomainLease.new(value)
  end
  @lease = value
end
logical_units() click to toggle source

Returns the value of the `logical_units` attribute.

@return [Array<LogicalUnit>]

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

Sets the value of the `logical_units` attribute.

@param list [Array<LogicalUnit>]

# File lib/ovirtsdk4/types.rb, line 28799
def logical_units=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = LogicalUnit.new(value)
      end
    end
  end
  @logical_units = list
end
maintenance_after_restart() click to toggle source

Returns the value of the `maintenance_after_restart` attribute.

@return [Boolean]

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

Sets the value of the `maintenance_after_restart` attribute.

@param value [Boolean]

# File lib/ovirtsdk4/types.rb, line 28825
def maintenance_after_restart=(value)
  @maintenance_after_restart = value
end
maintenance_enabled() click to toggle source

Returns the value of the `maintenance_enabled` attribute.

@return [Boolean]

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

Sets the value of the `maintenance_enabled` attribute.

@param value [Boolean]

# File lib/ovirtsdk4/types.rb, line 28843
def maintenance_enabled=(value)
  @maintenance_enabled = value
end
migrate_vms_in_affinity_closure() click to toggle source

Returns the value of the `migrate_vms_in_affinity_closure` attribute.

@return [Boolean]

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

Sets the value of the `migrate_vms_in_affinity_closure` attribute.

@param value [Boolean]

# File lib/ovirtsdk4/types.rb, line 28861
def migrate_vms_in_affinity_closure=(value)
  @migrate_vms_in_affinity_closure = value
end
modified_bonds() click to toggle source

Returns the value of the `modified_bonds` attribute.

@return [Array<HostNic>]

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

Sets the value of the `modified_bonds` attribute.

@param list [Array<HostNic>]

# File lib/ovirtsdk4/types.rb, line 28879
def modified_bonds=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = HostNic.new(value)
      end
    end
  end
  @modified_bonds = list
end
modified_labels() click to toggle source

Returns the value of the `modified_labels` attribute.

@return [Array<NetworkLabel>]

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

Sets the value of the `modified_labels` attribute.

@param list [Array<NetworkLabel>]

# File lib/ovirtsdk4/types.rb, line 28905
def modified_labels=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = NetworkLabel.new(value)
      end
    end
  end
  @modified_labels = list
end
modified_network_attachments() click to toggle source

Returns the value of the `modified_network_attachments` attribute.

@return [Array<NetworkAttachment>]

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

Sets the value of the `modified_network_attachments` attribute.

@param list [Array<NetworkAttachment>]

# File lib/ovirtsdk4/types.rb, line 28931
def modified_network_attachments=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = NetworkAttachment.new(value)
      end
    end
  end
  @modified_network_attachments = list
end
name() click to toggle source

Returns the value of the `name` attribute.

@return [String]

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

Sets the value of the `name` attribute.

@param value [String]

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

Returns the value of the `optimize_cpu_settings` attribute.

@return [Boolean]

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

Sets the value of the `optimize_cpu_settings` attribute.

@param value [Boolean]

# File lib/ovirtsdk4/types.rb, line 28975
def optimize_cpu_settings=(value)
  @optimize_cpu_settings = value
end
option() click to toggle source

Returns the value of the `option` attribute.

@return [Option]

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

Sets the value of the `option` attribute.

@param value [Option, Hash]

The `value` parameter can be an instance of {OvirtSDK4::Option} 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 28997
def option=(value)
  if value.is_a?(Hash)
    value = Option.new(value)
  end
  @option = value
end
pause() click to toggle source

Returns the value of the `pause` attribute.

@return [Boolean]

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

Sets the value of the `pause` attribute.

@param value [Boolean]

# File lib/ovirtsdk4/types.rb, line 29018
def pause=(value)
  @pause = value
end
permission() click to toggle source

Returns the value of the `permission` attribute.

@return [Permission]

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

Sets the value of the `permission` attribute.

@param value [Permission, Hash]

The `value` parameter can be an instance of {OvirtSDK4::Permission} 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 29040
def permission=(value)
  if value.is_a?(Hash)
    value = Permission.new(value)
  end
  @permission = value
end
power_management() click to toggle source

Returns the value of the `power_management` attribute.

@return [PowerManagement]

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

Sets the value of the `power_management` attribute.

@param value [PowerManagement, Hash]

The `value` parameter can be an instance of {OvirtSDK4::PowerManagement} 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 29065
def power_management=(value)
  if value.is_a?(Hash)
    value = PowerManagement.new(value)
  end
  @power_management = value
end
proxy_ticket() click to toggle source

Returns the value of the `proxy_ticket` attribute.

@return [ProxyTicket]

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

Sets the value of the `proxy_ticket` attribute.

@param value [ProxyTicket, Hash]

The `value` parameter can be an instance of {OvirtSDK4::ProxyTicket} 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 29090
def proxy_ticket=(value)
  if value.is_a?(Hash)
    value = ProxyTicket.new(value)
  end
  @proxy_ticket = value
end
quota() click to toggle source

Returns the value of the `quota` attribute.

@return [Quota]

# File lib/ovirtsdk4/types.rb, line 29102
def quota
  @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 29115
def quota=(value)
  if value.is_a?(Hash)
    value = Quota.new(value)
  end
  @quota = value
end
reason() click to toggle source

Returns the value of the `reason` attribute.

@return [String]

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

Sets the value of the `reason` attribute.

@param value [String]

# File lib/ovirtsdk4/types.rb, line 29136
def reason=(value)
  @reason = value
end
reassign_bad_macs() click to toggle source

Returns the value of the `reassign_bad_macs` attribute.

@return [Boolean]

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

Sets the value of the `reassign_bad_macs` attribute.

@param value [Boolean]

# File lib/ovirtsdk4/types.rb, line 29154
def reassign_bad_macs=(value)
  @reassign_bad_macs = value
end
reboot() click to toggle source

Returns the value of the `reboot` attribute.

@return [Boolean]

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

Sets the value of the `reboot` attribute.

@param value [Boolean]

# File lib/ovirtsdk4/types.rb, line 29172
def reboot=(value)
  @reboot = value
end
registration_configuration() click to toggle source

Returns the value of the `registration_configuration` attribute.

@return [RegistrationConfiguration]

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

Sets the value of the `registration_configuration` attribute.

@param value [RegistrationConfiguration, Hash]

The `value` parameter can be an instance of {OvirtSDK4::RegistrationConfiguration} 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 29194
def registration_configuration=(value)
  if value.is_a?(Hash)
    value = RegistrationConfiguration.new(value)
  end
  @registration_configuration = value
end
remote_viewer_connection_file() click to toggle source

Returns the value of the `remote_viewer_connection_file` attribute.

@return [String]

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

Sets the value of the `remote_viewer_connection_file` attribute.

@param value [String]

# File lib/ovirtsdk4/types.rb, line 29215
def remote_viewer_connection_file=(value)
  @remote_viewer_connection_file = value
end
removed_bonds() click to toggle source

Returns the value of the `removed_bonds` attribute.

@return [Array<HostNic>]

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

Sets the value of the `removed_bonds` attribute.

@param list [Array<HostNic>]

# File lib/ovirtsdk4/types.rb, line 29233
def removed_bonds=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = HostNic.new(value)
      end
    end
  end
  @removed_bonds = list
end
removed_labels() click to toggle source

Returns the value of the `removed_labels` attribute.

@return [Array<NetworkLabel>]

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

Sets the value of the `removed_labels` attribute.

@param list [Array<NetworkLabel>]

# File lib/ovirtsdk4/types.rb, line 29259
def removed_labels=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = NetworkLabel.new(value)
      end
    end
  end
  @removed_labels = list
end
removed_network_attachments() click to toggle source

Returns the value of the `removed_network_attachments` attribute.

@return [Array<NetworkAttachment>]

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

Sets the value of the `removed_network_attachments` attribute.

@param list [Array<NetworkAttachment>]

# File lib/ovirtsdk4/types.rb, line 29285
def removed_network_attachments=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = NetworkAttachment.new(value)
      end
    end
  end
  @removed_network_attachments = list
end
resolution_type() click to toggle source

Returns the value of the `resolution_type` attribute.

@return [String]

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

Sets the value of the `resolution_type` attribute.

@param value [String]

# File lib/ovirtsdk4/types.rb, line 29311
def resolution_type=(value)
  @resolution_type = value
end
restore_memory() click to toggle source

Returns the value of the `restore_memory` attribute.

@return [Boolean]

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

Sets the value of the `restore_memory` attribute.

@param value [Boolean]

# File lib/ovirtsdk4/types.rb, line 29329
def restore_memory=(value)
  @restore_memory = value
end
root_password() click to toggle source

Returns the value of the `root_password` attribute.

@return [String]

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

Sets the value of the `root_password` attribute.

@param value [String]

# File lib/ovirtsdk4/types.rb, line 29347
def root_password=(value)
  @root_password = value
end
seal() click to toggle source

Returns the value of the `seal` attribute.

@return [Boolean]

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

Sets the value of the `seal` attribute.

@param value [Boolean]

# File lib/ovirtsdk4/types.rb, line 29365
def seal=(value)
  @seal = value
end
snapshot() click to toggle source

Returns the value of the `snapshot` attribute.

@return [Snapshot]

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

Sets the value of the `snapshot` attribute.

@param value [Snapshot, Hash]

The `value` parameter can be an instance of {OvirtSDK4::Snapshot} 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 29387
def snapshot=(value)
  if value.is_a?(Hash)
    value = Snapshot.new(value)
  end
  @snapshot = value
end
source_host() click to toggle source

Returns the value of the `source_host` attribute.

@return [Host]

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

Sets the value of the `source_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 29412
def source_host=(value)
  if value.is_a?(Hash)
    value = Host.new(value)
  end
  @source_host = value
end
ssh() click to toggle source

Returns the value of the `ssh` attribute.

@return [Ssh]

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

Sets the value of the `ssh` attribute.

@param value [Ssh, Hash]

The `value` parameter can be an instance of {OvirtSDK4::Ssh} 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 29437
def ssh=(value)
  if value.is_a?(Hash)
    value = Ssh.new(value)
  end
  @ssh = value
end
status() click to toggle source

Returns the value of the `status` attribute.

@return [String]

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

Sets the value of the `status` attribute.

@param value [String]

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

Returns the value of the `stop_gluster_service` attribute.

@return [Boolean]

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

Sets the value of the `stop_gluster_service` attribute.

@param value [Boolean]

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

Returns the value of the `storage_domain` attribute.

@return [StorageDomain]

# File lib/ovirtsdk4/types.rb, line 29485
def storage_domain
  @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 29498
def storage_domain=(value)
  if value.is_a?(Hash)
    value = StorageDomain.new(value)
  end
  @storage_domain = value
end
storage_domains() click to toggle source

Returns the value of the `storage_domains` attribute.

@return [Array<StorageDomain>]

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

Sets the value of the `storage_domains` attribute.

@param list [Array<StorageDomain>]

# File lib/ovirtsdk4/types.rb, line 29519
def storage_domains=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = StorageDomain.new(value)
      end
    end
  end
  @storage_domains = list
end
succeeded() click to toggle source

Returns the value of the `succeeded` attribute.

@return [Boolean]

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

Sets the value of the `succeeded` attribute.

@param value [Boolean]

# File lib/ovirtsdk4/types.rb, line 29545
def succeeded=(value)
  @succeeded = value
end
synchronized_network_attachments() click to toggle source

Returns the value of the `synchronized_network_attachments` attribute.

@return [Array<NetworkAttachment>]

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

Sets the value of the `synchronized_network_attachments` attribute.

@param list [Array<NetworkAttachment>]

# File lib/ovirtsdk4/types.rb, line 29563
def synchronized_network_attachments=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = NetworkAttachment.new(value)
      end
    end
  end
  @synchronized_network_attachments = list
end
template() click to toggle source

Returns the value of the `template` attribute.

@return [Template]

# File lib/ovirtsdk4/types.rb, line 29580
def template
  @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 29593
def template=(value)
  if value.is_a?(Hash)
    value = Template.new(value)
  end
  @template = value
end
ticket() click to toggle source

Returns the value of the `ticket` attribute.

@return [Ticket]

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

Sets the value of the `ticket` attribute.

@param value [Ticket, Hash]

The `value` parameter can be an instance of {OvirtSDK4::Ticket} 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 29618
def ticket=(value)
  if value.is_a?(Hash)
    value = Ticket.new(value)
  end
  @ticket = value
end
timeout() click to toggle source

Returns the value of the `timeout` attribute.

@return [Integer]

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

Sets the value of the `timeout` attribute.

@param value [Integer]

# File lib/ovirtsdk4/types.rb, line 29639
def timeout=(value)
  @timeout = value
end
undeploy_hosted_engine() click to toggle source

Returns the value of the `undeploy_hosted_engine` attribute.

@return [Boolean]

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

Sets the value of the `undeploy_hosted_engine` attribute.

@param value [Boolean]

# File lib/ovirtsdk4/types.rb, line 29657
def undeploy_hosted_engine=(value)
  @undeploy_hosted_engine = value
end
upgrade_action() click to toggle source

Returns the value of the `upgrade_action` attribute.

@return [ClusterUpgradeAction]

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

Sets the value of the `upgrade_action` attribute.

@param value [ClusterUpgradeAction]

# File lib/ovirtsdk4/types.rb, line 29675
def upgrade_action=(value)
  @upgrade_action = value
end
use_cloud_init() click to toggle source

Returns the value of the `use_cloud_init` attribute.

@return [Boolean]

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

Sets the value of the `use_cloud_init` attribute.

@param value [Boolean]

# File lib/ovirtsdk4/types.rb, line 29693
def use_cloud_init=(value)
  @use_cloud_init = value
end
use_ignition() click to toggle source

Returns the value of the `use_ignition` attribute.

@return [Boolean]

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

Sets the value of the `use_ignition` attribute.

@param value [Boolean]

# File lib/ovirtsdk4/types.rb, line 29711
def use_ignition=(value)
  @use_ignition = value
end
use_initialization() click to toggle source

Returns the value of the `use_initialization` attribute.

@return [Boolean]

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

Sets the value of the `use_initialization` attribute.

@param value [Boolean]

# File lib/ovirtsdk4/types.rb, line 29729
def use_initialization=(value)
  @use_initialization = value
end
use_sysprep() click to toggle source

Returns the value of the `use_sysprep` attribute.

@return [Boolean]

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

Sets the value of the `use_sysprep` attribute.

@param value [Boolean]

# File lib/ovirtsdk4/types.rb, line 29747
def use_sysprep=(value)
  @use_sysprep = value
end
virtual_functions_configuration() click to toggle source

Returns the value of the `virtual_functions_configuration` attribute.

@return [HostNicVirtualFunctionsConfiguration]

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

Sets the value of the `virtual_functions_configuration` attribute.

@param value [HostNicVirtualFunctionsConfiguration, Hash]

The `value` parameter can be an instance of {OvirtSDK4::HostNicVirtualFunctionsConfiguration} 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 29769
def virtual_functions_configuration=(value)
  if value.is_a?(Hash)
    value = HostNicVirtualFunctionsConfiguration.new(value)
  end
  @virtual_functions_configuration = value
end
vm() click to toggle source

Returns the value of the `vm` attribute.

@return [Vm]

# File lib/ovirtsdk4/types.rb, line 29781
def vm
  @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 29794
def vm=(value)
  if value.is_a?(Hash)
    value = Vm.new(value)
  end
  @vm = value
end
vnic_profile_mappings() click to toggle source

Returns the value of the `vnic_profile_mappings` attribute.

@return [Array<VnicProfileMapping>]

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

Sets the value of the `vnic_profile_mappings` attribute.

@param list [Array<VnicProfileMapping>]

# File lib/ovirtsdk4/types.rb, line 29815
def vnic_profile_mappings=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = VnicProfileMapping.new(value)
      end
    end
  end
  @vnic_profile_mappings = list
end
volatile() click to toggle source

Returns the value of the `volatile` attribute.

@return [Boolean]

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

Sets the value of the `volatile` attribute.

@param value [Boolean]

# File lib/ovirtsdk4/types.rb, line 29841
def volatile=(value)
  @volatile = value
end