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



226
227
228
# File 'lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb', line 226

def allowed_values
  @allowed_values
end

#valuesObject

Returns the value of attribute values.



223
224
225
# File 'lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb', line 223

def values
  @values
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



229
230
231
232
233
# File 'lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb', line 229

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