< Summary - Heimdall API

Information
Class: ArturRios.Heimdall.Command.Output.DeletePersonCommandOutput
Assembly: ArturRios.Heimdall.Command
File(s): /home/runner/work/heimdall-api/heimdall-api/src/Application/ArturRios.Heimdall.Command/Output/DeletePersonCommandOutput.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_Id()100%11100%
get_AlreadyDeleted()100%11100%

File(s)

/home/runner/work/heimdall-api/heimdall-api/src/Application/ArturRios.Heimdall.Command/Output/DeletePersonCommandOutput.cs

#LineLine coverage
 1using ArturRios.Mediator.Command;
 2
 3namespace ArturRios.Heimdall.Command.Output;
 4
 5/// <summary>
 6///     Result of <see cref="Input.DeletePersonCommand" /> (UC-09). Reports the person's
 7///     <c>PublicId</c> and whether the request was the idempotent no-op of AF-09b. Internal Ids never
 8///     leave the data layer.
 9/// </summary>
 10public class DeletePersonCommandOutput : CommandOutput
 11{
 12    /// <summary>Public identifier of the deleted person.</summary>
 2313    public Guid Id { get; set; }
 14
 15    /// <summary>
 16    ///     <c>true</c> when the person was already logically deleted and nothing was written
 17    ///     (AF-09b); <c>false</c> when this request performed the deletion.
 18    /// </summary>
 2419    public bool AlreadyDeleted { get; set; }
 20}

Methods/Properties

get_Id()
get_AlreadyDeleted()