':calls: `GET /notifications <http://developer.github.com/v3/activity/notifications>`_
:param all: bool
:param participating: bool
:rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Notification.Notification`'

def get_notifications(self, all=github.GithubObject.NotSet, participating=github.GithubObject.NotSet):

    assert ((all is github.GithubObject.NotSet) or isinstance(all, bool)), all
    assert ((participating is github.GithubObject.NotSet) or isinstance(participating, bool)), participating
    params = dict()
    if (all is not github.GithubObject.NotSet):
        params['all'] = all
    if (participating is not github.GithubObject.NotSet):
        params['participating'] = participating
    return github.PaginatedList.PaginatedList(github.Notification.Notification, self._requester, '/notifications', params)
