Class: Softlayer::Product::Package::Preset
- Defined in:
- lib/softlayer/product/package/preset.rb,
lib/softlayer/product/package/preset/attribute.rb,
lib/softlayer/product/package/preset/configuration.rb,
lib/softlayer/product/package/preset/attribute/type.rb
Defined Under Namespace
Classes: Attribute, Configuration, Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Product_Package_Preset'
Instance Attribute Summary collapse
-
#available_storage_units ⇒ Object
Returns the value of attribute available_storage_units.
-
#categories ⇒ Object
Returns the value of attribute categories.
-
#category_count ⇒ Object
Returns the value of attribute category_count.
-
#configuration ⇒ Object
Returns the value of attribute configuration.
-
#configuration_count ⇒ Object
Returns the value of attribute configuration_count.
-
#description ⇒ Object
Returns the value of attribute description.
-
#fixed_configuration_flag ⇒ Object
Returns the value of attribute fixed_configuration_flag.
-
#id ⇒ Object
Returns the value of attribute id.
-
#is_active ⇒ Object
Returns the value of attribute is_active.
-
#key_name ⇒ Object
Returns the value of attribute key_name.
-
#lowest_preset_server_price ⇒ Object
Returns the value of attribute lowest_preset_server_price.
-
#name ⇒ Object
Returns the value of attribute name.
-
#package ⇒ Object
Returns the value of attribute package.
-
#package_configuration ⇒ Object
Returns the value of attribute package_configuration.
-
#package_configuration_count ⇒ Object
Returns the value of attribute package_configuration_count.
-
#package_id ⇒ Object
Returns the value of attribute package_id.
-
#price_count ⇒ Object
Returns the value of attribute price_count.
-
#prices ⇒ Object
Returns the value of attribute prices.
-
#storage_group_template_array_count ⇒ Object
Returns the value of attribute storage_group_template_array_count.
-
#storage_group_template_arrays ⇒ Object
Returns the value of attribute storage_group_template_arrays.
-
#total_minimum_hourly_fee ⇒ Object
Returns the value of attribute total_minimum_hourly_fee.
-
#total_minimum_recurring_fee ⇒ Object
Returns the value of attribute total_minimum_recurring_fee.
Instance Method Summary collapse
- #get_available_storage_units ⇒ Object
- #get_categories ⇒ Object
- #get_configuration ⇒ Object
- #get_fixed_configuration_flag ⇒ Object
- #get_lowest_preset_server_price ⇒ Object
- #get_object ⇒ Object
- #get_package ⇒ Object
- #get_package_configuration ⇒ Object
- #get_prices ⇒ Object
- #get_storage_group_template_arrays ⇒ Object
- #get_total_minimum_hourly_fee ⇒ Object
- #get_total_minimum_recurring_fee ⇒ 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
#available_storage_units ⇒ Object
Returns the value of attribute available_storage_units.
19 20 21 |
# File 'lib/softlayer/product/package/preset.rb', line 19 def available_storage_units @available_storage_units end |
#categories ⇒ Object
Returns the value of attribute categories.
20 21 22 |
# File 'lib/softlayer/product/package/preset.rb', line 20 def categories @categories end |
#category_count ⇒ Object
Returns the value of attribute category_count.
14 15 16 |
# File 'lib/softlayer/product/package/preset.rb', line 14 def category_count @category_count end |
#configuration ⇒ Object
Returns the value of attribute configuration.
21 22 23 |
# File 'lib/softlayer/product/package/preset.rb', line 21 def configuration @configuration end |
#configuration_count ⇒ Object
Returns the value of attribute configuration_count.
15 16 17 |
# File 'lib/softlayer/product/package/preset.rb', line 15 def configuration_count @configuration_count end |
#description ⇒ Object
Returns the value of attribute description.
8 9 10 |
# File 'lib/softlayer/product/package/preset.rb', line 8 def description @description end |
#fixed_configuration_flag ⇒ Object
Returns the value of attribute fixed_configuration_flag.
22 23 24 |
# File 'lib/softlayer/product/package/preset.rb', line 22 def fixed_configuration_flag @fixed_configuration_flag end |
#id ⇒ Object
Returns the value of attribute id.
9 10 11 |
# File 'lib/softlayer/product/package/preset.rb', line 9 def id @id end |
#is_active ⇒ Object
Returns the value of attribute is_active.
10 11 12 |
# File 'lib/softlayer/product/package/preset.rb', line 10 def is_active @is_active end |
#key_name ⇒ Object
Returns the value of attribute key_name.
11 12 13 |
# File 'lib/softlayer/product/package/preset.rb', line 11 def key_name @key_name end |
#lowest_preset_server_price ⇒ Object
Returns the value of attribute lowest_preset_server_price.
23 24 25 |
# File 'lib/softlayer/product/package/preset.rb', line 23 def lowest_preset_server_price @lowest_preset_server_price end |
#name ⇒ Object
Returns the value of attribute name.
12 13 14 |
# File 'lib/softlayer/product/package/preset.rb', line 12 def name @name end |
#package ⇒ Object
Returns the value of attribute package.
24 25 26 |
# File 'lib/softlayer/product/package/preset.rb', line 24 def package @package end |
#package_configuration ⇒ Object
Returns the value of attribute package_configuration.
25 26 27 |
# File 'lib/softlayer/product/package/preset.rb', line 25 def package_configuration @package_configuration end |
#package_configuration_count ⇒ Object
Returns the value of attribute package_configuration_count.
16 17 18 |
# File 'lib/softlayer/product/package/preset.rb', line 16 def package_configuration_count @package_configuration_count end |
#package_id ⇒ Object
Returns the value of attribute package_id.
13 14 15 |
# File 'lib/softlayer/product/package/preset.rb', line 13 def package_id @package_id end |
#price_count ⇒ Object
Returns the value of attribute price_count.
17 18 19 |
# File 'lib/softlayer/product/package/preset.rb', line 17 def price_count @price_count end |
#prices ⇒ Object
Returns the value of attribute prices.
26 27 28 |
# File 'lib/softlayer/product/package/preset.rb', line 26 def prices @prices end |
#storage_group_template_array_count ⇒ Object
Returns the value of attribute storage_group_template_array_count.
18 19 20 |
# File 'lib/softlayer/product/package/preset.rb', line 18 def storage_group_template_array_count @storage_group_template_array_count end |
#storage_group_template_arrays ⇒ Object
Returns the value of attribute storage_group_template_arrays.
27 28 29 |
# File 'lib/softlayer/product/package/preset.rb', line 27 def storage_group_template_arrays @storage_group_template_arrays end |
#total_minimum_hourly_fee ⇒ Object
Returns the value of attribute total_minimum_hourly_fee.
28 29 30 |
# File 'lib/softlayer/product/package/preset.rb', line 28 def total_minimum_hourly_fee @total_minimum_hourly_fee end |
#total_minimum_recurring_fee ⇒ Object
Returns the value of attribute total_minimum_recurring_fee.
29 30 31 |
# File 'lib/softlayer/product/package/preset.rb', line 29 def total_minimum_recurring_fee @total_minimum_recurring_fee end |
Instance Method Details
#get_available_storage_units ⇒ Object
31 32 33 |
# File 'lib/softlayer/product/package/preset.rb', line 31 def get_available_storage_units request(:get_available_storage_units, Integer) end |
#get_categories ⇒ Object
35 36 37 |
# File 'lib/softlayer/product/package/preset.rb', line 35 def get_categories request(:get_categories, Array[Softlayer::Product::Item::Category]) end |
#get_configuration ⇒ Object
39 40 41 |
# File 'lib/softlayer/product/package/preset.rb', line 39 def get_configuration request(:get_configuration, Array[Softlayer::Product::Package::Preset::Configuration]) end |
#get_fixed_configuration_flag ⇒ Object
43 44 45 |
# File 'lib/softlayer/product/package/preset.rb', line 43 def get_fixed_configuration_flag request(:get_fixed_configuration_flag, Boolean) end |
#get_lowest_preset_server_price ⇒ Object
47 48 49 |
# File 'lib/softlayer/product/package/preset.rb', line 47 def get_lowest_preset_server_price request(:get_lowest_preset_server_price, Softlayer::Product::Item::Price) end |
#get_object ⇒ Object
51 52 53 |
# File 'lib/softlayer/product/package/preset.rb', line 51 def get_object request(:get_object, Softlayer::Product::Package::Preset) end |
#get_package ⇒ Object
55 56 57 |
# File 'lib/softlayer/product/package/preset.rb', line 55 def get_package request(:get_package, Softlayer::Product::Package) end |
#get_package_configuration ⇒ Object
59 60 61 |
# File 'lib/softlayer/product/package/preset.rb', line 59 def get_package_configuration request(:get_package_configuration, Array[Softlayer::Product::Package::Order::Configuration]) end |
#get_prices ⇒ Object
63 64 65 |
# File 'lib/softlayer/product/package/preset.rb', line 63 def get_prices request(:get_prices, Array[Softlayer::Product::Item::Price]) end |
#get_storage_group_template_arrays ⇒ Object
67 68 69 |
# File 'lib/softlayer/product/package/preset.rb', line 67 def get_storage_group_template_arrays request(:get_storage_group_template_arrays, Array[Softlayer::Configuration::Storage::Group::Template::Group]) end |
#get_total_minimum_hourly_fee ⇒ Object
71 72 73 |
# File 'lib/softlayer/product/package/preset.rb', line 71 def get_total_minimum_hourly_fee request(:get_total_minimum_hourly_fee, Float) end |
#get_total_minimum_recurring_fee ⇒ Object
75 76 77 |
# File 'lib/softlayer/product/package/preset.rb', line 75 def get_total_minimum_recurring_fee request(:get_total_minimum_recurring_fee, Float) end |