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



5391
5392
5393
# File 'lib/kaltura_types.rb', line 5391

def id
  @id
end

#scheduler_configured_idObject

The configured id of the scheduler



5393
5394
5395
# File 'lib/kaltura_types.rb', line 5393

def scheduler_configured_id
  @scheduler_configured_id
end

#scheduler_idObject

The id of the scheduler



5403
5404
5405
# File 'lib/kaltura_types.rb', line 5403

def scheduler_id
  @scheduler_id
end

#typeObject

The status type



5399
5400
5401
# File 'lib/kaltura_types.rb', line 5399

def type
  @type
end

#valueObject

The status value



5401
5402
5403
# File 'lib/kaltura_types.rb', line 5401

def value
  @value
end

#worker_configured_idObject

The configured id of the job worker



5395
5396
5397
# File 'lib/kaltura_types.rb', line 5395

def worker_configured_id
  @worker_configured_id
end

#worker_idObject

The id of the worker



5405
5406
5407
# File 'lib/kaltura_types.rb', line 5405

def worker_id
  @worker_id
end

#worker_typeObject

The type of the job worker.



5397
5398
5399
# File 'lib/kaltura_types.rb', line 5397

def worker_type
  @worker_type
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
# File 'lib/kaltura_types.rb', line 5429

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