TtsAudioConfig

class oci.ai_speech.models.TtsAudioConfig(**kwargs)

Bases: object

Use this schema to specify handling of audio response. If audioConfig is not provided, raw response is handed over for the user to handle.

Attributes:

CONFIG_TYPE_BASE_AUDIO_CONFIG

A constant which can be used with the config_type property of a TtsAudioConfig.

config_type

[Required] Gets the config_type of this TtsAudioConfig.

Methods:

__init__(**kwargs)

Initializes a new TtsAudioConfig 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'

A constant which can be used with the config_type property of a TtsAudioConfig. This constant has a value of “BASE_AUDIO_CONFIG”

__init__(**kwargs)

Initializes a new TtsAudioConfig object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

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 TtsAudioConfig. Allowed values for this property are: “BASE_AUDIO_CONFIG”

property 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.