Class CallServiceAsyncImpl
- 
                    
                    
- All Implemented Interfaces:
 - 
                            
                            
com.openai.services.async.realtime.CallServiceAsync 
public final class CallServiceAsyncImpl implements CallServiceAsync
 
- 
                
                    
                    
- 
                                
                            
                                
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCallServiceAsyncImpl.WithRawResponseImpl 
- 
                                
                            
                                
Method Summary
Modifier and Type Method Description CallServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. CallServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<Void>accept(CallAcceptParams params, RequestOptions requestOptions)CompletableFuture<Void>hangup(CallHangupParams params, RequestOptions requestOptions)CompletableFuture<Void>refer(CallReferParams params, RequestOptions requestOptions)CompletableFuture<Void>reject(CallRejectParams params, RequestOptions requestOptions)- 
                                            
                                        
                                            
Methods inherited from class com.openai.services.async.realtime.CallServiceAsync
accept, accept, accept, hangup, hangup, hangup, hangup, hangup, refer, refer, refer, reject, reject, reject, reject, reject - 
                                        
                                    
                                        
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
withRawResponse
CallServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
 
- 
                                        
withOptions
CallServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
 
- 
                                        
accept
CompletableFuture<Void> accept(CallAcceptParams params, RequestOptions requestOptions)
 
- 
                                        
hangup
CompletableFuture<Void> hangup(CallHangupParams params, RequestOptions requestOptions)
 
- 
                                        
refer
CompletableFuture<Void> refer(CallReferParams params, RequestOptions requestOptions)
 
- 
                                        
reject
CompletableFuture<Void> reject(CallRejectParams params, RequestOptions requestOptions)
 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                                            
                                        
                                            
 
 -