class Kaltura::KalturaKeyValue

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

Attributes

key[RW]
value[RW]

Public Instance Methods

from_xml(xml_element) click to toggle source
Calls superclass method Kaltura::KalturaObjectBase#from_xml
# File lib/kaltura_types.rb, line 338
def from_xml(xml_element)
        super
        if xml_element.elements['key'] != nil
                self.key = xml_element.elements['key'].text
        end
        if xml_element.elements['value'] != nil
                self.value = xml_element.elements['value'].text
        end
end