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, #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
8350 8351 8352 |
# File 'lib/kaltura_types.rb', line 8350 def duration @duration end |
#execute_url ⇒ Object
The url for this playlist
8352 8353 8354 |
# File 'lib/kaltura_types.rb', line 8352 def execute_url @execute_url end |
#filters ⇒ Object
Returns the value of attribute filters.
8340 8341 8342 |
# File 'lib/kaltura_types.rb', line 8340 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
8339 8340 8341 |
# File 'lib/kaltura_types.rb', line 8339 def playlist_content @playlist_content end |
#playlist_type ⇒ Object
Type of playlist
8344 8345 8346 |
# File 'lib/kaltura_types.rb', line 8344 def playlist_type @playlist_type end |
#plays ⇒ Object
Number of plays
8346 8347 8348 |
# File 'lib/kaltura_types.rb', line 8346 def plays @plays end |
#total_results ⇒ Object
Maximum count of results to be returned in playlist execution
8342 8343 8344 |
# File 'lib/kaltura_types.rb', line 8342 def total_results @total_results end |
#views ⇒ Object
Number of views
8348 8349 8350 |
# File 'lib/kaltura_types.rb', line 8348 def views @views end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 |
# File 'lib/kaltura_types.rb', line 8370 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 |