Class: Kaltura::KalturaParseMultiLanguageCaptionAssetJobData

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

#entry_idObject

Returns the value of attribute entry_id.



305
306
307
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 305

def entry_id
  @entry_id
end

#file_encryption_keyObject

Returns the value of attribute file_encryption_key.



307
308
309
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 307

def file_encryption_key
  @file_encryption_key
end

#file_locationObject

Returns the value of attribute file_location.



306
307
308
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 306

def file_location
  @file_location
end

#multi_lanaguage_caption_asset_idObject

Returns the value of attribute multi_lanaguage_caption_asset_id.



304
305
306
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 304

def multi_lanaguage_caption_asset_id
  @multi_lanaguage_caption_asset_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 310

def from_xml(xml_element)
	super
	if xml_element.elements['multiLanaguageCaptionAssetId'] != nil
		self.multi_lanaguage_caption_asset_id = xml_element.elements['multiLanaguageCaptionAssetId'].text
	end
	if xml_element.elements['entryId'] != nil
		self.entry_id = xml_element.elements['entryId'].text
	end
	if xml_element.elements['fileLocation'] != nil
		self.file_location = xml_element.elements['fileLocation'].text
	end
	if xml_element.elements['fileEncryptionKey'] != nil
		self.file_encryption_key = xml_element.elements['fileEncryptionKey'].text
	end
end