Class: Telnyx::Models::AI::ToolCreateParams
Overview
Instance Attribute Summary collapse
#request_options
Instance Method Summary
collapse
dump_request
included
==, #==, #[], 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(display_name:, type:, function: nil, handoff: nil, invite: nil, retrieval: nil, timeout_ms: nil, webhook: nil, request_options: {}) ⇒ Object
|
# File 'lib/telnyx/models/ai/tool_create_params.rb', line 51
|
Instance Attribute Details
#display_name ⇒ String
14
|
# File 'lib/telnyx/models/ai/tool_create_params.rb', line 14
required :display_name, String
|
#function ⇒ Hash{Symbol=>Object}?
24
|
# File 'lib/telnyx/models/ai/tool_create_params.rb', line 24
optional :function, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]
|
#handoff ⇒ Hash{Symbol=>Object}?
29
|
# File 'lib/telnyx/models/ai/tool_create_params.rb', line 29
optional :handoff, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]
|
#invite ⇒ Hash{Symbol=>Object}?
34
|
# File 'lib/telnyx/models/ai/tool_create_params.rb', line 34
optional :invite, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]
|
#retrieval ⇒ Hash{Symbol=>Object}?
39
|
# File 'lib/telnyx/models/ai/tool_create_params.rb', line 39
optional :retrieval, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]
|
#timeout_ms ⇒ Integer?
44
|
# File 'lib/telnyx/models/ai/tool_create_params.rb', line 44
optional :timeout_ms, Integer
|
#type ⇒ String
19
|
# File 'lib/telnyx/models/ai/tool_create_params.rb', line 19
required :type, String
|
#webhook ⇒ Hash{Symbol=>Object}?
49
|
# File 'lib/telnyx/models/ai/tool_create_params.rb', line 49
optional :webhook, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]
|
Instance Method Details
#to_hash ⇒ {
61
|
# File 'sig/telnyx/models/ai/tool_create_params.rbs', line 61
def to_hash: -> {
|