Class OrganizationCreatedEvent
- Namespace
- Compendium.Core.Domain.Events.Integration
- Assembly
- Compendium.Core.dll
Integration event raised when an organization is created.
public sealed record OrganizationCreatedEvent : IntegrationEventBase, IIntegrationEvent, IEquatable<IntegrationEventBase>, IEquatable<OrganizationCreatedEvent>
- Inheritance
-
OrganizationCreatedEvent
- Implements
- Inherited Members
Constructors
OrganizationCreatedEvent(string, string, string?, string)
Integration event raised when an organization is created.
public OrganizationCreatedEvent(string OrganizationId, string Name, string? Domain, string OwnerId)
Parameters
OrganizationIdstringThe unique identifier of the organization.
NamestringThe name of the organization.
DomainstringThe domain of the organization.
OwnerIdstringThe identifier of the organization owner.
Properties
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; }
Property Value
OwnerId
The identifier of the organization owner.
public string OwnerId { get; init; }