java.lang.Object
net.ygbstudio.jbrave.core.domain.dto.result.Result
Direct Known Subclasses:
AbstractGraphInfobox, LocationResult, LocationWebResult, NewsResult, SearchResult, VideoResult

Represents a generic result in search results. This class serves as a base for various types of results in the Brave Search API.
  • Field Details

    • title

      protected final String title
    • url

      protected final String url
    • isSourceLocal

      protected final Boolean isSourceLocal
    • isSourceBoth

      protected final Boolean isSourceBoth
    • description

      protected final String description
    • pageAge

      protected final String pageAge
    • pageFetched

      protected final String pageFetched
    • fetchedContentTimestamp

      protected final Integer fetchedContentTimestamp
    • profile

      protected final Profile profile
    • language

      protected final String language
    • familyFriendly

      protected final Boolean familyFriendly
  • Constructor Details

    • Result

      @Contract(pure=true) public Result(@NotNull @NotNull Result.Builder builder)
  • Method Details

    • title

      public String title()
    • url

      public String url()
    • isSourceLocal

      public Boolean isSourceLocal()
    • isSourceBoth

      public Boolean isSourceBoth()
    • description

      public String description()
    • pageAge

      public String pageAge()
    • pageFetched

      public String pageFetched()
    • fetchedContentTimestamp

      public Integer fetchedContentTimestamp()
    • profile

      public Profile profile()
    • language

      public String language()
    • familyFriendly

      public Boolean familyFriendly()