Class: Softlayer::Product::Item::Price
- Defined in:
- lib/softlayer/product/item/price.rb,
lib/softlayer/product/item/price/account.rb,
lib/softlayer/product/item/price/premium.rb,
lib/softlayer/product/item/price/attribute.rb,
lib/softlayer/product/item/price/attribute/type.rb,
lib/softlayer/product/item/price/account/restriction.rb
Defined Under Namespace
Modules: Account Classes: Attribute, Premium, Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Product_Item_Price'
Instance Attribute Summary collapse
-
#account_restriction_count ⇒ Object
Returns the value of attribute account_restriction_count.
-
#account_restrictions ⇒ Object
Returns the value of attribute account_restrictions.
-
#attribute_count ⇒ Object
Returns the value of attribute attribute_count.
-
#attributes ⇒ Object
Returns the value of attribute attributes.
-
#big_data_os_journal_disk_flag ⇒ Object
Returns the value of attribute big_data_os_journal_disk_flag.
-
#bundle_reference_count ⇒ Object
Returns the value of attribute bundle_reference_count.
-
#bundle_references ⇒ Object
Returns the value of attribute bundle_references.
-
#capacity_restriction_maximum ⇒ Object
Returns the value of attribute capacity_restriction_maximum.
-
#capacity_restriction_minimum ⇒ Object
Returns the value of attribute capacity_restriction_minimum.
-
#capacity_restriction_type ⇒ Object
Returns the value of attribute capacity_restriction_type.
-
#categories ⇒ Object
Returns the value of attribute categories.
-
#category_count ⇒ Object
Returns the value of attribute category_count.
-
#current_price_flag ⇒ Object
Returns the value of attribute current_price_flag.
-
#defined_software_license_flag ⇒ Object
Returns the value of attribute defined_software_license_flag.
-
#hourly_recurring_fee ⇒ Object
Returns the value of attribute hourly_recurring_fee.
-
#id ⇒ Object
Returns the value of attribute id.
-
#inventory ⇒ Object
Returns the value of attribute inventory.
-
#inventory_count ⇒ Object
Returns the value of attribute inventory_count.
-
#item ⇒ Object
Returns the value of attribute item.
-
#item_id ⇒ Object
Returns the value of attribute item_id.
-
#labor_fee ⇒ Object
Returns the value of attribute labor_fee.
-
#location_group_id ⇒ Object
Returns the value of attribute location_group_id.
-
#on_sale_flag ⇒ Object
Returns the value of attribute on_sale_flag.
-
#one_time_fee ⇒ Object
Returns the value of attribute one_time_fee.
-
#one_time_fee_tax ⇒ Object
Returns the value of attribute one_time_fee_tax.
-
#order_options ⇒ Object
Returns the value of attribute order_options.
-
#order_premium_count ⇒ Object
Returns the value of attribute order_premium_count.
-
#order_premiums ⇒ Object
Returns the value of attribute order_premiums.
-
#package_count ⇒ Object
Returns the value of attribute package_count.
-
#package_reference_count ⇒ Object
Returns the value of attribute package_reference_count.
-
#package_references ⇒ Object
Returns the value of attribute package_references.
-
#packages ⇒ Object
Returns the value of attribute packages.
-
#preset_configuration_count ⇒ Object
Returns the value of attribute preset_configuration_count.
-
#preset_configurations ⇒ Object
Returns the value of attribute preset_configurations.
-
#pricing_location_group ⇒ Object
Returns the value of attribute pricing_location_group.
-
#prorated_recurring_fee ⇒ Object
Returns the value of attribute prorated_recurring_fee.
-
#prorated_recurring_fee_tax ⇒ Object
Returns the value of attribute prorated_recurring_fee_tax.
-
#quantity ⇒ Object
Returns the value of attribute quantity.
-
#recurring_fee ⇒ Object
Returns the value of attribute recurring_fee.
-
#recurring_fee_tax ⇒ Object
Returns the value of attribute recurring_fee_tax.
-
#required_core_count ⇒ Object
Returns the value of attribute required_core_count.
-
#setup_fee ⇒ Object
Returns the value of attribute setup_fee.
-
#sort ⇒ Object
Returns the value of attribute sort.
-
#usage_rate ⇒ Object
Returns the value of attribute usage_rate.
Class Method Summary collapse
-
.get_usage_rate_prices(message) ⇒ Object
location items.
Instance Method Summary collapse
- #get_account_restrictions ⇒ Object
- #get_attributes ⇒ Object
- #get_big_data_os_journal_disk_flag ⇒ Object
- #get_bundle_references ⇒ Object
- #get_capacity_restriction_maximum ⇒ Object
- #get_capacity_restriction_minimum ⇒ Object
- #get_capacity_restriction_type ⇒ Object
- #get_categories ⇒ Object
- #get_defined_software_license_flag ⇒ Object
- #get_inventory ⇒ Object
- #get_item ⇒ Object
- #get_object ⇒ Object
- #get_order_premiums ⇒ Object
- #get_package_references ⇒ Object
- #get_packages ⇒ Object
- #get_preset_configurations ⇒ Object
- #get_pricing_location_group ⇒ Object
- #get_required_core_count ⇒ 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_restriction_count ⇒ Object
Returns the value of attribute account_restriction_count.
27 28 29 |
# File 'lib/softlayer/product/item/price.rb', line 27 def account_restriction_count @account_restriction_count end |
#account_restrictions ⇒ Object
Returns the value of attribute account_restrictions.
36 37 38 |
# File 'lib/softlayer/product/item/price.rb', line 36 def account_restrictions @account_restrictions end |
#attribute_count ⇒ Object
Returns the value of attribute attribute_count.
28 29 30 |
# File 'lib/softlayer/product/item/price.rb', line 28 def attribute_count @attribute_count end |
#attributes ⇒ Object
Returns the value of attribute attributes.
37 38 39 |
# File 'lib/softlayer/product/item/price.rb', line 37 def attributes @attributes end |
#big_data_os_journal_disk_flag ⇒ Object
Returns the value of attribute big_data_os_journal_disk_flag.
38 39 40 |
# File 'lib/softlayer/product/item/price.rb', line 38 def big_data_os_journal_disk_flag @big_data_os_journal_disk_flag end |
#bundle_reference_count ⇒ Object
Returns the value of attribute bundle_reference_count.
29 30 31 |
# File 'lib/softlayer/product/item/price.rb', line 29 def bundle_reference_count @bundle_reference_count end |
#bundle_references ⇒ Object
Returns the value of attribute bundle_references.
39 40 41 |
# File 'lib/softlayer/product/item/price.rb', line 39 def bundle_references @bundle_references end |
#capacity_restriction_maximum ⇒ Object
Returns the value of attribute capacity_restriction_maximum.
40 41 42 |
# File 'lib/softlayer/product/item/price.rb', line 40 def capacity_restriction_maximum @capacity_restriction_maximum end |
#capacity_restriction_minimum ⇒ Object
Returns the value of attribute capacity_restriction_minimum.
41 42 43 |
# File 'lib/softlayer/product/item/price.rb', line 41 def capacity_restriction_minimum @capacity_restriction_minimum end |
#capacity_restriction_type ⇒ Object
Returns the value of attribute capacity_restriction_type.
42 43 44 |
# File 'lib/softlayer/product/item/price.rb', line 42 def capacity_restriction_type @capacity_restriction_type end |
#categories ⇒ Object
Returns the value of attribute categories.
43 44 45 |
# File 'lib/softlayer/product/item/price.rb', line 43 def categories @categories end |
#category_count ⇒ Object
Returns the value of attribute category_count.
30 31 32 |
# File 'lib/softlayer/product/item/price.rb', line 30 def category_count @category_count end |
#current_price_flag ⇒ Object
Returns the value of attribute current_price_flag.
9 10 11 |
# File 'lib/softlayer/product/item/price.rb', line 9 def current_price_flag @current_price_flag end |
#defined_software_license_flag ⇒ Object
Returns the value of attribute defined_software_license_flag.
44 45 46 |
# File 'lib/softlayer/product/item/price.rb', line 44 def defined_software_license_flag @defined_software_license_flag end |
#hourly_recurring_fee ⇒ Object
Returns the value of attribute hourly_recurring_fee.
10 11 12 |
# File 'lib/softlayer/product/item/price.rb', line 10 def hourly_recurring_fee @hourly_recurring_fee end |
#id ⇒ Object
Returns the value of attribute id.
11 12 13 |
# File 'lib/softlayer/product/item/price.rb', line 11 def id @id end |
#inventory ⇒ Object
Returns the value of attribute inventory.
45 46 47 |
# File 'lib/softlayer/product/item/price.rb', line 45 def inventory @inventory end |
#inventory_count ⇒ Object
Returns the value of attribute inventory_count.
31 32 33 |
# File 'lib/softlayer/product/item/price.rb', line 31 def inventory_count @inventory_count end |
#item ⇒ Object
Returns the value of attribute item.
46 47 48 |
# File 'lib/softlayer/product/item/price.rb', line 46 def item @item end |
#item_id ⇒ Object
Returns the value of attribute item_id.
12 13 14 |
# File 'lib/softlayer/product/item/price.rb', line 12 def item_id @item_id end |
#labor_fee ⇒ Object
Returns the value of attribute labor_fee.
13 14 15 |
# File 'lib/softlayer/product/item/price.rb', line 13 def labor_fee @labor_fee end |
#location_group_id ⇒ Object
Returns the value of attribute location_group_id.
14 15 16 |
# File 'lib/softlayer/product/item/price.rb', line 14 def location_group_id @location_group_id end |
#on_sale_flag ⇒ Object
Returns the value of attribute on_sale_flag.
15 16 17 |
# File 'lib/softlayer/product/item/price.rb', line 15 def on_sale_flag @on_sale_flag end |
#one_time_fee ⇒ Object
Returns the value of attribute one_time_fee.
16 17 18 |
# File 'lib/softlayer/product/item/price.rb', line 16 def one_time_fee @one_time_fee end |
#one_time_fee_tax ⇒ Object
Returns the value of attribute one_time_fee_tax.
17 18 19 |
# File 'lib/softlayer/product/item/price.rb', line 17 def one_time_fee_tax @one_time_fee_tax end |
#order_options ⇒ Object
Returns the value of attribute order_options.
18 19 20 |
# File 'lib/softlayer/product/item/price.rb', line 18 def @order_options end |
#order_premium_count ⇒ Object
Returns the value of attribute order_premium_count.
32 33 34 |
# File 'lib/softlayer/product/item/price.rb', line 32 def order_premium_count @order_premium_count end |
#order_premiums ⇒ Object
Returns the value of attribute order_premiums.
47 48 49 |
# File 'lib/softlayer/product/item/price.rb', line 47 def order_premiums @order_premiums end |
#package_count ⇒ Object
Returns the value of attribute package_count.
33 34 35 |
# File 'lib/softlayer/product/item/price.rb', line 33 def package_count @package_count end |
#package_reference_count ⇒ Object
Returns the value of attribute package_reference_count.
34 35 36 |
# File 'lib/softlayer/product/item/price.rb', line 34 def package_reference_count @package_reference_count end |
#package_references ⇒ Object
Returns the value of attribute package_references.
48 49 50 |
# File 'lib/softlayer/product/item/price.rb', line 48 def package_references @package_references end |
#packages ⇒ Object
Returns the value of attribute packages.
49 50 51 |
# File 'lib/softlayer/product/item/price.rb', line 49 def packages @packages end |
#preset_configuration_count ⇒ Object
Returns the value of attribute preset_configuration_count.
35 36 37 |
# File 'lib/softlayer/product/item/price.rb', line 35 def preset_configuration_count @preset_configuration_count end |
#preset_configurations ⇒ Object
Returns the value of attribute preset_configurations.
50 51 52 |
# File 'lib/softlayer/product/item/price.rb', line 50 def preset_configurations @preset_configurations end |
#pricing_location_group ⇒ Object
Returns the value of attribute pricing_location_group.
51 52 53 |
# File 'lib/softlayer/product/item/price.rb', line 51 def pricing_location_group @pricing_location_group end |
#prorated_recurring_fee ⇒ Object
Returns the value of attribute prorated_recurring_fee.
19 20 21 |
# File 'lib/softlayer/product/item/price.rb', line 19 def prorated_recurring_fee @prorated_recurring_fee end |
#prorated_recurring_fee_tax ⇒ Object
Returns the value of attribute prorated_recurring_fee_tax.
20 21 22 |
# File 'lib/softlayer/product/item/price.rb', line 20 def prorated_recurring_fee_tax @prorated_recurring_fee_tax end |
#quantity ⇒ Object
Returns the value of attribute quantity.
21 22 23 |
# File 'lib/softlayer/product/item/price.rb', line 21 def quantity @quantity end |
#recurring_fee ⇒ Object
Returns the value of attribute recurring_fee.
22 23 24 |
# File 'lib/softlayer/product/item/price.rb', line 22 def recurring_fee @recurring_fee end |
#recurring_fee_tax ⇒ Object
Returns the value of attribute recurring_fee_tax.
23 24 25 |
# File 'lib/softlayer/product/item/price.rb', line 23 def recurring_fee_tax @recurring_fee_tax end |
#required_core_count ⇒ Object
Returns the value of attribute required_core_count.
52 53 54 |
# File 'lib/softlayer/product/item/price.rb', line 52 def required_core_count @required_core_count end |
#setup_fee ⇒ Object
Returns the value of attribute setup_fee.
24 25 26 |
# File 'lib/softlayer/product/item/price.rb', line 24 def setup_fee @setup_fee end |
#sort ⇒ Object
Returns the value of attribute sort.
25 26 27 |
# File 'lib/softlayer/product/item/price.rb', line 25 def sort @sort end |
#usage_rate ⇒ Object
Returns the value of attribute usage_rate.
26 27 28 |
# File 'lib/softlayer/product/item/price.rb', line 26 def usage_rate @usage_rate end |
Class Method Details
Instance Method Details
#get_account_restrictions ⇒ Object
54 55 56 |
# File 'lib/softlayer/product/item/price.rb', line 54 def get_account_restrictions request(:get_account_restrictions, Array[Softlayer::Product::Item::Price::Account::Restriction]) end |
#get_attributes ⇒ Object
58 59 60 |
# File 'lib/softlayer/product/item/price.rb', line 58 def get_attributes request(:get_attributes, Array[Softlayer::Product::Item::Price::Attribute]) end |
#get_big_data_os_journal_disk_flag ⇒ Object
62 63 64 |
# File 'lib/softlayer/product/item/price.rb', line 62 def get_big_data_os_journal_disk_flag request(:get_big_data_os_journal_disk_flag, Boolean) end |
#get_bundle_references ⇒ Object
66 67 68 |
# File 'lib/softlayer/product/item/price.rb', line 66 def get_bundle_references request(:get_bundle_references, Array[Softlayer::Product::Item::Bundles]) end |
#get_capacity_restriction_maximum ⇒ Object
70 71 72 |
# File 'lib/softlayer/product/item/price.rb', line 70 def get_capacity_restriction_maximum request(:get_capacity_restriction_maximum, String) end |
#get_capacity_restriction_minimum ⇒ Object
74 75 76 |
# File 'lib/softlayer/product/item/price.rb', line 74 def get_capacity_restriction_minimum request(:get_capacity_restriction_minimum, String) end |
#get_capacity_restriction_type ⇒ Object
78 79 80 |
# File 'lib/softlayer/product/item/price.rb', line 78 def get_capacity_restriction_type request(:get_capacity_restriction_type, String) end |
#get_categories ⇒ Object
82 83 84 |
# File 'lib/softlayer/product/item/price.rb', line 82 def get_categories request(:get_categories, Array[Softlayer::Product::Item::Category]) end |
#get_defined_software_license_flag ⇒ Object
86 87 88 |
# File 'lib/softlayer/product/item/price.rb', line 86 def get_defined_software_license_flag request(:get_defined_software_license_flag, Boolean) end |
#get_inventory ⇒ Object
90 91 92 |
# File 'lib/softlayer/product/item/price.rb', line 90 def get_inventory request(:get_inventory, Array[Softlayer::Product::Package::Inventory]) end |
#get_item ⇒ Object
94 95 96 |
# File 'lib/softlayer/product/item/price.rb', line 94 def get_item request(:get_item, Softlayer::Product::Item) end |
#get_object ⇒ Object
98 99 100 |
# File 'lib/softlayer/product/item/price.rb', line 98 def get_object request(:get_object, Softlayer::Product::Item::Price) end |
#get_order_premiums ⇒ Object
102 103 104 |
# File 'lib/softlayer/product/item/price.rb', line 102 def get_order_premiums request(:get_order_premiums, Array[Softlayer::Product::Item::Price::Premium]) end |
#get_package_references ⇒ Object
106 107 108 |
# File 'lib/softlayer/product/item/price.rb', line 106 def get_package_references request(:get_package_references, Array[Softlayer::Product::Package::Item::Prices]) end |
#get_packages ⇒ Object
110 111 112 |
# File 'lib/softlayer/product/item/price.rb', line 110 def get_packages request(:get_packages, Array[Softlayer::Product::Package]) end |
#get_preset_configurations ⇒ Object
114 115 116 |
# File 'lib/softlayer/product/item/price.rb', line 114 def get_preset_configurations request(:get_preset_configurations, Array[Softlayer::Product::Package::Preset::Configuration]) end |
#get_pricing_location_group ⇒ Object
118 119 120 |
# File 'lib/softlayer/product/item/price.rb', line 118 def get_pricing_location_group request(:get_pricing_location_group, Softlayer::Location::Group::Pricing) end |
#get_required_core_count ⇒ Object
122 123 124 |
# File 'lib/softlayer/product/item/price.rb', line 122 def get_required_core_count request(:get_required_core_count, Integer) end |