< Summary

Information
Class: Elsa.Api.Client.Resources.Alterations.Models.ActivityFilter
Assembly: Elsa.Api.Client
File(s): /home/runner/work/elsa-core/elsa-core/src/clients/Elsa.Api.Client/Resources/Alterations/Models/ActivityFilter.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 5
Coverable lines: 5
Total lines: 34
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_ActivityId()100%210%
get_ActivityInstanceId()100%210%
get_NodeId()100%210%
get_Name()100%210%
get_Status()100%210%

File(s)

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

#LineLine coverage
 1using Elsa.Api.Client.Resources.Alterations.Enums;
 2
 3namespace Elsa.Api.Client.Resources.Alterations.Models;
 4
 5/// <summary>
 6/// A filter for activities within a workflow instance
 7/// </summary>
 8public class ActivityFilter
 9{
 10    /// <summary>
 11    /// The ID of the activity.
 12    /// </summary>
 013    public string? ActivityId { get; set; }
 14
 15    /// <summary>
 16    /// The ID of the activity instance.
 17    /// </summary>
 018    public string? ActivityInstanceId { get; set; }
 19
 20    /// <summary>
 21    /// The node ID of the activity.
 22    /// </summary>
 023    public string? NodeId { get; set; }
 24
 25    /// <summary>
 26    /// The name of the activity.
 27    /// </summary>
 028    public string? Name { get; set; }
 29
 30    /// <summary>
 31    /// The status of the activity.
 32    /// </summary>
 033    public ActivityStatus? Status { get; set; }
 34}