Class: OpenAI::Models::Responses::ResponseInputItem::ApplyPatchCallOutput
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Responses::ResponseInputItem::ApplyPatchCallOutput
- Defined in:
- lib/openai/models/responses/response_input_item.rb,
sig/openai/models/responses/response_input_item.rbs
Defined Under Namespace
Instance Attribute Summary collapse
-
#call_id ⇒ String
The unique ID of the apply patch tool call generated by the model.
-
#caller_ ⇒ OpenAI::Models::Responses::ResponseInputItem::ApplyPatchCallOutput::caller_?
The execution context that produced this tool call.
-
#id ⇒ String?
The unique ID of the apply patch tool call output.
-
#output ⇒ String?
Optional human-readable log text from the apply patch tool (e.g., patch results or errors).
-
#status ⇒ OpenAI::Models::Responses::ResponseInputItem::ApplyPatchCallOutput::status
The status of the apply patch tool call output.
-
#type ⇒ :apply_patch_call_output
The type of the item.
Attributes inherited from Internal::Type::BaseModel
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(call_id:, status:, id: nil, caller_: nil, output: nil, type: :apply_patch_call_output) ⇒ ApplyPatchCallOutput
constructor
A new instance of ApplyPatchCallOutput.
- #to_hash ⇒ { call_id: String, status: OpenAI::Models::Responses::ResponseInputItem::ApplyPatchCallOutput::status, ?type: :apply_patch_call_output, ?id: String?, ?caller_: OpenAI::Models::Responses::ResponseInputItem::ApplyPatchCallOutput::caller_?, ?output: String? }
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(call_id:, status:, id: nil, caller_: nil, output: nil, type: :apply_patch_call_output) ⇒ ApplyPatchCallOutput
Returns a new instance of ApplyPatchCallOutput.
|
|
# File 'lib/openai/models/responses/response_input_item.rb', line 1828
|
Instance Attribute Details
#call_id ⇒ String
The unique ID of the apply patch tool call generated by the model.
1789 |
# File 'lib/openai/models/responses/response_input_item.rb', line 1789 required :call_id, String |
#caller_ ⇒ OpenAI::Models::Responses::ResponseInputItem::ApplyPatchCallOutput::caller_?
The execution context that produced this tool call.
1814 1815 1816 1817 1818 1819 |
# File 'lib/openai/models/responses/response_input_item.rb', line 1814 optional( :caller_, union: -> { OpenAI::Responses::ResponseInputItem::ApplyPatchCallOutput::Caller }, api_name: :caller, nil?: true ) |
#id ⇒ String?
The unique ID of the apply patch tool call output. Populated when this item is returned via API.
1808 |
# File 'lib/openai/models/responses/response_input_item.rb', line 1808 optional :id, String, nil?: true |
#output ⇒ String?
Optional human-readable log text from the apply patch tool (e.g., patch results or errors).
1826 |
# File 'lib/openai/models/responses/response_input_item.rb', line 1826 optional :output, String, nil?: true |
#status ⇒ OpenAI::Models::Responses::ResponseInputItem::ApplyPatchCallOutput::status
The status of the apply patch tool call output. One of completed or failed.
1795 |
# File 'lib/openai/models/responses/response_input_item.rb', line 1795 required :status, enum: -> { OpenAI::Responses::ResponseInputItem::ApplyPatchCallOutput::Status } |
#type ⇒ :apply_patch_call_output
The type of the item. Always apply_patch_call_output.
1801 |
# File 'lib/openai/models/responses/response_input_item.rb', line 1801 required :type, const: :apply_patch_call_output |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/openai/models/responses/response_input_item.rb', line 1860
|
Instance Method Details
#to_hash ⇒ { call_id: String, status: OpenAI::Models::Responses::ResponseInputItem::ApplyPatchCallOutput::status, ?type: :apply_patch_call_output, ?id: String?, ?caller_: OpenAI::Models::Responses::ResponseInputItem::ApplyPatchCallOutput::caller_?, ?output: String? }
1585 1586 1587 1588 1589 1590 1591 1592 |
# File 'sig/openai/models/responses/response_input_item.rbs', line 1585
def to_hash: -> {
call_id: String,
status: OpenAI::Models::Responses::ResponseInputItem::ApplyPatchCallOutput::status,
?type: :apply_patch_call_output,
?id: String?,
?caller_: OpenAI::Models::Responses::ResponseInputItem::ApplyPatchCallOutput::caller_?,
?output: String?
}
|