Class: Softlayer::Provisioning::Hook
- Defined in:
- lib/softlayer/provisioning/hook.rb,
lib/softlayer/provisioning/hook/type.rb
Defined Under Namespace
Classes: Representer, Type
Constant Summary collapse
- SERVICE =
'SoftLayer_Provisioning_Hook'
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
-
#account_id ⇒ Object
Returns the value of attribute account_id.
-
#create_date ⇒ Object
Returns the value of attribute create_date.
-
#hook_type ⇒ Object
Returns the value of attribute hook_type.
-
#id ⇒ Object
Returns the value of attribute id.
-
#modify_date ⇒ Object
Returns the value of attribute modify_date.
-
#name ⇒ Object
Returns the value of attribute name.
-
#type_id ⇒ Object
Returns the value of attribute type_id.
-
#uri ⇒ Object
Returns the value of attribute uri.
Class Method Summary collapse
-
.create_object(message) ⇒ Object
template_object.
Instance Method Summary collapse
- #delete_object ⇒ Object
-
#edit_object(message) ⇒ Object
template_object.
- #get_account ⇒ Object
- #get_hook_type ⇒ Object
- #get_object ⇒ 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
#account ⇒ Object
Returns the value of attribute account.
13 14 15 |
# File 'lib/softlayer/provisioning/hook.rb', line 13 def account @account end |
#account_id ⇒ Object
Returns the value of attribute account_id.
6 7 8 |
# File 'lib/softlayer/provisioning/hook.rb', line 6 def account_id @account_id end |
#create_date ⇒ Object
Returns the value of attribute create_date.
7 8 9 |
# File 'lib/softlayer/provisioning/hook.rb', line 7 def create_date @create_date end |
#hook_type ⇒ Object
Returns the value of attribute hook_type.
14 15 16 |
# File 'lib/softlayer/provisioning/hook.rb', line 14 def hook_type @hook_type end |
#id ⇒ Object
Returns the value of attribute id.
8 9 10 |
# File 'lib/softlayer/provisioning/hook.rb', line 8 def id @id end |
#modify_date ⇒ Object
Returns the value of attribute modify_date.
9 10 11 |
# File 'lib/softlayer/provisioning/hook.rb', line 9 def modify_date @modify_date end |
#name ⇒ Object
Returns the value of attribute name.
10 11 12 |
# File 'lib/softlayer/provisioning/hook.rb', line 10 def name @name end |
#type_id ⇒ Object
Returns the value of attribute type_id.
11 12 13 |
# File 'lib/softlayer/provisioning/hook.rb', line 11 def type_id @type_id end |
#uri ⇒ Object
Returns the value of attribute uri.
12 13 14 |
# File 'lib/softlayer/provisioning/hook.rb', line 12 def uri @uri end |
Class Method Details
.create_object(message) ⇒ Object
template_object
17 18 19 |
# File 'lib/softlayer/provisioning/hook.rb', line 17 def self.create_object() request(:create_object, Softlayer::Provisioning::Hook, ) end |
Instance Method Details
#delete_object ⇒ Object
21 22 23 |
# File 'lib/softlayer/provisioning/hook.rb', line 21 def delete_object request(:delete_object, Boolean) end |
#edit_object(message) ⇒ Object
template_object
26 27 28 |
# File 'lib/softlayer/provisioning/hook.rb', line 26 def edit_object() request(:edit_object, Boolean, ) end |
#get_account ⇒ Object
30 31 32 |
# File 'lib/softlayer/provisioning/hook.rb', line 30 def get_account request(:get_account, Softlayer::Account) end |
#get_hook_type ⇒ Object
34 35 36 |
# File 'lib/softlayer/provisioning/hook.rb', line 34 def get_hook_type request(:get_hook_type, Softlayer::Provisioning::Hook::Type) end |
#get_object ⇒ Object
38 39 40 |
# File 'lib/softlayer/provisioning/hook.rb', line 38 def get_object request(:get_object, Softlayer::Provisioning::Hook) end |