< Summary - Heimdall API

Information
Class: ArturRios.Heimdall.Query.Input.ListPendingRegistrationsQuery
Assembly: ArturRios.Heimdall.Query
File(s): /home/runner/work/heimdall-api/heimdall-api/src/Application/ArturRios.Heimdall.Query/Input/ListPendingRegistrationsQuery.cs
Line coverage
100%
Covered lines: 3
Uncovered lines: 0
Coverable lines: 3
Total lines: 23
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_ScopeId()100%11100%
get_ActingPersonId()100%11100%
get_ActingRole()100%11100%

File(s)

/home/runner/work/heimdall-api/heimdall-api/src/Application/ArturRios.Heimdall.Query/Input/ListPendingRegistrationsQuery.cs

#LineLine coverage
 1using System.Text.Json.Serialization;
 2using ArturRios.Heimdall.Shared.Security;
 3using ArturRios.Mediator.Query;
 4
 5namespace ArturRios.Heimdall.Query.Input;
 6
 7/// <summary>
 8///     Request to list a scope's self-registrations awaiting confirmation (UC-49, FR-SR-11), newest
 9///     first. <see cref="ScopeId" /> comes from the route and the actor from the bearer token; none of
 10///     the three is bound from the query string.
 11/// </summary>
 12public class ListPendingRegistrationsQuery : BaseQuery, IActorScoped
 13{
 14    /// <summary>Public id of the scope whose registrations are listed (from the route).</summary>
 15    [JsonIgnore]
 3916    public Guid ScopeId { get; set; }
 17
 18    [JsonIgnore]
 3519    public Guid ActingPersonId { get; set; }
 20
 21    [JsonIgnore]
 3522    public int ActingRole { get; set; }
 23}