Class: OpenAI::Models::Realtime::McpListToolsInProgress
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Realtime::McpListToolsInProgress
- Defined in:
- lib/openai/models/realtime/mcp_list_tools_in_progress.rb,
sig/openai/models/realtime/mcp_list_tools_in_progress.rbs
Instance Attribute Summary collapse
-
#event_id ⇒ String
The unique ID of the server event.
-
#item_id ⇒ String
The ID of the MCP list tools item.
-
#type ⇒ :"mcp_list_tools.in_progress"
The event type, must be
mcp_list_tools.in_progress.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize(event_id:, item_id:, type: :"mcp_list_tools.in_progress") ⇒ McpListToolsInProgress
constructor
A new instance of McpListToolsInProgress.
- #to_hash ⇒ { event_id: String, item_id: String, ?type: :"mcp_list_tools.in_progress" }
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, coerce_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, 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(event_id:, item_id:, type: :"mcp_list_tools.in_progress") ⇒ McpListToolsInProgress
Returns a new instance of McpListToolsInProgress.
|
|
# File 'lib/openai/models/realtime/mcp_list_tools_in_progress.rb', line 25
|
Instance Attribute Details
#event_id ⇒ String
The unique ID of the server event.
11 |
# File 'lib/openai/models/realtime/mcp_list_tools_in_progress.rb', line 11 required :event_id, String |
#item_id ⇒ String
The ID of the MCP list tools item.
17 |
# File 'lib/openai/models/realtime/mcp_list_tools_in_progress.rb', line 17 required :item_id, String |
#type ⇒ :"mcp_list_tools.in_progress"
The event type, must be mcp_list_tools.in_progress.
23 |
# File 'lib/openai/models/realtime/mcp_list_tools_in_progress.rb', line 23 required :type, const: :"mcp_list_tools.in_progress" |
Instance Method Details
#to_hash ⇒ { event_id: String, item_id: String, ?type: :"mcp_list_tools.in_progress" }
33 34 35 36 37 |
# File 'sig/openai/models/realtime/mcp_list_tools_in_progress.rbs', line 33
def to_hash: -> {
event_id: String,
item_id: String,
?type: :"mcp_list_tools.in_progress"
}
|