NotificationCommentReplyNotificationAsJSON#

class NotificationCommentReplyNotificationAsJSON[source]#

The dict used for representing a comment notification as JSON.

type: Literal['comment_notification']#

The type of comment that triggered this notification.

file_id: int#

The id of the file the comment was placed on.

id: int#

The id of this notification.

read: bool#

Has this notification been read.

reasons: Sequence[Sequence[Union[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.

comment_reply: Union[ExtendedNonDeletedCommentReply, DeletedCommentReply]#

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