Class: Telnyx::Models::Calls::ElevenLabsVoiceSettings
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::Calls::ElevenLabsVoiceSettings
- Defined in:
- lib/telnyx/models/calls/eleven_labs_voice_settings.rb,
sig/telnyx/models/calls/eleven_labs_voice_settings.rbs
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#api_key_ref ⇒ String?
The
identifierfor an integration secret /v2/integration_secrets that refers to your ElevenLabs API key. -
#type ⇒ Symbol, Telnyx::Models::Calls::ElevenLabsVoiceSettings::Type
Voice settings provider type.
Instance Method Summary collapse
-
#initialize(type:, api_key_ref: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see ElevenLabsVoiceSettings for more details.
- #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(type:, api_key_ref: nil) ⇒ Object
Some parameter documentations has been truncated, see Telnyx::Models::Calls::ElevenLabsVoiceSettings for more details.
|
|
# File 'lib/telnyx/models/calls/eleven_labs_voice_settings.rb', line 22
|
Instance Attribute Details
#api_key_ref ⇒ String?
The identifier for an integration secret
/v2/integration_secrets
that refers to your ElevenLabs API key. Warning: Free plans are unlikely to work
with this integration.
20 |
# File 'lib/telnyx/models/calls/eleven_labs_voice_settings.rb', line 20 optional :api_key_ref, String |
#type ⇒ Symbol, Telnyx::Models::Calls::ElevenLabsVoiceSettings::Type
Voice settings provider type
11 |
# File 'lib/telnyx/models/calls/eleven_labs_voice_settings.rb', line 11 required :type, enum: -> { Telnyx::Calls::ElevenLabsVoiceSettings::Type } |
Instance Method Details
#to_hash ⇒ {
22 |
# File 'sig/telnyx/models/calls/eleven_labs_voice_settings.rbs', line 22
def to_hash: -> {
|