| 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] |
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
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
func (o *NewsSearchRequest) GetQuery() string
GetQuery returns the Query field if non-nil, zero value otherwise.
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.
func (o *NewsSearchRequest) SetQuery(v string)
SetQuery sets Query field to given value.
func (o *NewsSearchRequest) GetLocation() SerpListLocation
GetLocation returns the Location field if non-nil, zero value otherwise.
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.
func (o *NewsSearchRequest) SetLocation(v SerpListLocation)
SetLocation sets Location field to given value.
func (o *NewsSearchRequest) HasLocation() bool
HasLocation returns a boolean if a field has been set.
func (o *NewsSearchRequest) GetLanguage() string
GetLanguage returns the Language field if non-nil, zero value otherwise.
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.
func (o *NewsSearchRequest) SetLanguage(v string)
SetLanguage sets Language field to given value.
func (o *NewsSearchRequest) HasLanguage() bool
HasLanguage returns a boolean if a field has been set.
func (o *NewsSearchRequest) GetLimit() int32
GetLimit returns the Limit field if non-nil, zero value otherwise.
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.
func (o *NewsSearchRequest) SetLimit(v int32)
SetLimit sets Limit field to given value.
func (o *NewsSearchRequest) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (o *NewsSearchRequest) GetView() SerpListView
GetView returns the View field if non-nil, zero value otherwise.
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.
func (o *NewsSearchRequest) SetView(v SerpListView)
SetView sets View field to given value.
func (o *NewsSearchRequest) HasView() bool
HasView returns a boolean if a field has been set.
func (o *NewsSearchRequest) GetOs() SerpListOs
GetOs returns the Os field if non-nil, zero value otherwise.
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.
func (o *NewsSearchRequest) SetOs(v SerpListOs)
SetOs sets Os field to given value.
func (o *NewsSearchRequest) HasOs() bool
HasOs returns a boolean if a field has been set.