Skip to content

Latest commit

 

History

History
181 lines (98 loc) · 4.83 KB

File metadata and controls

181 lines (98 loc) · 4.83 KB

NewsSearchRequest

Properties

Name Type Description Notes
Query string Search query to inspect.
Location Pointer to SerpListLocation [optional]
Language Pointer to string Search language as an ISO code or full language name. Defaults to en. [optional]
Limit Pointer to int32 Number of results to return, matching the limit parameter used across other UnifAPI endpoints. Maps to result depth. [optional]
View Pointer to SerpListView [optional]
Os Pointer to SerpListOs [optional]

Methods

NewNewsSearchRequest

func NewNewsSearchRequest(query string, ) *NewsSearchRequest

NewNewsSearchRequest instantiates a new NewsSearchRequest 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

NewNewsSearchRequestWithDefaults

func NewNewsSearchRequestWithDefaults() *NewsSearchRequest

NewNewsSearchRequestWithDefaults instantiates a new NewsSearchRequest 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

GetQuery

func (o *NewsSearchRequest) GetQuery() string

GetQuery returns the Query field if non-nil, zero value otherwise.

GetQueryOk

func (o *NewsSearchRequest) GetQueryOk() (*string, bool)

GetQueryOk returns a tuple with the Query field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetQuery

func (o *NewsSearchRequest) SetQuery(v string)

SetQuery sets Query field to given value.

GetLocation

func (o *NewsSearchRequest) GetLocation() SerpListLocation

GetLocation returns the Location field if non-nil, zero value otherwise.

GetLocationOk

func (o *NewsSearchRequest) GetLocationOk() (*SerpListLocation, bool)

GetLocationOk returns a tuple with the Location field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLocation

func (o *NewsSearchRequest) SetLocation(v SerpListLocation)

SetLocation sets Location field to given value.

HasLocation

func (o *NewsSearchRequest) HasLocation() bool

HasLocation returns a boolean if a field has been set.

GetLanguage

func (o *NewsSearchRequest) GetLanguage() string

GetLanguage returns the Language field if non-nil, zero value otherwise.

GetLanguageOk

func (o *NewsSearchRequest) GetLanguageOk() (*string, bool)

GetLanguageOk returns a tuple with the Language field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLanguage

func (o *NewsSearchRequest) SetLanguage(v string)

SetLanguage sets Language field to given value.

HasLanguage

func (o *NewsSearchRequest) HasLanguage() bool

HasLanguage returns a boolean if a field has been set.

GetLimit

func (o *NewsSearchRequest) GetLimit() int32

GetLimit returns the Limit field if non-nil, zero value otherwise.

GetLimitOk

func (o *NewsSearchRequest) GetLimitOk() (*int32, bool)

GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLimit

func (o *NewsSearchRequest) SetLimit(v int32)

SetLimit sets Limit field to given value.

HasLimit

func (o *NewsSearchRequest) HasLimit() bool

HasLimit returns a boolean if a field has been set.

GetView

func (o *NewsSearchRequest) GetView() SerpListView

GetView returns the View field if non-nil, zero value otherwise.

GetViewOk

func (o *NewsSearchRequest) GetViewOk() (*SerpListView, bool)

GetViewOk returns a tuple with the View field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetView

func (o *NewsSearchRequest) SetView(v SerpListView)

SetView sets View field to given value.

HasView

func (o *NewsSearchRequest) HasView() bool

HasView returns a boolean if a field has been set.

GetOs

func (o *NewsSearchRequest) GetOs() SerpListOs

GetOs returns the Os field if non-nil, zero value otherwise.

GetOsOk

func (o *NewsSearchRequest) GetOsOk() (*SerpListOs, bool)

GetOsOk returns a tuple with the Os field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetOs

func (o *NewsSearchRequest) SetOs(v SerpListOs)

SetOs sets Os field to given value.

HasOs

func (o *NewsSearchRequest) HasOs() bool

HasOs returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]