BusySnapshot
Namespace: Busy.Bar
The current state of the BUSY timer, as returned by or sent to the snapshot endpoint.
public sealed record class BusySnapshot : System.IEquatable`1[[Busy.Bar.BusySnapshot, BusyBar, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
Inheritance Object → BusySnapshot
Implements IEquatable<BusySnapshot>
Attributes NullableContextAttribute, NullableAttribute
Properties
Snapshot
The timer state itself.
public BusySnapshotState Snapshot { get; init; }
Property Value
SnapshotTimestampMs
Unix timestamp, in milliseconds, at which the snapshot was captured.
public long SnapshotTimestampMs { get; init; }
Property Value
Constructors
BusySnapshot(BusySnapshotState, Int64)
The current state of the BUSY timer, as returned by or sent to the snapshot endpoint.
public BusySnapshot(BusySnapshotState Snapshot, long SnapshotTimestampMs)
Parameters
Snapshot BusySnapshotState
The timer state itself.
SnapshotTimestampMs Int64
Unix timestamp, in milliseconds, at which the snapshot was captured.