GitHubNotificationThread
IntelligenceX.Telemetry.GitHub
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
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
- repositoryNameWithOwner string
- title string
- subjectType string
- reason string
- unread bool
- updatedAtUtc System.DateTimeOffset
- lastReadAtUtc System.DateTimeOffset?
- repositoryUrl string
- openUrl string
Inherited Methods
Properties
public string Id { get; } #Gets the GitHub notification thread identifier.
public string RepositoryNameWithOwner { get; } #Gets the repository in owner/name form.
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 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.