IntelligenceX

API Reference

Class

GitHubNotificationThread

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, Boolean unread, DateTimeOffset updatedAtUtc, DateTimeOffset? lastReadAtUtc, String repositoryUrl, String openUrl) #

Initializes a notification thread.

Parameters

id System.String requiredposition: 0
repositoryNameWithOwner System.String requiredposition: 1
title System.String requiredposition: 2
subjectType System.String requiredposition: 3
reason System.String requiredposition: 4
unread System.Boolean requiredposition: 5
updatedAtUtc System.DateTimeOffset requiredposition: 6
lastReadAtUtc System.DateTimeOffset? requiredposition: 7
repositoryUrl System.String requiredposition: 8
openUrl System.String requiredposition: 9

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 Boolean 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 Boolean IsActionRequired { get; } #

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