Class: Telnyx::Models::AI::Assistants::ToolTestResponse::Data
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/telnyx/models/ai/assistants/tool_test_response.rb,
sig/telnyx/models/ai/assistants/tool_test_response.rbs
Overview
Instance Attribute 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(content_type:, request:, response:, status_code:, success:) ⇒ Object
Response model for webhook tool test results
|
# File 'lib/telnyx/models/ai/assistants/tool_test_response.rb', line 47
|
Instance Attribute Details
#content_type ⇒ String
25
|
# File 'lib/telnyx/models/ai/assistants/tool_test_response.rb', line 25
required :content_type, String
|
#request ⇒ Hash{Symbol=>Object}
30
|
# File 'lib/telnyx/models/ai/assistants/tool_test_response.rb', line 30
required :request, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]
|
#response ⇒ String
35
|
# File 'lib/telnyx/models/ai/assistants/tool_test_response.rb', line 35
required :response, String
|
#status_code ⇒ Integer
40
|
# File 'lib/telnyx/models/ai/assistants/tool_test_response.rb', line 40
required :status_code, Integer
|
#success ⇒ Boolean
45
|
# File 'lib/telnyx/models/ai/assistants/tool_test_response.rb', line 45
required :success, Telnyx::Internal::Type::Boolean
|
Instance Method Details
#to_hash ⇒ {
47
|
# File 'sig/telnyx/models/ai/assistants/tool_test_response.rbs', line 47
def to_hash: -> {
|