< Summary

Information
Class: Elsa.Bpmn.Interchange.Endpoints.Bpmn.Export.Request
Assembly: Elsa.Bpmn.Interchange
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Bpmn.Interchange/Endpoints/Bpmn/Export/Request.cs
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 14
Line coverage: 100%
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_DefinitionId()100%11100%
get_VersionOptions()100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Bpmn.Interchange/Endpoints/Bpmn/Export/Request.cs

#LineLine coverage
 1using JetBrains.Annotations;
 2
 3namespace Elsa.Bpmn.Interchange.Endpoints.Bpmn.Export;
 4
 5/// <summary>Identifies the workflow definition to export as BPMN 2.0 XML.</summary>
 6[PublicAPI]
 7public sealed class Request
 8{
 9    /// <summary>The workflow definition id to export.</summary>
 1210    public string DefinitionId { get; set; } = string.Empty;
 11
 12    /// <summary>The version to export, e.g. <c>Latest</c> or <c>Published</c>. Defaults to <c>Latest</c>.</summary>
 713    public string? VersionOptions { get; set; }
 14}