class Kaltura::KalturaPlaylist

Attributes

duration[RW]

The duration in seconds

execute_url[RW]

The url for this playlist

filters[RW]
playlist_content[RW]

Content of the playlist -

XML if the playlistType is dynamic 
text if the playlistType is static 
url if the playlistType is mRss
playlist_type[RW]

Type of playlist

plays[RW]

Number of plays

total_results[RW]

Maximum count of results to be returned in playlist execution

views[RW]

Number of views

Public Instance Methods

duration=(val) click to toggle source
# File lib/kaltura_types.rb, line 8274
def duration=(val)
        @duration = val.to_i
end
from_xml(xml_element) click to toggle source
Calls superclass method Kaltura::KalturaBaseEntry#from_xml
# File lib/kaltura_types.rb, line 8278
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
playlist_type=(val) click to toggle source
# File lib/kaltura_types.rb, line 8265
def playlist_type=(val)
        @playlist_type = val.to_i
end
plays=(val) click to toggle source
# File lib/kaltura_types.rb, line 8268
def plays=(val)
        @plays = val.to_i
end
total_results=(val) click to toggle source
# File lib/kaltura_types.rb, line 8262
def total_results=(val)
        @total_results = val.to_i
end
views=(val) click to toggle source
# File lib/kaltura_types.rb, line 8271
def views=(val)
        @views = val.to_i
end