Class ResponseApplyPatchToolCallOutput.Builder
-
- All Implemented Interfaces:
public final class ResponseApplyPatchToolCallOutput.BuilderA builder for ResponseApplyPatchToolCallOutput.
-
-
Method Summary
-
-
Method Detail
-
id
final ResponseApplyPatchToolCallOutput.Builder id(String id)
The unique ID of the apply patch tool call output. Populated when this item is returned via API.
-
id
final ResponseApplyPatchToolCallOutput.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
callId
final ResponseApplyPatchToolCallOutput.Builder callId(String callId)
The unique ID of the apply patch tool call generated by the model.
-
callId
final ResponseApplyPatchToolCallOutput.Builder callId(JsonField<String> callId)
Sets Builder.callId to an arbitrary JSON value.
You should usually call Builder.callId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
output
final ResponseApplyPatchToolCallOutput.Builder output(String output)
Optional textual output returned by the apply patch tool.
-
output
final ResponseApplyPatchToolCallOutput.Builder output(Optional<String> output)
Alias for calling Builder.output with
output.orElse(null).
-
output
final ResponseApplyPatchToolCallOutput.Builder output(JsonField<String> output)
Sets Builder.output to an arbitrary JSON value.
You should usually call Builder.output with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
status
final ResponseApplyPatchToolCallOutput.Builder status(ResponseApplyPatchToolCallOutput.Status status)
The status of the apply patch tool call output. One of
completedorfailed.
-
status
final ResponseApplyPatchToolCallOutput.Builder status(JsonField<ResponseApplyPatchToolCallOutput.Status> status)
Sets Builder.status to an arbitrary JSON value.
You should usually call Builder.status with a well-typed Status value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final ResponseApplyPatchToolCallOutput.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("apply_patch_call_output")This method is primarily for setting the field to an undocumented or not yet supported value.
-
createdBy
final ResponseApplyPatchToolCallOutput.Builder createdBy(String createdBy)
The ID of the entity that created this tool call output.
-
createdBy
final ResponseApplyPatchToolCallOutput.Builder createdBy(JsonField<String> createdBy)
Sets Builder.createdBy to an arbitrary JSON value.
You should usually call Builder.createdBy with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ResponseApplyPatchToolCallOutput.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseApplyPatchToolCallOutput.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseApplyPatchToolCallOutput.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseApplyPatchToolCallOutput.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseApplyPatchToolCallOutput.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseApplyPatchToolCallOutput build()
Returns an immutable instance of ResponseApplyPatchToolCallOutput.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .callId() .output() .status()
-
-
-
-