NotificationGeneralFeedbackReplyNotificationAsJSON

class NotificationGeneralFeedbackReplyNotificationAsJSON[source]

The dict used for representing a comment notification as JSON.

type: Literal['general_comment_notification']

The type of comment that triggered this notification.

id: int

The id of this notification.

read: bool

Has this notification been read.

reasons: Sequence[Sequence[NotificationReasons | str]]

The reasons why this notification was sent, this is a list of the two- tuples where the first element is the reason and the second element an explanation what this reason means.

created_at: datetime

The moment the notification was created.

comment_base_id: int

The id of the base comment for which this notification was generated.

work_id: int

The id of the submission (work) the comment was placed on.

assignment_id: int

The id of the assignment the comment was placed on.

course_id: int

The id of the course the assignment belongs to.

comment_reply: ExtendedNonDeletedCommentReply | DeletedCommentReply

The general feedback reply that caused this notification to be generated.