Class: Telnyx::Models::AI::WebhookTool
Defined Under Namespace
Modules: Type
Classes: Webhook
Instance Attribute Summary collapse
Class Method Summary
collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(type:, webhook:) ⇒ Object
|
# File 'lib/telnyx/models/ai/webhook_tool.rb', line 17
|
Instance Attribute Details
10
|
# File 'lib/telnyx/models/ai/webhook_tool.rb', line 10
required :type, enum: -> { Telnyx::AI::WebhookTool::Type }
|
15
|
# File 'lib/telnyx/models/ai/webhook_tool.rb', line 15
required :webhook, -> { Telnyx::AI::WebhookTool::Webhook }
|
Class Method Details
.values ⇒ Array<Symbol>
|
# File 'lib/telnyx/models/ai/webhook_tool.rb', line 27
|
Instance Method Details
#to_hash ⇒ {
20
|
# File 'sig/telnyx/models/ai/webhook_tool.rbs', line 20
def to_hash: -> {
|