code: public List<Pipeline> getPipelines(Object projectIdOrPath, PipelineScope scope, PipelineStatus status, String ref, boolean yamlErrors,
              String name, String username, PipelineOrderBy orderBy, SortOrder sort, int page, int perPage) throws GitLabApiException {
          GitLabApiForm formData = new GitLabApiForm()
                  .withParam("scope", scope)
                  .withParam("status", status)
                  .withParam("ref", ref)
                  .withParam("yaml_errors", yamlErrors)
                  .withParam("name", name)
                  .withParam("username", username)
                  .withParam("order_by", orderBy)
                  .withParam("sort", sort)
                  .withParam("page", page)
                  .withParam(PER_PAGE_PARAM, perPage);
  
          Response response = get(Response.Status.OK, formData.asMap(),
                  "projects", getProjectIdOrPath(projectIdOrPath), "pipelines");
          return (response.readEntity(new GenericType<List<Pipeline>>() {}));
      }
docs: Get a list of pipelines in a project in the specified page range.
  
  <pre><code>GitLab Endpoint: GET /projects/:id/pipelines</code></pre>
  
  @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance
  @param scope the scope of pipelines, one of: RUNNING, PENDING, FINISHED, BRANCHES, TAGS
  @param status the status of pipelines, one of: RUNNING, PENDING, SUCCESS, FAILED, CANCELED, SKIPPED
  @param ref the ref of pipelines
  @param yamlErrors returns pipelines with invalid configurations
  @param name the name of the user who triggered pipelines
  @param username the username of the user who triggered pipelines
  @param orderBy order pipelines by ID, STATUS, REF, USER_ID (default: ID)
  @param sort sort pipelines in ASC or DESC order (default: DESC)
  @param page the page to get
  @param perPage the number of Pipeline instances per page
  @return a list containing the pipelines for the specified project ID
  @throws GitLabApiException if any exception occurs during execution