Class: Softlayer::Hardware::Component::Model
- Defined in:
- lib/softlayer/hardware/component/model.rb,
lib/softlayer/hardware/component/model/generic.rb,
lib/softlayer/hardware/component/model/attribute.rb,
lib/softlayer/hardware/component/model/architecture.rb,
lib/softlayer/hardware/component/model/attribute/type.rb,
lib/softlayer/hardware/component/model/architecture/type.rb,
lib/softlayer/hardware/component/model/generic/attribute.rb,
lib/softlayer/hardware/component/model/generic/marketing_feature.rb
Defined Under Namespace
Modules: Architecture Classes: Attribute, Generic, Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Hardware_Component_Model'
Instance Attribute Summary collapse
-
#architecture_type ⇒ Object
Returns the value of attribute architecture_type.
-
#architecture_type_id ⇒ Object
Returns the value of attribute architecture_type_id.
-
#attribute_count ⇒ Object
Returns the value of attribute attribute_count.
-
#attributes ⇒ Object
Returns the value of attribute attributes.
-
#capacity ⇒ Object
Returns the value of attribute capacity.
-
#compatible_array_type_count ⇒ Object
Returns the value of attribute compatible_array_type_count.
-
#compatible_array_types ⇒ Object
Returns the value of attribute compatible_array_types.
-
#compatible_child_component_model_count ⇒ Object
Returns the value of attribute compatible_child_component_model_count.
-
#compatible_child_component_models ⇒ Object
Returns the value of attribute compatible_child_component_models.
-
#compatible_parent_component_model_count ⇒ Object
Returns the value of attribute compatible_parent_component_model_count.
-
#compatible_parent_component_models ⇒ Object
Returns the value of attribute compatible_parent_component_models.
-
#description ⇒ Object
Returns the value of attribute description.
-
#hardware_components ⇒ Object
Returns the value of attribute hardware_components.
-
#hardware_generic_component_model ⇒ Object
Returns the value of attribute hardware_generic_component_model.
-
#hardware_generic_component_model_id ⇒ Object
Returns the value of attribute hardware_generic_component_model_id.
-
#id ⇒ Object
Returns the value of attribute id.
-
#infiniband_compatible_attribute ⇒ Object
Returns the value of attribute infiniband_compatible_attribute.
-
#is_infiniband_compatible ⇒ Object
Returns the value of attribute is_infiniband_compatible.
-
#long_description ⇒ Object
Returns the value of attribute long_description.
-
#manufacturer ⇒ Object
Returns the value of attribute manufacturer.
-
#name ⇒ Object
Returns the value of attribute name.
-
#reboot_time ⇒ Object
Returns the value of attribute reboot_time.
-
#type ⇒ Object
Returns the value of attribute type.
-
#valid_attribute_type_count ⇒ Object
Returns the value of attribute valid_attribute_type_count.
-
#valid_attribute_types ⇒ Object
Returns the value of attribute valid_attribute_types.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
- #get_architecture_type ⇒ Object
- #get_attributes ⇒ Object
- #get_compatible_array_types ⇒ Object
- #get_compatible_child_component_models ⇒ Object
- #get_compatible_parent_component_models ⇒ Object
- #get_hardware_components ⇒ Object
- #get_hardware_generic_component_model ⇒ Object
- #get_infiniband_compatible_attribute ⇒ Object
- #get_is_infiniband_compatible ⇒ Object
- #get_object ⇒ Object
- #get_reboot_time ⇒ Object
- #get_type ⇒ Object
- #get_valid_attribute_types ⇒ Object
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
#architecture_type ⇒ Object
Returns the value of attribute architecture_type.
23 24 25 |
# File 'lib/softlayer/hardware/component/model.rb', line 23 def architecture_type @architecture_type end |
#architecture_type_id ⇒ Object
Returns the value of attribute architecture_type_id.
9 10 11 |
# File 'lib/softlayer/hardware/component/model.rb', line 9 def architecture_type_id @architecture_type_id end |
#attribute_count ⇒ Object
Returns the value of attribute attribute_count.
18 19 20 |
# File 'lib/softlayer/hardware/component/model.rb', line 18 def attribute_count @attribute_count end |
#attributes ⇒ Object
Returns the value of attribute attributes.
24 25 26 |
# File 'lib/softlayer/hardware/component/model.rb', line 24 def attributes @attributes end |
#capacity ⇒ Object
Returns the value of attribute capacity.
10 11 12 |
# File 'lib/softlayer/hardware/component/model.rb', line 10 def capacity @capacity end |
#compatible_array_type_count ⇒ Object
Returns the value of attribute compatible_array_type_count.
19 20 21 |
# File 'lib/softlayer/hardware/component/model.rb', line 19 def compatible_array_type_count @compatible_array_type_count end |
#compatible_array_types ⇒ Object
Returns the value of attribute compatible_array_types.
25 26 27 |
# File 'lib/softlayer/hardware/component/model.rb', line 25 def compatible_array_types @compatible_array_types end |
#compatible_child_component_model_count ⇒ Object
Returns the value of attribute compatible_child_component_model_count.
20 21 22 |
# File 'lib/softlayer/hardware/component/model.rb', line 20 def compatible_child_component_model_count @compatible_child_component_model_count end |
#compatible_child_component_models ⇒ Object
Returns the value of attribute compatible_child_component_models.
26 27 28 |
# File 'lib/softlayer/hardware/component/model.rb', line 26 def compatible_child_component_models @compatible_child_component_models end |
#compatible_parent_component_model_count ⇒ Object
Returns the value of attribute compatible_parent_component_model_count.
21 22 23 |
# File 'lib/softlayer/hardware/component/model.rb', line 21 def compatible_parent_component_model_count @compatible_parent_component_model_count end |
#compatible_parent_component_models ⇒ Object
Returns the value of attribute compatible_parent_component_models.
27 28 29 |
# File 'lib/softlayer/hardware/component/model.rb', line 27 def compatible_parent_component_models @compatible_parent_component_models end |
#description ⇒ Object
Returns the value of attribute description.
11 12 13 |
# File 'lib/softlayer/hardware/component/model.rb', line 11 def description @description end |
#hardware_components ⇒ Object
Returns the value of attribute hardware_components.
28 29 30 |
# File 'lib/softlayer/hardware/component/model.rb', line 28 def hardware_components @hardware_components end |
#hardware_generic_component_model ⇒ Object
Returns the value of attribute hardware_generic_component_model.
29 30 31 |
# File 'lib/softlayer/hardware/component/model.rb', line 29 def hardware_generic_component_model @hardware_generic_component_model end |
#hardware_generic_component_model_id ⇒ Object
Returns the value of attribute hardware_generic_component_model_id.
12 13 14 |
# File 'lib/softlayer/hardware/component/model.rb', line 12 def hardware_generic_component_model_id @hardware_generic_component_model_id end |
#id ⇒ Object
Returns the value of attribute id.
13 14 15 |
# File 'lib/softlayer/hardware/component/model.rb', line 13 def id @id end |
#infiniband_compatible_attribute ⇒ Object
Returns the value of attribute infiniband_compatible_attribute.
30 31 32 |
# File 'lib/softlayer/hardware/component/model.rb', line 30 def infiniband_compatible_attribute @infiniband_compatible_attribute end |
#is_infiniband_compatible ⇒ Object
Returns the value of attribute is_infiniband_compatible.
31 32 33 |
# File 'lib/softlayer/hardware/component/model.rb', line 31 def is_infiniband_compatible @is_infiniband_compatible end |
#long_description ⇒ Object
Returns the value of attribute long_description.
14 15 16 |
# File 'lib/softlayer/hardware/component/model.rb', line 14 def long_description @long_description end |
#manufacturer ⇒ Object
Returns the value of attribute manufacturer.
15 16 17 |
# File 'lib/softlayer/hardware/component/model.rb', line 15 def manufacturer @manufacturer end |
#name ⇒ Object
Returns the value of attribute name.
16 17 18 |
# File 'lib/softlayer/hardware/component/model.rb', line 16 def name @name end |
#reboot_time ⇒ Object
Returns the value of attribute reboot_time.
32 33 34 |
# File 'lib/softlayer/hardware/component/model.rb', line 32 def reboot_time @reboot_time end |
#type ⇒ Object
Returns the value of attribute type.
33 34 35 |
# File 'lib/softlayer/hardware/component/model.rb', line 33 def type @type end |
#valid_attribute_type_count ⇒ Object
Returns the value of attribute valid_attribute_type_count.
22 23 24 |
# File 'lib/softlayer/hardware/component/model.rb', line 22 def valid_attribute_type_count @valid_attribute_type_count end |
#valid_attribute_types ⇒ Object
Returns the value of attribute valid_attribute_types.
34 35 36 |
# File 'lib/softlayer/hardware/component/model.rb', line 34 def valid_attribute_types @valid_attribute_types end |
#version ⇒ Object
Returns the value of attribute version.
17 18 19 |
# File 'lib/softlayer/hardware/component/model.rb', line 17 def version @version end |
Instance Method Details
#get_architecture_type ⇒ Object
36 37 38 |
# File 'lib/softlayer/hardware/component/model.rb', line 36 def get_architecture_type request(:get_architecture_type, Softlayer::Hardware::Component::Model::Architecture::Type) end |
#get_attributes ⇒ Object
40 41 42 |
# File 'lib/softlayer/hardware/component/model.rb', line 40 def get_attributes request(:get_attributes, Array[Softlayer::Hardware::Component::Model::Attribute]) end |
#get_compatible_array_types ⇒ Object
44 45 46 |
# File 'lib/softlayer/hardware/component/model.rb', line 44 def get_compatible_array_types request(:get_compatible_array_types, Array[Softlayer::Configuration::Storage::Group::Array::Type]) end |
#get_compatible_child_component_models ⇒ Object
48 49 50 |
# File 'lib/softlayer/hardware/component/model.rb', line 48 def get_compatible_child_component_models request(:get_compatible_child_component_models, Array[Softlayer::Hardware::Component::Model]) end |
#get_compatible_parent_component_models ⇒ Object
52 53 54 |
# File 'lib/softlayer/hardware/component/model.rb', line 52 def get_compatible_parent_component_models request(:get_compatible_parent_component_models, Array[Softlayer::Hardware::Component::Model]) end |
#get_hardware_components ⇒ Object
56 57 58 |
# File 'lib/softlayer/hardware/component/model.rb', line 56 def get_hardware_components request(:get_hardware_components, Array[Softlayer::Hardware::Component]) end |
#get_hardware_generic_component_model ⇒ Object
60 61 62 |
# File 'lib/softlayer/hardware/component/model.rb', line 60 def get_hardware_generic_component_model request(:get_hardware_generic_component_model, Softlayer::Hardware::Component::Model::Generic) end |
#get_infiniband_compatible_attribute ⇒ Object
64 65 66 |
# File 'lib/softlayer/hardware/component/model.rb', line 64 def get_infiniband_compatible_attribute request(:get_infiniband_compatible_attribute, Softlayer::Hardware::Component::Model::Attribute) end |
#get_is_infiniband_compatible ⇒ Object
68 69 70 |
# File 'lib/softlayer/hardware/component/model.rb', line 68 def get_is_infiniband_compatible request(:get_is_infiniband_compatible, Boolean) end |
#get_object ⇒ Object
72 73 74 |
# File 'lib/softlayer/hardware/component/model.rb', line 72 def get_object request(:get_object, Softlayer::Hardware::Component::Model) end |
#get_reboot_time ⇒ Object
76 77 78 |
# File 'lib/softlayer/hardware/component/model.rb', line 76 def get_reboot_time request(:get_reboot_time, Softlayer::Hardware::Component::Motherboard::Reboot::Time) end |
#get_type ⇒ Object
80 81 82 |
# File 'lib/softlayer/hardware/component/model.rb', line 80 def get_type request(:get_type, String) end |