code: public List<Term> getTerm (String term, Boolean get_fingerprint, String retina_name, Integer start_index, Integer max_results) throws ApiException {
          // verify required params are set
          if(retina_name == null ) {
               throw new ApiException(400, "missing required params");
          }
          // create path and map variables
          String path = "/terms".replaceAll("\\{format\\}","json");
  
          // query params
          Map<String, String> queryParams = new HashMap<String, String>();
          Map<String, String> headerParams = new HashMap<String, String>();
  
          if(!"null".equals(String.valueOf(retina_name)))
              queryParams.put("retina_name", String.valueOf(retina_name));
          if(!"null".equals(String.valueOf(term)))
              queryParams.put("term", String.valueOf(term));
          if(!"null".equals(String.valueOf(start_index)))
              queryParams.put("start_index", String.valueOf(start_index));
          if(!"null".equals(String.valueOf(max_results)))
              queryParams.put("max_results", String.valueOf(max_results));
          if(!"null".equals(String.valueOf(get_fingerprint)))
              queryParams.put("get_fingerprint", String.valueOf(get_fingerprint));
          String contentType = "application/json";
  
          try {
              Object response = apiInvoker.invokeAPI(basePath, path, "GET", queryParams
                  , null, headerParams, contentType);
              if(response != null) {
                  if (response instanceof String) {
                          @SuppressWarnings("unchecked")
                          List<Term> result = (List<Term>) ApiInvoker.deserialize( (String) response, "Array"
                                  , Term.class, null);return result;
                  }
                  else if (response instanceof java.io.ByteArrayInputStream) {
                          @SuppressWarnings("unchecked")
                          List<Term> result =    (List<Term>) response;return result;
                  }
                  
              }
              else {
                  return null;
              }
          } catch (ApiException ex) {
              if(ex.getCode() == 404) {
              	return null;
              }
              else {
                  throw ex;
              }
          }
          return null;}
docs: Generated.
  @throws ApiException if an error occurs during querying of the API.
  @return List<Term> *