Class: Kaltura::KalturaEventNotificationParameter

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#descriptionObject

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

#keyObject

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

#valueObject

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