public ServiceCall < AudioResources > listAudio ( ListAudioOptions listAudioOptions ) { Validator . notNull ( listAudioOptions , "listAudioOptions cannot be null" ) ; String [ ] pathSegments = { "v1/acoustic_customizations" , "audio" } ; String [ ] pathParameters = { listAudioOptions . customizationId ( ) } ; RequestBuilder builder = RequestBuilder . get ( RequestBuilder . constructHttpUrl ( getEndPoint ( ) , pathSegments , pathParameters ) ) ; Map < String , String > sdkHeaders = SdkCommon . getSdkHeaders ( "speech_to_text" , "v1" , "listAudio" ) ; for ( Entry < String , String > header : sdkHeaders . entrySet ( ) ) { builder . header ( header . getKey ( ) , header . getValue ( ) ) ; } builder . header ( "Accept" , "application/json" ) ; return createServiceCall ( builder . build ( ) , ResponseConverterUtils . getObject ( AudioResources . class ) ) ; }
List audio resources .