Class: Kaltura::KalturaImportJobData

Inherits:
KalturaJobData show all
Defined in:
lib/kaltura_types.rb

Direct Known Subclasses

KalturaSshImportJobData

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

#dest_file_local_pathObject

Returns the value of attribute dest_file_local_path.



14001
14002
14003
# File 'lib/kaltura_types.rb', line 14001

def dest_file_local_path
  @dest_file_local_path
end

#dest_file_shared_pathObject

Returns the value of attribute dest_file_shared_path.



14004
14005
14006
# File 'lib/kaltura_types.rb', line 14004

def dest_file_shared_path
  @dest_file_shared_path
end

#file_sizeObject

Returns the value of attribute file_size.



14003
14004
14005
# File 'lib/kaltura_types.rb', line 14003

def file_size
  @file_size
end

#flavor_asset_idObject

Returns the value of attribute flavor_asset_id.



14002
14003
14004
# File 'lib/kaltura_types.rb', line 14002

def flavor_asset_id
  @flavor_asset_id
end

#src_file_urlObject

Returns the value of attribute src_file_url.



14000
14001
14002
# File 'lib/kaltura_types.rb', line 14000

def src_file_url
  @src_file_url
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
# File 'lib/kaltura_types.rb', line 14010

def from_xml(xml_element)
	super
	if xml_element.elements['srcFileUrl'] != nil
		self.src_file_url = xml_element.elements['srcFileUrl'].text
	end
	if xml_element.elements['destFileLocalPath'] != nil
		self.dest_file_local_path = xml_element.elements['destFileLocalPath'].text
	end
	if xml_element.elements['flavorAssetId'] != nil
		self.flavor_asset_id = xml_element.elements['flavorAssetId'].text
	end
	if xml_element.elements['fileSize'] != nil
		self.file_size = xml_element.elements['fileSize'].text
	end
	if xml_element.elements['destFileSharedPath'] != nil
		self.dest_file_shared_path = xml_element.elements['destFileSharedPath'].text
	end
end