public Observable<Page<AssetInner>> listAsync(final String resourceGroupName, final String accountName) {
        return listWithServiceResponseAsync(resourceGroupName, accountName)
            .map(new Func1<ServiceResponse<Page<AssetInner>>, Page<AssetInner>>() {
                @Override
                public Page<AssetInner> call(ServiceResponse<Page<AssetInner>> response) {
                    return response.body();
                }
            });
    }
public Observable < Page < AssetInner > > listAsync ( final String resourceGroupName , final String accountName ) { return listWithServiceResponseAsync ( resourceGroupName , accountName ) . map ( new Func1 < ServiceResponse < Page < AssetInner > > , Page < AssetInner > > ( ) { @ Override public Page < AssetInner > call ( ServiceResponse < Page < AssetInner > > response ) { return response . body ( ) ; } } ) ; }
List Assets.
List Assets in the Media Services account with optional filtering and ordering.

@param resourceGroupName The name of the resource group within the Azure subscription.
@param accountName The Media Services account name.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable to the PagedList&lt;AssetInner&gt; object