RetentionRun
Namespace AgentPrism · Assembly
AgentPrism.Abstractions.dllThe history record of a cleanup run.
public sealed record RetentionRun : IEquatable<RetentionRun>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Section titled “Constructors”RetentionRun()
Section titled “ RetentionRun()”public RetentionRun()Properties
Section titled “Properties”ArchivedRows
Section titled “ ArchivedRows”The number of rows archived so far.
public long ArchivedRows { get; init; }Property Value
Section titled “Property Value”CompletedAt
Section titled “ CompletedAt”The completion time (UTC). null while the run is in progress.
public DateTimeOffset? CompletedAt { get; init; }Property Value
Section titled “Property Value”DeletedRows
Section titled “ DeletedRows”The number of rows deleted so far.
public long DeletedRows { get; init; }Property Value
Section titled “Property Value”The error message. Populated only for failed runs.
public string? Error { get; init; }Property Value
Section titled “Property Value”The run identifier.
public required Guid Id { get; init; }Property Value
Section titled “Property Value”StartedAt
Section titled “ StartedAt”The start time (UTC).
public required DateTimeOffset StartedAt { get; init; }Property Value
Section titled “Property Value”Target
Section titled “ Target”The target processed.
public required string Target { get; init; }Property Value
Section titled “Property Value”TenantId
Section titled “ TenantId”The tenant identifier.
public required string TenantId { get; init; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Equals(object?)
Section titled “ Equals(object?)”public override bool Equals(object? obj)Parameters
Section titled “Parameters”obj object?
Returns
Section titled “Returns”Equals(RetentionRun?)
Section titled “ Equals(RetentionRun?)”public bool Equals(RetentionRun? other)Parameters
Section titled “Parameters”other RetentionRun?
Returns
Section titled “Returns”GetHashCode()
Section titled “ GetHashCode()”public override int GetHashCode()Returns
Section titled “Returns”ToString()
Section titled “ ToString()”public override string ToString()Returns
Section titled “Returns”Operators
Section titled “Operators”operator ==(RetentionRun?, RetentionRun?)
Section titled “ operator ==(RetentionRun?, RetentionRun?)”public static bool operator ==(RetentionRun? left, RetentionRun? right)Parameters
Section titled “Parameters”left RetentionRun?
right RetentionRun?
Returns
Section titled “Returns”operator !=(RetentionRun?, RetentionRun?)
Section titled “ operator !=(RetentionRun?, RetentionRun?)”public static bool operator !=(RetentionRun? left, RetentionRun? right)Parameters
Section titled “Parameters”left RetentionRun?
right RetentionRun?