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
/
dev.mokksy.aimocks.a2a
/
AgentCardBuildingStep
Agent
Card
Building
Step
common
class
AgentCardBuildingStep
(
mokksy
:
MokksyServer
,
buildingStep
:
BuildingStep
<
Nothing
>
)
:
AbstractBuildingStep
<
Nothing
,
AgentCardResponseSpecification
>
(
source
)
Members
Constructors
Agent
Card
Building
Step
Link copied to clipboard
common
constructor
(
mokksy
:
MokksyServer
,
buildingStep
:
BuildingStep
<
Nothing
>
)
Functions
responds
Link copied to clipboard
common
open
infix override
fun
responds
(
block
:
suspend
AgentCardResponseSpecification
.
(
)
->
Unit
)
open
infix
fun
responds
(
block
:
Consumer
<
AgentCardResponseSpecification
>
)
responds
Error
Link copied to clipboard
common
open
infix
fun
<
R
:
Any
>
respondsError
(
block
:
Consumer
<
ResponseDefinitionBuilder
<
Nothing
,
R
>
>
)
open
infix
fun
<
T
:
Any
>
respondsError
(
block
:
suspend
ResponseDefinitionBuilder
<
Nothing
,
T
>
.
(
)
->
Unit
)
open
fun
<
T
:
Any
>
respondsError
(
responseType
:
KClass
<
T
>
,
block
:
suspend
ResponseDefinitionBuilder
<
Nothing
,
T
>
.
(
)
->
Unit
)