http4k
Toggle table of contents
6.55.0.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
http4k
http4k-ai-mcp-core
/
org.http4k.ai.mcp.protocol.messages
/
McpTask
/
Status
/
Notification
/
Params
Params
@
JsonSerializable
data
class
Params
(
val
taskId
:
TaskId
,
val
status
:
TaskStatus
,
val
statusMessage
:
String
?
=
null
,
val
createdAt
:
Instant
,
val
lastUpdatedAt
:
Instant
,
val
ttl
:
TimeToLive
?
=
null
,
val
pollInterval
:
Int
?
=
null
,
val
_meta
:
Meta
=
Meta.default
)
:
HasMeta
(
source
)
Members
Constructors
Params
Link copied to clipboard
constructor
(
taskId
:
TaskId
,
status
:
TaskStatus
,
statusMessage
:
String
?
=
null
,
createdAt
:
Instant
,
lastUpdatedAt
:
Instant
,
ttl
:
TimeToLive
?
=
null
,
pollInterval
:
Int
?
=
null
,
_meta
:
Meta
=
Meta.default
)
constructor
(
task
:
Task
,
meta
:
Meta
=
Meta.default
)
Properties
_
meta
Link copied to clipboard
open
override
val
_meta
:
Meta
created
At
Link copied to clipboard
val
createdAt
:
Instant
last
Updated
At
Link copied to clipboard
val
lastUpdatedAt
:
Instant
poll
Interval
Link copied to clipboard
val
pollInterval
:
Int
?
status
Link copied to clipboard
val
status
:
TaskStatus
status
Message
Link copied to clipboard
val
statusMessage
:
String
?
task
Id
Link copied to clipboard
val
taskId
:
TaskId
ttl
Link copied to clipboard
val
ttl
:
TimeToLive
?
Functions
to
Task
Link copied to clipboard
fun
toTask
(
)
:
Task