Class: Hpe3parSdk::VolumeSet

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(object_hash) ⇒ VolumeSet

Returns a new instance of VolumeSet.



1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
# File 'lib/Hpe3parSdk/models.rb', line 1081

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']

  self.flash_cache_policy = object_hash['flashCachePolicy']

  self.qos_enabled = object_hash['qosEnabled']

end

Instance Attribute Details

#commentObject

type - String

Comment for the set.



1060
1061
1062
# File 'lib/Hpe3parSdk/models.rb', line 1060

def comment
  @comment
end

#domainObject

type - String

Set domain.



1064
1065
1066
# File 'lib/Hpe3parSdk/models.rb', line 1064

def domain
  @domain
end

#flash_cache_policyObject

type - Number

The flashCachePolicy member is valid for volumes sets only. - Hpe3parSdk::FlashCachePolicy



1074
1075
1076
# File 'lib/Hpe3parSdk/models.rb', line 1074

def flash_cache_policy
  @flash_cache_policy
end

#idObject

type - Number

Set identifier.



1056
1057
1058
# File 'lib/Hpe3parSdk/models.rb', line 1056

def id
  @id
end

#nameObject

type - String

Name of the set.



1048
1049
1050
# File 'lib/Hpe3parSdk/models.rb', line 1048

def name
  @name
end

#qos_enabledObject

type - Boolean

true: Enabled vvset QoS rule. false: Disabled vvset QoS rules.



1079
1080
1081
# File 'lib/Hpe3parSdk/models.rb', line 1079

def qos_enabled
  @qos_enabled
end

#setmembersObject

type - Array of String

The members of the set.



1068
1069
1070
# File 'lib/Hpe3parSdk/models.rb', line 1068

def setmembers
  @setmembers
end

#uuidObject

type - String

UUID of the set.



1052
1053
1054
# File 'lib/Hpe3parSdk/models.rb', line 1052

def uuid
  @uuid
end