Class ErasureRequest
- Namespace
- Excalibur.Compliance
- Assembly
- Excalibur.Compliance.Abstractions.dll
Represents a GDPR Article 17 erasure request.
public sealed record ErasureRequest : IEquatable<ErasureRequest>
- Inheritance
-
ErasureRequest
- Implements
- Inherited Members
Remarks
The request captures all information needed to process an erasure:
- Data subject identification
- Legal basis for erasure
- Scope and categories
- Audit trail information
Properties
DataCategories
Gets specific data categories to erase (null = all personal data).
public IReadOnlyList<string>? DataCategories { get; init; }
Property Value
DataSubjectId
Gets the data subject identifier (user ID, email, etc.).
public required string DataSubjectId { get; init; }
Property Value
ExternalReference
Gets the external ticket/case reference for audit trail.
public string? ExternalReference { get; init; }
Property Value
GracePeriodOverride
Gets an override for the grace period (null = use default).
public TimeSpan? GracePeriodOverride { get; init; }
Property Value
IdType
Gets the type of identifier used to identify the data subject.
public required DataSubjectIdType IdType { get; init; }
Property Value
LegalBasis
Gets the legal basis for the request (Article 17(1) grounds).
public required ErasureLegalBasis LegalBasis { get; init; }
Property Value
Metadata
Gets additional metadata for the request.
public IReadOnlyDictionary<string, string>? Metadata { get; init; }
Property Value
RequestId
Gets the unique identifier for this request.
public Guid RequestId { get; init; }
Property Value
RequestedAt
Gets the timestamp when the request was created.
public DateTimeOffset RequestedAt { get; init; }
Property Value
RequestedBy
Gets the identity of the operator who initiated the request.
public required string RequestedBy { get; init; }
Property Value
Scope
Gets the scope of erasure (User, Tenant, or Selective).
public ErasureScope Scope { get; init; }
Property Value
TenantId
Gets the tenant context for multi-tenant scenarios.
public string? TenantId { get; init; }