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