Table of Contents

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

OrganizationId string

The unique identifier of the organization.

Name string

The name of the organization.

Domain string

The domain of the organization.

OwnerId string

The identifier of the organization owner.

Properties

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

OwnerId

The identifier of the organization owner.

public string OwnerId { get; init; }

Property Value

string