Class: Softlayer::Configuration::Storage::Group::Array::Type

Inherits:
Entity
  • Object
show all
Defined in:
lib/softlayer/configuration/storage/group/array/type.rb

Defined Under Namespace

Classes: Representer

Constant Summary collapse

SERVICE =
'SoftLayer_Configuration_Storage_Group_Array_Type'

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Model

all, all_request_for, create, find, #init_headers, parse, process_message, #request, request, service_name, #service_name, #to_hash, #to_softlayer

Methods included from Model::Operations

extended, #filter, included, #limit, #mask, #request_headers

Instance Attribute Details

#descriptionObject

Returns the value of attribute description.



8
9
10
# File 'lib/softlayer/configuration/storage/group/array/type.rb', line 8

def description
  @description
end

#drive_multiplierObject

Returns the value of attribute drive_multiplier.



9
10
11
# File 'lib/softlayer/configuration/storage/group/array/type.rb', line 9

def drive_multiplier
  @drive_multiplier
end

#hardware_component_model_countObject

Returns the value of attribute hardware_component_model_count.



16
17
18
# File 'lib/softlayer/configuration/storage/group/array/type.rb', line 16

def hardware_component_model_count
  @hardware_component_model_count
end

#hardware_component_modelsObject

Returns the value of attribute hardware_component_models.



17
18
19
# File 'lib/softlayer/configuration/storage/group/array/type.rb', line 17

def hardware_component_models
  @hardware_component_models
end

#hotspare_allowObject

Returns the value of attribute hotspare_allow.



10
11
12
# File 'lib/softlayer/configuration/storage/group/array/type.rb', line 10

def hotspare_allow
  @hotspare_allow
end

#idObject

Returns the value of attribute id.



11
12
13
# File 'lib/softlayer/configuration/storage/group/array/type.rb', line 11

def id
  @id
end

#key_nameObject

Returns the value of attribute key_name.



12
13
14
# File 'lib/softlayer/configuration/storage/group/array/type.rb', line 12

def key_name
  @key_name
end

#maximum_drivesObject

Returns the value of attribute maximum_drives.



13
14
15
# File 'lib/softlayer/configuration/storage/group/array/type.rb', line 13

def maximum_drives
  @maximum_drives
end

#minimum_drivesObject

Returns the value of attribute minimum_drives.



14
15
16
# File 'lib/softlayer/configuration/storage/group/array/type.rb', line 14

def minimum_drives
  @minimum_drives
end

#nameObject

Returns the value of attribute name.



15
16
17
# File 'lib/softlayer/configuration/storage/group/array/type.rb', line 15

def name
  @name
end

Class Method Details

.get_all_objectsObject



19
20
21
# File 'lib/softlayer/configuration/storage/group/array/type.rb', line 19

def self.get_all_objects
  request(:get_all_objects, Array[Softlayer::Configuration::Storage::Group::Array::Type])
end

Instance Method Details

#get_hardware_component_modelsObject



23
24
25
# File 'lib/softlayer/configuration/storage/group/array/type.rb', line 23

def get_hardware_component_models
  request(:get_hardware_component_models, Array[Softlayer::Hardware::Component::Model])
end

#get_objectObject



27
28
29
# File 'lib/softlayer/configuration/storage/group/array/type.rb', line 27

def get_object
  request(:get_object, Softlayer::Configuration::Storage::Group::Array::Type)
end