Class: Softlayer::Auxiliary::Notification::Emergency
- Defined in:
- lib/softlayer/auxiliary/notification/emergency.rb,
lib/softlayer/auxiliary/notification/emergency/status.rb,
lib/softlayer/auxiliary/notification/emergency/signature.rb
Defined Under Namespace
Classes: Representer, Signature, Status
Constant Summary collapse
- SERVICE =
'SoftLayer_Auxiliary_Notification_Emergency'
Instance Attribute Summary collapse
-
#create_date ⇒ Object
Returns the value of attribute create_date.
-
#device ⇒ Object
Returns the value of attribute device.
-
#duration ⇒ Object
Returns the value of attribute duration.
-
#id ⇒ Object
Returns the value of attribute id.
-
#location ⇒ Object
Returns the value of attribute location.
-
#message ⇒ Object
Returns the value of attribute message.
-
#modify_date ⇒ Object
Returns the value of attribute modify_date.
-
#services_affected ⇒ Object
Returns the value of attribute services_affected.
-
#signature ⇒ Object
Returns the value of attribute signature.
-
#start_date ⇒ Object
Returns the value of attribute start_date.
-
#status ⇒ Object
Returns the value of attribute status.
-
#status_id ⇒ Object
Returns the value of attribute status_id.
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
#create_date ⇒ Object
Returns the value of attribute create_date.
8 9 10 |
# File 'lib/softlayer/auxiliary/notification/emergency.rb', line 8 def create_date @create_date end |
#device ⇒ Object
Returns the value of attribute device.
9 10 11 |
# File 'lib/softlayer/auxiliary/notification/emergency.rb', line 9 def device @device end |
#duration ⇒ Object
Returns the value of attribute duration.
10 11 12 |
# File 'lib/softlayer/auxiliary/notification/emergency.rb', line 10 def duration @duration end |
#id ⇒ Object
Returns the value of attribute id.
11 12 13 |
# File 'lib/softlayer/auxiliary/notification/emergency.rb', line 11 def id @id end |
#location ⇒ Object
Returns the value of attribute location.
12 13 14 |
# File 'lib/softlayer/auxiliary/notification/emergency.rb', line 12 def location @location end |
#message ⇒ Object
Returns the value of attribute message.
13 14 15 |
# File 'lib/softlayer/auxiliary/notification/emergency.rb', line 13 def @message end |
#modify_date ⇒ Object
Returns the value of attribute modify_date.
14 15 16 |
# File 'lib/softlayer/auxiliary/notification/emergency.rb', line 14 def modify_date @modify_date end |
#services_affected ⇒ Object
Returns the value of attribute services_affected.
15 16 17 |
# File 'lib/softlayer/auxiliary/notification/emergency.rb', line 15 def services_affected @services_affected end |
#signature ⇒ Object
Returns the value of attribute signature.
18 19 20 |
# File 'lib/softlayer/auxiliary/notification/emergency.rb', line 18 def signature @signature end |
#start_date ⇒ Object
Returns the value of attribute start_date.
16 17 18 |
# File 'lib/softlayer/auxiliary/notification/emergency.rb', line 16 def start_date @start_date end |
#status ⇒ Object
Returns the value of attribute status.
19 20 21 |
# File 'lib/softlayer/auxiliary/notification/emergency.rb', line 19 def status @status end |
#status_id ⇒ Object
Returns the value of attribute status_id.
17 18 19 |
# File 'lib/softlayer/auxiliary/notification/emergency.rb', line 17 def status_id @status_id end |
Class Method Details
.get_all_objects ⇒ Object
21 22 23 |
# File 'lib/softlayer/auxiliary/notification/emergency.rb', line 21 def self.get_all_objects request(:get_all_objects, Array[Softlayer::Auxiliary::Notification::Emergency]) end |
.get_current_notifications ⇒ Object
25 26 27 |
# File 'lib/softlayer/auxiliary/notification/emergency.rb', line 25 def self.get_current_notifications request(:get_current_notifications, Array[Softlayer::Auxiliary::Notification::Emergency]) end |
Instance Method Details
#get_object ⇒ Object
29 30 31 |
# File 'lib/softlayer/auxiliary/notification/emergency.rb', line 29 def get_object request(:get_object, Softlayer::Auxiliary::Notification::Emergency) end |
#get_signature ⇒ Object
33 34 35 |
# File 'lib/softlayer/auxiliary/notification/emergency.rb', line 33 def get_signature request(:get_signature, Softlayer::Auxiliary::Notification::Emergency::Signature) end |
#get_status ⇒ Object
37 38 39 |
# File 'lib/softlayer/auxiliary/notification/emergency.rb', line 37 def get_status request(:get_status, Softlayer::Auxiliary::Notification::Emergency::Status) end |