API Reference
Class
GitHubNotificationSnapshot
Contains a cached, polling-aware snapshot of GitHub notification threads.
Inheritance
- Object
- GitHubNotificationSnapshot
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Constructors
public GitHubNotificationSnapshot(IReadOnlyList<GitHubNotificationThread> threads, DateTimeOffset checkedAtUtc, TimeSpan recommendedPollInterval, Nullable<Int32> rateLimitRemaining, Boolean hasMore = false) #Initializes a notification snapshot.
Parameters
- threads System.Collections.Generic.IReadOnlyList{IntelligenceX.Telemetry.GitHub.GitHubNotificationThread}
- checkedAtUtc System.DateTimeOffset
- recommendedPollInterval System.TimeSpan
- rateLimitRemaining System.Nullable{System.Int32}
- hasMore System.Boolean = 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 Nullable<Int32> RateLimitRemaining { get; } #Gets the remaining REST rate limit reported by GitHub, when available.
public Boolean HasMore { get; } #Gets whether GitHub reported another page beyond the returned finite result.