< Summary - Heimdall API

Information
Class: ArturRios.Heimdall.Command.Input.DiscardPendingRegistrationCommand
Assembly: ArturRios.Heimdall.Command
File(s): /home/runner/work/heimdall-api/heimdall-api/src/Application/ArturRios.Heimdall.Command/Input/DiscardPendingRegistrationCommand.cs
Line coverage
100%
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
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: 4
Fully covered methods: 4
Total methods: 4
Method coverage: 100%
Full method coverage: 100%

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_ScopeId()100%11100%
get_RegistrationId()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/DiscardPendingRegistrationCommand.cs

#LineLine coverage
 1using ArturRios.Heimdall.Shared.Security;
 2using ArturRios.Mediator.Command;
 3
 4namespace ArturRios.Heimdall.Command.Input;
 5
 6/// <summary>
 7///     Intent to discard a self-registration that is awaiting confirmation (UC-50, FR-SR-12). Both
 8///     identifiers come from the route; <see cref="ActingPersonId" />/<see cref="ActingRole" /> are set
 9///     by the controller from the authenticated caller. There is no body.
 10/// </summary>
 11public class DiscardPendingRegistrationCommand : BaseCommand, IActorScoped
 12{
 13    /// <summary>Public id of the scope the registration belongs to.</summary>
 3014    public Guid ScopeId { get; set; }
 15
 16    /// <summary>Public id of the pending registration (UC-49's <c>id</c>).</summary>
 2517    public Guid RegistrationId { get; set; }
 18
 2719    public Guid ActingPersonId { get; set; }
 20
 2721    public int ActingRole { get; set; }
 22}