< Summary

Information
Class: Elsa.Workflows.Api.Endpoints.WorkflowDefinitions.List.Request
Assembly: Elsa.Workflows.Api
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Api/Endpoints/WorkflowDefinitions/List/Models.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 11
Coverable lines: 11
Total lines: 20
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_VersionOptions()100%210%
get_DefinitionIds()100%210%
get_Ids()100%210%
get_MaterializerName()100%210%
get_Labels()100%210%
get_Page()100%210%
get_PageSize()100%210%
get_OrderBy()100%210%
get_OrderDirection()100%210%
get_SearchTerm()100%210%
get_IsSystem()100%210%

File(s)

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

#LineLine coverage
 1using Elsa.Common.Entities;
 2using Elsa.Workflows.Api.Models;
 3using FastEndpoints;
 4
 5namespace Elsa.Workflows.Api.Endpoints.WorkflowDefinitions.List;
 6
 7internal class Request
 8{
 09    public string? VersionOptions { get; set; }
 010    public string[]? DefinitionIds { get; set; }
 011    public string[]? Ids { get; set; }
 012    [BindFrom("materializer")] public string? MaterializerName { get; set; }
 013    [BindFrom("label")] public string[]? Labels { get; set; }
 014    public int? Page { get; set; }
 015    public int? PageSize { get; set; }
 016    public OrderByWorkflowDefinition? OrderBy { get; set; }
 017    public OrderDirection? OrderDirection { get; set; }
 018    public string? SearchTerm { get; set; }
 019    public bool? IsSystem { get; set; }
 20}