class Kaltura::KalturaMetadataProfileField
Attributes
id[RW]
key[RW]
label[RW]
x_path[RW]
Public Instance Methods
from_xml(xml_element)
click to toggle source
Calls superclass method
Kaltura::KalturaObjectBase#from_xml
# File lib/kaltura_plugins/kaltura_metadata_client_plugin.rb, line 263 def from_xml(xml_element) super if xml_element.elements['id'] != nil self.id = xml_element.elements['id'].text end if xml_element.elements['xPath'] != nil self.x_path = xml_element.elements['xPath'].text end if xml_element.elements['key'] != nil self.key = xml_element.elements['key'].text end if xml_element.elements['label'] != nil self.label = xml_element.elements['label'].text end end
id=(val)
click to toggle source
# File lib/kaltura_plugins/kaltura_metadata_client_plugin.rb, line 259 def id=(val) @id = val.to_i end