Class: Softlayer::Account::Note
- Defined in:
- lib/softlayer/account/note.rb,
lib/softlayer/account/note/type.rb,
lib/softlayer/account/note/history.rb
Defined Under Namespace
Classes: History, Representer, Type
Constant Summary collapse
- SERVICE =
'SoftLayer_Account_Note'
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.
-
#customer ⇒ Object
Returns the value of attribute customer.
-
#id ⇒ Object
Returns the value of attribute id.
-
#modify_date ⇒ Object
Returns the value of attribute modify_date.
-
#note ⇒ Object
Returns the value of attribute note.
-
#note_history ⇒ Object
Returns the value of attribute note_history.
-
#note_history_count ⇒ Object
Returns the value of attribute note_history_count.
-
#note_type ⇒ Object
Returns the value of attribute note_type.
-
#note_type_id ⇒ Object
Returns the value of attribute note_type_id.
-
#user_id ⇒ Object
Returns the value of attribute user_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_account ⇒ Object
- #get_customer ⇒ Object
- #get_note_history ⇒ Object
- #get_note_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.
15 16 17 |
# File 'lib/softlayer/account/note.rb', line 15 def account @account end |
#account_id ⇒ Object
Returns the value of attribute account_id.
7 8 9 |
# File 'lib/softlayer/account/note.rb', line 7 def account_id @account_id end |
#create_date ⇒ Object
Returns the value of attribute create_date.
8 9 10 |
# File 'lib/softlayer/account/note.rb', line 8 def create_date @create_date end |
#customer ⇒ Object
Returns the value of attribute customer.
16 17 18 |
# File 'lib/softlayer/account/note.rb', line 16 def customer @customer end |
#id ⇒ Object
Returns the value of attribute id.
9 10 11 |
# File 'lib/softlayer/account/note.rb', line 9 def id @id end |
#modify_date ⇒ Object
Returns the value of attribute modify_date.
10 11 12 |
# File 'lib/softlayer/account/note.rb', line 10 def modify_date @modify_date end |
#note ⇒ Object
Returns the value of attribute note.
11 12 13 |
# File 'lib/softlayer/account/note.rb', line 11 def note @note end |
#note_history ⇒ Object
Returns the value of attribute note_history.
17 18 19 |
# File 'lib/softlayer/account/note.rb', line 17 def note_history @note_history end |
#note_history_count ⇒ Object
Returns the value of attribute note_history_count.
14 15 16 |
# File 'lib/softlayer/account/note.rb', line 14 def note_history_count @note_history_count end |
#note_type ⇒ Object
Returns the value of attribute note_type.
18 19 20 |
# File 'lib/softlayer/account/note.rb', line 18 def note_type @note_type end |
#note_type_id ⇒ Object
Returns the value of attribute note_type_id.
12 13 14 |
# File 'lib/softlayer/account/note.rb', line 12 def note_type_id @note_type_id end |
#user_id ⇒ Object
Returns the value of attribute user_id.
13 14 15 |
# File 'lib/softlayer/account/note.rb', line 13 def user_id @user_id end |
Class Method Details
Instance Method Details
#delete_object ⇒ Object
25 26 27 |
# File 'lib/softlayer/account/note.rb', line 25 def delete_object request(:delete_object, Boolean) end |
#edit_object(message) ⇒ Object
template_object
30 31 32 |
# File 'lib/softlayer/account/note.rb', line 30 def edit_object() request(:edit_object, Boolean, ) end |
#get_account ⇒ Object
34 35 36 |
# File 'lib/softlayer/account/note.rb', line 34 def get_account request(:get_account, Softlayer::Account) end |
#get_customer ⇒ Object
38 39 40 |
# File 'lib/softlayer/account/note.rb', line 38 def get_customer request(:get_customer, Softlayer::User::Customer) end |
#get_note_history ⇒ Object
42 43 44 |
# File 'lib/softlayer/account/note.rb', line 42 def get_note_history request(:get_note_history, Array[Softlayer::Account::Note::History]) end |