Class: Telnyx::Models::TextToSpeechGenerateSpeechParams::Azure
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::TextToSpeechGenerateSpeechParams::Azure
- Defined in:
- lib/telnyx/models/text_to_speech_generate_speech_params.rb,
sig/telnyx/models/text_to_speech_generate_speech_params.rbs
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.
- #to_hash ⇒ {
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_speech_params.rb', line 262
|
Instance Attribute Details
#api_key ⇒ String?
Custom Azure API key. If not provided, the default Telnyx key is used.
218 |
# File 'lib/telnyx/models/text_to_speech_generate_speech_params.rb', line 218 optional :api_key, String |
#deployment_id ⇒ String?
Custom Azure deployment ID.
224 |
# File 'lib/telnyx/models/text_to_speech_generate_speech_params.rb', line 224 optional :deployment_id, String |
#effect ⇒ String?
Azure audio effect to apply.
230 |
# File 'lib/telnyx/models/text_to_speech_generate_speech_params.rb', line 230 optional :effect, String |
#gender ⇒ String?
Voice gender preference.
236 |
# File 'lib/telnyx/models/text_to_speech_generate_speech_params.rb', line 236 optional :gender, String |
#language_code ⇒ String?
Language code (e.g. en-US).
242 |
# File 'lib/telnyx/models/text_to_speech_generate_speech_params.rb', line 242 optional :language_code, String |
#output_format ⇒ String?
Azure audio output format.
248 |
# File 'lib/telnyx/models/text_to_speech_generate_speech_params.rb', line 248 optional :output_format, String |
#region ⇒ String?
Azure region (e.g. eastus, westeurope).
254 |
# File 'lib/telnyx/models/text_to_speech_generate_speech_params.rb', line 254 optional :region, String |
#text_type ⇒ Symbol, ...
Input text type. Use ssml for SSML-formatted input.
260 |
# File 'lib/telnyx/models/text_to_speech_generate_speech_params.rb', line 260 optional :text_type, enum: -> { ::Telnyx::TextToSpeechGenerateSpeechParams::Azure::TextType } |
Instance Method Details
#to_hash ⇒ {
272 |
# File 'sig/telnyx/models/text_to_speech_generate_speech_params.rbs', line 272
def to_hash: -> {
|