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.
1032 1033 1034 |
# File 'lib/kaltura_types.rb', line 1032 def abort @abort end |
#batch_index ⇒ Object
Returns the value of attribute batch_index.
1060 1061 1062 |
# File 'lib/kaltura_types.rb', line 1060 def batch_index @batch_index end |
#batch_version ⇒ Object
Returns the value of attribute batch_version.
1041 1042 1043 |
# File 'lib/kaltura_types.rb', line 1041 def batch_version @batch_version end |
#bulk_job_id ⇒ Object
The id of the bulk upload job that initiated this job
1040 1041 1042 |
# File 'lib/kaltura_types.rb', line 1040 def bulk_job_id @bulk_job_id end |
#check_again_timeout ⇒ Object
Returns the value of attribute check_again_timeout.
1033 1034 1035 |
# File 'lib/kaltura_types.rb', line 1033 def check_again_timeout @check_again_timeout end |
#created_at ⇒ Object
Returns the value of attribute created_at.
1020 1021 1022 |
# File 'lib/kaltura_types.rb', line 1020 def created_at @created_at end |
#data ⇒ Object
Returns the value of attribute data.
1030 1031 1032 |
# File 'lib/kaltura_types.rb', line 1030 def data @data end |
#dc ⇒ Object
Returns the value of attribute dc.
1063 1064 1065 |
# File 'lib/kaltura_types.rb', line 1063 def dc @dc end |
#deleted_at ⇒ Object
Returns the value of attribute deleted_at.
1022 1023 1024 |
# File 'lib/kaltura_types.rb', line 1022 def deleted_at @deleted_at end |
#description ⇒ Object
Returns the value of attribute description.
1035 1036 1037 |
# File 'lib/kaltura_types.rb', line 1035 def description @description end |
#entry_id ⇒ Object
Returns the value of attribute entry_id.
1026 1027 1028 |
# File 'lib/kaltura_types.rb', line 1026 def entry_id @entry_id end |
#entry_name ⇒ Object
Returns the value of attribute entry_name.
1027 1028 1029 |
# File 'lib/kaltura_types.rb', line 1027 def entry_name @entry_name end |
#err_number ⇒ Object
Returns the value of attribute err_number.
1055 1056 1057 |
# File 'lib/kaltura_types.rb', line 1055 def err_number @err_number end |
#err_type ⇒ Object
Returns the value of attribute err_type.
1054 1055 1056 |
# File 'lib/kaltura_types.rb', line 1054 def err_type @err_type end |
#estimated_effort ⇒ Object
Returns the value of attribute estimated_effort.
1056 1057 1058 |
# File 'lib/kaltura_types.rb', line 1056 def estimated_effort @estimated_effort end |
#execution_attempts ⇒ Object
Returns the value of attribute execution_attempts.
1024 1025 1026 |
# File 'lib/kaltura_types.rb', line 1024 def execution_attempts @execution_attempts end |
#finish_time ⇒ Object
The time that the job was finished or closed as failed
1053 1054 1055 |
# File 'lib/kaltura_types.rb', line 1053 def finish_time @finish_time end |
#history ⇒ Object
Returns the value of attribute history.
1037 1038 1039 |
# File 'lib/kaltura_types.rb', line 1037 def history @history end |
#id ⇒ Object
Returns the value of attribute id.
1018 1019 1020 |
# File 'lib/kaltura_types.rb', line 1018 def id @id end |
#job_object_id ⇒ Object
Returns the value of attribute job_object_id.
1064 1065 1066 |
# File 'lib/kaltura_types.rb', line 1064 def job_object_id @job_object_id end |
#job_object_type ⇒ Object
Returns the value of attribute job_object_type.
1065 1066 1067 |
# File 'lib/kaltura_types.rb', line 1065 def job_object_type @job_object_type end |
#job_sub_type ⇒ Object
Returns the value of attribute job_sub_type.
1029 1030 1031 |
# File 'lib/kaltura_types.rb', line 1029 def job_sub_type @job_sub_type end |
#job_type ⇒ Object
Returns the value of attribute job_type.
1028 1029 1030 |
# File 'lib/kaltura_types.rb', line 1028 def job_type @job_type end |
#last_scheduler_id ⇒ Object
Returns the value of attribute last_scheduler_id.
1061 1062 1063 |
# File 'lib/kaltura_types.rb', line 1061 def last_scheduler_id @last_scheduler_id end |
#last_worker_id ⇒ Object
Returns the value of attribute last_worker_id.
1062 1063 1064 |
# File 'lib/kaltura_types.rb', line 1062 def last_worker_id @last_worker_id end |
#lock_expiration ⇒ Object
Returns the value of attribute lock_expiration.
1023 1024 1025 |
# File 'lib/kaltura_types.rb', line 1023 def lock_expiration @lock_expiration end |
#lock_version ⇒ Object
Returns the value of attribute lock_version.
1025 1026 1027 |
# File 'lib/kaltura_types.rb', line 1025 def lock_version @lock_version end |
#message ⇒ Object
Returns the value of attribute message.
1034 1035 1036 |
# File 'lib/kaltura_types.rb', line 1034 def @message end |
#parent_job_id ⇒ Object
When one job creates another - the parent should set this parentJobId to be its own id.
1044 1045 1046 |
# File 'lib/kaltura_types.rb', line 1044 def parent_job_id @parent_job_id end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
1019 1020 1021 |
# File 'lib/kaltura_types.rb', line 1019 def partner_id @partner_id end |
#priority ⇒ Object
Returns the value of attribute priority.
1036 1037 1038 |
# File 'lib/kaltura_types.rb', line 1036 def priority @priority end |
#queue_time ⇒ Object
The time that the job was pulled from the queue
1050 1051 1052 |
# File 'lib/kaltura_types.rb', line 1050 def queue_time @queue_time end |
#root_job_id ⇒ Object
The id of the root parent job
1047 1048 1049 |
# File 'lib/kaltura_types.rb', line 1047 def root_job_id @root_job_id end |
#scheduler_id ⇒ Object
Returns the value of attribute scheduler_id.
1058 1059 1060 |
# File 'lib/kaltura_types.rb', line 1058 def scheduler_id @scheduler_id end |
#status ⇒ Object
Returns the value of attribute status.
1031 1032 1033 |
# File 'lib/kaltura_types.rb', line 1031 def status @status end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
1021 1022 1023 |
# File 'lib/kaltura_types.rb', line 1021 def updated_at @updated_at end |
#urgency ⇒ Object
Returns the value of attribute urgency.
1057 1058 1059 |
# File 'lib/kaltura_types.rb', line 1057 def urgency @urgency end |
#worker_id ⇒ Object
Returns the value of attribute worker_id.
1059 1060 1061 |
# File 'lib/kaltura_types.rb', line 1059 def worker_id @worker_id end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 |
# File 'lib/kaltura_types.rb', line 1158 def from_xml(xml_element) super self.id = xml_element.elements['id'].text self.partner_id = xml_element.elements['partnerId'].text self.created_at = xml_element.elements['createdAt'].text self.updated_at = xml_element.elements['updatedAt'].text self.deleted_at = xml_element.elements['deletedAt'].text self.lock_expiration = xml_element.elements['lockExpiration'].text self.execution_attempts = xml_element.elements['executionAttempts'].text self.lock_version = xml_element.elements['lockVersion'].text self.entry_id = xml_element.elements['entryId'].text self.entry_name = xml_element.elements['entryName'].text self.job_type = xml_element.elements['jobType'].text self.job_sub_type = xml_element.elements['jobSubType'].text self.data = KalturaClientBase.object_from_xml(xml_element.elements['data'], 'KalturaJobData') self.status = xml_element.elements['status'].text self.abort = xml_element.elements['abort'].text self.check_again_timeout = xml_element.elements['checkAgainTimeout'].text self. = xml_element.elements['message'].text self.description = xml_element.elements['description'].text self.priority = xml_element.elements['priority'].text self.history = KalturaClientBase.object_from_xml(xml_element.elements['history'], 'KalturaBatchHistoryData') self.bulk_job_id = xml_element.elements['bulkJobId'].text self.batch_version = xml_element.elements['batchVersion'].text self.parent_job_id = xml_element.elements['parentJobId'].text self.root_job_id = xml_element.elements['rootJobId'].text self.queue_time = xml_element.elements['queueTime'].text self.finish_time = xml_element.elements['finishTime'].text self.err_type = xml_element.elements['errType'].text self.err_number = xml_element.elements['errNumber'].text self.estimated_effort = xml_element.elements['estimatedEffort'].text self.urgency = xml_element.elements['urgency'].text self.scheduler_id = xml_element.elements['schedulerId'].text self.worker_id = xml_element.elements['workerId'].text self.batch_index = xml_element.elements['batchIndex'].text self.last_scheduler_id = xml_element.elements['lastSchedulerId'].text self.last_worker_id = xml_element.elements['lastWorkerId'].text self.dc = xml_element.elements['dc'].text self.job_object_id = xml_element.elements['jobObjectId'].text self.job_object_type = xml_element.elements['jobObjectType'].text end |