Class: Kaltura::KalturaFeedItemInfo
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaFeedItemInfo
- Defined in:
- lib/kaltura_plugins/kaltura_feed_drop_folder_client_plugin.rb
Instance Attribute Summary collapse
-
#content_bitrate_attribute_name ⇒ Object
Returns the value of attribute content_bitrate_attribute_name.
-
#item_content_bitrate_xpath ⇒ Object
Returns the value of attribute item_content_bitrate_xpath.
-
#item_content_file_size_xpath ⇒ Object
Returns the value of attribute item_content_file_size_xpath.
-
#item_content_url_xpath ⇒ Object
Returns the value of attribute item_content_url_xpath.
-
#item_content_xpath ⇒ Object
Returns the value of attribute item_content_xpath.
-
#item_hash_xpath ⇒ Object
Returns the value of attribute item_hash_xpath.
-
#item_publish_date_xpath ⇒ Object
Returns the value of attribute item_publish_date_xpath.
-
#item_unique_identifier_xpath ⇒ Object
Returns the value of attribute item_unique_identifier_xpath.
-
#item_xpath ⇒ Object
Returns the value of attribute item_xpath.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#content_bitrate_attribute_name ⇒ Object
Returns the value of attribute content_bitrate_attribute_name.
42 43 44 |
# File 'lib/kaltura_plugins/kaltura_feed_drop_folder_client_plugin.rb', line 42 def content_bitrate_attribute_name @content_bitrate_attribute_name end |
#item_content_bitrate_xpath ⇒ Object
Returns the value of attribute item_content_bitrate_xpath.
39 40 41 |
# File 'lib/kaltura_plugins/kaltura_feed_drop_folder_client_plugin.rb', line 39 def item_content_bitrate_xpath @item_content_bitrate_xpath end |
#item_content_file_size_xpath ⇒ Object
Returns the value of attribute item_content_file_size_xpath.
37 38 39 |
# File 'lib/kaltura_plugins/kaltura_feed_drop_folder_client_plugin.rb', line 37 def item_content_file_size_xpath @item_content_file_size_xpath end |
#item_content_url_xpath ⇒ Object
Returns the value of attribute item_content_url_xpath.
38 39 40 |
# File 'lib/kaltura_plugins/kaltura_feed_drop_folder_client_plugin.rb', line 38 def item_content_url_xpath @item_content_url_xpath end |
#item_content_xpath ⇒ Object
Returns the value of attribute item_content_xpath.
41 42 43 |
# File 'lib/kaltura_plugins/kaltura_feed_drop_folder_client_plugin.rb', line 41 def item_content_xpath @item_content_xpath end |
#item_hash_xpath ⇒ Object
Returns the value of attribute item_hash_xpath.
40 41 42 |
# File 'lib/kaltura_plugins/kaltura_feed_drop_folder_client_plugin.rb', line 40 def item_hash_xpath @item_hash_xpath end |
#item_publish_date_xpath ⇒ Object
Returns the value of attribute item_publish_date_xpath.
35 36 37 |
# File 'lib/kaltura_plugins/kaltura_feed_drop_folder_client_plugin.rb', line 35 def item_publish_date_xpath @item_publish_date_xpath end |
#item_unique_identifier_xpath ⇒ Object
Returns the value of attribute item_unique_identifier_xpath.
36 37 38 |
# File 'lib/kaltura_plugins/kaltura_feed_drop_folder_client_plugin.rb', line 36 def item_unique_identifier_xpath @item_unique_identifier_xpath end |
#item_xpath ⇒ Object
Returns the value of attribute item_xpath.
34 35 36 |
# File 'lib/kaltura_plugins/kaltura_feed_drop_folder_client_plugin.rb', line 34 def item_xpath @item_xpath end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
45 46 47 48 49 50 51 52 53 54 55 56 |
# File 'lib/kaltura_plugins/kaltura_feed_drop_folder_client_plugin.rb', line 45 def from_xml(xml_element) super self.item_xpath = xml_element.elements['itemXPath'].text self.item_publish_date_xpath = xml_element.elements['itemPublishDateXPath'].text self.item_unique_identifier_xpath = xml_element.elements['itemUniqueIdentifierXPath'].text self.item_content_file_size_xpath = xml_element.elements['itemContentFileSizeXPath'].text self.item_content_url_xpath = xml_element.elements['itemContentUrlXPath'].text self.item_content_bitrate_xpath = xml_element.elements['itemContentBitrateXPath'].text self.item_hash_xpath = xml_element.elements['itemHashXPath'].text self.item_content_xpath = xml_element.elements['itemContentXpath'].text self.content_bitrate_attribute_name = xml_element.elements['contentBitrateAttributeName'].text end |