Class: Kaltura::KalturaPlaylist
- Inherits:
-
KalturaBaseEntry
- Object
- KalturaObjectBase
- KalturaBaseEntry
- Kaltura::KalturaPlaylist
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#duration ⇒ Object
The duration in seconds.
-
#execute_url ⇒ Object
The url for this playlist.
-
#filters ⇒ Object
Returns the value of attribute filters.
-
#playlist_content ⇒ Object
Content of the playlist - XML if the playlistType is dynamic text if the playlistType is static url if the playlistType is mRss.
-
#playlist_type ⇒ Object
Type of playlist.
-
#plays ⇒ Object
Number of plays.
-
#total_results ⇒ Object
Maximum count of results to be returned in playlist execution.
-
#views ⇒ Object
Number of views.
Attributes inherited from KalturaBaseEntry
#access_control_id, #admin_tags, #capabilities, #categories, #categories_ids, #conversion_profile_id, #created_at, #creator_id, #description, #download_url, #end_date, #entitled_users_edit, #entitled_users_publish, #group_id, #id, #license_type, #moderation_count, #moderation_status, #name, #operation_attributes, #parent_entry_id, #partner_data, #partner_id, #partner_sort_value, #rank, #redirect_entry_id, #reference_id, #replaced_entry_id, #replacement_status, #replacing_entry_id, #root_entry_id, #search_text, #start_date, #status, #tags, #thumbnail_url, #total_rank, #type, #updated_at, #user_id, #version, #votes
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#duration ⇒ Object
The duration in seconds
4802 4803 4804 |
# File 'lib/kaltura_types.rb', line 4802 def duration @duration end |
#execute_url ⇒ Object
The url for this playlist
4805 4806 4807 |
# File 'lib/kaltura_types.rb', line 4805 def execute_url @execute_url end |
#filters ⇒ Object
Returns the value of attribute filters.
4787 4788 4789 |
# File 'lib/kaltura_types.rb', line 4787 def filters @filters end |
#playlist_content ⇒ Object
Content of the playlist - XML if the playlistType is dynamic text if the playlistType is static url if the playlistType is mRss
4786 4787 4788 |
# File 'lib/kaltura_types.rb', line 4786 def playlist_content @playlist_content end |
#playlist_type ⇒ Object
Type of playlist
4793 4794 4795 |
# File 'lib/kaltura_types.rb', line 4793 def playlist_type @playlist_type end |
#plays ⇒ Object
Number of plays
4796 4797 4798 |
# File 'lib/kaltura_types.rb', line 4796 def plays @plays end |
#total_results ⇒ Object
Maximum count of results to be returned in playlist execution
4790 4791 4792 |
# File 'lib/kaltura_types.rb', line 4790 def total_results @total_results end |
#views ⇒ Object
Number of views
4799 4800 4801 |
# File 'lib/kaltura_types.rb', line 4799 def views @views end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 |
# File 'lib/kaltura_types.rb', line 4823 def from_xml(xml_element) super self.playlist_content = xml_element.elements['playlistContent'].text self.filters = KalturaClientBase.object_from_xml(xml_element.elements['filters'], 'KalturaMediaEntryFilterForPlaylist') self.total_results = xml_element.elements['totalResults'].text self.playlist_type = xml_element.elements['playlistType'].text self.plays = xml_element.elements['plays'].text self.views = xml_element.elements['views'].text self.duration = xml_element.elements['duration'].text self.execute_url = xml_element.elements['executeUrl'].text end |