Table of Contents

Class TenantCreatedEvent

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

Integration event raised when a tenant is created.

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

Constructors

TenantCreatedEvent(string, string, string, string?, string?, bool)

Integration event raised when a tenant is created.

public TenantCreatedEvent(string TenantId, string Name, string Identifier, string? OwnerId, string? Plan, bool IsActive)

Parameters

TenantId string

The unique identifier of the tenant.

Name string

The name of the tenant.

Identifier string

The unique identifier/slug for the tenant.

OwnerId string

The identifier of the tenant owner.

Plan string

The subscription plan of the tenant.

IsActive bool

Whether the tenant is active.

Properties

EventType

Gets the name of the event type for serialization and routing purposes.

public override string EventType { get; }

Property Value

string

Identifier

The unique identifier/slug for the tenant.

public string Identifier { get; init; }

Property Value

string

IsActive

Whether the tenant is active.

public bool IsActive { get; init; }

Property Value

bool

Name

The name of the tenant.

public string Name { get; init; }

Property Value

string

OwnerId

The identifier of the tenant owner.

public string? OwnerId { get; init; }

Property Value

string

Plan

The subscription plan of the tenant.

public string? Plan { get; init; }

Property Value

string