code: public function events()
      {
          if (!$this->events instanceof EventsController) {
              $this->events = new EventsController($this->getClient(), $this->cachePolicy, $this->cache);
              $this->events->setLogger($this->logger);
          }
  
          return $this->events;
      }
docs: Class Events.
  
  @return EventsController