Class: Telnyx::Models::TextToSpeechGenerateParams::Azure
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::TextToSpeechGenerateParams::Azure
- Defined in:
- lib/telnyx/models/text_to_speech_generate_params.rb
Defined Under Namespace
Modules: TextType
Instance Attribute Summary collapse
-
#api_key ⇒ String?
Custom Azure API key.
-
#deployment_id ⇒ String?
Custom Azure deployment ID.
-
#effect ⇒ String?
Azure audio effect to apply.
-
#gender ⇒ String?
Voice gender preference.
-
#language_code ⇒ String?
Language code (e.g. ‘en-US`).
-
#output_format ⇒ String?
Azure audio output format.
-
#region ⇒ String?
Azure region (e.g. ‘eastus`, `westeurope`).
-
#text_type ⇒ Symbol, ...
Input text type.
Instance Method Summary collapse
-
#initialize(api_key: nil, deployment_id: nil, effect: nil, gender: nil, language_code: nil, output_format: nil, region: nil, text_type: nil) ⇒ Object
constructor
Azure Cognitive Services provider-specific parameters.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(api_key: nil, deployment_id: nil, effect: nil, gender: nil, language_code: nil, output_format: nil, region: nil, text_type: nil) ⇒ Object
Azure Cognitive Services provider-specific parameters.
|
|
# File 'lib/telnyx/models/text_to_speech_generate_params.rb', line 252
|
Instance Attribute Details
#api_key ⇒ String?
Custom Azure API key. If not provided, the default Telnyx key is used.
208 |
# File 'lib/telnyx/models/text_to_speech_generate_params.rb', line 208 optional :api_key, String |
#deployment_id ⇒ String?
Custom Azure deployment ID.
214 |
# File 'lib/telnyx/models/text_to_speech_generate_params.rb', line 214 optional :deployment_id, String |
#effect ⇒ String?
Azure audio effect to apply.
220 |
# File 'lib/telnyx/models/text_to_speech_generate_params.rb', line 220 optional :effect, String |
#gender ⇒ String?
Voice gender preference.
226 |
# File 'lib/telnyx/models/text_to_speech_generate_params.rb', line 226 optional :gender, String |
#language_code ⇒ String?
Language code (e.g. ‘en-US`).
232 |
# File 'lib/telnyx/models/text_to_speech_generate_params.rb', line 232 optional :language_code, String |
#output_format ⇒ String?
Azure audio output format.
238 |
# File 'lib/telnyx/models/text_to_speech_generate_params.rb', line 238 optional :output_format, String |
#region ⇒ String?
Azure region (e.g. ‘eastus`, `westeurope`).
244 |
# File 'lib/telnyx/models/text_to_speech_generate_params.rb', line 244 optional :region, String |
#text_type ⇒ Symbol, ...
Input text type. Use ‘ssml` for SSML-formatted input.
250 |
# File 'lib/telnyx/models/text_to_speech_generate_params.rb', line 250 optional :text_type, enum: -> { ::Telnyx::TextToSpeechGenerateParams::Azure::TextType } |