Skip to content

Class SendGridInvitationDeliveryStatusCallbackResult

Namespace: Cephalon.MultiTenancy.Governance.SendGridDelivery.AspNetCore.Hosting
Assembly: Cephalon.MultiTenancy.Governance.SendGridDelivery.AspNetCore.dll

Describes a SendGrid Event Webhook callback translation response.

public sealed class SendGridInvitationDeliveryStatusCallbackResult

objectSendGridInvitationDeliveryStatusCallbackResult

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

SendGridInvitationDeliveryStatusCallbackResult(string, int, int, int, int, int, IReadOnlyList<SendGridInvitationDeliveryStatusCallbackEventResult>, bool, bool, string, bool, string, int)

Section titled “ SendGridInvitationDeliveryStatusCallbackResult(string, int, int, int, int, int, IReadOnlyList<SendGridInvitationDeliveryStatusCallbackEventResult>, bool, bool, string, bool, string, int)”

Creates a SendGrid callback translation response.

public SendGridInvitationDeliveryStatusCallbackResult(string routePattern, int totalEvents, int translatedEvents, int reconciledEvents, int skippedEvents, int deniedEvents, IReadOnlyList<SendGridInvitationDeliveryStatusCallbackEventResult> events, bool signedEventWebhookVerificationRequired = false, bool signedEventWebhookVerified = false, string signedEventWebhookVerificationOutcome = "not-configured", bool signedEventWebhookReplayProtectionEnabled = false, string signedEventWebhookReplayProtectionOutcome = "not-configured", int duplicateEvents = 0)

routePattern string

The endpoint route pattern that accepted the callback.

totalEvents int

The number of events supplied in the callback payload.

translatedEvents int

The number of events translated into Cephalon reconciliation requests.

reconciledEvents int

The number of events reconciled by Cephalon governance.

skippedEvents int

The number of events skipped before reconciliation.

deniedEvents int

The number of translated events denied by the reconciler.

events IReadOnlyList<SendGridInvitationDeliveryStatusCallbackEventResult>

Per-event translation and reconciliation results.

signedEventWebhookVerificationRequired bool

A value indicating whether SendGrid signed Event Webhook verification was required for this callback.

signedEventWebhookVerified bool

A value indicating whether the required SendGrid signed Event Webhook signature verified.

signedEventWebhookVerificationOutcome string

The signed Event Webhook verification outcome for this callback.

signedEventWebhookReplayProtectionEnabled bool

A value indicating whether process-local replay protection was enabled for this verified signed callback.

signedEventWebhookReplayProtectionOutcome string

The replay-protection outcome for this callback.

duplicateEvents int

The number of translated SendGrid events skipped because their event id was already observed.

Gets the number of translated events denied by the reconciler.

public int DeniedEvents { get; }

int

Gets the number of translated SendGrid events skipped because their event id was already observed.

public int DuplicateEvents { get; }

int

Gets per-event translation and reconciliation results.

public IReadOnlyList<SendGridInvitationDeliveryStatusCallbackEventResult> Events { get; }

IReadOnlyList<SendGridInvitationDeliveryStatusCallbackEventResult>

Gets the number of events reconciled by Cephalon governance.

public int ReconciledEvents { get; }

int

Gets the endpoint route pattern that accepted the callback.

public string RoutePattern { get; }

string

SignedEventWebhookReplayProtectionEnabled

Section titled “ SignedEventWebhookReplayProtectionEnabled”

Gets a value indicating whether process-local replay protection was enabled for this verified signed callback.

public bool SignedEventWebhookReplayProtectionEnabled { get; }

bool

SignedEventWebhookReplayProtectionOutcome

Section titled “ SignedEventWebhookReplayProtectionOutcome”

Gets the replay-protection outcome for this callback.

public string SignedEventWebhookReplayProtectionOutcome { get; }

string

Gets the signed Event Webhook verification outcome for this callback.

public string SignedEventWebhookVerificationOutcome { get; }

string

Gets a value indicating whether SendGrid signed Event Webhook verification was required for this callback.

public bool SignedEventWebhookVerificationRequired { get; }

bool

Gets a value indicating whether the required SendGrid signed Event Webhook signature verified.

public bool SignedEventWebhookVerified { get; }

bool

Gets the number of events skipped before reconciliation.

public int SkippedEvents { get; }

int

Gets the number of events supplied in the callback payload.

public int TotalEvents { get; }

int

Gets the number of events translated into Cephalon delivery-status events.

public int TranslatedEvents { get; }

int