< Summary

Information
Class: Elsa.Api.Client.Resources.Alterations.Responses.RunRequest
Assembly: Elsa.Api.Client
File(s): /home/runner/work/elsa-core/elsa-core/src/clients/Elsa.Api.Client/Resources/Alterations/Responses/RunRequest.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 2
Coverable lines: 2
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_Alterations()100%210%
get_WorkflowInstanceIds()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/clients/Elsa.Api.Client/Resources/Alterations/Responses/RunRequest.cs

#LineLine coverage
 1using System.Text.Json.Nodes;
 2
 3namespace Elsa.Api.Client.Resources.Alterations.Responses;
 4
 5/// <summary>
 6/// A plan that contains a list of alterations to be applied to a set of workflow instances.
 7/// </summary>
 8public class RunRequest
 9{
 10    /// <summary>
 11    /// The alterations to be applied.
 12    /// </summary>
 013    public ICollection<JsonObject> Alterations { get; set; } = new List<JsonObject>();
 14
 15    /// <summary>
 16    /// The IDs of the workflow instances that this plan applies to.
 17    /// </summary>
 018    public ICollection<string> WorkflowInstanceIds { get; set; } = new List<string>();
 19}