Class: Softlayer::Product::Item::Category
- Defined in:
- lib/softlayer/product/item/category.rb,
lib/softlayer/product/item/category/group.rb,
lib/softlayer/product/item/category/order.rb,
lib/softlayer/product/item/category/question.rb,
lib/softlayer/product/item/category/order/option.rb,
lib/softlayer/product/item/category/question/xref.rb,
lib/softlayer/product/item/category/question/field.rb,
lib/softlayer/product/item/category/order/option/type.rb,
lib/softlayer/product/item/category/question/field/type.rb
Defined Under Namespace
Modules: Order Classes: Group, Question, Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Product_Item_Category'
Instance Attribute Summary collapse
-
#billing_item_count ⇒ Object
Returns the value of attribute billing_item_count.
-
#billing_items ⇒ Object
Returns the value of attribute billing_items.
-
#category_code ⇒ Object
Returns the value of attribute category_code.
-
#group ⇒ Object
Returns the value of attribute group.
-
#group_count ⇒ Object
Returns the value of attribute group_count.
-
#groups ⇒ Object
Returns the value of attribute groups.
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#order_option_count ⇒ Object
Returns the value of attribute order_option_count.
-
#order_options ⇒ Object
Returns the value of attribute order_options.
-
#package_configuration_count ⇒ Object
Returns the value of attribute package_configuration_count.
-
#package_configurations ⇒ Object
Returns the value of attribute package_configurations.
-
#preset_configuration_count ⇒ Object
Returns the value of attribute preset_configuration_count.
-
#preset_configurations ⇒ Object
Returns the value of attribute preset_configurations.
-
#quantity_limit ⇒ Object
Returns the value of attribute quantity_limit.
-
#question_count ⇒ Object
Returns the value of attribute question_count.
-
#question_reference_count ⇒ Object
Returns the value of attribute question_reference_count.
-
#question_references ⇒ Object
Returns the value of attribute question_references.
-
#questions ⇒ Object
Returns the value of attribute questions.
Class Method Summary collapse
- .get_bandwidth_categories ⇒ Object
-
.get_computing_categories(message) ⇒ Object
reset_cache.
- .get_custom_usage_rates_categories ⇒ Object
- .get_software_categories ⇒ Object
- .get_subnet_categories ⇒ Object
-
.get_top_level_categories(message) ⇒ Object
reset_cache.
- .get_valid_cancelable_service_item_categories ⇒ Object
- .get_vlan_categories ⇒ Object
Instance Method Summary collapse
- #get_additional_products_for_category ⇒ Object
- #get_billing_items ⇒ Object
- #get_group ⇒ Object
- #get_groups ⇒ Object
- #get_object ⇒ Object
- #get_order_options ⇒ Object
- #get_package_configurations ⇒ Object
- #get_preset_configurations ⇒ Object
- #get_question_references ⇒ Object
- #get_questions ⇒ 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
#billing_item_count ⇒ Object
Returns the value of attribute billing_item_count.
13 14 15 |
# File 'lib/softlayer/product/item/category.rb', line 13 def billing_item_count @billing_item_count end |
#billing_items ⇒ Object
Returns the value of attribute billing_items.
20 21 22 |
# File 'lib/softlayer/product/item/category.rb', line 20 def billing_items @billing_items end |
#category_code ⇒ Object
Returns the value of attribute category_code.
9 10 11 |
# File 'lib/softlayer/product/item/category.rb', line 9 def category_code @category_code end |
#group ⇒ Object
Returns the value of attribute group.
21 22 23 |
# File 'lib/softlayer/product/item/category.rb', line 21 def group @group end |
#group_count ⇒ Object
Returns the value of attribute group_count.
14 15 16 |
# File 'lib/softlayer/product/item/category.rb', line 14 def group_count @group_count end |
#groups ⇒ Object
Returns the value of attribute groups.
22 23 24 |
# File 'lib/softlayer/product/item/category.rb', line 22 def groups @groups end |
#id ⇒ Object
Returns the value of attribute id.
10 11 12 |
# File 'lib/softlayer/product/item/category.rb', line 10 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
11 12 13 |
# File 'lib/softlayer/product/item/category.rb', line 11 def name @name end |
#order_option_count ⇒ Object
Returns the value of attribute order_option_count.
15 16 17 |
# File 'lib/softlayer/product/item/category.rb', line 15 def order_option_count @order_option_count end |
#order_options ⇒ Object
Returns the value of attribute order_options.
23 24 25 |
# File 'lib/softlayer/product/item/category.rb', line 23 def @order_options end |
#package_configuration_count ⇒ Object
Returns the value of attribute package_configuration_count.
16 17 18 |
# File 'lib/softlayer/product/item/category.rb', line 16 def package_configuration_count @package_configuration_count end |
#package_configurations ⇒ Object
Returns the value of attribute package_configurations.
24 25 26 |
# File 'lib/softlayer/product/item/category.rb', line 24 def package_configurations @package_configurations end |
#preset_configuration_count ⇒ Object
Returns the value of attribute preset_configuration_count.
17 18 19 |
# File 'lib/softlayer/product/item/category.rb', line 17 def preset_configuration_count @preset_configuration_count end |
#preset_configurations ⇒ Object
Returns the value of attribute preset_configurations.
25 26 27 |
# File 'lib/softlayer/product/item/category.rb', line 25 def preset_configurations @preset_configurations end |
#quantity_limit ⇒ Object
Returns the value of attribute quantity_limit.
12 13 14 |
# File 'lib/softlayer/product/item/category.rb', line 12 def quantity_limit @quantity_limit end |
#question_count ⇒ Object
Returns the value of attribute question_count.
18 19 20 |
# File 'lib/softlayer/product/item/category.rb', line 18 def question_count @question_count end |
#question_reference_count ⇒ Object
Returns the value of attribute question_reference_count.
19 20 21 |
# File 'lib/softlayer/product/item/category.rb', line 19 def question_reference_count @question_reference_count end |
#question_references ⇒ Object
Returns the value of attribute question_references.
26 27 28 |
# File 'lib/softlayer/product/item/category.rb', line 26 def question_references @question_references end |
#questions ⇒ Object
Returns the value of attribute questions.
27 28 29 |
# File 'lib/softlayer/product/item/category.rb', line 27 def questions @questions end |
Class Method Details
.get_bandwidth_categories ⇒ Object
33 34 35 |
# File 'lib/softlayer/product/item/category.rb', line 33 def self.get_bandwidth_categories request(:get_bandwidth_categories, Array[Softlayer::Product::Item::Category]) end |
.get_computing_categories(message) ⇒ Object
reset_cache
42 43 44 |
# File 'lib/softlayer/product/item/category.rb', line 42 def self.get_computing_categories() request(:get_computing_categories, Array[Softlayer::Product::Item::Category], ) end |
.get_custom_usage_rates_categories ⇒ Object
46 47 48 |
# File 'lib/softlayer/product/item/category.rb', line 46 def self.get_custom_usage_rates_categories request(:get_custom_usage_rates_categories, Array[Softlayer::Product::Item::Category]) end |
.get_software_categories ⇒ Object
82 83 84 |
# File 'lib/softlayer/product/item/category.rb', line 82 def self.get_software_categories request(:get_software_categories, Array[Softlayer::Product::Item::Category]) end |
.get_subnet_categories ⇒ Object
86 87 88 |
# File 'lib/softlayer/product/item/category.rb', line 86 def self.get_subnet_categories request(:get_subnet_categories, Array[Softlayer::Product::Item::Category]) end |
.get_top_level_categories(message) ⇒ Object
reset_cache
91 92 93 |
# File 'lib/softlayer/product/item/category.rb', line 91 def self.get_top_level_categories() request(:get_top_level_categories, Array[Softlayer::Product::Item::Category], ) end |
Instance Method Details
#get_additional_products_for_category ⇒ Object
29 30 31 |
# File 'lib/softlayer/product/item/category.rb', line 29 def get_additional_products_for_category request(:get_additional_products_for_category, Array[Softlayer::Product::Item]) end |
#get_billing_items ⇒ Object
37 38 39 |
# File 'lib/softlayer/product/item/category.rb', line 37 def get_billing_items request(:get_billing_items, Array[Softlayer::Billing::Item]) end |
#get_group ⇒ Object
50 51 52 |
# File 'lib/softlayer/product/item/category.rb', line 50 def get_group request(:get_group, Softlayer::Product::Item::Category::Group) end |
#get_groups ⇒ Object
54 55 56 |
# File 'lib/softlayer/product/item/category.rb', line 54 def get_groups request(:get_groups, Array[Softlayer::Product::Package::Item::Category::Group]) end |
#get_object ⇒ Object
58 59 60 |
# File 'lib/softlayer/product/item/category.rb', line 58 def get_object request(:get_object, Softlayer::Product::Item::Category) end |
#get_order_options ⇒ Object
62 63 64 |
# File 'lib/softlayer/product/item/category.rb', line 62 def request(:get_order_options, Array[Softlayer::Product::Item::Category::Order::Option::Type]) end |
#get_package_configurations ⇒ Object
66 67 68 |
# File 'lib/softlayer/product/item/category.rb', line 66 def get_package_configurations request(:get_package_configurations, Array[Softlayer::Product::Package::Order::Configuration]) end |
#get_preset_configurations ⇒ Object
70 71 72 |
# File 'lib/softlayer/product/item/category.rb', line 70 def get_preset_configurations request(:get_preset_configurations, Array[Softlayer::Product::Package::Preset::Configuration]) end |