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



5439
5440
5441
# File 'lib/kaltura_types.rb', line 5439

def command_id
  @command_id
end

#command_statusObject

The status of the control panel command



5441
5442
5443
# File 'lib/kaltura_types.rb', line 5441

def command_status
  @command_status
end

#created_byObject

Creator name



5435
5436
5437
# File 'lib/kaltura_types.rb', line 5435

def created_by
  @created_by
end

#idObject

The id of the Category



5433
5434
5435
# File 'lib/kaltura_types.rb', line 5433

def id
  @id
end

#scheduler_configured_idObject

The configured id of the scheduler



5445
5446
5447
# File 'lib/kaltura_types.rb', line 5445

def scheduler_configured_id
  @scheduler_configured_id
end

#scheduler_idObject

The id of the scheduler



5443
5444
5445
# File 'lib/kaltura_types.rb', line 5443

def scheduler_id
  @scheduler_id
end

#scheduler_nameObject

The name of the scheduler



5447
5448
5449
# File 'lib/kaltura_types.rb', line 5447

def scheduler_name
  @scheduler_name
end

#updated_byObject

Updater name



5437
5438
5439
# File 'lib/kaltura_types.rb', line 5437

def updated_by
  @updated_by
end

#valueObject

The value of the variable



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

def value
  @value
end

#variableObject

The name of the variable



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

def variable
  @variable
end

#variable_partObject

The part of the variable



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

def variable_part
  @variable_part
end

#worker_configured_idObject

The configured id of the job worker



5451
5452
5453
# File 'lib/kaltura_types.rb', line 5451

def worker_configured_id
  @worker_configured_id
end

#worker_idObject

The id of the job worker



5449
5450
5451
# File 'lib/kaltura_types.rb', line 5449

def worker_id
  @worker_id
end

#worker_nameObject

The name of the job worker



5453
5454
5455
# File 'lib/kaltura_types.rb', line 5453

def worker_name
  @worker_name
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
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
5521
# File 'lib/kaltura_types.rb', line 5477

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