< Summary

Information
Class: Elsa.Identity.Endpoints.Roles.Create.Response
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: 5
Coverable lines: 5
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
.ctor(...)100%210%
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{
 5    public string? Id { get; set; } = null!;
 6    public string Name { get; set; } = null!;
 7    public ICollection<string>? Permissions { get; set; }
 8}
 9
 010internal record Response(
 011    string Id,
 012    string Name,
 013    ICollection<string> Permissions
 014);