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-anthropic
/
dev.mokksy.aimocks.anthropic.model
/
MessageCreateParams
/
TextBlock
Text
Block
@
Serializable
@
SerialName
(
value
=
"text"
)
data
class
TextBlock
(
val
type
:
String
=
"text"
,
val
text
:
String
)
:
MessageCreateParams.ContentBlock
(
source
)
Text content block.
Members
Constructors
Text
Block
Link copied to clipboard
constructor
(
type
:
String
=
"text"
,
text
:
String
)
Properties
text
Link copied to clipboard
val
text
:
String
type
Link copied to clipboard
open
override
val
type
:
String