< Summary - Heimdall API

Information
Class: ArturRios.Heimdall.Query.Input.ListScopeOwnerInvitationsQuery
Assembly: ArturRios.Heimdall.Query
File(s): /home/ci/agent/workspace/heimdall-api-docs_main/app/src/Application/ArturRios.Heimdall.Query/Input/ListScopeOwnerInvitationsQuery.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/ci/agent/workspace/heimdall-api-docs_main/app/src/Application/ArturRios.Heimdall.Query/Input/ListScopeOwnerInvitationsQuery.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 open owner invitations (UC-58, FR-SC-15), newest first. <see cref="ScopeId" />
 9///     comes from the route and the actor from the bearer token; none of the three is bound from the query
 10///     string.
 11/// </summary>
 12public class ListScopeOwnerInvitationsQuery : BaseQuery, IActorScoped
 13{
 14    /// <summary>Public id of the scope whose invitations are listed (from the route).</summary>
 15    [JsonIgnore]
 2516    public Guid ScopeId { get; set; }
 17
 18    [JsonIgnore]
 2419    public Guid ActingPersonId { get; set; }
 20
 21    [JsonIgnore]
 2422    public int ActingRole { get; set; }
 23}