Class: Telnyx::Models::AI::AssistantTool::Refer::Refer
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::AI::AssistantTool::Refer::Refer
- Defined in:
- lib/telnyx/models/ai/assistant_tool.rb
Overview
Defined Under Namespace
Classes: CustomHeader, SipHeader, Target
Instance Attribute Summary collapse
-
#custom_headers ⇒ Array<Telnyx::Models::AI::AssistantTool::Refer::Refer::CustomHeader>?
Custom headers to be added to the SIP REFER.
-
#sip_headers ⇒ Array<Telnyx::Models::AI::AssistantTool::Refer::Refer::SipHeader>?
SIP headers to be added to the SIP REFER.
-
#targets ⇒ Array<Telnyx::Models::AI::AssistantTool::Refer::Refer::Target>
The different possible targets of the SIP refer.
Instance Method Summary collapse
-
#initialize(name: nil, value: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see CustomHeader 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(name: nil, value: nil) ⇒ Object
Some parameter documentations has been truncated, see CustomHeader for more details.
|
|
# File 'lib/telnyx/models/ai/assistant_tool.rb', line 704
|
Instance Attribute Details
#custom_headers ⇒ Array<Telnyx::Models::AI::AssistantTool::Refer::Refer::CustomHeader>?
Custom headers to be added to the SIP REFER.
658 659 |
# File 'lib/telnyx/models/ai/assistant_tool.rb', line 658 optional :custom_headers, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::AI::AssistantTool::Refer::Refer::CustomHeader] } |
#sip_headers ⇒ Array<Telnyx::Models::AI::AssistantTool::Refer::Refer::SipHeader>?
SIP headers to be added to the SIP REFER. Currently only User-to-User and Diversion headers are supported.
666 667 |
# File 'lib/telnyx/models/ai/assistant_tool.rb', line 666 optional :sip_headers, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::AI::AssistantTool::Refer::Refer::SipHeader] } |
#targets ⇒ Array<Telnyx::Models::AI::AssistantTool::Refer::Refer::Target>
The different possible targets of the SIP refer. The assistant will be able to choose one of the targets to refer the call to.
652 |
# File 'lib/telnyx/models/ai/assistant_tool.rb', line 652 required :targets, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::AI::AssistantTool::Refer::Refer::Target] } |