Class WebhookDefinition
Represents the registration of a single client webhook observer.
public record WebhookDefinition : IEquatable<WebhookDefinition>
- Inheritance
-
WebhookDefinition
- Implements
- Inherited Members
Constructors
WebhookDefinition(WebhookId, IEnumerable<EventType>, WebhookTarget, EventSequenceId, bool, bool)
Represents the registration of a single client webhook observer.
public WebhookDefinition(WebhookId Identifier, IEnumerable<EventType> EventTypes, WebhookTarget Target, EventSequenceId EventSequenceId, bool IsReplayable, bool IsActive)
Parameters
IdentifierWebhookIdWebhookId of the webhook.
EventTypesIEnumerable<EventType>The type of events the observer is interested in.
TargetWebhookTargetThe WebhookTarget target to send the events to.
EventSequenceIdEventSequenceIdThe EventSequenceId the webhook is for.
IsReplayableboolWhether the webhook supports replay scenarios.
IsActiveboolWhether the wehbook is active.
Properties
EventSequenceId
The EventSequenceId the webhook is for.
public EventSequenceId EventSequenceId { get; init; }
Property Value
EventTypes
The type of events the observer is interested in.
public IEnumerable<EventType> EventTypes { get; init; }
Property Value
Identifier
WebhookId of the webhook.
public WebhookId Identifier { get; init; }
Property Value
IsActive
Whether the wehbook is active.
public bool IsActive { get; init; }
Property Value
IsReplayable
Whether the webhook supports replay scenarios.
public bool IsReplayable { get; init; }
Property Value
Target
The WebhookTarget target to send the events to.
public WebhookTarget Target { get; init; }