Class: Kaltura::KalturaExtendingItemMrssParameter

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_types.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#extension_modeObject

Mode of extension - append to MRSS or replace the xpath content.



4662
4663
4664
# File 'lib/kaltura_types.rb', line 4662

def extension_mode
  @extension_mode
end

#identifierObject

Object identifier



4660
4661
4662
# File 'lib/kaltura_types.rb', line 4660

def identifier
  @identifier
end

#xpathObject

XPath for the extending item



4658
4659
4660
# File 'lib/kaltura_types.rb', line 4658

def xpath
  @xpath
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
# File 'lib/kaltura_types.rb', line 4668

def from_xml(xml_element)
	super
	if xml_element.elements['xpath'] != nil
		self.xpath = xml_element.elements['xpath'].text
	end
	if xml_element.elements['identifier'] != nil
		self.identifier = KalturaClientBase.object_from_xml(xml_element.elements['identifier'], 'KalturaObjectIdentifier')
	end
	if xml_element.elements['extensionMode'] != nil
		self.extension_mode = xml_element.elements['extensionMode'].text
	end
end