class Kaltura::KalturaConvertCaptionAssetJobData

Attributes

caption_asset_id[RW]
file_encryption_key[RW]
file_location[RW]
from_type[RW]
to_type[RW]

Public Instance Methods

from_xml(xml_element) click to toggle source
Calls superclass method
# File lib/kaltura_plugins/kaltura_caption_client_plugin.rb, line 266
def from_xml(xml_element)
        super
        if xml_element.elements['captionAssetId'] != nil
                self.caption_asset_id = xml_element.elements['captionAssetId'].text
        end
        if xml_element.elements['fileLocation'] != nil
                self.file_location = xml_element.elements['fileLocation'].text
        end
        if xml_element.elements['fileEncryptionKey'] != nil
                self.file_encryption_key = xml_element.elements['fileEncryptionKey'].text
        end
        if xml_element.elements['fromType'] != nil
                self.from_type = xml_element.elements['fromType'].text
        end
        if xml_element.elements['toType'] != nil
                self.to_type = xml_element.elements['toType'].text
        end
end