Skip to content

Latest commit

 

History

History
396 lines (211 loc) · 10.8 KB

File metadata and controls

396 lines (211 loc) · 10.8 KB

SeoSerpResponse

Properties

Name Type Description Notes
Query string
Location string
Language string
Device string
Os Pointer to SeoSerpOs [optional]
View SeoSerpView
RankWindow SeoSerpRankWindow
ObservedAt Pointer to string [optional]
SearchUrl Pointer to string [optional]
TotalResults Pointer to int32 [optional]
SerpFeatures []string
Summary SeoSerpSummary
Questions []SeoSerpQuestion People Also Ask questions useful for SEO content-gap analysis.
Results []SeoSerpResult SERP elements returned in source order. Organic results are billable; ads, reviews, people-also-ask, knowledge graph, and other rich elements are returned as free context.
Target Pointer to SeoSerpTarget [optional]
Competitors Pointer to []SeoSerpCompetitor Organic result domains excluding the optional target domain. Omitted when results are truncated by balance. [optional]

Methods

NewSeoSerpResponse

func NewSeoSerpResponse(query string, location string, language string, device string, view SeoSerpView, rankWindow SeoSerpRankWindow, serpFeatures []string, summary SeoSerpSummary, questions []SeoSerpQuestion, results []SeoSerpResult, ) *SeoSerpResponse

NewSeoSerpResponse instantiates a new SeoSerpResponse 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

NewSeoSerpResponseWithDefaults

func NewSeoSerpResponseWithDefaults() *SeoSerpResponse

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

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

GetQueryOk

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

SetQuery sets Query field to given value.

GetLocation

func (o *SeoSerpResponse) GetLocation() string

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

GetLocationOk

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

SetLocation sets Location field to given value.

GetLanguage

func (o *SeoSerpResponse) GetLanguage() string

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

GetLanguageOk

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

SetLanguage sets Language field to given value.

GetDevice

func (o *SeoSerpResponse) GetDevice() string

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

GetDeviceOk

func (o *SeoSerpResponse) 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 *SeoSerpResponse) SetDevice(v string)

SetDevice sets Device field to given value.

GetOs

func (o *SeoSerpResponse) GetOs() SeoSerpOs

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

GetOsOk

func (o *SeoSerpResponse) GetOsOk() (*SeoSerpOs, 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 *SeoSerpResponse) SetOs(v SeoSerpOs)

SetOs sets Os field to given value.

HasOs

func (o *SeoSerpResponse) HasOs() bool

HasOs returns a boolean if a field has been set.

GetView

func (o *SeoSerpResponse) GetView() SeoSerpView

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

GetViewOk

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

SetView sets View field to given value.

GetRankWindow

func (o *SeoSerpResponse) GetRankWindow() SeoSerpRankWindow

GetRankWindow returns the RankWindow field if non-nil, zero value otherwise.

GetRankWindowOk

func (o *SeoSerpResponse) GetRankWindowOk() (*SeoSerpRankWindow, bool)

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

SetRankWindow

func (o *SeoSerpResponse) SetRankWindow(v SeoSerpRankWindow)

SetRankWindow sets RankWindow field to given value.

GetObservedAt

func (o *SeoSerpResponse) GetObservedAt() string

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

GetObservedAtOk

func (o *SeoSerpResponse) 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 *SeoSerpResponse) SetObservedAt(v string)

SetObservedAt sets ObservedAt field to given value.

HasObservedAt

func (o *SeoSerpResponse) HasObservedAt() bool

HasObservedAt returns a boolean if a field has been set.

GetSearchUrl

func (o *SeoSerpResponse) GetSearchUrl() string

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

GetSearchUrlOk

func (o *SeoSerpResponse) 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 *SeoSerpResponse) SetSearchUrl(v string)

SetSearchUrl sets SearchUrl field to given value.

HasSearchUrl

func (o *SeoSerpResponse) HasSearchUrl() bool

HasSearchUrl returns a boolean if a field has been set.

GetTotalResults

func (o *SeoSerpResponse) GetTotalResults() int32

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

GetTotalResultsOk

func (o *SeoSerpResponse) 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 *SeoSerpResponse) SetTotalResults(v int32)

SetTotalResults sets TotalResults field to given value.

HasTotalResults

func (o *SeoSerpResponse) HasTotalResults() bool

HasTotalResults returns a boolean if a field has been set.

GetSerpFeatures

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

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

GetSerpFeaturesOk

func (o *SeoSerpResponse) 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 *SeoSerpResponse) SetSerpFeatures(v []string)

SetSerpFeatures sets SerpFeatures field to given value.

GetSummary

func (o *SeoSerpResponse) GetSummary() SeoSerpSummary

GetSummary returns the Summary field if non-nil, zero value otherwise.

GetSummaryOk

func (o *SeoSerpResponse) GetSummaryOk() (*SeoSerpSummary, bool)

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

SetSummary

func (o *SeoSerpResponse) SetSummary(v SeoSerpSummary)

SetSummary sets Summary field to given value.

GetQuestions

func (o *SeoSerpResponse) GetQuestions() []SeoSerpQuestion

GetQuestions returns the Questions field if non-nil, zero value otherwise.

GetQuestionsOk

func (o *SeoSerpResponse) GetQuestionsOk() (*[]SeoSerpQuestion, bool)

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

SetQuestions

func (o *SeoSerpResponse) SetQuestions(v []SeoSerpQuestion)

SetQuestions sets Questions field to given value.

GetResults

func (o *SeoSerpResponse) GetResults() []SeoSerpResult

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

GetResultsOk

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

SetResults sets Results field to given value.

GetTarget

func (o *SeoSerpResponse) GetTarget() SeoSerpTarget

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

GetTargetOk

func (o *SeoSerpResponse) GetTargetOk() (*SeoSerpTarget, 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 *SeoSerpResponse) SetTarget(v SeoSerpTarget)

SetTarget sets Target field to given value.

HasTarget

func (o *SeoSerpResponse) HasTarget() bool

HasTarget returns a boolean if a field has been set.

GetCompetitors

func (o *SeoSerpResponse) GetCompetitors() []SeoSerpCompetitor

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

GetCompetitorsOk

func (o *SeoSerpResponse) GetCompetitorsOk() (*[]SeoSerpCompetitor, 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 *SeoSerpResponse) SetCompetitors(v []SeoSerpCompetitor)

SetCompetitors sets Competitors field to given value.

HasCompetitors

func (o *SeoSerpResponse) HasCompetitors() bool

HasCompetitors returns a boolean if a field has been set.

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