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
/
Citation
Citation
@
Serializable
data
class
Citation
(
val
text
:
String
,
val
type
:
String
,
val
startIndex
:
Int
,
val
endIndex
:
Int
,
val
sourceType
:
String
?
=
null
,
val
metadata
:
Map
<
String
,
String
>
?
=
null
)
(
source
)
Members
Constructors
Citation
Link copied to clipboard
constructor
(
text
:
String
,
type
:
String
,
startIndex
:
Int
,
endIndex
:
Int
,
sourceType
:
String
?
=
null
,
metadata
:
Map
<
String
,
String
>
?
=
null
)
Properties
end
Index
Link copied to clipboard
@
SerialName
(
value
=
"end_index"
)
val
endIndex
:
Int
metadata
Link copied to clipboard
val
metadata
:
Map
<
String
,
String
>
?
source
Type
Link copied to clipboard
@
SerialName
(
value
=
"source_type"
)
val
sourceType
:
String
?
start
Index
Link copied to clipboard
@
SerialName
(
value
=
"start_index"
)
val
startIndex
:
Int
text
Link copied to clipboard
val
text
:
String
type
Link copied to clipboard
val
type
:
String