Class: Softlayer::Notification
- Defined in:
- lib/softlayer/notification.rb,
lib/softlayer/notification/user.rb,
lib/softlayer/notification/mobile.rb,
lib/softlayer/notification/delivery.rb,
lib/softlayer/notification/occurrence.rb,
lib/softlayer/notification/preference.rb,
lib/softlayer/notification/subscriber.rb,
lib/softlayer/notification/delivery/method.rb,
lib/softlayer/notification/occurrence/user.rb,
lib/softlayer/notification/user/subscriber.rb,
lib/softlayer/notification/occurrence/event.rb,
lib/softlayer/notification/occurrence/status.rb,
lib/softlayer/notification/occurrence/update.rb,
lib/softlayer/notification/occurrence/account.rb,
lib/softlayer/notification/occurrence/resource.rb,
lib/softlayer/notification/subscriber/customer.rb,
lib/softlayer/notification/subscriber/delivery.rb,
lib/softlayer/notification/occurrence/event/type.rb,
lib/softlayer/notification/occurrence/status/code.rb,
lib/softlayer/notification/user/subscriber/mobile.rb,
lib/softlayer/notification/user/subscriber/billing.rb,
lib/softlayer/notification/user/subscriber/delivery.rb,
lib/softlayer/notification/user/subscriber/resource.rb,
lib/softlayer/notification/subscriber/delivery/method.rb,
lib/softlayer/notification/user/subscriber/preference.rb,
lib/softlayer/notification/occurrence/event/attachment.rb,
lib/softlayer/notification/occurrence/resource/network.rb,
lib/softlayer/notification/occurrence/resource/virtual.rb,
lib/softlayer/notification/occurrence/resource/hardware.rb,
lib/softlayer/notification/user/subscriber/delivery/method.rb,
lib/softlayer/notification/occurrence/resource/network/storage.rb,
lib/softlayer/notification/occurrence/resource/network/application.rb,
lib/softlayer/notification/occurrence/resource/network/storage/nas.rb,
lib/softlayer/notification/occurrence/resource/network/storage/iscsi.rb,
lib/softlayer/notification/occurrence/resource/network/storage/lockbox.rb,
lib/softlayer/notification/occurrence/resource/network/storage/net_app.rb,
lib/softlayer/notification/occurrence/resource/network/application/delivery.rb,
lib/softlayer/notification/occurrence/resource/network/storage/iscsi/net_app.rb,
lib/softlayer/notification/occurrence/resource/network/storage/net_app/volume.rb,
lib/softlayer/notification/occurrence/resource/network/storage/iscsi/equal_logic.rb,
lib/softlayer/notification/occurrence/resource/network/application/delivery/controller.rb,
lib/softlayer/notification/occurrence/resource/network/application/delivery/controller/load_balancer.rb,
lib/softlayer/notification/occurrence/resource/network/application/delivery/controller/load_balancer/virtual_ip_address.rb
Direct Known Subclasses
Defined Under Namespace
Modules: Delivery, Occurrence, User Classes: Mobile, Preference, Representer, Subscriber
Constant Summary collapse
- SERVICE =
'SoftLayer_Notification'
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#key_name ⇒ Object
Returns the value of attribute key_name.
-
#name ⇒ Object
Returns the value of attribute name.
-
#preference_count ⇒ Object
Returns the value of attribute preference_count.
-
#preferences ⇒ Object
Returns the value of attribute preferences.
-
#required_preference_count ⇒ Object
Returns the value of attribute required_preference_count.
-
#required_preferences ⇒ Object
Returns the value of attribute required_preferences.
Class Method Summary collapse
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
#id ⇒ Object
Returns the value of attribute id.
10 11 12 |
# File 'lib/softlayer/notification.rb', line 10 def id @id end |
#key_name ⇒ Object
Returns the value of attribute key_name.
11 12 13 |
# File 'lib/softlayer/notification.rb', line 11 def key_name @key_name end |
#name ⇒ Object
Returns the value of attribute name.
12 13 14 |
# File 'lib/softlayer/notification.rb', line 12 def name @name end |
#preference_count ⇒ Object
Returns the value of attribute preference_count.
13 14 15 |
# File 'lib/softlayer/notification.rb', line 13 def preference_count @preference_count end |
#preferences ⇒ Object
Returns the value of attribute preferences.
15 16 17 |
# File 'lib/softlayer/notification.rb', line 15 def preferences @preferences end |
#required_preference_count ⇒ Object
Returns the value of attribute required_preference_count.
14 15 16 |
# File 'lib/softlayer/notification.rb', line 14 def required_preference_count @required_preference_count end |
#required_preferences ⇒ Object
Returns the value of attribute required_preferences.
16 17 18 |
# File 'lib/softlayer/notification.rb', line 16 def required_preferences @required_preferences end |
Class Method Details
.get_all_objects ⇒ Object
18 19 20 |
# File 'lib/softlayer/notification.rb', line 18 def self.get_all_objects request(:get_all_objects, Array[Softlayer::Notification]) end |
Instance Method Details
#get_object ⇒ Object
22 23 24 |
# File 'lib/softlayer/notification.rb', line 22 def get_object request(:get_object, Softlayer::Notification) end |
#get_preferences ⇒ Object
26 27 28 |
# File 'lib/softlayer/notification.rb', line 26 def get_preferences request(:get_preferences, Array[Softlayer::Notification::Preference]) end |
#get_required_preferences ⇒ Object
30 31 32 |
# File 'lib/softlayer/notification.rb', line 30 def get_required_preferences request(:get_required_preferences, Array[Softlayer::Notification::Preference]) end |