Class: OpenAI::Models::BetaResponseOutputItem::Beta::BetaResponseOutputItem::McpListTools
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::BetaResponseOutputItem::Beta::BetaResponseOutputItem::McpListTools
- Defined in:
- sig/openai/models/beta/beta_response_output_item.rbs
Defined Under Namespace
Instance Attribute Summary collapse
-
#agent ⇒ OpenAI::Beta::BetaResponseOutputItem::McpListTools::Agent?
Returns the value of attribute agent.
-
#error ⇒ String?
Returns the value of attribute error.
-
#id ⇒ String
Returns the value of attribute id.
-
#server_label ⇒ String
Returns the value of attribute server_label.
-
#tools ⇒ ::Array[OpenAI::Beta::BetaResponseOutputItem::McpListTools::Tool]
Returns the value of attribute tools.
-
#type ⇒ :mcp_list_tools
Returns the value of attribute type.
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
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 ⇒ Object
927 |
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 927
def initialize: (
|
Instance Attribute Details
#agent ⇒ OpenAI::Beta::BetaResponseOutputItem::McpListTools::Agent?
Returns the value of attribute agent.
923 924 925 |
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 923 def agent @agent end |
#error ⇒ String?
Returns the value of attribute error.
925 926 927 |
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 925 def error @error end |
#id ⇒ String
Returns the value of attribute id.
915 916 917 |
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 915 def id @id end |
#server_label ⇒ String
Returns the value of attribute server_label.
917 918 919 |
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 917 def server_label @server_label end |
#tools ⇒ ::Array[OpenAI::Beta::BetaResponseOutputItem::McpListTools::Tool]
Returns the value of attribute tools.
919 920 921 |
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 919 def tools @tools end |
#type ⇒ :mcp_list_tools
Returns the value of attribute type.
921 922 923 |
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 921 def type @type end |
Instance Method Details
#to_hash ⇒ {
936 |
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 936
def to_hash: -> {
|