code: public Observable<ServiceResponse<Page<EventInner>>> listEventsSinglePageAsync(final String resourceGroupName, final String registryName, final String webhookName) {
          if (this.client.subscriptionId() == null) {
              throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
          }
          if (resourceGroupName == null) {
              throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.");
          }
          if (registryName == null) {
              throw new IllegalArgumentException("Parameter registryName is required and cannot be null.");
          }
          if (webhookName == null) {
              throw new IllegalArgumentException("Parameter webhookName is required and cannot be null.");
          }
          if (this.client.apiVersion() == null) {
              throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null.");
          }
          return service.listEvents(this.client.subscriptionId(), resourceGroupName, registryName, webhookName, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent())
              .flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<Page<EventInner>>>>() {
                  @Override
                  public Observable<ServiceResponse<Page<EventInner>>> call(Response<ResponseBody> response) {
                      try {
                          ServiceResponse<PageImpl<EventInner>> result = listEventsDelegate(response);
                          return Observable.just(new ServiceResponse<Page<EventInner>>(result.body(), result.response()));
                      } catch (Throwable t) {
                          return Observable.error(t);
                      }
                  }
              });
      }
docs: Lists recent events for the specified webhook.
  
  ServiceResponse<PageImpl<EventInner>> * @param resourceGroupName The name of the resource group to which the container registry belongs.
  ServiceResponse<PageImpl<EventInner>> * @param registryName The name of the container registry.
  ServiceResponse<PageImpl<EventInner>> * @param webhookName The name of the webhook.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the PagedList&lt;EventInner&gt; object wrapped in {@link ServiceResponse} if successful.