Class: Kaltura::KalturaServerFileResource
- Inherits:
-
KalturaGenericDataCenterContentResource
- Object
- KalturaObjectBase
- KalturaResource
- KalturaContentResource
- KalturaDataCenterContentResource
- KalturaGenericDataCenterContentResource
- Kaltura::KalturaServerFileResource
- Defined in:
- lib/kaltura_types.rb
Overview
Used to ingest media file that is already accessible on the shared disc.
Instance Attribute Summary collapse
-
#keep_original_file ⇒ Object
Should keep original file (false = mv, true = cp).
-
#local_file_path ⇒ Object
Full path to the local file.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#keep_original_file ⇒ Object
Should keep original file (false = mv, true = cp)
19012 19013 19014 |
# File 'lib/kaltura_types.rb', line 19012 def keep_original_file @keep_original_file end |
#local_file_path ⇒ Object
Full path to the local file
19010 19011 19012 |
# File 'lib/kaltura_types.rb', line 19010 def local_file_path @local_file_path end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
19018 19019 19020 19021 19022 19023 19024 19025 19026 |
# File 'lib/kaltura_types.rb', line 19018 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 |