30 lines
674 B
C#
30 lines
674 B
C#
using System;
|
|
|
|
namespace StellaOps.Provcache;
|
|
|
|
/// <summary>
|
|
/// Information about the time window used in VeriKey.
|
|
/// </summary>
|
|
public sealed record TimeWindowInfo
|
|
{
|
|
/// <summary>
|
|
/// The time window bucket identifier.
|
|
/// </summary>
|
|
public required string Bucket { get; init; }
|
|
|
|
/// <summary>
|
|
/// Start of the time window (UTC).
|
|
/// </summary>
|
|
public DateTimeOffset? StartsAt { get; init; }
|
|
|
|
/// <summary>
|
|
/// End of the time window (UTC).
|
|
/// </summary>
|
|
public DateTimeOffset? EndsAt { get; init; }
|
|
|
|
/// <summary>
|
|
/// Duration of the time window.
|
|
/// </summary>
|
|
public TimeSpan? Duration { get; init; }
|
|
}
|