3.2 KiB
WebsearchWebEngine
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Name | Pointer to string | Name is the engine, matching the `engine` stamped on each result. | [optional] |
| Outcome | Pointer to string | Outcome is "answered", "blind" or "failed" — see outcome.go. "blind" means the page came back and no results could be read out of it. | [optional] |
| Results | Pointer to int64 | Results is how many hits this engine contributed, before the merge deduplicated them against the others. | [optional] |
Methods
NewWebsearchWebEngine
func NewWebsearchWebEngine() *WebsearchWebEngine
NewWebsearchWebEngine instantiates a new WebsearchWebEngine object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
NewWebsearchWebEngineWithDefaults
func NewWebsearchWebEngineWithDefaults() *WebsearchWebEngine
NewWebsearchWebEngineWithDefaults instantiates a new WebsearchWebEngine object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
GetName
func (o *WebsearchWebEngine) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
GetNameOk
func (o *WebsearchWebEngine) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetName
func (o *WebsearchWebEngine) SetName(v string)
SetName sets Name field to given value.
HasName
func (o *WebsearchWebEngine) HasName() bool
HasName returns a boolean if a field has been set.
GetOutcome
func (o *WebsearchWebEngine) GetOutcome() string
GetOutcome returns the Outcome field if non-nil, zero value otherwise.
GetOutcomeOk
func (o *WebsearchWebEngine) GetOutcomeOk() (*string, bool)
GetOutcomeOk returns a tuple with the Outcome field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetOutcome
func (o *WebsearchWebEngine) SetOutcome(v string)
SetOutcome sets Outcome field to given value.
HasOutcome
func (o *WebsearchWebEngine) HasOutcome() bool
HasOutcome returns a boolean if a field has been set.
GetResults
func (o *WebsearchWebEngine) GetResults() int64
GetResults returns the Results field if non-nil, zero value otherwise.
GetResultsOk
func (o *WebsearchWebEngine) GetResultsOk() (*int64, bool)
GetResultsOk returns a tuple with the Results field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetResults
func (o *WebsearchWebEngine) SetResults(v int64)
SetResults sets Results field to given value.
HasResults
func (o *WebsearchWebEngine) HasResults() bool
HasResults returns a boolean if a field has been set.