Versions in this module Expand all Collapse all v30 v30.1.0 Jun 10, 2019 v30.0.0 May 28, 2019 Changes in this version + const DefaultEndpoint + func UserAgent() string + func Version() string + type Answer struct + FollowUpQueries *[]Query + ID *string + Type TypeBasicResponseBase + WebSearchURL *string + func (a Answer) AsAnswer() (*Answer, bool) + func (a Answer) AsArticle() (*Article, bool) + func (a Answer) AsBasicAnswer() (BasicAnswer, bool) + func (a Answer) AsBasicArticle() (BasicArticle, bool) + func (a Answer) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (a Answer) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (a Answer) AsBasicIntangible() (BasicIntangible, bool) + func (a Answer) AsBasicMediaObject() (BasicMediaObject, bool) + func (a Answer) AsBasicResponse() (BasicResponse, bool) + func (a Answer) AsBasicResponseBase() (BasicResponseBase, bool) + func (a Answer) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (a Answer) AsBasicThing() (BasicThing, bool) + func (a Answer) AsComputation() (*Computation, bool) + func (a Answer) AsCreativeWork() (*CreativeWork, bool) + func (a Answer) AsErrorResponse() (*ErrorResponse, bool) + func (a Answer) AsIdentifiable() (*Identifiable, bool) + func (a Answer) AsImageObject() (*ImageObject, bool) + func (a Answer) AsImages() (*Images, bool) + func (a Answer) AsIntangible() (*Intangible, bool) + func (a Answer) AsMediaObject() (*MediaObject, bool) + func (a Answer) AsNews() (*News, bool) + func (a Answer) AsNewsArticle() (*NewsArticle, bool) + func (a Answer) AsPlaces() (*Places, bool) + func (a Answer) AsRelatedSearchesRelatedSearchAnswer() (*RelatedSearchesRelatedSearchAnswer, bool) + func (a Answer) AsResponse() (*Response, bool) + func (a Answer) AsResponseBase() (*ResponseBase, bool) + func (a Answer) AsSearchResponse() (*SearchResponse, bool) + func (a Answer) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (a Answer) AsSpellSuggestions() (*SpellSuggestions, bool) + func (a Answer) AsStructuredValue() (*StructuredValue, bool) + func (a Answer) AsThing() (*Thing, bool) + func (a Answer) AsTimeZone() (*TimeZone, bool) + func (a Answer) AsVideoObject() (*VideoObject, bool) + func (a Answer) AsVideos() (*Videos, bool) + func (a Answer) AsWebPage() (*WebPage, bool) + func (a Answer) AsWebWebAnswer() (*WebWebAnswer, bool) + func (a Answer) MarshalJSON() ([]byte, error) + type AnswerType string + const AnswerTypeComputation + const AnswerTypeImages + const AnswerTypeNews + const AnswerTypeRelatedSearches + const AnswerTypeSpellSuggestions + const AnswerTypeTimeZone + const AnswerTypeVideos + const AnswerTypeWebPages + func PossibleAnswerTypeValues() []AnswerType + type Article struct + BingID *string + Description *string + ID *string + Image *ImageObject + Name *string + Provider *[]BasicThing + Text *string + ThumbnailURL *string + Type TypeBasicResponseBase + URL *string + WebSearchURL *string + WordCount *int32 + func (a *Article) UnmarshalJSON(body []byte) error + func (a Article) AsAnswer() (*Answer, bool) + func (a Article) AsArticle() (*Article, bool) + func (a Article) AsBasicAnswer() (BasicAnswer, bool) + func (a Article) AsBasicArticle() (BasicArticle, bool) + func (a Article) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (a Article) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (a Article) AsBasicIntangible() (BasicIntangible, bool) + func (a Article) AsBasicMediaObject() (BasicMediaObject, bool) + func (a Article) AsBasicResponse() (BasicResponse, bool) + func (a Article) AsBasicResponseBase() (BasicResponseBase, bool) + func (a Article) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (a Article) AsBasicThing() (BasicThing, bool) + func (a Article) AsComputation() (*Computation, bool) + func (a Article) AsCreativeWork() (*CreativeWork, bool) + func (a Article) AsErrorResponse() (*ErrorResponse, bool) + func (a Article) AsIdentifiable() (*Identifiable, bool) + func (a Article) AsImageObject() (*ImageObject, bool) + func (a Article) AsImages() (*Images, bool) + func (a Article) AsIntangible() (*Intangible, bool) + func (a Article) AsMediaObject() (*MediaObject, bool) + func (a Article) AsNews() (*News, bool) + func (a Article) AsNewsArticle() (*NewsArticle, bool) + func (a Article) AsPlaces() (*Places, bool) + func (a Article) AsRelatedSearchesRelatedSearchAnswer() (*RelatedSearchesRelatedSearchAnswer, bool) + func (a Article) AsResponse() (*Response, bool) + func (a Article) AsResponseBase() (*ResponseBase, bool) + func (a Article) AsSearchResponse() (*SearchResponse, bool) + func (a Article) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (a Article) AsSpellSuggestions() (*SpellSuggestions, bool) + func (a Article) AsStructuredValue() (*StructuredValue, bool) + func (a Article) AsThing() (*Thing, bool) + func (a Article) AsTimeZone() (*TimeZone, bool) + func (a Article) AsVideoObject() (*VideoObject, bool) + func (a Article) AsVideos() (*Videos, bool) + func (a Article) AsWebPage() (*WebPage, bool) + func (a Article) AsWebWebAnswer() (*WebWebAnswer, bool) + func (a Article) MarshalJSON() ([]byte, error) + type BaseClient struct + Endpoint string + func New() BaseClient + func NewWithoutDefaults(endpoint string) BaseClient + type BasicAnswer interface + AsAnswer func() (*Answer, bool) + AsBasicSearchResultsAnswer func() (BasicSearchResultsAnswer, bool) + AsComputation func() (*Computation, bool) + AsImages func() (*Images, bool) + AsNews func() (*News, bool) + AsPlaces func() (*Places, bool) + AsRelatedSearchesRelatedSearchAnswer func() (*RelatedSearchesRelatedSearchAnswer, bool) + AsSearchResultsAnswer func() (*SearchResultsAnswer, bool) + AsSpellSuggestions func() (*SpellSuggestions, bool) + AsTimeZone func() (*TimeZone, bool) + AsVideos func() (*Videos, bool) + AsWebWebAnswer func() (*WebWebAnswer, bool) + type BasicArticle interface + AsArticle func() (*Article, bool) + AsNewsArticle func() (*NewsArticle, bool) + type BasicCreativeWork interface + AsArticle func() (*Article, bool) + AsBasicArticle func() (BasicArticle, bool) + AsBasicMediaObject func() (BasicMediaObject, bool) + AsCreativeWork func() (*CreativeWork, bool) + AsImageObject func() (*ImageObject, bool) + AsMediaObject func() (*MediaObject, bool) + AsNewsArticle func() (*NewsArticle, bool) + AsVideoObject func() (*VideoObject, bool) + AsWebPage func() (*WebPage, bool) + type BasicIdentifiable interface + AsAnswer func() (*Answer, bool) + AsArticle func() (*Article, bool) + AsBasicAnswer func() (BasicAnswer, bool) + AsBasicArticle func() (BasicArticle, bool) + AsBasicCreativeWork func() (BasicCreativeWork, bool) + AsBasicIntangible func() (BasicIntangible, bool) + AsBasicMediaObject func() (BasicMediaObject, bool) + AsBasicResponse func() (BasicResponse, bool) + AsBasicSearchResultsAnswer func() (BasicSearchResultsAnswer, bool) + AsBasicThing func() (BasicThing, bool) + AsComputation func() (*Computation, bool) + AsCreativeWork func() (*CreativeWork, bool) + AsErrorResponse func() (*ErrorResponse, bool) + AsIdentifiable func() (*Identifiable, bool) + AsImageObject func() (*ImageObject, bool) + AsImages func() (*Images, bool) + AsIntangible func() (*Intangible, bool) + AsMediaObject func() (*MediaObject, bool) + AsNews func() (*News, bool) + AsNewsArticle func() (*NewsArticle, bool) + AsPlaces func() (*Places, bool) + AsRelatedSearchesRelatedSearchAnswer func() (*RelatedSearchesRelatedSearchAnswer, bool) + AsResponse func() (*Response, bool) + AsSearchResponse func() (*SearchResponse, bool) + AsSearchResultsAnswer func() (*SearchResultsAnswer, bool) + AsSpellSuggestions func() (*SpellSuggestions, bool) + AsStructuredValue func() (*StructuredValue, bool) + AsThing func() (*Thing, bool) + AsTimeZone func() (*TimeZone, bool) + AsVideoObject func() (*VideoObject, bool) + AsVideos func() (*Videos, bool) + AsWebPage func() (*WebPage, bool) + AsWebWebAnswer func() (*WebWebAnswer, bool) + type BasicIntangible interface + AsIntangible func() (*Intangible, bool) + AsStructuredValue func() (*StructuredValue, bool) + type BasicMediaObject interface + AsImageObject func() (*ImageObject, bool) + AsMediaObject func() (*MediaObject, bool) + AsVideoObject func() (*VideoObject, bool) + type BasicResponse interface + AsAnswer func() (*Answer, bool) + AsArticle func() (*Article, bool) + AsBasicAnswer func() (BasicAnswer, bool) + AsBasicArticle func() (BasicArticle, bool) + AsBasicCreativeWork func() (BasicCreativeWork, bool) + AsBasicIntangible func() (BasicIntangible, bool) + AsBasicMediaObject func() (BasicMediaObject, bool) + AsBasicSearchResultsAnswer func() (BasicSearchResultsAnswer, bool) + AsBasicThing func() (BasicThing, bool) + AsComputation func() (*Computation, bool) + AsCreativeWork func() (*CreativeWork, bool) + AsErrorResponse func() (*ErrorResponse, bool) + AsImageObject func() (*ImageObject, bool) + AsImages func() (*Images, bool) + AsIntangible func() (*Intangible, bool) + AsMediaObject func() (*MediaObject, bool) + AsNews func() (*News, bool) + AsNewsArticle func() (*NewsArticle, bool) + AsPlaces func() (*Places, bool) + AsRelatedSearchesRelatedSearchAnswer func() (*RelatedSearchesRelatedSearchAnswer, bool) + AsResponse func() (*Response, bool) + AsSearchResponse func() (*SearchResponse, bool) + AsSearchResultsAnswer func() (*SearchResultsAnswer, bool) + AsSpellSuggestions func() (*SpellSuggestions, bool) + AsStructuredValue func() (*StructuredValue, bool) + AsThing func() (*Thing, bool) + AsTimeZone func() (*TimeZone, bool) + AsVideoObject func() (*VideoObject, bool) + AsVideos func() (*Videos, bool) + AsWebPage func() (*WebPage, bool) + AsWebWebAnswer func() (*WebWebAnswer, bool) + type BasicResponseBase interface + AsAnswer func() (*Answer, bool) + AsArticle func() (*Article, bool) + AsBasicAnswer func() (BasicAnswer, bool) + AsBasicArticle func() (BasicArticle, bool) + AsBasicCreativeWork func() (BasicCreativeWork, bool) + AsBasicIdentifiable func() (BasicIdentifiable, bool) + AsBasicIntangible func() (BasicIntangible, bool) + AsBasicMediaObject func() (BasicMediaObject, bool) + AsBasicResponse func() (BasicResponse, bool) + AsBasicSearchResultsAnswer func() (BasicSearchResultsAnswer, bool) + AsBasicThing func() (BasicThing, bool) + AsComputation func() (*Computation, bool) + AsCreativeWork func() (*CreativeWork, bool) + AsErrorResponse func() (*ErrorResponse, bool) + AsIdentifiable func() (*Identifiable, bool) + AsImageObject func() (*ImageObject, bool) + AsImages func() (*Images, bool) + AsIntangible func() (*Intangible, bool) + AsMediaObject func() (*MediaObject, bool) + AsNews func() (*News, bool) + AsNewsArticle func() (*NewsArticle, bool) + AsPlaces func() (*Places, bool) + AsRelatedSearchesRelatedSearchAnswer func() (*RelatedSearchesRelatedSearchAnswer, bool) + AsResponse func() (*Response, bool) + AsResponseBase func() (*ResponseBase, bool) + AsSearchResponse func() (*SearchResponse, bool) + AsSearchResultsAnswer func() (*SearchResultsAnswer, bool) + AsSpellSuggestions func() (*SpellSuggestions, bool) + AsStructuredValue func() (*StructuredValue, bool) + AsThing func() (*Thing, bool) + AsTimeZone func() (*TimeZone, bool) + AsVideoObject func() (*VideoObject, bool) + AsVideos func() (*Videos, bool) + AsWebPage func() (*WebPage, bool) + AsWebWebAnswer func() (*WebWebAnswer, bool) + type BasicSearchResultsAnswer interface + AsImages func() (*Images, bool) + AsNews func() (*News, bool) + AsPlaces func() (*Places, bool) + AsRelatedSearchesRelatedSearchAnswer func() (*RelatedSearchesRelatedSearchAnswer, bool) + AsSearchResultsAnswer func() (*SearchResultsAnswer, bool) + AsSpellSuggestions func() (*SpellSuggestions, bool) + AsTimeZone func() (*TimeZone, bool) + AsVideos func() (*Videos, bool) + AsWebWebAnswer func() (*WebWebAnswer, bool) + type BasicThing interface + AsArticle func() (*Article, bool) + AsBasicArticle func() (BasicArticle, bool) + AsBasicCreativeWork func() (BasicCreativeWork, bool) + AsBasicIntangible func() (BasicIntangible, bool) + AsBasicMediaObject func() (BasicMediaObject, bool) + AsCreativeWork func() (*CreativeWork, bool) + AsImageObject func() (*ImageObject, bool) + AsIntangible func() (*Intangible, bool) + AsMediaObject func() (*MediaObject, bool) + AsNewsArticle func() (*NewsArticle, bool) + AsStructuredValue func() (*StructuredValue, bool) + AsThing func() (*Thing, bool) + AsVideoObject func() (*VideoObject, bool) + AsWebPage func() (*WebPage, bool) + type BasicWebWebGrouping interface + AsWebWebGrouping func() (*WebWebGrouping, bool) + type Computation struct + Expression *string + FollowUpQueries *[]Query + ID *string + Type TypeBasicResponseBase + Value *string + WebSearchURL *string + func (c Computation) AsAnswer() (*Answer, bool) + func (c Computation) AsArticle() (*Article, bool) + func (c Computation) AsBasicAnswer() (BasicAnswer, bool) + func (c Computation) AsBasicArticle() (BasicArticle, bool) + func (c Computation) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (c Computation) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (c Computation) AsBasicIntangible() (BasicIntangible, bool) + func (c Computation) AsBasicMediaObject() (BasicMediaObject, bool) + func (c Computation) AsBasicResponse() (BasicResponse, bool) + func (c Computation) AsBasicResponseBase() (BasicResponseBase, bool) + func (c Computation) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (c Computation) AsBasicThing() (BasicThing, bool) + func (c Computation) AsComputation() (*Computation, bool) + func (c Computation) AsCreativeWork() (*CreativeWork, bool) + func (c Computation) AsErrorResponse() (*ErrorResponse, bool) + func (c Computation) AsIdentifiable() (*Identifiable, bool) + func (c Computation) AsImageObject() (*ImageObject, bool) + func (c Computation) AsImages() (*Images, bool) + func (c Computation) AsIntangible() (*Intangible, bool) + func (c Computation) AsMediaObject() (*MediaObject, bool) + func (c Computation) AsNews() (*News, bool) + func (c Computation) AsNewsArticle() (*NewsArticle, bool) + func (c Computation) AsPlaces() (*Places, bool) + func (c Computation) AsRelatedSearchesRelatedSearchAnswer() (*RelatedSearchesRelatedSearchAnswer, bool) + func (c Computation) AsResponse() (*Response, bool) + func (c Computation) AsResponseBase() (*ResponseBase, bool) + func (c Computation) AsSearchResponse() (*SearchResponse, bool) + func (c Computation) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (c Computation) AsSpellSuggestions() (*SpellSuggestions, bool) + func (c Computation) AsStructuredValue() (*StructuredValue, bool) + func (c Computation) AsThing() (*Thing, bool) + func (c Computation) AsTimeZone() (*TimeZone, bool) + func (c Computation) AsVideoObject() (*VideoObject, bool) + func (c Computation) AsVideos() (*Videos, bool) + func (c Computation) AsWebPage() (*WebPage, bool) + func (c Computation) AsWebWebAnswer() (*WebWebAnswer, bool) + func (c Computation) MarshalJSON() ([]byte, error) + type CreativeWork struct + BingID *string + Description *string + ID *string + Image *ImageObject + Name *string + Provider *[]BasicThing + Text *string + ThumbnailURL *string + Type TypeBasicResponseBase + URL *string + WebSearchURL *string + func (cw *CreativeWork) UnmarshalJSON(body []byte) error + func (cw CreativeWork) AsAnswer() (*Answer, bool) + func (cw CreativeWork) AsArticle() (*Article, bool) + func (cw CreativeWork) AsBasicAnswer() (BasicAnswer, bool) + func (cw CreativeWork) AsBasicArticle() (BasicArticle, bool) + func (cw CreativeWork) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (cw CreativeWork) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (cw CreativeWork) AsBasicIntangible() (BasicIntangible, bool) + func (cw CreativeWork) AsBasicMediaObject() (BasicMediaObject, bool) + func (cw CreativeWork) AsBasicResponse() (BasicResponse, bool) + func (cw CreativeWork) AsBasicResponseBase() (BasicResponseBase, bool) + func (cw CreativeWork) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (cw CreativeWork) AsBasicThing() (BasicThing, bool) + func (cw CreativeWork) AsComputation() (*Computation, bool) + func (cw CreativeWork) AsCreativeWork() (*CreativeWork, bool) + func (cw CreativeWork) AsErrorResponse() (*ErrorResponse, bool) + func (cw CreativeWork) AsIdentifiable() (*Identifiable, bool) + func (cw CreativeWork) AsImageObject() (*ImageObject, bool) + func (cw CreativeWork) AsImages() (*Images, bool) + func (cw CreativeWork) AsIntangible() (*Intangible, bool) + func (cw CreativeWork) AsMediaObject() (*MediaObject, bool) + func (cw CreativeWork) AsNews() (*News, bool) + func (cw CreativeWork) AsNewsArticle() (*NewsArticle, bool) + func (cw CreativeWork) AsPlaces() (*Places, bool) + func (cw CreativeWork) AsRelatedSearchesRelatedSearchAnswer() (*RelatedSearchesRelatedSearchAnswer, bool) + func (cw CreativeWork) AsResponse() (*Response, bool) + func (cw CreativeWork) AsResponseBase() (*ResponseBase, bool) + func (cw CreativeWork) AsSearchResponse() (*SearchResponse, bool) + func (cw CreativeWork) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (cw CreativeWork) AsSpellSuggestions() (*SpellSuggestions, bool) + func (cw CreativeWork) AsStructuredValue() (*StructuredValue, bool) + func (cw CreativeWork) AsThing() (*Thing, bool) + func (cw CreativeWork) AsTimeZone() (*TimeZone, bool) + func (cw CreativeWork) AsVideoObject() (*VideoObject, bool) + func (cw CreativeWork) AsVideos() (*Videos, bool) + func (cw CreativeWork) AsWebPage() (*WebPage, bool) + func (cw CreativeWork) AsWebWebAnswer() (*WebWebAnswer, bool) + func (cw CreativeWork) MarshalJSON() ([]byte, error) + type Error struct + Code ErrorCode + Message *string + MoreDetails *string + Parameter *string + SubCode ErrorSubCode + Value *string + type ErrorCode string + const InsufficientAuthorization + const InvalidAuthorization + const InvalidRequest + const None + const RateLimitExceeded + const ServerError + func PossibleErrorCodeValues() []ErrorCode + type ErrorResponse struct + Errors *[]Error + ID *string + Type TypeBasicResponseBase + WebSearchURL *string + func (er ErrorResponse) AsAnswer() (*Answer, bool) + func (er ErrorResponse) AsArticle() (*Article, bool) + func (er ErrorResponse) AsBasicAnswer() (BasicAnswer, bool) + func (er ErrorResponse) AsBasicArticle() (BasicArticle, bool) + func (er ErrorResponse) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (er ErrorResponse) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (er ErrorResponse) AsBasicIntangible() (BasicIntangible, bool) + func (er ErrorResponse) AsBasicMediaObject() (BasicMediaObject, bool) + func (er ErrorResponse) AsBasicResponse() (BasicResponse, bool) + func (er ErrorResponse) AsBasicResponseBase() (BasicResponseBase, bool) + func (er ErrorResponse) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (er ErrorResponse) AsBasicThing() (BasicThing, bool) + func (er ErrorResponse) AsComputation() (*Computation, bool) + func (er ErrorResponse) AsCreativeWork() (*CreativeWork, bool) + func (er ErrorResponse) AsErrorResponse() (*ErrorResponse, bool) + func (er ErrorResponse) AsIdentifiable() (*Identifiable, bool) + func (er ErrorResponse) AsImageObject() (*ImageObject, bool) + func (er ErrorResponse) AsImages() (*Images, bool) + func (er ErrorResponse) AsIntangible() (*Intangible, bool) + func (er ErrorResponse) AsMediaObject() (*MediaObject, bool) + func (er ErrorResponse) AsNews() (*News, bool) + func (er ErrorResponse) AsNewsArticle() (*NewsArticle, bool) + func (er ErrorResponse) AsPlaces() (*Places, bool) + func (er ErrorResponse) AsRelatedSearchesRelatedSearchAnswer() (*RelatedSearchesRelatedSearchAnswer, bool) + func (er ErrorResponse) AsResponse() (*Response, bool) + func (er ErrorResponse) AsResponseBase() (*ResponseBase, bool) + func (er ErrorResponse) AsSearchResponse() (*SearchResponse, bool) + func (er ErrorResponse) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (er ErrorResponse) AsSpellSuggestions() (*SpellSuggestions, bool) + func (er ErrorResponse) AsStructuredValue() (*StructuredValue, bool) + func (er ErrorResponse) AsThing() (*Thing, bool) + func (er ErrorResponse) AsTimeZone() (*TimeZone, bool) + func (er ErrorResponse) AsVideoObject() (*VideoObject, bool) + func (er ErrorResponse) AsVideos() (*Videos, bool) + func (er ErrorResponse) AsWebPage() (*WebPage, bool) + func (er ErrorResponse) AsWebWebAnswer() (*WebWebAnswer, bool) + func (er ErrorResponse) MarshalJSON() ([]byte, error) + type ErrorSubCode string + const AuthorizationDisabled + const AuthorizationExpired + const AuthorizationMissing + const AuthorizationRedundancy + const Blocked + const HTTPNotAllowed + const NotImplemented + const ParameterInvalidValue + const ParameterMissing + const ResourceError + const UnexpectedError + func PossibleErrorSubCodeValues() []ErrorSubCode + type Freshness string + const Day + const Month + const Week + func PossibleFreshnessValues() []Freshness + type Identifiable struct + ID *string + Type TypeBasicResponseBase + func (i Identifiable) AsAnswer() (*Answer, bool) + func (i Identifiable) AsArticle() (*Article, bool) + func (i Identifiable) AsBasicAnswer() (BasicAnswer, bool) + func (i Identifiable) AsBasicArticle() (BasicArticle, bool) + func (i Identifiable) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (i Identifiable) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (i Identifiable) AsBasicIntangible() (BasicIntangible, bool) + func (i Identifiable) AsBasicMediaObject() (BasicMediaObject, bool) + func (i Identifiable) AsBasicResponse() (BasicResponse, bool) + func (i Identifiable) AsBasicResponseBase() (BasicResponseBase, bool) + func (i Identifiable) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (i Identifiable) AsBasicThing() (BasicThing, bool) + func (i Identifiable) AsComputation() (*Computation, bool) + func (i Identifiable) AsCreativeWork() (*CreativeWork, bool) + func (i Identifiable) AsErrorResponse() (*ErrorResponse, bool) + func (i Identifiable) AsIdentifiable() (*Identifiable, bool) + func (i Identifiable) AsImageObject() (*ImageObject, bool) + func (i Identifiable) AsImages() (*Images, bool) + func (i Identifiable) AsIntangible() (*Intangible, bool) + func (i Identifiable) AsMediaObject() (*MediaObject, bool) + func (i Identifiable) AsNews() (*News, bool) + func (i Identifiable) AsNewsArticle() (*NewsArticle, bool) + func (i Identifiable) AsPlaces() (*Places, bool) + func (i Identifiable) AsRelatedSearchesRelatedSearchAnswer() (*RelatedSearchesRelatedSearchAnswer, bool) + func (i Identifiable) AsResponse() (*Response, bool) + func (i Identifiable) AsResponseBase() (*ResponseBase, bool) + func (i Identifiable) AsSearchResponse() (*SearchResponse, bool) + func (i Identifiable) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (i Identifiable) AsSpellSuggestions() (*SpellSuggestions, bool) + func (i Identifiable) AsStructuredValue() (*StructuredValue, bool) + func (i Identifiable) AsThing() (*Thing, bool) + func (i Identifiable) AsTimeZone() (*TimeZone, bool) + func (i Identifiable) AsVideoObject() (*VideoObject, bool) + func (i Identifiable) AsVideos() (*Videos, bool) + func (i Identifiable) AsWebPage() (*WebPage, bool) + func (i Identifiable) AsWebWebAnswer() (*WebWebAnswer, bool) + func (i Identifiable) MarshalJSON() ([]byte, error) + type ImageObject struct + BingID *string + ContentURL *string + Description *string + Height *int32 + HostPageURL *string + ID *string + Image *ImageObject + Name *string + Provider *[]BasicThing + Text *string + Thumbnail *ImageObject + ThumbnailURL *string + Type TypeBasicResponseBase + URL *string + WebSearchURL *string + Width *int32 + func (ioVar *ImageObject) UnmarshalJSON(body []byte) error + func (ioVar ImageObject) AsAnswer() (*Answer, bool) + func (ioVar ImageObject) AsArticle() (*Article, bool) + func (ioVar ImageObject) AsBasicAnswer() (BasicAnswer, bool) + func (ioVar ImageObject) AsBasicArticle() (BasicArticle, bool) + func (ioVar ImageObject) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (ioVar ImageObject) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (ioVar ImageObject) AsBasicIntangible() (BasicIntangible, bool) + func (ioVar ImageObject) AsBasicMediaObject() (BasicMediaObject, bool) + func (ioVar ImageObject) AsBasicResponse() (BasicResponse, bool) + func (ioVar ImageObject) AsBasicResponseBase() (BasicResponseBase, bool) + func (ioVar ImageObject) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (ioVar ImageObject) AsBasicThing() (BasicThing, bool) + func (ioVar ImageObject) AsComputation() (*Computation, bool) + func (ioVar ImageObject) AsCreativeWork() (*CreativeWork, bool) + func (ioVar ImageObject) AsErrorResponse() (*ErrorResponse, bool) + func (ioVar ImageObject) AsIdentifiable() (*Identifiable, bool) + func (ioVar ImageObject) AsImageObject() (*ImageObject, bool) + func (ioVar ImageObject) AsImages() (*Images, bool) + func (ioVar ImageObject) AsIntangible() (*Intangible, bool) + func (ioVar ImageObject) AsMediaObject() (*MediaObject, bool) + func (ioVar ImageObject) AsNews() (*News, bool) + func (ioVar ImageObject) AsNewsArticle() (*NewsArticle, bool) + func (ioVar ImageObject) AsPlaces() (*Places, bool) + func (ioVar ImageObject) AsRelatedSearchesRelatedSearchAnswer() (*RelatedSearchesRelatedSearchAnswer, bool) + func (ioVar ImageObject) AsResponse() (*Response, bool) + func (ioVar ImageObject) AsResponseBase() (*ResponseBase, bool) + func (ioVar ImageObject) AsSearchResponse() (*SearchResponse, bool) + func (ioVar ImageObject) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (ioVar ImageObject) AsSpellSuggestions() (*SpellSuggestions, bool) + func (ioVar ImageObject) AsStructuredValue() (*StructuredValue, bool) + func (ioVar ImageObject) AsThing() (*Thing, bool) + func (ioVar ImageObject) AsTimeZone() (*TimeZone, bool) + func (ioVar ImageObject) AsVideoObject() (*VideoObject, bool) + func (ioVar ImageObject) AsVideos() (*Videos, bool) + func (ioVar ImageObject) AsWebPage() (*WebPage, bool) + func (ioVar ImageObject) AsWebWebAnswer() (*WebWebAnswer, bool) + func (ioVar ImageObject) MarshalJSON() ([]byte, error) + type Images struct + FollowUpQueries *[]Query + ID *string + IsFamilyFriendly *bool + NextOffset *int32 + QueryContext *QueryContext + QueryExpansions *[]Query + RelatedSearches *[]Query + SimilarTerms *[]Query + TotalEstimatedMatches *int64 + Type TypeBasicResponseBase + Value *[]ImageObject + WebSearchURL *string + func (i Images) AsAnswer() (*Answer, bool) + func (i Images) AsArticle() (*Article, bool) + func (i Images) AsBasicAnswer() (BasicAnswer, bool) + func (i Images) AsBasicArticle() (BasicArticle, bool) + func (i Images) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (i Images) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (i Images) AsBasicIntangible() (BasicIntangible, bool) + func (i Images) AsBasicMediaObject() (BasicMediaObject, bool) + func (i Images) AsBasicResponse() (BasicResponse, bool) + func (i Images) AsBasicResponseBase() (BasicResponseBase, bool) + func (i Images) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (i Images) AsBasicThing() (BasicThing, bool) + func (i Images) AsComputation() (*Computation, bool) + func (i Images) AsCreativeWork() (*CreativeWork, bool) + func (i Images) AsErrorResponse() (*ErrorResponse, bool) + func (i Images) AsIdentifiable() (*Identifiable, bool) + func (i Images) AsImageObject() (*ImageObject, bool) + func (i Images) AsImages() (*Images, bool) + func (i Images) AsIntangible() (*Intangible, bool) + func (i Images) AsMediaObject() (*MediaObject, bool) + func (i Images) AsNews() (*News, bool) + func (i Images) AsNewsArticle() (*NewsArticle, bool) + func (i Images) AsPlaces() (*Places, bool) + func (i Images) AsRelatedSearchesRelatedSearchAnswer() (*RelatedSearchesRelatedSearchAnswer, bool) + func (i Images) AsResponse() (*Response, bool) + func (i Images) AsResponseBase() (*ResponseBase, bool) + func (i Images) AsSearchResponse() (*SearchResponse, bool) + func (i Images) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (i Images) AsSpellSuggestions() (*SpellSuggestions, bool) + func (i Images) AsStructuredValue() (*StructuredValue, bool) + func (i Images) AsThing() (*Thing, bool) + func (i Images) AsTimeZone() (*TimeZone, bool) + func (i Images) AsVideoObject() (*VideoObject, bool) + func (i Images) AsVideos() (*Videos, bool) + func (i Images) AsWebPage() (*WebPage, bool) + func (i Images) AsWebWebAnswer() (*WebWebAnswer, bool) + func (i Images) MarshalJSON() ([]byte, error) + type Intangible struct + BingID *string + Description *string + ID *string + Image *ImageObject + Name *string + Type TypeBasicResponseBase + URL *string + WebSearchURL *string + func (i Intangible) AsAnswer() (*Answer, bool) + func (i Intangible) AsArticle() (*Article, bool) + func (i Intangible) AsBasicAnswer() (BasicAnswer, bool) + func (i Intangible) AsBasicArticle() (BasicArticle, bool) + func (i Intangible) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (i Intangible) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (i Intangible) AsBasicIntangible() (BasicIntangible, bool) + func (i Intangible) AsBasicMediaObject() (BasicMediaObject, bool) + func (i Intangible) AsBasicResponse() (BasicResponse, bool) + func (i Intangible) AsBasicResponseBase() (BasicResponseBase, bool) + func (i Intangible) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (i Intangible) AsBasicThing() (BasicThing, bool) + func (i Intangible) AsComputation() (*Computation, bool) + func (i Intangible) AsCreativeWork() (*CreativeWork, bool) + func (i Intangible) AsErrorResponse() (*ErrorResponse, bool) + func (i Intangible) AsIdentifiable() (*Identifiable, bool) + func (i Intangible) AsImageObject() (*ImageObject, bool) + func (i Intangible) AsImages() (*Images, bool) + func (i Intangible) AsIntangible() (*Intangible, bool) + func (i Intangible) AsMediaObject() (*MediaObject, bool) + func (i Intangible) AsNews() (*News, bool) + func (i Intangible) AsNewsArticle() (*NewsArticle, bool) + func (i Intangible) AsPlaces() (*Places, bool) + func (i Intangible) AsRelatedSearchesRelatedSearchAnswer() (*RelatedSearchesRelatedSearchAnswer, bool) + func (i Intangible) AsResponse() (*Response, bool) + func (i Intangible) AsResponseBase() (*ResponseBase, bool) + func (i Intangible) AsSearchResponse() (*SearchResponse, bool) + func (i Intangible) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (i Intangible) AsSpellSuggestions() (*SpellSuggestions, bool) + func (i Intangible) AsStructuredValue() (*StructuredValue, bool) + func (i Intangible) AsThing() (*Thing, bool) + func (i Intangible) AsTimeZone() (*TimeZone, bool) + func (i Intangible) AsVideoObject() (*VideoObject, bool) + func (i Intangible) AsVideos() (*Videos, bool) + func (i Intangible) AsWebPage() (*WebPage, bool) + func (i Intangible) AsWebWebAnswer() (*WebWebAnswer, bool) + func (i Intangible) MarshalJSON() ([]byte, error) + type MediaObject struct + BingID *string + ContentURL *string + Description *string + Height *int32 + HostPageURL *string + ID *string + Image *ImageObject + Name *string + Provider *[]BasicThing + Text *string + ThumbnailURL *string + Type TypeBasicResponseBase + URL *string + WebSearchURL *string + Width *int32 + func (mo *MediaObject) UnmarshalJSON(body []byte) error + func (mo MediaObject) AsAnswer() (*Answer, bool) + func (mo MediaObject) AsArticle() (*Article, bool) + func (mo MediaObject) AsBasicAnswer() (BasicAnswer, bool) + func (mo MediaObject) AsBasicArticle() (BasicArticle, bool) + func (mo MediaObject) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (mo MediaObject) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (mo MediaObject) AsBasicIntangible() (BasicIntangible, bool) + func (mo MediaObject) AsBasicMediaObject() (BasicMediaObject, bool) + func (mo MediaObject) AsBasicResponse() (BasicResponse, bool) + func (mo MediaObject) AsBasicResponseBase() (BasicResponseBase, bool) + func (mo MediaObject) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (mo MediaObject) AsBasicThing() (BasicThing, bool) + func (mo MediaObject) AsComputation() (*Computation, bool) + func (mo MediaObject) AsCreativeWork() (*CreativeWork, bool) + func (mo MediaObject) AsErrorResponse() (*ErrorResponse, bool) + func (mo MediaObject) AsIdentifiable() (*Identifiable, bool) + func (mo MediaObject) AsImageObject() (*ImageObject, bool) + func (mo MediaObject) AsImages() (*Images, bool) + func (mo MediaObject) AsIntangible() (*Intangible, bool) + func (mo MediaObject) AsMediaObject() (*MediaObject, bool) + func (mo MediaObject) AsNews() (*News, bool) + func (mo MediaObject) AsNewsArticle() (*NewsArticle, bool) + func (mo MediaObject) AsPlaces() (*Places, bool) + func (mo MediaObject) AsRelatedSearchesRelatedSearchAnswer() (*RelatedSearchesRelatedSearchAnswer, bool) + func (mo MediaObject) AsResponse() (*Response, bool) + func (mo MediaObject) AsResponseBase() (*ResponseBase, bool) + func (mo MediaObject) AsSearchResponse() (*SearchResponse, bool) + func (mo MediaObject) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (mo MediaObject) AsSpellSuggestions() (*SpellSuggestions, bool) + func (mo MediaObject) AsStructuredValue() (*StructuredValue, bool) + func (mo MediaObject) AsThing() (*Thing, bool) + func (mo MediaObject) AsTimeZone() (*TimeZone, bool) + func (mo MediaObject) AsVideoObject() (*VideoObject, bool) + func (mo MediaObject) AsVideos() (*Videos, bool) + func (mo MediaObject) AsWebPage() (*WebPage, bool) + func (mo MediaObject) AsWebWebAnswer() (*WebWebAnswer, bool) + func (mo MediaObject) MarshalJSON() ([]byte, error) + type News struct + FollowUpQueries *[]Query + ID *string + IsFamilyFriendly *bool + Location *string + QueryContext *QueryContext + TotalEstimatedMatches *int64 + Type TypeBasicResponseBase + Value *[]NewsArticle + WebSearchURL *string + func (n News) AsAnswer() (*Answer, bool) + func (n News) AsArticle() (*Article, bool) + func (n News) AsBasicAnswer() (BasicAnswer, bool) + func (n News) AsBasicArticle() (BasicArticle, bool) + func (n News) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (n News) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (n News) AsBasicIntangible() (BasicIntangible, bool) + func (n News) AsBasicMediaObject() (BasicMediaObject, bool) + func (n News) AsBasicResponse() (BasicResponse, bool) + func (n News) AsBasicResponseBase() (BasicResponseBase, bool) + func (n News) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (n News) AsBasicThing() (BasicThing, bool) + func (n News) AsComputation() (*Computation, bool) + func (n News) AsCreativeWork() (*CreativeWork, bool) + func (n News) AsErrorResponse() (*ErrorResponse, bool) + func (n News) AsIdentifiable() (*Identifiable, bool) + func (n News) AsImageObject() (*ImageObject, bool) + func (n News) AsImages() (*Images, bool) + func (n News) AsIntangible() (*Intangible, bool) + func (n News) AsMediaObject() (*MediaObject, bool) + func (n News) AsNews() (*News, bool) + func (n News) AsNewsArticle() (*NewsArticle, bool) + func (n News) AsPlaces() (*Places, bool) + func (n News) AsRelatedSearchesRelatedSearchAnswer() (*RelatedSearchesRelatedSearchAnswer, bool) + func (n News) AsResponse() (*Response, bool) + func (n News) AsResponseBase() (*ResponseBase, bool) + func (n News) AsSearchResponse() (*SearchResponse, bool) + func (n News) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (n News) AsSpellSuggestions() (*SpellSuggestions, bool) + func (n News) AsStructuredValue() (*StructuredValue, bool) + func (n News) AsThing() (*Thing, bool) + func (n News) AsTimeZone() (*TimeZone, bool) + func (n News) AsVideoObject() (*VideoObject, bool) + func (n News) AsVideos() (*Videos, bool) + func (n News) AsWebPage() (*WebPage, bool) + func (n News) AsWebWebAnswer() (*WebWebAnswer, bool) + func (n News) MarshalJSON() ([]byte, error) + type NewsArticle struct + BingID *string + Description *string + ID *string + Image *ImageObject + Name *string + Provider *[]BasicThing + Text *string + ThumbnailURL *string + Type TypeBasicResponseBase + URL *string + WebSearchURL *string + WordCount *int32 + func (na *NewsArticle) UnmarshalJSON(body []byte) error + func (na NewsArticle) AsAnswer() (*Answer, bool) + func (na NewsArticle) AsArticle() (*Article, bool) + func (na NewsArticle) AsBasicAnswer() (BasicAnswer, bool) + func (na NewsArticle) AsBasicArticle() (BasicArticle, bool) + func (na NewsArticle) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (na NewsArticle) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (na NewsArticle) AsBasicIntangible() (BasicIntangible, bool) + func (na NewsArticle) AsBasicMediaObject() (BasicMediaObject, bool) + func (na NewsArticle) AsBasicResponse() (BasicResponse, bool) + func (na NewsArticle) AsBasicResponseBase() (BasicResponseBase, bool) + func (na NewsArticle) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (na NewsArticle) AsBasicThing() (BasicThing, bool) + func (na NewsArticle) AsComputation() (*Computation, bool) + func (na NewsArticle) AsCreativeWork() (*CreativeWork, bool) + func (na NewsArticle) AsErrorResponse() (*ErrorResponse, bool) + func (na NewsArticle) AsIdentifiable() (*Identifiable, bool) + func (na NewsArticle) AsImageObject() (*ImageObject, bool) + func (na NewsArticle) AsImages() (*Images, bool) + func (na NewsArticle) AsIntangible() (*Intangible, bool) + func (na NewsArticle) AsMediaObject() (*MediaObject, bool) + func (na NewsArticle) AsNews() (*News, bool) + func (na NewsArticle) AsNewsArticle() (*NewsArticle, bool) + func (na NewsArticle) AsPlaces() (*Places, bool) + func (na NewsArticle) AsRelatedSearchesRelatedSearchAnswer() (*RelatedSearchesRelatedSearchAnswer, bool) + func (na NewsArticle) AsResponse() (*Response, bool) + func (na NewsArticle) AsResponseBase() (*ResponseBase, bool) + func (na NewsArticle) AsSearchResponse() (*SearchResponse, bool) + func (na NewsArticle) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (na NewsArticle) AsSpellSuggestions() (*SpellSuggestions, bool) + func (na NewsArticle) AsStructuredValue() (*StructuredValue, bool) + func (na NewsArticle) AsThing() (*Thing, bool) + func (na NewsArticle) AsTimeZone() (*TimeZone, bool) + func (na NewsArticle) AsVideoObject() (*VideoObject, bool) + func (na NewsArticle) AsVideos() (*Videos, bool) + func (na NewsArticle) AsWebPage() (*WebPage, bool) + func (na NewsArticle) AsWebWebAnswer() (*WebWebAnswer, bool) + func (na NewsArticle) MarshalJSON() ([]byte, error) + type Places struct + FollowUpQueries *[]Query + ID *string + IsFamilyFriendly *bool + QueryContext *QueryContext + TotalEstimatedMatches *int64 + Type TypeBasicResponseBase + Value *[]BasicThing + WebSearchURL *string + func (p *Places) UnmarshalJSON(body []byte) error + func (p Places) AsAnswer() (*Answer, bool) + func (p Places) AsArticle() (*Article, bool) + func (p Places) AsBasicAnswer() (BasicAnswer, bool) + func (p Places) AsBasicArticle() (BasicArticle, bool) + func (p Places) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (p Places) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (p Places) AsBasicIntangible() (BasicIntangible, bool) + func (p Places) AsBasicMediaObject() (BasicMediaObject, bool) + func (p Places) AsBasicResponse() (BasicResponse, bool) + func (p Places) AsBasicResponseBase() (BasicResponseBase, bool) + func (p Places) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (p Places) AsBasicThing() (BasicThing, bool) + func (p Places) AsComputation() (*Computation, bool) + func (p Places) AsCreativeWork() (*CreativeWork, bool) + func (p Places) AsErrorResponse() (*ErrorResponse, bool) + func (p Places) AsIdentifiable() (*Identifiable, bool) + func (p Places) AsImageObject() (*ImageObject, bool) + func (p Places) AsImages() (*Images, bool) + func (p Places) AsIntangible() (*Intangible, bool) + func (p Places) AsMediaObject() (*MediaObject, bool) + func (p Places) AsNews() (*News, bool) + func (p Places) AsNewsArticle() (*NewsArticle, bool) + func (p Places) AsPlaces() (*Places, bool) + func (p Places) AsRelatedSearchesRelatedSearchAnswer() (*RelatedSearchesRelatedSearchAnswer, bool) + func (p Places) AsResponse() (*Response, bool) + func (p Places) AsResponseBase() (*ResponseBase, bool) + func (p Places) AsSearchResponse() (*SearchResponse, bool) + func (p Places) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (p Places) AsSpellSuggestions() (*SpellSuggestions, bool) + func (p Places) AsStructuredValue() (*StructuredValue, bool) + func (p Places) AsThing() (*Thing, bool) + func (p Places) AsTimeZone() (*TimeZone, bool) + func (p Places) AsVideoObject() (*VideoObject, bool) + func (p Places) AsVideos() (*Videos, bool) + func (p Places) AsWebPage() (*WebPage, bool) + func (p Places) AsWebWebAnswer() (*WebWebAnswer, bool) + func (p Places) MarshalJSON() ([]byte, error) + type Query struct + DisplayText *string + SearchLink *string + Text *string + Thumbnail *ImageObject + WebSearchURL *string + type QueryContext struct + AdultIntent *bool + AlterationOverrideQuery *string + AlteredQuery *string + AskUserForLocation *bool + IsTransactional *bool + OriginalQuery *string + type RankingRankingGroup struct + Items *[]RankingRankingItem + type RankingRankingItem struct + AnswerType AnswerType + HTMLIndex *int32 + ResultIndex *int32 + ScreenshotIndex *int32 + TextualIndex *int32 + Value BasicIdentifiable + func (rri *RankingRankingItem) UnmarshalJSON(body []byte) error + type RankingRankingResponse struct + Mainline *RankingRankingGroup + Pole *RankingRankingGroup + Sidebar *RankingRankingGroup + type RelatedSearchesRelatedSearchAnswer struct + FollowUpQueries *[]Query + ID *string + IsFamilyFriendly *bool + QueryContext *QueryContext + TotalEstimatedMatches *int64 + Type TypeBasicResponseBase + Value *[]Query + WebSearchURL *string + func (rsrsa RelatedSearchesRelatedSearchAnswer) AsAnswer() (*Answer, bool) + func (rsrsa RelatedSearchesRelatedSearchAnswer) AsArticle() (*Article, bool) + func (rsrsa RelatedSearchesRelatedSearchAnswer) AsBasicAnswer() (BasicAnswer, bool) + func (rsrsa RelatedSearchesRelatedSearchAnswer) AsBasicArticle() (BasicArticle, bool) + func (rsrsa RelatedSearchesRelatedSearchAnswer) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (rsrsa RelatedSearchesRelatedSearchAnswer) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (rsrsa RelatedSearchesRelatedSearchAnswer) AsBasicIntangible() (BasicIntangible, bool) + func (rsrsa RelatedSearchesRelatedSearchAnswer) AsBasicMediaObject() (BasicMediaObject, bool) + func (rsrsa RelatedSearchesRelatedSearchAnswer) AsBasicResponse() (BasicResponse, bool) + func (rsrsa RelatedSearchesRelatedSearchAnswer) AsBasicResponseBase() (BasicResponseBase, bool) + func (rsrsa RelatedSearchesRelatedSearchAnswer) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (rsrsa RelatedSearchesRelatedSearchAnswer) AsBasicThing() (BasicThing, bool) + func (rsrsa RelatedSearchesRelatedSearchAnswer) AsComputation() (*Computation, bool) + func (rsrsa RelatedSearchesRelatedSearchAnswer) AsCreativeWork() (*CreativeWork, bool) + func (rsrsa RelatedSearchesRelatedSearchAnswer) AsErrorResponse() (*ErrorResponse, bool) + func (rsrsa RelatedSearchesRelatedSearchAnswer) AsIdentifiable() (*Identifiable, bool) + func (rsrsa RelatedSearchesRelatedSearchAnswer) AsImageObject() (*ImageObject, bool) + func (rsrsa RelatedSearchesRelatedSearchAnswer) AsImages() (*Images, bool) + func (rsrsa RelatedSearchesRelatedSearchAnswer) AsIntangible() (*Intangible, bool) + func (rsrsa RelatedSearchesRelatedSearchAnswer) AsMediaObject() (*MediaObject, bool) + func (rsrsa RelatedSearchesRelatedSearchAnswer) AsNews() (*News, bool) + func (rsrsa RelatedSearchesRelatedSearchAnswer) AsNewsArticle() (*NewsArticle, bool) + func (rsrsa RelatedSearchesRelatedSearchAnswer) AsPlaces() (*Places, bool) + func (rsrsa RelatedSearchesRelatedSearchAnswer) AsRelatedSearchesRelatedSearchAnswer() (*RelatedSearchesRelatedSearchAnswer, bool) + func (rsrsa RelatedSearchesRelatedSearchAnswer) AsResponse() (*Response, bool) + func (rsrsa RelatedSearchesRelatedSearchAnswer) AsResponseBase() (*ResponseBase, bool) + func (rsrsa RelatedSearchesRelatedSearchAnswer) AsSearchResponse() (*SearchResponse, bool) + func (rsrsa RelatedSearchesRelatedSearchAnswer) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (rsrsa RelatedSearchesRelatedSearchAnswer) AsSpellSuggestions() (*SpellSuggestions, bool) + func (rsrsa RelatedSearchesRelatedSearchAnswer) AsStructuredValue() (*StructuredValue, bool) + func (rsrsa RelatedSearchesRelatedSearchAnswer) AsThing() (*Thing, bool) + func (rsrsa RelatedSearchesRelatedSearchAnswer) AsTimeZone() (*TimeZone, bool) + func (rsrsa RelatedSearchesRelatedSearchAnswer) AsVideoObject() (*VideoObject, bool) + func (rsrsa RelatedSearchesRelatedSearchAnswer) AsVideos() (*Videos, bool) + func (rsrsa RelatedSearchesRelatedSearchAnswer) AsWebPage() (*WebPage, bool) + func (rsrsa RelatedSearchesRelatedSearchAnswer) AsWebWebAnswer() (*WebWebAnswer, bool) + func (rsrsa RelatedSearchesRelatedSearchAnswer) MarshalJSON() ([]byte, error) + type Response struct + ID *string + Type TypeBasicResponseBase + WebSearchURL *string + func (r Response) AsAnswer() (*Answer, bool) + func (r Response) AsArticle() (*Article, bool) + func (r Response) AsBasicAnswer() (BasicAnswer, bool) + func (r Response) AsBasicArticle() (BasicArticle, bool) + func (r Response) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (r Response) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (r Response) AsBasicIntangible() (BasicIntangible, bool) + func (r Response) AsBasicMediaObject() (BasicMediaObject, bool) + func (r Response) AsBasicResponse() (BasicResponse, bool) + func (r Response) AsBasicResponseBase() (BasicResponseBase, bool) + func (r Response) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (r Response) AsBasicThing() (BasicThing, bool) + func (r Response) AsComputation() (*Computation, bool) + func (r Response) AsCreativeWork() (*CreativeWork, bool) + func (r Response) AsErrorResponse() (*ErrorResponse, bool) + func (r Response) AsIdentifiable() (*Identifiable, bool) + func (r Response) AsImageObject() (*ImageObject, bool) + func (r Response) AsImages() (*Images, bool) + func (r Response) AsIntangible() (*Intangible, bool) + func (r Response) AsMediaObject() (*MediaObject, bool) + func (r Response) AsNews() (*News, bool) + func (r Response) AsNewsArticle() (*NewsArticle, bool) + func (r Response) AsPlaces() (*Places, bool) + func (r Response) AsRelatedSearchesRelatedSearchAnswer() (*RelatedSearchesRelatedSearchAnswer, bool) + func (r Response) AsResponse() (*Response, bool) + func (r Response) AsResponseBase() (*ResponseBase, bool) + func (r Response) AsSearchResponse() (*SearchResponse, bool) + func (r Response) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (r Response) AsSpellSuggestions() (*SpellSuggestions, bool) + func (r Response) AsStructuredValue() (*StructuredValue, bool) + func (r Response) AsThing() (*Thing, bool) + func (r Response) AsTimeZone() (*TimeZone, bool) + func (r Response) AsVideoObject() (*VideoObject, bool) + func (r Response) AsVideos() (*Videos, bool) + func (r Response) AsWebPage() (*WebPage, bool) + func (r Response) AsWebWebAnswer() (*WebWebAnswer, bool) + func (r Response) MarshalJSON() ([]byte, error) + type ResponseBase struct + Type TypeBasicResponseBase + func (rb ResponseBase) AsAnswer() (*Answer, bool) + func (rb ResponseBase) AsArticle() (*Article, bool) + func (rb ResponseBase) AsBasicAnswer() (BasicAnswer, bool) + func (rb ResponseBase) AsBasicArticle() (BasicArticle, bool) + func (rb ResponseBase) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (rb ResponseBase) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (rb ResponseBase) AsBasicIntangible() (BasicIntangible, bool) + func (rb ResponseBase) AsBasicMediaObject() (BasicMediaObject, bool) + func (rb ResponseBase) AsBasicResponse() (BasicResponse, bool) + func (rb ResponseBase) AsBasicResponseBase() (BasicResponseBase, bool) + func (rb ResponseBase) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (rb ResponseBase) AsBasicThing() (BasicThing, bool) + func (rb ResponseBase) AsComputation() (*Computation, bool) + func (rb ResponseBase) AsCreativeWork() (*CreativeWork, bool) + func (rb ResponseBase) AsErrorResponse() (*ErrorResponse, bool) + func (rb ResponseBase) AsIdentifiable() (*Identifiable, bool) + func (rb ResponseBase) AsImageObject() (*ImageObject, bool) + func (rb ResponseBase) AsImages() (*Images, bool) + func (rb ResponseBase) AsIntangible() (*Intangible, bool) + func (rb ResponseBase) AsMediaObject() (*MediaObject, bool) + func (rb ResponseBase) AsNews() (*News, bool) + func (rb ResponseBase) AsNewsArticle() (*NewsArticle, bool) + func (rb ResponseBase) AsPlaces() (*Places, bool) + func (rb ResponseBase) AsRelatedSearchesRelatedSearchAnswer() (*RelatedSearchesRelatedSearchAnswer, bool) + func (rb ResponseBase) AsResponse() (*Response, bool) + func (rb ResponseBase) AsResponseBase() (*ResponseBase, bool) + func (rb ResponseBase) AsSearchResponse() (*SearchResponse, bool) + func (rb ResponseBase) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (rb ResponseBase) AsSpellSuggestions() (*SpellSuggestions, bool) + func (rb ResponseBase) AsStructuredValue() (*StructuredValue, bool) + func (rb ResponseBase) AsThing() (*Thing, bool) + func (rb ResponseBase) AsTimeZone() (*TimeZone, bool) + func (rb ResponseBase) AsVideoObject() (*VideoObject, bool) + func (rb ResponseBase) AsVideos() (*Videos, bool) + func (rb ResponseBase) AsWebPage() (*WebPage, bool) + func (rb ResponseBase) AsWebWebAnswer() (*WebWebAnswer, bool) + func (rb ResponseBase) MarshalJSON() ([]byte, error) + type SafeSearch string + const Moderate + const Off + const Strict + func PossibleSafeSearchValues() []SafeSearch + type SearchResponse struct + Computation *Computation + ID *string + Images *Images + News *News + QueryContext *QueryContext + RankingResponse *RankingRankingResponse + RelatedSearches *RelatedSearchesRelatedSearchAnswer + SpellSuggestions *SpellSuggestions + TimeZone *TimeZone + Type TypeBasicResponseBase + Videos *Videos + WebPages *WebWebAnswer + WebSearchURL *string + func (sr SearchResponse) AsAnswer() (*Answer, bool) + func (sr SearchResponse) AsArticle() (*Article, bool) + func (sr SearchResponse) AsBasicAnswer() (BasicAnswer, bool) + func (sr SearchResponse) AsBasicArticle() (BasicArticle, bool) + func (sr SearchResponse) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (sr SearchResponse) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (sr SearchResponse) AsBasicIntangible() (BasicIntangible, bool) + func (sr SearchResponse) AsBasicMediaObject() (BasicMediaObject, bool) + func (sr SearchResponse) AsBasicResponse() (BasicResponse, bool) + func (sr SearchResponse) AsBasicResponseBase() (BasicResponseBase, bool) + func (sr SearchResponse) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (sr SearchResponse) AsBasicThing() (BasicThing, bool) + func (sr SearchResponse) AsComputation() (*Computation, bool) + func (sr SearchResponse) AsCreativeWork() (*CreativeWork, bool) + func (sr SearchResponse) AsErrorResponse() (*ErrorResponse, bool) + func (sr SearchResponse) AsIdentifiable() (*Identifiable, bool) + func (sr SearchResponse) AsImageObject() (*ImageObject, bool) + func (sr SearchResponse) AsImages() (*Images, bool) + func (sr SearchResponse) AsIntangible() (*Intangible, bool) + func (sr SearchResponse) AsMediaObject() (*MediaObject, bool) + func (sr SearchResponse) AsNews() (*News, bool) + func (sr SearchResponse) AsNewsArticle() (*NewsArticle, bool) + func (sr SearchResponse) AsPlaces() (*Places, bool) + func (sr SearchResponse) AsRelatedSearchesRelatedSearchAnswer() (*RelatedSearchesRelatedSearchAnswer, bool) + func (sr SearchResponse) AsResponse() (*Response, bool) + func (sr SearchResponse) AsResponseBase() (*ResponseBase, bool) + func (sr SearchResponse) AsSearchResponse() (*SearchResponse, bool) + func (sr SearchResponse) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (sr SearchResponse) AsSpellSuggestions() (*SpellSuggestions, bool) + func (sr SearchResponse) AsStructuredValue() (*StructuredValue, bool) + func (sr SearchResponse) AsThing() (*Thing, bool) + func (sr SearchResponse) AsTimeZone() (*TimeZone, bool) + func (sr SearchResponse) AsVideoObject() (*VideoObject, bool) + func (sr SearchResponse) AsVideos() (*Videos, bool) + func (sr SearchResponse) AsWebPage() (*WebPage, bool) + func (sr SearchResponse) AsWebWebAnswer() (*WebWebAnswer, bool) + func (sr SearchResponse) MarshalJSON() ([]byte, error) + type SearchResultsAnswer struct + FollowUpQueries *[]Query + ID *string + IsFamilyFriendly *bool + QueryContext *QueryContext + TotalEstimatedMatches *int64 + Type TypeBasicResponseBase + WebSearchURL *string + func (sra SearchResultsAnswer) AsAnswer() (*Answer, bool) + func (sra SearchResultsAnswer) AsArticle() (*Article, bool) + func (sra SearchResultsAnswer) AsBasicAnswer() (BasicAnswer, bool) + func (sra SearchResultsAnswer) AsBasicArticle() (BasicArticle, bool) + func (sra SearchResultsAnswer) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (sra SearchResultsAnswer) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (sra SearchResultsAnswer) AsBasicIntangible() (BasicIntangible, bool) + func (sra SearchResultsAnswer) AsBasicMediaObject() (BasicMediaObject, bool) + func (sra SearchResultsAnswer) AsBasicResponse() (BasicResponse, bool) + func (sra SearchResultsAnswer) AsBasicResponseBase() (BasicResponseBase, bool) + func (sra SearchResultsAnswer) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (sra SearchResultsAnswer) AsBasicThing() (BasicThing, bool) + func (sra SearchResultsAnswer) AsComputation() (*Computation, bool) + func (sra SearchResultsAnswer) AsCreativeWork() (*CreativeWork, bool) + func (sra SearchResultsAnswer) AsErrorResponse() (*ErrorResponse, bool) + func (sra SearchResultsAnswer) AsIdentifiable() (*Identifiable, bool) + func (sra SearchResultsAnswer) AsImageObject() (*ImageObject, bool) + func (sra SearchResultsAnswer) AsImages() (*Images, bool) + func (sra SearchResultsAnswer) AsIntangible() (*Intangible, bool) + func (sra SearchResultsAnswer) AsMediaObject() (*MediaObject, bool) + func (sra SearchResultsAnswer) AsNews() (*News, bool) + func (sra SearchResultsAnswer) AsNewsArticle() (*NewsArticle, bool) + func (sra SearchResultsAnswer) AsPlaces() (*Places, bool) + func (sra SearchResultsAnswer) AsRelatedSearchesRelatedSearchAnswer() (*RelatedSearchesRelatedSearchAnswer, bool) + func (sra SearchResultsAnswer) AsResponse() (*Response, bool) + func (sra SearchResultsAnswer) AsResponseBase() (*ResponseBase, bool) + func (sra SearchResultsAnswer) AsSearchResponse() (*SearchResponse, bool) + func (sra SearchResultsAnswer) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (sra SearchResultsAnswer) AsSpellSuggestions() (*SpellSuggestions, bool) + func (sra SearchResultsAnswer) AsStructuredValue() (*StructuredValue, bool) + func (sra SearchResultsAnswer) AsThing() (*Thing, bool) + func (sra SearchResultsAnswer) AsTimeZone() (*TimeZone, bool) + func (sra SearchResultsAnswer) AsVideoObject() (*VideoObject, bool) + func (sra SearchResultsAnswer) AsVideos() (*Videos, bool) + func (sra SearchResultsAnswer) AsWebPage() (*WebPage, bool) + func (sra SearchResultsAnswer) AsWebWebAnswer() (*WebWebAnswer, bool) + func (sra SearchResultsAnswer) MarshalJSON() ([]byte, error) + type SpellSuggestions struct + FollowUpQueries *[]Query + ID *string + IsFamilyFriendly *bool + QueryContext *QueryContext + TotalEstimatedMatches *int64 + Type TypeBasicResponseBase + Value *[]Query + WebSearchURL *string + func (ss SpellSuggestions) AsAnswer() (*Answer, bool) + func (ss SpellSuggestions) AsArticle() (*Article, bool) + func (ss SpellSuggestions) AsBasicAnswer() (BasicAnswer, bool) + func (ss SpellSuggestions) AsBasicArticle() (BasicArticle, bool) + func (ss SpellSuggestions) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (ss SpellSuggestions) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (ss SpellSuggestions) AsBasicIntangible() (BasicIntangible, bool) + func (ss SpellSuggestions) AsBasicMediaObject() (BasicMediaObject, bool) + func (ss SpellSuggestions) AsBasicResponse() (BasicResponse, bool) + func (ss SpellSuggestions) AsBasicResponseBase() (BasicResponseBase, bool) + func (ss SpellSuggestions) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (ss SpellSuggestions) AsBasicThing() (BasicThing, bool) + func (ss SpellSuggestions) AsComputation() (*Computation, bool) + func (ss SpellSuggestions) AsCreativeWork() (*CreativeWork, bool) + func (ss SpellSuggestions) AsErrorResponse() (*ErrorResponse, bool) + func (ss SpellSuggestions) AsIdentifiable() (*Identifiable, bool) + func (ss SpellSuggestions) AsImageObject() (*ImageObject, bool) + func (ss SpellSuggestions) AsImages() (*Images, bool) + func (ss SpellSuggestions) AsIntangible() (*Intangible, bool) + func (ss SpellSuggestions) AsMediaObject() (*MediaObject, bool) + func (ss SpellSuggestions) AsNews() (*News, bool) + func (ss SpellSuggestions) AsNewsArticle() (*NewsArticle, bool) + func (ss SpellSuggestions) AsPlaces() (*Places, bool) + func (ss SpellSuggestions) AsRelatedSearchesRelatedSearchAnswer() (*RelatedSearchesRelatedSearchAnswer, bool) + func (ss SpellSuggestions) AsResponse() (*Response, bool) + func (ss SpellSuggestions) AsResponseBase() (*ResponseBase, bool) + func (ss SpellSuggestions) AsSearchResponse() (*SearchResponse, bool) + func (ss SpellSuggestions) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (ss SpellSuggestions) AsSpellSuggestions() (*SpellSuggestions, bool) + func (ss SpellSuggestions) AsStructuredValue() (*StructuredValue, bool) + func (ss SpellSuggestions) AsThing() (*Thing, bool) + func (ss SpellSuggestions) AsTimeZone() (*TimeZone, bool) + func (ss SpellSuggestions) AsVideoObject() (*VideoObject, bool) + func (ss SpellSuggestions) AsVideos() (*Videos, bool) + func (ss SpellSuggestions) AsWebPage() (*WebPage, bool) + func (ss SpellSuggestions) AsWebWebAnswer() (*WebWebAnswer, bool) + func (ss SpellSuggestions) MarshalJSON() ([]byte, error) + type StructuredValue struct + BingID *string + Description *string + ID *string + Image *ImageObject + Name *string + Type TypeBasicResponseBase + URL *string + WebSearchURL *string + func (sv StructuredValue) AsAnswer() (*Answer, bool) + func (sv StructuredValue) AsArticle() (*Article, bool) + func (sv StructuredValue) AsBasicAnswer() (BasicAnswer, bool) + func (sv StructuredValue) AsBasicArticle() (BasicArticle, bool) + func (sv StructuredValue) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (sv StructuredValue) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (sv StructuredValue) AsBasicIntangible() (BasicIntangible, bool) + func (sv StructuredValue) AsBasicMediaObject() (BasicMediaObject, bool) + func (sv StructuredValue) AsBasicResponse() (BasicResponse, bool) + func (sv StructuredValue) AsBasicResponseBase() (BasicResponseBase, bool) + func (sv StructuredValue) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (sv StructuredValue) AsBasicThing() (BasicThing, bool) + func (sv StructuredValue) AsComputation() (*Computation, bool) + func (sv StructuredValue) AsCreativeWork() (*CreativeWork, bool) + func (sv StructuredValue) AsErrorResponse() (*ErrorResponse, bool) + func (sv StructuredValue) AsIdentifiable() (*Identifiable, bool) + func (sv StructuredValue) AsImageObject() (*ImageObject, bool) + func (sv StructuredValue) AsImages() (*Images, bool) + func (sv StructuredValue) AsIntangible() (*Intangible, bool) + func (sv StructuredValue) AsMediaObject() (*MediaObject, bool) + func (sv StructuredValue) AsNews() (*News, bool) + func (sv StructuredValue) AsNewsArticle() (*NewsArticle, bool) + func (sv StructuredValue) AsPlaces() (*Places, bool) + func (sv StructuredValue) AsRelatedSearchesRelatedSearchAnswer() (*RelatedSearchesRelatedSearchAnswer, bool) + func (sv StructuredValue) AsResponse() (*Response, bool) + func (sv StructuredValue) AsResponseBase() (*ResponseBase, bool) + func (sv StructuredValue) AsSearchResponse() (*SearchResponse, bool) + func (sv StructuredValue) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (sv StructuredValue) AsSpellSuggestions() (*SpellSuggestions, bool) + func (sv StructuredValue) AsStructuredValue() (*StructuredValue, bool) + func (sv StructuredValue) AsThing() (*Thing, bool) + func (sv StructuredValue) AsTimeZone() (*TimeZone, bool) + func (sv StructuredValue) AsVideoObject() (*VideoObject, bool) + func (sv StructuredValue) AsVideos() (*Videos, bool) + func (sv StructuredValue) AsWebPage() (*WebPage, bool) + func (sv StructuredValue) AsWebWebAnswer() (*WebWebAnswer, bool) + func (sv StructuredValue) MarshalJSON() ([]byte, error) + type TextFormat string + const HTML + const Raw + func PossibleTextFormatValues() []TextFormat + type Thing struct + BingID *string + Description *string + ID *string + Image *ImageObject + Name *string + Type TypeBasicResponseBase + URL *string + WebSearchURL *string + func (t Thing) AsAnswer() (*Answer, bool) + func (t Thing) AsArticle() (*Article, bool) + func (t Thing) AsBasicAnswer() (BasicAnswer, bool) + func (t Thing) AsBasicArticle() (BasicArticle, bool) + func (t Thing) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (t Thing) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (t Thing) AsBasicIntangible() (BasicIntangible, bool) + func (t Thing) AsBasicMediaObject() (BasicMediaObject, bool) + func (t Thing) AsBasicResponse() (BasicResponse, bool) + func (t Thing) AsBasicResponseBase() (BasicResponseBase, bool) + func (t Thing) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (t Thing) AsBasicThing() (BasicThing, bool) + func (t Thing) AsComputation() (*Computation, bool) + func (t Thing) AsCreativeWork() (*CreativeWork, bool) + func (t Thing) AsErrorResponse() (*ErrorResponse, bool) + func (t Thing) AsIdentifiable() (*Identifiable, bool) + func (t Thing) AsImageObject() (*ImageObject, bool) + func (t Thing) AsImages() (*Images, bool) + func (t Thing) AsIntangible() (*Intangible, bool) + func (t Thing) AsMediaObject() (*MediaObject, bool) + func (t Thing) AsNews() (*News, bool) + func (t Thing) AsNewsArticle() (*NewsArticle, bool) + func (t Thing) AsPlaces() (*Places, bool) + func (t Thing) AsRelatedSearchesRelatedSearchAnswer() (*RelatedSearchesRelatedSearchAnswer, bool) + func (t Thing) AsResponse() (*Response, bool) + func (t Thing) AsResponseBase() (*ResponseBase, bool) + func (t Thing) AsSearchResponse() (*SearchResponse, bool) + func (t Thing) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (t Thing) AsSpellSuggestions() (*SpellSuggestions, bool) + func (t Thing) AsStructuredValue() (*StructuredValue, bool) + func (t Thing) AsThing() (*Thing, bool) + func (t Thing) AsTimeZone() (*TimeZone, bool) + func (t Thing) AsVideoObject() (*VideoObject, bool) + func (t Thing) AsVideos() (*Videos, bool) + func (t Thing) AsWebPage() (*WebPage, bool) + func (t Thing) AsWebWebAnswer() (*WebWebAnswer, bool) + func (t Thing) MarshalJSON() ([]byte, error) + type TimeZone struct + FollowUpQueries *[]Query + ID *string + IsFamilyFriendly *bool + OtherCityTimes *[]TimeZoneTimeZoneInformation + PrimaryCityTime *TimeZoneTimeZoneInformation + QueryContext *QueryContext + TotalEstimatedMatches *int64 + Type TypeBasicResponseBase + WebSearchURL *string + func (tz TimeZone) AsAnswer() (*Answer, bool) + func (tz TimeZone) AsArticle() (*Article, bool) + func (tz TimeZone) AsBasicAnswer() (BasicAnswer, bool) + func (tz TimeZone) AsBasicArticle() (BasicArticle, bool) + func (tz TimeZone) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (tz TimeZone) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (tz TimeZone) AsBasicIntangible() (BasicIntangible, bool) + func (tz TimeZone) AsBasicMediaObject() (BasicMediaObject, bool) + func (tz TimeZone) AsBasicResponse() (BasicResponse, bool) + func (tz TimeZone) AsBasicResponseBase() (BasicResponseBase, bool) + func (tz TimeZone) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (tz TimeZone) AsBasicThing() (BasicThing, bool) + func (tz TimeZone) AsComputation() (*Computation, bool) + func (tz TimeZone) AsCreativeWork() (*CreativeWork, bool) + func (tz TimeZone) AsErrorResponse() (*ErrorResponse, bool) + func (tz TimeZone) AsIdentifiable() (*Identifiable, bool) + func (tz TimeZone) AsImageObject() (*ImageObject, bool) + func (tz TimeZone) AsImages() (*Images, bool) + func (tz TimeZone) AsIntangible() (*Intangible, bool) + func (tz TimeZone) AsMediaObject() (*MediaObject, bool) + func (tz TimeZone) AsNews() (*News, bool) + func (tz TimeZone) AsNewsArticle() (*NewsArticle, bool) + func (tz TimeZone) AsPlaces() (*Places, bool) + func (tz TimeZone) AsRelatedSearchesRelatedSearchAnswer() (*RelatedSearchesRelatedSearchAnswer, bool) + func (tz TimeZone) AsResponse() (*Response, bool) + func (tz TimeZone) AsResponseBase() (*ResponseBase, bool) + func (tz TimeZone) AsSearchResponse() (*SearchResponse, bool) + func (tz TimeZone) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (tz TimeZone) AsSpellSuggestions() (*SpellSuggestions, bool) + func (tz TimeZone) AsStructuredValue() (*StructuredValue, bool) + func (tz TimeZone) AsThing() (*Thing, bool) + func (tz TimeZone) AsTimeZone() (*TimeZone, bool) + func (tz TimeZone) AsVideoObject() (*VideoObject, bool) + func (tz TimeZone) AsVideos() (*Videos, bool) + func (tz TimeZone) AsWebPage() (*WebPage, bool) + func (tz TimeZone) AsWebWebAnswer() (*WebWebAnswer, bool) + func (tz TimeZone) MarshalJSON() ([]byte, error) + type TimeZoneTimeZoneInformation struct + Location *string + Time *string + UtcOffset *string + type Type string + const TypeWebWebGrouping + func PossibleTypeValues() []Type + type TypeBasicResponseBase string + const TypeAnswer + const TypeArticle + const TypeComputation + const TypeCreativeWork + const TypeErrorResponse + const TypeIdentifiable + const TypeImageObject + const TypeImages + const TypeIntangible + const TypeMediaObject + const TypeNews + const TypeNewsArticle + const TypePlaces + const TypeRelatedSearchesRelatedSearchAnswer + const TypeResponse + const TypeResponseBase + const TypeSearchResponse + const TypeSearchResultsAnswer + const TypeSpellSuggestions + const TypeStructuredValue + const TypeThing + const TypeTimeZone + const TypeVideoObject + const TypeVideos + const TypeWebPage + const TypeWebWebAnswer + func PossibleTypeBasicResponseBaseValues() []TypeBasicResponseBase + type VideoObject struct + AllowHTTPSEmbed *bool + AllowMobileEmbed *bool + BingID *string + ContentURL *string + Description *string + EmbedHTML *string + Height *int32 + HostPageURL *string + ID *string + Image *ImageObject + IsSuperfresh *bool + MotionThumbnailID *string + MotionThumbnailURL *string + Name *string + Provider *[]BasicThing + Text *string + Thumbnail *ImageObject + ThumbnailURL *string + Type TypeBasicResponseBase + URL *string + VideoID *string + ViewCount *int32 + WebSearchURL *string + Width *int32 + func (vo *VideoObject) UnmarshalJSON(body []byte) error + func (vo VideoObject) AsAnswer() (*Answer, bool) + func (vo VideoObject) AsArticle() (*Article, bool) + func (vo VideoObject) AsBasicAnswer() (BasicAnswer, bool) + func (vo VideoObject) AsBasicArticle() (BasicArticle, bool) + func (vo VideoObject) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (vo VideoObject) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (vo VideoObject) AsBasicIntangible() (BasicIntangible, bool) + func (vo VideoObject) AsBasicMediaObject() (BasicMediaObject, bool) + func (vo VideoObject) AsBasicResponse() (BasicResponse, bool) + func (vo VideoObject) AsBasicResponseBase() (BasicResponseBase, bool) + func (vo VideoObject) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (vo VideoObject) AsBasicThing() (BasicThing, bool) + func (vo VideoObject) AsComputation() (*Computation, bool) + func (vo VideoObject) AsCreativeWork() (*CreativeWork, bool) + func (vo VideoObject) AsErrorResponse() (*ErrorResponse, bool) + func (vo VideoObject) AsIdentifiable() (*Identifiable, bool) + func (vo VideoObject) AsImageObject() (*ImageObject, bool) + func (vo VideoObject) AsImages() (*Images, bool) + func (vo VideoObject) AsIntangible() (*Intangible, bool) + func (vo VideoObject) AsMediaObject() (*MediaObject, bool) + func (vo VideoObject) AsNews() (*News, bool) + func (vo VideoObject) AsNewsArticle() (*NewsArticle, bool) + func (vo VideoObject) AsPlaces() (*Places, bool) + func (vo VideoObject) AsRelatedSearchesRelatedSearchAnswer() (*RelatedSearchesRelatedSearchAnswer, bool) + func (vo VideoObject) AsResponse() (*Response, bool) + func (vo VideoObject) AsResponseBase() (*ResponseBase, bool) + func (vo VideoObject) AsSearchResponse() (*SearchResponse, bool) + func (vo VideoObject) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (vo VideoObject) AsSpellSuggestions() (*SpellSuggestions, bool) + func (vo VideoObject) AsStructuredValue() (*StructuredValue, bool) + func (vo VideoObject) AsThing() (*Thing, bool) + func (vo VideoObject) AsTimeZone() (*TimeZone, bool) + func (vo VideoObject) AsVideoObject() (*VideoObject, bool) + func (vo VideoObject) AsVideos() (*Videos, bool) + func (vo VideoObject) AsWebPage() (*WebPage, bool) + func (vo VideoObject) AsWebWebAnswer() (*WebWebAnswer, bool) + func (vo VideoObject) MarshalJSON() ([]byte, error) + type Videos struct + FollowUpQueries *[]Query + ID *string + IsFamilyFriendly *bool + NextOffset *int32 + QueryContext *QueryContext + QueryExpansions *[]Query + RelatedSearches *[]Query + TotalEstimatedMatches *int64 + Type TypeBasicResponseBase + Value *[]VideoObject + WebSearchURL *string + func (vVar Videos) AsAnswer() (*Answer, bool) + func (vVar Videos) AsArticle() (*Article, bool) + func (vVar Videos) AsBasicAnswer() (BasicAnswer, bool) + func (vVar Videos) AsBasicArticle() (BasicArticle, bool) + func (vVar Videos) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (vVar Videos) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (vVar Videos) AsBasicIntangible() (BasicIntangible, bool) + func (vVar Videos) AsBasicMediaObject() (BasicMediaObject, bool) + func (vVar Videos) AsBasicResponse() (BasicResponse, bool) + func (vVar Videos) AsBasicResponseBase() (BasicResponseBase, bool) + func (vVar Videos) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (vVar Videos) AsBasicThing() (BasicThing, bool) + func (vVar Videos) AsComputation() (*Computation, bool) + func (vVar Videos) AsCreativeWork() (*CreativeWork, bool) + func (vVar Videos) AsErrorResponse() (*ErrorResponse, bool) + func (vVar Videos) AsIdentifiable() (*Identifiable, bool) + func (vVar Videos) AsImageObject() (*ImageObject, bool) + func (vVar Videos) AsImages() (*Images, bool) + func (vVar Videos) AsIntangible() (*Intangible, bool) + func (vVar Videos) AsMediaObject() (*MediaObject, bool) + func (vVar Videos) AsNews() (*News, bool) + func (vVar Videos) AsNewsArticle() (*NewsArticle, bool) + func (vVar Videos) AsPlaces() (*Places, bool) + func (vVar Videos) AsRelatedSearchesRelatedSearchAnswer() (*RelatedSearchesRelatedSearchAnswer, bool) + func (vVar Videos) AsResponse() (*Response, bool) + func (vVar Videos) AsResponseBase() (*ResponseBase, bool) + func (vVar Videos) AsSearchResponse() (*SearchResponse, bool) + func (vVar Videos) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (vVar Videos) AsSpellSuggestions() (*SpellSuggestions, bool) + func (vVar Videos) AsStructuredValue() (*StructuredValue, bool) + func (vVar Videos) AsThing() (*Thing, bool) + func (vVar Videos) AsTimeZone() (*TimeZone, bool) + func (vVar Videos) AsVideoObject() (*VideoObject, bool) + func (vVar Videos) AsVideos() (*Videos, bool) + func (vVar Videos) AsWebPage() (*WebPage, bool) + func (vVar Videos) AsWebWebAnswer() (*WebWebAnswer, bool) + func (vVar Videos) MarshalJSON() ([]byte, error) + type WebClient struct + func NewWebClient() WebClient + func (client WebClient) Search(ctx context.Context, query string, acceptLanguage string, pragma string, ...) (result SearchResponse, err error) + func (client WebClient) SearchPreparer(ctx context.Context, query string, acceptLanguage string, pragma string, ...) (*http.Request, error) + func (client WebClient) SearchResponder(resp *http.Response) (result SearchResponse, err error) + func (client WebClient) SearchSender(req *http.Request) (*http.Response, error) + type WebMetaTag struct + Content *string + Name *string + type WebPage struct + BingID *string + DateLastCrawled *string + DeepLinks *[]WebPage + Description *string + DisplayURL *string + ID *string + Image *ImageObject + Name *string + PrimaryImageOfPage *ImageObject + Provider *[]BasicThing + SearchTags *[]WebMetaTag + Snippet *string + Text *string + ThumbnailURL *string + Type TypeBasicResponseBase + URL *string + WebSearchURL *string + func (wp *WebPage) UnmarshalJSON(body []byte) error + func (wp WebPage) AsAnswer() (*Answer, bool) + func (wp WebPage) AsArticle() (*Article, bool) + func (wp WebPage) AsBasicAnswer() (BasicAnswer, bool) + func (wp WebPage) AsBasicArticle() (BasicArticle, bool) + func (wp WebPage) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (wp WebPage) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (wp WebPage) AsBasicIntangible() (BasicIntangible, bool) + func (wp WebPage) AsBasicMediaObject() (BasicMediaObject, bool) + func (wp WebPage) AsBasicResponse() (BasicResponse, bool) + func (wp WebPage) AsBasicResponseBase() (BasicResponseBase, bool) + func (wp WebPage) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (wp WebPage) AsBasicThing() (BasicThing, bool) + func (wp WebPage) AsComputation() (*Computation, bool) + func (wp WebPage) AsCreativeWork() (*CreativeWork, bool) + func (wp WebPage) AsErrorResponse() (*ErrorResponse, bool) + func (wp WebPage) AsIdentifiable() (*Identifiable, bool) + func (wp WebPage) AsImageObject() (*ImageObject, bool) + func (wp WebPage) AsImages() (*Images, bool) + func (wp WebPage) AsIntangible() (*Intangible, bool) + func (wp WebPage) AsMediaObject() (*MediaObject, bool) + func (wp WebPage) AsNews() (*News, bool) + func (wp WebPage) AsNewsArticle() (*NewsArticle, bool) + func (wp WebPage) AsPlaces() (*Places, bool) + func (wp WebPage) AsRelatedSearchesRelatedSearchAnswer() (*RelatedSearchesRelatedSearchAnswer, bool) + func (wp WebPage) AsResponse() (*Response, bool) + func (wp WebPage) AsResponseBase() (*ResponseBase, bool) + func (wp WebPage) AsSearchResponse() (*SearchResponse, bool) + func (wp WebPage) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (wp WebPage) AsSpellSuggestions() (*SpellSuggestions, bool) + func (wp WebPage) AsStructuredValue() (*StructuredValue, bool) + func (wp WebPage) AsThing() (*Thing, bool) + func (wp WebPage) AsTimeZone() (*TimeZone, bool) + func (wp WebPage) AsVideoObject() (*VideoObject, bool) + func (wp WebPage) AsVideos() (*Videos, bool) + func (wp WebPage) AsWebPage() (*WebPage, bool) + func (wp WebPage) AsWebWebAnswer() (*WebWebAnswer, bool) + func (wp WebPage) MarshalJSON() ([]byte, error) + type WebWebAnswer struct + FollowUpQueries *[]Query + ID *string + IsFamilyFriendly *bool + QueryContext *QueryContext + SomeResultsRemoved *bool + TotalEstimatedMatches *int64 + Type TypeBasicResponseBase + Value *[]WebPage + WebSearchURL *string + func (wwa WebWebAnswer) AsAnswer() (*Answer, bool) + func (wwa WebWebAnswer) AsArticle() (*Article, bool) + func (wwa WebWebAnswer) AsBasicAnswer() (BasicAnswer, bool) + func (wwa WebWebAnswer) AsBasicArticle() (BasicArticle, bool) + func (wwa WebWebAnswer) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (wwa WebWebAnswer) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (wwa WebWebAnswer) AsBasicIntangible() (BasicIntangible, bool) + func (wwa WebWebAnswer) AsBasicMediaObject() (BasicMediaObject, bool) + func (wwa WebWebAnswer) AsBasicResponse() (BasicResponse, bool) + func (wwa WebWebAnswer) AsBasicResponseBase() (BasicResponseBase, bool) + func (wwa WebWebAnswer) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (wwa WebWebAnswer) AsBasicThing() (BasicThing, bool) + func (wwa WebWebAnswer) AsComputation() (*Computation, bool) + func (wwa WebWebAnswer) AsCreativeWork() (*CreativeWork, bool) + func (wwa WebWebAnswer) AsErrorResponse() (*ErrorResponse, bool) + func (wwa WebWebAnswer) AsIdentifiable() (*Identifiable, bool) + func (wwa WebWebAnswer) AsImageObject() (*ImageObject, bool) + func (wwa WebWebAnswer) AsImages() (*Images, bool) + func (wwa WebWebAnswer) AsIntangible() (*Intangible, bool) + func (wwa WebWebAnswer) AsMediaObject() (*MediaObject, bool) + func (wwa WebWebAnswer) AsNews() (*News, bool) + func (wwa WebWebAnswer) AsNewsArticle() (*NewsArticle, bool) + func (wwa WebWebAnswer) AsPlaces() (*Places, bool) + func (wwa WebWebAnswer) AsRelatedSearchesRelatedSearchAnswer() (*RelatedSearchesRelatedSearchAnswer, bool) + func (wwa WebWebAnswer) AsResponse() (*Response, bool) + func (wwa WebWebAnswer) AsResponseBase() (*ResponseBase, bool) + func (wwa WebWebAnswer) AsSearchResponse() (*SearchResponse, bool) + func (wwa WebWebAnswer) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (wwa WebWebAnswer) AsSpellSuggestions() (*SpellSuggestions, bool) + func (wwa WebWebAnswer) AsStructuredValue() (*StructuredValue, bool) + func (wwa WebWebAnswer) AsThing() (*Thing, bool) + func (wwa WebWebAnswer) AsTimeZone() (*TimeZone, bool) + func (wwa WebWebAnswer) AsVideoObject() (*VideoObject, bool) + func (wwa WebWebAnswer) AsVideos() (*Videos, bool) + func (wwa WebWebAnswer) AsWebPage() (*WebPage, bool) + func (wwa WebWebAnswer) AsWebWebAnswer() (*WebWebAnswer, bool) + func (wwa WebWebAnswer) MarshalJSON() ([]byte, error) + type WebWebGrouping struct + Type Type + WebPages *[]WebPage + func (wwg WebWebGrouping) AsBasicWebWebGrouping() (BasicWebWebGrouping, bool) + func (wwg WebWebGrouping) AsWebWebGrouping() (*WebWebGrouping, bool) + func (wwg WebWebGrouping) MarshalJSON() ([]byte, error) Other modules containing this package gopkg.in/azure/azure-sdk-for-go.v15 gopkg.in/azure/azure-sdk-for-go.v16 gopkg.in/azure/azure-sdk-for-go.v17 gopkg.in/azure/azure-sdk-for-go.v18 gopkg.in/azure/azure-sdk-for-go.v19 gopkg.in/azure/azure-sdk-for-go.v20 gopkg.in/azure/azure-sdk-for-go.v21 gopkg.in/azure/azure-sdk-for-go.v22 gopkg.in/azure/azure-sdk-for-go.v23 gopkg.in/azure/azure-sdk-for-go.v24 gopkg.in/azure/azure-sdk-for-go.v25 gopkg.in/azure/azure-sdk-for-go.v26 gopkg.in/azure/azure-sdk-for-go.v27 gopkg.in/azure/azure-sdk-for-go.v28 gopkg.in/azure/azure-sdk-for-go.v29 gopkg.in/azure/azure-sdk-for-go.v31 gopkg.in/azure/azure-sdk-for-go.v32 gopkg.in/azure/azure-sdk-for-go.v33 gopkg.in/azure/azure-sdk-for-go.v34 gopkg.in/azure/azure-sdk-for-go.v35 gopkg.in/azure/azure-sdk-for-go.v36 gopkg.in/azure/azure-sdk-for-go.v37 gopkg.in/azure/azure-sdk-for-go.v38 gopkg.in/azure/azure-sdk-for-go.v39 gopkg.in/azure/azure-sdk-for-go.v40 gopkg.in/azure/azure-sdk-for-go.v41 gopkg.in/azure/azure-sdk-for-go.v42 gopkg.in/azure/azure-sdk-for-go.v43 gopkg.in/azure/azure-sdk-for-go.v44 gopkg.in/azure/azure-sdk-for-go.v45 gopkg.in/azure/azure-sdk-for-go.v46 gopkg.in/azure/azure-sdk-for-go.v47 gopkg.in/azure/azure-sdk-for-go.v48 gopkg.in/azure/azure-sdk-for-go.v49