Class: Softlayer::Account::Contact
- Defined in:
- lib/softlayer/account/contact.rb,
lib/softlayer/account/contact/type.rb
Defined Under Namespace
Classes: Representer, Type
Constant Summary collapse
- SERVICE =
'SoftLayer_Account_Contact'
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
-
#account_id ⇒ Object
Returns the value of attribute account_id.
-
#address1 ⇒ Object
Returns the value of attribute address1.
-
#address2 ⇒ Object
Returns the value of attribute address2.
-
#alternate_phone ⇒ Object
Returns the value of attribute alternate_phone.
-
#city ⇒ Object
Returns the value of attribute city.
-
#company_name ⇒ Object
Returns the value of attribute company_name.
-
#country ⇒ Object
Returns the value of attribute country.
-
#create_date ⇒ Object
Returns the value of attribute create_date.
-
#email ⇒ Object
Returns the value of attribute email.
-
#fax_phone ⇒ Object
Returns the value of attribute fax_phone.
-
#first_name ⇒ Object
Returns the value of attribute first_name.
-
#id ⇒ Object
Returns the value of attribute id.
-
#job_title ⇒ Object
Returns the value of attribute job_title.
-
#last_name ⇒ Object
Returns the value of attribute last_name.
-
#modify_date ⇒ Object
Returns the value of attribute modify_date.
-
#office_phone ⇒ Object
Returns the value of attribute office_phone.
-
#postal_code ⇒ Object
Returns the value of attribute postal_code.
-
#profile_name ⇒ Object
Returns the value of attribute profile_name.
-
#state ⇒ Object
Returns the value of attribute state.
-
#type ⇒ Object
Returns the value of attribute type.
-
#type_id ⇒ Object
Returns the value of attribute type_id.
-
#url ⇒ Object
Returns the value of attribute url.
Class Method Summary collapse
-
.create_object(message) ⇒ Object
template_object.
- .get_all_contact_types ⇒ Object
Instance Method Summary collapse
- #delete_object ⇒ Object
-
#edit_object(message) ⇒ Object
template_object.
- #get_account ⇒ Object
- #get_object ⇒ 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
#account ⇒ Object
Returns the value of attribute account.
27 28 29 |
# File 'lib/softlayer/account/contact.rb', line 27 def account @account end |
#account_id ⇒ Object
Returns the value of attribute account_id.
6 7 8 |
# File 'lib/softlayer/account/contact.rb', line 6 def account_id @account_id end |
#address1 ⇒ Object
Returns the value of attribute address1.
7 8 9 |
# File 'lib/softlayer/account/contact.rb', line 7 def address1 @address1 end |
#address2 ⇒ Object
Returns the value of attribute address2.
8 9 10 |
# File 'lib/softlayer/account/contact.rb', line 8 def address2 @address2 end |
#alternate_phone ⇒ Object
Returns the value of attribute alternate_phone.
9 10 11 |
# File 'lib/softlayer/account/contact.rb', line 9 def alternate_phone @alternate_phone end |
#city ⇒ Object
Returns the value of attribute city.
10 11 12 |
# File 'lib/softlayer/account/contact.rb', line 10 def city @city end |
#company_name ⇒ Object
Returns the value of attribute company_name.
11 12 13 |
# File 'lib/softlayer/account/contact.rb', line 11 def company_name @company_name end |
#country ⇒ Object
Returns the value of attribute country.
12 13 14 |
# File 'lib/softlayer/account/contact.rb', line 12 def country @country end |
#create_date ⇒ Object
Returns the value of attribute create_date.
13 14 15 |
# File 'lib/softlayer/account/contact.rb', line 13 def create_date @create_date end |
#email ⇒ Object
Returns the value of attribute email.
14 15 16 |
# File 'lib/softlayer/account/contact.rb', line 14 def email @email end |
#fax_phone ⇒ Object
Returns the value of attribute fax_phone.
15 16 17 |
# File 'lib/softlayer/account/contact.rb', line 15 def fax_phone @fax_phone end |
#first_name ⇒ Object
Returns the value of attribute first_name.
16 17 18 |
# File 'lib/softlayer/account/contact.rb', line 16 def first_name @first_name end |
#id ⇒ Object
Returns the value of attribute id.
17 18 19 |
# File 'lib/softlayer/account/contact.rb', line 17 def id @id end |
#job_title ⇒ Object
Returns the value of attribute job_title.
18 19 20 |
# File 'lib/softlayer/account/contact.rb', line 18 def job_title @job_title end |
#last_name ⇒ Object
Returns the value of attribute last_name.
19 20 21 |
# File 'lib/softlayer/account/contact.rb', line 19 def last_name @last_name end |
#modify_date ⇒ Object
Returns the value of attribute modify_date.
20 21 22 |
# File 'lib/softlayer/account/contact.rb', line 20 def modify_date @modify_date end |
#office_phone ⇒ Object
Returns the value of attribute office_phone.
21 22 23 |
# File 'lib/softlayer/account/contact.rb', line 21 def office_phone @office_phone end |
#postal_code ⇒ Object
Returns the value of attribute postal_code.
22 23 24 |
# File 'lib/softlayer/account/contact.rb', line 22 def postal_code @postal_code end |
#profile_name ⇒ Object
Returns the value of attribute profile_name.
23 24 25 |
# File 'lib/softlayer/account/contact.rb', line 23 def profile_name @profile_name end |
#state ⇒ Object
Returns the value of attribute state.
24 25 26 |
# File 'lib/softlayer/account/contact.rb', line 24 def state @state end |
#type ⇒ Object
Returns the value of attribute type.
28 29 30 |
# File 'lib/softlayer/account/contact.rb', line 28 def type @type end |
#type_id ⇒ Object
Returns the value of attribute type_id.
25 26 27 |
# File 'lib/softlayer/account/contact.rb', line 25 def type_id @type_id end |
#url ⇒ Object
Returns the value of attribute url.
26 27 28 |
# File 'lib/softlayer/account/contact.rb', line 26 def url @url end |
Class Method Details
Instance Method Details
#delete_object ⇒ Object
35 36 37 |
# File 'lib/softlayer/account/contact.rb', line 35 def delete_object request(:delete_object, Boolean) end |
#edit_object(message) ⇒ Object
template_object
40 41 42 |
# File 'lib/softlayer/account/contact.rb', line 40 def edit_object() request(:edit_object, Boolean, ) end |
#get_account ⇒ Object
44 45 46 |
# File 'lib/softlayer/account/contact.rb', line 44 def get_account request(:get_account, Softlayer::Account) end |