Table of Contents

Class RetentionPolicy

Namespace
Excalibur.Compliance
Assembly
Excalibur.Compliance.Abstractions.dll

Represents a data retention policy derived from a PersonalDataAttribute annotation on a declared type.

public sealed record RetentionPolicy : IEquatable<RetentionPolicy>
Inheritance
RetentionPolicy
Implements
Inherited Members

Properties

Category

Gets the data category of the personal data.

public PersonalDataCategory Category { get; init; }

Property Value

PersonalDataCategory

PropertyName

Gets the property name that the policy applies to.

public required string PropertyName { get; init; }

Property Value

string

RetentionDays

Gets the retention period in days.

public int RetentionDays { get; init; }

Property Value

int

TypeName

Gets the type name that the policy applies to.

public required string TypeName { get; init; }

Property Value

string