< Summary

Information
Class: Elsa.Api.Client.Resources.WorkflowDefinitions.Requests.ExecuteWorkflowDefinitionRequest
Assembly: Elsa.Api.Client
File(s): /home/runner/work/elsa-core/elsa-core/src/clients/Elsa.Api.Client/Resources/WorkflowDefinitions/Requests/ExecuteWorkflowDefinitionRequest.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
Total lines: 29
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_CorrelationId()100%210%
get_TriggerActivityId()100%210%
get_VersionOptions()100%210%
get_Input()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/clients/Elsa.Api.Client/Resources/WorkflowDefinitions/Requests/ExecuteWorkflowDefinitionRequest.cs

#LineLine coverage
 1using Elsa.Api.Client.Shared.Models;
 2
 3namespace Elsa.Api.Client.Resources.WorkflowDefinitions.Requests;
 4
 5/// <summary>
 6/// A request to execute a workflow definition.
 7/// </summary>
 8public class ExecuteWorkflowDefinitionRequest
 9{
 10    /// <summary>
 11    /// An optional correlation ID to associate with the workflow instance.
 12    /// </summary>
 013    public string? CorrelationId { get; set; }
 14
 15    /// <summary>
 16    /// An optional activity ID to trigger.
 17    /// </summary>
 018    public string? TriggerActivityId { get; set; }
 19
 20    /// <summary>
 21    /// An optional version to execute.
 22    /// </summary>
 023    public VersionOptions? VersionOptions { get; set; }
 24
 25    /// <summary>
 26    /// Optional input to pass to the workflow instance.
 27    /// </summary>
 028    public object? Input { get; set; }
 29}