Interface MessageService
- 
                    
                    
- All Implemented Interfaces:
 
public interface MessageService 
- 
                
                    
                    
- 
                                
                            
                                
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceMessageService.WithRawResponseA view of MessageService that provides access to raw HTTP responses for each method.
 
- 
                                
                            
                                
Method Summary
Modifier and Type Method Description abstract MessageService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract MessageServicewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. MessageListPagelist(String completionId)Get the messages in a stored chat completion. MessageListPagelist(String completionId, MessageListParams params, RequestOptions requestOptions)MessageListPagelist(String completionId, MessageListParams params)abstract MessageListPagelist(MessageListParams params, RequestOptions requestOptions)MessageListPagelist(MessageListParams params)MessageListPagelist(String completionId, RequestOptions requestOptions)- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
withRawResponse
abstract MessageService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
 
- 
                                        
withOptions
abstract MessageService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
 
- 
                                        
list
MessageListPage 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
MessageListPage list(String completionId, MessageListParams params, RequestOptions requestOptions)
 
- 
                                        
list
MessageListPage list(String completionId, MessageListParams params)
 
- 
                                        
list
abstract MessageListPage list(MessageListParams params, RequestOptions requestOptions)
 
- 
                                        
list
MessageListPage list(MessageListParams params)
 
- 
                                        
list
MessageListPage list(String completionId, RequestOptions requestOptions)
 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -