Class MessageServiceImpl
- 
                    
                    
- All Implemented Interfaces:
 - 
                            
                            
com.openai.services.blocking.beta.threads.MessageService 
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API") public final class MessageServiceImpl implements MessageService
 
- 
                
                    
                    
- 
                                
                            
                                
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMessageServiceImpl.WithRawResponseImpl 
- 
                                
                            
                                
Method Summary
Modifier and Type Method Description MessageService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. MessageServicewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. Messagecreate(MessageCreateParams params, RequestOptions requestOptions)Messageretrieve(MessageRetrieveParams params, RequestOptions requestOptions)Messageupdate(MessageUpdateParams params, RequestOptions requestOptions)MessageListPagelist(MessageListParams params, RequestOptions requestOptions)MessageDeleteddelete(MessageDeleteParams params, RequestOptions requestOptions)- 
                                            
                                        
                                            
Methods inherited from class com.openai.services.blocking.beta.threads.MessageService
create, create, create, delete, delete, delete, list, list, list, list, list, retrieve, retrieve, retrieve, update, update, update - 
                                        
                                    
                                        
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
withRawResponse
MessageService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
 
- 
                                        
withOptions
MessageService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
 
- 
                                        
create
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API") Message create(MessageCreateParams params, RequestOptions requestOptions)
 
- 
                                        
retrieve
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API") Message retrieve(MessageRetrieveParams params, RequestOptions requestOptions)
 
- 
                                        
update
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API") Message update(MessageUpdateParams params, RequestOptions requestOptions)
 
- 
                                        
list
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API") MessageListPage list(MessageListParams params, RequestOptions requestOptions)
 
- 
                                        
delete
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API") MessageDeleted delete(MessageDeleteParams params, RequestOptions requestOptions)
 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                                            
                                        
                                            
 
 -