Class: Kaltura::KalturaBatchHistoryData

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_types.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

#batch_indexObject

Returns the value of attribute batch_index.



1471
1472
1473
# File 'lib/kaltura_types.rb', line 1471

def batch_index
  @batch_index
end

#err_numberObject

Returns the value of attribute err_number.



1475
1476
1477
# File 'lib/kaltura_types.rb', line 1475

def err_number
  @err_number
end

#err_typeObject

Returns the value of attribute err_type.



1474
1475
1476
# File 'lib/kaltura_types.rb', line 1474

def err_type
  @err_type
end

#host_nameObject

Returns the value of attribute host_name.



1476
1477
1478
# File 'lib/kaltura_types.rb', line 1476

def host_name
  @host_name
end

#messageObject

Returns the value of attribute message.



1473
1474
1475
# File 'lib/kaltura_types.rb', line 1473

def message
  @message
end

#scheduler_idObject

Returns the value of attribute scheduler_id.



1469
1470
1471
# File 'lib/kaltura_types.rb', line 1469

def scheduler_id
  @scheduler_id
end

#scheduler_nameObject

Returns the value of attribute scheduler_name.



1478
1479
1480
# File 'lib/kaltura_types.rb', line 1478

def scheduler_name
  @scheduler_name
end

#session_idObject

Returns the value of attribute session_id.



1477
1478
1479
# File 'lib/kaltura_types.rb', line 1477

def session_id
  @session_id
end

#time_stampObject

Returns the value of attribute time_stamp.



1472
1473
1474
# File 'lib/kaltura_types.rb', line 1472

def time_stamp
  @time_stamp
end

#worker_idObject

Returns the value of attribute worker_id.



1470
1471
1472
# File 'lib/kaltura_types.rb', line 1470

def worker_id
  @worker_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
# File 'lib/kaltura_types.rb', line 1499

def from_xml(xml_element)
	super
	if xml_element.elements['schedulerId'] != nil
		self.scheduler_id = xml_element.elements['schedulerId'].text
	end
	if xml_element.elements['workerId'] != nil
		self.worker_id = xml_element.elements['workerId'].text
	end
	if xml_element.elements['batchIndex'] != nil
		self.batch_index = xml_element.elements['batchIndex'].text
	end
	if xml_element.elements['timeStamp'] != nil
		self.time_stamp = xml_element.elements['timeStamp'].text
	end
	if xml_element.elements['message'] != nil
		self.message = xml_element.elements['message'].text
	end
	if xml_element.elements['errType'] != nil
		self.err_type = xml_element.elements['errType'].text
	end
	if xml_element.elements['errNumber'] != nil
		self.err_number = xml_element.elements['errNumber'].text
	end
	if xml_element.elements['hostName'] != nil
		self.host_name = xml_element.elements['hostName'].text
	end
	if xml_element.elements['sessionId'] != nil
		self.session_id = xml_element.elements['sessionId'].text
	end
	if xml_element.elements['schedulerName'] != nil
		self.scheduler_name = xml_element.elements['schedulerName'].text
	end
end