Class: Softlayer::Scale::Policy::Trigger::Repeating
- Inherits:
-
Softlayer::Scale::Policy::Trigger
- Object
- Model
- Entity
- Softlayer::Scale::Policy::Trigger
- Softlayer::Scale::Policy::Trigger::Repeating
- Defined in:
- lib/softlayer/scale/policy/trigger/repeating.rb
Defined Under Namespace
Classes: Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Scale_Policy_Trigger_Repeating'
Instance Attribute Summary collapse
-
#schedule ⇒ Object
Returns the value of attribute schedule.
Attributes inherited from Softlayer::Scale::Policy::Trigger
#create_date, #delete_flag, #id, #modify_date, #scale_policy, #scale_policy_id, #type, #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
-
#validate_cron_expression(message) ⇒ Object
expression.
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
#schedule ⇒ Object
Returns the value of attribute schedule.
7 8 9 |
# File 'lib/softlayer/scale/policy/trigger/repeating.rb', line 7 def schedule @schedule end |
Class Method Details
Instance Method Details
#delete_object ⇒ Object
14 15 16 |
# File 'lib/softlayer/scale/policy/trigger/repeating.rb', line 14 def delete_object request(:delete_object, Boolean) end |
#edit_object(message) ⇒ Object
template_object
19 20 21 |
# File 'lib/softlayer/scale/policy/trigger/repeating.rb', line 19 def edit_object() request(:edit_object, Boolean, ) end |
#get_object ⇒ Object
23 24 25 |
# File 'lib/softlayer/scale/policy/trigger/repeating.rb', line 23 def get_object request(:get_object, Softlayer::Scale::Policy::Trigger::Repeating) end |
#get_scale_policy ⇒ Object
27 28 29 |
# File 'lib/softlayer/scale/policy/trigger/repeating.rb', line 27 def get_scale_policy request(:get_scale_policy, Softlayer::Scale::Policy) end |
#get_type ⇒ Object
31 32 33 |
# File 'lib/softlayer/scale/policy/trigger/repeating.rb', line 31 def get_type request(:get_type, Softlayer::Scale::Policy::Trigger::Type) end |
#validate_cron_expression(message) ⇒ Object
expression
36 37 38 |
# File 'lib/softlayer/scale/policy/trigger/repeating.rb', line 36 def validate_cron_expression() request(:validate_cron_expression, nil, ) end |