Class: Softlayer::Product::Item::Category

Inherits:
Entity
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

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_countObject

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_itemsObject

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_codeObject

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

#groupObject

Returns the value of attribute group.



21
22
23
# File 'lib/softlayer/product/item/category.rb', line 21

def group
  @group
end

#group_countObject

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

#groupsObject

Returns the value of attribute groups.



22
23
24
# File 'lib/softlayer/product/item/category.rb', line 22

def groups
  @groups
end

#idObject

Returns the value of attribute id.



10
11
12
# File 'lib/softlayer/product/item/category.rb', line 10

def id
  @id
end

#nameObject

Returns the value of attribute name.



11
12
13
# File 'lib/softlayer/product/item/category.rb', line 11

def name
  @name
end

#order_option_countObject

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_optionsObject

Returns the value of attribute order_options.



23
24
25
# File 'lib/softlayer/product/item/category.rb', line 23

def order_options
  @order_options
end

#package_configuration_countObject

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_configurationsObject

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_countObject

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_configurationsObject

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_limitObject

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_countObject

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_countObject

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_referencesObject

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

#questionsObject

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_categoriesObject



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(message)
  request(:get_computing_categories, Array[Softlayer::Product::Item::Category], message)
end

.get_custom_usage_rates_categoriesObject



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_categoriesObject



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_categoriesObject



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(message)
  request(:get_top_level_categories, Array[Softlayer::Product::Item::Category], message)
end

.get_valid_cancelable_service_item_categoriesObject



95
96
97
# File 'lib/softlayer/product/item/category.rb', line 95

def self.get_valid_cancelable_service_item_categories
  request(:get_valid_cancelable_service_item_categories, Array[Softlayer::Product::Item::Category])
end

.get_vlan_categoriesObject



99
100
101
# File 'lib/softlayer/product/item/category.rb', line 99

def self.get_vlan_categories
  request(:get_vlan_categories, Array[Softlayer::Product::Item::Category])
end

Instance Method Details

#get_additional_products_for_categoryObject



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_itemsObject



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_groupObject



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_groupsObject



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_objectObject



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_optionsObject



62
63
64
# File 'lib/softlayer/product/item/category.rb', line 62

def get_order_options
  request(:get_order_options, Array[Softlayer::Product::Item::Category::Order::Option::Type])
end

#get_package_configurationsObject



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_configurationsObject



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

#get_question_referencesObject



74
75
76
# File 'lib/softlayer/product/item/category.rb', line 74

def get_question_references
  request(:get_question_references, Array[Softlayer::Product::Item::Category::Question::Xref])
end

#get_questionsObject



78
79
80
# File 'lib/softlayer/product/item/category.rb', line 78

def get_questions
  request(:get_questions, Array[Softlayer::Product::Item::Category::Question])
end