< Summary - Heimdall API

Information
Class: ArturRios.Heimdall.Command.Output.SetSelfRegistrationCommandOutput
Assembly: ArturRios.Heimdall.Command
File(s): /home/runner/work/heimdall-api/heimdall-api/src/Application/ArturRios.Heimdall.Command/Output/SetSelfRegistrationCommandOutput.cs
Line coverage
100%
Covered lines: 10
Uncovered lines: 0
Coverable lines: 10
Total lines: 29
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage
100%
Covered methods: 10
Fully covered methods: 10
Total methods: 10
Method coverage: 100%
Full method coverage: 100%

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_Id()100%11100%
get_Name()100%11100%
get_Description()100%11100%
get_GoogleSignInEnabled()100%11100%
get_SelfRegistrationEnabled()100%11100%
get_EmailVerificationUrl()100%11100%
get_PasswordResetUrl()100%11100%
get_OwnerIds()100%11100%
get_CreatedAt()100%11100%
get_UpdatedAt()100%11100%

File(s)

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

#LineLine coverage
 1using ArturRios.Mediator.Command;
 2
 3namespace ArturRios.Heimdall.Command.Output;
 4
 5/// <summary>The scope as updated by <see cref="Input.SetSelfRegistrationCommand" /> (UC-47 toggle).</summary>
 6public class SetSelfRegistrationCommandOutput : CommandOutput
 7{
 78    public Guid Id { get; set; }
 9
 1110    public string Name { get; set; } = string.Empty;
 11
 612    public string? Description { get; set; }
 13
 614    public bool GoogleSignInEnabled { get; set; }
 15
 816    public bool SelfRegistrationEnabled { get; set; }
 17
 18    /// <summary>Base link for this scope's verification emails, or <c>null</c> to use the global one.</summary>
 619    public string? EmailVerificationUrl { get; set; }
 20
 21    /// <summary>Base link for this scope's password-reset emails, or <c>null</c> to use the global one.</summary>
 622    public string? PasswordResetUrl { get; set; }
 23
 1124    public IEnumerable<Guid> OwnerIds { get; set; } = new List<Guid>();
 25
 626    public DateTime CreatedAt { get; set; }
 27
 628    public DateTime UpdatedAt { get; set; }
 29}