< Summary - Heimdall API

Information
Class: ArturRios.Heimdall.Command.Output.UpdateScopeCommandOutput
Assembly: ArturRios.Heimdall.Command
File(s): /home/runner/work/heimdall-api/heimdall-api/src/Application/ArturRios.Heimdall.Command/Output/UpdateScopeCommandOutput.cs
Line coverage
100%
Covered lines: 10
Uncovered lines: 0
Coverable lines: 10
Total lines: 40
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/UpdateScopeCommandOutput.cs

#LineLine coverage
 1using ArturRios.Mediator.Command;
 2
 3namespace ArturRios.Heimdall.Command.Output;
 4
 5/// <summary>
 6///     The scope as updated by <see cref="Input.UpdateScopeCommand" /> (UC-03). Only externally-facing
 7///     <c>PublicId</c> identifiers are exposed; internal Ids never leave the data layer.
 8/// </summary>
 9public class UpdateScopeCommandOutput : CommandOutput
 10{
 11    /// <summary>Public identifier of the scope.</summary>
 812    public Guid Id { get; set; }
 13
 14    /// <summary>Scope display name.</summary>
 1515    public string Name { get; set; } = string.Empty;
 16
 17    /// <summary>Scope description, if any.</summary>
 1118    public string? Description { get; set; }
 19
 20    /// <summary>Whether Google sign-in is enabled for the scope.</summary>
 721    public bool GoogleSignInEnabled { get; set; }
 22
 23    /// <summary>Whether anonymous self-registration is open for the scope (UC-47).</summary>
 724    public bool SelfRegistrationEnabled { get; set; }
 25
 26    /// <summary>Base link for this scope's verification emails, or <c>null</c> to use the global one.</summary>
 827    public string? EmailVerificationUrl { get; set; }
 28
 29    /// <summary>Base link for this scope's password-reset emails, or <c>null</c> to use the global one.</summary>
 830    public string? PasswordResetUrl { get; set; }
 31
 32    /// <summary>Public identifiers of the scope's owners.</summary>
 1433    public IEnumerable<Guid> OwnerIds { get; set; } = new List<Guid>();
 34
 35    /// <summary>Creation timestamp.</summary>
 736    public DateTime CreatedAt { get; set; }
 37
 38    /// <summary>Last update timestamp.</summary>
 739    public DateTime UpdatedAt { get; set; }
 40}