google-adk-kotlin
Toggle table of contents
0.9.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
google-adk-kotlin
google-adk-kotlin-webserver
/
com.google.adk.kt.webserver.models
Package-level
declarations
Types
Types
Agent
Run
Request
Link copied to clipboard
@
Serializable
data
class
AgentRunRequest
(
val
appName
:
String
,
val
userId
:
String
,
val
sessionId
:
String
?
=
null
,
val
newMessage
:
Content
?
=
null
,
val
streaming
:
Boolean
=
false
,
val
stateDelta
:
Map
<
String
,
Any
>
?
=
null
,
val
invocationId
:
String
?
=
null
)
Run
Response
Link copied to clipboard
@
Serializable
data
class
RunResponse
(
val
output
:
String
,
val
sessionId
:
String
)
Session
Dto
Link copied to clipboard
@
Serializable
data
class
SessionDto
(
val
id
:
String
?
,
val
appName
:
String
,
val
userId
:
String
,
val
state
:
Map
<
String
,
Any
>
?
,
val
events
:
List
<
Event
>
?
,
val
lastUpdateTime
:
Long
?
)
Version
Info
Link copied to clipboard
@
Serializable
data
class
VersionInfo
(
val
version
:
String
,
val
language
:
String
,
val
languageVersion
:
String
)
Response for the
/version
endpoint.