< Summary

Information
Class: Elsa.Workflows.Api.Endpoints.WorkflowDefinitions.BulkDispatch.Request
Assembly: Elsa.Workflows.Api
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Api/Endpoints/WorkflowDefinitions/BulkDispatch/Models.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 5
Coverable lines: 5
Total lines: 19
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_DefinitionId()100%210%
get_VersionOptions()100%210%
get_TriggerActivityId()100%210%
get_Input()100%210%
get_Count()100%210%

File(s)

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

#LineLine coverage
 1using System.Text.Json.Serialization;
 2using Elsa.Common.Models;
 3using Elsa.Workflows.Serialization.Converters;
 4
 5namespace Elsa.Workflows.Api.Endpoints.WorkflowDefinitions.BulkDispatch;
 6
 7internal class Request
 8{
 09    public string DefinitionId { get; set; } = default!;
 010    public VersionOptions? VersionOptions { get; set; }
 011    public string? TriggerActivityId { get; set; }
 12
 13    [JsonConverter(typeof(ExpandoObjectConverterFactory))]
 014    public object? Input { get; set; }
 15
 016    public int Count { get; set; } = 1;
 17}
 18
 19internal record Response(ICollection<string> WorkflowInstanceIds);