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, #application, #application_version, #block_auto_transcript, #capabilities, #categories, #categories_ids, #conversion_profile_id, #created_at, #creator_id, #description, #display_in_search, #download_url, #end_date, #entitled_users_edit, #entitled_users_publish, #entitled_users_view, #group_id, #id, #license_type, #moderation_count, #moderation_status, #multi_lingual_description, #multi_lingual_name, #multi_lingual_tags, #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, #template_entry_id, #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
8402 8403 8404 |
# File 'lib/kaltura_types.rb', line 8402 def duration @duration end |
#execute_url ⇒ Object
The url for this playlist
8404 8405 8406 |
# File 'lib/kaltura_types.rb', line 8404 def execute_url @execute_url end |
#filters ⇒ Object
Returns the value of attribute filters.
8392 8393 8394 |
# File 'lib/kaltura_types.rb', line 8392 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
8391 8392 8393 |
# File 'lib/kaltura_types.rb', line 8391 def playlist_content @playlist_content end |
#playlist_type ⇒ Object
Type of playlist
8396 8397 8398 |
# File 'lib/kaltura_types.rb', line 8396 def playlist_type @playlist_type end |
#plays ⇒ Object
Number of plays
8398 8399 8400 |
# File 'lib/kaltura_types.rb', line 8398 def plays @plays end |
#total_results ⇒ Object
Maximum count of results to be returned in playlist execution
8394 8395 8396 |
# File 'lib/kaltura_types.rb', line 8394 def total_results @total_results end |
#views ⇒ Object
Number of views
8400 8401 8402 |
# File 'lib/kaltura_types.rb', line 8400 def views @views end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 |
# File 'lib/kaltura_types.rb', line 8422 def from_xml(xml_element) super if xml_element.elements['playlistContent'] != nil self.playlist_content = xml_element.elements['playlistContent'].text end if xml_element.elements['filters'] != nil self.filters = KalturaClientBase.object_from_xml(xml_element.elements['filters'], 'KalturaMediaEntryFilterForPlaylist') end if xml_element.elements['totalResults'] != nil self.total_results = xml_element.elements['totalResults'].text end if xml_element.elements['playlistType'] != nil self.playlist_type = xml_element.elements['playlistType'].text end if xml_element.elements['plays'] != nil self.plays = xml_element.elements['plays'].text end if xml_element.elements['views'] != nil self.views = xml_element.elements['views'].text end if xml_element.elements['duration'] != nil self.duration = xml_element.elements['duration'].text end if xml_element.elements['executeUrl'] != nil self.execute_url = xml_element.elements['executeUrl'].text end end |