of

fun of(questionKinds: Set<QuestionKind>): DecisionCapabilities

Returns capabilities with the given question kinds.

Return

the capabilities

Parameters

questionKinds

the question kinds the service accepts, which must not be empty

Throws

if the set is empty