Class: Kaltura::KalturaVoicebaseJobProviderData
- Inherits:
-
KalturaIntegrationJobProviderData
- Object
- KalturaObjectBase
- KalturaIntegrationJobProviderData
- Kaltura::KalturaVoicebaseJobProviderData
- Defined in:
- lib/kaltura_plugins/kaltura_voicebase_client_plugin.rb
Instance Attribute Summary collapse
-
#additional_parameters ⇒ Object
additional parameters to send to VoiceBase.
-
#api_key ⇒ Object
Api key for service provider.
-
#api_password ⇒ Object
Api key for service provider.
-
#caption_asset_formats ⇒ Object
Caption formats.
-
#entry_id ⇒ Object
Entry ID.
-
#file_location ⇒ Object
Transcript Content location.
-
#flavor_asset_id ⇒ Object
Flavor ID.
-
#replace_media_content ⇒ Object
should replace remote media content.
-
#spoken_language ⇒ Object
Transcript content language.
-
#transcript_id ⇒ Object
input Transcript-asset ID.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#additional_parameters ⇒ Object
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_key ⇒ Object
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_password ⇒ Object
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_formats ⇒ Object
Caption formats
42 43 44 |
# File 'lib/kaltura_plugins/kaltura_voicebase_client_plugin.rb', line 42 def @caption_asset_formats end |
#entry_id ⇒ Object
Entry ID
36 37 38 |
# File 'lib/kaltura_plugins/kaltura_voicebase_client_plugin.rb', line 36 def entry_id @entry_id end |
#file_location ⇒ Object
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_id ⇒ Object
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_content ⇒ Object
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_language ⇒ Object
Transcript content language
48 49 50 |
# File 'lib/kaltura_plugins/kaltura_voicebase_client_plugin.rb', line 48 def spoken_language @spoken_language end |
#transcript_id ⇒ Object
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. = 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 |