< Summary - Heimdall API

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

#LineLine coverage
 1using ArturRios.Mediator.Command;
 2
 3namespace ArturRios.Heimdall.Command.Output;
 4
 5/// <summary>
 6///     Result of <see cref="Input.DeleteScopePermissionCommand" /> (UC-34). Reports the permission's
 7///     <c>PublicId</c> and whether the request was the idempotent no-op of AF-34b. Internal Ids
 8///     never leave the data layer.
 9/// </summary>
 10public class DeleteScopePermissionCommandOutput : CommandOutput
 11{
 12    /// <summary>Public identifier of the deleted permission.</summary>
 3213    public Guid Id { get; set; }
 14
 15    /// <summary>
 16    ///     <c>true</c> when the permission was already logically deleted and nothing was written
 17    ///     (AF-34b); <c>false</c> when this request performed the deletion. AF-34b answers with the
 18    ///     same status and message as the main flow, so this flag is what tells them apart.
 19    /// </summary>
 3220    public bool AlreadyDeleted { get; set; }
 21}

Methods/Properties

get_Id()
get_AlreadyDeleted()