Class: Kaltura::KalturaScheduledTaskJobData

Inherits:
KalturaJobData show all
Defined in:
lib/kaltura_plugins/kaltura_scheduled_task_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

#file_formatObject

Returns the value of attribute file_format.



390
391
392
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 390

def file_format
  @file_format
end

#max_resultsObject

Returns the value of attribute max_results.



388
389
390
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 388

def max_results
  @max_results
end

#reference_timeObject

Returns the value of attribute reference_time.



392
393
394
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 392

def reference_time
  @reference_time
end

#results_file_pathObject

Returns the value of attribute results_file_path.



391
392
393
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 391

def results_file_path
  @results_file_path
end

#total_countObject

Returns the value of attribute total_count.



389
390
391
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 389

def total_count
  @total_count
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 407

def from_xml(xml_element)
	super
	if xml_element.elements['maxResults'] != nil
		self.max_results = xml_element.elements['maxResults'].text
	end
	if xml_element.elements['totalCount'] != nil
		self.total_count = xml_element.elements['totalCount'].text
	end
	if xml_element.elements['fileFormat'] != nil
		self.file_format = xml_element.elements['fileFormat'].text
	end
	if xml_element.elements['resultsFilePath'] != nil
		self.results_file_path = xml_element.elements['resultsFilePath'].text
	end
	if xml_element.elements['referenceTime'] != nil
		self.reference_time = xml_element.elements['referenceTime'].text
	end
end