Table of Contents

Class OrganizationUpdatedEvent

Namespace
Compendium.Core.Domain.Events.Integration
Assembly
Compendium.Core.dll

Integration event raised when an organization is updated.

public sealed record OrganizationUpdatedEvent : IntegrationEventBase, IIntegrationEvent, IEquatable<IntegrationEventBase>, IEquatable<OrganizationUpdatedEvent>
Inheritance
OrganizationUpdatedEvent
Implements
Inherited Members

Constructors

OrganizationUpdatedEvent(string, string, string?, IReadOnlyList<string>)

Integration event raised when an organization is updated.

public OrganizationUpdatedEvent(string OrganizationId, string Name, string? Domain, IReadOnlyList<string> ChangedFields)

Parameters

OrganizationId string

The unique identifier of the organization.

Name string

The name of the organization.

Domain string

The domain of the organization.

ChangedFields IReadOnlyList<string>

The list of fields that were changed.

Properties

ChangedFields

The list of fields that were changed.

public IReadOnlyList<string> ChangedFields { get; init; }

Property Value

IReadOnlyList<string>

Domain

The domain of the organization.

public string? Domain { get; init; }

Property Value

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 organization.

public string Name { get; init; }

Property Value

string

OrganizationId

The unique identifier of the organization.

public string OrganizationId { get; init; }

Property Value

string