docs: private Tree parseTree(HttpQuery query) {
      final Tree tree = new Tree(parseTreeId(query, false));
      if (query.hasQueryStringParam("name")) {
        tree.setName(query.getQueryStringParam("name"));
      }
      if (query.hasQueryStringParam("description")) {
        tree.setDescription(query.getQueryStringParam("description"));
      }
      if (query.hasQueryStringParam("notes")) {
        tree.setNotes(query.getQueryStringParam("notes"));
      }
      if (query.hasQueryStringParam("strict_match")) {
        if (query.getQueryStringParam("strict_match").toLowerCase()
            .equals("true")) {
          tree.setStrictMatch(true);
        } else {
          tree.setStrictMatch(false);
        }
      }
      if (query.hasQueryStringParam("enabled")) {
        final String enabled = query.getQueryStringParam("enabled");
        if (enabled.toLowerCase().equals("true")) {
          tree.setEnabled(true);
        } else {
          tree.setEnabled(false);
        }
      }
      if (query.hasQueryStringParam("store_failures")) {
        if (query.getQueryStringParam("store_failures").toLowerCase()
            .equals("true")) {
          tree.setStoreFailures(true);
        } else {
          tree.setStoreFailures(false);
        }
      }
      return tree;
    }