Class ResponseFunctionWebSearch.Action.Search.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class ResponseFunctionWebSearch.Action.Search.BuilderA builder for Search.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
query
final ResponseFunctionWebSearch.Action.Search.Builder query(String query)
The search query.
 
- 
                                        
query
final ResponseFunctionWebSearch.Action.Search.Builder query(JsonField<String> query)
Sets Builder.query to an arbitrary JSON value.
You should usually call Builder.query 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 ResponseFunctionWebSearch.Action.Search.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("search")This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
sources
final ResponseFunctionWebSearch.Action.Search.Builder sources(List<ResponseFunctionWebSearch.Action.Search.Source> sources)
The sources used in the search.
 
- 
                                        
sources
final ResponseFunctionWebSearch.Action.Search.Builder sources(JsonField<List<ResponseFunctionWebSearch.Action.Search.Source>> sources)
Sets Builder.sources to an arbitrary JSON value.
You should usually call Builder.sources with a well-typed
List<Source>value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
- 
                                        
addSource
final ResponseFunctionWebSearch.Action.Search.Builder addSource(ResponseFunctionWebSearch.Action.Search.Source source)
 
- 
                                        
additionalProperties
final ResponseFunctionWebSearch.Action.Search.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final ResponseFunctionWebSearch.Action.Search.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final ResponseFunctionWebSearch.Action.Search.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final ResponseFunctionWebSearch.Action.Search.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final ResponseFunctionWebSearch.Action.Search.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final ResponseFunctionWebSearch.Action.Search build()
Returns an immutable instance of Search.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.query() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -