API Reference
Class
GitHubNotificationSnapshot
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, 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.Int32?
- hasMore System.Boolean = false
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
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 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.