Class: OvirtSDK4::StorageConnectionExtension
- Inherits:
-
Identified
- Object
- Struct
- Identified
- OvirtSDK4::StorageConnectionExtension
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (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. -
- (StorageConnectionExtension) initialize(opts = {})
constructor
Creates a new instance of the StorageConnectionExtension class.
-
- (String) name
Returns the value of the
name
attribute. -
- (Object) name=(value)
Sets the value of the
name
attribute. -
- (String) password
Returns the value of the
password
attribute. -
- (Object) password=(value)
Sets the value of the
password
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.
Methods included from Type
Constructor Details
- (StorageConnectionExtension) initialize(opts = {})
Creates a new instance of the OvirtSDK4::StorageConnectionExtension class.
15866 15867 15868 15869 15870 15871 15872 15873 15874 15875 15876 |
# File 'lib/ovirtsdk4/types.rb', line 15866 def initialize(opts = {}) super(opts) self.comment = opts[:comment] self.description = opts[:description] self.host = opts[:host] self.id = opts[:id] self.name = opts[:name] self.password = opts[:password] self.target = opts[:target] self.username = opts[:username] end |
Instance Method Details
- (String) comment
Returns the value of the comment
attribute.
15696 15697 15698 |
# File 'lib/ovirtsdk4/types.rb', line 15696 def comment return @comment end |
- (Object) comment=(value)
Sets the value of the comment
attribute.
15705 15706 15707 |
# File 'lib/ovirtsdk4/types.rb', line 15705 def comment=(value) @comment = value end |
- (String) description
Returns the value of the description
attribute.
15714 15715 15716 |
# File 'lib/ovirtsdk4/types.rb', line 15714 def description return @description end |
- (Object) description=(value)
Sets the value of the description
attribute.
15723 15724 15725 |
# File 'lib/ovirtsdk4/types.rb', line 15723 def description=(value) @description = value end |
- (Host) host
Returns the value of the host
attribute.
15732 15733 15734 |
# File 'lib/ovirtsdk4/types.rb', line 15732 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.
15745 15746 15747 15748 15749 15750 |
# File 'lib/ovirtsdk4/types.rb', line 15745 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.
15757 15758 15759 |
# File 'lib/ovirtsdk4/types.rb', line 15757 def id return @id end |
- (Object) id=(value)
Sets the value of the id
attribute.
15766 15767 15768 |
# File 'lib/ovirtsdk4/types.rb', line 15766 def id=(value) @id = value end |
- (String) name
Returns the value of the name
attribute.
15775 15776 15777 |
# File 'lib/ovirtsdk4/types.rb', line 15775 def name return @name end |
- (Object) name=(value)
Sets the value of the name
attribute.
15784 15785 15786 |
# File 'lib/ovirtsdk4/types.rb', line 15784 def name=(value) @name = value end |
- (String) password
Returns the value of the password
attribute.
15793 15794 15795 |
# File 'lib/ovirtsdk4/types.rb', line 15793 def password return @password end |
- (Object) password=(value)
Sets the value of the password
attribute.
15802 15803 15804 |
# File 'lib/ovirtsdk4/types.rb', line 15802 def password=(value) @password = value end |
- (String) target
Returns the value of the target
attribute.
15811 15812 15813 |
# File 'lib/ovirtsdk4/types.rb', line 15811 def target return @target end |
- (Object) target=(value)
Sets the value of the target
attribute.
15820 15821 15822 |
# File 'lib/ovirtsdk4/types.rb', line 15820 def target=(value) @target = value end |
- (String) username
Returns the value of the username
attribute.
15829 15830 15831 |
# File 'lib/ovirtsdk4/types.rb', line 15829 def username return @username end |
- (Object) username=(value)
Sets the value of the username
attribute.
15838 15839 15840 |
# File 'lib/ovirtsdk4/types.rb', line 15838 def username=(value) @username = value end |