def METHOD_NAME(self, attributes):
    if "id" in attributes:  # pragma no branch
        self._id = self._makeStringAttribute(attributes["id"])
    if "last_read_at" in attributes:  # pragma no branch
        self._last_read_at = self._makeDatetimeAttribute(attributes["last_read_at"])
    if "repository" in attributes:  # pragma no branch
        self._repository = self._makeClassAttribute(
            github.Repository.Repository, attributes["repository"]
        )
    if "subject" in attributes:  # pragma no branch
        self._subject = self._makeClassAttribute(
            github.NotificationSubject.NotificationSubject, attributes["subject"]
        )
    if "reason" in attributes:  # pragma no branch
        self._reason = self._makeStringAttribute(attributes["reason"])
    if "subscription_url" in attributes:  # pragma no branch
        self._subscription_url = self._makeStringAttribute(
            attributes["subscription_url"]
        )
    if "unread" in attributes:  # pragma no branch
        self._unread = self._makeBoolAttribute(attributes["unread"])
    if "updated_at" in attributes:  # pragma no branch
        self._updated_at = self._makeDatetimeAttribute(attributes["updated_at"])
    if "url" in attributes:  # pragma no branch
        self._url = self._makeStringAttribute(attributes["url"])