of

fun of(type: CommandType, body: Any, aggregateId: String?, headers: Map<String, String>, requestId: String, caller: Caller, tenantId: String = caller.tenantId): CommandInput

A CommandInput of the given fields; parameters added later come last, with a default.