docs: function CloudAPI(options) {
      if (!(this instanceof CloudAPI)) return new CloudAPI(options);
      merge(this, defaultOptions, options);
      if (this.debug) debug.enabled = true;
      if (typeof this.net === 'undefined') {
          this.net = new CloudRequest(merge(true, defaultOptions, options));
      }
      let o = {
          baseUrl: '',
          debug: this.debug,
          net: {
              login: () => this.cloudLogin(),
              logout: () => this.cloudLogout(),
              req: (url, jsonParams, headers, method, baseUrl) => this.cloudReq(url, jsonParams, headers, method, baseUrl)
          }
      };
      if (this.webrtc) o.webrtc = this.webrtc;
      if (this.waiter) o.waiter = this.waiter;
      this.api = new UnifiAPI(o);
      this._qqq = {
          openWebRtcAsCalled: []
      };
  
      debug('CloudAPI Initialized with options %o', options);
  }