class Kaltura::KalturaAdCuePoint

Attributes

ad_type[RW]
duration[RW]

Duration in milliseconds

end_time[RW]
protocol_type[RW]
source_url[RW]
title[RW]

Public Instance Methods

duration=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_ad_cue_point_client_plugin.rb, line 76
def duration=(val)
        @duration = val.to_i
end
end_time=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_ad_cue_point_client_plugin.rb, line 73
def end_time=(val)
        @end_time = val.to_i
end
from_xml(xml_element) click to toggle source
Calls superclass method
# File lib/kaltura_plugins/kaltura_ad_cue_point_client_plugin.rb, line 80
def from_xml(xml_element)
        super
        if xml_element.elements['protocolType'] != nil
                self.protocol_type = xml_element.elements['protocolType'].text
        end
        if xml_element.elements['sourceUrl'] != nil
                self.source_url = xml_element.elements['sourceUrl'].text
        end
        if xml_element.elements['adType'] != nil
                self.ad_type = xml_element.elements['adType'].text
        end
        if xml_element.elements['title'] != nil
                self.title = xml_element.elements['title'].text
        end
        if xml_element.elements['endTime'] != nil
                self.end_time = xml_element.elements['endTime'].text
        end
        if xml_element.elements['duration'] != nil
                self.duration = xml_element.elements['duration'].text
        end
end