Package com.openai.models.responses
        Class ResponseFunctionWebSearch.Action.Search
- 
                    
                    - All Implemented Interfaces:
 
 public final class ResponseFunctionWebSearch.Action.SearchAction type "search" - Performs a web search query. 
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classResponseFunctionWebSearch.Action.Search.BuilderA builder for Search. public final classResponseFunctionWebSearch.Action.Search.SourceA source used in the search. 
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final Stringquery()The search query. final JsonValue_type()The action type. final Optional<List<ResponseFunctionWebSearch.Action.Search.Source>>sources()The sources used in the search. final JsonField<String>_query()Returns the raw JSON value of query. final JsonField<List<ResponseFunctionWebSearch.Action.Search.Source>>_sources()Returns the raw JSON value of sources. final Map<String, JsonValue>_additionalProperties()final ResponseFunctionWebSearch.Action.Search.BuildertoBuilder()final ResponseFunctionWebSearch.Action.Searchvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseFunctionWebSearch.Action.Search.Builderbuilder()Returns a mutable builder for constructing an instance of Search. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        _typefinal JsonValue _type() The action type. Expected to always return the following: JsonValue.from("search")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value). 
 - 
                                        sourcesfinal Optional<List<ResponseFunctionWebSearch.Action.Search.Source>> sources() The sources used in the search. 
 - 
                                        _queryfinal JsonField<String> _query() Returns the raw JSON value of query. Unlike query, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _sourcesfinal JsonField<List<ResponseFunctionWebSearch.Action.Search.Source>> _sources() Returns the raw JSON value of sources. Unlike sources, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _additionalPropertiesfinal Map<String, JsonValue> _additionalProperties() 
 - 
                                        toBuilderfinal ResponseFunctionWebSearch.Action.Search.Builder toBuilder() 
 - 
                                        validatefinal ResponseFunctionWebSearch.Action.Search validate() 
 - 
                                        builderfinal static ResponseFunctionWebSearch.Action.Search.Builder builder() Returns a mutable builder for constructing an instance of Search. The following fields are required: .query()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-