Class: Kaltura::KalturaBatchJob
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaBatchJob
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#abort ⇒ Object
Returns the value of attribute abort.
-
#batch_index ⇒ Object
Returns the value of attribute batch_index.
-
#batch_version ⇒ Object
Returns the value of attribute batch_version.
-
#bulk_job_id ⇒ Object
The id of the bulk upload job that initiated this job.
-
#check_again_timeout ⇒ Object
Returns the value of attribute check_again_timeout.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#data ⇒ Object
Returns the value of attribute data.
-
#dc ⇒ Object
Returns the value of attribute dc.
-
#deleted_at ⇒ Object
Returns the value of attribute deleted_at.
-
#description ⇒ Object
Returns the value of attribute description.
-
#entry_id ⇒ Object
Returns the value of attribute entry_id.
-
#entry_name ⇒ Object
Returns the value of attribute entry_name.
-
#err_number ⇒ Object
Returns the value of attribute err_number.
-
#err_type ⇒ Object
Returns the value of attribute err_type.
-
#estimated_effort ⇒ Object
Returns the value of attribute estimated_effort.
-
#execution_attempts ⇒ Object
Returns the value of attribute execution_attempts.
-
#finish_time ⇒ Object
The time that the job was finished or closed as failed.
-
#history ⇒ Object
Returns the value of attribute history.
-
#id ⇒ Object
Returns the value of attribute id.
-
#job_object_id ⇒ Object
Returns the value of attribute job_object_id.
-
#job_object_type ⇒ Object
Returns the value of attribute job_object_type.
-
#job_sub_type ⇒ Object
Returns the value of attribute job_sub_type.
-
#job_type ⇒ Object
Returns the value of attribute job_type.
-
#last_scheduler_id ⇒ Object
Returns the value of attribute last_scheduler_id.
-
#last_worker_id ⇒ Object
Returns the value of attribute last_worker_id.
-
#lock_expiration ⇒ Object
Returns the value of attribute lock_expiration.
-
#lock_version ⇒ Object
Returns the value of attribute lock_version.
-
#message ⇒ Object
Returns the value of attribute message.
-
#parent_job_id ⇒ Object
When one job creates another - the parent should set this parentJobId to be its own id.
-
#partner_id ⇒ Object
Returns the value of attribute partner_id.
-
#priority ⇒ Object
Returns the value of attribute priority.
-
#queue_time ⇒ Object
The time that the job was pulled from the queue.
-
#root_job_id ⇒ Object
The id of the root parent job.
-
#scheduler_id ⇒ Object
Returns the value of attribute scheduler_id.
-
#status ⇒ Object
Returns the value of attribute status.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
-
#urgency ⇒ Object
Returns the value of attribute urgency.
-
#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
#abort ⇒ Object
Returns the value of attribute abort.
1568 1569 1570 |
# File 'lib/kaltura_types.rb', line 1568 def abort @abort end |
#batch_index ⇒ Object
Returns the value of attribute batch_index.
1591 1592 1593 |
# File 'lib/kaltura_types.rb', line 1591 def batch_index @batch_index end |
#batch_version ⇒ Object
Returns the value of attribute batch_version.
1576 1577 1578 |
# File 'lib/kaltura_types.rb', line 1576 def batch_version @batch_version end |
#bulk_job_id ⇒ Object
The id of the bulk upload job that initiated this job
1575 1576 1577 |
# File 'lib/kaltura_types.rb', line 1575 def bulk_job_id @bulk_job_id end |
#check_again_timeout ⇒ Object
Returns the value of attribute check_again_timeout.
1569 1570 1571 |
# File 'lib/kaltura_types.rb', line 1569 def check_again_timeout @check_again_timeout end |
#created_at ⇒ Object
Returns the value of attribute created_at.
1556 1557 1558 |
# File 'lib/kaltura_types.rb', line 1556 def created_at @created_at end |
#data ⇒ Object
Returns the value of attribute data.
1566 1567 1568 |
# File 'lib/kaltura_types.rb', line 1566 def data @data end |
#dc ⇒ Object
Returns the value of attribute dc.
1594 1595 1596 |
# File 'lib/kaltura_types.rb', line 1594 def dc @dc end |
#deleted_at ⇒ Object
Returns the value of attribute deleted_at.
1558 1559 1560 |
# File 'lib/kaltura_types.rb', line 1558 def deleted_at @deleted_at end |
#description ⇒ Object
Returns the value of attribute description.
1571 1572 1573 |
# File 'lib/kaltura_types.rb', line 1571 def description @description end |
#entry_id ⇒ Object
Returns the value of attribute entry_id.
1562 1563 1564 |
# File 'lib/kaltura_types.rb', line 1562 def entry_id @entry_id end |
#entry_name ⇒ Object
Returns the value of attribute entry_name.
1563 1564 1565 |
# File 'lib/kaltura_types.rb', line 1563 def entry_name @entry_name end |
#err_number ⇒ Object
Returns the value of attribute err_number.
1586 1587 1588 |
# File 'lib/kaltura_types.rb', line 1586 def err_number @err_number end |
#err_type ⇒ Object
Returns the value of attribute err_type.
1585 1586 1587 |
# File 'lib/kaltura_types.rb', line 1585 def err_type @err_type end |
#estimated_effort ⇒ Object
Returns the value of attribute estimated_effort.
1587 1588 1589 |
# File 'lib/kaltura_types.rb', line 1587 def estimated_effort @estimated_effort end |
#execution_attempts ⇒ Object
Returns the value of attribute execution_attempts.
1560 1561 1562 |
# File 'lib/kaltura_types.rb', line 1560 def execution_attempts @execution_attempts end |
#finish_time ⇒ Object
The time that the job was finished or closed as failed
1584 1585 1586 |
# File 'lib/kaltura_types.rb', line 1584 def finish_time @finish_time end |
#history ⇒ Object
Returns the value of attribute history.
1573 1574 1575 |
# File 'lib/kaltura_types.rb', line 1573 def history @history end |
#id ⇒ Object
Returns the value of attribute id.
1554 1555 1556 |
# File 'lib/kaltura_types.rb', line 1554 def id @id end |
#job_object_id ⇒ Object
Returns the value of attribute job_object_id.
1595 1596 1597 |
# File 'lib/kaltura_types.rb', line 1595 def job_object_id @job_object_id end |
#job_object_type ⇒ Object
Returns the value of attribute job_object_type.
1596 1597 1598 |
# File 'lib/kaltura_types.rb', line 1596 def job_object_type @job_object_type end |
#job_sub_type ⇒ Object
Returns the value of attribute job_sub_type.
1565 1566 1567 |
# File 'lib/kaltura_types.rb', line 1565 def job_sub_type @job_sub_type end |
#job_type ⇒ Object
Returns the value of attribute job_type.
1564 1565 1566 |
# File 'lib/kaltura_types.rb', line 1564 def job_type @job_type end |
#last_scheduler_id ⇒ Object
Returns the value of attribute last_scheduler_id.
1592 1593 1594 |
# File 'lib/kaltura_types.rb', line 1592 def last_scheduler_id @last_scheduler_id end |
#last_worker_id ⇒ Object
Returns the value of attribute last_worker_id.
1593 1594 1595 |
# File 'lib/kaltura_types.rb', line 1593 def last_worker_id @last_worker_id end |
#lock_expiration ⇒ Object
Returns the value of attribute lock_expiration.
1559 1560 1561 |
# File 'lib/kaltura_types.rb', line 1559 def lock_expiration @lock_expiration end |
#lock_version ⇒ Object
Returns the value of attribute lock_version.
1561 1562 1563 |
# File 'lib/kaltura_types.rb', line 1561 def lock_version @lock_version end |
#message ⇒ Object
Returns the value of attribute message.
1570 1571 1572 |
# File 'lib/kaltura_types.rb', line 1570 def end |
#parent_job_id ⇒ Object
When one job creates another - the parent should set this parentJobId to be its own id.
1578 1579 1580 |
# File 'lib/kaltura_types.rb', line 1578 def parent_job_id @parent_job_id end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
1555 1556 1557 |
# File 'lib/kaltura_types.rb', line 1555 def partner_id @partner_id end |
#priority ⇒ Object
Returns the value of attribute priority.
1572 1573 1574 |
# File 'lib/kaltura_types.rb', line 1572 def priority @priority end |
#queue_time ⇒ Object
The time that the job was pulled from the queue
1582 1583 1584 |
# File 'lib/kaltura_types.rb', line 1582 def queue_time @queue_time end |
#root_job_id ⇒ Object
The id of the root parent job
1580 1581 1582 |
# File 'lib/kaltura_types.rb', line 1580 def root_job_id @root_job_id end |
#scheduler_id ⇒ Object
Returns the value of attribute scheduler_id.
1589 1590 1591 |
# File 'lib/kaltura_types.rb', line 1589 def scheduler_id @scheduler_id end |
#status ⇒ Object
Returns the value of attribute status.
1567 1568 1569 |
# File 'lib/kaltura_types.rb', line 1567 def status @status end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
1557 1558 1559 |
# File 'lib/kaltura_types.rb', line 1557 def updated_at @updated_at end |
#urgency ⇒ Object
Returns the value of attribute urgency.
1588 1589 1590 |
# File 'lib/kaltura_types.rb', line 1588 def urgency @urgency end |
#worker_id ⇒ Object
Returns the value of attribute worker_id.
1590 1591 1592 |
# File 'lib/kaltura_types.rb', line 1590 def worker_id @worker_id end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 |
# File 'lib/kaltura_types.rb', line 1689 def from_xml(xml_element) super if xml_element.elements['id'] != nil self.id = xml_element.elements['id'].text end if xml_element.elements['partnerId'] != nil self.partner_id = xml_element.elements['partnerId'].text end if xml_element.elements['createdAt'] != nil self.created_at = xml_element.elements['createdAt'].text end if xml_element.elements['updatedAt'] != nil self.updated_at = xml_element.elements['updatedAt'].text end if xml_element.elements['deletedAt'] != nil self.deleted_at = xml_element.elements['deletedAt'].text end if xml_element.elements['lockExpiration'] != nil self.lock_expiration = xml_element.elements['lockExpiration'].text end if xml_element.elements['executionAttempts'] != nil self.execution_attempts = xml_element.elements['executionAttempts'].text end if xml_element.elements['lockVersion'] != nil self.lock_version = xml_element.elements['lockVersion'].text end if xml_element.elements['entryId'] != nil self.entry_id = xml_element.elements['entryId'].text end if xml_element.elements['entryName'] != nil self.entry_name = xml_element.elements['entryName'].text end if xml_element.elements['jobType'] != nil self.job_type = xml_element.elements['jobType'].text end if xml_element.elements['jobSubType'] != nil self.job_sub_type = xml_element.elements['jobSubType'].text end if xml_element.elements['data'] != nil self.data = KalturaClientBase.object_from_xml(xml_element.elements['data'], 'KalturaJobData') end if xml_element.elements['status'] != nil self.status = xml_element.elements['status'].text end if xml_element.elements['abort'] != nil self.abort = xml_element.elements['abort'].text end if xml_element.elements['checkAgainTimeout'] != nil self.check_again_timeout = xml_element.elements['checkAgainTimeout'].text end if xml_element.elements['message'] != nil self. = xml_element.elements['message'].text end if xml_element.elements['description'] != nil self.description = xml_element.elements['description'].text end if xml_element.elements['priority'] != nil self.priority = xml_element.elements['priority'].text end if xml_element.elements['history'] != nil self.history = KalturaClientBase.object_from_xml(xml_element.elements['history'], 'KalturaBatchHistoryData') end if xml_element.elements['bulkJobId'] != nil self.bulk_job_id = xml_element.elements['bulkJobId'].text end if xml_element.elements['batchVersion'] != nil self.batch_version = xml_element.elements['batchVersion'].text end if xml_element.elements['parentJobId'] != nil self.parent_job_id = xml_element.elements['parentJobId'].text end if xml_element.elements['rootJobId'] != nil self.root_job_id = xml_element.elements['rootJobId'].text end if xml_element.elements['queueTime'] != nil self.queue_time = xml_element.elements['queueTime'].text end if xml_element.elements['finishTime'] != nil self.finish_time = xml_element.elements['finishTime'].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['estimatedEffort'] != nil self.estimated_effort = xml_element.elements['estimatedEffort'].text end if xml_element.elements['urgency'] != nil self.urgency = xml_element.elements['urgency'].text end 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['lastSchedulerId'] != nil self.last_scheduler_id = xml_element.elements['lastSchedulerId'].text end if xml_element.elements['lastWorkerId'] != nil self.last_worker_id = xml_element.elements['lastWorkerId'].text end if xml_element.elements['dc'] != nil self.dc = xml_element.elements['dc'].text end if xml_element.elements['jobObjectId'] != nil self.job_object_id = xml_element.elements['jobObjectId'].text end if xml_element.elements['jobObjectType'] != nil self.job_object_type = xml_element.elements['jobObjectType'].text end end |