Package com.openai.models.responses
Class ResponseComputerToolCall.Action.Keypress.Builder
-
- All Implemented Interfaces:
public final class ResponseComputerToolCall.Action.Keypress.Builder
A builder for Keypress.
-
-
Method Summary
-
-
Method Detail
-
keys
final ResponseComputerToolCall.Action.Keypress.Builder keys(List<String> keys)
The combination of keys the model is requesting to be pressed. This is an array of strings, each representing a key.
-
keys
final ResponseComputerToolCall.Action.Keypress.Builder keys(JsonField<List<String>> keys)
Sets Builder.keys to an arbitrary JSON value.
You should usually call Builder.keys with a well-typed
List<String>
value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addKey
final ResponseComputerToolCall.Action.Keypress.Builder addKey(String key)
-
type
final ResponseComputerToolCall.Action.Keypress.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("keypress")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ResponseComputerToolCall.Action.Keypress.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseComputerToolCall.Action.Keypress.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseComputerToolCall.Action.Keypress.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseComputerToolCall.Action.Keypress.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseComputerToolCall.Action.Keypress.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseComputerToolCall.Action.Keypress build()
Returns an immutable instance of Keypress.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.keys()
-
-
-
-