Class: Softlayer::Layout::Item
- Defined in:
- lib/softlayer/layout/item.rb,
lib/softlayer/layout/item/type.rb
Defined Under Namespace
Classes: Representer, Type
Constant Summary collapse
- SERVICE =
'SoftLayer_Layout_Item'
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#keyname ⇒ Object
Returns the value of attribute keyname.
-
#layout_item_preference_count ⇒ Object
Returns the value of attribute layout_item_preference_count.
-
#layout_item_preferences ⇒ Object
Returns the value of attribute layout_item_preferences.
-
#layout_item_type ⇒ Object
Returns the value of attribute layout_item_type.
-
#layout_item_type_id ⇒ Object
Returns the value of attribute layout_item_type_id.
-
#name ⇒ Object
Returns the value of attribute name.
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
#id ⇒ Object
Returns the value of attribute id.
6 7 8 |
# File 'lib/softlayer/layout/item.rb', line 6 def id @id end |
#keyname ⇒ Object
Returns the value of attribute keyname.
7 8 9 |
# File 'lib/softlayer/layout/item.rb', line 7 def keyname @keyname end |
#layout_item_preference_count ⇒ Object
Returns the value of attribute layout_item_preference_count.
10 11 12 |
# File 'lib/softlayer/layout/item.rb', line 10 def layout_item_preference_count @layout_item_preference_count end |
#layout_item_preferences ⇒ Object
Returns the value of attribute layout_item_preferences.
11 12 13 |
# File 'lib/softlayer/layout/item.rb', line 11 def layout_item_preferences @layout_item_preferences end |
#layout_item_type ⇒ Object
Returns the value of attribute layout_item_type.
12 13 14 |
# File 'lib/softlayer/layout/item.rb', line 12 def layout_item_type @layout_item_type end |
#layout_item_type_id ⇒ Object
Returns the value of attribute layout_item_type_id.
8 9 10 |
# File 'lib/softlayer/layout/item.rb', line 8 def layout_item_type_id @layout_item_type_id end |
#name ⇒ Object
Returns the value of attribute name.
9 10 11 |
# File 'lib/softlayer/layout/item.rb', line 9 def name @name end |
Instance Method Details
#get_layout_item_preferences ⇒ Object
14 15 16 |
# File 'lib/softlayer/layout/item.rb', line 14 def get_layout_item_preferences request(:get_layout_item_preferences, Array[Softlayer::Layout::Preference]) end |