Class: IControl::Management::EventNotification::EventData

Inherits:
Base::Struct
  • Object
show all
Defined in:
lib/icontrol/management/event_notification.rb,
lib/icontrol/management/event_notification.rb

Overview

Event notifications are sent as a sequence of EventData structures. Each EventData structure represents a single data object that changed.

Instance Attribute Summary collapse

Instance Attribute Details

#event_data_item_listIControl::Management::EventNotification::EventDataItemSequence

The list of the objects attributes that changed.

Returns:


39
40
41
# File 'lib/icontrol/management/event_notification.rb', line 39

def event_data_item_list
  @event_data_item_list
end

#event_typeIControl::Management::EventSubscription::EventType

The type of event that triggered the notification.

Returns:


39
40
41
# File 'lib/icontrol/management/event_notification.rb', line 39

def event_type
  @event_type
end

#object_typeIControl::Management::EventSubscription::ObjectType

The object type specified in this notification.

Returns:


39
40
41
# File 'lib/icontrol/management/event_notification.rb', line 39

def object_type
  @object_type
end

#sequence_numberNumeric

The sequence number is a persisted value that will increment by one for each event notification message configured to be sent to the notification endpoint.

Returns:

  • (Numeric)

    the current value of sequence_number


39
40
41
# File 'lib/icontrol/management/event_notification.rb', line 39

def sequence_number
  @sequence_number
end

#usernameString

The user who initiated the change.

Returns:

  • (String)

    the current value of username


39
40
41
# File 'lib/icontrol/management/event_notification.rb', line 39

def username
  @username
end