docs: public MergeRequest acceptMergeRequest(Object projectIdOrPath, Integer mergeRequestIid,
              String mergeCommitMessage, Boolean shouldRemoveSourceBranch, Boolean mergeWhenPipelineSucceeds, String sha)
              throws GitLabApiException {
  
          if (mergeRequestIid == null) {
              throw new RuntimeException("mergeRequestIid cannot be null");
          }
  
          Form formData = new GitLabApiForm()
                  .withParam("merge_commit_message", mergeCommitMessage)
                  .withParam("should_remove_source_branch", shouldRemoveSourceBranch)
                  .withParam((isApiVersion(ApiVersion.V3) ?
                          "merge_when_build_succeeds" : "merge_when_pipeline_succeeds"),
                          mergeWhenPipelineSucceeds)
                  .withParam("sha", sha);
  
          Response response = put(Response.Status.OK, formData.asMap(), "projects", getProjectIdOrPath(projectIdOrPath), "merge_requests", mergeRequestIid, "merge");
          return (response.readEntity(MergeRequest.class));
      }