Class: Kaltura::KalturaSchedulerConfig

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

#command_idObject

Id of the control panel command that created this config item



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

def command_id
  @command_id
end

#command_statusObject

The status of the control panel command



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

def command_status
  @command_status
end

#created_byObject

Creator name



5229
5230
5231
# File 'lib/kaltura_types.rb', line 5229

def created_by
  @created_by
end

#idObject

The id of the Category



5227
5228
5229
# File 'lib/kaltura_types.rb', line 5227

def id
  @id
end

#scheduler_configured_idObject

The configured id of the scheduler



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

def scheduler_configured_id
  @scheduler_configured_id
end

#scheduler_idObject

The id of the scheduler



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

def scheduler_id
  @scheduler_id
end

#scheduler_nameObject

The name of the scheduler



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

def scheduler_name
  @scheduler_name
end

#updated_byObject

Updater name



5231
5232
5233
# File 'lib/kaltura_types.rb', line 5231

def updated_by
  @updated_by
end

#valueObject

The value of the variable



5253
5254
5255
# File 'lib/kaltura_types.rb', line 5253

def value
  @value
end

#variableObject

The name of the variable



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

def variable
  @variable
end

#variable_partObject

The part of the variable



5251
5252
5253
# File 'lib/kaltura_types.rb', line 5251

def variable_part
  @variable_part
end

#worker_configured_idObject

The configured id of the job worker



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

def worker_configured_id
  @worker_configured_id
end

#worker_idObject

The id of the job worker



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

def worker_id
  @worker_id
end

#worker_nameObject

The name of the job worker



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

def worker_name
  @worker_name
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



5271
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
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
# File 'lib/kaltura_types.rb', line 5271

def from_xml(xml_element)
	super
	if xml_element.elements['id'] != nil
		self.id = xml_element.elements['id'].text
	end
	if xml_element.elements['createdBy'] != nil
		self.created_by = xml_element.elements['createdBy'].text
	end
	if xml_element.elements['updatedBy'] != nil
		self.updated_by = xml_element.elements['updatedBy'].text
	end
	if xml_element.elements['commandId'] != nil
		self.command_id = xml_element.elements['commandId'].text
	end
	if xml_element.elements['commandStatus'] != nil
		self.command_status = xml_element.elements['commandStatus'].text
	end
	if xml_element.elements['schedulerId'] != nil
		self.scheduler_id = xml_element.elements['schedulerId'].text
	end
	if xml_element.elements['schedulerConfiguredId'] != nil
		self.scheduler_configured_id = xml_element.elements['schedulerConfiguredId'].text
	end
	if xml_element.elements['schedulerName'] != nil
		self.scheduler_name = xml_element.elements['schedulerName'].text
	end
	if xml_element.elements['workerId'] != nil
		self.worker_id = xml_element.elements['workerId'].text
	end
	if xml_element.elements['workerConfiguredId'] != nil
		self.worker_configured_id = xml_element.elements['workerConfiguredId'].text
	end
	if xml_element.elements['workerName'] != nil
		self.worker_name = xml_element.elements['workerName'].text
	end
	if xml_element.elements['variable'] != nil
		self.variable = xml_element.elements['variable'].text
	end
	if xml_element.elements['variablePart'] != nil
		self.variable_part = xml_element.elements['variablePart'].text
	end
	if xml_element.elements['value'] != nil
		self.value = xml_element.elements['value'].text
	end
end