< Summary

Information
Class: Elsa.Workflows.Api.Endpoints.ActivityExecutions.Count.Request
Assembly: Elsa.Workflows.Api
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Api/Endpoints/ActivityExecutions/Count/Models.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 3
Coverable lines: 3
Total lines: 22
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_ActivityId()100%210%
get_Completed()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Api/Endpoints/ActivityExecutions/Count/Models.cs

#LineLine coverage
 1namespace Elsa.Workflows.Api.Endpoints.ActivityExecutions.Count;
 2
 3/// <summary>
 4/// Represents a request for list of activity execution log records for a given activity in a workflow instance.
 5/// </summary>
 6internal class Request
 7{
 8    /// <summary>
 9    /// The ID of the workflow instance to get the execution log for.
 10    /// </summary>
 011    public string WorkflowInstanceId { get; set; } = default!;
 12
 13    /// <summary>
 14    /// The ID of the activity to get the execution record for.
 15    /// </summary>
 016    public string ActivityId { get; set; } = default!;
 17
 18    /// <summary>
 19    /// Whether to include completed activity execution records. If not specified, all activity execution records will b
 20    /// </summary>
 021    public bool? Completed { get; set; }
 22}