Class BetaResponseInputItem.LocalShellCall.Builder
-
- All Implemented Interfaces:
public final class BetaResponseInputItem.LocalShellCall.BuilderA builder for LocalShellCall.
-
-
Method Summary
-
-
Method Detail
-
id
final BetaResponseInputItem.LocalShellCall.Builder id(String id)
The unique ID of the local shell call.
-
id
final BetaResponseInputItem.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 BetaResponseInputItem.LocalShellCall.Builder action(BetaResponseInputItem.LocalShellCall.Action action)
Execute a shell command on the server.
-
action
final BetaResponseInputItem.LocalShellCall.Builder action(JsonField<BetaResponseInputItem.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 BetaResponseInputItem.LocalShellCall.Builder callId(String callId)
The unique ID of the local shell tool call generated by the model.
-
callId
final BetaResponseInputItem.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 BetaResponseInputItem.LocalShellCall.Builder status(BetaResponseInputItem.LocalShellCall.Status status)
The status of the local shell call.
-
status
final BetaResponseInputItem.LocalShellCall.Builder status(JsonField<BetaResponseInputItem.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 BetaResponseInputItem.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.
-
agent
final BetaResponseInputItem.LocalShellCall.Builder agent(BetaResponseInputItem.LocalShellCall.Agent agent)
The agent that produced this item.
-
agent
final BetaResponseInputItem.LocalShellCall.Builder agent(Optional<BetaResponseInputItem.LocalShellCall.Agent> agent)
Alias for calling Builder.agent with
agent.orElse(null).
-
agent
final BetaResponseInputItem.LocalShellCall.Builder agent(JsonField<BetaResponseInputItem.LocalShellCall.Agent> agent)
Sets Builder.agent to an arbitrary JSON value.
You should usually call Builder.agent with a well-typed Agent value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaResponseInputItem.LocalShellCall.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaResponseInputItem.LocalShellCall.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaResponseInputItem.LocalShellCall.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaResponseInputItem.LocalShellCall.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaResponseInputItem.LocalShellCall.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaResponseInputItem.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()
-
-
-
-