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));
  }
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.

Lists information about all audio resources from a custom acoustic model. The information includes the name of the
resource and information about its audio data, such as its duration. It also includes the status of the audio
resource, which is important for checking the service's analysis of the resource in response to a request to add it
to the custom acoustic model. You must use credentials for the instance of the service that owns a model to list
its audio resources.

**See also:** [Listing audio resources for a custom acoustic
model](https://cloud.ibm.com/docs/services/speech-to-text/acoustic-audio.html#listAudio).

@param listAudioOptions the {@link ListAudioOptions} containing the options for the call
@return a {@link ServiceCall} with a response type of {@link AudioResources}