< Summary

Information
Class: Elsa.Workflows.Api.Endpoints.Events.TriggerAuthenticated.Request
Assembly: Elsa.Workflows.Api
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Api/Endpoints/Events/TriggerAuthenticated/Models.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 6
Coverable lines: 6
Total lines: 18
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_EventName()100%210%
get_WorkflowInstanceId()100%210%
get_CorrelationId()100%210%
get_ActivityInstanceId()100%210%
get_Input()100%210%
get_WorkflowExecutionMode()100%210%

File(s)

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

#LineLine coverage
 1using System.Text.Json.Serialization;
 2using Elsa.Workflows.Models;
 3using Elsa.Workflows.Serialization.Converters;
 4
 5namespace Elsa.Workflows.Api.Endpoints.Events.TriggerAuthenticated;
 6
 7internal class Request
 8{
 09    public string EventName { get; set; } = default!;
 010    public string? WorkflowInstanceId { get; set; }
 011    public string? CorrelationId { get; set; }
 012    public string? ActivityInstanceId { get; set; }
 13
 14    [JsonConverter(typeof(ExpandoObjectConverterFactory))]
 015    public object? Input { get; set; }
 16
 017    public WorkflowExecutionMode WorkflowExecutionMode { get; set; } = WorkflowExecutionMode.Asynchronous;
 18}