Class: OpenAI::Models::BetaResponseInputItem::Beta::BetaResponseInputItem::McpApprovalResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::BetaResponseInputItem::Beta::BetaResponseInputItem::McpApprovalResponse
- Defined in:
- sig/openai/models/beta/beta_response_input_item.rbs
Defined Under Namespace
Classes: Agent
Instance Attribute Summary collapse
-
#agent ⇒ OpenAI::Beta::BetaResponseInputItem::McpApprovalResponse::Agent?
Returns the value of attribute agent.
-
#approval_request_id ⇒ String
Returns the value of attribute approval_request_id.
-
#approve ⇒ Boolean
Returns the value of attribute approve.
-
#id ⇒ String?
Returns the value of attribute id.
-
#reason ⇒ String?
Returns the value of attribute reason.
-
#type ⇒ :mcp_approval_response
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
1750 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1750
def initialize: (
|
Instance Attribute Details
#agent ⇒ OpenAI::Beta::BetaResponseInputItem::McpApprovalResponse::Agent?
Returns the value of attribute agent.
1746 1747 1748 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1746 def agent @agent end |
#approval_request_id ⇒ String
Returns the value of attribute approval_request_id.
1738 1739 1740 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1738 def approval_request_id @approval_request_id end |
#approve ⇒ Boolean
Returns the value of attribute approve.
1740 1741 1742 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1740 def approve @approve end |
#id ⇒ String?
Returns the value of attribute id.
1744 1745 1746 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1744 def id @id end |
#reason ⇒ String?
Returns the value of attribute reason.
1748 1749 1750 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1748 def reason @reason end |
#type ⇒ :mcp_approval_response
Returns the value of attribute type.
1742 1743 1744 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1742 def type @type end |
Instance Method Details
#to_hash ⇒ {
1759 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1759
def to_hash: -> {
|