Class: Kaltura::KalturaSchedulerStatus

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

#idObject

The id of the Category



5234
5235
5236
# File 'lib/kaltura_types.rb', line 5234

def id
  @id
end

#scheduler_configured_idObject

The configured id of the scheduler



5236
5237
5238
# File 'lib/kaltura_types.rb', line 5236

def scheduler_configured_id
  @scheduler_configured_id
end

#scheduler_idObject

The id of the scheduler



5246
5247
5248
# File 'lib/kaltura_types.rb', line 5246

def scheduler_id
  @scheduler_id
end

#typeObject

The status type



5242
5243
5244
# File 'lib/kaltura_types.rb', line 5242

def type
  @type
end

#valueObject

The status value



5244
5245
5246
# File 'lib/kaltura_types.rb', line 5244

def value
  @value
end

#worker_configured_idObject

The configured id of the job worker



5238
5239
5240
# File 'lib/kaltura_types.rb', line 5238

def worker_configured_id
  @worker_configured_id
end

#worker_idObject

The id of the worker



5248
5249
5250
# File 'lib/kaltura_types.rb', line 5248

def worker_id
  @worker_id
end

#worker_typeObject

The type of the job worker.



5240
5241
5242
# File 'lib/kaltura_types.rb', line 5240

def worker_type
  @worker_type
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
# File 'lib/kaltura_types.rb', line 5272

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