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.
1611 1612 1613 |
# File 'lib/kaltura_types.rb', line 1611 def abort @abort end |
#batch_index ⇒ Object
Returns the value of attribute batch_index.
1634 1635 1636 |
# File 'lib/kaltura_types.rb', line 1634 def batch_index @batch_index end |
#batch_version ⇒ Object
Returns the value of attribute batch_version.
1619 1620 1621 |
# File 'lib/kaltura_types.rb', line 1619 def batch_version @batch_version end |
#bulk_job_id ⇒ Object
The id of the bulk upload job that initiated this job
1618 1619 1620 |
# File 'lib/kaltura_types.rb', line 1618 def bulk_job_id @bulk_job_id end |
#check_again_timeout ⇒ Object
Returns the value of attribute check_again_timeout.
1612 1613 1614 |
# File 'lib/kaltura_types.rb', line 1612 def check_again_timeout @check_again_timeout end |
#created_at ⇒ Object
Returns the value of attribute created_at.
1599 1600 1601 |
# File 'lib/kaltura_types.rb', line 1599 def created_at @created_at end |
#data ⇒ Object
Returns the value of attribute data.
1609 1610 1611 |
# File 'lib/kaltura_types.rb', line 1609 def data @data end |
#dc ⇒ Object
Returns the value of attribute dc.
1637 1638 1639 |
# File 'lib/kaltura_types.rb', line 1637 def dc @dc end |
#deleted_at ⇒ Object
Returns the value of attribute deleted_at.
1601 1602 1603 |
# File 'lib/kaltura_types.rb', line 1601 def deleted_at @deleted_at end |
#description ⇒ Object
Returns the value of attribute description.
1614 1615 1616 |
# File 'lib/kaltura_types.rb', line 1614 def description @description end |
#entry_id ⇒ Object
Returns the value of attribute entry_id.
1605 1606 1607 |
# File 'lib/kaltura_types.rb', line 1605 def entry_id @entry_id end |
#entry_name ⇒ Object
Returns the value of attribute entry_name.
1606 1607 1608 |
# File 'lib/kaltura_types.rb', line 1606 def entry_name @entry_name end |
#err_number ⇒ Object
Returns the value of attribute err_number.
1629 1630 1631 |
# File 'lib/kaltura_types.rb', line 1629 def err_number @err_number end |
#err_type ⇒ Object
Returns the value of attribute err_type.
1628 1629 1630 |
# File 'lib/kaltura_types.rb', line 1628 def err_type @err_type end |
#estimated_effort ⇒ Object
Returns the value of attribute estimated_effort.
1630 1631 1632 |
# File 'lib/kaltura_types.rb', line 1630 def estimated_effort @estimated_effort end |
#execution_attempts ⇒ Object
Returns the value of attribute execution_attempts.
1603 1604 1605 |
# File 'lib/kaltura_types.rb', line 1603 def execution_attempts @execution_attempts end |
#finish_time ⇒ Object
The time that the job was finished or closed as failed
1627 1628 1629 |
# File 'lib/kaltura_types.rb', line 1627 def finish_time @finish_time end |
#history ⇒ Object
Returns the value of attribute history.
1616 1617 1618 |
# File 'lib/kaltura_types.rb', line 1616 def history @history end |
#id ⇒ Object
Returns the value of attribute id.
1597 1598 1599 |
# File 'lib/kaltura_types.rb', line 1597 def id @id end |
#job_object_id ⇒ Object
Returns the value of attribute job_object_id.
1638 1639 1640 |
# File 'lib/kaltura_types.rb', line 1638 def job_object_id @job_object_id end |
#job_object_type ⇒ Object
Returns the value of attribute job_object_type.
1639 1640 1641 |
# File 'lib/kaltura_types.rb', line 1639 def job_object_type @job_object_type end |
#job_sub_type ⇒ Object
Returns the value of attribute job_sub_type.
1608 1609 1610 |
# File 'lib/kaltura_types.rb', line 1608 def job_sub_type @job_sub_type end |
#job_type ⇒ Object
Returns the value of attribute job_type.
1607 1608 1609 |
# File 'lib/kaltura_types.rb', line 1607 def job_type @job_type end |
#last_scheduler_id ⇒ Object
Returns the value of attribute last_scheduler_id.
1635 1636 1637 |
# File 'lib/kaltura_types.rb', line 1635 def last_scheduler_id @last_scheduler_id end |
#last_worker_id ⇒ Object
Returns the value of attribute last_worker_id.
1636 1637 1638 |
# File 'lib/kaltura_types.rb', line 1636 def last_worker_id @last_worker_id end |
#lock_expiration ⇒ Object
Returns the value of attribute lock_expiration.
1602 1603 1604 |
# File 'lib/kaltura_types.rb', line 1602 def lock_expiration @lock_expiration end |
#lock_version ⇒ Object
Returns the value of attribute lock_version.
1604 1605 1606 |
# File 'lib/kaltura_types.rb', line 1604 def lock_version @lock_version end |
#message ⇒ Object
Returns the value of attribute message.
1613 1614 1615 |
# File 'lib/kaltura_types.rb', line 1613 def @message end |
#parent_job_id ⇒ Object
When one job creates another - the parent should set this parentJobId to be its own id.
1621 1622 1623 |
# File 'lib/kaltura_types.rb', line 1621 def parent_job_id @parent_job_id end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
1598 1599 1600 |
# File 'lib/kaltura_types.rb', line 1598 def partner_id @partner_id end |
#priority ⇒ Object
Returns the value of attribute priority.
1615 1616 1617 |
# File 'lib/kaltura_types.rb', line 1615 def priority @priority end |
#queue_time ⇒ Object
The time that the job was pulled from the queue
1625 1626 1627 |
# File 'lib/kaltura_types.rb', line 1625 def queue_time @queue_time end |
#root_job_id ⇒ Object
The id of the root parent job
1623 1624 1625 |
# File 'lib/kaltura_types.rb', line 1623 def root_job_id @root_job_id end |
#scheduler_id ⇒ Object
Returns the value of attribute scheduler_id.
1632 1633 1634 |
# File 'lib/kaltura_types.rb', line 1632 def scheduler_id @scheduler_id end |
#status ⇒ Object
Returns the value of attribute status.
1610 1611 1612 |
# File 'lib/kaltura_types.rb', line 1610 def status @status end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
1600 1601 1602 |
# File 'lib/kaltura_types.rb', line 1600 def updated_at @updated_at end |
#urgency ⇒ Object
Returns the value of attribute urgency.
1631 1632 1633 |
# File 'lib/kaltura_types.rb', line 1631 def urgency @urgency end |
#worker_id ⇒ Object
Returns the value of attribute worker_id.
1633 1634 1635 |
# File 'lib/kaltura_types.rb', line 1633 def worker_id @worker_id end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
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 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 |
# File 'lib/kaltura_types.rb', line 1732 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 |