def get_repos(self, visibility=github.GithubObject.NotSet, affiliation=github.GithubObject.NotSet, type=github.GithubObject.NotSet, sort=github.GithubObject.NotSet, direction=github.GithubObject.NotSet):
assert visibility is github.GithubObject.NotSet or isinstance(visibility, (str, unicode)), visibility<EOL>assert affiliation is github.GithubObject.NotSet or isinstance(affiliation, (str, unicode)), affiliation<EOL>assert type is github.GithubObject.NotSet or isinstance(type, (str, unicode)), type<EOL>assert sort is github.GithubObject.NotSet or isinstance(sort, (str, unicode)), sort<EOL>assert direction is github.GithubObject.NotSet or isinstance(direction, (str, unicode)), direction<EOL>url_parameters = dict()<EOL>if visibility is not github.GithubObject.NotSet:<EOL><INDENT>url_parameters["<STR_LIT>"] = visibility<EOL><DEDENT>if affiliation is not github.GithubObject.NotSet:<EOL><INDENT>url_parameters["<STR_LIT>"] = affiliation<EOL><DEDENT>if type is not github.GithubObject.NotSet:<EOL><INDENT>url_parameters["<STR_LIT:type>"] = type<EOL><DEDENT>if sort is not github.GithubObject.NotSet:<EOL><INDENT>url_parameters["<STR_LIT>"] = sort<EOL><DEDENT>if direction is not github.GithubObject.NotSet:<EOL><INDENT>url_parameters["<STR_LIT>"] = direction<EOL><DEDENT>return github.PaginatedList.PaginatedList(<EOL>github.Repository.Repository,<EOL>self._requester,<EOL>"<STR_LIT>",<EOL>url_parameters<EOL>)<EOL>
:calls: `GET /user/repos <http://developer.github.com/v3/repos>`
:param visibility: string
:param affiliation: string
:param type: string
:param sort: string
:param direction: string
:rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Repository.Repository`