Class EntitlementSnapshot
- Namespace
- Excalibur.A3.Governance.Reporting
- Assembly
- Excalibur.A3.Governance.Abstractions.dll
A point-in-time snapshot of entitlements for reporting purposes.
public sealed record EntitlementSnapshot : IEquatable<EntitlementSnapshot>
- Inheritance
-
EntitlementSnapshot
- Implements
- Inherited Members
Remarks
Summary statistics (total users, total grants, total roles) are intentionally omitted because they are derivable from the Entries collection.
Constructors
EntitlementSnapshot(DateTimeOffset, EntitlementReportType, string?, IReadOnlyList<EntitlementEntry>)
A point-in-time snapshot of entitlements for reporting purposes.
public EntitlementSnapshot(DateTimeOffset GeneratedAt, EntitlementReportType ReportType, string? Scope, IReadOnlyList<EntitlementEntry> Entries)
Parameters
GeneratedAtDateTimeOffsetWhen the snapshot was generated.
ReportTypeEntitlementReportTypeThe type of report this snapshot represents.
ScopestringThe user ID or tenant ID scope, or null for unscoped reports.
EntriesIReadOnlyList<EntitlementEntry>The entitlement entries in this snapshot.
Remarks
Summary statistics (total users, total grants, total roles) are intentionally omitted because they are derivable from the Entries collection.
Properties
Entries
The entitlement entries in this snapshot.
public IReadOnlyList<EntitlementEntry> Entries { get; init; }
Property Value
GeneratedAt
When the snapshot was generated.
public DateTimeOffset GeneratedAt { get; init; }
Property Value
ReportType
The type of report this snapshot represents.
public EntitlementReportType ReportType { get; init; }
Property Value
Scope
The user ID or tenant ID scope, or null for unscoped reports.
public string? Scope { get; init; }