Class: Kaltura::KalturaEventNotificationArrayParameter

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

Instance Attribute Summary collapse

Attributes inherited from KalturaEventNotificationParameter

#description, #key, #value

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#allowed_valuesObject

Used to restrict the values to close list



267
268
269
# File 'lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb', line 267

def allowed_values
  @allowed_values
end

#valuesObject

Returns the value of attribute values.



265
266
267
# File 'lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb', line 265

def values
  @values
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



270
271
272
273
274
275
276
277
278
# File 'lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb', line 270

def from_xml(xml_element)
	super
	if xml_element.elements['values'] != nil
		self.values = KalturaClientBase.object_from_xml(xml_element.elements['values'], 'KalturaString')
	end
	if xml_element.elements['allowedValues'] != nil
		self.allowed_values = KalturaClientBase.object_from_xml(xml_element.elements['allowedValues'], 'KalturaStringValue')
	end
end