< Summary - Heimdall API

Information
Class: ArturRios.Heimdall.Query.Output.MyScopeInvitationOutput
Assembly: ArturRios.Heimdall.Query
File(s): /home/ci/agent/workspace/heimdall-api-docs_main/app/src/Application/ArturRios.Heimdall.Query/Output/MyScopeInvitationOutput.cs
Line coverage
100%
Covered lines: 6
Uncovered lines: 0
Coverable lines: 6
Total lines: 24
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage
100%
Covered methods: 6
Fully covered methods: 6
Total methods: 6
Method coverage: 100%
Full method coverage: 100%

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_Id()100%11100%
get_ScopeId()100%11100%
get_ScopeName()100%11100%
get_InvitedByName()100%11100%
get_CreatedAt()100%11100%
get_ExpiresAt()100%11100%

File(s)

/home/ci/agent/workspace/heimdall-api-docs_main/app/src/Application/ArturRios.Heimdall.Query/Output/MyScopeInvitationOutput.cs

#LineLine coverage
 1using ArturRios.Mediator.Query;
 2
 3namespace ArturRios.Heimdall.Query.Output;
 4
 5/// <summary>
 6///     One open invitation to co-own a scope, as the invited administrator sees it (UC-59): which scope, who
 7///     invited them, and until when they can accept.
 8/// </summary>
 9public class MyScopeInvitationOutput : QueryOutput
 10{
 11    /// <summary>The invitation's public id — what UC-60 and UC-61 answer it by.</summary>
 2012    public Guid Id { get; set; }
 13
 1414    public Guid ScopeId { get; set; }
 15
 2716    public string ScopeName { get; set; } = string.Empty;
 17
 18    /// <summary>Who invited them; <c>null</c> once that person was anonymised, removed or restricted.</summary>
 1819    public string? InvitedByName { get; set; }
 20
 1321    public DateTime CreatedAt { get; set; }
 22
 1423    public DateTime ExpiresAt { get; set; }
 24}