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
5211 5212 5213 |
# File 'lib/kaltura_types.rb', line 5211 def id @id end |
#scheduler_configured_id ⇒ Object
The configured id of the scheduler
5213 5214 5215 |
# File 'lib/kaltura_types.rb', line 5213 def scheduler_configured_id @scheduler_configured_id end |
#scheduler_id ⇒ Object
The id of the scheduler
5223 5224 5225 |
# File 'lib/kaltura_types.rb', line 5223 def scheduler_id @scheduler_id end |
#type ⇒ Object
The status type
5219 5220 5221 |
# File 'lib/kaltura_types.rb', line 5219 def type @type end |
#value ⇒ Object
The status value
5221 5222 5223 |
# File 'lib/kaltura_types.rb', line 5221 def value @value end |
#worker_configured_id ⇒ Object
The configured id of the job worker
5215 5216 5217 |
# File 'lib/kaltura_types.rb', line 5215 def worker_configured_id @worker_configured_id end |
#worker_id ⇒ Object
The id of the worker
5225 5226 5227 |
# File 'lib/kaltura_types.rb', line 5225 def worker_id @worker_id end |
#worker_type ⇒ Object
The type of the job worker.
5217 5218 5219 |
# File 'lib/kaltura_types.rb', line 5217 def worker_type @worker_type end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 |
# File 'lib/kaltura_types.rb', line 5249 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 |