API Reference
GitHubNotificationThread
Represents one notification thread from the authenticated user's GitHub inbox.
Inheritance
- Object
- GitHubNotificationThread
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property GitHubNotificationSnapshot.Threads
Accepted by parameters
Constructors
public GitHubNotificationThread(String id, String repositoryNameWithOwner, String title, String subjectType, String reason, Boolean unread, DateTimeOffset updatedAtUtc, Nullable<DateTimeOffset> lastReadAtUtc, String repositoryUrl, String openUrl) #Initializes a notification thread.
Parameters
- id System.String
- repositoryNameWithOwner System.String
- title System.String
- subjectType System.String
- reason System.String
- unread System.Boolean
- updatedAtUtc System.DateTimeOffset
- lastReadAtUtc System.Nullable{System.DateTimeOffset}
- repositoryUrl System.String
- openUrl System.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 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 Nullable<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.