Class: Softlayer::Product::Package::Server

Inherits:
Entity
  • Object
show all
Defined in:
lib/softlayer/product/package/server.rb,
lib/softlayer/product/package/server/option.rb

Defined Under Namespace

Classes: Option, Representer

Constant Summary collapse

SERVICE =
'SoftLayer_Product_Package_Server'

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

#catalogObject

Returns the value of attribute catalog.



41
42
43
# File 'lib/softlayer/product/package/server.rb', line 41

def catalog
  @catalog
end

#catalog_idObject

Returns the value of attribute catalog_id.



7
8
9
# File 'lib/softlayer/product/package/server.rb', line 7

def catalog_id
  @catalog_id
end

#datacentersObject

Returns the value of attribute datacenters.



8
9
10
# File 'lib/softlayer/product/package/server.rb', line 8

def datacenters
  @datacenters
end

#default_ram_capacityObject

Returns the value of attribute default_ram_capacity.



9
10
11
# File 'lib/softlayer/product/package/server.rb', line 9

def default_ram_capacity
  @default_ram_capacity
end

#dual_path_network_flagObject

Returns the value of attribute dual_path_network_flag.



10
11
12
# File 'lib/softlayer/product/package/server.rb', line 10

def dual_path_network_flag
  @dual_path_network_flag
end

#gpu_flagObject

Returns the value of attribute gpu_flag.



11
12
13
# File 'lib/softlayer/product/package/server.rb', line 11

def gpu_flag
  @gpu_flag
end

#hourly_billing_flagObject

Returns the value of attribute hourly_billing_flag.



12
13
14
# File 'lib/softlayer/product/package/server.rb', line 12

def hourly_billing_flag
  @hourly_billing_flag
end

#idObject

Returns the value of attribute id.



13
14
15
# File 'lib/softlayer/product/package/server.rb', line 13

def id
  @id
end

#itemObject

Returns the value of attribute item.



42
43
44
# File 'lib/softlayer/product/package/server.rb', line 42

def item
  @item
end

#item_idObject

Returns the value of attribute item_id.



14
15
16
# File 'lib/softlayer/product/package/server.rb', line 14

def item_id
  @item_id
end

#item_priceObject

Returns the value of attribute item_price.



43
44
45
# File 'lib/softlayer/product/package/server.rb', line 43

def item_price
  @item_price
end

#item_price_idObject

Returns the value of attribute item_price_id.



15
16
17
# File 'lib/softlayer/product/package/server.rb', line 15

def item_price_id
  @item_price_id
end

#maximum_drive_countObject

Returns the value of attribute maximum_drive_count.



16
17
18
# File 'lib/softlayer/product/package/server.rb', line 16

def maximum_drive_count
  @maximum_drive_count
end

#maximum_port_speedObject

Returns the value of attribute maximum_port_speed.



17
18
19
# File 'lib/softlayer/product/package/server.rb', line 17

def maximum_port_speed
  @maximum_port_speed
end

#maximum_ram_capacityObject

Returns the value of attribute maximum_ram_capacity.



18
19
20
# File 'lib/softlayer/product/package/server.rb', line 18

def maximum_ram_capacity
  @maximum_ram_capacity
end

#minimum_port_speedObject

Returns the value of attribute minimum_port_speed.



19
20
21
# File 'lib/softlayer/product/package/server.rb', line 19

def minimum_port_speed
  @minimum_port_speed
end

#outlet_flagObject

Returns the value of attribute outlet_flag.



20
21
22
# File 'lib/softlayer/product/package/server.rb', line 20

def outlet_flag
  @outlet_flag
end

#packageObject

Returns the value of attribute package.



44
45
46
# File 'lib/softlayer/product/package/server.rb', line 44

def package
  @package
end

#package_idObject

Returns the value of attribute package_id.



21
22
23
# File 'lib/softlayer/product/package/server.rb', line 21

def package_id
  @package_id
end

#package_typeObject

Returns the value of attribute package_type.



22
23
24
# File 'lib/softlayer/product/package/server.rb', line 22

def package_type
  @package_type
end

#power_server_flagObject

Returns the value of attribute power_server_flag.



23
24
25
# File 'lib/softlayer/product/package/server.rb', line 23

def power_server_flag
  @power_server_flag
end

#presetObject

Returns the value of attribute preset.



45
46
47
# File 'lib/softlayer/product/package/server.rb', line 45

def preset
  @preset
end

#preset_idObject

Returns the value of attribute preset_id.



24
25
26
# File 'lib/softlayer/product/package/server.rb', line 24

def preset_id
  @preset_id
end

#private_network_only_flagObject

Returns the value of attribute private_network_only_flag.



25
26
27
# File 'lib/softlayer/product/package/server.rb', line 25

def private_network_only_flag
  @private_network_only_flag
end

#processor_bus_speedObject

Returns the value of attribute processor_bus_speed.



26
27
28
# File 'lib/softlayer/product/package/server.rb', line 26

def processor_bus_speed
  @processor_bus_speed
end

#processor_cacheObject

Returns the value of attribute processor_cache.



27
28
29
# File 'lib/softlayer/product/package/server.rb', line 27

def processor_cache
  @processor_cache
end

#processor_coresObject

Returns the value of attribute processor_cores.



28
29
30
# File 'lib/softlayer/product/package/server.rb', line 28

def processor_cores
  @processor_cores
end

#processor_countObject

Returns the value of attribute processor_count.



29
30
31
# File 'lib/softlayer/product/package/server.rb', line 29

def processor_count
  @processor_count
end

#processor_manufacturerObject

Returns the value of attribute processor_manufacturer.



30
31
32
# File 'lib/softlayer/product/package/server.rb', line 30

def processor_manufacturer
  @processor_manufacturer
end

#processor_modelObject

Returns the value of attribute processor_model.



31
32
33
# File 'lib/softlayer/product/package/server.rb', line 31

def processor_model
  @processor_model
end

#processor_nameObject

Returns the value of attribute processor_name.



32
33
34
# File 'lib/softlayer/product/package/server.rb', line 32

def processor_name
  @processor_name
end

#processor_speedObject

Returns the value of attribute processor_speed.



33
34
35
# File 'lib/softlayer/product/package/server.rb', line 33

def processor_speed
  @processor_speed
end

#product_nameObject

Returns the value of attribute product_name.



34
35
36
# File 'lib/softlayer/product/package/server.rb', line 34

def product_name
  @product_name
end

#redundant_power_flagObject

Returns the value of attribute redundant_power_flag.



35
36
37
# File 'lib/softlayer/product/package/server.rb', line 35

def redundant_power_flag
  @redundant_power_flag
end

#starting_hourly_priceObject

Returns the value of attribute starting_hourly_price.



36
37
38
# File 'lib/softlayer/product/package/server.rb', line 36

def starting_hourly_price
  @starting_hourly_price
end

#starting_monthly_priceObject

Returns the value of attribute starting_monthly_price.



37
38
39
# File 'lib/softlayer/product/package/server.rb', line 37

def starting_monthly_price
  @starting_monthly_price
end

#total_core_countObject

Returns the value of attribute total_core_count.



38
39
40
# File 'lib/softlayer/product/package/server.rb', line 38

def total_core_count
  @total_core_count
end

#txt_tpm_flagObject

Returns the value of attribute txt_tpm_flag.



39
40
41
# File 'lib/softlayer/product/package/server.rb', line 39

def txt_tpm_flag
  @txt_tpm_flag
end

#unit_sizeObject

Returns the value of attribute unit_size.



40
41
42
# File 'lib/softlayer/product/package/server.rb', line 40

def unit_size
  @unit_size
end

Class Method Details

.get_all_objectsObject



47
48
49
# File 'lib/softlayer/product/package/server.rb', line 47

def self.get_all_objects
  request(:get_all_objects, Array[Softlayer::Product::Package::Server])
end

Instance Method Details

#get_catalogObject



51
52
53
# File 'lib/softlayer/product/package/server.rb', line 51

def get_catalog
  request(:get_catalog, Softlayer::Product::Catalog)
end

#get_itemObject



55
56
57
# File 'lib/softlayer/product/package/server.rb', line 55

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

#get_item_priceObject



59
60
61
# File 'lib/softlayer/product/package/server.rb', line 59

def get_item_price
  request(:get_item_price, Softlayer::Product::Item::Price)
end

#get_objectObject



63
64
65
# File 'lib/softlayer/product/package/server.rb', line 63

def get_object
  request(:get_object, Softlayer::Product::Package::Server)
end

#get_packageObject



67
68
69
# File 'lib/softlayer/product/package/server.rb', line 67

def get_package
  request(:get_package, Softlayer::Product::Package)
end

#get_presetObject



71
72
73
# File 'lib/softlayer/product/package/server.rb', line 71

def get_preset
  request(:get_preset, Softlayer::Product::Package::Preset)
end