Class: Softlayer::Product::Package
- Defined in:
- lib/softlayer/product/package.rb,
lib/softlayer/product/package/item.rb,
lib/softlayer/product/package/type.rb,
lib/softlayer/product/package/items.rb,
lib/softlayer/product/package/order.rb,
lib/softlayer/product/package/preset.rb,
lib/softlayer/product/package/server.rb,
lib/softlayer/product/package/attribute.rb,
lib/softlayer/product/package/inventory.rb,
lib/softlayer/product/package/locations.rb,
lib/softlayer/product/package/order/step.rb,
lib/softlayer/product/package/item/prices.rb,
lib/softlayer/product/package/item/category.rb,
lib/softlayer/product/package/server/option.rb,
lib/softlayer/product/package/attribute/type.rb,
lib/softlayer/product/package/order/step/next.rb,
lib/softlayer/product/package/preset/attribute.rb,
lib/softlayer/product/package/item/category/group.rb,
lib/softlayer/product/package/order/configuration.rb,
lib/softlayer/product/package/preset/configuration.rb,
lib/softlayer/product/package/preset/attribute/type.rb
Defined Under Namespace
Modules: Item, Order Classes: Attribute, Inventory, Items, Locations, Preset, Representer, Server, Type
Constant Summary collapse
- SERVICE =
'SoftLayer_Product_Package'
Instance Attribute Summary collapse
-
#account_restricted_categories ⇒ Object
Returns the value of attribute account_restricted_categories.
-
#account_restricted_category_count ⇒ Object
Returns the value of attribute account_restricted_category_count.
-
#account_restricted_prices_flag ⇒ Object
Returns the value of attribute account_restricted_prices_flag.
-
#active_preset_count ⇒ Object
Returns the value of attribute active_preset_count.
-
#active_presets ⇒ Object
Returns the value of attribute active_presets.
-
#active_ram_item_count ⇒ Object
Returns the value of attribute active_ram_item_count.
-
#active_ram_items ⇒ Object
Returns the value of attribute active_ram_items.
-
#active_server_item_count ⇒ Object
Returns the value of attribute active_server_item_count.
-
#active_server_items ⇒ Object
Returns the value of attribute active_server_items.
-
#active_software_item_count ⇒ Object
Returns the value of attribute active_software_item_count.
-
#active_software_items ⇒ Object
Returns the value of attribute active_software_items.
-
#active_usage_price_count ⇒ Object
Returns the value of attribute active_usage_price_count.
-
#active_usage_prices ⇒ Object
Returns the value of attribute active_usage_prices.
-
#additional_service_flag ⇒ Object
Returns the value of attribute additional_service_flag.
-
#attribute_count ⇒ Object
Returns the value of attribute attribute_count.
-
#attributes ⇒ Object
Returns the value of attribute attributes.
-
#available_location_count ⇒ Object
Returns the value of attribute available_location_count.
-
#available_locations ⇒ Object
Returns the value of attribute available_locations.
-
#available_storage_units ⇒ Object
Returns the value of attribute available_storage_units.
-
#categories ⇒ Object
Returns the value of attribute categories.
-
#configuration ⇒ Object
Returns the value of attribute configuration.
-
#configuration_count ⇒ Object
Returns the value of attribute configuration_count.
-
#default_ram_item_count ⇒ Object
Returns the value of attribute default_ram_item_count.
-
#default_ram_items ⇒ Object
Returns the value of attribute default_ram_items.
-
#deployment_count ⇒ Object
Returns the value of attribute deployment_count.
-
#deployment_node_type ⇒ Object
Returns the value of attribute deployment_node_type.
-
#deployment_package_count ⇒ Object
Returns the value of attribute deployment_package_count.
-
#deployment_packages ⇒ Object
Returns the value of attribute deployment_packages.
-
#deployment_type ⇒ Object
Returns the value of attribute deployment_type.
-
#deployments ⇒ Object
Returns the value of attribute deployments.
-
#description ⇒ Object
Returns the value of attribute description.
-
#disallow_custom_disk_partitions ⇒ Object
Returns the value of attribute disallow_custom_disk_partitions.
-
#first_order_step ⇒ Object
Returns the value of attribute first_order_step.
-
#first_order_step_id ⇒ Object
Returns the value of attribute first_order_step_id.
-
#gateway_appliance_flag ⇒ Object
Returns the value of attribute gateway_appliance_flag.
-
#gpu_flag ⇒ Object
Returns the value of attribute gpu_flag.
-
#hourly_billing_available_flag ⇒ Object
Returns the value of attribute hourly_billing_available_flag.
-
#id ⇒ Object
Returns the value of attribute id.
-
#is_active ⇒ Object
Returns the value of attribute is_active.
-
#item_conflict_count ⇒ Object
Returns the value of attribute item_conflict_count.
-
#item_conflicts ⇒ Object
Returns the value of attribute item_conflicts.
-
#item_count ⇒ Object
Returns the value of attribute item_count.
-
#item_location_conflict_count ⇒ Object
Returns the value of attribute item_location_conflict_count.
-
#item_location_conflicts ⇒ Object
Returns the value of attribute item_location_conflicts.
-
#item_price_count ⇒ Object
Returns the value of attribute item_price_count.
-
#item_price_reference_count ⇒ Object
Returns the value of attribute item_price_reference_count.
-
#item_price_references ⇒ Object
Returns the value of attribute item_price_references.
-
#item_prices ⇒ Object
Returns the value of attribute item_prices.
-
#items ⇒ Object
Returns the value of attribute items.
-
#location_count ⇒ Object
Returns the value of attribute location_count.
-
#locations ⇒ Object
Returns the value of attribute locations.
-
#lowest_server_price ⇒ Object
Returns the value of attribute lowest_server_price.
-
#maximum_port_speed ⇒ Object
Returns the value of attribute maximum_port_speed.
-
#minimum_port_speed ⇒ Object
Returns the value of attribute minimum_port_speed.
-
#mongo_db_engineered_flag ⇒ Object
Returns the value of attribute mongo_db_engineered_flag.
-
#name ⇒ Object
Returns the value of attribute name.
-
#order_premium_count ⇒ Object
Returns the value of attribute order_premium_count.
-
#order_premiums ⇒ Object
Returns the value of attribute order_premiums.
-
#preconfigured_flag ⇒ Object
Returns the value of attribute preconfigured_flag.
-
#preset_configuration_required_flag ⇒ Object
Returns the value of attribute preset_configuration_required_flag.
-
#prevent_vlan_selection_flag ⇒ Object
Returns the value of attribute prevent_vlan_selection_flag.
-
#private_hosted_cloud_package_flag ⇒ Object
Returns the value of attribute private_hosted_cloud_package_flag.
-
#private_hosted_cloud_package_type ⇒ Object
Returns the value of attribute private_hosted_cloud_package_type.
-
#private_network_only_flag ⇒ Object
Returns the value of attribute private_network_only_flag.
-
#quanta_stor_package_flag ⇒ Object
Returns the value of attribute quanta_stor_package_flag.
-
#raid_disk_restriction_flag ⇒ Object
Returns the value of attribute raid_disk_restriction_flag.
-
#redundant_power_flag ⇒ Object
Returns the value of attribute redundant_power_flag.
-
#region_count ⇒ Object
Returns the value of attribute region_count.
-
#regions ⇒ Object
Returns the value of attribute regions.
-
#resource_group_template ⇒ Object
Returns the value of attribute resource_group_template.
-
#sub_description ⇒ Object
Returns the value of attribute sub_description.
-
#top_level_item_category_code ⇒ Object
Returns the value of attribute top_level_item_category_code.
-
#type ⇒ Object
Returns the value of attribute type.
-
#unit_size ⇒ Object
Returns the value of attribute unit_size.
Class Method Summary collapse
- .get_active_packages_by_attribute(attribute_key_name = nil) ⇒ Object
- .get_active_private_hosted_cloud_packages ⇒ Object
- .get_all_objects ⇒ Object
- .get_available_packages_for_image_template(image_template = nil) ⇒ Object
- .get_item_availability_types ⇒ Object
Instance Method Summary collapse
- #get_account_restricted_categories ⇒ Object
- #get_account_restricted_prices_flag ⇒ Object
- #get_active_items ⇒ Object
- #get_active_presets ⇒ Object
- #get_active_ram_items ⇒ Object
- #get_active_server_items ⇒ Object
- #get_active_software_items ⇒ Object
- #get_active_usage_prices ⇒ Object
- #get_active_usage_rate_prices(location_id = nil, category_code = nil) ⇒ Object
- #get_additional_service_flag ⇒ Object
- #get_attributes ⇒ Object
- #get_available_locations ⇒ Object
- #get_available_storage_units ⇒ Object
- #get_categories ⇒ Object
- #get_cdn_items ⇒ Object
- #get_cloud_storage_items(provider = nil) ⇒ Object
- #get_configuration ⇒ Object
- #get_default_ram_items ⇒ Object
- #get_deployment_node_type ⇒ Object
- #get_deployment_packages ⇒ Object
- #get_deployment_type ⇒ Object
- #get_deployments ⇒ Object
- #get_disallow_custom_disk_partitions ⇒ Object
- #get_first_order_step ⇒ Object
- #get_gateway_appliance_flag ⇒ Object
- #get_gpu_flag ⇒ Object
- #get_hourly_billing_available_flag ⇒ Object
- #get_item_conflicts ⇒ Object
- #get_item_location_conflicts ⇒ Object
- #get_item_price_references ⇒ Object
- #get_item_prices ⇒ Object
- #get_item_prices_from_software_descriptions(software_descriptions = nil, include_translations_flag = nil, return_all_prices_flag = nil) ⇒ Object
- #get_items ⇒ Object
- #get_items_from_image_template(image_template = nil) ⇒ Object
- #get_locations ⇒ Object
- #get_lowest_server_price ⇒ Object
- #get_maximum_port_speed ⇒ Object
- #get_message_queue_items ⇒ Object
- #get_minimum_port_speed ⇒ Object
- #get_mongo_db_engineered_flag ⇒ Object
- #get_object ⇒ Object
- #get_object_storage_datacenters ⇒ Object
- #get_order_premiums ⇒ Object
- #get_preconfigured_flag ⇒ Object
- #get_preset_configuration_required_flag ⇒ Object
- #get_prevent_vlan_selection_flag ⇒ Object
- #get_private_hosted_cloud_package_flag ⇒ Object
- #get_private_hosted_cloud_package_type ⇒ Object
- #get_private_network_only_flag ⇒ Object
- #get_quanta_stor_package_flag ⇒ Object
- #get_raid_disk_restriction_flag ⇒ Object
- #get_redundant_power_flag ⇒ Object
- #get_regions ⇒ Object
- #get_resource_group_template ⇒ Object
- #get_standard_categories ⇒ Object
- #get_top_level_item_category_code ⇒ Object
- #get_type ⇒ Object
Methods inherited from Model
all, all_request_for, create, find, #init_headers, parse, request, #request, service_name, #service_name, #to_hash
Methods included from Model::Operations
extended, #filter, included, #limit, #mask, #request_headers
Instance Attribute Details
#account_restricted_categories ⇒ Object
Returns the value of attribute account_restricted_categories.
41 42 43 |
# File 'lib/softlayer/product/package.rb', line 41 def account_restricted_categories @account_restricted_categories end |
#account_restricted_category_count ⇒ Object
Returns the value of attribute account_restricted_category_count.
21 22 23 |
# File 'lib/softlayer/product/package.rb', line 21 def account_restricted_category_count @account_restricted_category_count end |
#account_restricted_prices_flag ⇒ Object
Returns the value of attribute account_restricted_prices_flag.
42 43 44 |
# File 'lib/softlayer/product/package.rb', line 42 def account_restricted_prices_flag @account_restricted_prices_flag end |
#active_preset_count ⇒ Object
Returns the value of attribute active_preset_count.
22 23 24 |
# File 'lib/softlayer/product/package.rb', line 22 def active_preset_count @active_preset_count end |
#active_presets ⇒ Object
Returns the value of attribute active_presets.
43 44 45 |
# File 'lib/softlayer/product/package.rb', line 43 def active_presets @active_presets end |
#active_ram_item_count ⇒ Object
Returns the value of attribute active_ram_item_count.
23 24 25 |
# File 'lib/softlayer/product/package.rb', line 23 def active_ram_item_count @active_ram_item_count end |
#active_ram_items ⇒ Object
Returns the value of attribute active_ram_items.
44 45 46 |
# File 'lib/softlayer/product/package.rb', line 44 def active_ram_items @active_ram_items end |
#active_server_item_count ⇒ Object
Returns the value of attribute active_server_item_count.
24 25 26 |
# File 'lib/softlayer/product/package.rb', line 24 def active_server_item_count @active_server_item_count end |
#active_server_items ⇒ Object
Returns the value of attribute active_server_items.
45 46 47 |
# File 'lib/softlayer/product/package.rb', line 45 def active_server_items @active_server_items end |
#active_software_item_count ⇒ Object
Returns the value of attribute active_software_item_count.
25 26 27 |
# File 'lib/softlayer/product/package.rb', line 25 def active_software_item_count @active_software_item_count end |
#active_software_items ⇒ Object
Returns the value of attribute active_software_items.
46 47 48 |
# File 'lib/softlayer/product/package.rb', line 46 def active_software_items @active_software_items end |
#active_usage_price_count ⇒ Object
Returns the value of attribute active_usage_price_count.
26 27 28 |
# File 'lib/softlayer/product/package.rb', line 26 def active_usage_price_count @active_usage_price_count end |
#active_usage_prices ⇒ Object
Returns the value of attribute active_usage_prices.
47 48 49 |
# File 'lib/softlayer/product/package.rb', line 47 def active_usage_prices @active_usage_prices end |
#additional_service_flag ⇒ Object
Returns the value of attribute additional_service_flag.
48 49 50 |
# File 'lib/softlayer/product/package.rb', line 48 def additional_service_flag @additional_service_flag end |
#attribute_count ⇒ Object
Returns the value of attribute attribute_count.
27 28 29 |
# File 'lib/softlayer/product/package.rb', line 27 def attribute_count @attribute_count end |
#attributes ⇒ Object
Returns the value of attribute attributes.
49 50 51 |
# File 'lib/softlayer/product/package.rb', line 49 def attributes @attributes end |
#available_location_count ⇒ Object
Returns the value of attribute available_location_count.
28 29 30 |
# File 'lib/softlayer/product/package.rb', line 28 def available_location_count @available_location_count end |
#available_locations ⇒ Object
Returns the value of attribute available_locations.
50 51 52 |
# File 'lib/softlayer/product/package.rb', line 50 def available_locations @available_locations end |
#available_storage_units ⇒ Object
Returns the value of attribute available_storage_units.
51 52 53 |
# File 'lib/softlayer/product/package.rb', line 51 def available_storage_units @available_storage_units end |
#categories ⇒ Object
Returns the value of attribute categories.
52 53 54 |
# File 'lib/softlayer/product/package.rb', line 52 def categories @categories end |
#configuration ⇒ Object
Returns the value of attribute configuration.
53 54 55 |
# File 'lib/softlayer/product/package.rb', line 53 def configuration @configuration end |
#configuration_count ⇒ Object
Returns the value of attribute configuration_count.
29 30 31 |
# File 'lib/softlayer/product/package.rb', line 29 def configuration_count @configuration_count end |
#default_ram_item_count ⇒ Object
Returns the value of attribute default_ram_item_count.
30 31 32 |
# File 'lib/softlayer/product/package.rb', line 30 def default_ram_item_count @default_ram_item_count end |
#default_ram_items ⇒ Object
Returns the value of attribute default_ram_items.
54 55 56 |
# File 'lib/softlayer/product/package.rb', line 54 def default_ram_items @default_ram_items end |
#deployment_count ⇒ Object
Returns the value of attribute deployment_count.
31 32 33 |
# File 'lib/softlayer/product/package.rb', line 31 def deployment_count @deployment_count end |
#deployment_node_type ⇒ Object
Returns the value of attribute deployment_node_type.
55 56 57 |
# File 'lib/softlayer/product/package.rb', line 55 def deployment_node_type @deployment_node_type end |
#deployment_package_count ⇒ Object
Returns the value of attribute deployment_package_count.
32 33 34 |
# File 'lib/softlayer/product/package.rb', line 32 def deployment_package_count @deployment_package_count end |
#deployment_packages ⇒ Object
Returns the value of attribute deployment_packages.
56 57 58 |
# File 'lib/softlayer/product/package.rb', line 56 def deployment_packages @deployment_packages end |
#deployment_type ⇒ Object
Returns the value of attribute deployment_type.
57 58 59 |
# File 'lib/softlayer/product/package.rb', line 57 def deployment_type @deployment_type end |
#deployments ⇒ Object
Returns the value of attribute deployments.
58 59 60 |
# File 'lib/softlayer/product/package.rb', line 58 def deployments @deployments end |
#description ⇒ Object
Returns the value of attribute description.
14 15 16 |
# File 'lib/softlayer/product/package.rb', line 14 def description @description end |
#disallow_custom_disk_partitions ⇒ Object
Returns the value of attribute disallow_custom_disk_partitions.
59 60 61 |
# File 'lib/softlayer/product/package.rb', line 59 def disallow_custom_disk_partitions @disallow_custom_disk_partitions end |
#first_order_step ⇒ Object
Returns the value of attribute first_order_step.
60 61 62 |
# File 'lib/softlayer/product/package.rb', line 60 def first_order_step @first_order_step end |
#first_order_step_id ⇒ Object
Returns the value of attribute first_order_step_id.
15 16 17 |
# File 'lib/softlayer/product/package.rb', line 15 def first_order_step_id @first_order_step_id end |
#gateway_appliance_flag ⇒ Object
Returns the value of attribute gateway_appliance_flag.
61 62 63 |
# File 'lib/softlayer/product/package.rb', line 61 def gateway_appliance_flag @gateway_appliance_flag end |
#gpu_flag ⇒ Object
Returns the value of attribute gpu_flag.
62 63 64 |
# File 'lib/softlayer/product/package.rb', line 62 def gpu_flag @gpu_flag end |
#hourly_billing_available_flag ⇒ Object
Returns the value of attribute hourly_billing_available_flag.
63 64 65 |
# File 'lib/softlayer/product/package.rb', line 63 def hourly_billing_available_flag @hourly_billing_available_flag end |
#id ⇒ Object
Returns the value of attribute id.
16 17 18 |
# File 'lib/softlayer/product/package.rb', line 16 def id @id end |
#is_active ⇒ Object
Returns the value of attribute is_active.
17 18 19 |
# File 'lib/softlayer/product/package.rb', line 17 def is_active @is_active end |
#item_conflict_count ⇒ Object
Returns the value of attribute item_conflict_count.
33 34 35 |
# File 'lib/softlayer/product/package.rb', line 33 def item_conflict_count @item_conflict_count end |
#item_conflicts ⇒ Object
Returns the value of attribute item_conflicts.
64 65 66 |
# File 'lib/softlayer/product/package.rb', line 64 def item_conflicts @item_conflicts end |
#item_count ⇒ Object
Returns the value of attribute item_count.
34 35 36 |
# File 'lib/softlayer/product/package.rb', line 34 def item_count @item_count end |
#item_location_conflict_count ⇒ Object
Returns the value of attribute item_location_conflict_count.
35 36 37 |
# File 'lib/softlayer/product/package.rb', line 35 def item_location_conflict_count @item_location_conflict_count end |
#item_location_conflicts ⇒ Object
Returns the value of attribute item_location_conflicts.
65 66 67 |
# File 'lib/softlayer/product/package.rb', line 65 def item_location_conflicts @item_location_conflicts end |
#item_price_count ⇒ Object
Returns the value of attribute item_price_count.
36 37 38 |
# File 'lib/softlayer/product/package.rb', line 36 def item_price_count @item_price_count end |
#item_price_reference_count ⇒ Object
Returns the value of attribute item_price_reference_count.
37 38 39 |
# File 'lib/softlayer/product/package.rb', line 37 def item_price_reference_count @item_price_reference_count end |
#item_price_references ⇒ Object
Returns the value of attribute item_price_references.
66 67 68 |
# File 'lib/softlayer/product/package.rb', line 66 def item_price_references @item_price_references end |
#item_prices ⇒ Object
Returns the value of attribute item_prices.
67 68 69 |
# File 'lib/softlayer/product/package.rb', line 67 def item_prices @item_prices end |
#items ⇒ Object
Returns the value of attribute items.
68 69 70 |
# File 'lib/softlayer/product/package.rb', line 68 def items @items end |
#location_count ⇒ Object
Returns the value of attribute location_count.
38 39 40 |
# File 'lib/softlayer/product/package.rb', line 38 def location_count @location_count end |
#locations ⇒ Object
Returns the value of attribute locations.
69 70 71 |
# File 'lib/softlayer/product/package.rb', line 69 def locations @locations end |
#lowest_server_price ⇒ Object
Returns the value of attribute lowest_server_price.
70 71 72 |
# File 'lib/softlayer/product/package.rb', line 70 def lowest_server_price @lowest_server_price end |
#maximum_port_speed ⇒ Object
Returns the value of attribute maximum_port_speed.
71 72 73 |
# File 'lib/softlayer/product/package.rb', line 71 def maximum_port_speed @maximum_port_speed end |
#minimum_port_speed ⇒ Object
Returns the value of attribute minimum_port_speed.
72 73 74 |
# File 'lib/softlayer/product/package.rb', line 72 def minimum_port_speed @minimum_port_speed end |
#mongo_db_engineered_flag ⇒ Object
Returns the value of attribute mongo_db_engineered_flag.
73 74 75 |
# File 'lib/softlayer/product/package.rb', line 73 def mongo_db_engineered_flag @mongo_db_engineered_flag end |
#name ⇒ Object
Returns the value of attribute name.
18 19 20 |
# File 'lib/softlayer/product/package.rb', line 18 def name @name end |
#order_premium_count ⇒ Object
Returns the value of attribute order_premium_count.
39 40 41 |
# File 'lib/softlayer/product/package.rb', line 39 def order_premium_count @order_premium_count end |
#order_premiums ⇒ Object
Returns the value of attribute order_premiums.
74 75 76 |
# File 'lib/softlayer/product/package.rb', line 74 def order_premiums @order_premiums end |
#preconfigured_flag ⇒ Object
Returns the value of attribute preconfigured_flag.
75 76 77 |
# File 'lib/softlayer/product/package.rb', line 75 def preconfigured_flag @preconfigured_flag end |
#preset_configuration_required_flag ⇒ Object
Returns the value of attribute preset_configuration_required_flag.
76 77 78 |
# File 'lib/softlayer/product/package.rb', line 76 def preset_configuration_required_flag @preset_configuration_required_flag end |
#prevent_vlan_selection_flag ⇒ Object
Returns the value of attribute prevent_vlan_selection_flag.
77 78 79 |
# File 'lib/softlayer/product/package.rb', line 77 def prevent_vlan_selection_flag @prevent_vlan_selection_flag end |
#private_hosted_cloud_package_flag ⇒ Object
Returns the value of attribute private_hosted_cloud_package_flag.
78 79 80 |
# File 'lib/softlayer/product/package.rb', line 78 def private_hosted_cloud_package_flag @private_hosted_cloud_package_flag end |
#private_hosted_cloud_package_type ⇒ Object
Returns the value of attribute private_hosted_cloud_package_type.
79 80 81 |
# File 'lib/softlayer/product/package.rb', line 79 def private_hosted_cloud_package_type @private_hosted_cloud_package_type end |
#private_network_only_flag ⇒ Object
Returns the value of attribute private_network_only_flag.
80 81 82 |
# File 'lib/softlayer/product/package.rb', line 80 def private_network_only_flag @private_network_only_flag end |
#quanta_stor_package_flag ⇒ Object
Returns the value of attribute quanta_stor_package_flag.
81 82 83 |
# File 'lib/softlayer/product/package.rb', line 81 def quanta_stor_package_flag @quanta_stor_package_flag end |
#raid_disk_restriction_flag ⇒ Object
Returns the value of attribute raid_disk_restriction_flag.
82 83 84 |
# File 'lib/softlayer/product/package.rb', line 82 def raid_disk_restriction_flag @raid_disk_restriction_flag end |
#redundant_power_flag ⇒ Object
Returns the value of attribute redundant_power_flag.
83 84 85 |
# File 'lib/softlayer/product/package.rb', line 83 def redundant_power_flag @redundant_power_flag end |
#region_count ⇒ Object
Returns the value of attribute region_count.
40 41 42 |
# File 'lib/softlayer/product/package.rb', line 40 def region_count @region_count end |
#regions ⇒ Object
Returns the value of attribute regions.
84 85 86 |
# File 'lib/softlayer/product/package.rb', line 84 def regions @regions end |
#resource_group_template ⇒ Object
Returns the value of attribute resource_group_template.
85 86 87 |
# File 'lib/softlayer/product/package.rb', line 85 def resource_group_template @resource_group_template end |
#sub_description ⇒ Object
Returns the value of attribute sub_description.
19 20 21 |
# File 'lib/softlayer/product/package.rb', line 19 def sub_description @sub_description end |
#top_level_item_category_code ⇒ Object
Returns the value of attribute top_level_item_category_code.
86 87 88 |
# File 'lib/softlayer/product/package.rb', line 86 def top_level_item_category_code @top_level_item_category_code end |
#type ⇒ Object
Returns the value of attribute type.
87 88 89 |
# File 'lib/softlayer/product/package.rb', line 87 def type @type end |
#unit_size ⇒ Object
Returns the value of attribute unit_size.
20 21 22 |
# File 'lib/softlayer/product/package.rb', line 20 def unit_size @unit_size end |
Class Method Details
.get_active_packages_by_attribute(attribute_key_name = nil) ⇒ Object
101 102 103 104 |
# File 'lib/softlayer/product/package.rb', line 101 def self.get_active_packages_by_attribute(attribute_key_name = nil) = {attribute_key_name: attribute_key_name} request(:get_active_packages_by_attribute, Array[Softlayer::Product::Package], ) end |
.get_active_private_hosted_cloud_packages ⇒ Object
110 111 112 |
# File 'lib/softlayer/product/package.rb', line 110 def self.get_active_private_hosted_cloud_packages request(:get_active_private_hosted_cloud_packages, Array[Softlayer::Product::Package]) end |
.get_all_objects ⇒ Object
139 140 141 |
# File 'lib/softlayer/product/package.rb', line 139 def self.get_all_objects request(:get_all_objects, Array[Softlayer::Product::Package]) end |
.get_available_packages_for_image_template(image_template = nil) ⇒ Object
151 152 153 154 |
# File 'lib/softlayer/product/package.rb', line 151 def self.get_available_packages_for_image_template(image_template = nil) = {image_template: image_template} request(:get_available_packages_for_image_template, Array[Softlayer::Product::Package], ) end |
Instance Method Details
#get_account_restricted_categories ⇒ Object
89 90 91 |
# File 'lib/softlayer/product/package.rb', line 89 def get_account_restricted_categories request(:get_account_restricted_categories, Array[Softlayer::Product::Item::Category]) end |
#get_account_restricted_prices_flag ⇒ Object
93 94 95 |
# File 'lib/softlayer/product/package.rb', line 93 def get_account_restricted_prices_flag request(:get_account_restricted_prices_flag, Boolean) end |
#get_active_items ⇒ Object
97 98 99 |
# File 'lib/softlayer/product/package.rb', line 97 def get_active_items request(:get_active_items, Array[Softlayer::Product::Item]) end |
#get_active_presets ⇒ Object
106 107 108 |
# File 'lib/softlayer/product/package.rb', line 106 def get_active_presets request(:get_active_presets, Array[Softlayer::Product::Package::Preset]) end |
#get_active_ram_items ⇒ Object
114 115 116 |
# File 'lib/softlayer/product/package.rb', line 114 def get_active_ram_items request(:get_active_ram_items, Array[Softlayer::Product::Item]) end |
#get_active_server_items ⇒ Object
118 119 120 |
# File 'lib/softlayer/product/package.rb', line 118 def get_active_server_items request(:get_active_server_items, Array[Softlayer::Product::Item]) end |
#get_active_software_items ⇒ Object
122 123 124 |
# File 'lib/softlayer/product/package.rb', line 122 def get_active_software_items request(:get_active_software_items, Array[Softlayer::Product::Item]) end |
#get_active_usage_prices ⇒ Object
126 127 128 |
# File 'lib/softlayer/product/package.rb', line 126 def get_active_usage_prices request(:get_active_usage_prices, Array[Softlayer::Product::Item::Price]) end |
#get_active_usage_rate_prices(location_id = nil, category_code = nil) ⇒ Object
130 131 132 133 |
# File 'lib/softlayer/product/package.rb', line 130 def get_active_usage_rate_prices(location_id = nil, category_code = nil) = {location_id: location_id, category_code: category_code} request(:get_active_usage_rate_prices, Array[Softlayer::Product::Item::Price], ) end |
#get_additional_service_flag ⇒ Object
135 136 137 |
# File 'lib/softlayer/product/package.rb', line 135 def get_additional_service_flag request(:get_additional_service_flag, Boolean) end |
#get_attributes ⇒ Object
143 144 145 |
# File 'lib/softlayer/product/package.rb', line 143 def get_attributes request(:get_attributes, Array[Softlayer::Product::Package::Attribute]) end |
#get_available_locations ⇒ Object
147 148 149 |
# File 'lib/softlayer/product/package.rb', line 147 def get_available_locations request(:get_available_locations, Array[Softlayer::Product::Package::Locations]) end |
#get_available_storage_units ⇒ Object
156 157 158 |
# File 'lib/softlayer/product/package.rb', line 156 def get_available_storage_units request(:get_available_storage_units, Integer) end |
#get_categories ⇒ Object
160 161 162 |
# File 'lib/softlayer/product/package.rb', line 160 def get_categories request(:get_categories, Array[Softlayer::Product::Item::Category]) end |
#get_cdn_items ⇒ Object
164 165 166 |
# File 'lib/softlayer/product/package.rb', line 164 def get_cdn_items request(:get_cdn_items, Array[Softlayer::Product::Item]) end |
#get_cloud_storage_items(provider = nil) ⇒ Object
168 169 170 171 |
# File 'lib/softlayer/product/package.rb', line 168 def get_cloud_storage_items(provider = nil) = {provider: provider} request(:get_cloud_storage_items, Array[Softlayer::Product::Item], ) end |
#get_configuration ⇒ Object
173 174 175 |
# File 'lib/softlayer/product/package.rb', line 173 def get_configuration request(:get_configuration, Array[Softlayer::Product::Package::Order::Configuration]) end |
#get_default_ram_items ⇒ Object
177 178 179 |
# File 'lib/softlayer/product/package.rb', line 177 def get_default_ram_items request(:get_default_ram_items, Array[Softlayer::Product::Item]) end |
#get_deployment_node_type ⇒ Object
181 182 183 |
# File 'lib/softlayer/product/package.rb', line 181 def get_deployment_node_type request(:get_deployment_node_type, String) end |
#get_deployment_packages ⇒ Object
185 186 187 |
# File 'lib/softlayer/product/package.rb', line 185 def get_deployment_packages request(:get_deployment_packages, Array[Softlayer::Product::Package]) end |
#get_deployment_type ⇒ Object
189 190 191 |
# File 'lib/softlayer/product/package.rb', line 189 def get_deployment_type request(:get_deployment_type, String) end |
#get_deployments ⇒ Object
193 194 195 |
# File 'lib/softlayer/product/package.rb', line 193 def get_deployments request(:get_deployments, Array[Softlayer::Product::Package]) end |
#get_disallow_custom_disk_partitions ⇒ Object
197 198 199 |
# File 'lib/softlayer/product/package.rb', line 197 def get_disallow_custom_disk_partitions request(:get_disallow_custom_disk_partitions, Boolean) end |
#get_first_order_step ⇒ Object
201 202 203 |
# File 'lib/softlayer/product/package.rb', line 201 def get_first_order_step request(:get_first_order_step, Softlayer::Product::Package::Order::Step) end |
#get_gateway_appliance_flag ⇒ Object
205 206 207 |
# File 'lib/softlayer/product/package.rb', line 205 def get_gateway_appliance_flag request(:get_gateway_appliance_flag, Boolean) end |
#get_gpu_flag ⇒ Object
209 210 211 |
# File 'lib/softlayer/product/package.rb', line 209 def get_gpu_flag request(:get_gpu_flag, Boolean) end |
#get_hourly_billing_available_flag ⇒ Object
213 214 215 |
# File 'lib/softlayer/product/package.rb', line 213 def get_hourly_billing_available_flag request(:get_hourly_billing_available_flag, Boolean) end |
#get_item_conflicts ⇒ Object
221 222 223 |
# File 'lib/softlayer/product/package.rb', line 221 def get_item_conflicts request(:get_item_conflicts, Array[Softlayer::Product::Item::Resource::Conflict]) end |
#get_item_location_conflicts ⇒ Object
225 226 227 |
# File 'lib/softlayer/product/package.rb', line 225 def get_item_location_conflicts request(:get_item_location_conflicts, Array[Softlayer::Product::Item::Resource::Conflict]) end |
#get_item_price_references ⇒ Object
229 230 231 |
# File 'lib/softlayer/product/package.rb', line 229 def get_item_price_references request(:get_item_price_references, Array[Softlayer::Product::Package::Item::Prices]) end |
#get_item_prices ⇒ Object
233 234 235 |
# File 'lib/softlayer/product/package.rb', line 233 def get_item_prices request(:get_item_prices, Array[Softlayer::Product::Item::Price]) end |
#get_item_prices_from_software_descriptions(software_descriptions = nil, include_translations_flag = nil, return_all_prices_flag = nil) ⇒ Object
237 238 239 240 |
# File 'lib/softlayer/product/package.rb', line 237 def get_item_prices_from_software_descriptions(software_descriptions = nil, include_translations_flag = nil, return_all_prices_flag = nil) = {software_descriptions: software_descriptions, include_translations_flag: include_translations_flag, return_all_prices_flag: return_all_prices_flag} request(:get_item_prices_from_software_descriptions, Array[Softlayer::Product::Item::Price], ) end |
#get_items ⇒ Object
242 243 244 |
# File 'lib/softlayer/product/package.rb', line 242 def get_items request(:get_items, Array[Softlayer::Product::Item]) end |
#get_items_from_image_template(image_template = nil) ⇒ Object
246 247 248 249 |
# File 'lib/softlayer/product/package.rb', line 246 def get_items_from_image_template(image_template = nil) = {image_template: image_template} request(:get_items_from_image_template, Array[Softlayer::Product::Item], ) end |
#get_locations ⇒ Object
251 252 253 |
# File 'lib/softlayer/product/package.rb', line 251 def get_locations request(:get_locations, Array[Softlayer::Location]) end |
#get_lowest_server_price ⇒ Object
255 256 257 |
# File 'lib/softlayer/product/package.rb', line 255 def get_lowest_server_price request(:get_lowest_server_price, Softlayer::Product::Item::Price) end |
#get_maximum_port_speed ⇒ Object
259 260 261 |
# File 'lib/softlayer/product/package.rb', line 259 def get_maximum_port_speed request(:get_maximum_port_speed, Integer) end |
#get_message_queue_items ⇒ Object
263 264 265 |
# File 'lib/softlayer/product/package.rb', line 263 def request(:get_message_queue_items, Array[Softlayer::Product::Item]) end |
#get_minimum_port_speed ⇒ Object
267 268 269 |
# File 'lib/softlayer/product/package.rb', line 267 def get_minimum_port_speed request(:get_minimum_port_speed, Integer) end |
#get_mongo_db_engineered_flag ⇒ Object
271 272 273 |
# File 'lib/softlayer/product/package.rb', line 271 def get_mongo_db_engineered_flag request(:get_mongo_db_engineered_flag, Boolean) end |
#get_object ⇒ Object
275 276 277 |
# File 'lib/softlayer/product/package.rb', line 275 def get_object request(:get_object, Softlayer::Product::Package) end |
#get_object_storage_datacenters ⇒ Object
279 280 281 |
# File 'lib/softlayer/product/package.rb', line 279 def get_object_storage_datacenters request(:get_object_storage_datacenters, Array[Softlayer::Container::Product::Order::Network::Storage::Hub::Datacenter]) end |
#get_order_premiums ⇒ Object
283 284 285 |
# File 'lib/softlayer/product/package.rb', line 283 def get_order_premiums request(:get_order_premiums, Array[Softlayer::Product::Item::Price::Premium]) end |
#get_preconfigured_flag ⇒ Object
287 288 289 |
# File 'lib/softlayer/product/package.rb', line 287 def get_preconfigured_flag request(:get_preconfigured_flag, Boolean) end |
#get_preset_configuration_required_flag ⇒ Object
291 292 293 |
# File 'lib/softlayer/product/package.rb', line 291 def get_preset_configuration_required_flag request(:get_preset_configuration_required_flag, Boolean) end |
#get_prevent_vlan_selection_flag ⇒ Object
295 296 297 |
# File 'lib/softlayer/product/package.rb', line 295 def get_prevent_vlan_selection_flag request(:get_prevent_vlan_selection_flag, Boolean) end |
#get_private_hosted_cloud_package_flag ⇒ Object
299 300 301 |
# File 'lib/softlayer/product/package.rb', line 299 def get_private_hosted_cloud_package_flag request(:get_private_hosted_cloud_package_flag, Boolean) end |
#get_private_hosted_cloud_package_type ⇒ Object
303 304 305 |
# File 'lib/softlayer/product/package.rb', line 303 def get_private_hosted_cloud_package_type request(:get_private_hosted_cloud_package_type, String) end |
#get_private_network_only_flag ⇒ Object
307 308 309 |
# File 'lib/softlayer/product/package.rb', line 307 def get_private_network_only_flag request(:get_private_network_only_flag, Boolean) end |
#get_quanta_stor_package_flag ⇒ Object
311 312 313 |
# File 'lib/softlayer/product/package.rb', line 311 def get_quanta_stor_package_flag request(:get_quanta_stor_package_flag, Boolean) end |
#get_raid_disk_restriction_flag ⇒ Object
315 316 317 |
# File 'lib/softlayer/product/package.rb', line 315 def get_raid_disk_restriction_flag request(:get_raid_disk_restriction_flag, Boolean) end |
#get_redundant_power_flag ⇒ Object
319 320 321 |
# File 'lib/softlayer/product/package.rb', line 319 def get_redundant_power_flag request(:get_redundant_power_flag, Boolean) end |
#get_regions ⇒ Object
323 324 325 |
# File 'lib/softlayer/product/package.rb', line 323 def get_regions request(:get_regions, Array[Softlayer::Location::Region]) end |
#get_resource_group_template ⇒ Object
327 328 329 |
# File 'lib/softlayer/product/package.rb', line 327 def get_resource_group_template request(:get_resource_group_template, Softlayer::Resource::Group::Template) end |
#get_standard_categories ⇒ Object
331 332 333 |
# File 'lib/softlayer/product/package.rb', line 331 def get_standard_categories request(:get_standard_categories, Array[Softlayer::Product::Item::Category]) end |
#get_top_level_item_category_code ⇒ Object
335 336 337 |
# File 'lib/softlayer/product/package.rb', line 335 def get_top_level_item_category_code request(:get_top_level_item_category_code, String) end |