Table of Contents

Class GatewayEvent

Namespace
JD.AI.Core.Events
Assembly
JD.AI.Core.dll

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

EventType string
SourceId string
Timestamp DateTimeOffset
Payload object

Properties

EventType

public string EventType { get; init; }

Property Value

string

Id

public string Id { get; init; }

Property Value

string

Payload

public object? Payload { get; init; }

Property Value

object

SourceId

public string SourceId { get; init; }

Property Value

string

Timestamp

public DateTimeOffset Timestamp { get; init; }

Property Value

DateTimeOffset