Class: Kaltura::KalturaKeyBooleanValue

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_types.rb

Overview

A key (boolean) value pair representation to return an array of key-(boolean)value pairs (associative array)

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

#keyObject

Returns the value of attribute key.



3153
3154
3155
# File 'lib/kaltura_types.rb', line 3153

def key
  @key
end

#valueObject

Returns the value of attribute value.



3154
3155
3156
# File 'lib/kaltura_types.rb', line 3154

def value
  @value
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



3160
3161
3162
3163
3164
# File 'lib/kaltura_types.rb', line 3160

def from_xml(xml_element)
	super
	self.key = xml_element.elements['key'].text
	self.value = xml_element.elements['value'].text
end