RiskDisposeOut class

Constructors

RiskDisposeOut({String? before, int? disposed, int? held, String? oldest, int? remaining, int? restored, int? total})
Returns a new RiskDisposeOut instance.

Properties

before ↔ String?
Before echoes the retention boundary that was applied, RFC 3339 in UTC, as this plane parsed it from the request. What was disposed of is every record WRITTEN strictly before it and not under litigation hold — written, measured against the server clock at the write, and not against the event or observation times the asserting caller supplies, because a tenant that could back-date could delete a compliance record on demand. A boundary younger than the platform floor of five years is refused before anything is removed.
getter/setter pair
disposed ↔ int?
Disposed is how many whole records were removed. Records are disposed of whole, never redacted: a partially-erased compliance record is one nobody can attest to.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
held ↔ int?
Held is how many records inside the boundary were kept under litigation hold.
getter/setter pair
oldest ↔ String?
Oldest is the WRITE time of the oldest assertion this tenant still holds after the sweep, RFC 3339, and it is omitted exactly when nothing remains at all. Still older than Before means records survived on purpose and says which mechanism kept them: a litigation hold (Held), or the per-call bound with more to sweep on the next call (Remaining).
getter/setter pair
remaining ↔ int?
Remaining is how many disposable records are still older than the boundary. A sweep is bounded per call, so a non-zero value here means call again rather than that something failed.
getter/setter pair
restored ↔ int?
Restored is how many records this sweep had already removed from the derived columnar copy and then did NOT dispose of, because a litigation hold arrived between the identify and the delete — and which were therefore written back to the derived copy before this answered. It is a NAMED state and not a silent repair. The copy is swept before the record so nothing is orphaned in the warehouse, which means a record the delete declines to remove is one the warehouse has already lost, with its seq behind the delivery cursor and no retry that can reach it. Non-zero here says the collision happened and was repaired; a non-zero that keeps recurring says retention and hold are racing on the same records, which is worth an operator's attention rather than a debug line.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
total ↔ int?
Total and Oldest describe what the tenant still holds afterwards, so a disposal that removed nothing is distinguishable from a tenant that had nothing.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → RiskDisposeOut?
Returns a new RiskDisposeOut instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<RiskDisposeOut>
mapFromJson(dynamic json) → Map<String, RiskDisposeOut>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<RiskDisposeOut>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.