Class: Hpe3parSdk::HostSet
- Inherits:
-
Object
- Object
- Hpe3parSdk::HostSet
- Defined in:
- lib/Hpe3parSdk/models.rb
Instance Attribute Summary collapse
-
#comment ⇒ Object
- type - String
-
Comment for the set.
-
#domain ⇒ Object
- type - String
-
Set domain.
-
#id ⇒ Object
- type - Number
-
Set identifier.
-
#name ⇒ Object
- type - String
-
Name of the set.
-
#setmembers ⇒ Object
- type - Array of String
-
The members of the set.
-
#uuid ⇒ Object
- type - String
-
UUID of the set.
Instance Method Summary collapse
-
#initialize(object_hash) ⇒ HostSet
constructor
A new instance of HostSet.
Constructor Details
#initialize(object_hash) ⇒ HostSet
Returns a new instance of HostSet.
835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 |
# File 'lib/Hpe3parSdk/models.rb', line 835 def initialize(object_hash) if object_hash == nil return end self.name = object_hash['name'] self.uuid = object_hash['uuid'] self.id = object_hash['id'] self.comment = object_hash['comment'] self.domain = object_hash['domain'] self.setmembers = object_hash['setmembers'] end |
Instance Attribute Details
#comment ⇒ Object
- type - String
-
Comment for the set.
825 826 827 |
# File 'lib/Hpe3parSdk/models.rb', line 825 def comment @comment end |
#domain ⇒ Object
- type - String
-
Set domain.
829 830 831 |
# File 'lib/Hpe3parSdk/models.rb', line 829 def domain @domain end |
#id ⇒ Object
- type - Number
-
Set identifier.
821 822 823 |
# File 'lib/Hpe3parSdk/models.rb', line 821 def id @id end |
#name ⇒ Object
- type - String
-
Name of the set.
813 814 815 |
# File 'lib/Hpe3parSdk/models.rb', line 813 def name @name end |
#setmembers ⇒ Object
- type - Array of String
-
The members of the set.
833 834 835 |
# File 'lib/Hpe3parSdk/models.rb', line 833 def setmembers @setmembers end |
#uuid ⇒ Object
- type - String
-
UUID of the set.
817 818 819 |
# File 'lib/Hpe3parSdk/models.rb', line 817 def uuid @uuid end |