Interface MessageServiceAsync
- 
                    
                    
- All Implemented Interfaces:
 
public interface MessageServiceAsync 
- 
                
                    
                    
- 
                                
                            
                                
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceMessageServiceAsync.WithRawResponseA view of MessageServiceAsync that provides access to raw HTTP responses for each method.
 
- 
                                
                            
                                
Method Summary
Modifier and Type Method Description abstract MessageServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract MessageServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<MessageListPageAsync>list(String completionId)Get the messages in a stored chat completion. CompletableFuture<MessageListPageAsync>list(String completionId, MessageListParams params, RequestOptions requestOptions)CompletableFuture<MessageListPageAsync>list(String completionId, MessageListParams params)abstract CompletableFuture<MessageListPageAsync>list(MessageListParams params, RequestOptions requestOptions)CompletableFuture<MessageListPageAsync>list(MessageListParams params)CompletableFuture<MessageListPageAsync>list(String completionId, RequestOptions requestOptions)- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
withRawResponse
abstract MessageServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
 
- 
                                        
withOptions
abstract MessageServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
 
- 
                                        
list
CompletableFuture<MessageListPageAsync> list(String completionId)
Get the messages in a stored chat completion. Only Chat Completions that have been created with the
storeparameter set totruewill be returned. 
- 
                                        
list
CompletableFuture<MessageListPageAsync> list(String completionId, MessageListParams params, RequestOptions requestOptions)
 
- 
                                        
list
CompletableFuture<MessageListPageAsync> list(String completionId, MessageListParams params)
 
- 
                                        
list
abstract CompletableFuture<MessageListPageAsync> list(MessageListParams params, RequestOptions requestOptions)
 
- 
                                        
list
CompletableFuture<MessageListPageAsync> list(MessageListParams params)
 
- 
                                        
list
CompletableFuture<MessageListPageAsync> list(String completionId, RequestOptions requestOptions)
 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -