docs: public List<MergeRequest> getMergeRequests(MergeRequestFilter filter, int page, int perPage) throws GitLabApiException {
  
          MultivaluedMap<String, String> queryParams = (filter != null ?
              filter.getQueryParams(page, perPage).asMap() : getPageQueryParams(page, perPage));
          Response response;
          if (filter != null && (filter.getProjectId() != null && filter.getProjectId().intValue() > 0) ||
                  (filter.getIids() != null && filter.getIids().size() > 0)) {
  
              if (filter.getProjectId() == null || filter.getProjectId().intValue() == 0) {
                  throw new RuntimeException("project ID cannot be null or 0");
              }
  
              response = get(Response.Status.OK, queryParams, "projects", filter.getProjectId(), "merge_requests");
          } else {
              response = get(Response.Status.OK, queryParams, "merge_requests");
          }
  
          return (response.readEntity(new GenericType<List<MergeRequest>>() {}));
      }