Class: OvirtSDK4::Action

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

Instance Method Summary collapse

Methods included from Type

#dig, #href, #href=

Constructor Details

#initialize(opts = {}) ⇒ Action

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

Parameters:

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

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

Options Hash (opts):

  • :activate (Boolean)

    The value of attribute activate.

  • :allow_partial_import (Boolean)

    The value of attribute allow_partial_import.

  • :async (Boolean)

    The value of attribute async.

  • :attachment (DiskAttachment, Hash)

    The value of attribute attachment.

  • :authorized_key (AuthorizedKey, Hash)

    The value of attribute authorized_key.

  • :auto_pinning_policy (AutoPinningPolicy)

    The value of attribute auto_pinning_policy.

  • :bricks (Array<GlusterBrick>, Array<Hash>)

    The values of attribute bricks.

  • :certificates (Array<Certificate>, Array<Hash>)

    The values of attribute certificates.

  • :check_connectivity (Boolean)

    The value of attribute check_connectivity.

  • :clone (Boolean)

    The value of attribute clone.

  • :clone_permissions (Boolean)

    The value of attribute clone_permissions.

  • :cluster (Cluster, Hash)

    The value of attribute cluster.

  • :collapse_snapshots (Boolean)

    The value of attribute collapse_snapshots.

  • :comment (String)

    The value of attribute comment.

  • :commit_on_success (Boolean)

    The value of attribute commit_on_success.

  • :connection (StorageConnection, Hash)

    The value of attribute connection.

  • :connectivity_timeout (Integer)

    The value of attribute connectivity_timeout.

  • :data_center (DataCenter, Hash)

    The value of attribute data_center.

  • :deploy_hosted_engine (Boolean)

    The value of attribute deploy_hosted_engine.

  • :description (String)

    The value of attribute description.

  • :details (GlusterVolumeProfileDetails, Hash)

    The value of attribute details.

  • :directory (String)

    The value of attribute directory.

  • :discard_snapshots (Boolean)

    The value of attribute discard_snapshots.

  • :discovered_targets (Array<IscsiDetails>, Array<Hash>)

    The values of attribute discovered_targets.

  • :disk (Disk, Hash)

    The value of attribute disk.

  • :disk_profile (DiskProfile, Hash)

    The value of attribute disk_profile.

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

    The values of attribute disks.

  • :exclusive (Boolean)

    The value of attribute exclusive.

  • :fault (Fault, Hash)

    The value of attribute fault.

  • :fence_type (String)

    The value of attribute fence_type.

  • :filename (String)

    The value of attribute filename.

  • :filter (Boolean)

    The value of attribute filter.

  • :fix_layout (Boolean)

    The value of attribute fix_layout.

  • :force (Boolean)

    The value of attribute force.

  • :grace_period (GracePeriod, Hash)

    The value of attribute grace_period.

  • :host (Host, Hash)

    The value of attribute host.

  • :id (String)

    The value of attribute id.

  • :image (String)

    The value of attribute image.

  • :image_transfer (ImageTransfer, Hash)

    The value of attribute image_transfer.

  • :import_as_template (Boolean)

    The value of attribute import_as_template.

  • :is_attached (Boolean)

    The value of attribute is_attached.

  • :iscsi (IscsiDetails, Hash)

    The value of attribute iscsi.

  • :iscsi_targets (Array<String>, Array<Hash>)

    The values of attribute iscsi_targets.

  • :job (Job, Hash)

    The value of attribute job.

  • :lease (StorageDomainLease, Hash)

    The value of attribute lease.

  • :logical_units (Array<LogicalUnit>, Array<Hash>)

    The values of attribute logical_units.

  • :maintenance_after_restart (Boolean)

    The value of attribute maintenance_after_restart.

  • :maintenance_enabled (Boolean)

    The value of attribute maintenance_enabled.

  • :migrate_vms_in_affinity_closure (Boolean)

    The value of attribute migrate_vms_in_affinity_closure.

  • :modified_bonds (Array<HostNic>, Array<Hash>)

    The values of attribute modified_bonds.

  • :modified_labels (Array<NetworkLabel>, Array<Hash>)

    The values of attribute modified_labels.

  • :modified_network_attachments (Array<NetworkAttachment>, Array<Hash>)

    The values of attribute modified_network_attachments.

  • :name (String)

    The value of attribute name.

  • :optimize_cpu_settings (Boolean)

    The value of attribute optimize_cpu_settings.

  • :option (Option, Hash)

    The value of attribute option.

  • :pause (Boolean)

    The value of attribute pause.

  • :permission (Permission, Hash)

    The value of attribute permission.

  • :power_management (PowerManagement, Hash)

    The value of attribute power_management.

  • :proxy_ticket (ProxyTicket, Hash)

    The value of attribute proxy_ticket.

  • :quota (Quota, Hash)

    The value of attribute quota.

  • :reason (String)

    The value of attribute reason.

  • :reassign_bad_macs (Boolean)

    The value of attribute reassign_bad_macs.

  • :reboot (Boolean)

    The value of attribute reboot.

  • :registration_configuration (RegistrationConfiguration, Hash)

    The value of attribute registration_configuration.

  • :remote_viewer_connection_file (String)

    The value of attribute remote_viewer_connection_file.

  • :removed_bonds (Array<HostNic>, Array<Hash>)

    The values of attribute removed_bonds.

  • :removed_labels (Array<NetworkLabel>, Array<Hash>)

    The values of attribute removed_labels.

  • :removed_network_attachments (Array<NetworkAttachment>, Array<Hash>)

    The values of attribute removed_network_attachments.

  • :resolution_type (String)

    The value of attribute resolution_type.

  • :restore_memory (Boolean)

    The value of attribute restore_memory.

  • :root_password (String)

    The value of attribute root_password.

  • :seal (Boolean)

    The value of attribute seal.

  • :snapshot (Snapshot, Hash)

    The value of attribute snapshot.

  • :source_host (Host, Hash)

    The value of attribute source_host.

  • :ssh (Ssh, Hash)

    The value of attribute ssh.

  • :status (String)

    The value of attribute status.

  • :stop_gluster_service (Boolean)

    The value of attribute stop_gluster_service.

  • :storage_domain (StorageDomain, Hash)

    The value of attribute storage_domain.

  • :storage_domains (Array<StorageDomain>, Array<Hash>)

    The values of attribute storage_domains.

  • :succeeded (Boolean)

    The value of attribute succeeded.

  • :synchronized_network_attachments (Array<NetworkAttachment>, Array<Hash>)

    The values of attribute synchronized_network_attachments.

  • :template (Template, Hash)

    The value of attribute template.

  • :ticket (Ticket, Hash)

    The value of attribute ticket.

  • :timeout (Integer)

    The value of attribute timeout.

  • :undeploy_hosted_engine (Boolean)

    The value of attribute undeploy_hosted_engine.

  • :upgrade_action (ClusterUpgradeAction)

    The value of attribute upgrade_action.

  • :use_cloud_init (Boolean)

    The value of attribute use_cloud_init.

  • :use_ignition (Boolean)

    The value of attribute use_ignition.

  • :use_initialization (Boolean)

    The value of attribute use_initialization.

  • :use_sysprep (Boolean)

    The value of attribute use_sysprep.

  • :virtual_functions_configuration (HostNicVirtualFunctionsConfiguration, Hash)

    The value of attribute virtual_functions_configuration.

  • :vm (Vm, Hash)

    The value of attribute vm.

  • :vnic_profile_mappings (Array<VnicProfileMapping>, Array<Hash>)

    The values of attribute vnic_profile_mappings.

  • :volatile (Boolean)

    The value of attribute volatile.


30041
30042
30043
30044
30045
30046
30047
30048
30049
30050
30051
30052
30053
30054
30055
30056
30057
30058
30059
30060
30061
30062
30063
30064
30065
30066
30067
30068
30069
30070
30071
30072
30073
30074
30075
30076
30077
30078
30079
30080
30081
30082
30083
30084
30085
30086
30087
30088
30089
30090
30091
30092
30093
30094
30095
30096
30097
30098
30099
30100
30101
30102
30103
30104
30105
30106
30107
30108
30109
30110
30111
30112
30113
30114
30115
30116
30117
30118
30119
30120
30121
30122
30123
30124
30125
30126
30127
30128
30129
30130
30131
30132
30133
# 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

Instance Method Details

#==(other) ⇒ Object

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


30138
30139
30140
30141
30142
30143
30144
30145
30146
30147
30148
30149
30150
30151
30152
30153
30154
30155
30156
30157
30158
30159
30160
30161
30162
30163
30164
30165
30166
30167
30168
30169
30170
30171
30172
30173
30174
30175
30176
30177
30178
30179
30180
30181
30182
30183
30184
30185
30186
30187
30188
30189
30190
30191
30192
30193
30194
30195
30196
30197
30198
30199
30200
30201
30202
30203
30204
30205
30206
30207
30208
30209
30210
30211
30212
30213
30214
30215
30216
30217
30218
30219
30220
30221
30222
30223
30224
30225
30226
30227
30228
30229
30230
# 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

#activateBoolean

Returns the value of the activate attribute.

Returns:

  • (Boolean)

27843
27844
27845
# File 'lib/ovirtsdk4/types.rb', line 27843

def activate
  @activate
end

#activate=(value) ⇒ Object

Sets the value of the activate attribute.

Parameters:

  • value (Boolean)

27852
27853
27854
# File 'lib/ovirtsdk4/types.rb', line 27852

def activate=(value)
  @activate = value
end

#allow_partial_importBoolean

Returns the value of the allow_partial_import attribute.

Returns:

  • (Boolean)

27861
27862
27863
# File 'lib/ovirtsdk4/types.rb', line 27861

def allow_partial_import
  @allow_partial_import
end

#allow_partial_import=(value) ⇒ Object

Sets the value of the allow_partial_import attribute.

Parameters:

  • value (Boolean)

27870
27871
27872
# File 'lib/ovirtsdk4/types.rb', line 27870

def allow_partial_import=(value)
  @allow_partial_import = value
end

#asyncBoolean

Returns the value of the async attribute.

Returns:

  • (Boolean)

27879
27880
27881
# File 'lib/ovirtsdk4/types.rb', line 27879

def async
  @async
end

#async=(value) ⇒ Object

Sets the value of the async attribute.

Parameters:

  • value (Boolean)

27888
27889
27890
# File 'lib/ovirtsdk4/types.rb', line 27888

def async=(value)
  @async = value
end

#attachmentDiskAttachment

Returns the value of the attachment attribute.

Returns:


27897
27898
27899
# File 'lib/ovirtsdk4/types.rb', line 27897

def attachment
  @attachment
end

#attachment=(value) ⇒ Object

Sets the value of the attachment attribute.

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

Parameters:


27910
27911
27912
27913
27914
27915
# File 'lib/ovirtsdk4/types.rb', line 27910

def attachment=(value)
  if value.is_a?(Hash)
    value = DiskAttachment.new(value)
  end
  @attachment = value
end

#authorized_keyAuthorizedKey

Returns the value of the authorized_key attribute.

Returns:


27922
27923
27924
# File 'lib/ovirtsdk4/types.rb', line 27922

def authorized_key
  @authorized_key
end

#authorized_key=(value) ⇒ Object

Sets the value of the authorized_key attribute.

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.

Parameters:


27935
27936
27937
27938
27939
27940
# 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_policyAutoPinningPolicy

Returns the value of the auto_pinning_policy attribute.

Returns:


27947
27948
27949
# File 'lib/ovirtsdk4/types.rb', line 27947

def auto_pinning_policy
  @auto_pinning_policy
end

#auto_pinning_policy=(value) ⇒ Object

Sets the value of the auto_pinning_policy attribute.

Parameters:


27956
27957
27958
# File 'lib/ovirtsdk4/types.rb', line 27956

def auto_pinning_policy=(value)
  @auto_pinning_policy = value
end

#bricksArray<GlusterBrick>

Returns the value of the bricks attribute.

Returns:


27965
27966
27967
# File 'lib/ovirtsdk4/types.rb', line 27965

def bricks
  @bricks
end

#bricks=(list) ⇒ Object

Sets the value of the bricks attribute.

Parameters:


27974
27975
27976
27977
27978
27979
27980
27981
27982
27983
27984
# 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

#certificatesArray<Certificate>

Returns the value of the certificates attribute.

Returns:


27991
27992
27993
# File 'lib/ovirtsdk4/types.rb', line 27991

def certificates
  @certificates
end

#certificates=(list) ⇒ Object

Sets the value of the certificates attribute.

Parameters:


28000
28001
28002
28003
28004
28005
28006
28007
28008
28009
28010
# 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_connectivityBoolean

Returns the value of the check_connectivity attribute.

Returns:

  • (Boolean)

28017
28018
28019
# File 'lib/ovirtsdk4/types.rb', line 28017

def check_connectivity
  @check_connectivity
end

#check_connectivity=(value) ⇒ Object

Sets the value of the check_connectivity attribute.

Parameters:

  • value (Boolean)

28026
28027
28028
# File 'lib/ovirtsdk4/types.rb', line 28026

def check_connectivity=(value)
  @check_connectivity = value
end

#cloneBoolean

Returns the value of the clone attribute.

Returns:

  • (Boolean)

28035
28036
28037
# File 'lib/ovirtsdk4/types.rb', line 28035

def clone
  @clone
end

#clone=(value) ⇒ Object

Sets the value of the clone attribute.

Parameters:

  • value (Boolean)

28044
28045
28046
# File 'lib/ovirtsdk4/types.rb', line 28044

def clone=(value)
  @clone = value
end

#clone_permissionsBoolean

Returns the value of the clone_permissions attribute.

Returns:

  • (Boolean)

28053
28054
28055
# File 'lib/ovirtsdk4/types.rb', line 28053

def clone_permissions
  @clone_permissions
end

#clone_permissions=(value) ⇒ Object

Sets the value of the clone_permissions attribute.

Parameters:

  • value (Boolean)

28062
28063
28064
# File 'lib/ovirtsdk4/types.rb', line 28062

def clone_permissions=(value)
  @clone_permissions = value
end

#clusterCluster

Returns the value of the cluster attribute.

Returns:


28071
28072
28073
# File 'lib/ovirtsdk4/types.rb', line 28071

def cluster
  @cluster
end

#cluster=(value) ⇒ Object

Sets the value of the cluster attribute.

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

Parameters:


28084
28085
28086
28087
28088
28089
# File 'lib/ovirtsdk4/types.rb', line 28084

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

#collapse_snapshotsBoolean

Returns the value of the collapse_snapshots attribute.

Returns:

  • (Boolean)

28096
28097
28098
# File 'lib/ovirtsdk4/types.rb', line 28096

def collapse_snapshots
  @collapse_snapshots
end

#collapse_snapshots=(value) ⇒ Object

Sets the value of the collapse_snapshots attribute.

Parameters:

  • value (Boolean)

28105
28106
28107
# File 'lib/ovirtsdk4/types.rb', line 28105

def collapse_snapshots=(value)
  @collapse_snapshots = value
end

#commentString

Returns the value of the comment attribute.

Returns:

  • (String)

28114
28115
28116
# File 'lib/ovirtsdk4/types.rb', line 28114

def comment
  @comment
end

#comment=(value) ⇒ Object

Sets the value of the comment attribute.

Parameters:

  • value (String)

28123
28124
28125
# File 'lib/ovirtsdk4/types.rb', line 28123

def comment=(value)
  @comment = value
end

#commit_on_successBoolean

Returns the value of the commit_on_success attribute.

Returns:

  • (Boolean)

28132
28133
28134
# File 'lib/ovirtsdk4/types.rb', line 28132

def commit_on_success
  @commit_on_success
end

#commit_on_success=(value) ⇒ Object

Sets the value of the commit_on_success attribute.

Parameters:

  • value (Boolean)

28141
28142
28143
# File 'lib/ovirtsdk4/types.rb', line 28141

def commit_on_success=(value)
  @commit_on_success = value
end

#connectionStorageConnection

Returns the value of the connection attribute.

Returns:


28150
28151
28152
# File 'lib/ovirtsdk4/types.rb', line 28150

def connection
  @connection
end

#connection=(value) ⇒ Object

Sets the value of the connection attribute.

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

Parameters:


28163
28164
28165
28166
28167
28168
# File 'lib/ovirtsdk4/types.rb', line 28163

def connection=(value)
  if value.is_a?(Hash)
    value = StorageConnection.new(value)
  end
  @connection = value
end

#connectivity_timeoutInteger

Returns the value of the connectivity_timeout attribute.

Returns:

  • (Integer)

28175
28176
28177
# File 'lib/ovirtsdk4/types.rb', line 28175

def connectivity_timeout
  @connectivity_timeout
end

#connectivity_timeout=(value) ⇒ Object

Sets the value of the connectivity_timeout attribute.

Parameters:

  • value (Integer)

28184
28185
28186
# File 'lib/ovirtsdk4/types.rb', line 28184

def connectivity_timeout=(value)
  @connectivity_timeout = value
end

#data_centerDataCenter

Returns the value of the data_center attribute.

Returns:


28193
28194
28195
# File 'lib/ovirtsdk4/types.rb', line 28193

def data_center
  @data_center
end

#data_center=(value) ⇒ Object

Sets the value of the data_center attribute.

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

Parameters:


28206
28207
28208
28209
28210
28211
# 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_engineBoolean

Returns the value of the deploy_hosted_engine attribute.

Returns:

  • (Boolean)

28218
28219
28220
# File 'lib/ovirtsdk4/types.rb', line 28218

def deploy_hosted_engine
  @deploy_hosted_engine
end

#deploy_hosted_engine=(value) ⇒ Object

Sets the value of the deploy_hosted_engine attribute.

Parameters:

  • value (Boolean)

28227
28228
28229
# File 'lib/ovirtsdk4/types.rb', line 28227

def deploy_hosted_engine=(value)
  @deploy_hosted_engine = value
end

#descriptionString

Returns the value of the description attribute.

Returns:

  • (String)

28236
28237
28238
# File 'lib/ovirtsdk4/types.rb', line 28236

def description
  @description
end

#description=(value) ⇒ Object

Sets the value of the description attribute.

Parameters:

  • value (String)

28245
28246
28247
# File 'lib/ovirtsdk4/types.rb', line 28245

def description=(value)
  @description = value
end

#detailsGlusterVolumeProfileDetails

Returns the value of the details attribute.


28254
28255
28256
# File 'lib/ovirtsdk4/types.rb', line 28254

def details
  @details
end

#details=(value) ⇒ Object

Sets the value of the details attribute.

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

Parameters:


28267
28268
28269
28270
28271
28272
# File 'lib/ovirtsdk4/types.rb', line 28267

def details=(value)
  if value.is_a?(Hash)
    value = GlusterVolumeProfileDetails.new(value)
  end
  @details = value
end

#directoryString

Returns the value of the directory attribute.

Returns:

  • (String)

28279
28280
28281
# File 'lib/ovirtsdk4/types.rb', line 28279

def directory
  @directory
end

#directory=(value) ⇒ Object

Sets the value of the directory attribute.

Parameters:

  • value (String)

28288
28289
28290
# File 'lib/ovirtsdk4/types.rb', line 28288

def directory=(value)
  @directory = value
end

#discard_snapshotsBoolean

Returns the value of the discard_snapshots attribute.

Returns:

  • (Boolean)

28297
28298
28299
# File 'lib/ovirtsdk4/types.rb', line 28297

def discard_snapshots
  @discard_snapshots
end

#discard_snapshots=(value) ⇒ Object

Sets the value of the discard_snapshots attribute.

Parameters:

  • value (Boolean)

28306
28307
28308
# File 'lib/ovirtsdk4/types.rb', line 28306

def discard_snapshots=(value)
  @discard_snapshots = value
end

#discovered_targetsArray<IscsiDetails>

Returns the value of the discovered_targets attribute.

Returns:


28315
28316
28317
# File 'lib/ovirtsdk4/types.rb', line 28315

def discovered_targets
  @discovered_targets
end

#discovered_targets=(list) ⇒ Object

Sets the value of the discovered_targets attribute.

Parameters:


28324
28325
28326
28327
28328
28329
28330
28331
28332
28333
28334
# 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

#diskDisk

Returns the value of the disk attribute.

Returns:


28341
28342
28343
# File 'lib/ovirtsdk4/types.rb', line 28341

def disk
  @disk
end

#disk=(value) ⇒ Object

Sets the value of the disk attribute.

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

Parameters:

  • value (Disk, Hash)

28354
28355
28356
28357
28358
28359
# File 'lib/ovirtsdk4/types.rb', line 28354

def disk=(value)
  if value.is_a?(Hash)
    value = Disk.new(value)
  end
  @disk = value
end

#disk_profileDiskProfile

Returns the value of the disk_profile attribute.

Returns:


28366
28367
28368
# File 'lib/ovirtsdk4/types.rb', line 28366

def disk_profile
  @disk_profile
end

#disk_profile=(value) ⇒ Object

Sets the value of the disk_profile attribute.

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

Parameters:


28379
28380
28381
28382
28383
28384
# 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

#disksArray<Disk>

Returns the value of the disks attribute.

Returns:


28391
28392
28393
# File 'lib/ovirtsdk4/types.rb', line 28391

def disks
  @disks
end

#disks=(list) ⇒ Object

Sets the value of the disks attribute.

Parameters:

  • list (Array<Disk>)

28400
28401
28402
28403
28404
28405
28406
28407
28408
28409
28410
# 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

#exclusiveBoolean

Returns the value of the exclusive attribute.

Returns:

  • (Boolean)

28417
28418
28419
# File 'lib/ovirtsdk4/types.rb', line 28417

def exclusive
  @exclusive
end

#exclusive=(value) ⇒ Object

Sets the value of the exclusive attribute.

Parameters:

  • value (Boolean)

28426
28427
28428
# File 'lib/ovirtsdk4/types.rb', line 28426

def exclusive=(value)
  @exclusive = value
end

#faultFault

Returns the value of the fault attribute.

Returns:


28435
28436
28437
# File 'lib/ovirtsdk4/types.rb', line 28435

def fault
  @fault
end

#fault=(value) ⇒ Object

Sets the value of the fault attribute.

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

Parameters:


28448
28449
28450
28451
28452
28453
# File 'lib/ovirtsdk4/types.rb', line 28448

def fault=(value)
  if value.is_a?(Hash)
    value = Fault.new(value)
  end
  @fault = value
end

#fence_typeString

Returns the value of the fence_type attribute.

Returns:

  • (String)

28460
28461
28462
# File 'lib/ovirtsdk4/types.rb', line 28460

def fence_type
  @fence_type
end

#fence_type=(value) ⇒ Object

Sets the value of the fence_type attribute.

Parameters:

  • value (String)

28469
28470
28471
# File 'lib/ovirtsdk4/types.rb', line 28469

def fence_type=(value)
  @fence_type = value
end

#filenameString

Returns the value of the filename attribute.

Returns:

  • (String)

28478
28479
28480
# File 'lib/ovirtsdk4/types.rb', line 28478

def filename
  @filename
end

#filename=(value) ⇒ Object

Sets the value of the filename attribute.

Parameters:

  • value (String)

28487
28488
28489
# File 'lib/ovirtsdk4/types.rb', line 28487

def filename=(value)
  @filename = value
end

#filterBoolean

Returns the value of the filter attribute.

Returns:

  • (Boolean)

28496
28497
28498
# File 'lib/ovirtsdk4/types.rb', line 28496

def filter
  @filter
end

#filter=(value) ⇒ Object

Sets the value of the filter attribute.

Parameters:

  • value (Boolean)

28505
28506
28507
# File 'lib/ovirtsdk4/types.rb', line 28505

def filter=(value)
  @filter = value
end

#fix_layoutBoolean

Returns the value of the fix_layout attribute.

Returns:

  • (Boolean)

28514
28515
28516
# File 'lib/ovirtsdk4/types.rb', line 28514

def fix_layout
  @fix_layout
end

#fix_layout=(value) ⇒ Object

Sets the value of the fix_layout attribute.

Parameters:

  • value (Boolean)

28523
28524
28525
# File 'lib/ovirtsdk4/types.rb', line 28523

def fix_layout=(value)
  @fix_layout = value
end

#forceBoolean

Returns the value of the force attribute.

Returns:

  • (Boolean)

28532
28533
28534
# File 'lib/ovirtsdk4/types.rb', line 28532

def force
  @force
end

#force=(value) ⇒ Object

Sets the value of the force attribute.

Parameters:

  • value (Boolean)

28541
28542
28543
# File 'lib/ovirtsdk4/types.rb', line 28541

def force=(value)
  @force = value
end

#grace_periodGracePeriod

Returns the value of the grace_period attribute.

Returns:


28550
28551
28552
# File 'lib/ovirtsdk4/types.rb', line 28550

def grace_period
  @grace_period
end

#grace_period=(value) ⇒ Object

Sets the value of the grace_period attribute.

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

Parameters:


28563
28564
28565
28566
28567
28568
# 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

#hashObject

Generates a hash value for this object.


30235
30236
30237
30238
30239
30240
30241
30242
30243
30244
30245
30246
30247
30248
30249
30250
30251
30252
30253
30254
30255
30256
30257
30258
30259
30260
30261
30262
30263
30264
30265
30266
30267
30268
30269
30270
30271
30272
30273
30274
30275
30276
30277
30278
30279
30280
30281
30282
30283
30284
30285
30286
30287
30288
30289
30290
30291
30292
30293
30294
30295
30296
30297
30298
30299
30300
30301
30302
30303
30304
30305
30306
30307
30308
30309
30310
30311
30312
30313
30314
30315
30316
30317
30318
30319
30320
30321
30322
30323
30324
30325
30326
30327
# 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

#hostHost

Returns the value of the host attribute.

Returns:


28575
28576
28577
# File 'lib/ovirtsdk4/types.rb', line 28575

def host
  @host
end

#host=(value) ⇒ Object

Sets the value of the host attribute.

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

Parameters:

  • value (Host, Hash)

28588
28589
28590
28591
28592
28593
# File 'lib/ovirtsdk4/types.rb', line 28588

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

#idString

Returns the value of the id attribute.

Returns:

  • (String)

28600
28601
28602
# File 'lib/ovirtsdk4/types.rb', line 28600

def id
  @id
end

#id=(value) ⇒ Object

Sets the value of the id attribute.

Parameters:

  • value (String)

28609
28610
28611
# File 'lib/ovirtsdk4/types.rb', line 28609

def id=(value)
  @id = value
end

#imageString

Returns the value of the image attribute.

Returns:

  • (String)

28618
28619
28620
# File 'lib/ovirtsdk4/types.rb', line 28618

def image
  @image
end

#image=(value) ⇒ Object

Sets the value of the image attribute.

Parameters:

  • value (String)

28627
28628
28629
# File 'lib/ovirtsdk4/types.rb', line 28627

def image=(value)
  @image = value
end

#image_transferImageTransfer

Returns the value of the image_transfer attribute.

Returns:


28636
28637
28638
# File 'lib/ovirtsdk4/types.rb', line 28636

def image_transfer
  @image_transfer
end

#image_transfer=(value) ⇒ Object

Sets the value of the image_transfer attribute.

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

Parameters:


28649
28650
28651
28652
28653
28654
# 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_templateBoolean

Returns the value of the import_as_template attribute.

Returns:

  • (Boolean)

28661
28662
28663
# File 'lib/ovirtsdk4/types.rb', line 28661

def import_as_template
  @import_as_template
end

#import_as_template=(value) ⇒ Object

Sets the value of the import_as_template attribute.

Parameters:

  • value (Boolean)

28670
28671
28672
# File 'lib/ovirtsdk4/types.rb', line 28670

def import_as_template=(value)
  @import_as_template = value
end

#is_attachedBoolean

Returns the value of the is_attached attribute.

Returns:

  • (Boolean)

28679
28680
28681
# File 'lib/ovirtsdk4/types.rb', line 28679

def is_attached
  @is_attached
end

#is_attached=(value) ⇒ Object

Sets the value of the is_attached attribute.

Parameters:

  • value (Boolean)

28688
28689
28690
# File 'lib/ovirtsdk4/types.rb', line 28688

def is_attached=(value)
  @is_attached = value
end

#iscsiIscsiDetails

Returns the value of the iscsi attribute.

Returns:


28697
28698
28699
# File 'lib/ovirtsdk4/types.rb', line 28697

def iscsi
  @iscsi
end

#iscsi=(value) ⇒ Object

Sets the value of the iscsi attribute.

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

Parameters:


28710
28711
28712
28713
28714
28715
# File 'lib/ovirtsdk4/types.rb', line 28710

def iscsi=(value)
  if value.is_a?(Hash)
    value = IscsiDetails.new(value)
  end
  @iscsi = value
end

#iscsi_targetsArray<String>

Returns the value of the iscsi_targets attribute.

Returns:

  • (Array<String>)

28722
28723
28724
# File 'lib/ovirtsdk4/types.rb', line 28722

def iscsi_targets
  @iscsi_targets
end

#iscsi_targets=(list) ⇒ Object

Sets the value of the iscsi_targets attribute.

Parameters:

  • list (Array<String>)

28731
28732
28733
# File 'lib/ovirtsdk4/types.rb', line 28731

def iscsi_targets=(list)
  @iscsi_targets = list
end

#jobJob

Returns the value of the job attribute.

Returns:


28740
28741
28742
# File 'lib/ovirtsdk4/types.rb', line 28740

def job
  @job
end

#job=(value) ⇒ Object

Sets the value of the job attribute.

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

Parameters:

  • value (Job, Hash)

28753
28754
28755
28756
28757
28758
# File 'lib/ovirtsdk4/types.rb', line 28753

def job=(value)
  if value.is_a?(Hash)
    value = Job.new(value)
  end
  @job = value
end

#leaseStorageDomainLease

Returns the value of the lease attribute.

Returns:


28765
28766
28767
# File 'lib/ovirtsdk4/types.rb', line 28765

def lease
  @lease
end

#lease=(value) ⇒ Object

Sets the value of the lease attribute.

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

Parameters:


28778
28779
28780
28781
28782
28783
# File 'lib/ovirtsdk4/types.rb', line 28778

def lease=(value)
  if value.is_a?(Hash)
    value = StorageDomainLease.new(value)
  end
  @lease = value
end

#logical_unitsArray<LogicalUnit>

Returns the value of the logical_units attribute.

Returns:


28790
28791
28792
# File 'lib/ovirtsdk4/types.rb', line 28790

def logical_units
  @logical_units
end

#logical_units=(list) ⇒ Object

Sets the value of the logical_units attribute.

Parameters:


28799
28800
28801
28802
28803
28804
28805
28806
28807
28808
28809
# 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_restartBoolean

Returns the value of the maintenance_after_restart attribute.

Returns:

  • (Boolean)

28816
28817
28818
# File 'lib/ovirtsdk4/types.rb', line 28816

def maintenance_after_restart
  @maintenance_after_restart
end

#maintenance_after_restart=(value) ⇒ Object

Sets the value of the maintenance_after_restart attribute.

Parameters:

  • value (Boolean)

28825
28826
28827
# File 'lib/ovirtsdk4/types.rb', line 28825

def maintenance_after_restart=(value)
  @maintenance_after_restart = value
end

#maintenance_enabledBoolean

Returns the value of the maintenance_enabled attribute.

Returns:

  • (Boolean)

28834
28835
28836
# File 'lib/ovirtsdk4/types.rb', line 28834

def maintenance_enabled
  @maintenance_enabled
end

#maintenance_enabled=(value) ⇒ Object

Sets the value of the maintenance_enabled attribute.

Parameters:

  • value (Boolean)

28843
28844
28845
# File 'lib/ovirtsdk4/types.rb', line 28843

def maintenance_enabled=(value)
  @maintenance_enabled = value
end

#migrate_vms_in_affinity_closureBoolean

Returns the value of the migrate_vms_in_affinity_closure attribute.

Returns:

  • (Boolean)

28852
28853
28854
# 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) ⇒ Object

Sets the value of the migrate_vms_in_affinity_closure attribute.

Parameters:

  • value (Boolean)

28861
28862
28863
# File 'lib/ovirtsdk4/types.rb', line 28861

def migrate_vms_in_affinity_closure=(value)
  @migrate_vms_in_affinity_closure = value
end

#modified_bondsArray<HostNic>

Returns the value of the modified_bonds attribute.

Returns:


28870
28871
28872
# File 'lib/ovirtsdk4/types.rb', line 28870

def modified_bonds
  @modified_bonds
end

#modified_bonds=(list) ⇒ Object

Sets the value of the modified_bonds attribute.

Parameters:


28879
28880
28881
28882
28883
28884
28885
28886
28887
28888
28889
# 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_labelsArray<NetworkLabel>

Returns the value of the modified_labels attribute.

Returns:


28896
28897
28898
# File 'lib/ovirtsdk4/types.rb', line 28896

def modified_labels
  @modified_labels
end

#modified_labels=(list) ⇒ Object

Sets the value of the modified_labels attribute.

Parameters:


28905
28906
28907
28908
28909
28910
28911
28912
28913
28914
28915
# 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_attachmentsArray<NetworkAttachment>

Returns the value of the modified_network_attachments attribute.

Returns:


28922
28923
28924
# File 'lib/ovirtsdk4/types.rb', line 28922

def modified_network_attachments
  @modified_network_attachments
end

#modified_network_attachments=(list) ⇒ Object

Sets the value of the modified_network_attachments attribute.

Parameters:


28931
28932
28933
28934
28935
28936
28937
28938
28939
28940
28941
# 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

#nameString

Returns the value of the name attribute.

Returns:

  • (String)

28948
28949
28950
# File 'lib/ovirtsdk4/types.rb', line 28948

def name
  @name
end

#name=(value) ⇒ Object

Sets the value of the name attribute.

Parameters:

  • value (String)

28957
28958
28959
# File 'lib/ovirtsdk4/types.rb', line 28957

def name=(value)
  @name = value
end

#optimize_cpu_settingsBoolean

Returns the value of the optimize_cpu_settings attribute.

Returns:

  • (Boolean)

28966
28967
28968
# File 'lib/ovirtsdk4/types.rb', line 28966

def optimize_cpu_settings
  @optimize_cpu_settings
end

#optimize_cpu_settings=(value) ⇒ Object

Sets the value of the optimize_cpu_settings attribute.

Parameters:

  • value (Boolean)

28975
28976
28977
# File 'lib/ovirtsdk4/types.rb', line 28975

def optimize_cpu_settings=(value)
  @optimize_cpu_settings = value
end

#optionOption

Returns the value of the option attribute.

Returns:


28984
28985
28986
# File 'lib/ovirtsdk4/types.rb', line 28984

def option
  @option
end

#option=(value) ⇒ Object

Sets the value of the option attribute.

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

Parameters:


28997
28998
28999
29000
29001
29002
# File 'lib/ovirtsdk4/types.rb', line 28997

def option=(value)
  if value.is_a?(Hash)
    value = Option.new(value)
  end
  @option = value
end

#pauseBoolean

Returns the value of the pause attribute.

Returns:

  • (Boolean)

29009
29010
29011
# File 'lib/ovirtsdk4/types.rb', line 29009

def pause
  @pause
end

#pause=(value) ⇒ Object

Sets the value of the pause attribute.

Parameters:

  • value (Boolean)

29018
29019
29020
# File 'lib/ovirtsdk4/types.rb', line 29018

def pause=(value)
  @pause = value
end

#permissionPermission

Returns the value of the permission attribute.

Returns:


29027
29028
29029
# File 'lib/ovirtsdk4/types.rb', line 29027

def permission
  @permission
end

#permission=(value) ⇒ Object

Sets the value of the permission attribute.

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

Parameters:


29040
29041
29042
29043
29044
29045
# File 'lib/ovirtsdk4/types.rb', line 29040

def permission=(value)
  if value.is_a?(Hash)
    value = Permission.new(value)
  end
  @permission = value
end

#power_managementPowerManagement

Returns the value of the power_management attribute.

Returns:


29052
29053
29054
# File 'lib/ovirtsdk4/types.rb', line 29052

def power_management
  @power_management
end

#power_management=(value) ⇒ Object

Sets the value of the power_management attribute.

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

Parameters:


29065
29066
29067
29068
29069
29070
# 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_ticketProxyTicket

Returns the value of the proxy_ticket attribute.

Returns:


29077
29078
29079
# File 'lib/ovirtsdk4/types.rb', line 29077

def proxy_ticket
  @proxy_ticket
end

#proxy_ticket=(value) ⇒ Object

Sets the value of the proxy_ticket attribute.

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

Parameters:


29090
29091
29092
29093
29094
29095
# 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

#quotaQuota

Returns the value of the quota attribute.

Returns:


29102
29103
29104
# File 'lib/ovirtsdk4/types.rb', line 29102

def quota
  @quota
end

#quota=(value) ⇒ Object

Sets the value of the quota attribute.

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

Parameters:


29115
29116
29117
29118
29119
29120
# File 'lib/ovirtsdk4/types.rb', line 29115

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

#reasonString

Returns the value of the reason attribute.

Returns:

  • (String)

29127
29128
29129
# File 'lib/ovirtsdk4/types.rb', line 29127

def reason
  @reason
end

#reason=(value) ⇒ Object

Sets the value of the reason attribute.

Parameters:

  • value (String)

29136
29137
29138
# File 'lib/ovirtsdk4/types.rb', line 29136

def reason=(value)
  @reason = value
end

#reassign_bad_macsBoolean

Returns the value of the reassign_bad_macs attribute.

Returns:

  • (Boolean)

29145
29146
29147
# File 'lib/ovirtsdk4/types.rb', line 29145

def reassign_bad_macs
  @reassign_bad_macs
end

#reassign_bad_macs=(value) ⇒ Object

Sets the value of the reassign_bad_macs attribute.

Parameters:

  • value (Boolean)

29154
29155
29156
# File 'lib/ovirtsdk4/types.rb', line 29154

def reassign_bad_macs=(value)
  @reassign_bad_macs = value
end

#rebootBoolean

Returns the value of the reboot attribute.

Returns:

  • (Boolean)

29163
29164
29165
# File 'lib/ovirtsdk4/types.rb', line 29163

def reboot
  @reboot
end

#reboot=(value) ⇒ Object

Sets the value of the reboot attribute.

Parameters:

  • value (Boolean)

29172
29173
29174
# File 'lib/ovirtsdk4/types.rb', line 29172

def reboot=(value)
  @reboot = value
end

#registration_configurationRegistrationConfiguration

Returns the value of the registration_configuration attribute.


29181
29182
29183
# File 'lib/ovirtsdk4/types.rb', line 29181

def registration_configuration
  @registration_configuration
end

#registration_configuration=(value) ⇒ Object

Sets the value of the registration_configuration attribute.

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

Parameters:


29194
29195
29196
29197
29198
29199
# 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_fileString

Returns the value of the remote_viewer_connection_file attribute.

Returns:

  • (String)

29206
29207
29208
# File 'lib/ovirtsdk4/types.rb', line 29206

def remote_viewer_connection_file
  @remote_viewer_connection_file
end

#remote_viewer_connection_file=(value) ⇒ Object

Sets the value of the remote_viewer_connection_file attribute.

Parameters:

  • value (String)

29215
29216
29217
# File 'lib/ovirtsdk4/types.rb', line 29215

def remote_viewer_connection_file=(value)
  @remote_viewer_connection_file = value
end

#removed_bondsArray<HostNic>

Returns the value of the removed_bonds attribute.

Returns:


29224
29225
29226
# File 'lib/ovirtsdk4/types.rb', line 29224

def removed_bonds
  @removed_bonds
end

#removed_bonds=(list) ⇒ Object

Sets the value of the removed_bonds attribute.

Parameters:


29233
29234
29235
29236
29237
29238
29239
29240
29241
29242
29243
# 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_labelsArray<NetworkLabel>

Returns the value of the removed_labels attribute.

Returns:


29250
29251
29252
# File 'lib/ovirtsdk4/types.rb', line 29250

def removed_labels
  @removed_labels
end

#removed_labels=(list) ⇒ Object

Sets the value of the removed_labels attribute.

Parameters:


29259
29260
29261
29262
29263
29264
29265
29266
29267
29268
29269
# 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_attachmentsArray<NetworkAttachment>

Returns the value of the removed_network_attachments attribute.

Returns:


29276
29277
29278
# File 'lib/ovirtsdk4/types.rb', line 29276

def removed_network_attachments
  @removed_network_attachments
end

#removed_network_attachments=(list) ⇒ Object

Sets the value of the removed_network_attachments attribute.

Parameters:


29285
29286
29287
29288
29289
29290
29291
29292
29293
29294
29295
# 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_typeString

Returns the value of the resolution_type attribute.

Returns:

  • (String)

29302
29303
29304
# File 'lib/ovirtsdk4/types.rb', line 29302

def resolution_type
  @resolution_type
end

#resolution_type=(value) ⇒ Object

Sets the value of the resolution_type attribute.

Parameters:

  • value (String)

29311
29312
29313
# File 'lib/ovirtsdk4/types.rb', line 29311

def resolution_type=(value)
  @resolution_type = value
end

#restore_memoryBoolean

Returns the value of the restore_memory attribute.

Returns:

  • (Boolean)

29320
29321
29322
# File 'lib/ovirtsdk4/types.rb', line 29320

def restore_memory
  @restore_memory
end

#restore_memory=(value) ⇒ Object

Sets the value of the restore_memory attribute.

Parameters:

  • value (Boolean)

29329
29330
29331
# File 'lib/ovirtsdk4/types.rb', line 29329

def restore_memory=(value)
  @restore_memory = value
end

#root_passwordString

Returns the value of the root_password attribute.

Returns:

  • (String)

29338
29339
29340
# File 'lib/ovirtsdk4/types.rb', line 29338

def root_password
  @root_password
end

#root_password=(value) ⇒ Object

Sets the value of the root_password attribute.

Parameters:

  • value (String)

29347
29348
29349
# File 'lib/ovirtsdk4/types.rb', line 29347

def root_password=(value)
  @root_password = value
end

#sealBoolean

Returns the value of the seal attribute.

Returns:

  • (Boolean)

29356
29357
29358
# File 'lib/ovirtsdk4/types.rb', line 29356

def seal
  @seal
end

#seal=(value) ⇒ Object

Sets the value of the seal attribute.

Parameters:

  • value (Boolean)

29365
29366
29367
# File 'lib/ovirtsdk4/types.rb', line 29365

def seal=(value)
  @seal = value
end

#snapshotSnapshot

Returns the value of the snapshot attribute.

Returns:


29374
29375
29376
# File 'lib/ovirtsdk4/types.rb', line 29374

def snapshot
  @snapshot
end

#snapshot=(value) ⇒ Object

Sets the value of the snapshot attribute.

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

Parameters:


29387
29388
29389
29390
29391
29392
# File 'lib/ovirtsdk4/types.rb', line 29387

def snapshot=(value)
  if value.is_a?(Hash)
    value = Snapshot.new(value)
  end
  @snapshot = value
end

#source_hostHost

Returns the value of the source_host attribute.

Returns:


29399
29400
29401
# File 'lib/ovirtsdk4/types.rb', line 29399

def source_host
  @source_host
end

#source_host=(value) ⇒ Object

Sets the value of the source_host attribute.

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

Parameters:

  • value (Host, Hash)

29412
29413
29414
29415
29416
29417
# 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

#sshSsh

Returns the value of the ssh attribute.

Returns:


29424
29425
29426
# File 'lib/ovirtsdk4/types.rb', line 29424

def ssh
  @ssh
end

#ssh=(value) ⇒ Object

Sets the value of the ssh attribute.

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

Parameters:

  • value (Ssh, Hash)

29437
29438
29439
29440
29441
29442
# File 'lib/ovirtsdk4/types.rb', line 29437

def ssh=(value)
  if value.is_a?(Hash)
    value = Ssh.new(value)
  end
  @ssh = value
end

#statusString

Returns the value of the status attribute.

Returns:

  • (String)

29449
29450
29451
# File 'lib/ovirtsdk4/types.rb', line 29449

def status
  @status
end

#status=(value) ⇒ Object

Sets the value of the status attribute.

Parameters:

  • value (String)

29458
29459
29460
# File 'lib/ovirtsdk4/types.rb', line 29458

def status=(value)
  @status = value
end

#stop_gluster_serviceBoolean

Returns the value of the stop_gluster_service attribute.

Returns:

  • (Boolean)

29467
29468
29469
# File 'lib/ovirtsdk4/types.rb', line 29467

def stop_gluster_service
  @stop_gluster_service
end

#stop_gluster_service=(value) ⇒ Object

Sets the value of the stop_gluster_service attribute.

Parameters:

  • value (Boolean)

29476
29477
29478
# File 'lib/ovirtsdk4/types.rb', line 29476

def stop_gluster_service=(value)
  @stop_gluster_service = value
end

#storage_domainStorageDomain

Returns the value of the storage_domain attribute.

Returns:


29485
29486
29487
# File 'lib/ovirtsdk4/types.rb', line 29485

def storage_domain
  @storage_domain
end

#storage_domain=(value) ⇒ Object

Sets the value of the storage_domain attribute.

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

Parameters:


29498
29499
29500
29501
29502
29503
# 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_domainsArray<StorageDomain>

Returns the value of the storage_domains attribute.

Returns:


29510
29511
29512
# File 'lib/ovirtsdk4/types.rb', line 29510

def storage_domains
  @storage_domains
end

#storage_domains=(list) ⇒ Object

Sets the value of the storage_domains attribute.

Parameters:


29519
29520
29521
29522
29523
29524
29525
29526
29527
29528
29529
# 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

#succeededBoolean

Returns the value of the succeeded attribute.

Returns:

  • (Boolean)

29536
29537
29538
# File 'lib/ovirtsdk4/types.rb', line 29536

def succeeded
  @succeeded
end

#succeeded=(value) ⇒ Object

Sets the value of the succeeded attribute.

Parameters:

  • value (Boolean)

29545
29546
29547
# File 'lib/ovirtsdk4/types.rb', line 29545

def succeeded=(value)
  @succeeded = value
end

#synchronized_network_attachmentsArray<NetworkAttachment>

Returns the value of the synchronized_network_attachments attribute.

Returns:


29554
29555
29556
# File 'lib/ovirtsdk4/types.rb', line 29554

def synchronized_network_attachments
  @synchronized_network_attachments
end

#synchronized_network_attachments=(list) ⇒ Object

Sets the value of the synchronized_network_attachments attribute.

Parameters:


29563
29564
29565
29566
29567
29568
29569
29570
29571
29572
29573
# 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

#templateTemplate

Returns the value of the template attribute.

Returns:


29580
29581
29582
# File 'lib/ovirtsdk4/types.rb', line 29580

def template
  @template
end

#template=(value) ⇒ Object

Sets the value of the template attribute.

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

Parameters:


29593
29594
29595
29596
29597
29598
# File 'lib/ovirtsdk4/types.rb', line 29593

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

#ticketTicket

Returns the value of the ticket attribute.

Returns:


29605
29606
29607
# File 'lib/ovirtsdk4/types.rb', line 29605

def ticket
  @ticket
end

#ticket=(value) ⇒ Object

Sets the value of the ticket attribute.

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

Parameters:


29618
29619
29620
29621
29622
29623
# File 'lib/ovirtsdk4/types.rb', line 29618

def ticket=(value)
  if value.is_a?(Hash)
    value = Ticket.new(value)
  end
  @ticket = value
end

#timeoutInteger

Returns the value of the timeout attribute.

Returns:

  • (Integer)

29630
29631
29632
# File 'lib/ovirtsdk4/types.rb', line 29630

def timeout
  @timeout
end

#timeout=(value) ⇒ Object

Sets the value of the timeout attribute.

Parameters:

  • value (Integer)

29639
29640
29641
# File 'lib/ovirtsdk4/types.rb', line 29639

def timeout=(value)
  @timeout = value
end

#undeploy_hosted_engineBoolean

Returns the value of the undeploy_hosted_engine attribute.

Returns:

  • (Boolean)

29648
29649
29650
# File 'lib/ovirtsdk4/types.rb', line 29648

def undeploy_hosted_engine
  @undeploy_hosted_engine
end

#undeploy_hosted_engine=(value) ⇒ Object

Sets the value of the undeploy_hosted_engine attribute.

Parameters:

  • value (Boolean)

29657
29658
29659
# File 'lib/ovirtsdk4/types.rb', line 29657

def undeploy_hosted_engine=(value)
  @undeploy_hosted_engine = value
end

#upgrade_actionClusterUpgradeAction

Returns the value of the upgrade_action attribute.


29666
29667
29668
# File 'lib/ovirtsdk4/types.rb', line 29666

def upgrade_action
  @upgrade_action
end

#upgrade_action=(value) ⇒ Object

Sets the value of the upgrade_action attribute.

Parameters:


29675
29676
29677
# File 'lib/ovirtsdk4/types.rb', line 29675

def upgrade_action=(value)
  @upgrade_action = value
end

#use_cloud_initBoolean

Returns the value of the use_cloud_init attribute.

Returns:

  • (Boolean)

29684
29685
29686
# File 'lib/ovirtsdk4/types.rb', line 29684

def use_cloud_init
  @use_cloud_init
end

#use_cloud_init=(value) ⇒ Object

Sets the value of the use_cloud_init attribute.

Parameters:

  • value (Boolean)

29693
29694
29695
# File 'lib/ovirtsdk4/types.rb', line 29693

def use_cloud_init=(value)
  @use_cloud_init = value
end

#use_ignitionBoolean

Returns the value of the use_ignition attribute.

Returns:

  • (Boolean)

29702
29703
29704
# File 'lib/ovirtsdk4/types.rb', line 29702

def use_ignition
  @use_ignition
end

#use_ignition=(value) ⇒ Object

Sets the value of the use_ignition attribute.

Parameters:

  • value (Boolean)

29711
29712
29713
# File 'lib/ovirtsdk4/types.rb', line 29711

def use_ignition=(value)
  @use_ignition = value
end

#use_initializationBoolean

Returns the value of the use_initialization attribute.

Returns:

  • (Boolean)

29720
29721
29722
# File 'lib/ovirtsdk4/types.rb', line 29720

def use_initialization
  @use_initialization
end

#use_initialization=(value) ⇒ Object

Sets the value of the use_initialization attribute.

Parameters:

  • value (Boolean)

29729
29730
29731
# File 'lib/ovirtsdk4/types.rb', line 29729

def use_initialization=(value)
  @use_initialization = value
end

#use_sysprepBoolean

Returns the value of the use_sysprep attribute.

Returns:

  • (Boolean)

29738
29739
29740
# File 'lib/ovirtsdk4/types.rb', line 29738

def use_sysprep
  @use_sysprep
end

#use_sysprep=(value) ⇒ Object

Sets the value of the use_sysprep attribute.

Parameters:

  • value (Boolean)

29747
29748
29749
# File 'lib/ovirtsdk4/types.rb', line 29747

def use_sysprep=(value)
  @use_sysprep = value
end

#virtual_functions_configurationHostNicVirtualFunctionsConfiguration

Returns the value of the virtual_functions_configuration attribute.


29756
29757
29758
# File 'lib/ovirtsdk4/types.rb', line 29756

def virtual_functions_configuration
  @virtual_functions_configuration
end

#virtual_functions_configuration=(value) ⇒ Object

Sets the value of the virtual_functions_configuration attribute.

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

Parameters:


29769
29770
29771
29772
29773
29774
# 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

#vmVm

Returns the value of the vm attribute.

Returns:


29781
29782
29783
# File 'lib/ovirtsdk4/types.rb', line 29781

def vm
  @vm
end

#vm=(value) ⇒ Object

Sets the value of the vm attribute.

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

Parameters:

  • value (Vm, Hash)

29794
29795
29796
29797
29798
29799
# 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_mappingsArray<VnicProfileMapping>

Returns the value of the vnic_profile_mappings attribute.

Returns:


29806
29807
29808
# File 'lib/ovirtsdk4/types.rb', line 29806

def vnic_profile_mappings
  @vnic_profile_mappings
end

#vnic_profile_mappings=(list) ⇒ Object

Sets the value of the vnic_profile_mappings attribute.

Parameters:


29815
29816
29817
29818
29819
29820
29821
29822
29823
29824
29825
# 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

#volatileBoolean

Returns the value of the volatile attribute.

Returns:

  • (Boolean)

29832
29833
29834
# File 'lib/ovirtsdk4/types.rb', line 29832

def volatile
  @volatile
end

#volatile=(value) ⇒ Object

Sets the value of the volatile attribute.

Parameters:

  • value (Boolean)

29841
29842
29843
# File 'lib/ovirtsdk4/types.rb', line 29841

def volatile=(value)
  @volatile = value
end