Class ResponseInputItem.ApplyPatchCallOutput
-
- All Implemented Interfaces:
public final class ResponseInputItem.ApplyPatchCallOutputThe streamed output emitted by an apply patch tool call.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseInputItem.ApplyPatchCallOutput.BuilderA builder for ApplyPatchCallOutput.
public final classResponseInputItem.ApplyPatchCallOutput.StatusThe status of the apply patch tool call output. One of
completedorfailed.
-
Method Summary
Modifier and Type Method Description final StringcallId()The unique ID of the apply patch tool call generated by the model. final ResponseInputItem.ApplyPatchCallOutput.Statusstatus()The status of the apply patch tool call output. final JsonValue_type()The type of the item. final Optional<String>id()The unique ID of the apply patch tool call output. final Optional<String>output()Optional human-readable log text from the apply patch tool (e.g., patch results or errors). final JsonField<String>_callId()Returns the raw JSON value of callId. final JsonField<ResponseInputItem.ApplyPatchCallOutput.Status>_status()Returns the raw JSON value of status. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>_output()Returns the raw JSON value of output. final Map<String, JsonValue>_additionalProperties()final ResponseInputItem.ApplyPatchCallOutput.BuildertoBuilder()final ResponseInputItem.ApplyPatchCallOutputvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseInputItem.ApplyPatchCallOutput.Builderbuilder()Returns a mutable builder for constructing an instance of ApplyPatchCallOutput. -
-
Method Detail
-
status
final ResponseInputItem.ApplyPatchCallOutput.Status status()
The status of the apply patch tool call output. One of
completedorfailed.
-
_type
final JsonValue _type()
The type of the item. Always
apply_patch_call_output.Expected to always return the following:
JsonValue.from("apply_patch_call_output")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
id
final Optional<String> id()
The unique ID of the apply patch tool call output. Populated when this item is returned via API.
-
output
final Optional<String> output()
Optional human-readable log text from the apply patch tool (e.g., patch results or errors).
-
_callId
final JsonField<String> _callId()
Returns the raw JSON value of callId.
Unlike callId, this method doesn't throw if the JSON field has an unexpected type.
-
_status
final JsonField<ResponseInputItem.ApplyPatchCallOutput.Status> _status()
Returns the raw JSON value of status.
Unlike status, this method doesn't throw if the JSON field has an unexpected type.
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_output
final JsonField<String> _output()
Returns the raw JSON value of output.
Unlike output, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ResponseInputItem.ApplyPatchCallOutput.Builder toBuilder()
-
validate
final ResponseInputItem.ApplyPatchCallOutput validate()
-
builder
final static ResponseInputItem.ApplyPatchCallOutput.Builder builder()
Returns a mutable builder for constructing an instance of ApplyPatchCallOutput.
The following fields are required:
.callId() .status()
-
-
-
-