class Kaltura::KalturaMatchMetadataCondition
Attributes
profile_id[RW]
Metadata profile id
profile_system_name[RW]
Metadata profile system name
x_path[RW]
May contain the full xpath to the field in three formats
1. Slashed xPath, e.g. /metadata/myElementName 2. Using local-name function, e.g. /[local-name()='metadata']/[local-name()='myElementName'] 3. Using only the field name, e.g. myElementName, it will be searched as //myElementName
Public Instance Methods
from_xml(xml_element)
click to toggle source
Calls superclass method
# File lib/kaltura_plugins/kaltura_metadata_client_plugin.rb, line 578 def from_xml(xml_element) super if xml_element.elements['xPath'] != nil self.x_path = xml_element.elements['xPath'].text end if xml_element.elements['profileId'] != nil self.profile_id = xml_element.elements['profileId'].text end if xml_element.elements['profileSystemName'] != nil self.profile_system_name = xml_element.elements['profileSystemName'].text end end
profile_id=(val)
click to toggle source
# File lib/kaltura_plugins/kaltura_metadata_client_plugin.rb, line 574 def profile_id=(val) @profile_id = val.to_i end