Class: Telnyx::Models::AI::ConversationAddMessageParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::AI::ConversationAddMessageParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/telnyx/models/ai/conversation_add_message_params.rb
Overview
Defined Under Namespace
Modules: Metadata, ToolChoice
Instance Attribute Summary collapse
- #content ⇒ String?
-
#conversation_id ⇒ String
The ID of the conversation.
- #metadata ⇒ Hash{Symbol=>String, Integer, Boolean, Array<String, Integer, Boolean>}?
- #name ⇒ String?
- #role ⇒ String
- #sent_at ⇒ Time?
- #tool_call_id ⇒ String?
- #tool_calls ⇒ Array<Hash{Symbol=>Object}>?
- #tool_choice ⇒ String, ...
Attributes included from Internal::Type::RequestParameters
Method Summary
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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
This class inherits a constructor from Telnyx::Internal::Type::BaseModel
Instance Attribute Details
#content ⇒ String?
25 |
# File 'lib/telnyx/models/ai/conversation_add_message_params.rb', line 25 optional :content, String |
#conversation_id ⇒ String
The ID of the conversation
15 |
# File 'lib/telnyx/models/ai/conversation_add_message_params.rb', line 15 required :conversation_id, String |
#metadata ⇒ Hash{Symbol=>String, Integer, Boolean, Array<String, Integer, Boolean>}?
30 31 |
# File 'lib/telnyx/models/ai/conversation_add_message_params.rb', line 30 optional :metadata, -> { Telnyx::Internal::Type::HashOf[union: Telnyx::AI::ConversationAddMessageParams::Metadata] } |
#name ⇒ String?
36 |
# File 'lib/telnyx/models/ai/conversation_add_message_params.rb', line 36 optional :name, String |
#role ⇒ String
20 |
# File 'lib/telnyx/models/ai/conversation_add_message_params.rb', line 20 required :role, String |
#sent_at ⇒ Time?
41 |
# File 'lib/telnyx/models/ai/conversation_add_message_params.rb', line 41 optional :sent_at, Time |
#tool_call_id ⇒ String?
46 |
# File 'lib/telnyx/models/ai/conversation_add_message_params.rb', line 46 optional :tool_call_id, String |