code: public GitlabDiscussion resolveDiscussion(GitlabMergeRequest mergeRequest,
              int discussionId, boolean resolved) throws IOException {
          String tailUrl = GitlabProject.URL + "/" + mergeRequest.getProjectId() +
                  GitlabMergeRequest.URL + "/" + mergeRequest.getIid() +
                  GitlabDiscussion.URL + "/" + discussionId;
          return retrieve().method(PUT)
                  .with("resolved", resolved)
                  .to(tailUrl, GitlabDiscussion.class);
      }
docs: Resolve or unresolve a whole discussion of a merge request.
  
  @param mergeRequest  The merge request of the discussion.
  @param discussionId  The id of the discussion to resolve.
  @param resolved      Resolve or unresolve the note.
  
  @return The discussion object.
  @throws IOException on a GitLab api call error