Class WebhookState
Represents the state of a webhook.
public record WebhookState : IEquatable<WebhookState>
- Inheritance
-
WebhookState
- Implements
- Inherited Members
Constructors
WebhookState(ObserverRunningState, bool, EventSequenceNumber, EventSequenceNumber)
Represents the state of a webhook.
public WebhookState(ObserverRunningState RunningState, bool IsSubscribed, EventSequenceNumber NextEventSequenceNumber, EventSequenceNumber LastHandledEventSequenceNumber)
Parameters
RunningStateObserverRunningStateThe current running state of the webhook.
IsSubscribedboolIndicates whether the webhook is subscribed.
NextEventSequenceNumberEventSequenceNumberThe next event sequence number.
LastHandledEventSequenceNumberEventSequenceNumberThe last handled event sequence number.
Properties
IsSubscribed
Indicates whether the webhook is subscribed.
public bool IsSubscribed { get; init; }
Property Value
LastHandledEventSequenceNumber
The last handled event sequence number.
public EventSequenceNumber LastHandledEventSequenceNumber { get; init; }
Property Value
NextEventSequenceNumber
The next event sequence number.
public EventSequenceNumber NextEventSequenceNumber { get; init; }
Property Value
RunningState
The current running state of the webhook.
public ObserverRunningState RunningState { get; init; }