< Summary

Information
Class: Elsa.Workflows.Api.Endpoints.WorkflowDefinitions.BulkDispatch.Response
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: 1
Coverable lines: 1
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_WorkflowInstanceIds()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{
 9    public string DefinitionId { get; set; } = default!;
 10    public VersionOptions? VersionOptions { get; set; }
 11    public string? TriggerActivityId { get; set; }
 12
 13    [JsonConverter(typeof(ExpandoObjectConverterFactory))]
 14    public object? Input { get; set; }
 15
 16    public int Count { get; set; } = 1;
 17}
 18
 019internal record Response(ICollection<string> WorkflowInstanceIds);

Methods/Properties

get_WorkflowInstanceIds()