Class TenantSettingsUpdatedEvent
- Namespace
- Compendium.Core.Domain.Events.Integration
- Assembly
- Compendium.Core.dll
Integration event raised when tenant settings are updated.
public sealed record TenantSettingsUpdatedEvent : IntegrationEventBase, IIntegrationEvent, IEquatable<IntegrationEventBase>, IEquatable<TenantSettingsUpdatedEvent>
- Inheritance
-
TenantSettingsUpdatedEvent
- Implements
- Inherited Members
Constructors
TenantSettingsUpdatedEvent(string, string, string, IReadOnlyDictionary<string, string?>, DateTimeOffset, string?)
Integration event raised when tenant settings are updated.
public TenantSettingsUpdatedEvent(string TenantId, string Name, string SettingsCategory, IReadOnlyDictionary<string, string?> ChangedSettings, DateTimeOffset UpdatedAt, string? UpdatedBy)
Parameters
TenantIdstringThe unique identifier of the tenant.
NamestringThe name of the tenant.
SettingsCategorystringThe category of settings that was updated.
ChangedSettingsIReadOnlyDictionary<string, string>The settings that were changed (key-value pairs).
UpdatedAtDateTimeOffsetThe timestamp when the settings were updated.
UpdatedBystringThe identifier of the user who updated the settings.
Properties
ChangedSettings
The settings that were changed (key-value pairs).
public IReadOnlyDictionary<string, string?> ChangedSettings { get; init; }
Property Value
EventType
Gets the name of the event type for serialization and routing purposes.
public override string EventType { get; }
Property Value
Name
The name of the tenant.
public string Name { get; init; }
Property Value
SettingsCategory
The category of settings that was updated.
public string SettingsCategory { get; init; }
Property Value
UpdatedAt
The timestamp when the settings were updated.
public DateTimeOffset UpdatedAt { get; init; }
Property Value
UpdatedBy
The identifier of the user who updated the settings.
public string? UpdatedBy { get; init; }