Class: OvirtSDK4::StorageConnection
- Inherits:
-
Identified
- Object
- Struct
- Identified
- OvirtSDK4::StorageConnection
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (String) address
Returns the value of the
address
attribute. -
- (Object) address=(value)
Sets the value of the
address
attribute. -
- (String) comment
Returns the value of the
comment
attribute. -
- (Object) comment=(value)
Sets the value of the
comment
attribute. -
- (String) description
Returns the value of the
description
attribute. -
- (Object) description=(value)
Sets the value of the
description
attribute. -
- (Host) host
Returns the value of the
host
attribute. -
- (Object) host=(value)
Sets the value of the
host
attribute. -
- (String) id
Returns the value of the
id
attribute. -
- (Object) id=(value)
Sets the value of the
id
attribute. -
- (StorageConnection) initialize(opts = {})
constructor
Creates a new instance of the StorageConnection class.
-
- (String) mount_options
Returns the value of the
mount_options
attribute. -
- (Object) mount_options=(value)
Sets the value of the
mount_options
attribute. -
- (String) name
Returns the value of the
name
attribute. -
- (Object) name=(value)
Sets the value of the
name
attribute. -
- (Integer) nfs_retrans
Returns the value of the
nfs_retrans
attribute. -
- (Object) nfs_retrans=(value)
Sets the value of the
nfs_retrans
attribute. -
- (Integer) nfs_timeo
Returns the value of the
nfs_timeo
attribute. -
- (Object) nfs_timeo=(value)
Sets the value of the
nfs_timeo
attribute. -
- (NfsVersion) nfs_version
Returns the value of the
nfs_version
attribute. -
- (Object) nfs_version=(value)
Sets the value of the
nfs_version
attribute. -
- (String) password
Returns the value of the
password
attribute. -
- (Object) password=(value)
Sets the value of the
password
attribute. -
- (String) path
Returns the value of the
path
attribute. -
- (Object) path=(value)
Sets the value of the
path
attribute. -
- (Integer) port
Returns the value of the
port
attribute. -
- (Object) port=(value)
Sets the value of the
port
attribute. -
- (String) portal
Returns the value of the
portal
attribute. -
- (Object) portal=(value)
Sets the value of the
portal
attribute. -
- (String) target
Returns the value of the
target
attribute. -
- (Object) target=(value)
Sets the value of the
target
attribute. -
- (StorageType) type
Returns the value of the
type
attribute. -
- (Object) type=(value)
Sets the value of the
type
attribute. -
- (String) username
Returns the value of the
username
attribute. -
- (Object) username=(value)
Sets the value of the
username
attribute. -
- (String) vfs_type
Returns the value of the
vfs_type
attribute. -
- (Object) vfs_type=(value)
Sets the value of the
vfs_type
attribute.
Methods included from Type
Constructor Details
- (StorageConnection) initialize(opts = {})
Creates a new instance of the OvirtSDK4::StorageConnection class.
15665 15666 15667 15668 15669 15670 15671 15672 15673 15674 15675 15676 15677 15678 15679 15680 15681 15682 15683 15684 15685 |
# File 'lib/ovirtsdk4/types.rb', line 15665 def initialize(opts = {}) super(opts) self.address = opts[:address] self.comment = opts[:comment] self.description = opts[:description] self.host = opts[:host] self.id = opts[:id] self. = opts[:mount_options] self.name = opts[:name] self.nfs_retrans = opts[:nfs_retrans] self.nfs_timeo = opts[:nfs_timeo] self.nfs_version = opts[:nfs_version] self.password = opts[:password] self.path = opts[:path] self.port = opts[:port] self.portal = opts[:portal] self.target = opts[:target] self.type = opts[:type] self.username = opts[:username] self.vfs_type = opts[:vfs_type] end |
Instance Method Details
- (String) address
Returns the value of the address
attribute.
15295 15296 15297 |
# File 'lib/ovirtsdk4/types.rb', line 15295 def address return @address end |
- (Object) address=(value)
Sets the value of the address
attribute.
15304 15305 15306 |
# File 'lib/ovirtsdk4/types.rb', line 15304 def address=(value) @address = value end |
- (String) comment
Returns the value of the comment
attribute.
15313 15314 15315 |
# File 'lib/ovirtsdk4/types.rb', line 15313 def comment return @comment end |
- (Object) comment=(value)
Sets the value of the comment
attribute.
15322 15323 15324 |
# File 'lib/ovirtsdk4/types.rb', line 15322 def comment=(value) @comment = value end |
- (String) description
Returns the value of the description
attribute.
15331 15332 15333 |
# File 'lib/ovirtsdk4/types.rb', line 15331 def description return @description end |
- (Object) description=(value)
Sets the value of the description
attribute.
15340 15341 15342 |
# File 'lib/ovirtsdk4/types.rb', line 15340 def description=(value) @description = value end |
- (Host) host
Returns the value of the host
attribute.
15349 15350 15351 |
# File 'lib/ovirtsdk4/types.rb', line 15349 def host return @host end |
- (Object) host=(value)
Sets the value of the host
attribute.
The value
parameter can be an instance of Host or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
15362 15363 15364 15365 15366 15367 |
# File 'lib/ovirtsdk4/types.rb', line 15362 def host=(value) if value.is_a?(Hash) value = Host.new(value) end @host = value end |
- (String) id
Returns the value of the id
attribute.
15374 15375 15376 |
# File 'lib/ovirtsdk4/types.rb', line 15374 def id return @id end |
- (Object) id=(value)
Sets the value of the id
attribute.
15383 15384 15385 |
# File 'lib/ovirtsdk4/types.rb', line 15383 def id=(value) @id = value end |
- (String) mount_options
Returns the value of the mount_options
attribute.
15392 15393 15394 |
# File 'lib/ovirtsdk4/types.rb', line 15392 def return @mount_options end |
- (Object) mount_options=(value)
Sets the value of the mount_options
attribute.
15401 15402 15403 |
# File 'lib/ovirtsdk4/types.rb', line 15401 def (value) @mount_options = value end |
- (String) name
Returns the value of the name
attribute.
15410 15411 15412 |
# File 'lib/ovirtsdk4/types.rb', line 15410 def name return @name end |
- (Object) name=(value)
Sets the value of the name
attribute.
15419 15420 15421 |
# File 'lib/ovirtsdk4/types.rb', line 15419 def name=(value) @name = value end |
- (Integer) nfs_retrans
Returns the value of the nfs_retrans
attribute.
15428 15429 15430 |
# File 'lib/ovirtsdk4/types.rb', line 15428 def nfs_retrans return @nfs_retrans end |
- (Object) nfs_retrans=(value)
Sets the value of the nfs_retrans
attribute.
15437 15438 15439 |
# File 'lib/ovirtsdk4/types.rb', line 15437 def nfs_retrans=(value) @nfs_retrans = value end |
- (Integer) nfs_timeo
Returns the value of the nfs_timeo
attribute.
15446 15447 15448 |
# File 'lib/ovirtsdk4/types.rb', line 15446 def nfs_timeo return @nfs_timeo end |
- (Object) nfs_timeo=(value)
Sets the value of the nfs_timeo
attribute.
15455 15456 15457 |
# File 'lib/ovirtsdk4/types.rb', line 15455 def nfs_timeo=(value) @nfs_timeo = value end |
- (NfsVersion) nfs_version
Returns the value of the nfs_version
attribute.
15464 15465 15466 |
# File 'lib/ovirtsdk4/types.rb', line 15464 def nfs_version return @nfs_version end |
- (Object) nfs_version=(value)
Sets the value of the nfs_version
attribute.
15473 15474 15475 |
# File 'lib/ovirtsdk4/types.rb', line 15473 def nfs_version=(value) @nfs_version = value end |
- (String) password
Returns the value of the password
attribute.
15482 15483 15484 |
# File 'lib/ovirtsdk4/types.rb', line 15482 def password return @password end |
- (Object) password=(value)
Sets the value of the password
attribute.
15491 15492 15493 |
# File 'lib/ovirtsdk4/types.rb', line 15491 def password=(value) @password = value end |
- (String) path
Returns the value of the path
attribute.
15500 15501 15502 |
# File 'lib/ovirtsdk4/types.rb', line 15500 def path return @path end |
- (Object) path=(value)
Sets the value of the path
attribute.
15509 15510 15511 |
# File 'lib/ovirtsdk4/types.rb', line 15509 def path=(value) @path = value end |
- (Integer) port
Returns the value of the port
attribute.
15518 15519 15520 |
# File 'lib/ovirtsdk4/types.rb', line 15518 def port return @port end |
- (Object) port=(value)
Sets the value of the port
attribute.
15527 15528 15529 |
# File 'lib/ovirtsdk4/types.rb', line 15527 def port=(value) @port = value end |
- (String) portal
Returns the value of the portal
attribute.
15536 15537 15538 |
# File 'lib/ovirtsdk4/types.rb', line 15536 def portal return @portal end |
- (Object) portal=(value)
Sets the value of the portal
attribute.
15545 15546 15547 |
# File 'lib/ovirtsdk4/types.rb', line 15545 def portal=(value) @portal = value end |
- (String) target
Returns the value of the target
attribute.
15554 15555 15556 |
# File 'lib/ovirtsdk4/types.rb', line 15554 def target return @target end |
- (Object) target=(value)
Sets the value of the target
attribute.
15563 15564 15565 |
# File 'lib/ovirtsdk4/types.rb', line 15563 def target=(value) @target = value end |
- (StorageType) type
Returns the value of the type
attribute.
15572 15573 15574 |
# File 'lib/ovirtsdk4/types.rb', line 15572 def type return @type end |
- (Object) type=(value)
Sets the value of the type
attribute.
15581 15582 15583 |
# File 'lib/ovirtsdk4/types.rb', line 15581 def type=(value) @type = value end |
- (String) username
Returns the value of the username
attribute.
15590 15591 15592 |
# File 'lib/ovirtsdk4/types.rb', line 15590 def username return @username end |
- (Object) username=(value)
Sets the value of the username
attribute.
15599 15600 15601 |
# File 'lib/ovirtsdk4/types.rb', line 15599 def username=(value) @username = value end |
- (String) vfs_type
Returns the value of the vfs_type
attribute.
15608 15609 15610 |
# File 'lib/ovirtsdk4/types.rb', line 15608 def vfs_type return @vfs_type end |
- (Object) vfs_type=(value)
Sets the value of the vfs_type
attribute.
15617 15618 15619 |
# File 'lib/ovirtsdk4/types.rb', line 15617 def vfs_type=(value) @vfs_type = value end |