< Summary

Information
Class: Elsa.Api.Client.Resources.Alterations.Models.RunAlterationsResult
Assembly: Elsa.Api.Client
File(s): /home/runner/work/elsa-core/elsa-core/src/clients/Elsa.Api.Client/Resources/Alterations/Models/RunAlterationsResult.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
Total lines: 27
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_WorkflowInstanceId()100%210%
get_Log()100%210%
get_WorkflowHasScheduledWork()100%210%
get_IsSuccessful()100%210%

File(s)

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

#LineLine coverage
 1namespace Elsa.Api.Client.Resources.Alterations.Models;
 2
 3/// <summary>
 4/// The result of running a series of alterations.
 5/// </summary>
 6public class RunAlterationsResult
 7{
 8    /// <summary>
 9    /// The ID of the workflow instance that was altered.
 10    /// </summary>
 011    public string WorkflowInstanceId { get; set; } = string.Empty;
 12
 13    /// <summary>
 14    /// A log of the alterations that were run.
 15    /// </summary>
 016    public AlterationLog Log { get; set; } = new();
 17
 18    /// <summary>
 19    /// A flag indicating whether the workflow has scheduled work.
 20    /// </summary>
 021    public bool WorkflowHasScheduledWork { get; set; }
 22
 23    /// <summary>
 24    /// A flag indicating whether the alterations have succeeded.
 25    /// </summary>
 026    public bool IsSuccessful { get; set; }
 27}