TtsBaseAudioConfig¶
-
class
oci.ai_speech.models.
TtsBaseAudioConfig
(**kwargs)¶ Bases:
oci.ai_speech.models.tts_audio_config.TtsAudioConfig
Use this audio config for saving the audio response at specified path.
Attributes
CONFIG_TYPE_BASE_AUDIO_CONFIG
str(object=’’) -> str config_type
[Required] Gets the config_type of this TtsAudioConfig. save_path
[Required] Gets the save_path of this TtsBaseAudioConfig. Methods
__init__
(**kwargs)Initializes a new TtsBaseAudioConfig object with values from keyword arguments. get_subtype
(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
CONFIG_TYPE_BASE_AUDIO_CONFIG
= 'BASE_AUDIO_CONFIG'¶
-
__init__
(**kwargs)¶ Initializes a new TtsBaseAudioConfig object with values from keyword arguments. The default value of the
config_type
attribute of this class isBASE_AUDIO_CONFIG
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - config_type (str) – The value to assign to the config_type property of this TtsBaseAudioConfig. Allowed values for this property are: “BASE_AUDIO_CONFIG”
- save_path (str) – The value to assign to the save_path property of this TtsBaseAudioConfig.
-
config_type
¶ [Required] Gets the config_type of this TtsAudioConfig. The audio config type to use for handling the audio output. Supported config types are: - BASE_AUDIO_CONFIG
Allowed values for this property are: “BASE_AUDIO_CONFIG”
Returns: The config_type of this TtsAudioConfig. Return type: str
-
static
get_subtype
(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
save_path
¶ [Required] Gets the save_path of this TtsBaseAudioConfig. Specify the path where you want to save the audio response.
Returns: The save_path of this TtsBaseAudioConfig. Return type: str
-