CommandInput
class CommandInput @InternalWowApi constructor(val type: CommandType, val body: Any, val aggregateId: String?, val headers: Map<String, String>, val requestId: String, val caller: Caller, val tenantId: String = caller.tenantId)
A request as a transformer sees it: decoded, before the command is built. Its identity may be incomplete: aggregateId is null when the request named none. The requestId, the caller and the tenantId the command runs in (the caller's, or the one the request targets) are only read: the command that runs keeps them.
Constructors
Functions
Link copied to clipboard
fun copyWith(type: CommandType = this.type, body: Any = this.body, aggregateId: String? = this.aggregateId, headers: Map<String, String> = this.headers, requestId: String = this.requestId, caller: Caller = this.caller, tenantId: String = this.tenantId): CommandInput
This CommandInput with the given fields replaced: Wow's own copy, left out of the ABI.