Class: OpenAI::Models::Responses::ResponseComputerToolCallOutputItem::AcknowledgedSafetyCheck

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/openai/models/responses/response_computer_tool_call_output_item.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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, 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: , call_id: , output: , acknowledged_safety_checks: nil, status: nil, type: :computer_call_output) ⇒ Object

Some parameter documentations has been truncated, see OpenAI::Models::Responses::ResponseComputerToolCallOutputItem for more details.

Parameters:



65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# File 'lib/openai/models/responses/response_computer_tool_call_output_item.rb', line 65

class AcknowledgedSafetyCheck < OpenAI::Internal::Type::BaseModel
  # @!attribute id
  #   The ID of the pending safety check.
  #
  #   @return [String]
  required :id, String

  # @!attribute code
  #   The type of the pending safety check.
  #
  #   @return [String]
  required :code, String

  # @!attribute message
  #   Details about the pending safety check.
  #
  #   @return [String]
  required :message, String

  # @!method initialize(id:, code:, message:)
  #   A pending safety check for the computer call.
  #
  #   @param id [String] The ID of the pending safety check.
  #
  #   @param code [String] The type of the pending safety check.
  #
  #   @param message [String] Details about the pending safety check.
end

Instance Attribute Details

#codeString

The type of the pending safety check.

Returns:

  • (String)


76
# File 'lib/openai/models/responses/response_computer_tool_call_output_item.rb', line 76

required :code, String

#idString

The ID of the pending safety check.

Returns:

  • (String)


70
# File 'lib/openai/models/responses/response_computer_tool_call_output_item.rb', line 70

required :id, String

#messageString

Details about the pending safety check.

Returns:

  • (String)


82
# File 'lib/openai/models/responses/response_computer_tool_call_output_item.rb', line 82

required :message, String