| | | 1 | | using ArturRios.Mediator.Query; |
| | | 2 | | |
| | | 3 | | namespace ArturRios.Heimdall.Query.Output; |
| | | 4 | | |
| | | 5 | | /// <summary> |
| | | 6 | | /// One outstanding erasure request (UC-43). Deliberately carries no name and no email address: |
| | | 7 | | /// the subject has asked to be erased, and a queue an administrator works from is the last place |
| | | 8 | | /// to widen who sees their details. The public identifier is enough to act on. |
| | | 9 | | /// </summary> |
| | | 10 | | public class ErasureRequestOutput : QueryOutput |
| | | 11 | | { |
| | | 12 | | /// <summary>Public identifier of the identity to be erased.</summary> |
| | 59 | 13 | | public Guid SubjectId { get; set; } |
| | | 14 | | |
| | | 15 | | /// <summary>Whether the subject is a Google User rather than a person.</summary> |
| | 33 | 16 | | public bool IsGoogleUser { get; set; } |
| | | 17 | | |
| | | 18 | | /// <summary>When the subject asked.</summary> |
| | 32 | 19 | | public DateTime RequestedAt { get; set; } |
| | | 20 | | |
| | | 21 | | /// <summary>The deadline the erasure must not outlive.</summary> |
| | 63 | 22 | | public DateTime DueAt { get; set; } |
| | | 23 | | |
| | | 24 | | /// <summary>Whether that deadline has already passed.</summary> |
| | 36 | 25 | | public bool Overdue { get; set; } |
| | | 26 | | |
| | | 27 | | /// <summary> |
| | | 28 | | /// Why the erasure cannot proceed, or <c>null</c> if nothing blocks it. A request with no |
| | | 29 | | /// reason needs no action: the scheduled pass will carry it out on the deadline. |
| | | 30 | | /// </summary> |
| | 33 | 31 | | public string? BlockedReason { get; set; } |
| | | 32 | | } |