API Reference
GitHubNotificationThread
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, Boolean unread, DateTimeOffset updatedAtUtc, 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.DateTimeOffset?
- repositoryUrl System.String
- openUrl System.String
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
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 Boolean IsActionRequired { get; } #Gets whether the reason normally represents a direct action or attention request.