< Summary

Information
Class: Elsa.Identity.Endpoints.Roles.Create.Request
Assembly: Elsa.Identity
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Identity/Endpoints/Roles/Create/Models.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 3
Coverable lines: 3
Total lines: 14
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_Id()100%210%
get_Name()100%210%
get_Permissions()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Identity/Endpoints/Roles/Create/Models.cs

#LineLine coverage
 1namespace Elsa.Identity.Endpoints.Roles.Create;
 2
 3internal class Request
 4{
 05    public string? Id { get; set; } = null!;
 06    public string Name { get; set; } = null!;
 07    public ICollection<string>? Permissions { get; set; }
 8}
 9
 10internal record Response(
 11    string Id,
 12    string Name,
 13    ICollection<string> Permissions
 14);