IntelligenceX
Class

GitHubNotificationThread

IntelligenceX.Telemetry.GitHub

Namespace
IntelligenceX.Telemetry.GitHub
Assembly
IntelligenceX
Modifiers
sealed

Represents one notification thread from the authenticated user's GitHub inbox.

Inheritance

  • object
  • GitHubNotificationThread

Usage

Explore 2 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

Accepted by parameters 1

Constructors

public GitHubNotificationThread(string id, string repositoryNameWithOwner, string title, string subjectType, string reason, bool unread, DateTimeOffset updatedAtUtc, DateTimeOffset? lastReadAtUtc, string repositoryUrl, string openUrl) #

Initializes a notification thread.

Parameters

id string required
repositoryNameWithOwner string required
title string required
subjectType string required
reason string required
unread bool required
updatedAtUtc System.DateTimeOffset required
lastReadAtUtc System.DateTimeOffset? required
repositoryUrl string required
openUrl string required

Properties

public string Id { get; } #

Gets the GitHub notification thread identifier.

public string RepositoryNameWithOwner { get; } #

Gets the repository in owner/name form.

public string Title { get; } #

Gets the notification subject title.

public string SubjectType { get; } #

Gets the GitHub subject type, such as PullRequest, Issue, or CheckSuite.

public string Reason { get; } #

Gets the GitHub reason code, such as mention, review_requested, or subscribed.

public bool Unread { get; } #

Gets whether the thread is unread.

public DateTimeOffset UpdatedAtUtc { get; } #

Gets when GitHub last updated the thread.

public DateTimeOffset? LastReadAtUtc { get; } #

Gets when the authenticated user last read the thread, when known.

public string RepositoryUrl { get; } #

Gets the repository's browser URL.

public string OpenUrl { get; } #

Gets the best browser URL available for opening the notification subject.

public bool IsActionRequired { get; } #

Gets whether the reason normally represents a direct action or attention request.