< Summary

Information
Class: Elsa.Api.Client.Resources.WorkflowDefinitions.Requests.SaveWorkflowDefinitionRequest
Assembly: Elsa.Api.Client
File(s): /home/runner/work/elsa-core/elsa-core/src/clients/Elsa.Api.Client/Resources/WorkflowDefinitions/Requests/SaveWorkflowDefinitionRequest.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 2
Coverable lines: 2
Total lines: 19
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_Model()100%210%
get_Publish()100%210%

File(s)

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

#LineLine coverage
 1using Elsa.Api.Client.Resources.WorkflowDefinitions.Models;
 2
 3namespace Elsa.Api.Client.Resources.WorkflowDefinitions.Requests;
 4
 5/// <summary>
 6/// Represents a request to save a workflow definition.
 7/// </summary>
 8public class SaveWorkflowDefinitionRequest
 9{
 10    /// <summary>
 11    /// The workflow definition to save.
 12    /// </summary>
 013    public WorkflowDefinitionModel Model { get; set; } = default!;
 14
 15    /// <summary>
 16    /// Whether the workflow definition should be published.
 17    /// </summary>
 018    public bool? Publish { get; set; }
 19}

Methods/Properties

get_Model()
get_Publish()