getEvents() {
      if (!this.metadata.events) {
        this.metadata.events = {};
      }
      return this.metadata.events;
    }
Returns an object with key-value pairs of events and their metadata definitions
@public