class Kaltura::KalturaServerFileResource

Used to ingest media file that is already accessible on the shared disc.

Attributes

keep_original_file[RW]

Should keep original file (false = mv, true = cp)

local_file_path[RW]

Full path to the local file

Public Instance Methods

from_xml(xml_element) click to toggle source
# File lib/kaltura_types.rb, line 19809
def from_xml(xml_element)
        super
        if xml_element.elements['localFilePath'] != nil
                self.local_file_path = xml_element.elements['localFilePath'].text
        end
        if xml_element.elements['keepOriginalFile'] != nil
                self.keep_original_file = xml_element.elements['keepOriginalFile'].text
        end
end
keep_original_file=(val) click to toggle source
# File lib/kaltura_types.rb, line 19805
def keep_original_file=(val)
        @keep_original_file = to_b(val)
end