Class: Softlayer::Notification::Occurrence::Event
- Defined in:
- lib/softlayer/notification/occurrence/event.rb,
lib/softlayer/notification/occurrence/event/type.rb,
lib/softlayer/notification/occurrence/event/attachment.rb
Defined Under Namespace
Classes: Attachment, Representer, Type
Constant Summary collapse
- SERVICE =
'SoftLayer_Notification_Occurrence_Event'
Instance Attribute Summary collapse
-
#attachment_count ⇒ Object
Returns the value of attribute attachment_count.
-
#attachments ⇒ Object
Returns the value of attribute attachments.
-
#end_date ⇒ Object
Returns the value of attribute end_date.
-
#first_update ⇒ Object
Returns the value of attribute first_update.
-
#id ⇒ Object
Returns the value of attribute id.
-
#impacted_account_count ⇒ Object
Returns the value of attribute impacted_account_count.
-
#impacted_accounts ⇒ Object
Returns the value of attribute impacted_accounts.
-
#impacted_resource_count ⇒ Object
Returns the value of attribute impacted_resource_count.
-
#impacted_resources ⇒ Object
Returns the value of attribute impacted_resources.
-
#impacted_user_count ⇒ Object
Returns the value of attribute impacted_user_count.
-
#impacted_users ⇒ Object
Returns the value of attribute impacted_users.
-
#last_impacted_user_count ⇒ Object
Returns the value of attribute last_impacted_user_count.
-
#last_update ⇒ Object
Returns the value of attribute last_update.
-
#modify_date ⇒ Object
Returns the value of attribute modify_date.
-
#notification_occurrence_event_type ⇒ Object
Returns the value of attribute notification_occurrence_event_type.
-
#recovery_time ⇒ Object
Returns the value of attribute recovery_time.
-
#start_date ⇒ Object
Returns the value of attribute start_date.
-
#status_code ⇒ Object
Returns the value of attribute status_code.
-
#subject ⇒ Object
Returns the value of attribute subject.
-
#summary ⇒ Object
Returns the value of attribute summary.
-
#system_ticket_id ⇒ Object
Returns the value of attribute system_ticket_id.
-
#update_count ⇒ Object
Returns the value of attribute update_count.
-
#updates ⇒ Object
Returns the value of attribute updates.
Class Method Summary collapse
Instance Method Summary collapse
- #acknowledge_notification ⇒ Object
-
#get_attached_file(message) ⇒ Object
attachment_id.
- #get_attachments ⇒ Object
- #get_first_update ⇒ Object
- #get_impacted_account_count ⇒ Object
- #get_impacted_accounts ⇒ Object
- #get_impacted_device_count ⇒ Object
- #get_impacted_devices ⇒ Object
- #get_impacted_resources ⇒ Object
- #get_impacted_users ⇒ Object
- #get_last_update ⇒ Object
- #get_notification_occurrence_event_type ⇒ Object
- #get_object ⇒ Object
- #get_status_code ⇒ Object
- #get_updates ⇒ 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
#attachment_count ⇒ Object
Returns the value of attribute attachment_count.
17 18 19 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 17 def @attachment_count end |
#attachments ⇒ Object
Returns the value of attribute attachments.
22 23 24 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 22 def @attachments end |
#end_date ⇒ Object
Returns the value of attribute end_date.
8 9 10 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 8 def end_date @end_date end |
#first_update ⇒ Object
Returns the value of attribute first_update.
23 24 25 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 23 def first_update @first_update end |
#id ⇒ Object
Returns the value of attribute id.
9 10 11 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 9 def id @id end |
#impacted_account_count ⇒ Object
Returns the value of attribute impacted_account_count.
18 19 20 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 18 def impacted_account_count @impacted_account_count end |
#impacted_accounts ⇒ Object
Returns the value of attribute impacted_accounts.
24 25 26 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 24 def impacted_accounts @impacted_accounts end |
#impacted_resource_count ⇒ Object
Returns the value of attribute impacted_resource_count.
19 20 21 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 19 def impacted_resource_count @impacted_resource_count end |
#impacted_resources ⇒ Object
Returns the value of attribute impacted_resources.
25 26 27 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 25 def impacted_resources @impacted_resources end |
#impacted_user_count ⇒ Object
Returns the value of attribute impacted_user_count.
20 21 22 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 20 def impacted_user_count @impacted_user_count end |
#impacted_users ⇒ Object
Returns the value of attribute impacted_users.
26 27 28 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 26 def impacted_users @impacted_users end |
#last_impacted_user_count ⇒ Object
Returns the value of attribute last_impacted_user_count.
10 11 12 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 10 def last_impacted_user_count @last_impacted_user_count end |
#last_update ⇒ Object
Returns the value of attribute last_update.
27 28 29 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 27 def last_update @last_update end |
#modify_date ⇒ Object
Returns the value of attribute modify_date.
11 12 13 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 11 def modify_date @modify_date end |
#notification_occurrence_event_type ⇒ Object
Returns the value of attribute notification_occurrence_event_type.
28 29 30 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 28 def notification_occurrence_event_type @notification_occurrence_event_type end |
#recovery_time ⇒ Object
Returns the value of attribute recovery_time.
12 13 14 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 12 def recovery_time @recovery_time end |
#start_date ⇒ Object
Returns the value of attribute start_date.
13 14 15 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 13 def start_date @start_date end |
#status_code ⇒ Object
Returns the value of attribute status_code.
29 30 31 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 29 def status_code @status_code end |
#subject ⇒ Object
Returns the value of attribute subject.
14 15 16 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 14 def subject @subject end |
#summary ⇒ Object
Returns the value of attribute summary.
15 16 17 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 15 def summary @summary end |
#system_ticket_id ⇒ Object
Returns the value of attribute system_ticket_id.
16 17 18 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 16 def system_ticket_id @system_ticket_id end |
#update_count ⇒ Object
Returns the value of attribute update_count.
21 22 23 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 21 def update_count @update_count end |
#updates ⇒ Object
Returns the value of attribute updates.
30 31 32 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 30 def updates @updates end |
Class Method Details
.get_all_objects ⇒ Object
36 37 38 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 36 def self.get_all_objects request(:get_all_objects, Array[Softlayer::Notification::Occurrence::Event]) end |
Instance Method Details
#acknowledge_notification ⇒ Object
32 33 34 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 32 def acknowledge_notification request(:acknowledge_notification, Boolean) end |
#get_attached_file(message) ⇒ Object
attachment_id
41 42 43 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 41 def get_attached_file() request(:get_attached_file, Softlayer::Base64Binary, ) end |
#get_attachments ⇒ Object
45 46 47 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 45 def request(:get_attachments, Array[Softlayer::Notification::Occurrence::Event::Attachment]) end |
#get_first_update ⇒ Object
49 50 51 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 49 def get_first_update request(:get_first_update, Softlayer::Notification::Occurrence::Update) end |
#get_impacted_account_count ⇒ Object
53 54 55 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 53 def get_impacted_account_count request(:get_impacted_account_count, Integer) end |
#get_impacted_accounts ⇒ Object
57 58 59 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 57 def get_impacted_accounts request(:get_impacted_accounts, Array[Softlayer::Notification::Occurrence::Account]) end |
#get_impacted_device_count ⇒ Object
61 62 63 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 61 def get_impacted_device_count request(:get_impacted_device_count, Integer) end |
#get_impacted_devices ⇒ Object
65 66 67 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 65 def get_impacted_devices request(:get_impacted_devices, Array[Softlayer::Notification::Occurrence::Resource]) end |
#get_impacted_resources ⇒ Object
69 70 71 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 69 def get_impacted_resources request(:get_impacted_resources, Array[Softlayer::Notification::Occurrence::Resource]) end |
#get_impacted_users ⇒ Object
73 74 75 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 73 def get_impacted_users request(:get_impacted_users, Array[Softlayer::Notification::Occurrence::User]) end |
#get_last_update ⇒ Object
77 78 79 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 77 def get_last_update request(:get_last_update, Softlayer::Notification::Occurrence::Update) end |
#get_notification_occurrence_event_type ⇒ Object
81 82 83 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 81 def get_notification_occurrence_event_type request(:get_notification_occurrence_event_type, Softlayer::Notification::Occurrence::Event::Type) end |
#get_object ⇒ Object
85 86 87 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 85 def get_object request(:get_object, Softlayer::Notification::Occurrence::Event) end |
#get_status_code ⇒ Object
89 90 91 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 89 def get_status_code request(:get_status_code, Softlayer::Notification::Occurrence::Status::Code) end |
#get_updates ⇒ Object
93 94 95 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 93 def get_updates request(:get_updates, Array[Softlayer::Notification::Occurrence::Update]) end |