Class: Telnyx::Models::AI::ChatCreateCompletionParams::Tool::Function
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::AI::ChatCreateCompletionParams::Tool::Function
- Defined in:
- lib/telnyx/models/ai/chat_create_completion_params.rb
Defined Under Namespace
Classes: Function
Instance Attribute Summary collapse
- #function ⇒ Telnyx::Models::AI::ChatCreateCompletionParams::Tool::Function::Function
- #type ⇒ Symbol, :function
Instance Method Summary collapse
- #initialize(function:, type: :function) ⇒ Object constructor
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(function:, type: :function) ⇒ Object
|
|
# File 'lib/telnyx/models/ai/chat_create_completion_params.rb', line 371
|
Instance Attribute Details
#function ⇒ Telnyx::Models::AI::ChatCreateCompletionParams::Tool::Function::Function
364 |
# File 'lib/telnyx/models/ai/chat_create_completion_params.rb', line 364 required :function, -> { Telnyx::AI::ChatCreateCompletionParams::Tool::Function::Function } |
#type ⇒ Symbol, :function
369 |
# File 'lib/telnyx/models/ai/chat_create_completion_params.rb', line 369 required :type, const: :function |