Class: Kaltura::KalturaServerFileResource

Overview

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

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#keep_original_fileObject

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



19988
19989
19990
# File 'lib/kaltura_types.rb', line 19988

def keep_original_file
  @keep_original_file
end

#local_file_pathObject

Full path to the local file



19986
19987
19988
# File 'lib/kaltura_types.rb', line 19986

def local_file_path
  @local_file_path
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



19994
19995
19996
19997
19998
19999
20000
20001
20002
# File 'lib/kaltura_types.rb', line 19994

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