Class: Hpe3parSdk::HostSet

Inherits:
Object
  • Object
show all
Defined in:
lib/Hpe3parSdk/models.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#commentObject

type - String

Comment for the set.



825
826
827
# File 'lib/Hpe3parSdk/models.rb', line 825

def comment
  @comment
end

#domainObject

type - String

Set domain.



829
830
831
# File 'lib/Hpe3parSdk/models.rb', line 829

def domain
  @domain
end

#idObject

type - Number

Set identifier.



821
822
823
# File 'lib/Hpe3parSdk/models.rb', line 821

def id
  @id
end

#nameObject

type - String

Name of the set.



813
814
815
# File 'lib/Hpe3parSdk/models.rb', line 813

def name
  @name
end

#setmembersObject

type - Array of String

The members of the set.



833
834
835
# File 'lib/Hpe3parSdk/models.rb', line 833

def setmembers
  @setmembers
end

#uuidObject

type - String

UUID of the set.



817
818
819
# File 'lib/Hpe3parSdk/models.rb', line 817

def uuid
  @uuid
end