RAPP Platform API
 All Classes Namespaces Files Functions Variables Typedefs
RappCloud.CloudMsgs.TextToSpeech.TextToSpeech.Request Class Reference
Inheritance diagram for RappCloud.CloudMsgs.TextToSpeech.TextToSpeech.Request:
Collaboration diagram for RappCloud.CloudMsgs.TextToSpeech.TextToSpeech.Request:

Public Member Functions

def __init__
 Constructor. More...
 
def make_files
 
def make_payload
 

Public Attributes

 language
 Language to use for translation. More...
 
 text
 Input text to translate to audio data. More...
 

Detailed Description

Text-To-Speech (TTS) Cloud Request object.

TextToSpeech.Request

Definition at line 17 of file TextToSpeech.py.

Constructor & Destructor Documentation

def RappCloud.CloudMsgs.TextToSpeech.TextToSpeech.Request.__init__ (   self,
  kwargs 
)

Constructor.

Parameters
**kwargs- Keyword arguments. Apply values to the request attributes.

Definition at line 22 of file TextToSpeech.py.

Member Function Documentation

def RappCloud.CloudMsgs.TextToSpeech.TextToSpeech.Request.make_files (   self)
Create and return Array of File objects of the Request. 

Definition at line 50 of file TextToSpeech.py.

def RappCloud.CloudMsgs.TextToSpeech.TextToSpeech.Request.make_payload (   self)
Create and return the Payload of the Request. 

Definition at line 41 of file TextToSpeech.py.

Member Data Documentation

RappCloud.CloudMsgs.TextToSpeech.TextToSpeech.Request.language

Language to use for translation.

Valid values are currently:

  • 'el'
  • 'en'

Definition at line 37 of file TextToSpeech.py.

RappCloud.CloudMsgs.TextToSpeech.TextToSpeech.Request.text

Input text to translate to audio data.

Definition at line 32 of file TextToSpeech.py.


The documentation for this class was generated from the following file: