Class: OpenAI::Models::BetaMcpToolCallError::Beta::BetaMcpToolCallError::McpToolExecutionError
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::BetaMcpToolCallError::Beta::BetaMcpToolCallError::McpToolExecutionError
- Defined in:
- sig/openai/models/beta/beta_mcp_tool_call_error.rbs
Instance Attribute Summary collapse
-
#content ⇒ top
Returns the value of attribute content.
-
#type ⇒ :mcp_tool_execution_error
Returns the value of attribute type.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
Methods inherited from Internal::Type::BaseModel
==, #==, #[], #_request_id, #_set_last_response, coerce, #deconstruct_keys, #deep_to_h, dump, #encode_with, 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
45 |
# File 'sig/openai/models/beta/beta_mcp_tool_call_error.rbs', line 45
def initialize: (
|
Instance Attribute Details
#content ⇒ top
Returns the value of attribute content.
41 42 43 |
# File 'sig/openai/models/beta/beta_mcp_tool_call_error.rbs', line 41 def content @content end |
#type ⇒ :mcp_tool_execution_error
Returns the value of attribute type.
43 44 45 |
# File 'sig/openai/models/beta/beta_mcp_tool_call_error.rbs', line 43 def type @type end |
Instance Method Details
#to_hash ⇒ { content: top, type: :mcp_tool_execution_error }
50 |
# File 'sig/openai/models/beta/beta_mcp_tool_call_error.rbs', line 50
def to_hash: -> { content: top, type: :mcp_tool_execution_error }
|