Skip to content

Latest commit

 

History

History
328 lines (175 loc) · 8.86 KB

File metadata and controls

328 lines (175 loc) · 8.86 KB

GeoSerpResponse

Properties

Name Type Description Notes
Query string
Location string
Language string
Device string
Surface string
View GeoSerpView
ObservedAt Pointer to string [optional]
SearchUrl Pointer to string [optional]
TotalResults Pointer to int32 [optional]
SerpFeatures []string
Results []GeoSerpResult AI SERP elements returned in source order. Top-level AI overview records are billable; cited references, links, images, and answer sections are returned as context inside each result.
Target Pointer to GeoSerpTarget [optional]
Competitors Pointer to []GeoSerpCompetitor Domains cited or linked by AI Mode, excluding the optional target domain. Omitted when results are truncated by balance. [optional]

Methods

NewGeoSerpResponse

func NewGeoSerpResponse(query string, location string, language string, device string, surface string, view GeoSerpView, serpFeatures []string, results []GeoSerpResult, ) *GeoSerpResponse

NewGeoSerpResponse instantiates a new GeoSerpResponse 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

NewGeoSerpResponseWithDefaults

func NewGeoSerpResponseWithDefaults() *GeoSerpResponse

NewGeoSerpResponseWithDefaults instantiates a new GeoSerpResponse 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 *GeoSerpResponse) GetQuery() string

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

GetQueryOk

func (o *GeoSerpResponse) 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 *GeoSerpResponse) SetQuery(v string)

SetQuery sets Query field to given value.

GetLocation

func (o *GeoSerpResponse) GetLocation() string

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

GetLocationOk

func (o *GeoSerpResponse) GetLocationOk() (*string, 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 *GeoSerpResponse) SetLocation(v string)

SetLocation sets Location field to given value.

GetLanguage

func (o *GeoSerpResponse) GetLanguage() string

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

GetLanguageOk

func (o *GeoSerpResponse) 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 *GeoSerpResponse) SetLanguage(v string)

SetLanguage sets Language field to given value.

GetDevice

func (o *GeoSerpResponse) GetDevice() string

GetDevice returns the Device field if non-nil, zero value otherwise.

GetDeviceOk

func (o *GeoSerpResponse) GetDeviceOk() (*string, bool)

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

SetDevice

func (o *GeoSerpResponse) SetDevice(v string)

SetDevice sets Device field to given value.

GetSurface

func (o *GeoSerpResponse) GetSurface() string

GetSurface returns the Surface field if non-nil, zero value otherwise.

GetSurfaceOk

func (o *GeoSerpResponse) GetSurfaceOk() (*string, bool)

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

SetSurface

func (o *GeoSerpResponse) SetSurface(v string)

SetSurface sets Surface field to given value.

GetView

func (o *GeoSerpResponse) GetView() GeoSerpView

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

GetViewOk

func (o *GeoSerpResponse) GetViewOk() (*GeoSerpView, 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 *GeoSerpResponse) SetView(v GeoSerpView)

SetView sets View field to given value.

GetObservedAt

func (o *GeoSerpResponse) GetObservedAt() string

GetObservedAt returns the ObservedAt field if non-nil, zero value otherwise.

GetObservedAtOk

func (o *GeoSerpResponse) GetObservedAtOk() (*string, bool)

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

SetObservedAt

func (o *GeoSerpResponse) SetObservedAt(v string)

SetObservedAt sets ObservedAt field to given value.

HasObservedAt

func (o *GeoSerpResponse) HasObservedAt() bool

HasObservedAt returns a boolean if a field has been set.

GetSearchUrl

func (o *GeoSerpResponse) GetSearchUrl() string

GetSearchUrl returns the SearchUrl field if non-nil, zero value otherwise.

GetSearchUrlOk

func (o *GeoSerpResponse) GetSearchUrlOk() (*string, bool)

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

SetSearchUrl

func (o *GeoSerpResponse) SetSearchUrl(v string)

SetSearchUrl sets SearchUrl field to given value.

HasSearchUrl

func (o *GeoSerpResponse) HasSearchUrl() bool

HasSearchUrl returns a boolean if a field has been set.

GetTotalResults

func (o *GeoSerpResponse) GetTotalResults() int32

GetTotalResults returns the TotalResults field if non-nil, zero value otherwise.

GetTotalResultsOk

func (o *GeoSerpResponse) GetTotalResultsOk() (*int32, bool)

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

SetTotalResults

func (o *GeoSerpResponse) SetTotalResults(v int32)

SetTotalResults sets TotalResults field to given value.

HasTotalResults

func (o *GeoSerpResponse) HasTotalResults() bool

HasTotalResults returns a boolean if a field has been set.

GetSerpFeatures

func (o *GeoSerpResponse) GetSerpFeatures() []string

GetSerpFeatures returns the SerpFeatures field if non-nil, zero value otherwise.

GetSerpFeaturesOk

func (o *GeoSerpResponse) GetSerpFeaturesOk() (*[]string, bool)

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

SetSerpFeatures

func (o *GeoSerpResponse) SetSerpFeatures(v []string)

SetSerpFeatures sets SerpFeatures field to given value.

GetResults

func (o *GeoSerpResponse) GetResults() []GeoSerpResult

GetResults returns the Results field if non-nil, zero value otherwise.

GetResultsOk

func (o *GeoSerpResponse) GetResultsOk() (*[]GeoSerpResult, 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 *GeoSerpResponse) SetResults(v []GeoSerpResult)

SetResults sets Results field to given value.

GetTarget

func (o *GeoSerpResponse) GetTarget() GeoSerpTarget

GetTarget returns the Target field if non-nil, zero value otherwise.

GetTargetOk

func (o *GeoSerpResponse) GetTargetOk() (*GeoSerpTarget, bool)

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

SetTarget

func (o *GeoSerpResponse) SetTarget(v GeoSerpTarget)

SetTarget sets Target field to given value.

HasTarget

func (o *GeoSerpResponse) HasTarget() bool

HasTarget returns a boolean if a field has been set.

GetCompetitors

func (o *GeoSerpResponse) GetCompetitors() []GeoSerpCompetitor

GetCompetitors returns the Competitors field if non-nil, zero value otherwise.

GetCompetitorsOk

func (o *GeoSerpResponse) GetCompetitorsOk() (*[]GeoSerpCompetitor, bool)

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

SetCompetitors

func (o *GeoSerpResponse) SetCompetitors(v []GeoSerpCompetitor)

SetCompetitors sets Competitors field to given value.

HasCompetitors

func (o *GeoSerpResponse) HasCompetitors() bool

HasCompetitors returns a boolean if a field has been set.

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