Class: OpenAI::Models::BetaResponseItem::Beta::BetaResponseItem::McpCall
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::BetaResponseItem::Beta::BetaResponseItem::McpCall
- Defined in:
- sig/openai/models/beta/beta_response_item.rbs
Defined Under Namespace
Modules: Status Classes: Agent
Instance Attribute Summary collapse
-
#agent ⇒ OpenAI::Beta::BetaResponseItem::McpCall::Agent?
Returns the value of attribute agent.
-
#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::Beta::BetaResponseItem::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
1041 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 1041
def initialize: (
|
Instance Attribute Details
#agent ⇒ OpenAI::Beta::BetaResponseItem::McpCall::Agent?
Returns the value of attribute agent.
1027 1028 1029 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 1027 def agent @agent end |
#approval_request_id ⇒ String?
Returns the value of attribute approval_request_id.
1029 1030 1031 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 1029 def approval_request_id @approval_request_id end |
#arguments ⇒ String
Returns the value of attribute arguments.
1019 1020 1021 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 1019 def arguments @arguments end |
#error ⇒ String?
Returns the value of attribute error.
1031 1032 1033 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 1031 def error @error end |
#id ⇒ String
Returns the value of attribute id.
1017 1018 1019 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 1017 def id @id end |
#name ⇒ String
Returns the value of attribute name.
1021 1022 1023 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 1021 def name @name end |
#output ⇒ String?
Returns the value of attribute output.
1033 1034 1035 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 1033 def output @output end |
#server_label ⇒ String
Returns the value of attribute server_label.
1023 1024 1025 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 1023 def server_label @server_label end |
#status ⇒ OpenAI::Models::Beta::BetaResponseItem::McpCall::status? (readonly)
Returns the value of attribute status.
1035 1036 1037 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 1035 def status @status end |
#type ⇒ :mcp_call
Returns the value of attribute type.
1025 1026 1027 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 1025 def type @type end |
Instance Method Details
#status= ⇒ Object (readonly)
1037 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 1037
def status=: (
|
#to_hash ⇒ {
1054 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 1054
def to_hash: -> {
|