Class: Softlayer::Scale::Policy::Trigger
- Defined in:
- lib/softlayer/scale/policy/trigger.rb,
lib/softlayer/scale/policy/trigger/type.rb,
lib/softlayer/scale/policy/trigger/one_time.rb,
lib/softlayer/scale/policy/trigger/repeating.rb,
lib/softlayer/scale/policy/trigger/resource_use.rb,
lib/softlayer/scale/policy/trigger/resource_use/watch.rb
Direct Known Subclasses
Defined Under Namespace
Classes: OneTime, Repeating, Representer, ResourceUse, Type
Constant Summary collapse
- SERVICE =
'SoftLayer_Scale_Policy_Trigger'
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.
Class Method Summary collapse
-
.create_object(message) ⇒ Object
template_object.
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.
10 11 12 |
# File 'lib/softlayer/scale/policy/trigger.rb', line 10 def create_date @create_date end |
#delete_flag ⇒ Object
Returns the value of attribute delete_flag.
11 12 13 |
# File 'lib/softlayer/scale/policy/trigger.rb', line 11 def delete_flag @delete_flag end |
#id ⇒ Object
Returns the value of attribute id.
12 13 14 |
# File 'lib/softlayer/scale/policy/trigger.rb', line 12 def id @id end |
#modify_date ⇒ Object
Returns the value of attribute modify_date.
13 14 15 |
# File 'lib/softlayer/scale/policy/trigger.rb', line 13 def modify_date @modify_date end |
#scale_policy ⇒ Object
Returns the value of attribute scale_policy.
16 17 18 |
# File 'lib/softlayer/scale/policy/trigger.rb', line 16 def scale_policy @scale_policy end |
#scale_policy_id ⇒ Object
Returns the value of attribute scale_policy_id.
14 15 16 |
# File 'lib/softlayer/scale/policy/trigger.rb', line 14 def scale_policy_id @scale_policy_id end |
#type ⇒ Object
Returns the value of attribute type.
17 18 19 |
# File 'lib/softlayer/scale/policy/trigger.rb', line 17 def type @type end |
#type_id ⇒ Object
Returns the value of attribute type_id.
15 16 17 |
# File 'lib/softlayer/scale/policy/trigger.rb', line 15 def type_id @type_id end |
Class Method Details
Instance Method Details
#delete_object ⇒ Object
24 25 26 |
# File 'lib/softlayer/scale/policy/trigger.rb', line 24 def delete_object request(:delete_object, Boolean) end |
#edit_object(message) ⇒ Object
template_object
29 30 31 |
# File 'lib/softlayer/scale/policy/trigger.rb', line 29 def edit_object() request(:edit_object, Boolean, ) end |
#get_object ⇒ Object
33 34 35 |
# File 'lib/softlayer/scale/policy/trigger.rb', line 33 def get_object request(:get_object, Softlayer::Scale::Policy::Trigger) end |