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



5456
5457
5458
# File 'lib/kaltura_types.rb', line 5456

def id
  @id
end

#scheduler_configured_idObject

The configured id of the scheduler



5458
5459
5460
# File 'lib/kaltura_types.rb', line 5458

def scheduler_configured_id
  @scheduler_configured_id
end

#scheduler_idObject

The id of the scheduler



5468
5469
5470
# File 'lib/kaltura_types.rb', line 5468

def scheduler_id
  @scheduler_id
end

#typeObject

The status type



5464
5465
5466
# File 'lib/kaltura_types.rb', line 5464

def type
  @type
end

#valueObject

The status value



5466
5467
5468
# File 'lib/kaltura_types.rb', line 5466

def value
  @value
end

#worker_configured_idObject

The configured id of the job worker



5460
5461
5462
# File 'lib/kaltura_types.rb', line 5460

def worker_configured_id
  @worker_configured_id
end

#worker_idObject

The id of the worker



5470
5471
5472
# File 'lib/kaltura_types.rb', line 5470

def worker_id
  @worker_id
end

#worker_typeObject

The type of the job worker.



5462
5463
5464
# File 'lib/kaltura_types.rb', line 5462

def worker_type
  @worker_type
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
# File 'lib/kaltura_types.rb', line 5494

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