Class: OvirtSDK4::GlusterVolumeProfileDetails
- Inherits:
-
Identified
- Object
- Struct
- Identified
- OvirtSDK4::GlusterVolumeProfileDetails
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (Array<BrickProfileDetail>) brick_profile_details
Returns the value of the
brick_profile_details
attribute. -
- (Object) brick_profile_details=(list)
Sets the value of the
brick_profile_details
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. -
- (String) id
Returns the value of the
id
attribute. -
- (Object) id=(value)
Sets the value of the
id
attribute. -
- (GlusterVolumeProfileDetails) initialize(opts = {})
constructor
Creates a new instance of the GlusterVolumeProfileDetails class.
-
- (String) name
Returns the value of the
name
attribute. -
- (Object) name=(value)
Sets the value of the
name
attribute. -
- (Array<NfsProfileDetail>) nfs_profile_details
Returns the value of the
nfs_profile_details
attribute. -
- (Object) nfs_profile_details=(list)
Sets the value of the
nfs_profile_details
attribute.
Methods included from Type
Constructor Details
- (GlusterVolumeProfileDetails) initialize(opts = {})
Creates a new instance of the OvirtSDK4::GlusterVolumeProfileDetails class.
31698 31699 31700 31701 31702 31703 31704 31705 31706 |
# File 'lib/ovirtsdk4/types.rb', line 31698 def initialize(opts = {}) super(opts) self.brick_profile_details = opts[:brick_profile_details] self.comment = opts[:comment] self.description = opts[:description] self.id = opts[:id] self.name = opts[:name] self.nfs_profile_details = opts[:nfs_profile_details] end |
Instance Method Details
- (Array<BrickProfileDetail>) brick_profile_details
Returns the value of the brick_profile_details
attribute.
31561 31562 31563 |
# File 'lib/ovirtsdk4/types.rb', line 31561 def brick_profile_details return @brick_profile_details end |
- (Object) brick_profile_details=(list)
Sets the value of the brick_profile_details
attribute.
31569 31570 31571 31572 31573 31574 31575 31576 31577 31578 31579 |
# File 'lib/ovirtsdk4/types.rb', line 31569 def brick_profile_details=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = BrickProfileDetail.new(value) end end end @brick_profile_details = list end |
- (String) comment
Returns the value of the comment
attribute.
31586 31587 31588 |
# File 'lib/ovirtsdk4/types.rb', line 31586 def comment return @comment end |
- (Object) comment=(value)
Sets the value of the comment
attribute.
31595 31596 31597 |
# File 'lib/ovirtsdk4/types.rb', line 31595 def comment=(value) @comment = value end |
- (String) description
Returns the value of the description
attribute.
31604 31605 31606 |
# File 'lib/ovirtsdk4/types.rb', line 31604 def description return @description end |
- (Object) description=(value)
Sets the value of the description
attribute.
31613 31614 31615 |
# File 'lib/ovirtsdk4/types.rb', line 31613 def description=(value) @description = value end |
- (String) id
Returns the value of the id
attribute.
31622 31623 31624 |
# File 'lib/ovirtsdk4/types.rb', line 31622 def id return @id end |
- (Object) id=(value)
Sets the value of the id
attribute.
31631 31632 31633 |
# File 'lib/ovirtsdk4/types.rb', line 31631 def id=(value) @id = value end |
- (String) name
Returns the value of the name
attribute.
31640 31641 31642 |
# File 'lib/ovirtsdk4/types.rb', line 31640 def name return @name end |
- (Object) name=(value)
Sets the value of the name
attribute.
31649 31650 31651 |
# File 'lib/ovirtsdk4/types.rb', line 31649 def name=(value) @name = value end |
- (Array<NfsProfileDetail>) nfs_profile_details
Returns the value of the nfs_profile_details
attribute.
31658 31659 31660 |
# File 'lib/ovirtsdk4/types.rb', line 31658 def nfs_profile_details return @nfs_profile_details end |
- (Object) nfs_profile_details=(list)
Sets the value of the nfs_profile_details
attribute.
31666 31667 31668 31669 31670 31671 31672 31673 31674 31675 31676 |
# File 'lib/ovirtsdk4/types.rb', line 31666 def nfs_profile_details=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = NfsProfileDetail.new(value) end end end @nfs_profile_details = list end |