# GitHubNotificationThread

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

Class 

`IntelligenceX.Telemetry.GitHub`

**Namespace**

`IntelligenceX.Telemetry.GitHub`

**Assembly**

`IntelligenceX`

**Source**

[GitHubNotificationModels.cs:34](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Telemetry/GitHub/GitHubNotificationModels.cs#L34)

**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

- Property [GitHubNotificationSnapshot.Threads](/api/intelligencex-telemetry-github-githubnotificationsnapshot/#property-threads)

### Accepted by parameters 1

- Constructor [GitHubNotificationSnapshot.GitHubNotificationSnapshot](/api/intelligencex-telemetry-github-githubnotificationsnapshot/#constructor-ctor-collections-generic-ireadonlylist-intelligencex-telemetry-github-githubnotificationthread-datetimeoffset-timespan-nullable-system-int32-boolean) parameter `threads`

Filter members 

Show inherited

## Constructors

`public GitHubNotificationThread(string id, string repositoryNameWithOwner, string title, string subjectType, string reason, bool unread, DateTimeOffset updatedAtUtc, DateTimeOffset? lastReadAtUtc, string repositoryUrl, string openUrl)` [#](#constructor-ctor-string-string-string-string-string-boolean-datetimeoffset-nullable-system-datetimeoffset-string-string)

[GitHubNotificationModels.cs:34](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Telemetry/GitHub/GitHubNotificationModels.cs#L34)

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**

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string Id { get; }` [#](#property-id)

[GitHubNotificationModels.cs:58](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Telemetry/GitHub/GitHubNotificationModels.cs#L58)

Gets the GitHub notification thread identifier.

`public string RepositoryNameWithOwner { get; }` [#](#property-repositorynamewithowner)

[GitHubNotificationModels.cs:61](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Telemetry/GitHub/GitHubNotificationModels.cs#L61)

Gets the repository in owner/name form.

`public string Title { get; }` [#](#property-title)

[GitHubNotificationModels.cs:64](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Telemetry/GitHub/GitHubNotificationModels.cs#L64)

Gets the notification subject title.

`public string SubjectType { get; }` [#](#property-subjecttype)

[GitHubNotificationModels.cs:67](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Telemetry/GitHub/GitHubNotificationModels.cs#L67)

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

`public string Reason { get; }` [#](#property-reason)

[GitHubNotificationModels.cs:70](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Telemetry/GitHub/GitHubNotificationModels.cs#L70)

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

`public bool Unread { get; }` [#](#property-unread)

[GitHubNotificationModels.cs:73](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Telemetry/GitHub/GitHubNotificationModels.cs#L73)

Gets whether the thread is unread.

`public DateTimeOffset UpdatedAtUtc { get; }` [#](#property-updatedatutc)

[GitHubNotificationModels.cs:76](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Telemetry/GitHub/GitHubNotificationModels.cs#L76)

Gets when GitHub last updated the thread.

`public DateTimeOffset? LastReadAtUtc { get; }` [#](#property-lastreadatutc)

[GitHubNotificationModels.cs:79](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Telemetry/GitHub/GitHubNotificationModels.cs#L79)

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

`public string RepositoryUrl { get; }` [#](#property-repositoryurl)

[GitHubNotificationModels.cs:82](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Telemetry/GitHub/GitHubNotificationModels.cs#L82)

Gets the repository's browser URL.

`public string OpenUrl { get; }` [#](#property-openurl)

[GitHubNotificationModels.cs:85](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Telemetry/GitHub/GitHubNotificationModels.cs#L85)

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

`public bool IsActionRequired { get; }` [#](#property-isactionrequired)

[GitHubNotificationModels.cs:88](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Telemetry/GitHub/GitHubNotificationModels.cs#L88)

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

<!-- PowerForge markdown artifact sha256:D115E723846808BF76F07FDD8EFAB8A02658CF5E5F0CBCB73E7A25621203849F -->
