< Summary

Information
Class: Elsa.Api.Client.Resources.WorkflowInstances.Requests.ListWorkflowInstancesRequest
Assembly: Elsa.Api.Client
File(s): /home/runner/work/elsa-core/elsa-core/src/clients/Elsa.Api.Client/Resources/WorkflowInstances/Requests/ListWorkflowInstancesRequest.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 16
Coverable lines: 16
Total lines: 90
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_Page()100%210%
get_PageSize()100%210%
get_SearchTerm()100%210%
get_DefinitionId()100%210%
get_DefinitionIds()100%210%
get_CorrelationId()100%210%
get_Version()100%210%
get_HasIncidents()100%210%
get_IsSystem()100%210%
get_Status()100%210%
get_Statuses()100%210%
get_SubStatus()100%210%
get_SubStatuses()100%210%
get_OrderBy()100%210%
get_OrderDirection()100%210%
get_TimestampFilters()100%210%

File(s)

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

#LineLine coverage
 1using Elsa.Api.Client.Resources.WorkflowInstances.Enums;
 2using Elsa.Api.Client.Shared.Models;
 3
 4namespace Elsa.Api.Client.Resources.WorkflowInstances.Requests;
 5
 6/// <summary>
 7/// Represents a request to list workflow instances.
 8/// </summary>
 9public class ListWorkflowInstancesRequest
 10{
 11    /// <summary>
 12    /// Gets or sets the page number.
 13    /// </summary>
 014    public int? Page { get; set; }
 15
 16    /// <summary>
 17    /// Gets or sets the page size.
 18    /// </summary>
 019    public int? PageSize { get; set; }
 20
 21    /// <summary>
 22    /// Gets or sets the search term.
 23    /// </summary>
 024    public string? SearchTerm { get; set; }
 25
 26    /// <summary>
 27    /// Gets or sets the workflow definition id.
 28    /// </summary>
 029    public string? DefinitionId { get; set; }
 30
 31    /// <summary>
 32    /// Gets or sets the workflow definition ids.
 33    /// </summary>
 034    public ICollection<string>? DefinitionIds { get; set; }
 35
 36    /// <summary>
 37    /// Gets or sets the correlation id.
 38    /// </summary>
 039    public string? CorrelationId { get; set; }
 40
 41    /// <summary>
 42    /// Gets or sets the version.
 43    /// </summary>
 044    public int? Version { get; set; }
 45
 46    /// <summary>
 47    /// Gets or sets whether the workflow instances have incidents or not.
 48    /// </summary>
 049    public bool? HasIncidents { get; set; }
 50
 51    /// <summary>
 52    /// Gets or sets whether to include system workflows.
 53    /// </summary>
 054    public bool? IsSystem { get; set; }
 55
 56    /// <summary>
 57    /// Gets or sets the status.
 58    /// </summary>
 059    public WorkflowStatus? Status { get; set; }
 60
 61    /// <summary>
 62    /// Gets or sets the statuses.
 63    /// </summary>
 064    public ICollection<WorkflowStatus>? Statuses { get; set; }
 65
 66    /// <summary>
 67    /// Gets or sets the sub status.
 68    /// </summary>
 069    public WorkflowSubStatus? SubStatus { get; set; }
 70
 71    /// <summary>
 72    /// Gets or sets the sub statuses.
 73    /// </summary>
 074    public ICollection<WorkflowSubStatus>? SubStatuses { get; set; }
 75
 76    /// <summary>
 77    /// Gets or sets the key to order by.
 78    /// </summary>
 079    public OrderByWorkflowInstance? OrderBy { get; set; }
 80
 81    /// <summary>
 82    /// Gets or sets the order direction.
 83    /// </summary>
 084    public OrderDirection? OrderDirection { get; set; }
 85
 86    /// <summary>
 87    /// Gets or sets the timestamp filters.
 88    /// </summary>
 089    public ICollection<TimestampFilter>? TimestampFilters { get; set; }
 90}