Package com.openai.models.beta.responses
Class BetaComputerAction.Type.Builder
-
- All Implemented Interfaces:
public final class BetaComputerAction.Type.BuilderA builder for Type.
-
-
Method Summary
Modifier and Type Method Description final BetaComputerAction.Type.Buildertext(String text)The text to type. final BetaComputerAction.Type.Buildertext(JsonField<String> text)Sets Builder.text to an arbitrary JSON value. final BetaComputerAction.Type.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final BetaComputerAction.Type.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final BetaComputerAction.Type.BuilderputAdditionalProperty(String key, JsonValue value)final BetaComputerAction.Type.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final BetaComputerAction.Type.BuilderremoveAdditionalProperty(String key)final BetaComputerAction.Type.BuilderremoveAllAdditionalProperties(Set<String> keys)final BetaComputerAction.Typebuild()Returns an immutable instance of Type. -
-
Method Detail
-
text
final BetaComputerAction.Type.Builder text(String text)
The text to type.
-
text
final BetaComputerAction.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 BetaComputerAction.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 BetaComputerAction.Type.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaComputerAction.Type.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaComputerAction.Type.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaComputerAction.Type.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaComputerAction.Type.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaComputerAction.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()
-
-
-
-