public final class QAInfobox extends AbstractGraphInfobox
Represents a QA infobox in search results. This class provides structured information about question-and-answer content in the Brave Search API results.
  • Constructor Details

    • QAInfobox

      public QAInfobox(QAInfobox.Builder builder)
      Creates a new QA infobox from the given builder.
      Parameters:
      builder - the builder carrying the infobox fields
  • Method Details

    • getSubType

      public String getSubType()
      Returns the infobox subtype.
      Returns:
      the subtype
    • getData

      public QAPage getData()
      Returns the Q&A page data.
      Returns:
      the Q&A page data
    • getMetaUrl

      public MetaUrl getMetaUrl()
      Returns the meta URL.
      Returns:
      the meta URL
    • 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