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
-
#acknowledged_flag ⇒ Object
Returns the value of attribute acknowledged_flag.
-
#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_acknowledged_flag ⇒ 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
#acknowledged_flag ⇒ Object
Returns the value of attribute acknowledged_flag.
22 23 24 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 22 def acknowledged_flag @acknowledged_flag end |
#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.
23 24 25 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 23 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.
24 25 26 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 24 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.
25 26 27 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 25 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.
26 27 28 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 26 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.
27 28 29 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 27 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.
28 29 30 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 28 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.
29 30 31 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 29 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.
30 31 32 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 30 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.
31 32 33 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 31 def updates @updates end |
Class Method Details
.get_all_objects ⇒ Object
41 42 43 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 41 def self.get_all_objects request(:get_all_objects, Array[Softlayer::Notification::Occurrence::Event]) end |
Instance Method Details
#acknowledge_notification ⇒ Object
33 34 35 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 33 def acknowledge_notification request(:acknowledge_notification, Boolean) end |
#get_acknowledged_flag ⇒ Object
37 38 39 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 37 def get_acknowledged_flag request(:get_acknowledged_flag, Boolean) end |
#get_attached_file(message) ⇒ Object
attachment_id
46 47 48 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 46 def get_attached_file() request(:get_attached_file, Softlayer::Base64Binary, ) end |
#get_attachments ⇒ Object
50 51 52 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 50 def request(:get_attachments, Array[Softlayer::Notification::Occurrence::Event::Attachment]) end |
#get_first_update ⇒ Object
54 55 56 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 54 def get_first_update request(:get_first_update, Softlayer::Notification::Occurrence::Update) end |
#get_impacted_account_count ⇒ Object
58 59 60 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 58 def get_impacted_account_count request(:get_impacted_account_count, Integer) end |
#get_impacted_accounts ⇒ Object
62 63 64 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 62 def get_impacted_accounts request(:get_impacted_accounts, Array[Softlayer::Notification::Occurrence::Account]) end |
#get_impacted_device_count ⇒ Object
66 67 68 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 66 def get_impacted_device_count request(:get_impacted_device_count, Integer) end |
#get_impacted_devices ⇒ Object
70 71 72 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 70 def get_impacted_devices request(:get_impacted_devices, Array[Softlayer::Notification::Occurrence::Resource]) end |
#get_impacted_resources ⇒ Object
74 75 76 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 74 def get_impacted_resources request(:get_impacted_resources, Array[Softlayer::Notification::Occurrence::Resource]) end |
#get_impacted_users ⇒ Object
78 79 80 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 78 def get_impacted_users request(:get_impacted_users, Array[Softlayer::Notification::Occurrence::User]) end |
#get_last_update ⇒ Object
82 83 84 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 82 def get_last_update request(:get_last_update, Softlayer::Notification::Occurrence::Update) end |
#get_notification_occurrence_event_type ⇒ Object
86 87 88 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 86 def get_notification_occurrence_event_type request(:get_notification_occurrence_event_type, Softlayer::Notification::Occurrence::Event::Type) end |
#get_object ⇒ Object
90 91 92 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 90 def get_object request(:get_object, Softlayer::Notification::Occurrence::Event) end |
#get_status_code ⇒ Object
94 95 96 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 94 def get_status_code request(:get_status_code, Softlayer::Notification::Occurrence::Status::Code) end |
#get_updates ⇒ Object
98 99 100 |
# File 'lib/softlayer/notification/occurrence/event.rb', line 98 def get_updates request(:get_updates, Array[Softlayer::Notification::Occurrence::Update]) end |