code: public List<Variable> getVariables(Object projectIdOrPath, int page, int perPage) throws GitLabApiException {
          Response response = get(Response.Status.OK, getPageQueryParams(page, perPage), "projects", getProjectIdOrPath(projectIdOrPath), "variables");
          return (response.readEntity(new GenericType<List<Variable>>() {}));
      }
docs: Get a list of variables for the specified project in the specified page range.
  
  <pre><code>GitLab Endpoint: GET /projects/:id/variables</code></pre>
  
  @param projectIdOrPath projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance, required
  @param page the page to get
  @param perPage the number of Variable instances per page
  @return a list of variables belonging to the specified project in the specified page range
  @throws GitLabApiException if any exception occurs