Class: Softlayer::Layout::Profile::Customer
- Inherits:
-
Softlayer::Layout::Profile
- Object
- Model
- Entity
- Softlayer::Layout::Profile
- Softlayer::Layout::Profile::Customer
- Defined in:
- lib/softlayer/layout/profile/customer.rb
Defined Under Namespace
Classes: Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Layout_Profile_Customer'
Instance Attribute Summary collapse
-
#user_record ⇒ Object
Returns the value of attribute user_record.
Attributes inherited from Softlayer::Layout::Profile
#active_flag, #create_date, #id, #layout_container_count, #layout_containers, #layout_preference_count, #layout_preferences, #modify_date, #name, #user_record_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_layout_containers ⇒ Object
- #get_layout_preferences ⇒ Object
- #get_object ⇒ Object
- #get_user_record ⇒ Object
-
#modify_preference(message) ⇒ Object
template_object.
-
#modify_preferences(message) ⇒ Object
layout_preference_objects.
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
#user_record ⇒ Object
Returns the value of attribute user_record.
6 7 8 |
# File 'lib/softlayer/layout/profile/customer.rb', line 6 def user_record @user_record end |
Class Method Details
.create_object(message) ⇒ Object
template_object
9 10 11 |
# File 'lib/softlayer/layout/profile/customer.rb', line 9 def self.create_object() request(:create_object, Boolean, ) end |
Instance Method Details
#delete_object ⇒ Object
13 14 15 |
# File 'lib/softlayer/layout/profile/customer.rb', line 13 def delete_object request(:delete_object, Boolean) end |
#edit_object(message) ⇒ Object
template_object
18 19 20 |
# File 'lib/softlayer/layout/profile/customer.rb', line 18 def edit_object() request(:edit_object, Boolean, ) end |
#get_layout_containers ⇒ Object
22 23 24 |
# File 'lib/softlayer/layout/profile/customer.rb', line 22 def get_layout_containers request(:get_layout_containers, Array[Softlayer::Layout::Container]) end |
#get_layout_preferences ⇒ Object
26 27 28 |
# File 'lib/softlayer/layout/profile/customer.rb', line 26 def get_layout_preferences request(:get_layout_preferences, Array[Softlayer::Layout::Profile::Preference]) end |
#get_object ⇒ Object
30 31 32 |
# File 'lib/softlayer/layout/profile/customer.rb', line 30 def get_object request(:get_object, Softlayer::Layout::Profile::Customer) end |
#get_user_record ⇒ Object
34 35 36 |
# File 'lib/softlayer/layout/profile/customer.rb', line 34 def get_user_record request(:get_user_record, Softlayer::User::Customer) end |
#modify_preference(message) ⇒ Object
template_object
39 40 41 |
# File 'lib/softlayer/layout/profile/customer.rb', line 39 def modify_preference() request(:modify_preference, Softlayer::Layout::Profile::Preference, ) end |
#modify_preferences(message) ⇒ Object
layout_preference_objects
44 45 46 |
# File 'lib/softlayer/layout/profile/customer.rb', line 44 def modify_preferences() request(:modify_preferences, Array[Softlayer::Layout::Profile::Preference], ) end |