Class LocationResult
java.lang.Object
net.ygbstudio.jbrave.core.domain.dto.result.Result
net.ygbstudio.jbrave.core.domain.dto.result.LocationResult
Represents a location result in search results. This class provides structured information about
locations 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
ConstructorsConstructorDescriptionLocationResult(@NotNull LocationResult.Builder builder) Creates a new location result from the given builder. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the action.Returns the categories.Returns the contact information.Returns the coordinates.Returns the distance.Returns the icon category.getId()Returns the location identifier.Returns the opening hours.Returns the pictures.Returns the postal address.Returns the price range.Returns the profiles.Returns the provider URL.Returns the rating.Returns the reviews.Returns the served cuisines.Returns the thumbnail.Returns the timezone.Returns the timezone offset.getType()Returns the location type.Returns the zoom level.inthashCode()toString()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
-
LocationResult
Creates a new location result from the given builder.- Parameters:
builder- the builder carrying the location fields
-
-
Method Details
-
getType
Returns the location type.- Returns:
- the location type
-
getId
Returns the location identifier.- Returns:
- the location id
-
getProviderUrl
Returns the provider URL.- Returns:
- the provider URL
-
getCoordinates
Returns the coordinates.- Returns:
- the coordinates
-
getZoomLevel
Returns the zoom level.- Returns:
- the zoom level
-
getThumbnail
Returns the thumbnail.- Returns:
- the thumbnail
-
getPostalAddress
Returns the postal address.- Returns:
- the postal address
-
getOpeningHours
Returns the opening hours.- Returns:
- the opening hours
-
getContact
Returns the contact information.- Returns:
- the contact
-
getPriceRange
Returns the price range.- Returns:
- the price range
-
getRating
Returns the rating.- Returns:
- the rating
-
getDistance
Returns the distance.- Returns:
- the distance
-
getProfiles
Returns the profiles.- Returns:
- the profiles
-
getReviews
Returns the reviews.- Returns:
- the reviews
-
getPictures
Returns the pictures.- Returns:
- the pictures
-
getAction
Returns the action.- Returns:
- the action
-
getServesCuisine
Returns the served cuisines.- Returns:
- the served cuisines
-
getCategories
Returns the categories.- Returns:
- the categories
-
getIconCategory
Returns the icon category.- Returns:
- the icon category
-
getTimezone
Returns the timezone.- Returns:
- the timezone
-
getTimezoneOffset
Returns the timezone offset.- Returns:
- the timezone offset
-
equals
-
hashCode
public int hashCode() -
toString
-