Skip to content

DataSubjectErasureResult

Namespace AgentPrism · Assembly AgentPrism.Abstractions.dll

The outcome of a data subject erasure request.

public sealed record DataSubjectErasureResult : IEquatable<DataSubjectErasureResult>

objectDataSubjectErasureResult

IEquatable<DataSubjectErasureResult>

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

public DataSubjectErasureResult()

Gets whether this was a preview: true means DataSubjectErasureResult.RowsByTarget shows what WOULD be deleted and nothing was actually removed.

public required bool DryRun { get; init; }

bool

Gets the number of rows removed (or, for a preview, that would be removed), by target table.

public required IReadOnlyDictionary<string, int> RowsByTarget { get; init; }

IReadOnlyDictionary<string, int>

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(DataSubjectErasureResult? other)

other DataSubjectErasureResult?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(DataSubjectErasureResult?, DataSubjectErasureResult?)

Section titled “ operator ==(DataSubjectErasureResult?, DataSubjectErasureResult?)”
public static bool operator ==(DataSubjectErasureResult? left, DataSubjectErasureResult? right)

left DataSubjectErasureResult?

right DataSubjectErasureResult?

bool

operator !=(DataSubjectErasureResult?, DataSubjectErasureResult?)

Section titled “ operator !=(DataSubjectErasureResult?, DataSubjectErasureResult?)”
public static bool operator !=(DataSubjectErasureResult? left, DataSubjectErasureResult? right)

left DataSubjectErasureResult?

right DataSubjectErasureResult?

bool