Class: Softlayer::Account::Address
- Defined in:
- lib/softlayer/account/address.rb,
lib/softlayer/account/address/type.rb
Defined Under Namespace
Classes: Representer, Type
Constant Summary collapse
- SERVICE =
'SoftLayer_Account_Address'
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.
-
#city ⇒ Object
Returns the value of attribute city.
-
#contact_name ⇒ Object
Returns the value of attribute contact_name.
-
#country ⇒ Object
Returns the value of attribute country.
-
#create_user ⇒ Object
Returns the value of attribute create_user.
-
#description ⇒ Object
Returns the value of attribute description.
-
#id ⇒ Object
Returns the value of attribute id.
-
#is_active ⇒ Object
Returns the value of attribute is_active.
-
#location ⇒ Object
Returns the value of attribute location.
-
#location_id ⇒ Object
Returns the value of attribute location_id.
-
#modify_employee ⇒ Object
Returns the value of attribute modify_employee.
-
#modify_user ⇒ Object
Returns the value of attribute modify_user.
-
#postal_code ⇒ Object
Returns the value of attribute postal_code.
-
#state ⇒ Object
Returns the value of attribute state.
-
#type ⇒ Object
Returns the value of attribute type.
Class Method Summary collapse
-
.create_object(message) ⇒ Object
template_object.
- .get_all_data_centers ⇒ Object
-
.get_network_address(message) ⇒ Object
name.
Instance Method Summary collapse
-
#edit_object(message) ⇒ Object
template_object.
- #get_account ⇒ Object
- #get_create_user ⇒ Object
- #get_location ⇒ Object
- #get_modify_employee ⇒ Object
- #get_modify_user ⇒ 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.
18 19 20 |
# File 'lib/softlayer/account/address.rb', line 18 def account @account end |
#account_id ⇒ Object
Returns the value of attribute account_id.
6 7 8 |
# File 'lib/softlayer/account/address.rb', line 6 def account_id @account_id end |
#address1 ⇒ Object
Returns the value of attribute address1.
7 8 9 |
# File 'lib/softlayer/account/address.rb', line 7 def address1 @address1 end |
#address2 ⇒ Object
Returns the value of attribute address2.
8 9 10 |
# File 'lib/softlayer/account/address.rb', line 8 def address2 @address2 end |
#city ⇒ Object
Returns the value of attribute city.
9 10 11 |
# File 'lib/softlayer/account/address.rb', line 9 def city @city end |
#contact_name ⇒ Object
Returns the value of attribute contact_name.
10 11 12 |
# File 'lib/softlayer/account/address.rb', line 10 def contact_name @contact_name end |
#country ⇒ Object
Returns the value of attribute country.
11 12 13 |
# File 'lib/softlayer/account/address.rb', line 11 def country @country end |
#create_user ⇒ Object
Returns the value of attribute create_user.
19 20 21 |
# File 'lib/softlayer/account/address.rb', line 19 def create_user @create_user end |
#description ⇒ Object
Returns the value of attribute description.
12 13 14 |
# File 'lib/softlayer/account/address.rb', line 12 def description @description end |
#id ⇒ Object
Returns the value of attribute id.
13 14 15 |
# File 'lib/softlayer/account/address.rb', line 13 def id @id end |
#is_active ⇒ Object
Returns the value of attribute is_active.
14 15 16 |
# File 'lib/softlayer/account/address.rb', line 14 def is_active @is_active end |
#location ⇒ Object
Returns the value of attribute location.
20 21 22 |
# File 'lib/softlayer/account/address.rb', line 20 def location @location end |
#location_id ⇒ Object
Returns the value of attribute location_id.
15 16 17 |
# File 'lib/softlayer/account/address.rb', line 15 def location_id @location_id end |
#modify_employee ⇒ Object
Returns the value of attribute modify_employee.
21 22 23 |
# File 'lib/softlayer/account/address.rb', line 21 def modify_employee @modify_employee end |
#modify_user ⇒ Object
Returns the value of attribute modify_user.
22 23 24 |
# File 'lib/softlayer/account/address.rb', line 22 def modify_user @modify_user end |
#postal_code ⇒ Object
Returns the value of attribute postal_code.
16 17 18 |
# File 'lib/softlayer/account/address.rb', line 16 def postal_code @postal_code end |
#state ⇒ Object
Returns the value of attribute state.
17 18 19 |
# File 'lib/softlayer/account/address.rb', line 17 def state @state end |
#type ⇒ Object
Returns the value of attribute type.
23 24 25 |
# File 'lib/softlayer/account/address.rb', line 23 def type @type end |
Class Method Details
.create_object(message) ⇒ Object
template_object
26 27 28 |
# File 'lib/softlayer/account/address.rb', line 26 def self.create_object() request(:create_object, Softlayer::Account::Address, ) end |
Instance Method Details
#edit_object(message) ⇒ Object
template_object
31 32 33 |
# File 'lib/softlayer/account/address.rb', line 31 def edit_object() request(:edit_object, Boolean, ) end |
#get_account ⇒ Object
35 36 37 |
# File 'lib/softlayer/account/address.rb', line 35 def get_account request(:get_account, Softlayer::Account) end |
#get_create_user ⇒ Object
43 44 45 |
# File 'lib/softlayer/account/address.rb', line 43 def get_create_user request(:get_create_user, Softlayer::User::Customer) end |
#get_location ⇒ Object
47 48 49 |
# File 'lib/softlayer/account/address.rb', line 47 def get_location request(:get_location, Softlayer::Location) end |
#get_modify_employee ⇒ Object
51 52 53 |
# File 'lib/softlayer/account/address.rb', line 51 def get_modify_employee request(:get_modify_employee, Softlayer::User::Employee) end |
#get_modify_user ⇒ Object
55 56 57 |
# File 'lib/softlayer/account/address.rb', line 55 def get_modify_user request(:get_modify_user, Softlayer::User::Customer) end |