Class: Kaltura::KalturaConvertCaptionAssetJobData

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

#caption_asset_idObject

Returns the value of attribute caption_asset_id.



249
250
251
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 249

def caption_asset_id
  @caption_asset_id
end

#file_encryption_keyObject

Returns the value of attribute file_encryption_key.



251
252
253
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 251

def file_encryption_key
  @file_encryption_key
end

#file_locationObject

Returns the value of attribute file_location.



250
251
252
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 250

def file_location
  @file_location
end

#from_typeObject

Returns the value of attribute from_type.



252
253
254
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 252

def from_type
  @from_type
end

#to_typeObject

Returns the value of attribute to_type.



253
254
255
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 253

def to_type
  @to_type
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 256

def from_xml(xml_element)
	super
	if xml_element.elements['captionAssetId'] != nil
		self.caption_asset_id = xml_element.elements['captionAssetId'].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
	if xml_element.elements['fromType'] != nil
		self.from_type = xml_element.elements['fromType'].text
	end
	if xml_element.elements['toType'] != nil
		self.to_type = xml_element.elements['toType'].text
	end
end