< Summary

Information
Class: Elsa.Api.Client.Resources.Alterations.Models.AlterationPlanParams
Assembly: Elsa.Api.Client
File(s): /home/runner/work/elsa-core/elsa-core/src/clients/Elsa.Api.Client/Resources/Alterations/Models/AlterationPlanParams.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 3
Coverable lines: 3
Total lines: 24
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_Id()100%210%
get_Alterations()100%210%
get_Filter()100%210%

File(s)

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

#LineLine coverage
 1using System.Text.Json.Nodes;
 2
 3namespace Elsa.Api.Client.Resources.Alterations.Models;
 4
 5/// <summary>
 6/// Represents the execution of an alteration plan against a set of workflow instances defined by the given filter
 7/// </summary>
 8public class AlterationPlanParams
 9{
 10    /// <summary>
 11    /// The unique identifier for the alteration plan. If not specified, a new ID will be generated.
 12    /// </summary>
 013    public string? Id { get; set; }
 14
 15    /// <summary>
 16    /// The alterations to be applied.
 17    /// </summary>
 018    public ICollection<JsonObject> Alterations { get; set; } = new List<JsonObject>();
 19
 20    /// <summary>
 21    /// The IDs of the workflow instances that this plan applies to.
 22    /// </summary>
 023    public AlterationWorkflowInstanceFilter Filter { get; set; } = new();
 24}