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



5194
5195
5196
# File 'lib/kaltura_types.rb', line 5194

def command_id
  @command_id
end

#command_statusObject

The status of the control panel command



5196
5197
5198
# File 'lib/kaltura_types.rb', line 5196

def command_status
  @command_status
end

#created_byObject

Creator name



5190
5191
5192
# File 'lib/kaltura_types.rb', line 5190

def created_by
  @created_by
end

#idObject

The id of the Category



5188
5189
5190
# File 'lib/kaltura_types.rb', line 5188

def id
  @id
end

#scheduler_configured_idObject

The configured id of the scheduler



5200
5201
5202
# File 'lib/kaltura_types.rb', line 5200

def scheduler_configured_id
  @scheduler_configured_id
end

#scheduler_idObject

The id of the scheduler



5198
5199
5200
# File 'lib/kaltura_types.rb', line 5198

def scheduler_id
  @scheduler_id
end

#scheduler_nameObject

The name of the scheduler



5202
5203
5204
# File 'lib/kaltura_types.rb', line 5202

def scheduler_name
  @scheduler_name
end

#updated_byObject

Updater name



5192
5193
5194
# File 'lib/kaltura_types.rb', line 5192

def updated_by
  @updated_by
end

#valueObject

The value of the variable



5214
5215
5216
# File 'lib/kaltura_types.rb', line 5214

def value
  @value
end

#variableObject

The name of the variable



5210
5211
5212
# File 'lib/kaltura_types.rb', line 5210

def variable
  @variable
end

#variable_partObject

The part of the variable



5212
5213
5214
# File 'lib/kaltura_types.rb', line 5212

def variable_part
  @variable_part
end

#worker_configured_idObject

The configured id of the job worker



5206
5207
5208
# File 'lib/kaltura_types.rb', line 5206

def worker_configured_id
  @worker_configured_id
end

#worker_idObject

The id of the job worker



5204
5205
5206
# File 'lib/kaltura_types.rb', line 5204

def worker_id
  @worker_id
end

#worker_nameObject

The name of the job worker



5208
5209
5210
# File 'lib/kaltura_types.rb', line 5208

def worker_name
  @worker_name
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
# File 'lib/kaltura_types.rb', line 5232

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