< Summary

Information
Class: Elsa.Workflows.Api.Endpoints.WorkflowDefinitions.Refresh.Response
Assembly: Elsa.Workflows.Api
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Api/Endpoints/WorkflowDefinitions/Refresh/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
.ctor(...)100%210%
get_Refreshed()100%210%
get_NotFound()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Api/Endpoints/WorkflowDefinitions/Refresh/Models.cs

#LineLine coverage
 1using System.Text.Json.Serialization;
 2
 3namespace Elsa.Workflows.Api.Endpoints.WorkflowDefinitions.Refresh;
 4
 5internal class Request
 6{
 7    public ICollection<string>? DefinitionIds { get; set; }
 8}
 9
 010internal class Response(ICollection<string> refreshed, ICollection<string> notFound)
 11{
 012    [JsonPropertyName("refreshed")] public ICollection<string> Refreshed { get; } = refreshed;
 013    [JsonPropertyName("notFound")] public ICollection<string> NotFound { get; } = notFound;
 14}