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

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> requiredposition: 0
checkedAtUtc System.DateTimeOffset requiredposition: 1
recommendedPollInterval System.TimeSpan requiredposition: 2
rateLimitRemaining 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 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.