code: public ProtectedBranch protectBranch(Integer projectIdOrPath, String branchName) throws GitLabApiException {
          return protectBranch(projectIdOrPath, branchName, AccessLevel.MAINTAINER, AccessLevel.MAINTAINER);
      }
docs: Protects a single repository branch or several project repository branches using a wildcard protected branch.
  
  <pre><code>GitLab Endpoint: POST /projects/:id/protected_branches</code></pre>
  
  @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance
  @param branchName the name of the branch to protect
  @return the branch info for the protected branch
  @throws GitLabApiException if any exception occurs