Class: Kaltura::KalturaMetadataFieldChangedCondition
- Inherits:
-
KalturaMatchCondition
- Object
- KalturaObjectBase
- KalturaCondition
- KalturaMatchCondition
- Kaltura::KalturaMetadataFieldChangedCondition
- Defined in:
- lib/kaltura_plugins/kaltura_metadata_client_plugin.rb
Instance Attribute Summary collapse
-
#profile_id ⇒ Object
Metadata profile id.
-
#profile_system_name ⇒ Object
Metadata profile system name.
-
#version_a ⇒ Object
Returns the value of attribute version_a.
-
#version_b ⇒ Object
Returns the value of attribute version_b.
-
#x_path ⇒ Object
May contain the full xpath to the field in three formats 1.
Attributes inherited from KalturaMatchCondition
Attributes inherited from KalturaCondition
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#profile_id ⇒ Object
Metadata profile id
539 540 541 |
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 539 def profile_id @profile_id end |
#profile_system_name ⇒ Object
Metadata profile system name
542 543 544 |
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 542 def profile_system_name @profile_system_name end |
#version_a ⇒ Object
Returns the value of attribute version_a.
543 544 545 |
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 543 def version_a @version_a end |
#version_b ⇒ Object
Returns the value of attribute version_b.
544 545 546 |
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 544 def version_b @version_b end |
#x_path ⇒ Object
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
536 537 538 |
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 536 def x_path @x_path end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
550 551 552 553 554 555 556 557 |
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 550 def from_xml(xml_element) super self.x_path = xml_element.elements['xPath'].text self.profile_id = xml_element.elements['profileId'].text self.profile_system_name = xml_element.elements['profileSystemName'].text self.version_a = xml_element.elements['versionA'].text self.version_b = xml_element.elements['versionB'].text end |