Class: Telnyx::Models::Calls::TelnyxVoiceSettings

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/calls/telnyx_voice_settings.rb

Defined Under Namespace

Modules: Type

Instance Attribute 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:, voice_speed: nil) ⇒ Object

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

Parameters:



# File 'lib/telnyx/models/calls/telnyx_voice_settings.rb', line 20

Instance Attribute Details

#typeSymbol, Telnyx::Models::Calls::TelnyxVoiceSettings::Type

Voice settings provider type



11
# File 'lib/telnyx/models/calls/telnyx_voice_settings.rb', line 11

required :type, enum: -> { Telnyx::Calls::TelnyxVoiceSettings::Type }

#voice_speedFloat?

The voice speed to be used for the voice. The voice speed must be between 0.1 and 2.0. Default value is 1.0.

Returns:

  • (Float, nil)


18
# File 'lib/telnyx/models/calls/telnyx_voice_settings.rb', line 18

optional :voice_speed, Float