docs: public RESTClient<RS, ERS> urlSegment(Object value) {
      if (value != null) {
        if (url.charAt(url.length() - 1) != '/') {
          url.append('/');
        }
        url.append(value.toString());
      }
      return this;
    }