public Observable<List<EventTypeInner>> listEventTypesAsync(String resourceGroupName, String providerNamespace, String resourceTypeName, String resourceName) {
        return listEventTypesWithServiceResponseAsync(resourceGroupName, providerNamespace, resourceTypeName, resourceName).map(new Func1<ServiceResponse<List<EventTypeInner>>, List<EventTypeInner>>() {
            @Override
            public List<EventTypeInner> call(ServiceResponse<List<EventTypeInner>> response) {
                return response.body();
            }
        });
    }
public Observable < List < EventTypeInner > > listEventTypesAsync ( String resourceGroupName , String providerNamespace , String resourceTypeName , String resourceName ) { return listEventTypesWithServiceResponseAsync ( resourceGroupName , providerNamespace , resourceTypeName , resourceName ) . map ( new Func1 < ServiceResponse < List < EventTypeInner > > , List < EventTypeInner > > ( ) { @ Override public List < EventTypeInner > call ( ServiceResponse < List < EventTypeInner > > response ) { return response . body ( ) ; } } ) ; }
List topic event types.
List event types for a topic.

@param resourceGroupName The name of the resource group within the user's subscription.
@param providerNamespace Namespace of the provider of the topic
@param resourceTypeName Name of the topic type
@param resourceName Name of the topic
@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable to the List&lt;EventTypeInner&gt; object