class Kaltura::KalturaYoutubeApiDistributionJobProviderData

Attributes

captions_info[RW]
thumb_asset_file_path[RW]
video_asset_file_path[RW]

Public Instance Methods

from_xml(xml_element) click to toggle source
# File lib/kaltura_plugins/kaltura_youtube_api_distribution_client_plugin.rb, line 104
def from_xml(xml_element)
        super
        if xml_element.elements['videoAssetFilePath'] != nil
                self.video_asset_file_path = xml_element.elements['videoAssetFilePath'].text
        end
        if xml_element.elements['thumbAssetFilePath'] != nil
                self.thumb_asset_file_path = xml_element.elements['thumbAssetFilePath'].text
        end
        if xml_element.elements['captionsInfo'] != nil
                self.captions_info = KalturaClientBase.object_from_xml(xml_element.elements['captionsInfo'], 'KalturaYouTubeApiCaptionDistributionInfo')
        end
end