Class: Softlayer::Auxiliary::Notification::Emergency

Inherits:
Entity
  • Object
show all
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

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_dateObject

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

#deviceObject

Returns the value of attribute device.



9
10
11
# File 'lib/softlayer/auxiliary/notification/emergency.rb', line 9

def device
  @device
end

#durationObject

Returns the value of attribute duration.



10
11
12
# File 'lib/softlayer/auxiliary/notification/emergency.rb', line 10

def duration
  @duration
end

#idObject

Returns the value of attribute id.



11
12
13
# File 'lib/softlayer/auxiliary/notification/emergency.rb', line 11

def id
  @id
end

#locationObject

Returns the value of attribute location.



12
13
14
# File 'lib/softlayer/auxiliary/notification/emergency.rb', line 12

def location
  @location
end

#messageObject

Returns the value of attribute message.



13
14
15
# File 'lib/softlayer/auxiliary/notification/emergency.rb', line 13

def message
  @message
end

#modify_dateObject

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_affectedObject

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

#signatureObject

Returns the value of attribute signature.



18
19
20
# File 'lib/softlayer/auxiliary/notification/emergency.rb', line 18

def signature
  @signature
end

#start_dateObject

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

#statusObject

Returns the value of attribute status.



19
20
21
# File 'lib/softlayer/auxiliary/notification/emergency.rb', line 19

def status
  @status
end

#status_idObject

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_objectsObject



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_notificationsObject



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_objectObject



29
30
31
# File 'lib/softlayer/auxiliary/notification/emergency.rb', line 29

def get_object
  request(:get_object, Softlayer::Auxiliary::Notification::Emergency)
end

#get_signatureObject



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_statusObject



37
38
39
# File 'lib/softlayer/auxiliary/notification/emergency.rb', line 37

def get_status
  request(:get_status, Softlayer::Auxiliary::Notification::Emergency::Status)
end