< Summary - Heimdall API

Information
Class: ArturRios.Heimdall.Command.Input.SendPersonPasswordResetCommand
Assembly: ArturRios.Heimdall.Command
File(s): /home/runner/work/heimdall-api/heimdall-api/src/Application/ArturRios.Heimdall.Command/Input/SendPersonPasswordResetCommand.cs
Line coverage
100%
Covered lines: 3
Uncovered lines: 0
Coverable lines: 3
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: 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/SendPersonPasswordResetCommand.cs

#LineLine coverage
 1using ArturRios.Heimdall.Shared.Security;
 2using ArturRios.Mediator.Command;
 3
 4namespace ArturRios.Heimdall.Command.Input;
 5
 6/// <summary>
 7///     Intent to send a password-reset email on a person's behalf (UC-52, FR-PR-05). The person is
 8///     <see cref="Id" />, from the route; <see cref="ActingPersonId" />/<see cref="ActingRole" /> are
 9///     set by the controller from the caller. There is no body, and no password is ever accepted: the
 10///     person sets one themselves through the link (UC-13).
 11/// </summary>
 12public class SendPersonPasswordResetCommand : BaseCommand, IActorScoped
 13{
 14    /// <summary>Public id of the person to email.</summary>
 4815    public Guid Id { get; set; }
 16
 4617    public Guid ActingPersonId { get; set; }
 18
 4619    public int ActingRole { get; set; }
 20}