< Summary - Heimdall API

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

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_Id()100%11100%
get_InviteeId()100%11100%
get_InviteeName()100%11100%
get_InviteeEmail()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/ScopeOwnerInvitationOutput.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 scope's owners and System Admins see it (UC-58): who is
 7///     invited, who invited them, and for how long it stands.
 8/// </summary>
 9public class ScopeOwnerInvitationOutput : QueryOutput
 10{
 11    /// <summary>The invitation's public id — what UC-58 withdraws it by.</summary>
 2512    public Guid Id { get; set; }
 13
 14    /// <summary>The invited administrator's public id.</summary>
 1915    public Guid InviteeId { get; set; }
 16
 3517    public string InviteeName { get; set; } = string.Empty;
 18
 3519    public string InviteeEmail { get; set; } = string.Empty;
 20
 21    /// <summary>Who invited them; <c>null</c> once that person was anonymised, removed or restricted.</summary>
 2422    public string? InvitedByName { get; set; }
 23
 1824    public DateTime CreatedAt { get; set; }
 25
 26    /// <summary>When it stops being acceptable.</summary>
 1927    public DateTime ExpiresAt { get; set; }
 28}