Class DiscussionResult
java.lang.Object
net.ygbstudio.jbrave.core.domain.dto.result.Result
net.ygbstudio.jbrave.core.domain.dto.result.SearchResult
net.ygbstudio.jbrave.core.domain.dto.result.DiscussionResult
Represents a discussion result in search results. This class provides structured information
about discussions in the Brave Search API results.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class net.ygbstudio.jbrave.core.domain.dto.result.SearchResult
age, article, book, cluster, clusterType, contentType, creativeWork, deepResults, extraSnippets, faq, isLive, location, metaUrl, movie, musicRecording, organization, product, productCluster, qa, rating, recipe, review, schemas, software, subtype, thumbnail, type, videoFields inherited from class net.ygbstudio.jbrave.core.domain.dto.result.Result
description, familyFriendly, fetchedContentTimestamp, isSourceBoth, isSourceLocal, language, pageAge, pageFetched, profile, title, url -
Constructor Summary
ConstructorsConstructorDescriptionDiscussionResult(@NotNull DiscussionResult.Builder builder) Creates a new discussion result from the given builder. -
Method Summary
Methods inherited from class net.ygbstudio.jbrave.core.domain.dto.result.SearchResult
age, article, book, cluster, clusterType, contentType, creativeWork, deepResults, extraSnippets, faq, isLive, location, metaUrl, movie, musicRecording, organization, product, productCluster, qa, rating, recipe, review, schemas, software, subtype, thumbnail, type, videoMethods inherited from class net.ygbstudio.jbrave.core.domain.dto.result.Result
description, familyFriendly, fetchedContentTimestamp, isSourceBoth, isSourceLocal, language, pageAge, pageFetched, profile, title, url
-
Constructor Details
-
DiscussionResult
Creates a new discussion result from the given builder.- Parameters:
builder- the builder carrying the discussion fields
-
-
Method Details
-
getData
Returns the forum data.- Returns:
- the forum data
-
equals
- Overrides:
equalsin classSearchResult
-
hashCode
public int hashCode()- Overrides:
hashCodein classSearchResult
-
toString
- Overrides:
toStringin classSearchResult
-