Class: Softlayer::Hardware::Component
- Defined in:
- lib/softlayer/hardware/component.rb,
lib/softlayer/hardware/component/ram.rb,
lib/softlayer/hardware/component/type.rb,
lib/softlayer/hardware/component/model.rb,
lib/softlayer/hardware/component/attribute.rb,
lib/softlayer/hardware/component/partition.rb,
lib/softlayer/hardware/component/processor.rb,
lib/softlayer/hardware/component/hard_drive.rb,
lib/softlayer/hardware/component/motherboard.rb,
lib/softlayer/hardware/component/network_card.rb,
lib/softlayer/hardware/component/model/generic.rb,
lib/softlayer/hardware/component/attribute/type.rb,
lib/softlayer/hardware/component/model/attribute.rb,
lib/softlayer/hardware/component/security_device.rb,
lib/softlayer/hardware/component/drive_controller.rb,
lib/softlayer/hardware/component/remote_management.rb,
lib/softlayer/hardware/component/model/architecture.rb,
lib/softlayer/hardware/component/motherboard/reboot.rb,
lib/softlayer/hardware/component/partition/template.rb,
lib/softlayer/hardware/component/model/attribute/type.rb,
lib/softlayer/hardware/component/remote_management/user.rb,
lib/softlayer/hardware/component/model/architecture/type.rb,
lib/softlayer/hardware/component/model/generic/attribute.rb,
lib/softlayer/hardware/component/motherboard/reboot/time.rb,
lib/softlayer/hardware/component/security_device/infineon.rb,
lib/softlayer/hardware/component/remote_management/command.rb,
lib/softlayer/hardware/component/partition/operating_system.rb,
lib/softlayer/hardware/component/partition/template/partition.rb,
lib/softlayer/hardware/component/model/generic/marketing_feature.rb,
lib/softlayer/hardware/component/remote_management/command/request.rb
Direct Known Subclasses
DriveController, HardDrive, Motherboard, NetworkCard, Processor, Ram, RemoteManagement, SecurityDevice
Defined Under Namespace
Classes: Attribute, DriveController, HardDrive, Model, Motherboard, NetworkCard, Partition, Processor, Ram, RemoteManagement, Representer, SecurityDevice, Type
Instance Attribute Summary collapse
-
#capacity ⇒ Object
Returns the value of attribute capacity.
-
#children ⇒ Object
Returns the value of attribute children.
-
#children_count ⇒ Object
Returns the value of attribute children_count.
-
#downlink_hardware_component_count ⇒ Object
Returns the value of attribute downlink_hardware_component_count.
-
#downlink_hardware_components ⇒ Object
Returns the value of attribute downlink_hardware_components.
-
#hardware ⇒ Object
Returns the value of attribute hardware.
-
#hardware_component_model ⇒ Object
Returns the value of attribute hardware_component_model.
-
#hardware_component_model_id ⇒ Object
Returns the value of attribute hardware_component_model_id.
-
#hardware_component_type ⇒ Object
Returns the value of attribute hardware_component_type.
-
#hardware_id ⇒ Object
Returns the value of attribute hardware_id.
-
#id ⇒ Object
Returns the value of attribute id.
-
#modify_date ⇒ Object
Returns the value of attribute modify_date.
-
#name ⇒ Object
Returns the value of attribute name.
-
#network_component_count ⇒ Object
Returns the value of attribute network_component_count.
-
#network_components ⇒ Object
Returns the value of attribute network_components.
-
#owner ⇒ Object
Returns the value of attribute owner.
-
#parent ⇒ Object
Returns the value of attribute parent.
-
#raid_mode ⇒ Object
Returns the value of attribute raid_mode.
-
#serial_number ⇒ Object
Returns the value of attribute serial_number.
-
#service_provider ⇒ Object
Returns the value of attribute service_provider.
-
#service_provider_id ⇒ Object
Returns the value of attribute service_provider_id.
-
#uplink_hardware_component_count ⇒ Object
Returns the value of attribute uplink_hardware_component_count.
-
#uplink_hardware_components ⇒ Object
Returns the value of attribute uplink_hardware_components.
Method Summary
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
#capacity ⇒ Object
Returns the value of attribute capacity.
27 28 29 |
# File 'lib/softlayer/hardware/component.rb', line 27 def capacity @capacity end |
#children ⇒ Object
Returns the value of attribute children.
28 29 30 |
# File 'lib/softlayer/hardware/component.rb', line 28 def children @children end |
#children_count ⇒ Object
Returns the value of attribute children_count.
23 24 25 |
# File 'lib/softlayer/hardware/component.rb', line 23 def children_count @children_count end |
#downlink_hardware_component_count ⇒ Object
Returns the value of attribute downlink_hardware_component_count.
24 25 26 |
# File 'lib/softlayer/hardware/component.rb', line 24 def downlink_hardware_component_count @downlink_hardware_component_count end |
#downlink_hardware_components ⇒ Object
Returns the value of attribute downlink_hardware_components.
29 30 31 |
# File 'lib/softlayer/hardware/component.rb', line 29 def downlink_hardware_components @downlink_hardware_components end |
#hardware ⇒ Object
Returns the value of attribute hardware.
30 31 32 |
# File 'lib/softlayer/hardware/component.rb', line 30 def hardware @hardware end |
#hardware_component_model ⇒ Object
Returns the value of attribute hardware_component_model.
31 32 33 |
# File 'lib/softlayer/hardware/component.rb', line 31 def hardware_component_model @hardware_component_model end |
#hardware_component_model_id ⇒ Object
Returns the value of attribute hardware_component_model_id.
16 17 18 |
# File 'lib/softlayer/hardware/component.rb', line 16 def hardware_component_model_id @hardware_component_model_id end |
#hardware_component_type ⇒ Object
Returns the value of attribute hardware_component_type.
32 33 34 |
# File 'lib/softlayer/hardware/component.rb', line 32 def hardware_component_type @hardware_component_type end |
#hardware_id ⇒ Object
Returns the value of attribute hardware_id.
17 18 19 |
# File 'lib/softlayer/hardware/component.rb', line 17 def hardware_id @hardware_id end |
#id ⇒ Object
Returns the value of attribute id.
18 19 20 |
# File 'lib/softlayer/hardware/component.rb', line 18 def id @id end |
#modify_date ⇒ Object
Returns the value of attribute modify_date.
19 20 21 |
# File 'lib/softlayer/hardware/component.rb', line 19 def modify_date @modify_date end |
#name ⇒ Object
Returns the value of attribute name.
20 21 22 |
# File 'lib/softlayer/hardware/component.rb', line 20 def name @name end |
#network_component_count ⇒ Object
Returns the value of attribute network_component_count.
25 26 27 |
# File 'lib/softlayer/hardware/component.rb', line 25 def network_component_count @network_component_count end |
#network_components ⇒ Object
Returns the value of attribute network_components.
33 34 35 |
# File 'lib/softlayer/hardware/component.rb', line 33 def network_components @network_components end |
#owner ⇒ Object
Returns the value of attribute owner.
34 35 36 |
# File 'lib/softlayer/hardware/component.rb', line 34 def owner @owner end |
#parent ⇒ Object
Returns the value of attribute parent.
35 36 37 |
# File 'lib/softlayer/hardware/component.rb', line 35 def parent @parent end |
#raid_mode ⇒ Object
Returns the value of attribute raid_mode.
36 37 38 |
# File 'lib/softlayer/hardware/component.rb', line 36 def raid_mode @raid_mode end |
#serial_number ⇒ Object
Returns the value of attribute serial_number.
21 22 23 |
# File 'lib/softlayer/hardware/component.rb', line 21 def serial_number @serial_number end |
#service_provider ⇒ Object
Returns the value of attribute service_provider.
37 38 39 |
# File 'lib/softlayer/hardware/component.rb', line 37 def service_provider @service_provider end |
#service_provider_id ⇒ Object
Returns the value of attribute service_provider_id.
22 23 24 |
# File 'lib/softlayer/hardware/component.rb', line 22 def service_provider_id @service_provider_id end |
#uplink_hardware_component_count ⇒ Object
Returns the value of attribute uplink_hardware_component_count.
26 27 28 |
# File 'lib/softlayer/hardware/component.rb', line 26 def uplink_hardware_component_count @uplink_hardware_component_count end |
#uplink_hardware_components ⇒ Object
Returns the value of attribute uplink_hardware_components.
38 39 40 |
# File 'lib/softlayer/hardware/component.rb', line 38 def uplink_hardware_components @uplink_hardware_components end |