Class: Softlayer::Scale::Policy::Action
- Defined in:
- lib/softlayer/scale/policy/action.rb,
lib/softlayer/scale/policy/action/type.rb,
lib/softlayer/scale/policy/action/scale.rb
Direct Known Subclasses
Defined Under Namespace
Classes: Representer, Scale, Type
Constant Summary collapse
- SERVICE =
'SoftLayer_Scale_Policy_Action'
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.
-
#modify_date ⇒ Object
Returns the value of attribute modify_date.
-
#scale_policy ⇒ Object
Returns the value of attribute scale_policy.
-
#scale_policy_id ⇒ Object
Returns the value of attribute scale_policy_id.
-
#type ⇒ Object
Returns the value of attribute type.
-
#type_id ⇒ Object
Returns the value of attribute type_id.
Instance Method Summary collapse
- #delete_object ⇒ Object
-
#edit_object(message) ⇒ Object
template_object.
- #get_object ⇒ Object
- #get_scale_policy ⇒ Object
- #get_type ⇒ Object
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.
8 9 10 |
# File 'lib/softlayer/scale/policy/action.rb', line 8 def create_date @create_date end |
#delete_flag ⇒ Object
Returns the value of attribute delete_flag.
9 10 11 |
# File 'lib/softlayer/scale/policy/action.rb', line 9 def delete_flag @delete_flag end |
#id ⇒ Object
Returns the value of attribute id.
10 11 12 |
# File 'lib/softlayer/scale/policy/action.rb', line 10 def id @id end |
#modify_date ⇒ Object
Returns the value of attribute modify_date.
11 12 13 |
# File 'lib/softlayer/scale/policy/action.rb', line 11 def modify_date @modify_date end |
#scale_policy ⇒ Object
Returns the value of attribute scale_policy.
14 15 16 |
# File 'lib/softlayer/scale/policy/action.rb', line 14 def scale_policy @scale_policy end |
#scale_policy_id ⇒ Object
Returns the value of attribute scale_policy_id.
12 13 14 |
# File 'lib/softlayer/scale/policy/action.rb', line 12 def scale_policy_id @scale_policy_id end |
#type ⇒ Object
Returns the value of attribute type.
15 16 17 |
# File 'lib/softlayer/scale/policy/action.rb', line 15 def type @type end |
#type_id ⇒ Object
Returns the value of attribute type_id.
13 14 15 |
# File 'lib/softlayer/scale/policy/action.rb', line 13 def type_id @type_id end |
Instance Method Details
#delete_object ⇒ Object
17 18 19 |
# File 'lib/softlayer/scale/policy/action.rb', line 17 def delete_object request(:delete_object, Boolean) end |
#edit_object(message) ⇒ Object
template_object
22 23 24 |
# File 'lib/softlayer/scale/policy/action.rb', line 22 def edit_object() request(:edit_object, Boolean, ) end |
#get_object ⇒ Object
26 27 28 |
# File 'lib/softlayer/scale/policy/action.rb', line 26 def get_object request(:get_object, Softlayer::Scale::Policy::Action) end |