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
OrganizationIdstringThe unique identifier of the organization.
NamestringThe name of the organization.
DomainstringThe domain of the organization.
ChangedFieldsIReadOnlyList<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
Domain
The domain of the organization.
public string? Domain { 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 organization.
public string Name { get; init; }
Property Value
OrganizationId
The unique identifier of the organization.
public string OrganizationId { get; init; }