Table of Contents

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

TenantId string

The unique identifier of the tenant.

Name string

The name of the tenant.

SettingsCategory string

The category of settings that was updated.

ChangedSettings IReadOnlyDictionary<string, string>

The settings that were changed (key-value pairs).

UpdatedAt DateTimeOffset

The timestamp when the settings were updated.

UpdatedBy string

The 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

IReadOnlyDictionary<string, string>

EventType

Gets the name of the event type for serialization and routing purposes.

public override string EventType { get; }

Property Value

string

Name

The name of the tenant.

public string Name { get; init; }

Property Value

string

SettingsCategory

The category of settings that was updated.

public string SettingsCategory { get; init; }

Property Value

string

UpdatedAt

The timestamp when the settings were updated.

public DateTimeOffset UpdatedAt { get; init; }

Property Value

DateTimeOffset

UpdatedBy

The identifier of the user who updated the settings.

public string? UpdatedBy { get; init; }

Property Value

string