Class: Softlayer::Notification::Occurrence::User
- Defined in:
- lib/softlayer/notification/occurrence/user.rb
Defined Under Namespace
Classes: Representer
Constant Summary collapse
- SERVICE =
- 'SoftLayer_Notification_Occurrence_User'
Instance Attribute Summary collapse
- 
  
    
      #acknowledged_flag  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute acknowledged_flag. 
- 
  
    
      #active  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute active. 
- 
  
    
      #id  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute id. 
- 
  
    
      #impacted_resource_count  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute impacted_resource_count. 
- 
  
    
      #impacted_resources  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute impacted_resources. 
- 
  
    
      #notification_occurrence_event  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute notification_occurrence_event. 
- 
  
    
      #user  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute user. 
- 
  
    
      #usr_record_id  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute usr_record_id. 
Class Method Summary collapse
Instance Method Summary collapse
- #acknowledge ⇒ Object
- #get_impacted_device_count ⇒ Object
- #get_impacted_resources ⇒ Object
- #get_notification_occurrence_event ⇒ Object
- #get_object ⇒ Object
- #get_user ⇒ 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.
| 6 7 8 | # File 'lib/softlayer/notification/occurrence/user.rb', line 6 def acknowledged_flag @acknowledged_flag end | 
#active ⇒ Object
Returns the value of attribute active.
| 7 8 9 | # File 'lib/softlayer/notification/occurrence/user.rb', line 7 def active @active end | 
#id ⇒ Object
Returns the value of attribute id.
| 8 9 10 | # File 'lib/softlayer/notification/occurrence/user.rb', line 8 def id @id end | 
#impacted_resource_count ⇒ Object
Returns the value of attribute impacted_resource_count.
| 10 11 12 | # File 'lib/softlayer/notification/occurrence/user.rb', line 10 def impacted_resource_count @impacted_resource_count end | 
#impacted_resources ⇒ Object
Returns the value of attribute impacted_resources.
| 11 12 13 | # File 'lib/softlayer/notification/occurrence/user.rb', line 11 def impacted_resources @impacted_resources end | 
#notification_occurrence_event ⇒ Object
Returns the value of attribute notification_occurrence_event.
| 12 13 14 | # File 'lib/softlayer/notification/occurrence/user.rb', line 12 def notification_occurrence_event @notification_occurrence_event end | 
#user ⇒ Object
Returns the value of attribute user.
| 13 14 15 | # File 'lib/softlayer/notification/occurrence/user.rb', line 13 def user @user end | 
#usr_record_id ⇒ Object
Returns the value of attribute usr_record_id.
| 9 10 11 | # File 'lib/softlayer/notification/occurrence/user.rb', line 9 def usr_record_id @usr_record_id end | 
Class Method Details
.get_all_objects ⇒ Object
| 19 20 21 | # File 'lib/softlayer/notification/occurrence/user.rb', line 19 def self.get_all_objects request(:get_all_objects, Array[Softlayer::Notification::Occurrence::User]) end | 
Instance Method Details
#acknowledge ⇒ Object
| 15 16 17 | # File 'lib/softlayer/notification/occurrence/user.rb', line 15 def acknowledge request(:acknowledge, Boolean) end | 
#get_impacted_device_count ⇒ Object
| 23 24 25 | # File 'lib/softlayer/notification/occurrence/user.rb', line 23 def get_impacted_device_count request(:get_impacted_device_count, Integer) end | 
#get_impacted_resources ⇒ Object
| 27 28 29 | # File 'lib/softlayer/notification/occurrence/user.rb', line 27 def get_impacted_resources request(:get_impacted_resources, Array[Softlayer::Notification::Occurrence::Resource]) end | 
#get_notification_occurrence_event ⇒ Object
| 31 32 33 | # File 'lib/softlayer/notification/occurrence/user.rb', line 31 def get_notification_occurrence_event request(:get_notification_occurrence_event, Softlayer::Notification::Occurrence::Event) end | 
#get_object ⇒ Object
| 35 36 37 | # File 'lib/softlayer/notification/occurrence/user.rb', line 35 def get_object request(:get_object, Softlayer::Notification::Occurrence::User) end |