Class LocationResult

java.lang.Object
net.ygbstudio.jbrave.core.domain.dto.result.Result
net.ygbstudio.jbrave.core.domain.dto.result.LocationResult

public final class LocationResult extends Result
Represents a location result in search results. This class provides structured information about locations in the Brave Search API results.
  • Constructor Details

    • LocationResult

      public LocationResult(@NotNull @NotNull LocationResult.Builder builder)
      Creates a new location result from the given builder.
      Parameters:
      builder - the builder carrying the location fields
  • Method Details

    • getType

      public String getType()
      Returns the location type.
      Returns:
      the location type
    • getId

      public String getId()
      Returns the location identifier.
      Returns:
      the location id
    • getProviderUrl

      public String getProviderUrl()
      Returns the provider URL.
      Returns:
      the provider URL
    • getCoordinates

      public List<Double> getCoordinates()
      Returns the coordinates.
      Returns:
      the coordinates
    • getZoomLevel

      public Integer getZoomLevel()
      Returns the zoom level.
      Returns:
      the zoom level
    • getThumbnail

      public Thumbnail getThumbnail()
      Returns the thumbnail.
      Returns:
      the thumbnail
    • getPostalAddress

      public PostalAddress getPostalAddress()
      Returns the postal address.
      Returns:
      the postal address
    • getOpeningHours

      public OpeningHours getOpeningHours()
      Returns the opening hours.
      Returns:
      the opening hours
    • getContact

      public Contact getContact()
      Returns the contact information.
      Returns:
      the contact
    • getPriceRange

      public String getPriceRange()
      Returns the price range.
      Returns:
      the price range
    • getRating

      public Rating getRating()
      Returns the rating.
      Returns:
      the rating
    • getDistance

      public Unit getDistance()
      Returns the distance.
      Returns:
      the distance
    • getProfiles

      public List<DataProvider> getProfiles()
      Returns the profiles.
      Returns:
      the profiles
    • getReviews

      public Reviews getReviews()
      Returns the reviews.
      Returns:
      the reviews
    • getPictures

      public PictureResults getPictures()
      Returns the pictures.
      Returns:
      the pictures
    • getAction

      public Action getAction()
      Returns the action.
      Returns:
      the action
    • getServesCuisine

      public List<String> getServesCuisine()
      Returns the served cuisines.
      Returns:
      the served cuisines
    • getCategories

      public List<String> getCategories()
      Returns the categories.
      Returns:
      the categories
    • getIconCategory

      public String getIconCategory()
      Returns the icon category.
      Returns:
      the icon category
    • getTimezone

      public String getTimezone()
      Returns the timezone.
      Returns:
      the timezone
    • getTimezoneOffset

      public String getTimezoneOffset()
      Returns the timezone offset.
      Returns:
      the timezone offset
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object