< Summary - Heimdall API

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

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_Id()100%11100%
get_ActingPersonId()100%11100%
get_ActingRole()100%11100%

File(s)

/home/runner/work/heimdall-api/heimdall-api/src/Application/ArturRios.Heimdall.Command/Input/HardDeletePersonCommand.cs

#LineLine coverage
 1using ArturRios.Heimdall.Shared.Security;
 2using ArturRios.Mediator.Command;
 3
 4namespace ArturRios.Heimdall.Command.Input;
 5
 6/// <summary>
 7///     Intent to permanently (hard) delete a person (UC-10). The person is addressed by
 8///     <see cref="Id" />, bound from the route. Removing the person also permanently removes the
 9///     applications they own, their password reset and email verification tokens, and their
 10///     <c>SCOPE_USER</c>/<c>SCOPE_OWNER</c> join rows. <see cref="ActingPersonId" /> is set by the
 11///     controller from the authenticated caller and is never bound from the request; it exists so the
 12///     handler can refuse a self-deletion (AF-10c).
 13/// </summary>
 14public class HardDeletePersonCommand : BaseCommand, IActorScoped
 15{
 16    /// <summary>Public identifier of the person to hard-delete (bound from the route).</summary>
 3817    public Guid Id { get; set; }
 18
 3619    public Guid ActingPersonId { get; set; }
 20
 1921    public int ActingRole { get; set; }
 22}