Class ResponseApplyPatchToolCallOutput
-
- All Implemented Interfaces:
public final class ResponseApplyPatchToolCallOutputThe output emitted by an apply patch tool call.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseApplyPatchToolCallOutput.BuilderA builder for ResponseApplyPatchToolCallOutput.
public final classResponseApplyPatchToolCallOutput.StatusThe status of the apply patch tool call output. One of
completedorfailed.
-
Method Summary
Modifier and Type Method Description final Stringid()The unique ID of the apply patch tool call output. final StringcallId()The unique ID of the apply patch tool call generated by the model. final Optional<String>output()Optional textual output returned by the apply patch tool. final ResponseApplyPatchToolCallOutput.Statusstatus()The status of the apply patch tool call output. final JsonValue_type()The type of the item. final Optional<String>createdBy()The ID of the entity that created this tool call output. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>_callId()Returns the raw JSON value of callId. final JsonField<String>_output()Returns the raw JSON value of output. final JsonField<ResponseApplyPatchToolCallOutput.Status>_status()Returns the raw JSON value of status. final JsonField<String>_createdBy()Returns the raw JSON value of createdBy. final Map<String, JsonValue>_additionalProperties()final ResponseApplyPatchToolCallOutput.BuildertoBuilder()final ResponseApplyPatchToolCallOutputvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseApplyPatchToolCallOutput.Builderbuilder()Returns a mutable builder for constructing an instance of ResponseApplyPatchToolCallOutput. -
-
Method Detail
-
id
final String id()
The unique ID of the apply patch tool call output. Populated when this item is returned via API.
-
status
final ResponseApplyPatchToolCallOutput.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).
-
createdBy
final Optional<String> createdBy()
The ID of the entity that created this tool call output.
-
_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.
-
_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.
-
_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.
-
_status
final JsonField<ResponseApplyPatchToolCallOutput.Status> _status()
Returns the raw JSON value of status.
Unlike status, this method doesn't throw if the JSON field has an unexpected type.
-
_createdBy
final JsonField<String> _createdBy()
Returns the raw JSON value of createdBy.
Unlike createdBy, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ResponseApplyPatchToolCallOutput.Builder toBuilder()
-
validate
final ResponseApplyPatchToolCallOutput validate()
-
builder
final static ResponseApplyPatchToolCallOutput.Builder builder()
Returns a mutable builder for constructing an instance of ResponseApplyPatchToolCallOutput.
The following fields are required:
.id() .callId() .output() .status()
-
-
-
-