< Summary - Heimdall API

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

Metrics

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

File(s)

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

#LineLine coverage
 1using ArturRios.Mediator.Command;
 2
 3namespace ArturRios.Heimdall.Command.Input;
 4
 5/// <summary>
 6///     Intent to permanently (hard) delete a Google User (UC-29, FR-GO-16). The record is addressed by
 7///     <see cref="Id" /> within <see cref="ScopeId" />, both bound from the route. Removing it
 8///     cascades to nothing — a Google User owns no dependent row, and the scope its foreign key points
 9///     at is left intact. The command carries no acting person: UC-29's only actor is the System Admin
 10///     and the endpoint's role requirement settles that entirely, so the handler has no
 11///     data-dependent rule left to apply.
 12/// </summary>
 13public class HardDeleteGoogleUserCommand : BaseCommand
 14{
 15    /// <summary>Public identifier of the scope the Google User belongs to (bound from the route).</summary>
 2816    public Guid ScopeId { get; set; }
 17
 18    /// <summary>Public identifier of the Google User to hard-delete (bound from the route).</summary>
 3019    public Guid Id { get; set; }
 20}

Methods/Properties

get_ScopeId()
get_Id()