Class: OpenAI::Models::Beta::AgentOutputItem::ComputerUseApprovalRequest
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::AgentOutputItem::ComputerUseApprovalRequest
- Defined in:
- lib/openai/models/beta/agent_output_item.rb,
sig/openai/models/beta/agent_output_item.rbs
Defined Under Namespace
Classes: Request
Instance Attribute Summary collapse
-
#id ⇒ String
The stable history item ID.
-
#request ⇒ OpenAI::Beta::AgentOutputItem::ComputerUseApprovalRequest::Request
A registered form awaiting the application's response.
- #request_id ⇒ String
- #turn_id ⇒ String
-
#type ⇒ :computer_use_approval_request
The item type.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
- #initialize(id:, request:, request_id:, turn_id:, type: :computer_use_approval_request) ⇒ Object constructor
- #to_hash ⇒ {
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_with_error, 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(id:, request:, request_id:, turn_id:, type: :computer_use_approval_request) ⇒ Object
|
|
# File 'lib/openai/models/beta/agent_output_item.rb', line 169
|
Instance Attribute Details
#id ⇒ String
The stable history item ID.
145 |
# File 'lib/openai/models/beta/agent_output_item.rb', line 145 required :id, String |
#request ⇒ OpenAI::Beta::AgentOutputItem::ComputerUseApprovalRequest::Request
A registered form awaiting the application's response.
151 |
# File 'lib/openai/models/beta/agent_output_item.rb', line 151 required :request, -> { OpenAI::Beta::AgentOutputItem::ComputerUseApprovalRequest::Request } |
#request_id ⇒ String
156 |
# File 'lib/openai/models/beta/agent_output_item.rb', line 156 required :request_id, String |
#turn_id ⇒ String
161 |
# File 'lib/openai/models/beta/agent_output_item.rb', line 161 required :turn_id, String |
#type ⇒ :computer_use_approval_request
The item type. Always computer_use_approval_request.
167 |
# File 'lib/openai/models/beta/agent_output_item.rb', line 167 required :type, const: :computer_use_approval_request |
Instance Method Details
#to_hash ⇒ {
143 |
# File 'sig/openai/models/beta/agent_output_item.rbs', line 143 def to_hash: -> { |