StateEventRecord

constructor(ref: AggregateRef, version: Int, commandId: String, requestId: String, commandType: String, commitTime: Long, events: List<StateEventPayload>, state: PublishedState? = null, scope: Scope = Scope.NONE, deleted: Boolean = false, access: Map<String, Any?>? = null, causation: Causation? = null, headers: Map<String, String> = emptyMap(), operator: Operator? = null, transport: Transport? = null, imported: Boolean = false, accessVersion: Int? = if (access == null) null else version)