Package com.openai.models
Class TextContentBlock
-
- All Implemented Interfaces:
public final class TextContentBlock
The text content that is part of a message.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
TextContentBlock.Builder
public final class
TextContentBlock.Type
Always
text
.
-
Method Summary
Modifier and Type Method Description final Text
text()
final TextContentBlock.Type
type()
Always text
.final JsonField<Text>
_text()
final JsonField<TextContentBlock.Type>
_type()
Always text
.final Map<String, JsonValue>
_additionalProperties()
final TextContentBlock
validate()
final TextContentBlock.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static TextContentBlock.Builder
builder()
-
-
Method Detail
-
type
final TextContentBlock.Type type()
Always
text
.
-
_type
final JsonField<TextContentBlock.Type> _type()
Always
text
.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final TextContentBlock validate()
-
toBuilder
final TextContentBlock.Builder toBuilder()
-
builder
final static TextContentBlock.Builder builder()
-
-
-
-