Class OpenSearchEventEntry
Namespace: Cephalon.EventSourcing.OpenSearch
Assembly: Cephalon.EventSourcing.OpenSearch.dll
OpenSearch document mapping for an event stream entry.
public sealed class OpenSearchEventEntryInheritance
Section titled “Inheritance”Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Properties
Section titled “Properties”AppendedAtUtc
Section titled “ AppendedAtUtc”Gets or sets the UTC timestamp when the event was appended to the store.
[JsonPropertyName("appended_at_utc")]public DateTime AppendedAtUtc { get; set; }Property Value
Section titled “Property Value”CorrelationId
Section titled “ CorrelationId”Gets or sets an optional causality tracking identifier.
[JsonPropertyName("correlation_id")]public string? CorrelationId { get; set; }Property Value
Section titled “Property Value”EventType
Section titled “ EventType”Gets or sets the fully-qualified CLR event type name.
[JsonPropertyName("event_type")]public string EventType { get; set; }Property Value
Section titled “Property Value”OccurredAtUtc
Section titled “ OccurredAtUtc”Gets or sets the UTC timestamp when the domain event occurred.
[JsonPropertyName("occurred_at_utc")]public DateTime OccurredAtUtc { get; set; }Property Value
Section titled “Property Value”Payload
Section titled “ Payload”Gets or sets the JSON-serialized event payload.
[JsonPropertyName("payload")]public string Payload { get; set; }Property Value
Section titled “Property Value”StreamId
Section titled “ StreamId”Gets or sets the logical stream identifier.
[JsonPropertyName("stream_id")]public string StreamId { get; set; }Property Value
Section titled “Property Value”StreamVersion
Section titled “ StreamVersion”Gets or sets the per-stream monotonic version number.
[JsonPropertyName("stream_version")]public long StreamVersion { get; set; }Property Value
Section titled “Property Value”TenantId
Section titled “ TenantId”Gets or sets an optional tenant identifier for multi-tenancy.
[JsonPropertyName("tenant_id")]public string? TenantId { get; set; }