Class: Kaltura::KalturaEventNotificationParameter
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaEventNotificationParameter
- Defined in:
- lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb
Direct Known Subclasses
KalturaEmailNotificationParameter, KalturaEventNotificationArrayParameter, KalturaPushEventNotificationParameter
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#key ⇒ Object
The key in the subject and body to be replaced with the dynamic value.
-
#value ⇒ Object
The dynamic value to be placed in the final output.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
129 130 131 |
# File 'lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb', line 129 def description @description end |
#key ⇒ Object
The key in the subject and body to be replaced with the dynamic value
128 129 130 |
# File 'lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb', line 128 def key @key end |
#value ⇒ Object
The dynamic value to be placed in the final output
131 132 133 |
# File 'lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb', line 131 def value @value end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
134 135 136 137 138 139 140 141 142 143 144 145 |
# File 'lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb', line 134 def from_xml(xml_element) super if xml_element.elements['key'] != nil self.key = xml_element.elements['key'].text end if xml_element.elements['description'] != nil self.description = xml_element.elements['description'].text end if xml_element.elements['value'] != nil self.value = KalturaClientBase.object_from_xml(xml_element.elements['value'], 'KalturaStringValue') end end |