code: function RequestApi(constructorOptions) {
  
      LOG.debug('Instantiating new Request object');
      LOG.debug('Validating options');
  
      try {
  
          this.options =
              new requestOptions.Constructor().validate(constructorOptions);
  
      } catch (err) {
  
          LOG.error('Received error: %s', err);
  
          throw(
              err
          );
  
      }
  
      this.requests = [];
      this.batchId = 1;
  
  }
docs: Request-handling API
  
  @param {ResponseConstructorOptions} Options for the
  constructor
  @constructor
  @throws {InvalidOptionError}