copyWith
fun copyWith(ref: AggregateRef = this.ref, version: Int = this.version, commandId: String = this.commandId, requestId: String = this.requestId, commandType: String = this.commandType, commitTime: Long = this.commitTime, events: List<EventRecord> = this.events, scope: Scope = this.scope, causation: Causation? = this.causation, headers: Map<String, String> = this.headers, operator: Operator? = this.operator, access: Map<String, Any?>? = this.access, accessVersion: Int? = this.accessVersion): EventStreamRecord
This EventStreamRecord with the given fields replaced: Wow's own copy, left out of the ABI.