Table of Contents

Class OrganizationMemberAddedEvent

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

Integration event raised when a member is added to an organization.

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

Constructors

OrganizationMemberAddedEvent(string, string, string, string, DateTimeOffset, string?)

Integration event raised when a member is added to an organization.

public OrganizationMemberAddedEvent(string OrganizationId, string UserId, string Email, string Role, DateTimeOffset AddedAt, string? AddedBy)

Parameters

OrganizationId string

The unique identifier of the organization.

UserId string

The unique identifier of the user.

Email string

The user's email address.

Role string

The role assigned to the member.

AddedAt DateTimeOffset

The timestamp when the member was added.

AddedBy string

The identifier of the user who added the member.

Properties

AddedAt

The timestamp when the member was added.

public DateTimeOffset AddedAt { get; init; }

Property Value

DateTimeOffset

AddedBy

The identifier of the user who added the member.

public string? AddedBy { get; init; }

Property Value

string

Email

The user's email address.

public string Email { 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

OrganizationId

The unique identifier of the organization.

public string OrganizationId { get; init; }

Property Value

string

Role

The role assigned to the member.

public string Role { get; init; }

Property Value

string

UserId

The unique identifier of the user.

public string UserId { get; init; }

Property Value

string