< Summary

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

File(s)

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

#LineLine coverage
 1namespace Elsa.Workflows.Api.Endpoints.WorkflowDefinitions.Export;
 2
 3/// <summary>
 4/// Exports the specified workflow definition as JSON download.
 5/// Either specify the <see cref="DefinitionId"/> and optionally the <see cref="VersionOptions"/> or the <see cref="Ids"
 6/// </summary>
 7internal class Request
 8{
 9    /// <summary>
 10    /// The workflow definition ID.
 11    /// </summary>
 012    public string? DefinitionId { get; set; } = default!;
 13
 14    /// <summary>
 15    /// The version options.
 16    /// </summary>
 017    public string? VersionOptions { get; set; }
 18
 19    /// <summary>
 20    /// A list of workflow definition version IDs.
 21    /// </summary>
 022    public ICollection<string>? Ids { get; set; } = default!;
 23}