Class: Softlayer::Hardware::Component::Partition::Template
- Defined in:
- lib/softlayer/hardware/component/partition/template.rb,
lib/softlayer/hardware/component/partition/template/partition.rb
Defined Under Namespace
Classes: Partition, Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Hardware_Component_Partition_Template'
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
-
#account_id ⇒ Object
Returns the value of attribute account_id.
-
#data ⇒ Object
Returns the value of attribute data.
-
#data_count ⇒ Object
Returns the value of attribute data_count.
-
#description ⇒ Object
Returns the value of attribute description.
-
#expire_date ⇒ Object
Returns the value of attribute expire_date.
-
#id ⇒ Object
Returns the value of attribute id.
-
#partition_operating_system ⇒ Object
Returns the value of attribute partition_operating_system.
-
#partition_operating_system_id ⇒ Object
Returns the value of attribute partition_operating_system_id.
-
#partition_template_partition ⇒ Object
Returns the value of attribute partition_template_partition.
-
#partition_template_partition_count ⇒ Object
Returns the value of attribute partition_template_partition_count.
-
#status_code ⇒ Object
Returns the value of attribute status_code.
-
#template_type ⇒ Object
Returns the value of attribute template_type.
Instance Method Summary collapse
- #get_account ⇒ Object
- #get_data ⇒ Object
- #get_expire_date ⇒ Object
- #get_object ⇒ Object
- #get_partition_operating_system ⇒ Object
- #get_partition_template_partition ⇒ 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
#account ⇒ Object
Returns the value of attribute account.
16 17 18 |
# File 'lib/softlayer/hardware/component/partition/template.rb', line 16 def account @account end |
#account_id ⇒ Object
Returns the value of attribute account_id.
8 9 10 |
# File 'lib/softlayer/hardware/component/partition/template.rb', line 8 def account_id @account_id end |
#data ⇒ Object
Returns the value of attribute data.
17 18 19 |
# File 'lib/softlayer/hardware/component/partition/template.rb', line 17 def data @data end |
#data_count ⇒ Object
Returns the value of attribute data_count.
14 15 16 |
# File 'lib/softlayer/hardware/component/partition/template.rb', line 14 def data_count @data_count end |
#description ⇒ Object
Returns the value of attribute description.
9 10 11 |
# File 'lib/softlayer/hardware/component/partition/template.rb', line 9 def description @description end |
#expire_date ⇒ Object
Returns the value of attribute expire_date.
18 19 20 |
# File 'lib/softlayer/hardware/component/partition/template.rb', line 18 def expire_date @expire_date end |
#id ⇒ Object
Returns the value of attribute id.
10 11 12 |
# File 'lib/softlayer/hardware/component/partition/template.rb', line 10 def id @id end |
#partition_operating_system ⇒ Object
Returns the value of attribute partition_operating_system.
19 20 21 |
# File 'lib/softlayer/hardware/component/partition/template.rb', line 19 def @partition_operating_system end |
#partition_operating_system_id ⇒ Object
Returns the value of attribute partition_operating_system_id.
11 12 13 |
# File 'lib/softlayer/hardware/component/partition/template.rb', line 11 def @partition_operating_system_id end |
#partition_template_partition ⇒ Object
Returns the value of attribute partition_template_partition.
20 21 22 |
# File 'lib/softlayer/hardware/component/partition/template.rb', line 20 def partition_template_partition @partition_template_partition end |
#partition_template_partition_count ⇒ Object
Returns the value of attribute partition_template_partition_count.
15 16 17 |
# File 'lib/softlayer/hardware/component/partition/template.rb', line 15 def partition_template_partition_count @partition_template_partition_count end |
#status_code ⇒ Object
Returns the value of attribute status_code.
12 13 14 |
# File 'lib/softlayer/hardware/component/partition/template.rb', line 12 def status_code @status_code end |
#template_type ⇒ Object
Returns the value of attribute template_type.
13 14 15 |
# File 'lib/softlayer/hardware/component/partition/template.rb', line 13 def template_type @template_type end |
Instance Method Details
#get_account ⇒ Object
22 23 24 |
# File 'lib/softlayer/hardware/component/partition/template.rb', line 22 def get_account request(:get_account, Softlayer::Account) end |
#get_data ⇒ Object
26 27 28 |
# File 'lib/softlayer/hardware/component/partition/template.rb', line 26 def get_data request(:get_data, Array[Softlayer::Hardware::Component::Partition::Template::Partition]) end |
#get_expire_date ⇒ Object
30 31 32 |
# File 'lib/softlayer/hardware/component/partition/template.rb', line 30 def get_expire_date request(:get_expire_date, String) end |
#get_object ⇒ Object
34 35 36 |
# File 'lib/softlayer/hardware/component/partition/template.rb', line 34 def get_object request(:get_object, Softlayer::Hardware::Component::Partition::Template) end |
#get_partition_operating_system ⇒ Object
38 39 40 |
# File 'lib/softlayer/hardware/component/partition/template.rb', line 38 def request(:get_partition_operating_system, Softlayer::Hardware::Component::Partition::OperatingSystem) end |