docs: public CompareResults compare(Object projectIdOrPath, String from, String to, boolean straight) throws GitLabApiException {
          Form formData = new GitLabApiForm()
                  .withParam("from", from, true)
                  .withParam("to", to, true)
                  .withParam("straight", straight);
          Response response = get(Response.Status.OK, formData.asMap(), "projects",
                  getProjectIdOrPath(projectIdOrPath), "repository", "compare");
          return (response.readEntity(CompareResults.class));
      }