Class: Softlayer::Product::Item::Price

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

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

#account_restriction_countObject

Returns the value of attribute account_restriction_count.



27
28
29
# File 'lib/softlayer/product/item/price.rb', line 27

def 
  @account_restriction_count
end

#account_restrictionsObject

Returns the value of attribute account_restrictions.



36
37
38
# File 'lib/softlayer/product/item/price.rb', line 36

def 
  @account_restrictions
end

#attribute_countObject

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

#attributesObject

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_flagObject

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_countObject

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_referencesObject

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_maximumObject

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_minimumObject

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_typeObject

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

#categoriesObject

Returns the value of attribute categories.



43
44
45
# File 'lib/softlayer/product/item/price.rb', line 43

def categories
  @categories
end

#category_countObject

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_flagObject

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_flagObject

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_feeObject

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

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#inventoryObject

Returns the value of attribute inventory.



45
46
47
# File 'lib/softlayer/product/item/price.rb', line 45

def inventory
  @inventory
end

#inventory_countObject

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

#itemObject

Returns the value of attribute item.



46
47
48
# File 'lib/softlayer/product/item/price.rb', line 46

def item
  @item
end

#item_idObject

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_feeObject

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_idObject

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_flagObject

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_feeObject

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_taxObject

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_optionsObject

Returns the value of attribute order_options.



18
19
20
# File 'lib/softlayer/product/item/price.rb', line 18

def order_options
  @order_options
end

#order_premium_countObject

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_premiumsObject

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_countObject

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_countObject

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_referencesObject

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

#packagesObject

Returns the value of attribute packages.



49
50
51
# File 'lib/softlayer/product/item/price.rb', line 49

def packages
  @packages
end

#preset_configuration_countObject

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_configurationsObject

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_groupObject

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_feeObject

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_taxObject

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

#quantityObject

Returns the value of attribute quantity.



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

def quantity
  @quantity
end

#recurring_feeObject

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_taxObject

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_countObject

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_feeObject

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

#sortObject

Returns the value of attribute sort.



25
26
27
# File 'lib/softlayer/product/item/price.rb', line 25

def sort
  @sort
end

#usage_rateObject

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

.get_usage_rate_prices(message) ⇒ Object

location items



128
129
130
# File 'lib/softlayer/product/item/price.rb', line 128

def self.get_usage_rate_prices(message)
  request(:get_usage_rate_prices, Array[Softlayer::Product::Item::Price], message)
end

Instance Method Details

#get_account_restrictionsObject



54
55
56
# File 'lib/softlayer/product/item/price.rb', line 54

def 
  request(:get_account_restrictions, Array[Softlayer::Product::Item::Price::Account::Restriction])
end

#get_attributesObject



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_flagObject



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_referencesObject



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_maximumObject



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_minimumObject



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_typeObject



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_categoriesObject



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_flagObject



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_inventoryObject



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_itemObject



94
95
96
# File 'lib/softlayer/product/item/price.rb', line 94

def get_item
  request(:get_item, Softlayer::Product::Item)
end

#get_objectObject



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_premiumsObject



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_referencesObject



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_packagesObject



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_configurationsObject



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_groupObject



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_countObject



122
123
124
# File 'lib/softlayer/product/item/price.rb', line 122

def get_required_core_count
  request(:get_required_core_count, Integer)
end