Class: Kaltura::KalturaBatchHistoryData
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaBatchHistoryData
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#batch_index ⇒ Object
Returns the value of attribute batch_index.
-
#err_number ⇒ Object
Returns the value of attribute err_number.
-
#err_type ⇒ Object
Returns the value of attribute err_type.
-
#host_name ⇒ Object
Returns the value of attribute host_name.
-
#message ⇒ Object
Returns the value of attribute message.
-
#scheduler_id ⇒ Object
Returns the value of attribute scheduler_id.
-
#scheduler_name ⇒ Object
Returns the value of attribute scheduler_name.
-
#session_id ⇒ Object
Returns the value of attribute session_id.
-
#time_stamp ⇒ Object
Returns the value of attribute time_stamp.
-
#worker_id ⇒ Object
Returns the value of attribute worker_id.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#batch_index ⇒ Object
Returns the value of attribute batch_index.
1497 1498 1499 |
# File 'lib/kaltura_types.rb', line 1497 def batch_index @batch_index end |
#err_number ⇒ Object
Returns the value of attribute err_number.
1501 1502 1503 |
# File 'lib/kaltura_types.rb', line 1501 def err_number @err_number end |
#err_type ⇒ Object
Returns the value of attribute err_type.
1500 1501 1502 |
# File 'lib/kaltura_types.rb', line 1500 def err_type @err_type end |
#host_name ⇒ Object
Returns the value of attribute host_name.
1502 1503 1504 |
# File 'lib/kaltura_types.rb', line 1502 def host_name @host_name end |
#message ⇒ Object
Returns the value of attribute message.
1499 1500 1501 |
# File 'lib/kaltura_types.rb', line 1499 def @message end |
#scheduler_id ⇒ Object
Returns the value of attribute scheduler_id.
1495 1496 1497 |
# File 'lib/kaltura_types.rb', line 1495 def scheduler_id @scheduler_id end |
#scheduler_name ⇒ Object
Returns the value of attribute scheduler_name.
1504 1505 1506 |
# File 'lib/kaltura_types.rb', line 1504 def scheduler_name @scheduler_name end |
#session_id ⇒ Object
Returns the value of attribute session_id.
1503 1504 1505 |
# File 'lib/kaltura_types.rb', line 1503 def session_id @session_id end |
#time_stamp ⇒ Object
Returns the value of attribute time_stamp.
1498 1499 1500 |
# File 'lib/kaltura_types.rb', line 1498 def time_stamp @time_stamp end |
#worker_id ⇒ Object
Returns the value of attribute worker_id.
1496 1497 1498 |
# File 'lib/kaltura_types.rb', line 1496 def worker_id @worker_id end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 |
# File 'lib/kaltura_types.rb', line 1525 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. = 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 |