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
8315 8316 8317 |
# File 'lib/kaltura_types.rb', line 8315 def duration @duration end |
#execute_url ⇒ Object
The url for this playlist
8317 8318 8319 |
# File 'lib/kaltura_types.rb', line 8317 def execute_url @execute_url end |
#filters ⇒ Object
Returns the value of attribute filters.
8305 8306 8307 |
# File 'lib/kaltura_types.rb', line 8305 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
8304 8305 8306 |
# File 'lib/kaltura_types.rb', line 8304 def playlist_content @playlist_content end |
#playlist_type ⇒ Object
Type of playlist
8309 8310 8311 |
# File 'lib/kaltura_types.rb', line 8309 def playlist_type @playlist_type end |
#plays ⇒ Object
Number of plays
8311 8312 8313 |
# File 'lib/kaltura_types.rb', line 8311 def plays @plays end |
#total_results ⇒ Object
Maximum count of results to be returned in playlist execution
8307 8308 8309 |
# File 'lib/kaltura_types.rb', line 8307 def total_results @total_results end |
#views ⇒ Object
Number of views
8313 8314 8315 |
# File 'lib/kaltura_types.rb', line 8313 def views @views end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 |
# File 'lib/kaltura_types.rb', line 8335 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 |