public Observable<ServiceResponse<Page<EventInner>>> listEventsWithServiceResponseAsync(final String resourceGroupName, final String registryName, final String webhookName) {
        return listEventsSinglePageAsync(resourceGroupName, registryName, webhookName)
            .concatMap(new Func1<ServiceResponse<Page<EventInner>>, Observable<ServiceResponse<Page<EventInner>>>>() {
                @Override
                public Observable<ServiceResponse<Page<EventInner>>> call(ServiceResponse<Page<EventInner>> page) {
                    String nextPageLink = page.body().nextPageLink();
                    if (nextPageLink == null) {
                        return Observable.just(page);
                    }
                    return Observable.just(page).concatWith(listEventsNextWithServiceResponseAsync(nextPageLink));
                }
            });
    }
public Observable < ServiceResponse < Page < EventInner > > > listEventsWithServiceResponseAsync ( final String resourceGroupName , final String registryName , final String webhookName ) { return listEventsSinglePageAsync ( resourceGroupName , registryName , webhookName ) . concatMap ( new Func1 < ServiceResponse < Page < EventInner > > , Observable < ServiceResponse < Page < EventInner > > > > ( ) { @ Override public Observable < ServiceResponse < Page < EventInner > > > call ( ServiceResponse < Page < EventInner > > page ) { String nextPageLink = page . body ( ) . nextPageLink ( ) ; if ( nextPageLink == null ) { return Observable . just ( page ) ; } return Observable . just ( page ) . concatWith ( listEventsNextWithServiceResponseAsync ( nextPageLink ) ) ; } } ) ; }
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.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable to the PagedList&lt;EventInner&gt; object