Class: Telnyx::Models::AI::AssistantTool::Transfer::Transfer::VoicemailDetection::OnVoicemailDetected
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::AI::AssistantTool::Transfer::Transfer::VoicemailDetection::OnVoicemailDetected
- Defined in:
- lib/telnyx/models/ai/assistant_tool.rb
Overview
Defined Under Namespace
Modules: Action Classes: VoicemailMessage
Instance Attribute Summary collapse
-
#action ⇒ Symbol, ...
The action to take when voicemail is detected.
-
#voicemail_message ⇒ Telnyx::Models::AI::AssistantTool::Transfer::Transfer::VoicemailDetection::OnVoicemailDetected::VoicemailMessage?
Configuration for the voicemail message to leave.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(action: nil, voicemail_message: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see OnVoicemailDetected for more details.
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(action: nil, voicemail_message: nil) ⇒ Object
Some parameter documentations has been truncated, see Telnyx::Models::AI::AssistantTool::Transfer::Transfer::VoicemailDetection::OnVoicemailDetected for more details.
Action to take when voicemail is detected on the transferred call.
|
|
# File 'lib/telnyx/models/ai/assistant_tool.rb', line 412
|
Instance Attribute Details
#action ⇒ Symbol, ...
The action to take when voicemail is detected. ‘stop_transfer’ hangs up immediately. ‘leave_message_and_stop_transfer’ leaves a message then hangs up.
401 402 |
# File 'lib/telnyx/models/ai/assistant_tool.rb', line 401 optional :action, enum: -> { Telnyx::AI::AssistantTool::Transfer::Transfer::VoicemailDetection::OnVoicemailDetected::Action } |
#voicemail_message ⇒ Telnyx::Models::AI::AssistantTool::Transfer::Transfer::VoicemailDetection::OnVoicemailDetected::VoicemailMessage?
Configuration for the voicemail message to leave. Only applicable when action is ‘leave_message_and_stop_transfer’.
409 410 |
# File 'lib/telnyx/models/ai/assistant_tool.rb', line 409 optional :voicemail_message, -> { Telnyx::AI::AssistantTool::Transfer::Transfer::VoicemailDetection::OnVoicemailDetected::VoicemailMessage } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/telnyx/models/ai/assistant_tool.rb', line 433
|