Class: OvirtSDK4::IscsiDetails
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary collapse
-
#==(other) ⇒ Object
Returns
trueifselfandotherhave the same attributes and values. -
#address ⇒ String
Returns the value of the
addressattribute. -
#address=(value) ⇒ Object
Sets the value of the
addressattribute. -
#disk_id ⇒ String
Returns the value of the
disk_idattribute. -
#disk_id=(value) ⇒ Object
Sets the value of the
disk_idattribute. -
#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
initiatorattribute. -
#initiator=(value) ⇒ Object
Sets the value of the
initiatorattribute. -
#lun_mapping ⇒ Integer
Returns the value of the
lun_mappingattribute. -
#lun_mapping=(value) ⇒ Object
Sets the value of the
lun_mappingattribute. -
#password ⇒ String
Returns the value of the
passwordattribute. -
#password=(value) ⇒ Object
Sets the value of the
passwordattribute. -
#paths ⇒ Integer
Returns the value of the
pathsattribute. -
#paths=(value) ⇒ Object
Sets the value of the
pathsattribute. -
#port ⇒ Integer
Returns the value of the
portattribute. -
#port=(value) ⇒ Object
Sets the value of the
portattribute. -
#portal ⇒ String
Returns the value of the
portalattribute. -
#portal=(value) ⇒ Object
Sets the value of the
portalattribute. -
#product_id ⇒ String
Returns the value of the
product_idattribute. -
#product_id=(value) ⇒ Object
Sets the value of the
product_idattribute. -
#serial ⇒ String
Returns the value of the
serialattribute. -
#serial=(value) ⇒ Object
Sets the value of the
serialattribute. -
#size ⇒ Integer
Returns the value of the
sizeattribute. -
#size=(value) ⇒ Object
Sets the value of the
sizeattribute. -
#status ⇒ String
Returns the value of the
statusattribute. -
#status=(value) ⇒ Object
Sets the value of the
statusattribute. -
#storage_domain_id ⇒ String
Returns the value of the
storage_domain_idattribute. -
#storage_domain_id=(value) ⇒ Object
Sets the value of the
storage_domain_idattribute. -
#target ⇒ String
Returns the value of the
targetattribute. -
#target=(value) ⇒ Object
Sets the value of the
targetattribute. -
#username ⇒ String
Returns the value of the
usernameattribute. -
#username=(value) ⇒ Object
Sets the value of the
usernameattribute. -
#vendor_id ⇒ String
Returns the value of the
vendor_idattribute. -
#vendor_id=(value) ⇒ Object
Sets the value of the
vendor_idattribute. -
#volume_group_id ⇒ String
Returns the value of the
volume_group_idattribute. -
#volume_group_id=(value) ⇒ Object
Sets the value of the
volume_group_idattribute.
Methods included from Type
Constructor Details
#initialize(opts = {}) ⇒ IscsiDetails
Creates a new instance of the OvirtSDK4::IscsiDetails class.
7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 |
# File 'lib/ovirtsdk4/types.rb', line 7885 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.
7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 |
# File 'lib/ovirtsdk4/types.rb', line 7909 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.
7542 7543 7544 |
# File 'lib/ovirtsdk4/types.rb', line 7542 def address @address end |
#address=(value) ⇒ Object
Sets the value of the address attribute.
7551 7552 7553 |
# File 'lib/ovirtsdk4/types.rb', line 7551 def address=(value) @address = value end |
#disk_id ⇒ String
Returns the value of the disk_id attribute.
7560 7561 7562 |
# File 'lib/ovirtsdk4/types.rb', line 7560 def disk_id @disk_id end |
#disk_id=(value) ⇒ Object
Sets the value of the disk_id attribute.
7569 7570 7571 |
# File 'lib/ovirtsdk4/types.rb', line 7569 def disk_id=(value) @disk_id = value end |
#hash ⇒ Object
Generates a hash value for this object.
7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 |
# File 'lib/ovirtsdk4/types.rb', line 7933 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.
7578 7579 7580 |
# File 'lib/ovirtsdk4/types.rb', line 7578 def initiator @initiator end |
#initiator=(value) ⇒ Object
Sets the value of the initiator attribute.
7587 7588 7589 |
# File 'lib/ovirtsdk4/types.rb', line 7587 def initiator=(value) @initiator = value end |
#lun_mapping ⇒ Integer
Returns the value of the lun_mapping attribute.
7596 7597 7598 |
# File 'lib/ovirtsdk4/types.rb', line 7596 def lun_mapping @lun_mapping end |
#lun_mapping=(value) ⇒ Object
Sets the value of the lun_mapping attribute.
7605 7606 7607 |
# File 'lib/ovirtsdk4/types.rb', line 7605 def lun_mapping=(value) @lun_mapping = value end |
#password ⇒ String
Returns the value of the password attribute.
7614 7615 7616 |
# File 'lib/ovirtsdk4/types.rb', line 7614 def password @password end |
#password=(value) ⇒ Object
Sets the value of the password attribute.
7623 7624 7625 |
# File 'lib/ovirtsdk4/types.rb', line 7623 def password=(value) @password = value end |
#paths ⇒ Integer
Returns the value of the paths attribute.
7632 7633 7634 |
# File 'lib/ovirtsdk4/types.rb', line 7632 def paths @paths end |
#paths=(value) ⇒ Object
Sets the value of the paths attribute.
7641 7642 7643 |
# File 'lib/ovirtsdk4/types.rb', line 7641 def paths=(value) @paths = value end |
#port ⇒ Integer
Returns the value of the port attribute.
7650 7651 7652 |
# File 'lib/ovirtsdk4/types.rb', line 7650 def port @port end |
#port=(value) ⇒ Object
Sets the value of the port attribute.
7659 7660 7661 |
# File 'lib/ovirtsdk4/types.rb', line 7659 def port=(value) @port = value end |
#portal ⇒ String
Returns the value of the portal attribute.
7668 7669 7670 |
# File 'lib/ovirtsdk4/types.rb', line 7668 def portal @portal end |
#portal=(value) ⇒ Object
Sets the value of the portal attribute.
7677 7678 7679 |
# File 'lib/ovirtsdk4/types.rb', line 7677 def portal=(value) @portal = value end |
#product_id ⇒ String
Returns the value of the product_id attribute.
7686 7687 7688 |
# File 'lib/ovirtsdk4/types.rb', line 7686 def product_id @product_id end |
#product_id=(value) ⇒ Object
Sets the value of the product_id attribute.
7695 7696 7697 |
# File 'lib/ovirtsdk4/types.rb', line 7695 def product_id=(value) @product_id = value end |
#serial ⇒ String
Returns the value of the serial attribute.
7704 7705 7706 |
# File 'lib/ovirtsdk4/types.rb', line 7704 def serial @serial end |
#serial=(value) ⇒ Object
Sets the value of the serial attribute.
7713 7714 7715 |
# File 'lib/ovirtsdk4/types.rb', line 7713 def serial=(value) @serial = value end |
#size ⇒ Integer
Returns the value of the size attribute.
7722 7723 7724 |
# File 'lib/ovirtsdk4/types.rb', line 7722 def size @size end |
#size=(value) ⇒ Object
Sets the value of the size attribute.
7731 7732 7733 |
# File 'lib/ovirtsdk4/types.rb', line 7731 def size=(value) @size = value end |
#status ⇒ String
Returns the value of the status attribute.
7740 7741 7742 |
# File 'lib/ovirtsdk4/types.rb', line 7740 def status @status end |
#status=(value) ⇒ Object
Sets the value of the status attribute.
7749 7750 7751 |
# File 'lib/ovirtsdk4/types.rb', line 7749 def status=(value) @status = value end |
#storage_domain_id ⇒ String
Returns the value of the storage_domain_id attribute.
7758 7759 7760 |
# File 'lib/ovirtsdk4/types.rb', line 7758 def storage_domain_id @storage_domain_id end |
#storage_domain_id=(value) ⇒ Object
Sets the value of the storage_domain_id attribute.
7767 7768 7769 |
# File 'lib/ovirtsdk4/types.rb', line 7767 def storage_domain_id=(value) @storage_domain_id = value end |
#target ⇒ String
Returns the value of the target attribute.
7776 7777 7778 |
# File 'lib/ovirtsdk4/types.rb', line 7776 def target @target end |
#target=(value) ⇒ Object
Sets the value of the target attribute.
7785 7786 7787 |
# File 'lib/ovirtsdk4/types.rb', line 7785 def target=(value) @target = value end |
#username ⇒ String
Returns the value of the username attribute.
7794 7795 7796 |
# File 'lib/ovirtsdk4/types.rb', line 7794 def username @username end |
#username=(value) ⇒ Object
Sets the value of the username attribute.
7803 7804 7805 |
# File 'lib/ovirtsdk4/types.rb', line 7803 def username=(value) @username = value end |
#vendor_id ⇒ String
Returns the value of the vendor_id attribute.
7812 7813 7814 |
# File 'lib/ovirtsdk4/types.rb', line 7812 def vendor_id @vendor_id end |
#vendor_id=(value) ⇒ Object
Sets the value of the vendor_id attribute.
7821 7822 7823 |
# File 'lib/ovirtsdk4/types.rb', line 7821 def vendor_id=(value) @vendor_id = value end |
#volume_group_id ⇒ String
Returns the value of the volume_group_id attribute.
7830 7831 7832 |
# File 'lib/ovirtsdk4/types.rb', line 7830 def volume_group_id @volume_group_id end |
#volume_group_id=(value) ⇒ Object
Sets the value of the volume_group_id attribute.
7839 7840 7841 |
# File 'lib/ovirtsdk4/types.rb', line 7839 def volume_group_id=(value) @volume_group_id = value end |