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-a2a-models
/
dev.mokksy.aimocks.a2a.model
/
CancelTaskRequest
Cancel
Task
Request
common
@
Serializable
data
class
CancelTaskRequest
(
val
jsonrpc
:
String
=
"2.0"
,
val
id
:
RequestId
?
=
null
,
val
method
:
String
=
"tasks/cancel"
,
val
params
:
TaskIdParams
)
:
A2ARequest
(
source
)
Members
Constructors
Cancel
Task
Request
Link copied to clipboard
common
constructor
(
jsonrpc
:
String
=
"2.0"
,
id
:
RequestId
?
=
null
,
method
:
String
=
"tasks/cancel"
,
params
:
TaskIdParams
)
Properties
id
Link copied to clipboard
common
@
SerialName
(
value
=
"id"
)
@
Serializable
(
with
=
RequestIdSerializer::class
)
open
override
val
id
:
RequestId
?
jsonrpc
Link copied to clipboard
common
@
SerialName
(
value
=
"jsonrpc"
)
@
EncodeDefault
open
override
val
jsonrpc
:
String
method
Link copied to clipboard
common
@
SerialName
(
value
=
"method"
)
@
EncodeDefault
open
override
val
method
:
String
params
Link copied to clipboard
common
@
SerialName
(
value
=
"params"
)
val
params
:
TaskIdParams