public function protectBranch($project_id, $branch_name, $devPush = false, $devMerge = false)
{
return $this->put($this->getProjectPath($project_id, 'repository/branches/' . $this->encodeBranch($branch_name) . '/protect'), array('developers_can_push' => $devPush, 'developers_can_merge' => $devMerge));
}