class Synapse::Serialization::SerializedDomainEventData
Describes the properties that a serialized domain event should have @abstract
Public Instance Methods
aggregate_id()
click to toggle source
@return [Object] Identifier of the aggregate that the event was applied to
# File lib/synapse/serialization/message/data.rb, line 19 def aggregate_id; end
id()
click to toggle source
@return [String] Identifier of the serialized event
# File lib/synapse/serialization/message/data.rb, line 7 def id; end
metadata()
click to toggle source
@return [SerializedObject] Serialized metadata of the serialized event
# File lib/synapse/serialization/message/data.rb, line 10 def metadata; end
payload()
click to toggle source
@return [SerializedObject] Serialized payload of the serialized event
# File lib/synapse/serialization/message/data.rb, line 13 def payload; end
sequence_number()
click to toggle source
@return [Integer] Sequence number of the event in the aggregate
# File lib/synapse/serialization/message/data.rb, line 22 def sequence_number; end
timestamp()
click to toggle source
@return [Time] Timestamp of the serialized event
# File lib/synapse/serialization/message/data.rb, line 16 def timestamp; end