Class ResponseOutputItem.LocalShellCall.Builder
-
- All Implemented Interfaces:
public final class ResponseOutputItem.LocalShellCall.Builder
A builder for LocalShellCall.
-
-
Method Summary
-
-
Method Detail
-
id
final ResponseOutputItem.LocalShellCall.Builder id(String id)
The unique ID of the local shell call.
-
id
final ResponseOutputItem.LocalShellCall.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.
-
action
final ResponseOutputItem.LocalShellCall.Builder action(ResponseOutputItem.LocalShellCall.Action action)
Execute a shell command on the server.
-
action
final ResponseOutputItem.LocalShellCall.Builder action(JsonField<ResponseOutputItem.LocalShellCall.Action> action)
Sets Builder.action to an arbitrary JSON value.
You should usually call Builder.action with a well-typed Action value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
callId
final ResponseOutputItem.LocalShellCall.Builder callId(String callId)
The unique ID of the local shell tool call generated by the model.
-
callId
final ResponseOutputItem.LocalShellCall.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.
-
status
final ResponseOutputItem.LocalShellCall.Builder status(ResponseOutputItem.LocalShellCall.Status status)
The status of the local shell call.
-
status
final ResponseOutputItem.LocalShellCall.Builder status(JsonField<ResponseOutputItem.LocalShellCall.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 ResponseOutputItem.LocalShellCall.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")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ResponseOutputItem.LocalShellCall.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseOutputItem.LocalShellCall.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseOutputItem.LocalShellCall.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseOutputItem.LocalShellCall.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseOutputItem.LocalShellCall.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseOutputItem.LocalShellCall build()
Returns an immutable instance of LocalShellCall.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .action() .callId() .status()
-
-
-
-