Interface AssistantServiceAsync.WithRawResponse
- 
                    
                    
- All Implemented Interfaces:
 
public interface AssistantServiceAsync.WithRawResponseA view of AssistantServiceAsync that provides access to raw HTTP responses for each method.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
withOptions
abstract AssistantServiceAsync.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
CompletableFuture<HttpResponseFor<Assistant>> create(AssistantCreateParams params)
Returns a raw HTTP response for
post /assistants, but is otherwise the same as AssistantServiceAsync.create. 
- 
                                        
create
abstract CompletableFuture<HttpResponseFor<Assistant>> create(AssistantCreateParams params, RequestOptions requestOptions)
 
- 
                                        
retrieve
CompletableFuture<HttpResponseFor<Assistant>> retrieve(String assistantId)
Returns a raw HTTP response for
get /assistants/{assistant_id}, but is otherwise the same as AssistantServiceAsync.retrieve. 
- 
                                        
retrieve
CompletableFuture<HttpResponseFor<Assistant>> retrieve(String assistantId, AssistantRetrieveParams params, RequestOptions requestOptions)
 
- 
                                        
retrieve
CompletableFuture<HttpResponseFor<Assistant>> retrieve(String assistantId, AssistantRetrieveParams params)
 
- 
                                        
retrieve
abstract CompletableFuture<HttpResponseFor<Assistant>> retrieve(AssistantRetrieveParams params, RequestOptions requestOptions)
 
- 
                                        
retrieve
CompletableFuture<HttpResponseFor<Assistant>> retrieve(AssistantRetrieveParams params)
 
- 
                                        
retrieve
CompletableFuture<HttpResponseFor<Assistant>> retrieve(String assistantId, RequestOptions requestOptions)
 
- 
                                        
update
CompletableFuture<HttpResponseFor<Assistant>> update(String assistantId)
Returns a raw HTTP response for
post /assistants/{assistant_id}, but is otherwise the same as AssistantServiceAsync.update. 
- 
                                        
update
CompletableFuture<HttpResponseFor<Assistant>> update(String assistantId, AssistantUpdateParams params, RequestOptions requestOptions)
 
- 
                                        
update
CompletableFuture<HttpResponseFor<Assistant>> update(String assistantId, AssistantUpdateParams params)
 
- 
                                        
update
abstract CompletableFuture<HttpResponseFor<Assistant>> update(AssistantUpdateParams params, RequestOptions requestOptions)
 
- 
                                        
update
CompletableFuture<HttpResponseFor<Assistant>> update(AssistantUpdateParams params)
 
- 
                                        
update
CompletableFuture<HttpResponseFor<Assistant>> update(String assistantId, RequestOptions requestOptions)
 
- 
                                        
list
CompletableFuture<HttpResponseFor<AssistantListPageAsync>> list()
Returns a raw HTTP response for
get /assistants, but is otherwise the same as AssistantServiceAsync.list. 
- 
                                        
list
abstract CompletableFuture<HttpResponseFor<AssistantListPageAsync>> list(AssistantListParams params, RequestOptions requestOptions)
 
- 
                                        
list
CompletableFuture<HttpResponseFor<AssistantListPageAsync>> list(RequestOptions requestOptions)
 
- 
                                        
delete
CompletableFuture<HttpResponseFor<AssistantDeleted>> delete(String assistantId)
Returns a raw HTTP response for
delete /assistants/{assistant_id}, but is otherwise the same as AssistantServiceAsync.delete. 
- 
                                        
delete
CompletableFuture<HttpResponseFor<AssistantDeleted>> delete(String assistantId, AssistantDeleteParams params, RequestOptions requestOptions)
 
- 
                                        
delete
CompletableFuture<HttpResponseFor<AssistantDeleted>> delete(String assistantId, AssistantDeleteParams params)
 
- 
                                        
delete
abstract CompletableFuture<HttpResponseFor<AssistantDeleted>> delete(AssistantDeleteParams params, RequestOptions requestOptions)
 
- 
                                        
delete
CompletableFuture<HttpResponseFor<AssistantDeleted>> delete(AssistantDeleteParams params)
 
- 
                                        
delete
CompletableFuture<HttpResponseFor<AssistantDeleted>> delete(String assistantId, RequestOptions requestOptions)
 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -