DataDeletionRequest class
A single GDPR Article 17 deletion request returned by the platform.
Constructors
-
DataDeletionRequest({required String requestId, required String orgId, required String tenantId, required String userId, required DataDeletionStatus status, required String statusRaw, required bool dryRun, required DateTime createdAt, String? reason, String? contact, Map<
String, dynamic> ? result, String? errorMessage, DateTime? startedAt, DateTime? completedAt, DateTime? failedAt}) -
const
-
DataDeletionRequest.fromJson(Map<
String, dynamic> json) -
factory
Properties
- completedAt → DateTime?
-
final
- contact → String?
-
final
- createdAt → DateTime
-
final
- dryRun → bool
-
final
- errorMessage → String?
-
final
- failedAt → DateTime?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- orgId → String
-
final
- reason → String?
-
final
- requestId → String
-
Opaque public identifier (e.g.
ddr_01HX...). Use this for status polls.final -
result
→ Map<
String, dynamic> ? -
Per-layer purge stats once
status == completed. Shape is intentionally flexible (the cloud adds fields independently of this SDK) — typically:{s3: {total_deleted, total_bytes, deleted_by_prefix}, warehouse: {...}}.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startedAt → DateTime?
-
final
- status → DataDeletionStatus
-
Parsed status; never null. Falls back to DataDeletionStatus.unknown
when the cloud returns a value we don't recognize (forward-compatible).
final
- statusRaw → String
-
Raw status string from the wire — useful for logging unknown values.
final
- tenantId → String
-
final
- userId → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited