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
5344 5345 5346 |
# File 'lib/kaltura_types.rb', line 5344 def id @id end |
#scheduler_configured_id ⇒ Object
The configured id of the scheduler
5346 5347 5348 |
# File 'lib/kaltura_types.rb', line 5346 def scheduler_configured_id @scheduler_configured_id end |
#scheduler_id ⇒ Object
The id of the scheduler
5356 5357 5358 |
# File 'lib/kaltura_types.rb', line 5356 def scheduler_id @scheduler_id end |
#type ⇒ Object
The status type
5352 5353 5354 |
# File 'lib/kaltura_types.rb', line 5352 def type @type end |
#value ⇒ Object
The status value
5354 5355 5356 |
# File 'lib/kaltura_types.rb', line 5354 def value @value end |
#worker_configured_id ⇒ Object
The configured id of the job worker
5348 5349 5350 |
# File 'lib/kaltura_types.rb', line 5348 def worker_configured_id @worker_configured_id end |
#worker_id ⇒ Object
The id of the worker
5358 5359 5360 |
# File 'lib/kaltura_types.rb', line 5358 def worker_id @worker_id end |
#worker_type ⇒ Object
The type of the job worker.
5350 5351 5352 |
# File 'lib/kaltura_types.rb', line 5350 def worker_type @worker_type end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 |
# File 'lib/kaltura_types.rb', line 5382 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 |