Class: OvirtSDK4::LogicalUnit
- Inherits:
-
Struct
- Object
- Struct
- OvirtSDK4::LogicalUnit
- 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) disk_id
Returns the value of the
disk_id
attribute. -
- (Object) disk_id=(value)
Sets the value of the
disk_id
attribute. -
- (String) id
Returns the value of the
id
attribute. -
- (Object) id=(value)
Sets the value of the
id
attribute. -
- (LogicalUnit) initialize(opts = {})
constructor
Creates a new instance of the LogicalUnit class.
-
- (Integer) lun_mapping
Returns the value of the
lun_mapping
attribute. -
- (Object) lun_mapping=(value)
Sets the value of the
lun_mapping
attribute. -
- (String) password
Returns the value of the
password
attribute. -
- (Object) password=(value)
Sets the value of the
password
attribute. -
- (Integer) paths
Returns the value of the
paths
attribute. -
- (Object) paths=(value)
Sets the value of the
paths
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) product_id
Returns the value of the
product_id
attribute. -
- (Object) product_id=(value)
Sets the value of the
product_id
attribute. -
- (String) serial
Returns the value of the
serial
attribute. -
- (Object) serial=(value)
Sets the value of the
serial
attribute. -
- (Integer) size
Returns the value of the
size
attribute. -
- (Object) size=(value)
Sets the value of the
size
attribute. -
- (LunStatus) status
Returns the value of the
status
attribute. -
- (Object) status=(value)
Sets the value of the
status
attribute. -
- (String) storage_domain_id
Returns the value of the
storage_domain_id
attribute. -
- (Object) storage_domain_id=(value)
Sets the value of the
storage_domain_id
attribute. -
- (String) target
Returns the value of the
target
attribute. -
- (Object) target=(value)
Sets the value of the
target
attribute. -
- (String) username
Returns the value of the
username
attribute. -
- (Object) username=(value)
Sets the value of the
username
attribute. -
- (String) vendor_id
Returns the value of the
vendor_id
attribute. -
- (Object) vendor_id=(value)
Sets the value of the
vendor_id
attribute. -
- (String) volume_group_id
Returns the value of the
volume_group_id
attribute. -
- (Object) volume_group_id=(value)
Sets the value of the
volume_group_id
attribute.
Methods included from Type
Constructor Details
- (LogicalUnit) initialize(opts = {})
Creates a new instance of the OvirtSDK4::LogicalUnit class.
6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 |
# File 'lib/ovirtsdk4/types.rb', line 6122 def initialize(opts = {}) super(opts) self.address = opts[:address] self.disk_id = opts[:disk_id] self.id = opts[:id] self.lun_mapping = opts[:lun_mapping] self.password = opts[:password] self.paths = opts[:paths] self.port = opts[:port] self.portal = opts[:portal] self.product_id = opts[:product_id] self.serial = opts[:serial] self.size = opts[:size] self.status = opts[:status] self.storage_domain_id = opts[:storage_domain_id] self.target = opts[:target] self.username = opts[:username] self.vendor_id = opts[:vendor_id] self.volume_group_id = opts[:volume_group_id] end |
Instance Method Details
- (String) address
Returns the value of the address
attribute.
5779 5780 5781 |
# File 'lib/ovirtsdk4/types.rb', line 5779 def address return @address end |
- (Object) address=(value)
Sets the value of the address
attribute.
5788 5789 5790 |
# File 'lib/ovirtsdk4/types.rb', line 5788 def address=(value) @address = value end |
- (String) disk_id
Returns the value of the disk_id
attribute.
5797 5798 5799 |
# File 'lib/ovirtsdk4/types.rb', line 5797 def disk_id return @disk_id end |
- (Object) disk_id=(value)
Sets the value of the disk_id
attribute.
5806 5807 5808 |
# File 'lib/ovirtsdk4/types.rb', line 5806 def disk_id=(value) @disk_id = value end |
- (String) id
Returns the value of the id
attribute.
5815 5816 5817 |
# File 'lib/ovirtsdk4/types.rb', line 5815 def id return @id end |
- (Object) id=(value)
Sets the value of the id
attribute.
5824 5825 5826 |
# File 'lib/ovirtsdk4/types.rb', line 5824 def id=(value) @id = value end |
- (Integer) lun_mapping
Returns the value of the lun_mapping
attribute.
5833 5834 5835 |
# File 'lib/ovirtsdk4/types.rb', line 5833 def lun_mapping return @lun_mapping end |
- (Object) lun_mapping=(value)
Sets the value of the lun_mapping
attribute.
5842 5843 5844 |
# File 'lib/ovirtsdk4/types.rb', line 5842 def lun_mapping=(value) @lun_mapping = value end |
- (String) password
Returns the value of the password
attribute.
5851 5852 5853 |
# File 'lib/ovirtsdk4/types.rb', line 5851 def password return @password end |
- (Object) password=(value)
Sets the value of the password
attribute.
5860 5861 5862 |
# File 'lib/ovirtsdk4/types.rb', line 5860 def password=(value) @password = value end |
- (Integer) paths
Returns the value of the paths
attribute.
5869 5870 5871 |
# File 'lib/ovirtsdk4/types.rb', line 5869 def paths return @paths end |
- (Object) paths=(value)
Sets the value of the paths
attribute.
5878 5879 5880 |
# File 'lib/ovirtsdk4/types.rb', line 5878 def paths=(value) @paths = value end |
- (Integer) port
Returns the value of the port
attribute.
5887 5888 5889 |
# File 'lib/ovirtsdk4/types.rb', line 5887 def port return @port end |
- (Object) port=(value)
Sets the value of the port
attribute.
5896 5897 5898 |
# File 'lib/ovirtsdk4/types.rb', line 5896 def port=(value) @port = value end |
- (String) portal
Returns the value of the portal
attribute.
5905 5906 5907 |
# File 'lib/ovirtsdk4/types.rb', line 5905 def portal return @portal end |
- (Object) portal=(value)
Sets the value of the portal
attribute.
5914 5915 5916 |
# File 'lib/ovirtsdk4/types.rb', line 5914 def portal=(value) @portal = value end |
- (String) product_id
Returns the value of the product_id
attribute.
5923 5924 5925 |
# File 'lib/ovirtsdk4/types.rb', line 5923 def product_id return @product_id end |
- (Object) product_id=(value)
Sets the value of the product_id
attribute.
5932 5933 5934 |
# File 'lib/ovirtsdk4/types.rb', line 5932 def product_id=(value) @product_id = value end |
- (String) serial
Returns the value of the serial
attribute.
5941 5942 5943 |
# File 'lib/ovirtsdk4/types.rb', line 5941 def serial return @serial end |
- (Object) serial=(value)
Sets the value of the serial
attribute.
5950 5951 5952 |
# File 'lib/ovirtsdk4/types.rb', line 5950 def serial=(value) @serial = value end |
- (Integer) size
Returns the value of the size
attribute.
5959 5960 5961 |
# File 'lib/ovirtsdk4/types.rb', line 5959 def size return @size end |
- (Object) size=(value)
Sets the value of the size
attribute.
5968 5969 5970 |
# File 'lib/ovirtsdk4/types.rb', line 5968 def size=(value) @size = value end |
- (LunStatus) status
Returns the value of the status
attribute.
5977 5978 5979 |
# File 'lib/ovirtsdk4/types.rb', line 5977 def status return @status end |
- (Object) status=(value)
Sets the value of the status
attribute.
5986 5987 5988 |
# File 'lib/ovirtsdk4/types.rb', line 5986 def status=(value) @status = value end |
- (String) storage_domain_id
Returns the value of the storage_domain_id
attribute.
5995 5996 5997 |
# File 'lib/ovirtsdk4/types.rb', line 5995 def storage_domain_id return @storage_domain_id end |
- (Object) storage_domain_id=(value)
Sets the value of the storage_domain_id
attribute.
6004 6005 6006 |
# File 'lib/ovirtsdk4/types.rb', line 6004 def storage_domain_id=(value) @storage_domain_id = value end |
- (String) target
Returns the value of the target
attribute.
6013 6014 6015 |
# File 'lib/ovirtsdk4/types.rb', line 6013 def target return @target end |
- (Object) target=(value)
Sets the value of the target
attribute.
6022 6023 6024 |
# File 'lib/ovirtsdk4/types.rb', line 6022 def target=(value) @target = value end |
- (String) username
Returns the value of the username
attribute.
6031 6032 6033 |
# File 'lib/ovirtsdk4/types.rb', line 6031 def username return @username end |
- (Object) username=(value)
Sets the value of the username
attribute.
6040 6041 6042 |
# File 'lib/ovirtsdk4/types.rb', line 6040 def username=(value) @username = value end |
- (String) vendor_id
Returns the value of the vendor_id
attribute.
6049 6050 6051 |
# File 'lib/ovirtsdk4/types.rb', line 6049 def vendor_id return @vendor_id end |
- (Object) vendor_id=(value)
Sets the value of the vendor_id
attribute.
6058 6059 6060 |
# File 'lib/ovirtsdk4/types.rb', line 6058 def vendor_id=(value) @vendor_id = value end |
- (String) volume_group_id
Returns the value of the volume_group_id
attribute.
6067 6068 6069 |
# File 'lib/ovirtsdk4/types.rb', line 6067 def volume_group_id return @volume_group_id end |
- (Object) volume_group_id=(value)
Sets the value of the volume_group_id
attribute.
6076 6077 6078 |
# File 'lib/ovirtsdk4/types.rb', line 6076 def volume_group_id=(value) @volume_group_id = value end |