Class: Telnyx::Models::CallDialParams::ConversationRelayConfig::InterruptionSettings

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

Overview

Defined Under Namespace

Modules: Interruptible, InterruptibleGreeting, WelcomeGreetingInterruptible

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(enable: nil, interruptible: nil, interruptible_greeting: nil, welcome_greeting_interruptible: nil) ⇒ Object

Some parameter documentations has been truncated, see Telnyx::Models::CallDialParams::ConversationRelayConfig::InterruptionSettings for more details.

Settings for handling caller interruptions during Conversation Relay speech.

Parameters:



# File 'lib/telnyx/models/call_dial_params.rb', line 1207

Instance Attribute Details

#enableBoolean?

Legacy boolean form. ‘true` is equivalent to `interruptible=any`; `false` is equivalent to `interruptible=none`.

Returns:

  • (Boolean, nil)


1178
# File 'lib/telnyx/models/call_dial_params.rb', line 1178

optional :enable, Telnyx::Internal::Type::Boolean

#interruptibleSymbol, ...

Controls when caller input can interrupt assistant speech. ‘any` allows speech or DTMF interruptions; `none` disables interruptions; `speech` allows speech only; `dtmf` allows DTMF only.



1186
1187
# File 'lib/telnyx/models/call_dial_params.rb', line 1186

optional :interruptible,
enum: -> { Telnyx::CallDialParams::ConversationRelayConfig::InterruptionSettings::Interruptible }

#interruptible_greetingSymbol, ...

Controls when caller input can interrupt assistant speech. ‘any` allows speech or DTMF interruptions; `none` disables interruptions; `speech` allows speech only; `dtmf` allows DTMF only.



1195
1196
# File 'lib/telnyx/models/call_dial_params.rb', line 1195

optional :interruptible_greeting,
enum: -> { Telnyx::CallDialParams::ConversationRelayConfig::InterruptionSettings::InterruptibleGreeting }

#welcome_greeting_interruptibleSymbol, ...

Controls when caller input can interrupt assistant speech. ‘any` allows speech or DTMF interruptions; `none` disables interruptions; `speech` allows speech only; `dtmf` allows DTMF only.



1204
1205
# File 'lib/telnyx/models/call_dial_params.rb', line 1204

optional :welcome_greeting_interruptible,
enum: -> { Telnyx::CallDialParams::ConversationRelayConfig::InterruptionSettings::WelcomeGreetingInterruptible }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/telnyx/models/call_dial_params.rb', line 1235