code: public Variable getVariable(Object projectIdOrPath, String key) throws GitLabApiException {
        Response response = get(Response.Status.OK, null, "projects", getProjectIdOrPath(projectIdOrPath), "variables", key);
        return (response.readEntity(Variable.class));
      }
docs: Get the details of a project variable.
  
  <pre><code>GitLab Endpoint: GET /projects/:id/variables/:key</code></pre>
  
  @param projectIdOrPath projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance, required
  @param key the key of an existing variable, required
  @return the Variable instance for the specified variable
  @throws GitLabApiException if any exception occurs