- Companion:
- class
- Source:
- event.scala
Type members
Inherited types
The names of the product elements
The names of the product elements
- Inherited from:
- Mirror
- Source:
- Mirror.scala
Value members
Concrete methods
Constructor for EventData when metadata is not required.
Constructor for EventData when metadata is not required.
- Value parameters:
- 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.
- Source:
- event.scala
Constructor for EventData when the event type is a string and metadata is not required. Returns either InvalidInput or EventType.
Constructor for EventData when the event type is a string and metadata is not required. Returns either InvalidInput or EventType.
- Value parameters:
- contentType
the ContentType of encoded data and metadata.
- data
a scodec.bits.ByteVector of encoded data.
- eventId
unique identifier for the event.
- eventType
string value for EventType.
- Source:
- event.scala
Constructor for EventData when the event type is a string.
Constructor for EventData when the event type is a string.
- Value parameters:
- contentType
the ContentType of encoded data and metadata.
- data
a scodec.bits.ByteVector of encoded data.
- eventId
unique identifier for the event.
- eventType
string value for EventType.
- metadata
a scodec.bits.ByteVector of encoded metadata.
- Source:
- event.scala