AI-Mocks
Toggle table of contents
0.8.1-SNAPSHOT
common
Target filter
common
Switch theme
Search in API
Skip to content
AI-Mocks
ai-mocks-openai
/
dev.mokksy.aimocks.openai.model.chat
/
ContentPart
/
Text
Text
@
Serializable
@
SerialName
(
value
=
"text"
)
data
class
Text
(
val
type
:
String
=
"text"
,
val
text
:
String
)
:
ContentPart
(
source
)
Text content part.
Members
Constructors
Text
Link copied to clipboard
constructor
(
type
:
String
=
"text"
,
text
:
String
)
Properties
text
Link copied to clipboard
val
text
:
String
The text content.
type
Link copied to clipboard
@
EncodeDefault
(
mode
=
EncodeDefault.Mode.ALWAYS
)
val
type
:
String
The type of content, always "text".