Package com.openai.models.responses
Class ResponseComputerToolCall.Action.Type.Builder
-
- All Implemented Interfaces:
public final class ResponseComputerToolCall.Action.Type.BuilderA builder for Type.
-
-
Method Summary
Modifier and Type Method Description final ResponseComputerToolCall.Action.Type.Buildertext(String text)The text to type. final ResponseComputerToolCall.Action.Type.Buildertext(JsonField<String> text)Sets Builder.text to an arbitrary JSON value. final ResponseComputerToolCall.Action.Type.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final ResponseComputerToolCall.Action.Type.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final ResponseComputerToolCall.Action.Type.BuilderputAdditionalProperty(String key, JsonValue value)final ResponseComputerToolCall.Action.Type.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final ResponseComputerToolCall.Action.Type.BuilderremoveAdditionalProperty(String key)final ResponseComputerToolCall.Action.Type.BuilderremoveAllAdditionalProperties(Set<String> keys)final ResponseComputerToolCall.Action.Typebuild()Returns an immutable instance of Type. -
-
Method Detail
-
text
final ResponseComputerToolCall.Action.Type.Builder text(String text)
The text to type.
-
text
final ResponseComputerToolCall.Action.Type.Builder text(JsonField<String> text)
Sets Builder.text to an arbitrary JSON value.
You should usually call Builder.text 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 ResponseComputerToolCall.Action.Type.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("type")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ResponseComputerToolCall.Action.Type.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseComputerToolCall.Action.Type.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseComputerToolCall.Action.Type.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseComputerToolCall.Action.Type.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseComputerToolCall.Action.Type.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseComputerToolCall.Action.Type build()
Returns an immutable instance of Type.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.text()
-
-
-
-