Class: OvirtSDK4::IscsiDetails
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary collapse
-
#==(other) ⇒ Object
Returns
true
ifself
andother
have the same attributes and values. -
#address ⇒ String
Returns the value of the
address
attribute. -
#address=(value) ⇒ Object
Sets the value of the
address
attribute. -
#disk_id ⇒ String
Returns the value of the
disk_id
attribute. -
#disk_id=(value) ⇒ Object
Sets the value of the
disk_id
attribute. -
#hash ⇒ Object
Generates a hash value for this object.
-
#initialize(opts = {}) ⇒ IscsiDetails
constructor
Creates a new instance of the IscsiDetails class.
-
#initiator ⇒ String
Returns the value of the
initiator
attribute. -
#initiator=(value) ⇒ Object
Sets the value of the
initiator
attribute. -
#lun_mapping ⇒ Integer
Returns the value of the
lun_mapping
attribute. -
#lun_mapping=(value) ⇒ Object
Sets the value of the
lun_mapping
attribute. -
#password ⇒ String
Returns the value of the
password
attribute. -
#password=(value) ⇒ Object
Sets the value of the
password
attribute. -
#paths ⇒ Integer
Returns the value of the
paths
attribute. -
#paths=(value) ⇒ Object
Sets the value of the
paths
attribute. -
#port ⇒ Integer
Returns the value of the
port
attribute. -
#port=(value) ⇒ Object
Sets the value of the
port
attribute. -
#portal ⇒ String
Returns the value of the
portal
attribute. -
#portal=(value) ⇒ Object
Sets the value of the
portal
attribute. -
#product_id ⇒ String
Returns the value of the
product_id
attribute. -
#product_id=(value) ⇒ Object
Sets the value of the
product_id
attribute. -
#serial ⇒ String
Returns the value of the
serial
attribute. -
#serial=(value) ⇒ Object
Sets the value of the
serial
attribute. -
#size ⇒ Integer
Returns the value of the
size
attribute. -
#size=(value) ⇒ Object
Sets the value of the
size
attribute. -
#status ⇒ String
Returns the value of the
status
attribute. -
#status=(value) ⇒ Object
Sets the value of the
status
attribute. -
#storage_domain_id ⇒ String
Returns the value of the
storage_domain_id
attribute. -
#storage_domain_id=(value) ⇒ Object
Sets the value of the
storage_domain_id
attribute. -
#target ⇒ String
Returns the value of the
target
attribute. -
#target=(value) ⇒ Object
Sets the value of the
target
attribute. -
#username ⇒ String
Returns the value of the
username
attribute. -
#username=(value) ⇒ Object
Sets the value of the
username
attribute. -
#vendor_id ⇒ String
Returns the value of the
vendor_id
attribute. -
#vendor_id=(value) ⇒ Object
Sets the value of the
vendor_id
attribute. -
#volume_group_id ⇒ String
Returns the value of the
volume_group_id
attribute. -
#volume_group_id=(value) ⇒ Object
Sets the value of the
volume_group_id
attribute.
Methods included from Type
Constructor Details
#initialize(opts = {}) ⇒ IscsiDetails
Creates a new instance of the OvirtSDK4::IscsiDetails class.
7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 |
# File 'lib/ovirtsdk4/types.rb', line 7143 def initialize(opts = {}) super(opts) self.address = opts[:address] self.disk_id = opts[:disk_id] self.initiator = opts[:initiator] 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
#==(other) ⇒ Object
Returns true
if self
and other
have the same attributes and values.
7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 |
# File 'lib/ovirtsdk4/types.rb', line 7167 def ==(other) super && @address == other.address && @disk_id == other.disk_id && @initiator == other.initiator && @lun_mapping == other.lun_mapping && @password == other.password && @paths == other.paths && @port == other.port && @portal == other.portal && @product_id == other.product_id && @serial == other.serial && @size == other.size && @status == other.status && @storage_domain_id == other.storage_domain_id && @target == other.target && @username == other.username && @vendor_id == other.vendor_id && @volume_group_id == other.volume_group_id end |
#address ⇒ String
Returns the value of the address
attribute.
6800 6801 6802 |
# File 'lib/ovirtsdk4/types.rb', line 6800 def address @address end |
#address=(value) ⇒ Object
Sets the value of the address
attribute.
6809 6810 6811 |
# File 'lib/ovirtsdk4/types.rb', line 6809 def address=(value) @address = value end |
#disk_id ⇒ String
Returns the value of the disk_id
attribute.
6818 6819 6820 |
# File 'lib/ovirtsdk4/types.rb', line 6818 def disk_id @disk_id end |
#disk_id=(value) ⇒ Object
Sets the value of the disk_id
attribute.
6827 6828 6829 |
# File 'lib/ovirtsdk4/types.rb', line 6827 def disk_id=(value) @disk_id = value end |
#hash ⇒ Object
Generates a hash value for this object.
7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 |
# File 'lib/ovirtsdk4/types.rb', line 7191 def hash super + @address.hash + @disk_id.hash + @initiator.hash + @lun_mapping.hash + @password.hash + @paths.hash + @port.hash + @portal.hash + @product_id.hash + @serial.hash + @size.hash + @status.hash + @storage_domain_id.hash + @target.hash + @username.hash + @vendor_id.hash + @volume_group_id.hash end |
#initiator ⇒ String
Returns the value of the initiator
attribute.
6836 6837 6838 |
# File 'lib/ovirtsdk4/types.rb', line 6836 def initiator @initiator end |
#initiator=(value) ⇒ Object
Sets the value of the initiator
attribute.
6845 6846 6847 |
# File 'lib/ovirtsdk4/types.rb', line 6845 def initiator=(value) @initiator = value end |
#lun_mapping ⇒ Integer
Returns the value of the lun_mapping
attribute.
6854 6855 6856 |
# File 'lib/ovirtsdk4/types.rb', line 6854 def lun_mapping @lun_mapping end |
#lun_mapping=(value) ⇒ Object
Sets the value of the lun_mapping
attribute.
6863 6864 6865 |
# File 'lib/ovirtsdk4/types.rb', line 6863 def lun_mapping=(value) @lun_mapping = value end |
#password ⇒ String
Returns the value of the password
attribute.
6872 6873 6874 |
# File 'lib/ovirtsdk4/types.rb', line 6872 def password @password end |
#password=(value) ⇒ Object
Sets the value of the password
attribute.
6881 6882 6883 |
# File 'lib/ovirtsdk4/types.rb', line 6881 def password=(value) @password = value end |
#paths ⇒ Integer
Returns the value of the paths
attribute.
6890 6891 6892 |
# File 'lib/ovirtsdk4/types.rb', line 6890 def paths @paths end |
#paths=(value) ⇒ Object
Sets the value of the paths
attribute.
6899 6900 6901 |
# File 'lib/ovirtsdk4/types.rb', line 6899 def paths=(value) @paths = value end |
#port ⇒ Integer
Returns the value of the port
attribute.
6908 6909 6910 |
# File 'lib/ovirtsdk4/types.rb', line 6908 def port @port end |
#port=(value) ⇒ Object
Sets the value of the port
attribute.
6917 6918 6919 |
# File 'lib/ovirtsdk4/types.rb', line 6917 def port=(value) @port = value end |
#portal ⇒ String
Returns the value of the portal
attribute.
6926 6927 6928 |
# File 'lib/ovirtsdk4/types.rb', line 6926 def portal @portal end |
#portal=(value) ⇒ Object
Sets the value of the portal
attribute.
6935 6936 6937 |
# File 'lib/ovirtsdk4/types.rb', line 6935 def portal=(value) @portal = value end |
#product_id ⇒ String
Returns the value of the product_id
attribute.
6944 6945 6946 |
# File 'lib/ovirtsdk4/types.rb', line 6944 def product_id @product_id end |
#product_id=(value) ⇒ Object
Sets the value of the product_id
attribute.
6953 6954 6955 |
# File 'lib/ovirtsdk4/types.rb', line 6953 def product_id=(value) @product_id = value end |
#serial ⇒ String
Returns the value of the serial
attribute.
6962 6963 6964 |
# File 'lib/ovirtsdk4/types.rb', line 6962 def serial @serial end |
#serial=(value) ⇒ Object
Sets the value of the serial
attribute.
6971 6972 6973 |
# File 'lib/ovirtsdk4/types.rb', line 6971 def serial=(value) @serial = value end |
#size ⇒ Integer
Returns the value of the size
attribute.
6980 6981 6982 |
# File 'lib/ovirtsdk4/types.rb', line 6980 def size @size end |
#size=(value) ⇒ Object
Sets the value of the size
attribute.
6989 6990 6991 |
# File 'lib/ovirtsdk4/types.rb', line 6989 def size=(value) @size = value end |
#status ⇒ String
Returns the value of the status
attribute.
6998 6999 7000 |
# File 'lib/ovirtsdk4/types.rb', line 6998 def status @status end |
#status=(value) ⇒ Object
Sets the value of the status
attribute.
7007 7008 7009 |
# File 'lib/ovirtsdk4/types.rb', line 7007 def status=(value) @status = value end |
#storage_domain_id ⇒ String
Returns the value of the storage_domain_id
attribute.
7016 7017 7018 |
# File 'lib/ovirtsdk4/types.rb', line 7016 def storage_domain_id @storage_domain_id end |
#storage_domain_id=(value) ⇒ Object
Sets the value of the storage_domain_id
attribute.
7025 7026 7027 |
# File 'lib/ovirtsdk4/types.rb', line 7025 def storage_domain_id=(value) @storage_domain_id = value end |
#target ⇒ String
Returns the value of the target
attribute.
7034 7035 7036 |
# File 'lib/ovirtsdk4/types.rb', line 7034 def target @target end |
#target=(value) ⇒ Object
Sets the value of the target
attribute.
7043 7044 7045 |
# File 'lib/ovirtsdk4/types.rb', line 7043 def target=(value) @target = value end |
#username ⇒ String
Returns the value of the username
attribute.
7052 7053 7054 |
# File 'lib/ovirtsdk4/types.rb', line 7052 def username @username end |
#username=(value) ⇒ Object
Sets the value of the username
attribute.
7061 7062 7063 |
# File 'lib/ovirtsdk4/types.rb', line 7061 def username=(value) @username = value end |
#vendor_id ⇒ String
Returns the value of the vendor_id
attribute.
7070 7071 7072 |
# File 'lib/ovirtsdk4/types.rb', line 7070 def vendor_id @vendor_id end |
#vendor_id=(value) ⇒ Object
Sets the value of the vendor_id
attribute.
7079 7080 7081 |
# File 'lib/ovirtsdk4/types.rb', line 7079 def vendor_id=(value) @vendor_id = value end |
#volume_group_id ⇒ String
Returns the value of the volume_group_id
attribute.
7088 7089 7090 |
# File 'lib/ovirtsdk4/types.rb', line 7088 def volume_group_id @volume_group_id end |
#volume_group_id=(value) ⇒ Object
Sets the value of the volume_group_id
attribute.
7097 7098 7099 |
# File 'lib/ovirtsdk4/types.rb', line 7097 def volume_group_id=(value) @volume_group_id = value end |