code: function RestClient(url, options) { // XXX what are the options?
    // call super
    Endpoint.call(this)
  
    /*****************************************************************************
     * @property {string} url -- xxx
     */
    this.url = url
    // setting this.client = this !!! this is so that child endpoint get
    // this.client set properly when calling end
    /*****************************************************************************
     * @property {xxx} client -- xxx
     */
    this.client = this
    /*****************************************************************************
     * @property {object} defaultOptions -- xxx
     */
    this.defaultOptions = options || {}
  
    // setup authenticator
    if ("authentication" in this.defaultOptions) {
      this._setupAuthentication(this.defaultOptions["authentication"])
    }
  
    // allow accessing "request" module from this client
    this.request = require("request")
  }
docs: *************************************************************************************************
  @class RestClient
  @description RestClient description
  @extends carbon-client.Endpoint
  @memberof carbon-client