Class: Telnyx::Models::AI::AssistantTool::Refer::Refer::SipHeader
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::AI::AssistantTool::Refer::Refer::SipHeader
- Defined in:
- lib/telnyx/models/ai/assistant_tool.rb,
sig/telnyx/models/ai/assistant_tool.rbs
Defined Under Namespace
Modules: Name
Instance Attribute Summary collapse
- #name ⇒ Symbol, ...
-
#value ⇒ String?
The value of the header.
Instance Method Summary collapse
-
#initialize(name: nil, value: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see SipHeader for more details.
- #to_hash ⇒ {
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 Telnyx::Models::AI::AssistantTool::Refer::Refer::SipHeader for more details.
|
|
# File 'lib/telnyx/models/ai/assistant_tool.rb', line 945
|
Instance Attribute Details
#name ⇒ Symbol, ...
934 |
# File 'lib/telnyx/models/ai/assistant_tool.rb', line 934 optional :name, enum: -> { Telnyx::AI::AssistantTool::Refer::Refer::SipHeader::Name } |
#value ⇒ String?
The value of the header. Note that we support mustache templating for the value.
For example you can use
{{#integration_secret}}test-secret{{/integration_secret}} to pass the value of
the integration secret.
943 |
# File 'lib/telnyx/models/ai/assistant_tool.rb', line 943 optional :value, String |
Instance Method Details
#to_hash ⇒ {
827 |
# File 'sig/telnyx/models/ai/assistant_tool.rbs', line 827
def to_hash: -> {
|