sec.EventData
See theEventData companion object
final case class EventData(eventType: EventType, eventId: UUID, data: ByteVector, metadata: ByteVector, contentType: ContentType)
Event payload for an event. This is the actual data that you persist in EventStoreDB.
Attributes
- contentType
the ContentType of encoded data and metadata.
- data
a scodec.bits.ByteVector of encoded data.
- eventId
unique identifier for the event.
- eventType
the EventType for the event.
- metadata
a scodec.bits.ByteVector of encoded metadata.
- Companion:
- object
- Source:
- event.scala
- Graph
- Supertypes