Class: Telnyx::Models::InworldVoiceSettings

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/inworld_voice_settings.rb,
sig/telnyx/models/inworld_voice_settings.rbs

Defined Under Namespace

Modules: DeliveryMode, Type

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

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:, delivery_mode: nil) ⇒ Object

Some parameter documentations has been truncated, see Telnyx::Models::InworldVoiceSettings for more details.

Parameters:



# File 'lib/telnyx/models/inworld_voice_settings.rb', line 21

Instance Attribute Details

#delivery_modeSymbol, ...

Controls the expressiveness and consistency of the Inworld TTS2 model's speech synthesis. STABLE favors consistent, predictable output, CREATIVE allows more expressive variation, and BALANCED sits in between. Optional and only supported by TTS2; when omitted, the provider default applies.



19
# File 'lib/telnyx/models/inworld_voice_settings.rb', line 19

optional :delivery_mode, enum: -> { Telnyx::InworldVoiceSettings::DeliveryMode }

#typeSymbol, Telnyx::Models::InworldVoiceSettings::Type

Voice settings provider type

Parameters:

  • value (Telnyx::Models::InworldVoiceSettings::type_)

Returns:



10
# File 'lib/telnyx/models/inworld_voice_settings.rb', line 10

required :type, enum: -> { Telnyx::InworldVoiceSettings::Type }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/telnyx/models/inworld_voice_settings.rb', line 37

Instance Method Details

#to_hash{

Returns:

  • ({)


23
# File 'sig/telnyx/models/inworld_voice_settings.rbs', line 23

def to_hash: -> {