Class SubscriberAttributesUpdatedEvent
- Namespace
- Compendium.Core.Domain.Events.Integration
- Assembly
- Compendium.Core.dll
Integration event raised when a subscriber's attributes are updated.
public sealed record SubscriberAttributesUpdatedEvent : IntegrationEventBase, IIntegrationEvent, IEquatable<IntegrationEventBase>, IEquatable<SubscriberAttributesUpdatedEvent>
- Inheritance
-
SubscriberAttributesUpdatedEvent
- Implements
- Inherited Members
Constructors
SubscriberAttributesUpdatedEvent(string, string, IReadOnlyDictionary<string, string?>, DateTimeOffset)
Integration event raised when a subscriber's attributes are updated.
public SubscriberAttributesUpdatedEvent(string SubscriberId, string Email, IReadOnlyDictionary<string, string?> UpdatedAttributes, DateTimeOffset UpdatedAt)
Parameters
SubscriberIdstringThe unique identifier of the subscriber.
EmailstringThe subscriber's email address.
UpdatedAttributesIReadOnlyDictionary<string, string>The attributes that were updated.
UpdatedAtDateTimeOffsetThe timestamp when the update occurred.
Properties
The subscriber's email address.
public string Email { get; init; }
Property Value
EventType
Gets the name of the event type for serialization and routing purposes.
public override string EventType { get; }
Property Value
SubscriberId
The unique identifier of the subscriber.
public string SubscriberId { get; init; }
Property Value
UpdatedAt
The timestamp when the update occurred.
public DateTimeOffset UpdatedAt { get; init; }
Property Value
UpdatedAttributes
The attributes that were updated.
public IReadOnlyDictionary<string, string?> UpdatedAttributes { get; init; }