Class: Softlayer::Scale::Asset
- Defined in:
- lib/softlayer/scale/asset.rb,
lib/softlayer/scale/asset/virtual.rb,
lib/softlayer/scale/asset/hardware.rb,
lib/softlayer/scale/asset/virtual/guest.rb
Direct Known Subclasses
Defined Under Namespace
Modules: Virtual Classes: Hardware, Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Scale_Asset'
Instance Attribute Summary collapse
-
#create_date ⇒ Object
Returns the value of attribute create_date.
-
#delete_flag ⇒ Object
Returns the value of attribute delete_flag.
-
#id ⇒ Object
Returns the value of attribute id.
-
#scale_group ⇒ Object
Returns the value of attribute scale_group.
-
#scale_group_id ⇒ Object
Returns the value of attribute scale_group_id.
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
#create_date ⇒ Object
Returns the value of attribute create_date.
7 8 9 |
# File 'lib/softlayer/scale/asset.rb', line 7 def create_date @create_date end |
#delete_flag ⇒ Object
Returns the value of attribute delete_flag.
8 9 10 |
# File 'lib/softlayer/scale/asset.rb', line 8 def delete_flag @delete_flag end |
#id ⇒ Object
Returns the value of attribute id.
9 10 11 |
# File 'lib/softlayer/scale/asset.rb', line 9 def id @id end |
#scale_group ⇒ Object
Returns the value of attribute scale_group.
11 12 13 |
# File 'lib/softlayer/scale/asset.rb', line 11 def scale_group @scale_group end |
#scale_group_id ⇒ Object
Returns the value of attribute scale_group_id.
10 11 12 |
# File 'lib/softlayer/scale/asset.rb', line 10 def scale_group_id @scale_group_id end |
Instance Method Details
#delete_object ⇒ Object
13 14 15 |
# File 'lib/softlayer/scale/asset.rb', line 13 def delete_object request(:delete_object, Boolean) end |