Class: Softlayer::Product::Package::Server
- Defined in:
- lib/softlayer/product/package/server.rb,
lib/softlayer/product/package/server/option.rb
Defined Under Namespace
Classes: Option, Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Product_Package_Server'
Instance Attribute Summary collapse
-
#catalog ⇒ Object
Returns the value of attribute catalog.
-
#catalog_id ⇒ Object
Returns the value of attribute catalog_id.
-
#datacenters ⇒ Object
Returns the value of attribute datacenters.
-
#default_ram_capacity ⇒ Object
Returns the value of attribute default_ram_capacity.
-
#dual_path_network_flag ⇒ Object
Returns the value of attribute dual_path_network_flag.
-
#gpu_flag ⇒ Object
Returns the value of attribute gpu_flag.
-
#hourly_billing_flag ⇒ Object
Returns the value of attribute hourly_billing_flag.
-
#id ⇒ Object
Returns the value of attribute id.
-
#item ⇒ Object
Returns the value of attribute item.
-
#item_id ⇒ Object
Returns the value of attribute item_id.
-
#item_price ⇒ Object
Returns the value of attribute item_price.
-
#item_price_id ⇒ Object
Returns the value of attribute item_price_id.
-
#maximum_drive_count ⇒ Object
Returns the value of attribute maximum_drive_count.
-
#maximum_port_speed ⇒ Object
Returns the value of attribute maximum_port_speed.
-
#maximum_ram_capacity ⇒ Object
Returns the value of attribute maximum_ram_capacity.
-
#minimum_port_speed ⇒ Object
Returns the value of attribute minimum_port_speed.
-
#outlet_flag ⇒ Object
Returns the value of attribute outlet_flag.
-
#package ⇒ Object
Returns the value of attribute package.
-
#package_id ⇒ Object
Returns the value of attribute package_id.
-
#package_type ⇒ Object
Returns the value of attribute package_type.
-
#power_server_flag ⇒ Object
Returns the value of attribute power_server_flag.
-
#preset ⇒ Object
Returns the value of attribute preset.
-
#preset_id ⇒ Object
Returns the value of attribute preset_id.
-
#private_network_only_flag ⇒ Object
Returns the value of attribute private_network_only_flag.
-
#processor_bus_speed ⇒ Object
Returns the value of attribute processor_bus_speed.
-
#processor_cache ⇒ Object
Returns the value of attribute processor_cache.
-
#processor_cores ⇒ Object
Returns the value of attribute processor_cores.
-
#processor_count ⇒ Object
Returns the value of attribute processor_count.
-
#processor_manufacturer ⇒ Object
Returns the value of attribute processor_manufacturer.
-
#processor_model ⇒ Object
Returns the value of attribute processor_model.
-
#processor_name ⇒ Object
Returns the value of attribute processor_name.
-
#processor_speed ⇒ Object
Returns the value of attribute processor_speed.
-
#product_name ⇒ Object
Returns the value of attribute product_name.
-
#redundant_power_flag ⇒ Object
Returns the value of attribute redundant_power_flag.
-
#starting_hourly_price ⇒ Object
Returns the value of attribute starting_hourly_price.
-
#starting_monthly_price ⇒ Object
Returns the value of attribute starting_monthly_price.
-
#total_core_count ⇒ Object
Returns the value of attribute total_core_count.
-
#txt_tpm_flag ⇒ Object
Returns the value of attribute txt_tpm_flag.
-
#unit_size ⇒ Object
Returns the value of attribute unit_size.
Class Method Summary collapse
Instance Method Summary collapse
- #get_catalog ⇒ Object
- #get_item ⇒ Object
- #get_item_price ⇒ Object
- #get_object ⇒ Object
- #get_package ⇒ Object
- #get_preset ⇒ 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
#catalog ⇒ Object
Returns the value of attribute catalog.
41 42 43 |
# File 'lib/softlayer/product/package/server.rb', line 41 def catalog @catalog end |
#catalog_id ⇒ Object
Returns the value of attribute catalog_id.
7 8 9 |
# File 'lib/softlayer/product/package/server.rb', line 7 def catalog_id @catalog_id end |
#datacenters ⇒ Object
Returns the value of attribute datacenters.
8 9 10 |
# File 'lib/softlayer/product/package/server.rb', line 8 def datacenters @datacenters end |
#default_ram_capacity ⇒ Object
Returns the value of attribute default_ram_capacity.
9 10 11 |
# File 'lib/softlayer/product/package/server.rb', line 9 def default_ram_capacity @default_ram_capacity end |
#dual_path_network_flag ⇒ Object
Returns the value of attribute dual_path_network_flag.
10 11 12 |
# File 'lib/softlayer/product/package/server.rb', line 10 def dual_path_network_flag @dual_path_network_flag end |
#gpu_flag ⇒ Object
Returns the value of attribute gpu_flag.
11 12 13 |
# File 'lib/softlayer/product/package/server.rb', line 11 def gpu_flag @gpu_flag end |
#hourly_billing_flag ⇒ Object
Returns the value of attribute hourly_billing_flag.
12 13 14 |
# File 'lib/softlayer/product/package/server.rb', line 12 def hourly_billing_flag @hourly_billing_flag end |
#id ⇒ Object
Returns the value of attribute id.
13 14 15 |
# File 'lib/softlayer/product/package/server.rb', line 13 def id @id end |
#item ⇒ Object
Returns the value of attribute item.
42 43 44 |
# File 'lib/softlayer/product/package/server.rb', line 42 def item @item end |
#item_id ⇒ Object
Returns the value of attribute item_id.
14 15 16 |
# File 'lib/softlayer/product/package/server.rb', line 14 def item_id @item_id end |
#item_price ⇒ Object
Returns the value of attribute item_price.
43 44 45 |
# File 'lib/softlayer/product/package/server.rb', line 43 def item_price @item_price end |
#item_price_id ⇒ Object
Returns the value of attribute item_price_id.
15 16 17 |
# File 'lib/softlayer/product/package/server.rb', line 15 def item_price_id @item_price_id end |
#maximum_drive_count ⇒ Object
Returns the value of attribute maximum_drive_count.
16 17 18 |
# File 'lib/softlayer/product/package/server.rb', line 16 def maximum_drive_count @maximum_drive_count end |
#maximum_port_speed ⇒ Object
Returns the value of attribute maximum_port_speed.
17 18 19 |
# File 'lib/softlayer/product/package/server.rb', line 17 def maximum_port_speed @maximum_port_speed end |
#maximum_ram_capacity ⇒ Object
Returns the value of attribute maximum_ram_capacity.
18 19 20 |
# File 'lib/softlayer/product/package/server.rb', line 18 def maximum_ram_capacity @maximum_ram_capacity end |
#minimum_port_speed ⇒ Object
Returns the value of attribute minimum_port_speed.
19 20 21 |
# File 'lib/softlayer/product/package/server.rb', line 19 def minimum_port_speed @minimum_port_speed end |
#outlet_flag ⇒ Object
Returns the value of attribute outlet_flag.
20 21 22 |
# File 'lib/softlayer/product/package/server.rb', line 20 def outlet_flag @outlet_flag end |
#package ⇒ Object
Returns the value of attribute package.
44 45 46 |
# File 'lib/softlayer/product/package/server.rb', line 44 def package @package end |
#package_id ⇒ Object
Returns the value of attribute package_id.
21 22 23 |
# File 'lib/softlayer/product/package/server.rb', line 21 def package_id @package_id end |
#package_type ⇒ Object
Returns the value of attribute package_type.
22 23 24 |
# File 'lib/softlayer/product/package/server.rb', line 22 def package_type @package_type end |
#power_server_flag ⇒ Object
Returns the value of attribute power_server_flag.
23 24 25 |
# File 'lib/softlayer/product/package/server.rb', line 23 def power_server_flag @power_server_flag end |
#preset ⇒ Object
Returns the value of attribute preset.
45 46 47 |
# File 'lib/softlayer/product/package/server.rb', line 45 def preset @preset end |
#preset_id ⇒ Object
Returns the value of attribute preset_id.
24 25 26 |
# File 'lib/softlayer/product/package/server.rb', line 24 def preset_id @preset_id end |
#private_network_only_flag ⇒ Object
Returns the value of attribute private_network_only_flag.
25 26 27 |
# File 'lib/softlayer/product/package/server.rb', line 25 def private_network_only_flag @private_network_only_flag end |
#processor_bus_speed ⇒ Object
Returns the value of attribute processor_bus_speed.
26 27 28 |
# File 'lib/softlayer/product/package/server.rb', line 26 def processor_bus_speed @processor_bus_speed end |
#processor_cache ⇒ Object
Returns the value of attribute processor_cache.
27 28 29 |
# File 'lib/softlayer/product/package/server.rb', line 27 def processor_cache @processor_cache end |
#processor_cores ⇒ Object
Returns the value of attribute processor_cores.
28 29 30 |
# File 'lib/softlayer/product/package/server.rb', line 28 def processor_cores @processor_cores end |
#processor_count ⇒ Object
Returns the value of attribute processor_count.
29 30 31 |
# File 'lib/softlayer/product/package/server.rb', line 29 def processor_count @processor_count end |
#processor_manufacturer ⇒ Object
Returns the value of attribute processor_manufacturer.
30 31 32 |
# File 'lib/softlayer/product/package/server.rb', line 30 def processor_manufacturer @processor_manufacturer end |
#processor_model ⇒ Object
Returns the value of attribute processor_model.
31 32 33 |
# File 'lib/softlayer/product/package/server.rb', line 31 def processor_model @processor_model end |
#processor_name ⇒ Object
Returns the value of attribute processor_name.
32 33 34 |
# File 'lib/softlayer/product/package/server.rb', line 32 def processor_name @processor_name end |
#processor_speed ⇒ Object
Returns the value of attribute processor_speed.
33 34 35 |
# File 'lib/softlayer/product/package/server.rb', line 33 def processor_speed @processor_speed end |
#product_name ⇒ Object
Returns the value of attribute product_name.
34 35 36 |
# File 'lib/softlayer/product/package/server.rb', line 34 def product_name @product_name end |
#redundant_power_flag ⇒ Object
Returns the value of attribute redundant_power_flag.
35 36 37 |
# File 'lib/softlayer/product/package/server.rb', line 35 def redundant_power_flag @redundant_power_flag end |
#starting_hourly_price ⇒ Object
Returns the value of attribute starting_hourly_price.
36 37 38 |
# File 'lib/softlayer/product/package/server.rb', line 36 def starting_hourly_price @starting_hourly_price end |
#starting_monthly_price ⇒ Object
Returns the value of attribute starting_monthly_price.
37 38 39 |
# File 'lib/softlayer/product/package/server.rb', line 37 def starting_monthly_price @starting_monthly_price end |
#total_core_count ⇒ Object
Returns the value of attribute total_core_count.
38 39 40 |
# File 'lib/softlayer/product/package/server.rb', line 38 def total_core_count @total_core_count end |
#txt_tpm_flag ⇒ Object
Returns the value of attribute txt_tpm_flag.
39 40 41 |
# File 'lib/softlayer/product/package/server.rb', line 39 def txt_tpm_flag @txt_tpm_flag end |
#unit_size ⇒ Object
Returns the value of attribute unit_size.
40 41 42 |
# File 'lib/softlayer/product/package/server.rb', line 40 def unit_size @unit_size end |
Class Method Details
Instance Method Details
#get_catalog ⇒ Object
51 52 53 |
# File 'lib/softlayer/product/package/server.rb', line 51 def get_catalog request(:get_catalog, Softlayer::Product::Catalog) end |
#get_item ⇒ Object
55 56 57 |
# File 'lib/softlayer/product/package/server.rb', line 55 def get_item request(:get_item, Softlayer::Product::Item) end |
#get_item_price ⇒ Object
59 60 61 |
# File 'lib/softlayer/product/package/server.rb', line 59 def get_item_price request(:get_item_price, Softlayer::Product::Item::Price) end |
#get_object ⇒ Object
63 64 65 |
# File 'lib/softlayer/product/package/server.rb', line 63 def get_object request(:get_object, Softlayer::Product::Package::Server) end |