Class: OpenAI::Models::ConversationItem::Conversations::ConversationItem::McpCall
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::ConversationItem::Conversations::ConversationItem::McpCall
- Defined in:
- sig/openai/models/conversations/conversation_item.rbs
Defined Under Namespace
Modules: Status
Instance Attribute Summary collapse
-
#approval_request_id ⇒ String?
Returns the value of attribute approval_request_id.
-
#arguments ⇒ String
Returns the value of attribute arguments.
-
#error ⇒ String?
Returns the value of attribute error.
-
#id ⇒ String
Returns the value of attribute id.
-
#name ⇒ String
Returns the value of attribute name.
-
#output ⇒ String?
Returns the value of attribute output.
-
#server_label ⇒ String
Returns the value of attribute server_label.
-
#status ⇒ OpenAI::Models::Conversations::ConversationItem::McpCall::status?
readonly
Returns the value of attribute status.
-
#type ⇒ :mcp_call
Returns the value of attribute type.
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #status ⇒ Object readonly
- #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
540 |
# File 'sig/openai/models/conversations/conversation_item.rbs', line 540
def initialize: (
|
Instance Attribute Details
#approval_request_id ⇒ String?
Returns the value of attribute approval_request_id.
528 529 530 |
# File 'sig/openai/models/conversations/conversation_item.rbs', line 528 def approval_request_id @approval_request_id end |
#arguments ⇒ String
Returns the value of attribute arguments.
520 521 522 |
# File 'sig/openai/models/conversations/conversation_item.rbs', line 520 def arguments @arguments end |
#error ⇒ String?
Returns the value of attribute error.
530 531 532 |
# File 'sig/openai/models/conversations/conversation_item.rbs', line 530 def error @error end |
#id ⇒ String
Returns the value of attribute id.
518 519 520 |
# File 'sig/openai/models/conversations/conversation_item.rbs', line 518 def id @id end |
#name ⇒ String
Returns the value of attribute name.
522 523 524 |
# File 'sig/openai/models/conversations/conversation_item.rbs', line 522 def name @name end |
#output ⇒ String?
Returns the value of attribute output.
532 533 534 |
# File 'sig/openai/models/conversations/conversation_item.rbs', line 532 def output @output end |
#server_label ⇒ String
Returns the value of attribute server_label.
524 525 526 |
# File 'sig/openai/models/conversations/conversation_item.rbs', line 524 def server_label @server_label end |
#status ⇒ OpenAI::Models::Conversations::ConversationItem::McpCall::status? (readonly)
Returns the value of attribute status.
534 535 536 |
# File 'sig/openai/models/conversations/conversation_item.rbs', line 534 def status @status end |
#type ⇒ :mcp_call
Returns the value of attribute type.
526 527 528 |
# File 'sig/openai/models/conversations/conversation_item.rbs', line 526 def type @type end |
Instance Method Details
#status= ⇒ Object (readonly)
536 |
# File 'sig/openai/models/conversations/conversation_item.rbs', line 536
def status=: (
|
#to_hash ⇒ {
552 |
# File 'sig/openai/models/conversations/conversation_item.rbs', line 552
def to_hash: -> {
|