Class: Kaltura::KalturaCopyCaptionsJobData

Inherits:
KalturaJobData show all
Defined in:
lib/kaltura_plugins/kaltura_caption_client_plugin.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

#clips_description_arrayObject

an array of source start time and duration



246
247
248
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 246

def clips_description_array
  @clips_description_array
end

#entry_idObject

entry Id



244
245
246
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 244

def entry_id
  @entry_id
end

#full_copyObject

Returns the value of attribute full_copy.



247
248
249
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 247

def full_copy
  @full_copy
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



253
254
255
256
257
258
259
260
261
262
263
264
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 253

def from_xml(xml_element)
  super
  if xml_element.elements['entryId'] != nil
    self.entry_id = xml_element.elements['entryId'].text
  end
  if xml_element.elements['clipsDescriptionArray'] != nil
    self.clips_description_array = KalturaClientBase.object_from_xml(xml_element.elements['clipsDescriptionArray'], 'KalturaClipDescription')
  end
  if xml_element.elements['fullCopy'] != nil
    self.full_copy = xml_element.elements['fullCopy'].text
  end
end