def get_notifications(self, all=github.GithubObject.NotSet, participating=github.GithubObject.NotSet, since=github.GithubObject.NotSet, before=github.GithubObject.NotSet):
assert all is github.GithubObject.NotSet or isinstance(all, bool), all<EOL>assert participating is github.GithubObject.NotSet or isinstance(participating, bool), participating<EOL>assert since is github.GithubObject.NotSet or isinstance(since, datetime.datetime), since<EOL>assert before is github.GithubObject.NotSet or isinstance(before, datetime.datetime), before<EOL>params = dict()<EOL>if all is not github.GithubObject.NotSet:<EOL><INDENT>params["<STR_LIT:all>"] = all<EOL><DEDENT>if participating is not github.GithubObject.NotSet:<EOL><INDENT>params["<STR_LIT>"] = participating<EOL><DEDENT>if since is not github.GithubObject.NotSet:<EOL><INDENT>params["<STR_LIT>"] = since.strftime("<STR_LIT>")<EOL><DEDENT>if before is not github.GithubObject.NotSet:<EOL><INDENT>params["<STR_LIT>"] = before.strftime("<STR_LIT>")<EOL><DEDENT>return github.PaginatedList.PaginatedList(<EOL>github.Notification.Notification,<EOL>self._requester,<EOL>"<STR_LIT>",<EOL>params<EOL>)<EOL>
:calls: `GET /notifications <http://developer.github.com/v3/activity/notifications>`_
:param all: bool
:param participating: bool
:param since: datetime.datetime
:param before: datetime.datetime
:rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Notification.Notification`