Skip to content

RetentionRun

Namespace AgentPrism · Assembly AgentPrism.Abstractions.dll

The history record of a cleanup run.

public sealed record RetentionRun : IEquatable<RetentionRun>

objectRetentionRun

IEquatable<RetentionRun>

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

public RetentionRun()

The number of rows archived so far.

public long ArchivedRows { get; init; }

long

The completion time (UTC). null while the run is in progress.

public DateTimeOffset? CompletedAt { get; init; }

DateTimeOffset?

The number of rows deleted so far.

public long DeletedRows { get; init; }

long

The error message. Populated only for failed runs.

public string? Error { get; init; }

string?

The run identifier.

public required Guid Id { get; init; }

Guid

The start time (UTC).

public required DateTimeOffset StartedAt { get; init; }

DateTimeOffset

The target processed.

public required string Target { get; init; }

string

The tenant identifier.

public required string TenantId { get; init; }

string

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(RetentionRun? other)

other RetentionRun?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(RetentionRun?, RetentionRun?)

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

left RetentionRun?

right RetentionRun?

bool

operator !=(RetentionRun?, RetentionRun?)

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

left RetentionRun?

right RetentionRun?

bool