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