Class: Softlayer::Notification::User::Subscriber::Preference
- Defined in:
- lib/softlayer/notification/user/subscriber/preference.rb
Defined Under Namespace
Classes: Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Notification_User_Subscriber_Preference'
Instance Attribute Summary collapse
-
#default_preference ⇒ Object
Returns the value of attribute default_preference.
-
#id ⇒ Object
Returns the value of attribute id.
-
#notification_preference_id ⇒ Object
Returns the value of attribute notification_preference_id.
-
#notification_user_subscriber ⇒ Object
Returns the value of attribute notification_user_subscriber.
-
#notification_user_subscriber_id ⇒ Object
Returns the value of attribute notification_user_subscriber_id.
-
#value ⇒ Object
Returns the value of attribute value.
Class Method Summary collapse
-
.create_object(message) ⇒ Object
template_object.
-
.edit_objects(message) ⇒ Object
template_objects.
Instance Method Summary collapse
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
#default_preference ⇒ Object
Returns the value of attribute default_preference.
11 12 13 |
# File 'lib/softlayer/notification/user/subscriber/preference.rb', line 11 def default_preference @default_preference end |
#id ⇒ Object
Returns the value of attribute id.
7 8 9 |
# File 'lib/softlayer/notification/user/subscriber/preference.rb', line 7 def id @id end |
#notification_preference_id ⇒ Object
Returns the value of attribute notification_preference_id.
8 9 10 |
# File 'lib/softlayer/notification/user/subscriber/preference.rb', line 8 def notification_preference_id @notification_preference_id end |
#notification_user_subscriber ⇒ Object
Returns the value of attribute notification_user_subscriber.
12 13 14 |
# File 'lib/softlayer/notification/user/subscriber/preference.rb', line 12 def notification_user_subscriber @notification_user_subscriber end |
#notification_user_subscriber_id ⇒ Object
Returns the value of attribute notification_user_subscriber_id.
9 10 11 |
# File 'lib/softlayer/notification/user/subscriber/preference.rb', line 9 def notification_user_subscriber_id @notification_user_subscriber_id end |
#value ⇒ Object
Returns the value of attribute value.
10 11 12 |
# File 'lib/softlayer/notification/user/subscriber/preference.rb', line 10 def value @value end |
Class Method Details
.create_object(message) ⇒ Object
template_object
15 16 17 |
# File 'lib/softlayer/notification/user/subscriber/preference.rb', line 15 def self.create_object() request(:create_object, Boolean, ) end |
.edit_objects(message) ⇒ Object
template_objects
20 21 22 |
# File 'lib/softlayer/notification/user/subscriber/preference.rb', line 20 def self.edit_objects() request(:edit_objects, Boolean, ) end |
Instance Method Details
#get_default_preference ⇒ Object
24 25 26 |
# File 'lib/softlayer/notification/user/subscriber/preference.rb', line 24 def get_default_preference request(:get_default_preference, Softlayer::Notification::Preference) end |
#get_notification_user_subscriber ⇒ Object
28 29 30 |
# File 'lib/softlayer/notification/user/subscriber/preference.rb', line 28 def get_notification_user_subscriber request(:get_notification_user_subscriber, Softlayer::Notification::User::Subscriber) end |
#get_object ⇒ Object
32 33 34 |
# File 'lib/softlayer/notification/user/subscriber/preference.rb', line 32 def get_object request(:get_object, Softlayer::Notification::User::Subscriber::Preference) end |