< Summary - Heimdall API

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

File(s)

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

#LineLine coverage
 1using ArturRios.Mediator.Command;
 2
 3namespace ArturRios.Heimdall.Command.Output;
 4
 5/// <summary>
 6///     Result of <see cref="Input.RemoveScopeOwnerCommand" /> (UC-22). Reports the two
 7///     <c>PublicId</c>s the removed ownership linked. The <c>SCOPE_OWNER</c> row itself had no
 8///     identifier to return — it is a join row, not an addressable resource — and internal Ids never
 9///     leave the data layer. There is no idempotent path to flag: a repeated call finds no ownership
 10///     row and answers AF-22a's 404.
 11/// </summary>
 12public class RemoveScopeOwnerCommandOutput : CommandOutput
 13{
 14    /// <summary>Public identifier of the scope that lost the owner.</summary>
 1915    public Guid ScopeId { get; set; }
 16
 17    /// <summary>Public identifier of the person who no longer owns the scope.</summary>
 1918    public Guid PersonId { get; set; }
 19}

Methods/Properties

get_ScopeId()
get_PersonId()