Class: OpenAI::Models::Beta::AgentSessionInputParam::AgentSessionInputComputerUseApprovalRequestResult
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::AgentSessionInputParam::AgentSessionInputComputerUseApprovalRequestResult
- Defined in:
- lib/openai/models/beta/agent_session_input_param.rb,
sig/openai/models/beta/agent_session_input_param.rbs
Defined Under Namespace
Modules: Response
Instance Attribute Summary collapse
-
#request_id ⇒ String
The registered request ID from the required action.
-
#response ⇒ OpenAI::Models::Beta::AgentSessionInputParam::AgentSessionInputComputerUseApprovalRequestResult::response
The response for this request type.
-
#type ⇒ :"agent.session.input.computer_use_approval_request_result"
The type of the object.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize(request_id:, response:, type: :"agent.session.input.computer_use_approval_request_result") ⇒ AgentSessionInputComputerUseApprovalRequestResult
constructor
A new instance of AgentSessionInputComputerUseApprovalRequestResult.
- #to_hash ⇒ { request_id: String, response: OpenAI::Models::Beta::AgentSessionInputParam::AgentSessionInputComputerUseApprovalRequestResult::response, ?type: :"agent.session.input.computer_use_approval_request_result" }
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(request_id:, response:, type: :"agent.session.input.computer_use_approval_request_result") ⇒ AgentSessionInputComputerUseApprovalRequestResult
Returns a new instance of AgentSessionInputComputerUseApprovalRequestResult.
|
|
# File 'lib/openai/models/beta/agent_session_input_param.rb', line 147
|
Instance Attribute Details
#request_id ⇒ String
The registered request ID from the required action.
127 |
# File 'lib/openai/models/beta/agent_session_input_param.rb', line 127 required :request_id, String |
#response ⇒ OpenAI::Models::Beta::AgentSessionInputParam::AgentSessionInputComputerUseApprovalRequestResult::response
The response for this request type.
133 134 135 136 137 138 |
# File 'lib/openai/models/beta/agent_session_input_param.rb', line 133 required( :response, union: -> { OpenAI::Beta::AgentSessionInputParam::AgentSessionInputComputerUseApprovalRequestResult::Response } ) |
#type ⇒ :"agent.session.input.computer_use_approval_request_result"
The type of the object. Always
agent.session.input.computer_use_approval_request_result.
145 |
# File 'lib/openai/models/beta/agent_session_input_param.rb', line 145 required :type, const: :"agent.session.input.computer_use_approval_request_result" |
Instance Method Details
#to_hash ⇒ { request_id: String, response: OpenAI::Models::Beta::AgentSessionInputParam::AgentSessionInputComputerUseApprovalRequestResult::response, ?type: :"agent.session.input.computer_use_approval_request_result" }
123 124 125 126 127 |
# File 'sig/openai/models/beta/agent_session_input_param.rbs', line 123
def to_hash: -> {
request_id: String,
response: OpenAI::Models::Beta::AgentSessionInputParam::AgentSessionInputComputerUseApprovalRequestResult::response,
?type: :"agent.session.input.computer_use_approval_request_result"
}
|