Table of Contents

Class OrganizationMemberRemovedEvent

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

Integration event raised when a member is removed from an organization.

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

Constructors

OrganizationMemberRemovedEvent(string, string, string, DateTimeOffset, string?)

Integration event raised when a member is removed from an organization.

public OrganizationMemberRemovedEvent(string OrganizationId, string UserId, string Email, DateTimeOffset RemovedAt, string? RemovedBy)

Parameters

OrganizationId string

The unique identifier of the organization.

UserId string

The unique identifier of the user.

Email string

The user's email address.

RemovedAt DateTimeOffset

The timestamp when the member was removed.

RemovedBy string

The identifier of the user who removed the member.

Properties

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

RemovedAt

The timestamp when the member was removed.

public DateTimeOffset RemovedAt { get; init; }

Property Value

DateTimeOffset

RemovedBy

The identifier of the user who removed the member.

public string? RemovedBy { get; init; }

Property Value

string

UserId

The unique identifier of the user.

public string UserId { get; init; }

Property Value

string