Class ResponseInputItem.LocalShellCallOutput.Builder
-
- All Implemented Interfaces:
public final class ResponseInputItem.LocalShellCallOutput.Builder
A builder for LocalShellCallOutput.
-
-
Method Summary
-
-
Method Detail
-
id
final ResponseInputItem.LocalShellCallOutput.Builder id(String id)
The unique ID of the local shell tool call generated by the model.
-
id
final ResponseInputItem.LocalShellCallOutput.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.
-
output
final ResponseInputItem.LocalShellCallOutput.Builder output(String output)
A JSON string of the output of the local shell tool call.
-
output
final ResponseInputItem.LocalShellCallOutput.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.
-
type
final ResponseInputItem.LocalShellCallOutput.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("local_shell_call_output")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
status
final ResponseInputItem.LocalShellCallOutput.Builder status(ResponseInputItem.LocalShellCallOutput.Status status)
The status of the item. One of
in_progress
,completed
, orincomplete
.
-
status
final ResponseInputItem.LocalShellCallOutput.Builder status(Optional<ResponseInputItem.LocalShellCallOutput.Status> status)
Alias for calling Builder.status with
status.orElse(null)
.
-
status
final ResponseInputItem.LocalShellCallOutput.Builder status(JsonField<ResponseInputItem.LocalShellCallOutput.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.
-
additionalProperties
final ResponseInputItem.LocalShellCallOutput.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseInputItem.LocalShellCallOutput.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseInputItem.LocalShellCallOutput.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseInputItem.LocalShellCallOutput.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseInputItem.LocalShellCallOutput.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseInputItem.LocalShellCallOutput build()
Returns an immutable instance of LocalShellCallOutput.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .output()
-
-
-
-