Class GatewayEvent
Represents a platform event raised by agents, channels, or the gateway.
public record GatewayEvent : IEquatable<GatewayEvent>
- Inheritance
-
GatewayEvent
- Implements
- Derived
- Inherited Members
Constructors
GatewayEvent(string, string, DateTimeOffset, object?)
Represents a platform event raised by agents, channels, or the gateway.
public GatewayEvent(string EventType, string SourceId, DateTimeOffset Timestamp, object? Payload = null)
Parameters
EventTypestringSourceIdstringTimestampDateTimeOffsetPayloadobject
Properties
EventType
public string EventType { get; init; }
Property Value
Id
public string Id { get; init; }
Property Value
Payload
public object? Payload { get; init; }
Property Value
SourceId
public string SourceId { get; init; }
Property Value
Timestamp
public DateTimeOffset Timestamp { get; init; }