code: public ServiceFuture<List<EventInner>> listEventsAsync(final String resourceGroupName, final String registryName, final String webhookName, final ListOperationCallback<EventInner> serviceCallback) {
          return AzureServiceFuture.fromPageResponse(
              listEventsSinglePageAsync(resourceGroupName, registryName, webhookName),
              new Func1<String, Observable<ServiceResponse<Page<EventInner>>>>() {
                  @Override
                  public Observable<ServiceResponse<Page<EventInner>>> call(String nextPageLink) {
                      return listEventsNextSinglePageAsync(nextPageLink);
                  }
              },
              serviceCallback);
      }
docs: Lists recent events for the specified webhook.
  
  @param resourceGroupName The name of the resource group to which the container registry belongs.
  @param registryName The name of the container registry.
  @param webhookName The name of the webhook.
  @param serviceCallback the async ServiceCallback to handle successful and failed responses.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the {@link ServiceFuture} object