Class
GitHubNotificationSnapshot
IntelligenceX.Telemetry.GitHub
Contains a cached, polling-aware snapshot of GitHub notification threads.
Inheritance
- object
- GitHubNotificationSnapshot
Usage
Explore 1 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
Constructors
public GitHubNotificationSnapshot(IReadOnlyList<GitHubNotificationThread> threads, DateTimeOffset checkedAtUtc, TimeSpan recommendedPollInterval, int? rateLimitRemaining, bool hasMore = false) #Initializes a notification snapshot.
Parameters
- threads System.Collections.Generic.IReadOnlyList<IntelligenceX.Telemetry.GitHub.GitHubNotificationThread>
- checkedAtUtc System.DateTimeOffset
- recommendedPollInterval System.TimeSpan
- rateLimitRemaining int?
- hasMore bool = false
Inherited Methods
Properties
public IReadOnlyList<GitHubNotificationThread> Threads { get; } #Gets notification threads ordered by GitHub.
public DateTimeOffset CheckedAtUtc { get; } #Gets when the service last checked GitHub.
public TimeSpan RecommendedPollInterval { get; } #Gets GitHub's minimum recommended polling interval.
public int? RateLimitRemaining { get; } #Gets the remaining REST rate limit reported by GitHub, when available.
public bool HasMore { get; } #Gets whether GitHub reported another page beyond the returned finite result.