Class: Kaltura::KalturaVoicebaseJobProviderData

Inherits:
KalturaIntegrationJobProviderData show all
Defined in:
lib/kaltura_plugins/kaltura_voicebase_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

#additional_parametersObject

additional parameters to send to VoiceBase



54
55
56
# File 'lib/kaltura_plugins/kaltura_voicebase_client_plugin.rb', line 54

def additional_parameters
  @additional_parameters
end

#api_keyObject

Api key for service provider



44
45
46
# File 'lib/kaltura_plugins/kaltura_voicebase_client_plugin.rb', line 44

def api_key
  @api_key
end

#api_passwordObject

Api key for service provider



46
47
48
# File 'lib/kaltura_plugins/kaltura_voicebase_client_plugin.rb', line 46

def api_password
  @api_password
end

#caption_asset_formatsObject

Caption formats



42
43
44
# File 'lib/kaltura_plugins/kaltura_voicebase_client_plugin.rb', line 42

def caption_asset_formats
  @caption_asset_formats
end

#entry_idObject

Entry ID



36
37
38
# File 'lib/kaltura_plugins/kaltura_voicebase_client_plugin.rb', line 36

def entry_id
  @entry_id
end

#file_locationObject

Transcript Content location



50
51
52
# File 'lib/kaltura_plugins/kaltura_voicebase_client_plugin.rb', line 50

def file_location
  @file_location
end

#flavor_asset_idObject

Flavor ID



38
39
40
# File 'lib/kaltura_plugins/kaltura_voicebase_client_plugin.rb', line 38

def flavor_asset_id
  @flavor_asset_id
end

#replace_media_contentObject

should replace remote media content



52
53
54
# File 'lib/kaltura_plugins/kaltura_voicebase_client_plugin.rb', line 52

def replace_media_content
  @replace_media_content
end

#spoken_languageObject

Transcript content language



48
49
50
# File 'lib/kaltura_plugins/kaltura_voicebase_client_plugin.rb', line 48

def spoken_language
  @spoken_language
end

#transcript_idObject

input Transcript-asset ID



40
41
42
# File 'lib/kaltura_plugins/kaltura_voicebase_client_plugin.rb', line 40

def transcript_id
  @transcript_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# File 'lib/kaltura_plugins/kaltura_voicebase_client_plugin.rb', line 60

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['flavorAssetId'] != nil
		self.flavor_asset_id = xml_element.elements['flavorAssetId'].text
	end
	if xml_element.elements['transcriptId'] != nil
		self.transcript_id = xml_element.elements['transcriptId'].text
	end
	if xml_element.elements['captionAssetFormats'] != nil
		self.caption_asset_formats = xml_element.elements['captionAssetFormats'].text
	end
	if xml_element.elements['apiKey'] != nil
		self.api_key = xml_element.elements['apiKey'].text
	end
	if xml_element.elements['apiPassword'] != nil
		self.api_password = xml_element.elements['apiPassword'].text
	end
	if xml_element.elements['spokenLanguage'] != nil
		self.spoken_language = xml_element.elements['spokenLanguage'].text
	end
	if xml_element.elements['fileLocation'] != nil
		self.file_location = xml_element.elements['fileLocation'].text
	end
	if xml_element.elements['replaceMediaContent'] != nil
		self.replace_media_content = xml_element.elements['replaceMediaContent'].text
	end
	if xml_element.elements['additionalParameters'] != nil
		self.additional_parameters = xml_element.elements['additionalParameters'].text
	end
end