struct

BraveSearch::Params::WebSearch

Inherits BraveSearch::Params::Base < JSON::Serializable < Struct < Value < Object

Constructors

new(q : String, country : String | Nil = nil, search_lang : String | Nil = nil, ui_lang : String | Nil = nil, count : Int32 | Nil = nil, offset : Int32 | Nil = nil, safesearch : Types::SafeSearch | Nil = nil, freshness : Types::Freshness | Types::FreshnessRange | String | Nil = nil, text_decorations : Bool | Nil = nil, spellcheck : Bool | Nil = nil, goggles_id : String | Nil = nil, units : Types::Units | Nil = nil, extra_snippets : Bool | Nil = nil, summary : Bool | Nil = nil, enable_rich_callback : Int32 | Nil = nil, result_filter : String | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

count
Source
country

Optional

Source
enable_rich_callback
Source
extra_snippets
Source
freshness
Source
goggles_id
Source
offset
Source
q

Required

Source
result_filter
Source
safesearch
Source
search_lang
Source
spellcheck
Source
summary
Source
text_decorations
Source
to_query_params

ameba:disable Metrics/CyclomaticComplexity

Source
ui_lang
Source
units
Source
validate!
Source