Package com.openai.models.responses
Class ResponseInputText.Builder
-
- All Implemented Interfaces:
public final class ResponseInputText.Builder
A builder for ResponseInputText.
-
-
Method Summary
Modifier and Type Method Description final ResponseInputText.Builder
text(String text)
The text input to the model. final ResponseInputText.Builder
text(JsonField<String> text)
The text input to the model. final ResponseInputText.Builder
type(JsonValue type)
The type of the input item. final ResponseInputText.Builder
additionalProperties(Map<String, JsonValue> additionalProperties)
final ResponseInputText.Builder
putAdditionalProperty(String key, JsonValue value)
final ResponseInputText.Builder
putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
final ResponseInputText.Builder
removeAdditionalProperty(String key)
final ResponseInputText.Builder
removeAllAdditionalProperties(Set<String> keys)
final ResponseInputText
build()
-
-
Method Detail
-
text
final ResponseInputText.Builder text(String text)
The text input to the model.
-
text
final ResponseInputText.Builder text(JsonField<String> text)
The text input to the model.
-
type
final ResponseInputText.Builder type(JsonValue type)
The type of the input item. Always
input_text
.
-
additionalProperties
final ResponseInputText.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseInputText.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseInputText.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseInputText.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseInputText.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseInputText build()
-
-
-
-