code: public List<Discussion> getMergeRequestDiscussions(Object projectIdOrPath, Integer mergeRequestIid) throws GitLabApiException {
          Pager<Discussion> pager = getMergeRequestDiscussionsPager(projectIdOrPath, mergeRequestIid, getDefaultPerPage());
          return (pager.all());
      }
docs: Get a list of all discussions for the specified merge request.
  
  <pre><code>GitLab Endpoint: GET /projects/:id/merge_requests/:merge_request_iid/discussions</code></pre>
  
  @param projectIdOrPath projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance
  @param mergeRequestIid the internal ID of the merge request
  @return a list containing all the discussions for the specified merge request
  @throws GitLabApiException if any exception occurs during execution