< Summary - Heimdall API

Information
Class: ArturRios.Heimdall.Query.Output.ErasureRequestOutput
Assembly: ArturRios.Heimdall.Query
File(s): /home/runner/work/heimdall-api/heimdall-api/src/Application/ArturRios.Heimdall.Query/Output/ErasureRequestOutput.cs
Line coverage
100%
Covered lines: 6
Uncovered lines: 0
Coverable lines: 6
Total lines: 32
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage
100%
Covered methods: 6
Fully covered methods: 6
Total methods: 6
Method coverage: 100%
Full method coverage: 100%

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_SubjectId()100%11100%
get_IsGoogleUser()100%11100%
get_RequestedAt()100%11100%
get_DueAt()100%11100%
get_Overdue()100%11100%
get_BlockedReason()100%11100%

File(s)

/home/runner/work/heimdall-api/heimdall-api/src/Application/ArturRios.Heimdall.Query/Output/ErasureRequestOutput.cs

#LineLine coverage
 1using ArturRios.Mediator.Query;
 2
 3namespace 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>
 10public class ErasureRequestOutput : QueryOutput
 11{
 12    /// <summary>Public identifier of the identity to be erased.</summary>
 5913    public Guid SubjectId { get; set; }
 14
 15    /// <summary>Whether the subject is a Google User rather than a person.</summary>
 3316    public bool IsGoogleUser { get; set; }
 17
 18    /// <summary>When the subject asked.</summary>
 3219    public DateTime RequestedAt { get; set; }
 20
 21    /// <summary>The deadline the erasure must not outlive.</summary>
 6322    public DateTime DueAt { get; set; }
 23
 24    /// <summary>Whether that deadline has already passed.</summary>
 3625    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>
 3331    public string? BlockedReason { get; set; }
 32}