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, #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
8190 8191 8192 |
# File 'lib/kaltura_types.rb', line 8190 def duration @duration end |
#execute_url ⇒ Object
The url for this playlist
8192 8193 8194 |
# File 'lib/kaltura_types.rb', line 8192 def execute_url @execute_url end |
#filters ⇒ Object
Returns the value of attribute filters.
8180 8181 8182 |
# File 'lib/kaltura_types.rb', line 8180 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
8179 8180 8181 |
# File 'lib/kaltura_types.rb', line 8179 def playlist_content @playlist_content end |
#playlist_type ⇒ Object
Type of playlist
8184 8185 8186 |
# File 'lib/kaltura_types.rb', line 8184 def playlist_type @playlist_type end |
#plays ⇒ Object
Number of plays
8186 8187 8188 |
# File 'lib/kaltura_types.rb', line 8186 def plays @plays end |
#total_results ⇒ Object
Maximum count of results to be returned in playlist execution
8182 8183 8184 |
# File 'lib/kaltura_types.rb', line 8182 def total_results @total_results end |
#views ⇒ Object
Number of views
8188 8189 8190 |
# File 'lib/kaltura_types.rb', line 8188 def views @views end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 |
# File 'lib/kaltura_types.rb', line 8210 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 |