Interface SpeechService.WithRawResponse
- 
                    
                    
- All Implemented Interfaces:
 
public interface SpeechService.WithRawResponseA view of SpeechService that provides access to raw HTTP responses for each method.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
Modifier and Type Method Description abstract SpeechService.WithRawResponsewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. HttpResponsecreate(SpeechCreateParams params)Returns a raw HTTP response for post /audio/speech, but is otherwise the same as SpeechService.create.abstract HttpResponsecreate(SpeechCreateParams params, RequestOptions requestOptions)- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
withOptions
abstract SpeechService.WithRawResponse withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
 
- 
                                        
create
@MustBeClosed() HttpResponse create(SpeechCreateParams params)
Returns a raw HTTP response for
post /audio/speech, but is otherwise the same as SpeechService.create. 
- 
                                        
create
@MustBeClosed() abstract HttpResponse create(SpeechCreateParams params, RequestOptions requestOptions)
 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -