Package com.openai.models.vectorstores
        Class VectorStoreSearchResponse.Content.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class VectorStoreSearchResponse.Content.BuilderA builder for Content.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
text
final VectorStoreSearchResponse.Content.Builder text(String text)
The text content returned from search.
 
- 
                                        
text
final VectorStoreSearchResponse.Content.Builder text(JsonField<String> text)
Sets Builder.text to an arbitrary JSON value.
You should usually call Builder.text with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
type
final VectorStoreSearchResponse.Content.Builder type(VectorStoreSearchResponse.Content.Type type)
The type of content.
 
- 
                                        
type
final VectorStoreSearchResponse.Content.Builder type(JsonField<VectorStoreSearchResponse.Content.Type> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed Type value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
additionalProperties
final VectorStoreSearchResponse.Content.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final VectorStoreSearchResponse.Content.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final VectorStoreSearchResponse.Content.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final VectorStoreSearchResponse.Content.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final VectorStoreSearchResponse.Content.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final VectorStoreSearchResponse.Content build()
Returns an immutable instance of Content.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.text() .type() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -