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



5325
5326
5327
# File 'lib/kaltura_types.rb', line 5325

def command_id
  @command_id
end

#command_statusObject

The status of the control panel command



5327
5328
5329
# File 'lib/kaltura_types.rb', line 5327

def command_status
  @command_status
end

#created_byObject

Creator name



5321
5322
5323
# File 'lib/kaltura_types.rb', line 5321

def created_by
  @created_by
end

#idObject

The id of the Category



5319
5320
5321
# File 'lib/kaltura_types.rb', line 5319

def id
  @id
end

#scheduler_configured_idObject

The configured id of the scheduler



5331
5332
5333
# File 'lib/kaltura_types.rb', line 5331

def scheduler_configured_id
  @scheduler_configured_id
end

#scheduler_idObject

The id of the scheduler



5329
5330
5331
# File 'lib/kaltura_types.rb', line 5329

def scheduler_id
  @scheduler_id
end

#scheduler_nameObject

The name of the scheduler



5333
5334
5335
# File 'lib/kaltura_types.rb', line 5333

def scheduler_name
  @scheduler_name
end

#updated_byObject

Updater name



5323
5324
5325
# File 'lib/kaltura_types.rb', line 5323

def updated_by
  @updated_by
end

#valueObject

The value of the variable



5345
5346
5347
# File 'lib/kaltura_types.rb', line 5345

def value
  @value
end

#variableObject

The name of the variable



5341
5342
5343
# File 'lib/kaltura_types.rb', line 5341

def variable
  @variable
end

#variable_partObject

The part of the variable



5343
5344
5345
# File 'lib/kaltura_types.rb', line 5343

def variable_part
  @variable_part
end

#worker_configured_idObject

The configured id of the job worker



5337
5338
5339
# File 'lib/kaltura_types.rb', line 5337

def worker_configured_id
  @worker_configured_id
end

#worker_idObject

The id of the job worker



5335
5336
5337
# File 'lib/kaltura_types.rb', line 5335

def worker_id
  @worker_id
end

#worker_nameObject

The name of the job worker



5339
5340
5341
# File 'lib/kaltura_types.rb', line 5339

def worker_name
  @worker_name
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
# File 'lib/kaltura_types.rb', line 5363

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