Record Class QwenChatResponseMetadata.SearchInfo
java.lang.Object
java.lang.Record
dev.langchain4j.community.model.dashscope.QwenChatResponseMetadata.SearchInfo
- Record Components:
searchResults- a list of results from online searches
- Enclosing class:
QwenChatResponseMetadata
public static record QwenChatResponseMetadata.SearchInfo(List<QwenChatResponseMetadata.SearchResult> searchResults)
extends Record
The information searched on the Internet will be returned after the search_options
parameter is set.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionSearchInfo(List<QwenChatResponseMetadata.SearchResult> searchResults) Creates an instance of aSearchInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thesearchResultsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SearchInfo
Creates an instance of aSearchInforecord class.- Parameters:
searchResults- the value for thesearchResultsrecord component
-
-
Method Details
-
builder
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
searchResults
Returns the value of thesearchResultsrecord component.- Returns:
- the value of the
searchResultsrecord component
-