< Summary

Information
Class: Elsa.Api.Client.Resources.WorkflowInstances.Requests.BulkCancelWorkflowInstancesRequest
Assembly: Elsa.Api.Client
File(s): /home/runner/work/elsa-core/elsa-core/src/clients/Elsa.Api.Client/Resources/WorkflowInstances/Requests/BulkCancelWorkflowInstancesRequest.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
Total lines: 32
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_Ids()100%210%
get_DefinitionVersionId()100%210%
get_DefinitionId()100%210%
get_VersionOptions()100%210%

File(s)

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

#LineLine coverage
 1using Elsa.Api.Client.Shared.Models;
 2
 3namespace Elsa.Api.Client.Resources.WorkflowInstances.Requests;
 4
 5/// <summary>
 6/// Represents a request to bulk cancel workflow instances.
 7/// </summary>
 8public class BulkCancelWorkflowInstancesRequest
 9{
 10    /// <summary>
 11    /// Gets or sets the IDs of the workflow instances to delete.
 12    /// </summary>
 013    public ICollection<string>? Ids { get; set; }
 14
 15    /// <summary>
 16    /// Gets or sets the definition version id.
 17    /// </summary>
 018    public string? DefinitionVersionId { get; set; }
 19
 20    /// <summary>
 21    /// Represents the ID of a workflow definition.
 22    /// </summary>
 23    /// <remarks>This should be used in combination with <see cref="VersionOptions"/></remarks>
 024    public string? DefinitionId { get; set; }
 25
 26    /// <summary>
 27    /// Represents the version options for getting a specific version.
 28    /// </summary>
 29    /// <remarks>This should be used in combination with <see cref="DefinitionId"/></remarks>
 030    public VersionOptions? VersionOptions { get; set; }
 31
 32}