IntelligenceX

API Reference

Class

GitHubNotificationSnapshot

Namespace IntelligenceX.Telemetry.GitHub
Assembly IntelligenceX
Modifiers sealed

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} requiredposition: 0
checkedAtUtc System.DateTimeOffset requiredposition: 1
recommendedPollInterval System.TimeSpan requiredposition: 2
rateLimitRemaining System.Nullable{System.Int32} requiredposition: 3
hasMore System.Boolean = false optionalposition: 4

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.