Class: Softlayer::Hardware::Component::Partition::OperatingSystem
- Defined in:
- lib/softlayer/hardware/component/partition/operating_system.rb
Defined Under Namespace
Classes: Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Hardware_Component_Partition_OperatingSystem'
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#id ⇒ Object
Returns the value of attribute id.
-
#notes ⇒ Object
Returns the value of attribute notes.
-
#partition_template_count ⇒ Object
Returns the value of attribute partition_template_count.
-
#partition_templates ⇒ Object
Returns the value of attribute partition_templates.
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
#description ⇒ Object
Returns the value of attribute description.
7 8 9 |
# File 'lib/softlayer/hardware/component/partition/operating_system.rb', line 7 def description @description end |
#id ⇒ Object
Returns the value of attribute id.
8 9 10 |
# File 'lib/softlayer/hardware/component/partition/operating_system.rb', line 8 def id @id end |
#notes ⇒ Object
Returns the value of attribute notes.
9 10 11 |
# File 'lib/softlayer/hardware/component/partition/operating_system.rb', line 9 def notes @notes end |
#partition_template_count ⇒ Object
Returns the value of attribute partition_template_count.
10 11 12 |
# File 'lib/softlayer/hardware/component/partition/operating_system.rb', line 10 def partition_template_count @partition_template_count end |
#partition_templates ⇒ Object
Returns the value of attribute partition_templates.
11 12 13 |
# File 'lib/softlayer/hardware/component/partition/operating_system.rb', line 11 def partition_templates @partition_templates end |
Class Method Details
.get_all_objects ⇒ Object
13 14 15 |
# File 'lib/softlayer/hardware/component/partition/operating_system.rb', line 13 def self.get_all_objects request(:get_all_objects, Array[Softlayer::Hardware::Component::Partition::OperatingSystem]) end |
.get_by_description(message) ⇒ Object
description
18 19 20 |
# File 'lib/softlayer/hardware/component/partition/operating_system.rb', line 18 def self.get_by_description() request(:get_by_description, Softlayer::Hardware::Component::Partition::OperatingSystem, ) end |
Instance Method Details
#get_object ⇒ Object
22 23 24 |
# File 'lib/softlayer/hardware/component/partition/operating_system.rb', line 22 def get_object request(:get_object, Softlayer::Hardware::Component::Partition::OperatingSystem) end |