Class: Kaltura::KalturaBatchJob

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

#abortObject

Returns the value of attribute abort.



1576
1577
1578
# File 'lib/kaltura_types.rb', line 1576

def abort
  @abort
end

#batch_indexObject

Returns the value of attribute batch_index.



1599
1600
1601
# File 'lib/kaltura_types.rb', line 1599

def batch_index
  @batch_index
end

#batch_versionObject

Returns the value of attribute batch_version.



1584
1585
1586
# File 'lib/kaltura_types.rb', line 1584

def batch_version
  @batch_version
end

#bulk_job_idObject

The id of the bulk upload job that initiated this job



1583
1584
1585
# File 'lib/kaltura_types.rb', line 1583

def bulk_job_id
  @bulk_job_id
end

#check_again_timeoutObject

Returns the value of attribute check_again_timeout.



1577
1578
1579
# File 'lib/kaltura_types.rb', line 1577

def check_again_timeout
  @check_again_timeout
end

#created_atObject

Returns the value of attribute created_at.



1564
1565
1566
# File 'lib/kaltura_types.rb', line 1564

def created_at
  @created_at
end

#dataObject

Returns the value of attribute data.



1574
1575
1576
# File 'lib/kaltura_types.rb', line 1574

def data
  @data
end

#dcObject

Returns the value of attribute dc.



1602
1603
1604
# File 'lib/kaltura_types.rb', line 1602

def dc
  @dc
end

#deleted_atObject

Returns the value of attribute deleted_at.



1566
1567
1568
# File 'lib/kaltura_types.rb', line 1566

def deleted_at
  @deleted_at
end

#descriptionObject

Returns the value of attribute description.



1579
1580
1581
# File 'lib/kaltura_types.rb', line 1579

def description
  @description
end

#entry_idObject

Returns the value of attribute entry_id.



1570
1571
1572
# File 'lib/kaltura_types.rb', line 1570

def entry_id
  @entry_id
end

#entry_nameObject

Returns the value of attribute entry_name.



1571
1572
1573
# File 'lib/kaltura_types.rb', line 1571

def entry_name
  @entry_name
end

#err_numberObject

Returns the value of attribute err_number.



1594
1595
1596
# File 'lib/kaltura_types.rb', line 1594

def err_number
  @err_number
end

#err_typeObject

Returns the value of attribute err_type.



1593
1594
1595
# File 'lib/kaltura_types.rb', line 1593

def err_type
  @err_type
end

#estimated_effortObject

Returns the value of attribute estimated_effort.



1595
1596
1597
# File 'lib/kaltura_types.rb', line 1595

def estimated_effort
  @estimated_effort
end

#execution_attemptsObject

Returns the value of attribute execution_attempts.



1568
1569
1570
# File 'lib/kaltura_types.rb', line 1568

def execution_attempts
  @execution_attempts
end

#finish_timeObject

The time that the job was finished or closed as failed



1592
1593
1594
# File 'lib/kaltura_types.rb', line 1592

def finish_time
  @finish_time
end

#historyObject

Returns the value of attribute history.



1581
1582
1583
# File 'lib/kaltura_types.rb', line 1581

def history
  @history
end

#idObject

Returns the value of attribute id.



1562
1563
1564
# File 'lib/kaltura_types.rb', line 1562

def id
  @id
end

#job_object_idObject

Returns the value of attribute job_object_id.



1603
1604
1605
# File 'lib/kaltura_types.rb', line 1603

def job_object_id
  @job_object_id
end

#job_object_typeObject

Returns the value of attribute job_object_type.



1604
1605
1606
# File 'lib/kaltura_types.rb', line 1604

def job_object_type
  @job_object_type
end

#job_sub_typeObject

Returns the value of attribute job_sub_type.



1573
1574
1575
# File 'lib/kaltura_types.rb', line 1573

def job_sub_type
  @job_sub_type
end

#job_typeObject

Returns the value of attribute job_type.



1572
1573
1574
# File 'lib/kaltura_types.rb', line 1572

def job_type
  @job_type
end

#last_scheduler_idObject

Returns the value of attribute last_scheduler_id.



1600
1601
1602
# File 'lib/kaltura_types.rb', line 1600

def last_scheduler_id
  @last_scheduler_id
end

#last_worker_idObject

Returns the value of attribute last_worker_id.



1601
1602
1603
# File 'lib/kaltura_types.rb', line 1601

def last_worker_id
  @last_worker_id
end

#lock_expirationObject

Returns the value of attribute lock_expiration.



1567
1568
1569
# File 'lib/kaltura_types.rb', line 1567

def lock_expiration
  @lock_expiration
end

#lock_versionObject

Returns the value of attribute lock_version.



1569
1570
1571
# File 'lib/kaltura_types.rb', line 1569

def lock_version
  @lock_version
end

#messageObject

Returns the value of attribute message.



1578
1579
1580
# File 'lib/kaltura_types.rb', line 1578

def message
  @message
end

#parent_job_idObject

When one job creates another - the parent should set this parentJobId to be its own id.



1586
1587
1588
# File 'lib/kaltura_types.rb', line 1586

def parent_job_id
  @parent_job_id
end

#partner_idObject

Returns the value of attribute partner_id.



1563
1564
1565
# File 'lib/kaltura_types.rb', line 1563

def partner_id
  @partner_id
end

#priorityObject

Returns the value of attribute priority.



1580
1581
1582
# File 'lib/kaltura_types.rb', line 1580

def priority
  @priority
end

#queue_timeObject

The time that the job was pulled from the queue



1590
1591
1592
# File 'lib/kaltura_types.rb', line 1590

def queue_time
  @queue_time
end

#root_job_idObject

The id of the root parent job



1588
1589
1590
# File 'lib/kaltura_types.rb', line 1588

def root_job_id
  @root_job_id
end

#scheduler_idObject

Returns the value of attribute scheduler_id.



1597
1598
1599
# File 'lib/kaltura_types.rb', line 1597

def scheduler_id
  @scheduler_id
end

#statusObject

Returns the value of attribute status.



1575
1576
1577
# File 'lib/kaltura_types.rb', line 1575

def status
  @status
end

#updated_atObject

Returns the value of attribute updated_at.



1565
1566
1567
# File 'lib/kaltura_types.rb', line 1565

def updated_at
  @updated_at
end

#urgencyObject

Returns the value of attribute urgency.



1596
1597
1598
# File 'lib/kaltura_types.rb', line 1596

def urgency
  @urgency
end

#worker_idObject

Returns the value of attribute worker_id.



1598
1599
1600
# File 'lib/kaltura_types.rb', line 1598

def worker_id
  @worker_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



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
1806
1807
1808
1809
1810
1811
1812
1813
# File 'lib/kaltura_types.rb', line 1697

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.message = 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