< Summary

Information
Class: Elsa.Api.Client.Shared.Models.TimestampFilter
Assembly: Elsa.Api.Client
File(s): /home/runner/work/elsa-core/elsa-core/src/clients/Elsa.Api.Client/Shared/Models/TimestampFilter.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 3
Coverable lines: 3
Total lines: 26
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_Column()100%210%
get_Operator()100%210%
get_Timestamp()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/clients/Elsa.Api.Client/Shared/Models/TimestampFilter.cs

#LineLine coverage
 1using Elsa.Api.Client.Shared.Enums;
 2using JetBrains.Annotations;
 3
 4namespace Elsa.Api.Client.Shared.Models;
 5
 6/// <summary>
 7/// Represents a timestamp filter used for filtering data based on a specified timestamp column and operator.
 8/// </summary>
 9[UsedImplicitly]
 10public class TimestampFilter
 11{
 12    /// <summary>
 13    /// Gets or sets the column to filter by.
 14    /// </summary>
 015    public string Column { get; set; } = default!;
 16
 17    /// <summary>
 18    /// Gets or sets the operator to use for filtering.
 19    /// </summary>
 020    public TimestampFilterOperator Operator { get; set; }
 21
 22    /// <summary>
 23    /// Gets or sets the timestamp to filter by.
 24    /// </summary>
 025    public DateTimeOffset Timestamp { get; set; }
 26}