code: public <T extends ApiObject> EntityResponse<T> query(Request<T> request)
      {
          return executeRequest(request, objectMapper.getTypeFactory()
                  .constructParametrizedType(EntityResponse.class, EntityResponse.class, request.getEntityType()));
      }
docs: Perform a query (GET) operation using the supplied request
  @param request The request
  @return The results of the query operation