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



5157
5158
5159
# File 'lib/kaltura_types.rb', line 5157

def id
  @id
end

#scheduler_configured_idObject

The configured id of the scheduler



5159
5160
5161
# File 'lib/kaltura_types.rb', line 5159

def scheduler_configured_id
  @scheduler_configured_id
end

#scheduler_idObject

The id of the scheduler



5169
5170
5171
# File 'lib/kaltura_types.rb', line 5169

def scheduler_id
  @scheduler_id
end

#typeObject

The status type



5165
5166
5167
# File 'lib/kaltura_types.rb', line 5165

def type
  @type
end

#valueObject

The status value



5167
5168
5169
# File 'lib/kaltura_types.rb', line 5167

def value
  @value
end

#worker_configured_idObject

The configured id of the job worker



5161
5162
5163
# File 'lib/kaltura_types.rb', line 5161

def worker_configured_id
  @worker_configured_id
end

#worker_idObject

The id of the worker



5171
5172
5173
# File 'lib/kaltura_types.rb', line 5171

def worker_id
  @worker_id
end

#worker_typeObject

The type of the job worker.



5163
5164
5165
# File 'lib/kaltura_types.rb', line 5163

def worker_type
  @worker_type
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
# File 'lib/kaltura_types.rb', line 5195

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