Class VideoResult
java.lang.Object
net.ygbstudio.jbrave.core.domain.dto.result.Result
net.ygbstudio.jbrave.core.domain.dto.result.VideoResult
Represents a video result in search results. This class provides structured information about
videos in the Brave Search API results.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class net.ygbstudio.jbrave.core.domain.dto.result.Result
description, familyFriendly, fetchedContentTimestamp, isSourceBoth, isSourceLocal, language, pageAge, pageFetched, profile, title, url -
Constructor Summary
ConstructorsConstructorDescriptionVideoResult(@NotNull VideoResult.Builder builder) Creates a new video result from the given builder. -
Method Summary
Methods inherited from class net.ygbstudio.jbrave.core.domain.dto.result.Result
description, familyFriendly, fetchedContentTimestamp, isSourceBoth, isSourceLocal, language, pageAge, pageFetched, profile, title, url
-
Constructor Details
-
VideoResult
Creates a new video result from the given builder.- Parameters:
builder- the builder carrying the video fields
-
-
Method Details
-
type
Returns the video type.- Returns:
- the video type
-
video
Returns the video data.- Returns:
- the video data
-
metaUrl
Returns the meta URL.- Returns:
- the meta URL
-
thumbnail
Returns the thumbnail.- Returns:
- the thumbnail
-
age
Returns the age of the video.- Returns:
- the age
-
equals
-
hashCode
public int hashCode() -
toString
-