Class: Kaltura::KalturaSchedulerStatus
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaSchedulerStatus
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
The id of the Category.
-
#scheduler_configured_id ⇒ Object
The configured id of the scheduler.
-
#scheduler_id ⇒ Object
The id of the scheduler.
-
#type ⇒ Object
The status type.
-
#value ⇒ Object
The status value.
-
#worker_configured_id ⇒ Object
The configured id of the job worker.
-
#worker_id ⇒ Object
The id of the worker.
-
#worker_type ⇒ Object
The type of the job worker.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#id ⇒ Object
The id of the Category
5277 5278 5279 |
# File 'lib/kaltura_types.rb', line 5277 def id @id end |
#scheduler_configured_id ⇒ Object
The configured id of the scheduler
5279 5280 5281 |
# File 'lib/kaltura_types.rb', line 5279 def scheduler_configured_id @scheduler_configured_id end |
#scheduler_id ⇒ Object
The id of the scheduler
5289 5290 5291 |
# File 'lib/kaltura_types.rb', line 5289 def scheduler_id @scheduler_id end |
#type ⇒ Object
The status type
5285 5286 5287 |
# File 'lib/kaltura_types.rb', line 5285 def type @type end |
#value ⇒ Object
The status value
5287 5288 5289 |
# File 'lib/kaltura_types.rb', line 5287 def value @value end |
#worker_configured_id ⇒ Object
The configured id of the job worker
5281 5282 5283 |
# File 'lib/kaltura_types.rb', line 5281 def worker_configured_id @worker_configured_id end |
#worker_id ⇒ Object
The id of the worker
5291 5292 5293 |
# File 'lib/kaltura_types.rb', line 5291 def worker_id @worker_id end |
#worker_type ⇒ Object
The type of the job worker.
5283 5284 5285 |
# File 'lib/kaltura_types.rb', line 5283 def worker_type @worker_type end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 |
# File 'lib/kaltura_types.rb', line 5315 def from_xml(xml_element) super if xml_element.elements['id'] != nil self.id = xml_element.elements['id'].text end if xml_element.elements['schedulerConfiguredId'] != nil self.scheduler_configured_id = xml_element.elements['schedulerConfiguredId'].text end if xml_element.elements['workerConfiguredId'] != nil self.worker_configured_id = xml_element.elements['workerConfiguredId'].text end if xml_element.elements['workerType'] != nil self.worker_type = xml_element.elements['workerType'].text end if xml_element.elements['type'] != nil self.type = xml_element.elements['type'].text end if xml_element.elements['value'] != nil self.value = xml_element.elements['value'].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 end |