Class: Kaltura::KalturaImportMetadataJobData

Inherits:
KalturaJobData show all
Defined in:
lib/kaltura_plugins/kaltura_metadata_client_plugin.rb

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.



283
284
285
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 283

def dest_file_local_path
  @dest_file_local_path
end

#metadata_idObject

Returns the value of attribute metadata_id.



284
285
286
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 284

def 
  @metadata_id
end

#src_file_urlObject

Returns the value of attribute src_file_url.



282
283
284
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 282

def src_file_url
  @src_file_url
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



290
291
292
293
294
295
296
297
298
299
300
301
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 290

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['metadataId'] != nil
		self. = xml_element.elements['metadataId'].text
	end
end