def edit_required_pull_request_reviews(self, dismissal_users=github.GithubObject.NotSet, dismissal_teams=github.GithubObject.NotSet, dismiss_stale_reviews=github.GithubObject.NotSet, require_code_owner_reviews=github.GithubObject.NotSet, required_approving_review_count=github.GithubObject.NotSet):
assert dismissal_users is github.GithubObject.NotSet or all(isinstance(element, (str, unicode)) or isinstance(element, (str, unicode)) for element in dismissal_users), dismissal_users<EOL>assert dismissal_teams is github.GithubObject.NotSet or all(isinstance(element, (str, unicode)) or isinstance(element, (str, unicode)) for element in dismissal_teams), dismissal_teams<EOL>assert dismiss_stale_reviews is github.GithubObject.NotSet or isinstance(dismiss_stale_reviews, bool), dismiss_stale_reviews<EOL>assert require_code_owner_reviews is github.GithubObject.NotSet or isinstance(require_code_owner_reviews, bool), require_code_owner_reviews<EOL>assert required_approving_review_count is github.GithubObject.NotSet or isinstance(required_approving_review_count, int), required_approving_review_count<EOL>post_parameters = {}<EOL>if dismissal_users is not github.GithubObject.NotSet:<EOL><INDENT>post_parameters["<STR_LIT>"] = {"<STR_LIT>": dismissal_users}<EOL><DEDENT>if dismissal_teams is not github.GithubObject.NotSet:<EOL><INDENT>if "<STR_LIT>" not in post_parameters:<EOL><INDENT>post_parameters["<STR_LIT>"] = {}<EOL><DEDENT>post_parameters["<STR_LIT>"]["<STR_LIT>"] = dismissal_teams<EOL><DEDENT>if dismiss_stale_reviews is not github.GithubObject.NotSet:<EOL><INDENT>post_parameters["<STR_LIT>"] = dismiss_stale_reviews<EOL><DEDENT>if require_code_owner_reviews is not github.GithubObject.NotSet:<EOL><INDENT>post_parameters["<STR_LIT>"] = require_code_owner_reviews<EOL><DEDENT>if required_approving_review_count is not github.GithubObject.NotSet:<EOL><INDENT>post_parameters["<STR_LIT>"] = required_approving_review_count<EOL><DEDENT>headers, data = self._requester.requestJsonAndCheck(<EOL>"<STR_LIT>",<EOL>self.protection_url + "<STR_LIT>",<EOL>headers={'<STR_LIT>': Consts.mediaTypeRequireMultipleApprovingReviews},<EOL>input=post_parameters<EOL>)<EOL>
:calls: `PATCH /repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews <https://developer.github.com/v3/repos/branches>`_
:dismissal_users: list of strings
:dismissal_teams: list of strings
:dismiss_stale_reviews: bool
:require_code_owner_reviews: bool
:required_approving_review_count: int