listEventHooks() {
    let url = `${this.baseUrl}/api/v1/eventHooks`;

    return new Collection(
      this,
      url,
      new ModelFactory(models.EventHook),
    );
  }
/**
   *
   * @description
   * Success
   * @returns {Collection} A collection that will yield {@link EventHook} instances.
   */
@description
Success
@returns {Collection} A collection that will yield  EventHook instances.
@description Success @returns { Collection } A collection that will yield EventHook instances .
listEventHooks() {
    let url = `${this.baseUrl}/api/v1/eventHooks`;
    return new Collection(
      this,
      url,
      new ModelFactory(models.EventHook),
    );
  }
listEventHooks ( ) { let url = ` ${ this . baseUrl } ` ; return new Collection ( this , url , new ModelFactory ( models . EventHook ) , ) ; }
@description
 Success
 @returns {Collection} A collection that will yield {@link EventHook} instances.
@description Success @returns { Collection } A collection that will yield { @link EventHook } instances .