Notification¶
-
class
github.Notification.
Notification
¶ This class represents Notifications. The reference can be found here https://docs.github.com/en/rest/reference/activity#notifications
-
id
¶ Type: string
-
last_read_at
¶ Type: datetime.datetime
-
repository
¶ Type: github.Repository.Repository
-
subject
¶ Type: github.NotificationSubject.NotificationSubject
-
reason
¶ Type: string
-
subscription_url
¶ Type: string
-
unread
¶ Type: bool
-
updated_at
¶ Type: datetime.datetime
-
url
¶ Type: string
-
mark_as_read
()¶ Calls: PATCH /notifications/threads/{id}
-
get_pull_request
()¶ Type: :class:github.PullRequest.PullRequest
-
get_issue
()¶ Type: :class:github.Issue.Issue
-