Class: Kaltura::KalturaMetadataFieldChangedCondition

Inherits:
KalturaMatchCondition show all
Defined in:
lib/kaltura_plugins/kaltura_metadata_client_plugin.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaMatchCondition

#match_type, #values

Attributes inherited from KalturaCondition

#description, #not, #type

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#profile_idObject

Metadata profile id



720
721
722
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 720

def profile_id
  @profile_id
end

#profile_system_nameObject

Metadata profile system name



722
723
724
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 722

def profile_system_name
  @profile_system_name
end

#version_aObject

Returns the value of attribute version_a.



723
724
725
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 723

def version_a
  @version_a
end

#version_bObject

Returns the value of attribute version_b.



724
725
726
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 724

def version_b
  @version_b
end

#x_pathObject

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’]/ 3. Using only the field name, e.g. myElementName, it will be searched as //myElementName



718
719
720
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 718

def x_path
  @x_path
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 730

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
	if xml_element.elements['versionA'] != nil
		self.version_a = xml_element.elements['versionA'].text
	end
	if xml_element.elements['versionB'] != nil
		self.version_b = xml_element.elements['versionB'].text
	end
end