toggle menu
openai-kotlin
common
switch theme
search in API
openai-core
/
com.aallam.openai.api.response
/
ResponseInputItem
Response
Input
Item
@
Serializable
data
class
ResponseInputItem
(
val
id
:
String
?
=
null
,
val
type
:
String
?
=
null
,
val
status
:
String
?
=
null
,
val
role
:
String
?
=
null
,
val
content
:
JsonElement
?
=
null
)
Structured response input item.
Members
Constructors
Response
Input
Item
Link copied to clipboard
constructor
(
id
:
String
?
=
null
,
type
:
String
?
=
null
,
status
:
String
?
=
null
,
role
:
String
?
=
null
,
content
:
JsonElement
?
=
null
)
Properties
content
Link copied to clipboard
@
SerialName
(
value
=
"content"
)
val
content
:
JsonElement
?
=
null
id
Link copied to clipboard
@
SerialName
(
value
=
"id"
)
val
id
:
String
?
=
null
role
Link copied to clipboard
@
SerialName
(
value
=
"role"
)
val
role
:
String
?
=
null
status
Link copied to clipboard
@
SerialName
(
value
=
"status"
)
val
status
:
String
?
=
null
type
Link copied to clipboard
@
SerialName
(
value
=
"type"
)
val
type
:
String
?
=
null