Versions in this module Expand all Collapse all v35 v35.1.0 Nov 1, 2019 v35.0.0 Oct 30, 2019 Changes in this version + const DefaultEndpoint + func UserAgent() string + func Version() string + type Airport struct + Address *PostalAddress + BingID *string + ContractualRules *[]BasicContractualRulesContractualRule + Description *string + EntityPresentationInfo *EntitiesEntityPresentationInfo + ID *string + IataCode *string + IcaoCode *string + Image *ImageObject + Name *string + Telephone *string + Type TypeBasicResponseBase + URL *string + WebSearchURL *string + func (a *Airport) UnmarshalJSON(body []byte) error + func (a Airport) AsAirport() (*Airport, bool) + func (a Airport) AsAnswer() (*Answer, bool) + func (a Airport) AsBasicAnswer() (BasicAnswer, bool) + func (a Airport) AsBasicCivicStructure() (BasicCivicStructure, bool) + func (a Airport) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (a Airport) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool) + func (a Airport) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool) + func (a Airport) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (a Airport) AsBasicIntangible() (BasicIntangible, bool) + func (a Airport) AsBasicLocalBusiness() (BasicLocalBusiness, bool) + func (a Airport) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool) + func (a Airport) AsBasicMediaObject() (BasicMediaObject, bool) + func (a Airport) AsBasicPlace() (BasicPlace, bool) + func (a Airport) AsBasicResponse() (BasicResponse, bool) + func (a Airport) AsBasicResponseBase() (BasicResponseBase, bool) + func (a Airport) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (a Airport) AsBasicStructuredValue() (BasicStructuredValue, bool) + func (a Airport) AsBasicThing() (BasicThing, bool) + func (a Airport) AsCivicStructure() (*CivicStructure, bool) + func (a Airport) AsCreativeWork() (*CreativeWork, bool) + func (a Airport) AsEntertainmentBusiness() (*EntertainmentBusiness, bool) + func (a Airport) AsEntities() (*Entities, bool) + func (a Airport) AsErrorResponse() (*ErrorResponse, bool) + func (a Airport) AsFoodEstablishment() (*FoodEstablishment, bool) + func (a Airport) AsHotel() (*Hotel, bool) + func (a Airport) AsIdentifiable() (*Identifiable, bool) + func (a Airport) AsImageObject() (*ImageObject, bool) + func (a Airport) AsIntangible() (*Intangible, bool) + func (a Airport) AsLicense() (*License, bool) + func (a Airport) AsLocalBusiness() (*LocalBusiness, bool) + func (a Airport) AsLodgingBusiness() (*LodgingBusiness, bool) + func (a Airport) AsMediaObject() (*MediaObject, bool) + func (a Airport) AsMovieTheater() (*MovieTheater, bool) + func (a Airport) AsOrganization() (*Organization, bool) + func (a Airport) AsPlace() (*Place, bool) + func (a Airport) AsPlaces() (*Places, bool) + func (a Airport) AsPostalAddress() (*PostalAddress, bool) + func (a Airport) AsResponse() (*Response, bool) + func (a Airport) AsResponseBase() (*ResponseBase, bool) + func (a Airport) AsRestaurant() (*Restaurant, bool) + func (a Airport) AsSearchResponse() (*SearchResponse, bool) + func (a Airport) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (a Airport) AsStructuredValue() (*StructuredValue, bool) + func (a Airport) AsThing() (*Thing, bool) + func (a Airport) AsTouristAttraction() (*TouristAttraction, bool) + func (a Airport) MarshalJSON() ([]byte, error) + type Answer struct + ContractualRules *[]BasicContractualRulesContractualRule + ID *string + Type TypeBasicResponseBase + WebSearchURL *string + func (a *Answer) UnmarshalJSON(body []byte) error + func (a Answer) AsAirport() (*Airport, bool) + func (a Answer) AsAnswer() (*Answer, bool) + func (a Answer) AsBasicAnswer() (BasicAnswer, bool) + func (a Answer) AsBasicCivicStructure() (BasicCivicStructure, bool) + func (a Answer) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (a Answer) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool) + func (a Answer) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool) + func (a Answer) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (a Answer) AsBasicIntangible() (BasicIntangible, bool) + func (a Answer) AsBasicLocalBusiness() (BasicLocalBusiness, bool) + func (a Answer) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool) + func (a Answer) AsBasicMediaObject() (BasicMediaObject, bool) + func (a Answer) AsBasicPlace() (BasicPlace, bool) + func (a Answer) AsBasicResponse() (BasicResponse, bool) + func (a Answer) AsBasicResponseBase() (BasicResponseBase, bool) + func (a Answer) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (a Answer) AsBasicStructuredValue() (BasicStructuredValue, bool) + func (a Answer) AsBasicThing() (BasicThing, bool) + func (a Answer) AsCivicStructure() (*CivicStructure, bool) + func (a Answer) AsCreativeWork() (*CreativeWork, bool) + func (a Answer) AsEntertainmentBusiness() (*EntertainmentBusiness, bool) + func (a Answer) AsEntities() (*Entities, bool) + func (a Answer) AsErrorResponse() (*ErrorResponse, bool) + func (a Answer) AsFoodEstablishment() (*FoodEstablishment, bool) + func (a Answer) AsHotel() (*Hotel, bool) + func (a Answer) AsIdentifiable() (*Identifiable, bool) + func (a Answer) AsImageObject() (*ImageObject, bool) + func (a Answer) AsIntangible() (*Intangible, bool) + func (a Answer) AsLicense() (*License, bool) + func (a Answer) AsLocalBusiness() (*LocalBusiness, bool) + func (a Answer) AsLodgingBusiness() (*LodgingBusiness, bool) + func (a Answer) AsMediaObject() (*MediaObject, bool) + func (a Answer) AsMovieTheater() (*MovieTheater, bool) + func (a Answer) AsOrganization() (*Organization, bool) + func (a Answer) AsPlace() (*Place, bool) + func (a Answer) AsPlaces() (*Places, bool) + func (a Answer) AsPostalAddress() (*PostalAddress, bool) + func (a Answer) AsResponse() (*Response, bool) + func (a Answer) AsResponseBase() (*ResponseBase, bool) + func (a Answer) AsRestaurant() (*Restaurant, bool) + func (a Answer) AsSearchResponse() (*SearchResponse, bool) + func (a Answer) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (a Answer) AsStructuredValue() (*StructuredValue, bool) + func (a Answer) AsThing() (*Thing, bool) + func (a Answer) AsTouristAttraction() (*TouristAttraction, bool) + func (a Answer) MarshalJSON() ([]byte, error) + type AnswerType string + const AnswerTypeEntities + const AnswerTypePlaces + func PossibleAnswerTypeValues() []AnswerType + type BaseClient struct + Endpoint string + func New() BaseClient + func NewWithoutDefaults(endpoint string) BaseClient + type BasicAnswer interface + AsAnswer func() (*Answer, bool) + AsBasicSearchResultsAnswer func() (BasicSearchResultsAnswer, bool) + AsEntities func() (*Entities, bool) + AsPlaces func() (*Places, bool) + AsSearchResultsAnswer func() (*SearchResultsAnswer, bool) + type BasicCivicStructure interface + AsAirport func() (*Airport, bool) + AsCivicStructure func() (*CivicStructure, bool) + type BasicContractualRulesAttribution interface + AsContractualRulesAttribution func() (*ContractualRulesAttribution, bool) + AsContractualRulesLicenseAttribution func() (*ContractualRulesLicenseAttribution, bool) + AsContractualRulesLinkAttribution func() (*ContractualRulesLinkAttribution, bool) + AsContractualRulesMediaAttribution func() (*ContractualRulesMediaAttribution, bool) + AsContractualRulesTextAttribution func() (*ContractualRulesTextAttribution, bool) + type BasicContractualRulesContractualRule interface + AsBasicContractualRulesAttribution func() (BasicContractualRulesAttribution, bool) + AsContractualRulesAttribution func() (*ContractualRulesAttribution, bool) + AsContractualRulesContractualRule func() (*ContractualRulesContractualRule, bool) + AsContractualRulesLicenseAttribution func() (*ContractualRulesLicenseAttribution, bool) + AsContractualRulesLinkAttribution func() (*ContractualRulesLinkAttribution, bool) + AsContractualRulesMediaAttribution func() (*ContractualRulesMediaAttribution, bool) + AsContractualRulesTextAttribution func() (*ContractualRulesTextAttribution, bool) + type BasicCreativeWork interface + AsBasicMediaObject func() (BasicMediaObject, bool) + AsCreativeWork func() (*CreativeWork, bool) + AsImageObject func() (*ImageObject, bool) + AsLicense func() (*License, bool) + AsMediaObject func() (*MediaObject, bool) + type BasicEntertainmentBusiness interface + AsEntertainmentBusiness func() (*EntertainmentBusiness, bool) + AsMovieTheater func() (*MovieTheater, bool) + type BasicFoodEstablishment interface + AsFoodEstablishment func() (*FoodEstablishment, bool) + AsRestaurant func() (*Restaurant, bool) + type BasicIdentifiable interface + AsAirport func() (*Airport, bool) + AsAnswer func() (*Answer, bool) + AsBasicAnswer func() (BasicAnswer, bool) + AsBasicCivicStructure func() (BasicCivicStructure, bool) + AsBasicCreativeWork func() (BasicCreativeWork, bool) + AsBasicEntertainmentBusiness func() (BasicEntertainmentBusiness, bool) + AsBasicFoodEstablishment func() (BasicFoodEstablishment, bool) + AsBasicIntangible func() (BasicIntangible, bool) + AsBasicLocalBusiness func() (BasicLocalBusiness, bool) + AsBasicLodgingBusiness func() (BasicLodgingBusiness, bool) + AsBasicMediaObject func() (BasicMediaObject, bool) + AsBasicPlace func() (BasicPlace, bool) + AsBasicResponse func() (BasicResponse, bool) + AsBasicSearchResultsAnswer func() (BasicSearchResultsAnswer, bool) + AsBasicStructuredValue func() (BasicStructuredValue, bool) + AsBasicThing func() (BasicThing, bool) + AsCivicStructure func() (*CivicStructure, bool) + AsCreativeWork func() (*CreativeWork, bool) + AsEntertainmentBusiness func() (*EntertainmentBusiness, bool) + AsEntities func() (*Entities, bool) + AsErrorResponse func() (*ErrorResponse, bool) + AsFoodEstablishment func() (*FoodEstablishment, bool) + AsHotel func() (*Hotel, bool) + AsIdentifiable func() (*Identifiable, bool) + AsImageObject func() (*ImageObject, bool) + AsIntangible func() (*Intangible, bool) + AsLicense func() (*License, bool) + AsLocalBusiness func() (*LocalBusiness, bool) + AsLodgingBusiness func() (*LodgingBusiness, bool) + AsMediaObject func() (*MediaObject, bool) + AsMovieTheater func() (*MovieTheater, bool) + AsOrganization func() (*Organization, bool) + AsPlace func() (*Place, bool) + AsPlaces func() (*Places, bool) + AsPostalAddress func() (*PostalAddress, bool) + AsResponse func() (*Response, bool) + AsRestaurant func() (*Restaurant, bool) + AsSearchResponse func() (*SearchResponse, bool) + AsSearchResultsAnswer func() (*SearchResultsAnswer, bool) + AsStructuredValue func() (*StructuredValue, bool) + AsThing func() (*Thing, bool) + AsTouristAttraction func() (*TouristAttraction, bool) + type BasicIntangible interface + AsBasicStructuredValue func() (BasicStructuredValue, bool) + AsIntangible func() (*Intangible, bool) + AsPostalAddress func() (*PostalAddress, bool) + AsStructuredValue func() (*StructuredValue, bool) + type BasicLocalBusiness interface + AsBasicEntertainmentBusiness func() (BasicEntertainmentBusiness, bool) + AsBasicFoodEstablishment func() (BasicFoodEstablishment, bool) + AsBasicLodgingBusiness func() (BasicLodgingBusiness, bool) + AsEntertainmentBusiness func() (*EntertainmentBusiness, bool) + AsFoodEstablishment func() (*FoodEstablishment, bool) + AsHotel func() (*Hotel, bool) + AsLocalBusiness func() (*LocalBusiness, bool) + AsLodgingBusiness func() (*LodgingBusiness, bool) + AsMovieTheater func() (*MovieTheater, bool) + AsRestaurant func() (*Restaurant, bool) + type BasicLodgingBusiness interface + AsHotel func() (*Hotel, bool) + AsLodgingBusiness func() (*LodgingBusiness, bool) + type BasicMediaObject interface + AsImageObject func() (*ImageObject, bool) + AsMediaObject func() (*MediaObject, bool) + type BasicPlace interface + AsAirport func() (*Airport, bool) + AsBasicCivicStructure func() (BasicCivicStructure, bool) + AsBasicEntertainmentBusiness func() (BasicEntertainmentBusiness, bool) + AsBasicFoodEstablishment func() (BasicFoodEstablishment, bool) + AsBasicLocalBusiness func() (BasicLocalBusiness, bool) + AsBasicLodgingBusiness func() (BasicLodgingBusiness, bool) + AsCivicStructure func() (*CivicStructure, bool) + AsEntertainmentBusiness func() (*EntertainmentBusiness, bool) + AsFoodEstablishment func() (*FoodEstablishment, bool) + AsHotel func() (*Hotel, bool) + AsLocalBusiness func() (*LocalBusiness, bool) + AsLodgingBusiness func() (*LodgingBusiness, bool) + AsMovieTheater func() (*MovieTheater, bool) + AsPlace func() (*Place, bool) + AsRestaurant func() (*Restaurant, bool) + AsTouristAttraction func() (*TouristAttraction, bool) + type BasicResponse interface + AsAirport func() (*Airport, bool) + AsAnswer func() (*Answer, bool) + AsBasicAnswer func() (BasicAnswer, bool) + AsBasicCivicStructure func() (BasicCivicStructure, bool) + AsBasicCreativeWork func() (BasicCreativeWork, bool) + AsBasicEntertainmentBusiness func() (BasicEntertainmentBusiness, bool) + AsBasicFoodEstablishment func() (BasicFoodEstablishment, bool) + AsBasicIntangible func() (BasicIntangible, bool) + AsBasicLocalBusiness func() (BasicLocalBusiness, bool) + AsBasicLodgingBusiness func() (BasicLodgingBusiness, bool) + AsBasicMediaObject func() (BasicMediaObject, bool) + AsBasicPlace func() (BasicPlace, bool) + AsBasicSearchResultsAnswer func() (BasicSearchResultsAnswer, bool) + AsBasicStructuredValue func() (BasicStructuredValue, bool) + AsBasicThing func() (BasicThing, bool) + AsCivicStructure func() (*CivicStructure, bool) + AsCreativeWork func() (*CreativeWork, bool) + AsEntertainmentBusiness func() (*EntertainmentBusiness, bool) + AsEntities func() (*Entities, bool) + AsErrorResponse func() (*ErrorResponse, bool) + AsFoodEstablishment func() (*FoodEstablishment, bool) + AsHotel func() (*Hotel, bool) + AsImageObject func() (*ImageObject, bool) + AsIntangible func() (*Intangible, bool) + AsLicense func() (*License, bool) + AsLocalBusiness func() (*LocalBusiness, bool) + AsLodgingBusiness func() (*LodgingBusiness, bool) + AsMediaObject func() (*MediaObject, bool) + AsMovieTheater func() (*MovieTheater, bool) + AsOrganization func() (*Organization, bool) + AsPlace func() (*Place, bool) + AsPlaces func() (*Places, bool) + AsPostalAddress func() (*PostalAddress, bool) + AsResponse func() (*Response, bool) + AsRestaurant func() (*Restaurant, bool) + AsSearchResponse func() (*SearchResponse, bool) + AsSearchResultsAnswer func() (*SearchResultsAnswer, bool) + AsStructuredValue func() (*StructuredValue, bool) + AsThing func() (*Thing, bool) + AsTouristAttraction func() (*TouristAttraction, bool) + type BasicResponseBase interface + AsAirport func() (*Airport, bool) + AsAnswer func() (*Answer, bool) + AsBasicAnswer func() (BasicAnswer, bool) + AsBasicCivicStructure func() (BasicCivicStructure, bool) + AsBasicCreativeWork func() (BasicCreativeWork, bool) + AsBasicEntertainmentBusiness func() (BasicEntertainmentBusiness, bool) + AsBasicFoodEstablishment func() (BasicFoodEstablishment, bool) + AsBasicIdentifiable func() (BasicIdentifiable, bool) + AsBasicIntangible func() (BasicIntangible, bool) + AsBasicLocalBusiness func() (BasicLocalBusiness, bool) + AsBasicLodgingBusiness func() (BasicLodgingBusiness, bool) + AsBasicMediaObject func() (BasicMediaObject, bool) + AsBasicPlace func() (BasicPlace, bool) + AsBasicResponse func() (BasicResponse, bool) + AsBasicSearchResultsAnswer func() (BasicSearchResultsAnswer, bool) + AsBasicStructuredValue func() (BasicStructuredValue, bool) + AsBasicThing func() (BasicThing, bool) + AsCivicStructure func() (*CivicStructure, bool) + AsCreativeWork func() (*CreativeWork, bool) + AsEntertainmentBusiness func() (*EntertainmentBusiness, bool) + AsEntities func() (*Entities, bool) + AsErrorResponse func() (*ErrorResponse, bool) + AsFoodEstablishment func() (*FoodEstablishment, bool) + AsHotel func() (*Hotel, bool) + AsIdentifiable func() (*Identifiable, bool) + AsImageObject func() (*ImageObject, bool) + AsIntangible func() (*Intangible, bool) + AsLicense func() (*License, bool) + AsLocalBusiness func() (*LocalBusiness, bool) + AsLodgingBusiness func() (*LodgingBusiness, bool) + AsMediaObject func() (*MediaObject, bool) + AsMovieTheater func() (*MovieTheater, bool) + AsOrganization func() (*Organization, bool) + AsPlace func() (*Place, bool) + AsPlaces func() (*Places, bool) + AsPostalAddress func() (*PostalAddress, bool) + AsResponse func() (*Response, bool) + AsResponseBase func() (*ResponseBase, bool) + AsRestaurant func() (*Restaurant, bool) + AsSearchResponse func() (*SearchResponse, bool) + AsSearchResultsAnswer func() (*SearchResultsAnswer, bool) + AsStructuredValue func() (*StructuredValue, bool) + AsThing func() (*Thing, bool) + AsTouristAttraction func() (*TouristAttraction, bool) + type BasicSearchResultsAnswer interface + AsEntities func() (*Entities, bool) + AsPlaces func() (*Places, bool) + AsSearchResultsAnswer func() (*SearchResultsAnswer, bool) + type BasicStructuredValue interface + AsPostalAddress func() (*PostalAddress, bool) + AsStructuredValue func() (*StructuredValue, bool) + type BasicThing interface + AsAirport func() (*Airport, bool) + AsBasicCivicStructure func() (BasicCivicStructure, bool) + AsBasicCreativeWork func() (BasicCreativeWork, bool) + AsBasicEntertainmentBusiness func() (BasicEntertainmentBusiness, bool) + AsBasicFoodEstablishment func() (BasicFoodEstablishment, bool) + AsBasicIntangible func() (BasicIntangible, bool) + AsBasicLocalBusiness func() (BasicLocalBusiness, bool) + AsBasicLodgingBusiness func() (BasicLodgingBusiness, bool) + AsBasicMediaObject func() (BasicMediaObject, bool) + AsBasicPlace func() (BasicPlace, bool) + AsBasicStructuredValue func() (BasicStructuredValue, bool) + AsCivicStructure func() (*CivicStructure, bool) + AsCreativeWork func() (*CreativeWork, bool) + AsEntertainmentBusiness func() (*EntertainmentBusiness, bool) + AsFoodEstablishment func() (*FoodEstablishment, bool) + AsHotel func() (*Hotel, bool) + AsImageObject func() (*ImageObject, bool) + AsIntangible func() (*Intangible, bool) + AsLicense func() (*License, bool) + AsLocalBusiness func() (*LocalBusiness, bool) + AsLodgingBusiness func() (*LodgingBusiness, bool) + AsMediaObject func() (*MediaObject, bool) + AsMovieTheater func() (*MovieTheater, bool) + AsOrganization func() (*Organization, bool) + AsPlace func() (*Place, bool) + AsPostalAddress func() (*PostalAddress, bool) + AsRestaurant func() (*Restaurant, bool) + AsStructuredValue func() (*StructuredValue, bool) + AsThing func() (*Thing, bool) + AsTouristAttraction func() (*TouristAttraction, bool) + type CivicStructure struct + Address *PostalAddress + BingID *string + ContractualRules *[]BasicContractualRulesContractualRule + Description *string + EntityPresentationInfo *EntitiesEntityPresentationInfo + ID *string + Image *ImageObject + Name *string + Telephone *string + Type TypeBasicResponseBase + URL *string + WebSearchURL *string + func (cs *CivicStructure) UnmarshalJSON(body []byte) error + func (cs CivicStructure) AsAirport() (*Airport, bool) + func (cs CivicStructure) AsAnswer() (*Answer, bool) + func (cs CivicStructure) AsBasicAnswer() (BasicAnswer, bool) + func (cs CivicStructure) AsBasicCivicStructure() (BasicCivicStructure, bool) + func (cs CivicStructure) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (cs CivicStructure) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool) + func (cs CivicStructure) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool) + func (cs CivicStructure) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (cs CivicStructure) AsBasicIntangible() (BasicIntangible, bool) + func (cs CivicStructure) AsBasicLocalBusiness() (BasicLocalBusiness, bool) + func (cs CivicStructure) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool) + func (cs CivicStructure) AsBasicMediaObject() (BasicMediaObject, bool) + func (cs CivicStructure) AsBasicPlace() (BasicPlace, bool) + func (cs CivicStructure) AsBasicResponse() (BasicResponse, bool) + func (cs CivicStructure) AsBasicResponseBase() (BasicResponseBase, bool) + func (cs CivicStructure) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (cs CivicStructure) AsBasicStructuredValue() (BasicStructuredValue, bool) + func (cs CivicStructure) AsBasicThing() (BasicThing, bool) + func (cs CivicStructure) AsCivicStructure() (*CivicStructure, bool) + func (cs CivicStructure) AsCreativeWork() (*CreativeWork, bool) + func (cs CivicStructure) AsEntertainmentBusiness() (*EntertainmentBusiness, bool) + func (cs CivicStructure) AsEntities() (*Entities, bool) + func (cs CivicStructure) AsErrorResponse() (*ErrorResponse, bool) + func (cs CivicStructure) AsFoodEstablishment() (*FoodEstablishment, bool) + func (cs CivicStructure) AsHotel() (*Hotel, bool) + func (cs CivicStructure) AsIdentifiable() (*Identifiable, bool) + func (cs CivicStructure) AsImageObject() (*ImageObject, bool) + func (cs CivicStructure) AsIntangible() (*Intangible, bool) + func (cs CivicStructure) AsLicense() (*License, bool) + func (cs CivicStructure) AsLocalBusiness() (*LocalBusiness, bool) + func (cs CivicStructure) AsLodgingBusiness() (*LodgingBusiness, bool) + func (cs CivicStructure) AsMediaObject() (*MediaObject, bool) + func (cs CivicStructure) AsMovieTheater() (*MovieTheater, bool) + func (cs CivicStructure) AsOrganization() (*Organization, bool) + func (cs CivicStructure) AsPlace() (*Place, bool) + func (cs CivicStructure) AsPlaces() (*Places, bool) + func (cs CivicStructure) AsPostalAddress() (*PostalAddress, bool) + func (cs CivicStructure) AsResponse() (*Response, bool) + func (cs CivicStructure) AsResponseBase() (*ResponseBase, bool) + func (cs CivicStructure) AsRestaurant() (*Restaurant, bool) + func (cs CivicStructure) AsSearchResponse() (*SearchResponse, bool) + func (cs CivicStructure) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (cs CivicStructure) AsStructuredValue() (*StructuredValue, bool) + func (cs CivicStructure) AsThing() (*Thing, bool) + func (cs CivicStructure) AsTouristAttraction() (*TouristAttraction, bool) + func (cs CivicStructure) MarshalJSON() ([]byte, error) + type ContractualRulesAttribution struct + MustBeCloseToContent *bool + TargetPropertyName *string + Type Type + func (cra ContractualRulesAttribution) AsBasicContractualRulesAttribution() (BasicContractualRulesAttribution, bool) + func (cra ContractualRulesAttribution) AsBasicContractualRulesContractualRule() (BasicContractualRulesContractualRule, bool) + func (cra ContractualRulesAttribution) AsContractualRulesAttribution() (*ContractualRulesAttribution, bool) + func (cra ContractualRulesAttribution) AsContractualRulesContractualRule() (*ContractualRulesContractualRule, bool) + func (cra ContractualRulesAttribution) AsContractualRulesLicenseAttribution() (*ContractualRulesLicenseAttribution, bool) + func (cra ContractualRulesAttribution) AsContractualRulesLinkAttribution() (*ContractualRulesLinkAttribution, bool) + func (cra ContractualRulesAttribution) AsContractualRulesMediaAttribution() (*ContractualRulesMediaAttribution, bool) + func (cra ContractualRulesAttribution) AsContractualRulesTextAttribution() (*ContractualRulesTextAttribution, bool) + func (cra ContractualRulesAttribution) MarshalJSON() ([]byte, error) + type ContractualRulesContractualRule struct + TargetPropertyName *string + Type Type + func (crcr ContractualRulesContractualRule) AsBasicContractualRulesAttribution() (BasicContractualRulesAttribution, bool) + func (crcr ContractualRulesContractualRule) AsBasicContractualRulesContractualRule() (BasicContractualRulesContractualRule, bool) + func (crcr ContractualRulesContractualRule) AsContractualRulesAttribution() (*ContractualRulesAttribution, bool) + func (crcr ContractualRulesContractualRule) AsContractualRulesContractualRule() (*ContractualRulesContractualRule, bool) + func (crcr ContractualRulesContractualRule) AsContractualRulesLicenseAttribution() (*ContractualRulesLicenseAttribution, bool) + func (crcr ContractualRulesContractualRule) AsContractualRulesLinkAttribution() (*ContractualRulesLinkAttribution, bool) + func (crcr ContractualRulesContractualRule) AsContractualRulesMediaAttribution() (*ContractualRulesMediaAttribution, bool) + func (crcr ContractualRulesContractualRule) AsContractualRulesTextAttribution() (*ContractualRulesTextAttribution, bool) + func (crcr ContractualRulesContractualRule) MarshalJSON() ([]byte, error) + type ContractualRulesLicenseAttribution struct + License *License + LicenseNotice *string + MustBeCloseToContent *bool + TargetPropertyName *string + Type Type + func (crla ContractualRulesLicenseAttribution) AsBasicContractualRulesAttribution() (BasicContractualRulesAttribution, bool) + func (crla ContractualRulesLicenseAttribution) AsBasicContractualRulesContractualRule() (BasicContractualRulesContractualRule, bool) + func (crla ContractualRulesLicenseAttribution) AsContractualRulesAttribution() (*ContractualRulesAttribution, bool) + func (crla ContractualRulesLicenseAttribution) AsContractualRulesContractualRule() (*ContractualRulesContractualRule, bool) + func (crla ContractualRulesLicenseAttribution) AsContractualRulesLicenseAttribution() (*ContractualRulesLicenseAttribution, bool) + func (crla ContractualRulesLicenseAttribution) AsContractualRulesLinkAttribution() (*ContractualRulesLinkAttribution, bool) + func (crla ContractualRulesLicenseAttribution) AsContractualRulesMediaAttribution() (*ContractualRulesMediaAttribution, bool) + func (crla ContractualRulesLicenseAttribution) AsContractualRulesTextAttribution() (*ContractualRulesTextAttribution, bool) + func (crla ContractualRulesLicenseAttribution) MarshalJSON() ([]byte, error) + type ContractualRulesLinkAttribution struct + MustBeCloseToContent *bool + OptionalForListDisplay *bool + TargetPropertyName *string + Text *string + Type Type + URL *string + func (crla ContractualRulesLinkAttribution) AsBasicContractualRulesAttribution() (BasicContractualRulesAttribution, bool) + func (crla ContractualRulesLinkAttribution) AsBasicContractualRulesContractualRule() (BasicContractualRulesContractualRule, bool) + func (crla ContractualRulesLinkAttribution) AsContractualRulesAttribution() (*ContractualRulesAttribution, bool) + func (crla ContractualRulesLinkAttribution) AsContractualRulesContractualRule() (*ContractualRulesContractualRule, bool) + func (crla ContractualRulesLinkAttribution) AsContractualRulesLicenseAttribution() (*ContractualRulesLicenseAttribution, bool) + func (crla ContractualRulesLinkAttribution) AsContractualRulesLinkAttribution() (*ContractualRulesLinkAttribution, bool) + func (crla ContractualRulesLinkAttribution) AsContractualRulesMediaAttribution() (*ContractualRulesMediaAttribution, bool) + func (crla ContractualRulesLinkAttribution) AsContractualRulesTextAttribution() (*ContractualRulesTextAttribution, bool) + func (crla ContractualRulesLinkAttribution) MarshalJSON() ([]byte, error) + type ContractualRulesMediaAttribution struct + MustBeCloseToContent *bool + TargetPropertyName *string + Type Type + URL *string + func (crma ContractualRulesMediaAttribution) AsBasicContractualRulesAttribution() (BasicContractualRulesAttribution, bool) + func (crma ContractualRulesMediaAttribution) AsBasicContractualRulesContractualRule() (BasicContractualRulesContractualRule, bool) + func (crma ContractualRulesMediaAttribution) AsContractualRulesAttribution() (*ContractualRulesAttribution, bool) + func (crma ContractualRulesMediaAttribution) AsContractualRulesContractualRule() (*ContractualRulesContractualRule, bool) + func (crma ContractualRulesMediaAttribution) AsContractualRulesLicenseAttribution() (*ContractualRulesLicenseAttribution, bool) + func (crma ContractualRulesMediaAttribution) AsContractualRulesLinkAttribution() (*ContractualRulesLinkAttribution, bool) + func (crma ContractualRulesMediaAttribution) AsContractualRulesMediaAttribution() (*ContractualRulesMediaAttribution, bool) + func (crma ContractualRulesMediaAttribution) AsContractualRulesTextAttribution() (*ContractualRulesTextAttribution, bool) + func (crma ContractualRulesMediaAttribution) MarshalJSON() ([]byte, error) + type ContractualRulesTextAttribution struct + MustBeCloseToContent *bool + OptionalForListDisplay *bool + TargetPropertyName *string + Text *string + Type Type + func (crta ContractualRulesTextAttribution) AsBasicContractualRulesAttribution() (BasicContractualRulesAttribution, bool) + func (crta ContractualRulesTextAttribution) AsBasicContractualRulesContractualRule() (BasicContractualRulesContractualRule, bool) + func (crta ContractualRulesTextAttribution) AsContractualRulesAttribution() (*ContractualRulesAttribution, bool) + func (crta ContractualRulesTextAttribution) AsContractualRulesContractualRule() (*ContractualRulesContractualRule, bool) + func (crta ContractualRulesTextAttribution) AsContractualRulesLicenseAttribution() (*ContractualRulesLicenseAttribution, bool) + func (crta ContractualRulesTextAttribution) AsContractualRulesLinkAttribution() (*ContractualRulesLinkAttribution, bool) + func (crta ContractualRulesTextAttribution) AsContractualRulesMediaAttribution() (*ContractualRulesMediaAttribution, bool) + func (crta ContractualRulesTextAttribution) AsContractualRulesTextAttribution() (*ContractualRulesTextAttribution, bool) + func (crta ContractualRulesTextAttribution) MarshalJSON() ([]byte, error) + type CreativeWork struct + BingID *string + ContractualRules *[]BasicContractualRulesContractualRule + Description *string + EntityPresentationInfo *EntitiesEntityPresentationInfo + 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) AsAirport() (*Airport, bool) + func (cw CreativeWork) AsAnswer() (*Answer, bool) + func (cw CreativeWork) AsBasicAnswer() (BasicAnswer, bool) + func (cw CreativeWork) AsBasicCivicStructure() (BasicCivicStructure, bool) + func (cw CreativeWork) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (cw CreativeWork) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool) + func (cw CreativeWork) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool) + func (cw CreativeWork) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (cw CreativeWork) AsBasicIntangible() (BasicIntangible, bool) + func (cw CreativeWork) AsBasicLocalBusiness() (BasicLocalBusiness, bool) + func (cw CreativeWork) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool) + func (cw CreativeWork) AsBasicMediaObject() (BasicMediaObject, bool) + func (cw CreativeWork) AsBasicPlace() (BasicPlace, bool) + func (cw CreativeWork) AsBasicResponse() (BasicResponse, bool) + func (cw CreativeWork) AsBasicResponseBase() (BasicResponseBase, bool) + func (cw CreativeWork) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (cw CreativeWork) AsBasicStructuredValue() (BasicStructuredValue, bool) + func (cw CreativeWork) AsBasicThing() (BasicThing, bool) + func (cw CreativeWork) AsCivicStructure() (*CivicStructure, bool) + func (cw CreativeWork) AsCreativeWork() (*CreativeWork, bool) + func (cw CreativeWork) AsEntertainmentBusiness() (*EntertainmentBusiness, bool) + func (cw CreativeWork) AsEntities() (*Entities, bool) + func (cw CreativeWork) AsErrorResponse() (*ErrorResponse, bool) + func (cw CreativeWork) AsFoodEstablishment() (*FoodEstablishment, bool) + func (cw CreativeWork) AsHotel() (*Hotel, bool) + func (cw CreativeWork) AsIdentifiable() (*Identifiable, bool) + func (cw CreativeWork) AsImageObject() (*ImageObject, bool) + func (cw CreativeWork) AsIntangible() (*Intangible, bool) + func (cw CreativeWork) AsLicense() (*License, bool) + func (cw CreativeWork) AsLocalBusiness() (*LocalBusiness, bool) + func (cw CreativeWork) AsLodgingBusiness() (*LodgingBusiness, bool) + func (cw CreativeWork) AsMediaObject() (*MediaObject, bool) + func (cw CreativeWork) AsMovieTheater() (*MovieTheater, bool) + func (cw CreativeWork) AsOrganization() (*Organization, bool) + func (cw CreativeWork) AsPlace() (*Place, bool) + func (cw CreativeWork) AsPlaces() (*Places, bool) + func (cw CreativeWork) AsPostalAddress() (*PostalAddress, bool) + func (cw CreativeWork) AsResponse() (*Response, bool) + func (cw CreativeWork) AsResponseBase() (*ResponseBase, bool) + func (cw CreativeWork) AsRestaurant() (*Restaurant, bool) + func (cw CreativeWork) AsSearchResponse() (*SearchResponse, bool) + func (cw CreativeWork) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (cw CreativeWork) AsStructuredValue() (*StructuredValue, bool) + func (cw CreativeWork) AsThing() (*Thing, bool) + func (cw CreativeWork) AsTouristAttraction() (*TouristAttraction, bool) + func (cw CreativeWork) MarshalJSON() ([]byte, error) + type EntertainmentBusiness struct + Address *PostalAddress + BingID *string + ContractualRules *[]BasicContractualRulesContractualRule + Description *string + EntityPresentationInfo *EntitiesEntityPresentationInfo + ID *string + Image *ImageObject + IsPermanentlyClosed *bool + Name *string + Panoramas *[]ImageObject + PriceRange *string + TagLine *string + Telephone *string + Type TypeBasicResponseBase + URL *string + WebSearchURL *string + func (eb *EntertainmentBusiness) UnmarshalJSON(body []byte) error + func (eb EntertainmentBusiness) AsAirport() (*Airport, bool) + func (eb EntertainmentBusiness) AsAnswer() (*Answer, bool) + func (eb EntertainmentBusiness) AsBasicAnswer() (BasicAnswer, bool) + func (eb EntertainmentBusiness) AsBasicCivicStructure() (BasicCivicStructure, bool) + func (eb EntertainmentBusiness) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (eb EntertainmentBusiness) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool) + func (eb EntertainmentBusiness) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool) + func (eb EntertainmentBusiness) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (eb EntertainmentBusiness) AsBasicIntangible() (BasicIntangible, bool) + func (eb EntertainmentBusiness) AsBasicLocalBusiness() (BasicLocalBusiness, bool) + func (eb EntertainmentBusiness) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool) + func (eb EntertainmentBusiness) AsBasicMediaObject() (BasicMediaObject, bool) + func (eb EntertainmentBusiness) AsBasicPlace() (BasicPlace, bool) + func (eb EntertainmentBusiness) AsBasicResponse() (BasicResponse, bool) + func (eb EntertainmentBusiness) AsBasicResponseBase() (BasicResponseBase, bool) + func (eb EntertainmentBusiness) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (eb EntertainmentBusiness) AsBasicStructuredValue() (BasicStructuredValue, bool) + func (eb EntertainmentBusiness) AsBasicThing() (BasicThing, bool) + func (eb EntertainmentBusiness) AsCivicStructure() (*CivicStructure, bool) + func (eb EntertainmentBusiness) AsCreativeWork() (*CreativeWork, bool) + func (eb EntertainmentBusiness) AsEntertainmentBusiness() (*EntertainmentBusiness, bool) + func (eb EntertainmentBusiness) AsEntities() (*Entities, bool) + func (eb EntertainmentBusiness) AsErrorResponse() (*ErrorResponse, bool) + func (eb EntertainmentBusiness) AsFoodEstablishment() (*FoodEstablishment, bool) + func (eb EntertainmentBusiness) AsHotel() (*Hotel, bool) + func (eb EntertainmentBusiness) AsIdentifiable() (*Identifiable, bool) + func (eb EntertainmentBusiness) AsImageObject() (*ImageObject, bool) + func (eb EntertainmentBusiness) AsIntangible() (*Intangible, bool) + func (eb EntertainmentBusiness) AsLicense() (*License, bool) + func (eb EntertainmentBusiness) AsLocalBusiness() (*LocalBusiness, bool) + func (eb EntertainmentBusiness) AsLodgingBusiness() (*LodgingBusiness, bool) + func (eb EntertainmentBusiness) AsMediaObject() (*MediaObject, bool) + func (eb EntertainmentBusiness) AsMovieTheater() (*MovieTheater, bool) + func (eb EntertainmentBusiness) AsOrganization() (*Organization, bool) + func (eb EntertainmentBusiness) AsPlace() (*Place, bool) + func (eb EntertainmentBusiness) AsPlaces() (*Places, bool) + func (eb EntertainmentBusiness) AsPostalAddress() (*PostalAddress, bool) + func (eb EntertainmentBusiness) AsResponse() (*Response, bool) + func (eb EntertainmentBusiness) AsResponseBase() (*ResponseBase, bool) + func (eb EntertainmentBusiness) AsRestaurant() (*Restaurant, bool) + func (eb EntertainmentBusiness) AsSearchResponse() (*SearchResponse, bool) + func (eb EntertainmentBusiness) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (eb EntertainmentBusiness) AsStructuredValue() (*StructuredValue, bool) + func (eb EntertainmentBusiness) AsThing() (*Thing, bool) + func (eb EntertainmentBusiness) AsTouristAttraction() (*TouristAttraction, bool) + func (eb EntertainmentBusiness) MarshalJSON() ([]byte, error) + type Entities struct + ContractualRules *[]BasicContractualRulesContractualRule + ID *string + QueryContext *QueryContext + QueryScenario EntityQueryScenario + Type TypeBasicResponseBase + Value *[]BasicThing + WebSearchURL *string + func (e *Entities) UnmarshalJSON(body []byte) error + func (e Entities) AsAirport() (*Airport, bool) + func (e Entities) AsAnswer() (*Answer, bool) + func (e Entities) AsBasicAnswer() (BasicAnswer, bool) + func (e Entities) AsBasicCivicStructure() (BasicCivicStructure, bool) + func (e Entities) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (e Entities) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool) + func (e Entities) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool) + func (e Entities) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (e Entities) AsBasicIntangible() (BasicIntangible, bool) + func (e Entities) AsBasicLocalBusiness() (BasicLocalBusiness, bool) + func (e Entities) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool) + func (e Entities) AsBasicMediaObject() (BasicMediaObject, bool) + func (e Entities) AsBasicPlace() (BasicPlace, bool) + func (e Entities) AsBasicResponse() (BasicResponse, bool) + func (e Entities) AsBasicResponseBase() (BasicResponseBase, bool) + func (e Entities) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (e Entities) AsBasicStructuredValue() (BasicStructuredValue, bool) + func (e Entities) AsBasicThing() (BasicThing, bool) + func (e Entities) AsCivicStructure() (*CivicStructure, bool) + func (e Entities) AsCreativeWork() (*CreativeWork, bool) + func (e Entities) AsEntertainmentBusiness() (*EntertainmentBusiness, bool) + func (e Entities) AsEntities() (*Entities, bool) + func (e Entities) AsErrorResponse() (*ErrorResponse, bool) + func (e Entities) AsFoodEstablishment() (*FoodEstablishment, bool) + func (e Entities) AsHotel() (*Hotel, bool) + func (e Entities) AsIdentifiable() (*Identifiable, bool) + func (e Entities) AsImageObject() (*ImageObject, bool) + func (e Entities) AsIntangible() (*Intangible, bool) + func (e Entities) AsLicense() (*License, bool) + func (e Entities) AsLocalBusiness() (*LocalBusiness, bool) + func (e Entities) AsLodgingBusiness() (*LodgingBusiness, bool) + func (e Entities) AsMediaObject() (*MediaObject, bool) + func (e Entities) AsMovieTheater() (*MovieTheater, bool) + func (e Entities) AsOrganization() (*Organization, bool) + func (e Entities) AsPlace() (*Place, bool) + func (e Entities) AsPlaces() (*Places, bool) + func (e Entities) AsPostalAddress() (*PostalAddress, bool) + func (e Entities) AsResponse() (*Response, bool) + func (e Entities) AsResponseBase() (*ResponseBase, bool) + func (e Entities) AsRestaurant() (*Restaurant, bool) + func (e Entities) AsSearchResponse() (*SearchResponse, bool) + func (e Entities) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (e Entities) AsStructuredValue() (*StructuredValue, bool) + func (e Entities) AsThing() (*Thing, bool) + func (e Entities) AsTouristAttraction() (*TouristAttraction, bool) + func (e Entities) MarshalJSON() ([]byte, error) + type EntitiesClient struct + func NewEntitiesClient() EntitiesClient + func (client EntitiesClient) Search(ctx context.Context, query string, acceptLanguage string, pragma string, ...) (result SearchResponse, err error) + func (client EntitiesClient) SearchPreparer(ctx context.Context, query string, acceptLanguage string, pragma string, ...) (*http.Request, error) + func (client EntitiesClient) SearchResponder(resp *http.Response) (result SearchResponse, err error) + func (client EntitiesClient) SearchSender(req *http.Request) (*http.Response, error) + type EntitiesEntityPresentationInfo struct + EntityScenario EntityScenario + EntityTypeDisplayHint *string + EntityTypeHints *[]EntityType + type EntityQueryScenario string + const Disambiguation + const DominantEntity + const DominantEntityWithDisambiguation + const List + const ListWithPivot + func PossibleEntityQueryScenarioValues() []EntityQueryScenario + type EntityScenario string + const EntityScenarioDisambiguationItem + const EntityScenarioDominantEntity + const EntityScenarioListItem + func PossibleEntityScenarioValues() []EntityScenario + type EntityType string + const EntityTypeActor + const EntityTypeAnimal + const EntityTypeArtist + const EntityTypeAttorney + const EntityTypeAttraction + const EntityTypeBook + const EntityTypeCar + const EntityTypeCity + const EntityTypeCollegeOrUniversity + const EntityTypeComposition + const EntityTypeContinent + const EntityTypeCountry + const EntityTypeDrug + const EntityTypeEvent + const EntityTypeFood + const EntityTypeGeneric + const EntityTypeHotel + const EntityTypeHouse + const EntityTypeLocalBusiness + const EntityTypeLocality + const EntityTypeMedia + const EntityTypeMinorRegion + const EntityTypeMovie + const EntityTypeMusicAlbum + const EntityTypeMusicGroup + const EntityTypeMusicRecording + const EntityTypeNeighborhood + const EntityTypeOrganization + const EntityTypeOther + const EntityTypePerson + const EntityTypePlace + const EntityTypePointOfInterest + const EntityTypePostalCode + const EntityTypeProduct + const EntityTypeRadioStation + const EntityTypeRegion + const EntityTypeRestaurant + const EntityTypeSchool + const EntityTypeSpeciality + const EntityTypeSportsTeam + const EntityTypeState + const EntityTypeStreetAddress + const EntityTypeSubRegion + const EntityTypeTelevisionSeason + const EntityTypeTelevisionShow + const EntityTypeTheaterPlay + const EntityTypeTouristAttraction + const EntityTypeTravel + const EntityTypeVideoGame + func PossibleEntityTypeValues() []EntityType + 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 + ContractualRules *[]BasicContractualRulesContractualRule + Errors *[]Error + ID *string + Type TypeBasicResponseBase + WebSearchURL *string + func (er *ErrorResponse) UnmarshalJSON(body []byte) error + func (er ErrorResponse) AsAirport() (*Airport, bool) + func (er ErrorResponse) AsAnswer() (*Answer, bool) + func (er ErrorResponse) AsBasicAnswer() (BasicAnswer, bool) + func (er ErrorResponse) AsBasicCivicStructure() (BasicCivicStructure, bool) + func (er ErrorResponse) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (er ErrorResponse) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool) + func (er ErrorResponse) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool) + func (er ErrorResponse) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (er ErrorResponse) AsBasicIntangible() (BasicIntangible, bool) + func (er ErrorResponse) AsBasicLocalBusiness() (BasicLocalBusiness, bool) + func (er ErrorResponse) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool) + func (er ErrorResponse) AsBasicMediaObject() (BasicMediaObject, bool) + func (er ErrorResponse) AsBasicPlace() (BasicPlace, bool) + func (er ErrorResponse) AsBasicResponse() (BasicResponse, bool) + func (er ErrorResponse) AsBasicResponseBase() (BasicResponseBase, bool) + func (er ErrorResponse) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (er ErrorResponse) AsBasicStructuredValue() (BasicStructuredValue, bool) + func (er ErrorResponse) AsBasicThing() (BasicThing, bool) + func (er ErrorResponse) AsCivicStructure() (*CivicStructure, bool) + func (er ErrorResponse) AsCreativeWork() (*CreativeWork, bool) + func (er ErrorResponse) AsEntertainmentBusiness() (*EntertainmentBusiness, bool) + func (er ErrorResponse) AsEntities() (*Entities, bool) + func (er ErrorResponse) AsErrorResponse() (*ErrorResponse, bool) + func (er ErrorResponse) AsFoodEstablishment() (*FoodEstablishment, bool) + func (er ErrorResponse) AsHotel() (*Hotel, bool) + func (er ErrorResponse) AsIdentifiable() (*Identifiable, bool) + func (er ErrorResponse) AsImageObject() (*ImageObject, bool) + func (er ErrorResponse) AsIntangible() (*Intangible, bool) + func (er ErrorResponse) AsLicense() (*License, bool) + func (er ErrorResponse) AsLocalBusiness() (*LocalBusiness, bool) + func (er ErrorResponse) AsLodgingBusiness() (*LodgingBusiness, bool) + func (er ErrorResponse) AsMediaObject() (*MediaObject, bool) + func (er ErrorResponse) AsMovieTheater() (*MovieTheater, bool) + func (er ErrorResponse) AsOrganization() (*Organization, bool) + func (er ErrorResponse) AsPlace() (*Place, bool) + func (er ErrorResponse) AsPlaces() (*Places, bool) + func (er ErrorResponse) AsPostalAddress() (*PostalAddress, bool) + func (er ErrorResponse) AsResponse() (*Response, bool) + func (er ErrorResponse) AsResponseBase() (*ResponseBase, bool) + func (er ErrorResponse) AsRestaurant() (*Restaurant, bool) + func (er ErrorResponse) AsSearchResponse() (*SearchResponse, bool) + func (er ErrorResponse) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (er ErrorResponse) AsStructuredValue() (*StructuredValue, bool) + func (er ErrorResponse) AsThing() (*Thing, bool) + func (er ErrorResponse) AsTouristAttraction() (*TouristAttraction, 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 FoodEstablishment struct + Address *PostalAddress + BingID *string + ContractualRules *[]BasicContractualRulesContractualRule + Description *string + EntityPresentationInfo *EntitiesEntityPresentationInfo + ID *string + Image *ImageObject + IsPermanentlyClosed *bool + Name *string + Panoramas *[]ImageObject + PriceRange *string + TagLine *string + Telephone *string + Type TypeBasicResponseBase + URL *string + WebSearchURL *string + func (fe *FoodEstablishment) UnmarshalJSON(body []byte) error + func (fe FoodEstablishment) AsAirport() (*Airport, bool) + func (fe FoodEstablishment) AsAnswer() (*Answer, bool) + func (fe FoodEstablishment) AsBasicAnswer() (BasicAnswer, bool) + func (fe FoodEstablishment) AsBasicCivicStructure() (BasicCivicStructure, bool) + func (fe FoodEstablishment) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (fe FoodEstablishment) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool) + func (fe FoodEstablishment) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool) + func (fe FoodEstablishment) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (fe FoodEstablishment) AsBasicIntangible() (BasicIntangible, bool) + func (fe FoodEstablishment) AsBasicLocalBusiness() (BasicLocalBusiness, bool) + func (fe FoodEstablishment) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool) + func (fe FoodEstablishment) AsBasicMediaObject() (BasicMediaObject, bool) + func (fe FoodEstablishment) AsBasicPlace() (BasicPlace, bool) + func (fe FoodEstablishment) AsBasicResponse() (BasicResponse, bool) + func (fe FoodEstablishment) AsBasicResponseBase() (BasicResponseBase, bool) + func (fe FoodEstablishment) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (fe FoodEstablishment) AsBasicStructuredValue() (BasicStructuredValue, bool) + func (fe FoodEstablishment) AsBasicThing() (BasicThing, bool) + func (fe FoodEstablishment) AsCivicStructure() (*CivicStructure, bool) + func (fe FoodEstablishment) AsCreativeWork() (*CreativeWork, bool) + func (fe FoodEstablishment) AsEntertainmentBusiness() (*EntertainmentBusiness, bool) + func (fe FoodEstablishment) AsEntities() (*Entities, bool) + func (fe FoodEstablishment) AsErrorResponse() (*ErrorResponse, bool) + func (fe FoodEstablishment) AsFoodEstablishment() (*FoodEstablishment, bool) + func (fe FoodEstablishment) AsHotel() (*Hotel, bool) + func (fe FoodEstablishment) AsIdentifiable() (*Identifiable, bool) + func (fe FoodEstablishment) AsImageObject() (*ImageObject, bool) + func (fe FoodEstablishment) AsIntangible() (*Intangible, bool) + func (fe FoodEstablishment) AsLicense() (*License, bool) + func (fe FoodEstablishment) AsLocalBusiness() (*LocalBusiness, bool) + func (fe FoodEstablishment) AsLodgingBusiness() (*LodgingBusiness, bool) + func (fe FoodEstablishment) AsMediaObject() (*MediaObject, bool) + func (fe FoodEstablishment) AsMovieTheater() (*MovieTheater, bool) + func (fe FoodEstablishment) AsOrganization() (*Organization, bool) + func (fe FoodEstablishment) AsPlace() (*Place, bool) + func (fe FoodEstablishment) AsPlaces() (*Places, bool) + func (fe FoodEstablishment) AsPostalAddress() (*PostalAddress, bool) + func (fe FoodEstablishment) AsResponse() (*Response, bool) + func (fe FoodEstablishment) AsResponseBase() (*ResponseBase, bool) + func (fe FoodEstablishment) AsRestaurant() (*Restaurant, bool) + func (fe FoodEstablishment) AsSearchResponse() (*SearchResponse, bool) + func (fe FoodEstablishment) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (fe FoodEstablishment) AsStructuredValue() (*StructuredValue, bool) + func (fe FoodEstablishment) AsThing() (*Thing, bool) + func (fe FoodEstablishment) AsTouristAttraction() (*TouristAttraction, bool) + func (fe FoodEstablishment) MarshalJSON() ([]byte, error) + type Hotel struct + Address *PostalAddress + Amenities *[]string + BingID *string + ContractualRules *[]BasicContractualRulesContractualRule + Description *string + EntityPresentationInfo *EntitiesEntityPresentationInfo + HotelClass *string + ID *string + Image *ImageObject + IsPermanentlyClosed *bool + Name *string + Panoramas *[]ImageObject + PriceRange *string + TagLine *string + Telephone *string + Type TypeBasicResponseBase + URL *string + WebSearchURL *string + func (h *Hotel) UnmarshalJSON(body []byte) error + func (h Hotel) AsAirport() (*Airport, bool) + func (h Hotel) AsAnswer() (*Answer, bool) + func (h Hotel) AsBasicAnswer() (BasicAnswer, bool) + func (h Hotel) AsBasicCivicStructure() (BasicCivicStructure, bool) + func (h Hotel) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (h Hotel) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool) + func (h Hotel) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool) + func (h Hotel) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (h Hotel) AsBasicIntangible() (BasicIntangible, bool) + func (h Hotel) AsBasicLocalBusiness() (BasicLocalBusiness, bool) + func (h Hotel) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool) + func (h Hotel) AsBasicMediaObject() (BasicMediaObject, bool) + func (h Hotel) AsBasicPlace() (BasicPlace, bool) + func (h Hotel) AsBasicResponse() (BasicResponse, bool) + func (h Hotel) AsBasicResponseBase() (BasicResponseBase, bool) + func (h Hotel) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (h Hotel) AsBasicStructuredValue() (BasicStructuredValue, bool) + func (h Hotel) AsBasicThing() (BasicThing, bool) + func (h Hotel) AsCivicStructure() (*CivicStructure, bool) + func (h Hotel) AsCreativeWork() (*CreativeWork, bool) + func (h Hotel) AsEntertainmentBusiness() (*EntertainmentBusiness, bool) + func (h Hotel) AsEntities() (*Entities, bool) + func (h Hotel) AsErrorResponse() (*ErrorResponse, bool) + func (h Hotel) AsFoodEstablishment() (*FoodEstablishment, bool) + func (h Hotel) AsHotel() (*Hotel, bool) + func (h Hotel) AsIdentifiable() (*Identifiable, bool) + func (h Hotel) AsImageObject() (*ImageObject, bool) + func (h Hotel) AsIntangible() (*Intangible, bool) + func (h Hotel) AsLicense() (*License, bool) + func (h Hotel) AsLocalBusiness() (*LocalBusiness, bool) + func (h Hotel) AsLodgingBusiness() (*LodgingBusiness, bool) + func (h Hotel) AsMediaObject() (*MediaObject, bool) + func (h Hotel) AsMovieTheater() (*MovieTheater, bool) + func (h Hotel) AsOrganization() (*Organization, bool) + func (h Hotel) AsPlace() (*Place, bool) + func (h Hotel) AsPlaces() (*Places, bool) + func (h Hotel) AsPostalAddress() (*PostalAddress, bool) + func (h Hotel) AsResponse() (*Response, bool) + func (h Hotel) AsResponseBase() (*ResponseBase, bool) + func (h Hotel) AsRestaurant() (*Restaurant, bool) + func (h Hotel) AsSearchResponse() (*SearchResponse, bool) + func (h Hotel) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (h Hotel) AsStructuredValue() (*StructuredValue, bool) + func (h Hotel) AsThing() (*Thing, bool) + func (h Hotel) AsTouristAttraction() (*TouristAttraction, bool) + func (h Hotel) MarshalJSON() ([]byte, error) + type Identifiable struct + ID *string + Type TypeBasicResponseBase + func (i Identifiable) AsAirport() (*Airport, bool) + func (i Identifiable) AsAnswer() (*Answer, bool) + func (i Identifiable) AsBasicAnswer() (BasicAnswer, bool) + func (i Identifiable) AsBasicCivicStructure() (BasicCivicStructure, bool) + func (i Identifiable) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (i Identifiable) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool) + func (i Identifiable) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool) + func (i Identifiable) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (i Identifiable) AsBasicIntangible() (BasicIntangible, bool) + func (i Identifiable) AsBasicLocalBusiness() (BasicLocalBusiness, bool) + func (i Identifiable) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool) + func (i Identifiable) AsBasicMediaObject() (BasicMediaObject, bool) + func (i Identifiable) AsBasicPlace() (BasicPlace, bool) + func (i Identifiable) AsBasicResponse() (BasicResponse, bool) + func (i Identifiable) AsBasicResponseBase() (BasicResponseBase, bool) + func (i Identifiable) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (i Identifiable) AsBasicStructuredValue() (BasicStructuredValue, bool) + func (i Identifiable) AsBasicThing() (BasicThing, bool) + func (i Identifiable) AsCivicStructure() (*CivicStructure, bool) + func (i Identifiable) AsCreativeWork() (*CreativeWork, bool) + func (i Identifiable) AsEntertainmentBusiness() (*EntertainmentBusiness, bool) + func (i Identifiable) AsEntities() (*Entities, bool) + func (i Identifiable) AsErrorResponse() (*ErrorResponse, bool) + func (i Identifiable) AsFoodEstablishment() (*FoodEstablishment, bool) + func (i Identifiable) AsHotel() (*Hotel, bool) + func (i Identifiable) AsIdentifiable() (*Identifiable, bool) + func (i Identifiable) AsImageObject() (*ImageObject, bool) + func (i Identifiable) AsIntangible() (*Intangible, bool) + func (i Identifiable) AsLicense() (*License, bool) + func (i Identifiable) AsLocalBusiness() (*LocalBusiness, bool) + func (i Identifiable) AsLodgingBusiness() (*LodgingBusiness, bool) + func (i Identifiable) AsMediaObject() (*MediaObject, bool) + func (i Identifiable) AsMovieTheater() (*MovieTheater, bool) + func (i Identifiable) AsOrganization() (*Organization, bool) + func (i Identifiable) AsPlace() (*Place, bool) + func (i Identifiable) AsPlaces() (*Places, bool) + func (i Identifiable) AsPostalAddress() (*PostalAddress, bool) + func (i Identifiable) AsResponse() (*Response, bool) + func (i Identifiable) AsResponseBase() (*ResponseBase, bool) + func (i Identifiable) AsRestaurant() (*Restaurant, bool) + func (i Identifiable) AsSearchResponse() (*SearchResponse, bool) + func (i Identifiable) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (i Identifiable) AsStructuredValue() (*StructuredValue, bool) + func (i Identifiable) AsThing() (*Thing, bool) + func (i Identifiable) AsTouristAttraction() (*TouristAttraction, bool) + func (i Identifiable) MarshalJSON() ([]byte, error) + type ImageObject struct + BingID *string + ContentURL *string + ContractualRules *[]BasicContractualRulesContractualRule + Description *string + EntityPresentationInfo *EntitiesEntityPresentationInfo + 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) AsAirport() (*Airport, bool) + func (ioVar ImageObject) AsAnswer() (*Answer, bool) + func (ioVar ImageObject) AsBasicAnswer() (BasicAnswer, bool) + func (ioVar ImageObject) AsBasicCivicStructure() (BasicCivicStructure, bool) + func (ioVar ImageObject) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (ioVar ImageObject) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool) + func (ioVar ImageObject) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool) + func (ioVar ImageObject) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (ioVar ImageObject) AsBasicIntangible() (BasicIntangible, bool) + func (ioVar ImageObject) AsBasicLocalBusiness() (BasicLocalBusiness, bool) + func (ioVar ImageObject) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool) + func (ioVar ImageObject) AsBasicMediaObject() (BasicMediaObject, bool) + func (ioVar ImageObject) AsBasicPlace() (BasicPlace, bool) + func (ioVar ImageObject) AsBasicResponse() (BasicResponse, bool) + func (ioVar ImageObject) AsBasicResponseBase() (BasicResponseBase, bool) + func (ioVar ImageObject) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (ioVar ImageObject) AsBasicStructuredValue() (BasicStructuredValue, bool) + func (ioVar ImageObject) AsBasicThing() (BasicThing, bool) + func (ioVar ImageObject) AsCivicStructure() (*CivicStructure, bool) + func (ioVar ImageObject) AsCreativeWork() (*CreativeWork, bool) + func (ioVar ImageObject) AsEntertainmentBusiness() (*EntertainmentBusiness, bool) + func (ioVar ImageObject) AsEntities() (*Entities, bool) + func (ioVar ImageObject) AsErrorResponse() (*ErrorResponse, bool) + func (ioVar ImageObject) AsFoodEstablishment() (*FoodEstablishment, bool) + func (ioVar ImageObject) AsHotel() (*Hotel, bool) + func (ioVar ImageObject) AsIdentifiable() (*Identifiable, bool) + func (ioVar ImageObject) AsImageObject() (*ImageObject, bool) + func (ioVar ImageObject) AsIntangible() (*Intangible, bool) + func (ioVar ImageObject) AsLicense() (*License, bool) + func (ioVar ImageObject) AsLocalBusiness() (*LocalBusiness, bool) + func (ioVar ImageObject) AsLodgingBusiness() (*LodgingBusiness, bool) + func (ioVar ImageObject) AsMediaObject() (*MediaObject, bool) + func (ioVar ImageObject) AsMovieTheater() (*MovieTheater, bool) + func (ioVar ImageObject) AsOrganization() (*Organization, bool) + func (ioVar ImageObject) AsPlace() (*Place, bool) + func (ioVar ImageObject) AsPlaces() (*Places, bool) + func (ioVar ImageObject) AsPostalAddress() (*PostalAddress, bool) + func (ioVar ImageObject) AsResponse() (*Response, bool) + func (ioVar ImageObject) AsResponseBase() (*ResponseBase, bool) + func (ioVar ImageObject) AsRestaurant() (*Restaurant, bool) + func (ioVar ImageObject) AsSearchResponse() (*SearchResponse, bool) + func (ioVar ImageObject) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (ioVar ImageObject) AsStructuredValue() (*StructuredValue, bool) + func (ioVar ImageObject) AsThing() (*Thing, bool) + func (ioVar ImageObject) AsTouristAttraction() (*TouristAttraction, bool) + func (ioVar ImageObject) MarshalJSON() ([]byte, error) + type Intangible struct + BingID *string + ContractualRules *[]BasicContractualRulesContractualRule + Description *string + EntityPresentationInfo *EntitiesEntityPresentationInfo + ID *string + Image *ImageObject + Name *string + Type TypeBasicResponseBase + URL *string + WebSearchURL *string + func (i *Intangible) UnmarshalJSON(body []byte) error + func (i Intangible) AsAirport() (*Airport, bool) + func (i Intangible) AsAnswer() (*Answer, bool) + func (i Intangible) AsBasicAnswer() (BasicAnswer, bool) + func (i Intangible) AsBasicCivicStructure() (BasicCivicStructure, bool) + func (i Intangible) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (i Intangible) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool) + func (i Intangible) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool) + func (i Intangible) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (i Intangible) AsBasicIntangible() (BasicIntangible, bool) + func (i Intangible) AsBasicLocalBusiness() (BasicLocalBusiness, bool) + func (i Intangible) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool) + func (i Intangible) AsBasicMediaObject() (BasicMediaObject, bool) + func (i Intangible) AsBasicPlace() (BasicPlace, bool) + func (i Intangible) AsBasicResponse() (BasicResponse, bool) + func (i Intangible) AsBasicResponseBase() (BasicResponseBase, bool) + func (i Intangible) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (i Intangible) AsBasicStructuredValue() (BasicStructuredValue, bool) + func (i Intangible) AsBasicThing() (BasicThing, bool) + func (i Intangible) AsCivicStructure() (*CivicStructure, bool) + func (i Intangible) AsCreativeWork() (*CreativeWork, bool) + func (i Intangible) AsEntertainmentBusiness() (*EntertainmentBusiness, bool) + func (i Intangible) AsEntities() (*Entities, bool) + func (i Intangible) AsErrorResponse() (*ErrorResponse, bool) + func (i Intangible) AsFoodEstablishment() (*FoodEstablishment, bool) + func (i Intangible) AsHotel() (*Hotel, bool) + func (i Intangible) AsIdentifiable() (*Identifiable, bool) + func (i Intangible) AsImageObject() (*ImageObject, bool) + func (i Intangible) AsIntangible() (*Intangible, bool) + func (i Intangible) AsLicense() (*License, bool) + func (i Intangible) AsLocalBusiness() (*LocalBusiness, bool) + func (i Intangible) AsLodgingBusiness() (*LodgingBusiness, bool) + func (i Intangible) AsMediaObject() (*MediaObject, bool) + func (i Intangible) AsMovieTheater() (*MovieTheater, bool) + func (i Intangible) AsOrganization() (*Organization, bool) + func (i Intangible) AsPlace() (*Place, bool) + func (i Intangible) AsPlaces() (*Places, bool) + func (i Intangible) AsPostalAddress() (*PostalAddress, bool) + func (i Intangible) AsResponse() (*Response, bool) + func (i Intangible) AsResponseBase() (*ResponseBase, bool) + func (i Intangible) AsRestaurant() (*Restaurant, bool) + func (i Intangible) AsSearchResponse() (*SearchResponse, bool) + func (i Intangible) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (i Intangible) AsStructuredValue() (*StructuredValue, bool) + func (i Intangible) AsThing() (*Thing, bool) + func (i Intangible) AsTouristAttraction() (*TouristAttraction, bool) + func (i Intangible) MarshalJSON() ([]byte, error) + type License struct + BingID *string + ContractualRules *[]BasicContractualRulesContractualRule + Description *string + EntityPresentationInfo *EntitiesEntityPresentationInfo + ID *string + Image *ImageObject + Name *string + Provider *[]BasicThing + Text *string + ThumbnailURL *string + Type TypeBasicResponseBase + URL *string + WebSearchURL *string + func (l *License) UnmarshalJSON(body []byte) error + func (l License) AsAirport() (*Airport, bool) + func (l License) AsAnswer() (*Answer, bool) + func (l License) AsBasicAnswer() (BasicAnswer, bool) + func (l License) AsBasicCivicStructure() (BasicCivicStructure, bool) + func (l License) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (l License) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool) + func (l License) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool) + func (l License) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (l License) AsBasicIntangible() (BasicIntangible, bool) + func (l License) AsBasicLocalBusiness() (BasicLocalBusiness, bool) + func (l License) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool) + func (l License) AsBasicMediaObject() (BasicMediaObject, bool) + func (l License) AsBasicPlace() (BasicPlace, bool) + func (l License) AsBasicResponse() (BasicResponse, bool) + func (l License) AsBasicResponseBase() (BasicResponseBase, bool) + func (l License) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (l License) AsBasicStructuredValue() (BasicStructuredValue, bool) + func (l License) AsBasicThing() (BasicThing, bool) + func (l License) AsCivicStructure() (*CivicStructure, bool) + func (l License) AsCreativeWork() (*CreativeWork, bool) + func (l License) AsEntertainmentBusiness() (*EntertainmentBusiness, bool) + func (l License) AsEntities() (*Entities, bool) + func (l License) AsErrorResponse() (*ErrorResponse, bool) + func (l License) AsFoodEstablishment() (*FoodEstablishment, bool) + func (l License) AsHotel() (*Hotel, bool) + func (l License) AsIdentifiable() (*Identifiable, bool) + func (l License) AsImageObject() (*ImageObject, bool) + func (l License) AsIntangible() (*Intangible, bool) + func (l License) AsLicense() (*License, bool) + func (l License) AsLocalBusiness() (*LocalBusiness, bool) + func (l License) AsLodgingBusiness() (*LodgingBusiness, bool) + func (l License) AsMediaObject() (*MediaObject, bool) + func (l License) AsMovieTheater() (*MovieTheater, bool) + func (l License) AsOrganization() (*Organization, bool) + func (l License) AsPlace() (*Place, bool) + func (l License) AsPlaces() (*Places, bool) + func (l License) AsPostalAddress() (*PostalAddress, bool) + func (l License) AsResponse() (*Response, bool) + func (l License) AsResponseBase() (*ResponseBase, bool) + func (l License) AsRestaurant() (*Restaurant, bool) + func (l License) AsSearchResponse() (*SearchResponse, bool) + func (l License) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (l License) AsStructuredValue() (*StructuredValue, bool) + func (l License) AsThing() (*Thing, bool) + func (l License) AsTouristAttraction() (*TouristAttraction, bool) + func (l License) MarshalJSON() ([]byte, error) + type LocalBusiness struct + Address *PostalAddress + BingID *string + ContractualRules *[]BasicContractualRulesContractualRule + Description *string + EntityPresentationInfo *EntitiesEntityPresentationInfo + ID *string + Image *ImageObject + IsPermanentlyClosed *bool + Name *string + Panoramas *[]ImageObject + PriceRange *string + TagLine *string + Telephone *string + Type TypeBasicResponseBase + URL *string + WebSearchURL *string + func (lb *LocalBusiness) UnmarshalJSON(body []byte) error + func (lb LocalBusiness) AsAirport() (*Airport, bool) + func (lb LocalBusiness) AsAnswer() (*Answer, bool) + func (lb LocalBusiness) AsBasicAnswer() (BasicAnswer, bool) + func (lb LocalBusiness) AsBasicCivicStructure() (BasicCivicStructure, bool) + func (lb LocalBusiness) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (lb LocalBusiness) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool) + func (lb LocalBusiness) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool) + func (lb LocalBusiness) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (lb LocalBusiness) AsBasicIntangible() (BasicIntangible, bool) + func (lb LocalBusiness) AsBasicLocalBusiness() (BasicLocalBusiness, bool) + func (lb LocalBusiness) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool) + func (lb LocalBusiness) AsBasicMediaObject() (BasicMediaObject, bool) + func (lb LocalBusiness) AsBasicPlace() (BasicPlace, bool) + func (lb LocalBusiness) AsBasicResponse() (BasicResponse, bool) + func (lb LocalBusiness) AsBasicResponseBase() (BasicResponseBase, bool) + func (lb LocalBusiness) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (lb LocalBusiness) AsBasicStructuredValue() (BasicStructuredValue, bool) + func (lb LocalBusiness) AsBasicThing() (BasicThing, bool) + func (lb LocalBusiness) AsCivicStructure() (*CivicStructure, bool) + func (lb LocalBusiness) AsCreativeWork() (*CreativeWork, bool) + func (lb LocalBusiness) AsEntertainmentBusiness() (*EntertainmentBusiness, bool) + func (lb LocalBusiness) AsEntities() (*Entities, bool) + func (lb LocalBusiness) AsErrorResponse() (*ErrorResponse, bool) + func (lb LocalBusiness) AsFoodEstablishment() (*FoodEstablishment, bool) + func (lb LocalBusiness) AsHotel() (*Hotel, bool) + func (lb LocalBusiness) AsIdentifiable() (*Identifiable, bool) + func (lb LocalBusiness) AsImageObject() (*ImageObject, bool) + func (lb LocalBusiness) AsIntangible() (*Intangible, bool) + func (lb LocalBusiness) AsLicense() (*License, bool) + func (lb LocalBusiness) AsLocalBusiness() (*LocalBusiness, bool) + func (lb LocalBusiness) AsLodgingBusiness() (*LodgingBusiness, bool) + func (lb LocalBusiness) AsMediaObject() (*MediaObject, bool) + func (lb LocalBusiness) AsMovieTheater() (*MovieTheater, bool) + func (lb LocalBusiness) AsOrganization() (*Organization, bool) + func (lb LocalBusiness) AsPlace() (*Place, bool) + func (lb LocalBusiness) AsPlaces() (*Places, bool) + func (lb LocalBusiness) AsPostalAddress() (*PostalAddress, bool) + func (lb LocalBusiness) AsResponse() (*Response, bool) + func (lb LocalBusiness) AsResponseBase() (*ResponseBase, bool) + func (lb LocalBusiness) AsRestaurant() (*Restaurant, bool) + func (lb LocalBusiness) AsSearchResponse() (*SearchResponse, bool) + func (lb LocalBusiness) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (lb LocalBusiness) AsStructuredValue() (*StructuredValue, bool) + func (lb LocalBusiness) AsThing() (*Thing, bool) + func (lb LocalBusiness) AsTouristAttraction() (*TouristAttraction, bool) + func (lb LocalBusiness) MarshalJSON() ([]byte, error) + type LodgingBusiness struct + Address *PostalAddress + BingID *string + ContractualRules *[]BasicContractualRulesContractualRule + Description *string + EntityPresentationInfo *EntitiesEntityPresentationInfo + ID *string + Image *ImageObject + IsPermanentlyClosed *bool + Name *string + Panoramas *[]ImageObject + PriceRange *string + TagLine *string + Telephone *string + Type TypeBasicResponseBase + URL *string + WebSearchURL *string + func (lb *LodgingBusiness) UnmarshalJSON(body []byte) error + func (lb LodgingBusiness) AsAirport() (*Airport, bool) + func (lb LodgingBusiness) AsAnswer() (*Answer, bool) + func (lb LodgingBusiness) AsBasicAnswer() (BasicAnswer, bool) + func (lb LodgingBusiness) AsBasicCivicStructure() (BasicCivicStructure, bool) + func (lb LodgingBusiness) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (lb LodgingBusiness) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool) + func (lb LodgingBusiness) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool) + func (lb LodgingBusiness) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (lb LodgingBusiness) AsBasicIntangible() (BasicIntangible, bool) + func (lb LodgingBusiness) AsBasicLocalBusiness() (BasicLocalBusiness, bool) + func (lb LodgingBusiness) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool) + func (lb LodgingBusiness) AsBasicMediaObject() (BasicMediaObject, bool) + func (lb LodgingBusiness) AsBasicPlace() (BasicPlace, bool) + func (lb LodgingBusiness) AsBasicResponse() (BasicResponse, bool) + func (lb LodgingBusiness) AsBasicResponseBase() (BasicResponseBase, bool) + func (lb LodgingBusiness) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (lb LodgingBusiness) AsBasicStructuredValue() (BasicStructuredValue, bool) + func (lb LodgingBusiness) AsBasicThing() (BasicThing, bool) + func (lb LodgingBusiness) AsCivicStructure() (*CivicStructure, bool) + func (lb LodgingBusiness) AsCreativeWork() (*CreativeWork, bool) + func (lb LodgingBusiness) AsEntertainmentBusiness() (*EntertainmentBusiness, bool) + func (lb LodgingBusiness) AsEntities() (*Entities, bool) + func (lb LodgingBusiness) AsErrorResponse() (*ErrorResponse, bool) + func (lb LodgingBusiness) AsFoodEstablishment() (*FoodEstablishment, bool) + func (lb LodgingBusiness) AsHotel() (*Hotel, bool) + func (lb LodgingBusiness) AsIdentifiable() (*Identifiable, bool) + func (lb LodgingBusiness) AsImageObject() (*ImageObject, bool) + func (lb LodgingBusiness) AsIntangible() (*Intangible, bool) + func (lb LodgingBusiness) AsLicense() (*License, bool) + func (lb LodgingBusiness) AsLocalBusiness() (*LocalBusiness, bool) + func (lb LodgingBusiness) AsLodgingBusiness() (*LodgingBusiness, bool) + func (lb LodgingBusiness) AsMediaObject() (*MediaObject, bool) + func (lb LodgingBusiness) AsMovieTheater() (*MovieTheater, bool) + func (lb LodgingBusiness) AsOrganization() (*Organization, bool) + func (lb LodgingBusiness) AsPlace() (*Place, bool) + func (lb LodgingBusiness) AsPlaces() (*Places, bool) + func (lb LodgingBusiness) AsPostalAddress() (*PostalAddress, bool) + func (lb LodgingBusiness) AsResponse() (*Response, bool) + func (lb LodgingBusiness) AsResponseBase() (*ResponseBase, bool) + func (lb LodgingBusiness) AsRestaurant() (*Restaurant, bool) + func (lb LodgingBusiness) AsSearchResponse() (*SearchResponse, bool) + func (lb LodgingBusiness) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (lb LodgingBusiness) AsStructuredValue() (*StructuredValue, bool) + func (lb LodgingBusiness) AsThing() (*Thing, bool) + func (lb LodgingBusiness) AsTouristAttraction() (*TouristAttraction, bool) + func (lb LodgingBusiness) MarshalJSON() ([]byte, error) + type MediaObject struct + BingID *string + ContentURL *string + ContractualRules *[]BasicContractualRulesContractualRule + Description *string + EntityPresentationInfo *EntitiesEntityPresentationInfo + 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) AsAirport() (*Airport, bool) + func (mo MediaObject) AsAnswer() (*Answer, bool) + func (mo MediaObject) AsBasicAnswer() (BasicAnswer, bool) + func (mo MediaObject) AsBasicCivicStructure() (BasicCivicStructure, bool) + func (mo MediaObject) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (mo MediaObject) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool) + func (mo MediaObject) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool) + func (mo MediaObject) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (mo MediaObject) AsBasicIntangible() (BasicIntangible, bool) + func (mo MediaObject) AsBasicLocalBusiness() (BasicLocalBusiness, bool) + func (mo MediaObject) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool) + func (mo MediaObject) AsBasicMediaObject() (BasicMediaObject, bool) + func (mo MediaObject) AsBasicPlace() (BasicPlace, bool) + func (mo MediaObject) AsBasicResponse() (BasicResponse, bool) + func (mo MediaObject) AsBasicResponseBase() (BasicResponseBase, bool) + func (mo MediaObject) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (mo MediaObject) AsBasicStructuredValue() (BasicStructuredValue, bool) + func (mo MediaObject) AsBasicThing() (BasicThing, bool) + func (mo MediaObject) AsCivicStructure() (*CivicStructure, bool) + func (mo MediaObject) AsCreativeWork() (*CreativeWork, bool) + func (mo MediaObject) AsEntertainmentBusiness() (*EntertainmentBusiness, bool) + func (mo MediaObject) AsEntities() (*Entities, bool) + func (mo MediaObject) AsErrorResponse() (*ErrorResponse, bool) + func (mo MediaObject) AsFoodEstablishment() (*FoodEstablishment, bool) + func (mo MediaObject) AsHotel() (*Hotel, bool) + func (mo MediaObject) AsIdentifiable() (*Identifiable, bool) + func (mo MediaObject) AsImageObject() (*ImageObject, bool) + func (mo MediaObject) AsIntangible() (*Intangible, bool) + func (mo MediaObject) AsLicense() (*License, bool) + func (mo MediaObject) AsLocalBusiness() (*LocalBusiness, bool) + func (mo MediaObject) AsLodgingBusiness() (*LodgingBusiness, bool) + func (mo MediaObject) AsMediaObject() (*MediaObject, bool) + func (mo MediaObject) AsMovieTheater() (*MovieTheater, bool) + func (mo MediaObject) AsOrganization() (*Organization, bool) + func (mo MediaObject) AsPlace() (*Place, bool) + func (mo MediaObject) AsPlaces() (*Places, bool) + func (mo MediaObject) AsPostalAddress() (*PostalAddress, bool) + func (mo MediaObject) AsResponse() (*Response, bool) + func (mo MediaObject) AsResponseBase() (*ResponseBase, bool) + func (mo MediaObject) AsRestaurant() (*Restaurant, bool) + func (mo MediaObject) AsSearchResponse() (*SearchResponse, bool) + func (mo MediaObject) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (mo MediaObject) AsStructuredValue() (*StructuredValue, bool) + func (mo MediaObject) AsThing() (*Thing, bool) + func (mo MediaObject) AsTouristAttraction() (*TouristAttraction, bool) + func (mo MediaObject) MarshalJSON() ([]byte, error) + type MovieTheater struct + Address *PostalAddress + BingID *string + ContractualRules *[]BasicContractualRulesContractualRule + Description *string + EntityPresentationInfo *EntitiesEntityPresentationInfo + ID *string + Image *ImageObject + IsPermanentlyClosed *bool + Name *string + Panoramas *[]ImageObject + PriceRange *string + ScreenCount *int32 + TagLine *string + Telephone *string + Type TypeBasicResponseBase + URL *string + WebSearchURL *string + func (mt *MovieTheater) UnmarshalJSON(body []byte) error + func (mt MovieTheater) AsAirport() (*Airport, bool) + func (mt MovieTheater) AsAnswer() (*Answer, bool) + func (mt MovieTheater) AsBasicAnswer() (BasicAnswer, bool) + func (mt MovieTheater) AsBasicCivicStructure() (BasicCivicStructure, bool) + func (mt MovieTheater) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (mt MovieTheater) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool) + func (mt MovieTheater) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool) + func (mt MovieTheater) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (mt MovieTheater) AsBasicIntangible() (BasicIntangible, bool) + func (mt MovieTheater) AsBasicLocalBusiness() (BasicLocalBusiness, bool) + func (mt MovieTheater) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool) + func (mt MovieTheater) AsBasicMediaObject() (BasicMediaObject, bool) + func (mt MovieTheater) AsBasicPlace() (BasicPlace, bool) + func (mt MovieTheater) AsBasicResponse() (BasicResponse, bool) + func (mt MovieTheater) AsBasicResponseBase() (BasicResponseBase, bool) + func (mt MovieTheater) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (mt MovieTheater) AsBasicStructuredValue() (BasicStructuredValue, bool) + func (mt MovieTheater) AsBasicThing() (BasicThing, bool) + func (mt MovieTheater) AsCivicStructure() (*CivicStructure, bool) + func (mt MovieTheater) AsCreativeWork() (*CreativeWork, bool) + func (mt MovieTheater) AsEntertainmentBusiness() (*EntertainmentBusiness, bool) + func (mt MovieTheater) AsEntities() (*Entities, bool) + func (mt MovieTheater) AsErrorResponse() (*ErrorResponse, bool) + func (mt MovieTheater) AsFoodEstablishment() (*FoodEstablishment, bool) + func (mt MovieTheater) AsHotel() (*Hotel, bool) + func (mt MovieTheater) AsIdentifiable() (*Identifiable, bool) + func (mt MovieTheater) AsImageObject() (*ImageObject, bool) + func (mt MovieTheater) AsIntangible() (*Intangible, bool) + func (mt MovieTheater) AsLicense() (*License, bool) + func (mt MovieTheater) AsLocalBusiness() (*LocalBusiness, bool) + func (mt MovieTheater) AsLodgingBusiness() (*LodgingBusiness, bool) + func (mt MovieTheater) AsMediaObject() (*MediaObject, bool) + func (mt MovieTheater) AsMovieTheater() (*MovieTheater, bool) + func (mt MovieTheater) AsOrganization() (*Organization, bool) + func (mt MovieTheater) AsPlace() (*Place, bool) + func (mt MovieTheater) AsPlaces() (*Places, bool) + func (mt MovieTheater) AsPostalAddress() (*PostalAddress, bool) + func (mt MovieTheater) AsResponse() (*Response, bool) + func (mt MovieTheater) AsResponseBase() (*ResponseBase, bool) + func (mt MovieTheater) AsRestaurant() (*Restaurant, bool) + func (mt MovieTheater) AsSearchResponse() (*SearchResponse, bool) + func (mt MovieTheater) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (mt MovieTheater) AsStructuredValue() (*StructuredValue, bool) + func (mt MovieTheater) AsThing() (*Thing, bool) + func (mt MovieTheater) AsTouristAttraction() (*TouristAttraction, bool) + func (mt MovieTheater) MarshalJSON() ([]byte, error) + type Organization struct + BingID *string + ContractualRules *[]BasicContractualRulesContractualRule + Description *string + EntityPresentationInfo *EntitiesEntityPresentationInfo + ID *string + Image *ImageObject + Name *string + Type TypeBasicResponseBase + URL *string + WebSearchURL *string + func (o *Organization) UnmarshalJSON(body []byte) error + func (o Organization) AsAirport() (*Airport, bool) + func (o Organization) AsAnswer() (*Answer, bool) + func (o Organization) AsBasicAnswer() (BasicAnswer, bool) + func (o Organization) AsBasicCivicStructure() (BasicCivicStructure, bool) + func (o Organization) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (o Organization) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool) + func (o Organization) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool) + func (o Organization) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (o Organization) AsBasicIntangible() (BasicIntangible, bool) + func (o Organization) AsBasicLocalBusiness() (BasicLocalBusiness, bool) + func (o Organization) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool) + func (o Organization) AsBasicMediaObject() (BasicMediaObject, bool) + func (o Organization) AsBasicPlace() (BasicPlace, bool) + func (o Organization) AsBasicResponse() (BasicResponse, bool) + func (o Organization) AsBasicResponseBase() (BasicResponseBase, bool) + func (o Organization) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (o Organization) AsBasicStructuredValue() (BasicStructuredValue, bool) + func (o Organization) AsBasicThing() (BasicThing, bool) + func (o Organization) AsCivicStructure() (*CivicStructure, bool) + func (o Organization) AsCreativeWork() (*CreativeWork, bool) + func (o Organization) AsEntertainmentBusiness() (*EntertainmentBusiness, bool) + func (o Organization) AsEntities() (*Entities, bool) + func (o Organization) AsErrorResponse() (*ErrorResponse, bool) + func (o Organization) AsFoodEstablishment() (*FoodEstablishment, bool) + func (o Organization) AsHotel() (*Hotel, bool) + func (o Organization) AsIdentifiable() (*Identifiable, bool) + func (o Organization) AsImageObject() (*ImageObject, bool) + func (o Organization) AsIntangible() (*Intangible, bool) + func (o Organization) AsLicense() (*License, bool) + func (o Organization) AsLocalBusiness() (*LocalBusiness, bool) + func (o Organization) AsLodgingBusiness() (*LodgingBusiness, bool) + func (o Organization) AsMediaObject() (*MediaObject, bool) + func (o Organization) AsMovieTheater() (*MovieTheater, bool) + func (o Organization) AsOrganization() (*Organization, bool) + func (o Organization) AsPlace() (*Place, bool) + func (o Organization) AsPlaces() (*Places, bool) + func (o Organization) AsPostalAddress() (*PostalAddress, bool) + func (o Organization) AsResponse() (*Response, bool) + func (o Organization) AsResponseBase() (*ResponseBase, bool) + func (o Organization) AsRestaurant() (*Restaurant, bool) + func (o Organization) AsSearchResponse() (*SearchResponse, bool) + func (o Organization) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (o Organization) AsStructuredValue() (*StructuredValue, bool) + func (o Organization) AsThing() (*Thing, bool) + func (o Organization) AsTouristAttraction() (*TouristAttraction, bool) + func (o Organization) MarshalJSON() ([]byte, error) + type Place struct + Address *PostalAddress + BingID *string + ContractualRules *[]BasicContractualRulesContractualRule + Description *string + EntityPresentationInfo *EntitiesEntityPresentationInfo + ID *string + Image *ImageObject + Name *string + Telephone *string + Type TypeBasicResponseBase + URL *string + WebSearchURL *string + func (p *Place) UnmarshalJSON(body []byte) error + func (p Place) AsAirport() (*Airport, bool) + func (p Place) AsAnswer() (*Answer, bool) + func (p Place) AsBasicAnswer() (BasicAnswer, bool) + func (p Place) AsBasicCivicStructure() (BasicCivicStructure, bool) + func (p Place) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (p Place) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool) + func (p Place) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool) + func (p Place) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (p Place) AsBasicIntangible() (BasicIntangible, bool) + func (p Place) AsBasicLocalBusiness() (BasicLocalBusiness, bool) + func (p Place) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool) + func (p Place) AsBasicMediaObject() (BasicMediaObject, bool) + func (p Place) AsBasicPlace() (BasicPlace, bool) + func (p Place) AsBasicResponse() (BasicResponse, bool) + func (p Place) AsBasicResponseBase() (BasicResponseBase, bool) + func (p Place) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (p Place) AsBasicStructuredValue() (BasicStructuredValue, bool) + func (p Place) AsBasicThing() (BasicThing, bool) + func (p Place) AsCivicStructure() (*CivicStructure, bool) + func (p Place) AsCreativeWork() (*CreativeWork, bool) + func (p Place) AsEntertainmentBusiness() (*EntertainmentBusiness, bool) + func (p Place) AsEntities() (*Entities, bool) + func (p Place) AsErrorResponse() (*ErrorResponse, bool) + func (p Place) AsFoodEstablishment() (*FoodEstablishment, bool) + func (p Place) AsHotel() (*Hotel, bool) + func (p Place) AsIdentifiable() (*Identifiable, bool) + func (p Place) AsImageObject() (*ImageObject, bool) + func (p Place) AsIntangible() (*Intangible, bool) + func (p Place) AsLicense() (*License, bool) + func (p Place) AsLocalBusiness() (*LocalBusiness, bool) + func (p Place) AsLodgingBusiness() (*LodgingBusiness, bool) + func (p Place) AsMediaObject() (*MediaObject, bool) + func (p Place) AsMovieTheater() (*MovieTheater, bool) + func (p Place) AsOrganization() (*Organization, bool) + func (p Place) AsPlace() (*Place, bool) + func (p Place) AsPlaces() (*Places, bool) + func (p Place) AsPostalAddress() (*PostalAddress, bool) + func (p Place) AsResponse() (*Response, bool) + func (p Place) AsResponseBase() (*ResponseBase, bool) + func (p Place) AsRestaurant() (*Restaurant, bool) + func (p Place) AsSearchResponse() (*SearchResponse, bool) + func (p Place) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (p Place) AsStructuredValue() (*StructuredValue, bool) + func (p Place) AsThing() (*Thing, bool) + func (p Place) AsTouristAttraction() (*TouristAttraction, bool) + func (p Place) MarshalJSON() ([]byte, error) + type Places struct + ContractualRules *[]BasicContractualRulesContractualRule + ID *string + QueryContext *QueryContext + Type TypeBasicResponseBase + Value *[]BasicThing + WebSearchURL *string + func (p *Places) UnmarshalJSON(body []byte) error + func (p Places) AsAirport() (*Airport, bool) + func (p Places) AsAnswer() (*Answer, bool) + func (p Places) AsBasicAnswer() (BasicAnswer, bool) + func (p Places) AsBasicCivicStructure() (BasicCivicStructure, bool) + func (p Places) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (p Places) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool) + func (p Places) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool) + func (p Places) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (p Places) AsBasicIntangible() (BasicIntangible, bool) + func (p Places) AsBasicLocalBusiness() (BasicLocalBusiness, bool) + func (p Places) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool) + func (p Places) AsBasicMediaObject() (BasicMediaObject, bool) + func (p Places) AsBasicPlace() (BasicPlace, bool) + func (p Places) AsBasicResponse() (BasicResponse, bool) + func (p Places) AsBasicResponseBase() (BasicResponseBase, bool) + func (p Places) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (p Places) AsBasicStructuredValue() (BasicStructuredValue, bool) + func (p Places) AsBasicThing() (BasicThing, bool) + func (p Places) AsCivicStructure() (*CivicStructure, bool) + func (p Places) AsCreativeWork() (*CreativeWork, bool) + func (p Places) AsEntertainmentBusiness() (*EntertainmentBusiness, bool) + func (p Places) AsEntities() (*Entities, bool) + func (p Places) AsErrorResponse() (*ErrorResponse, bool) + func (p Places) AsFoodEstablishment() (*FoodEstablishment, bool) + func (p Places) AsHotel() (*Hotel, bool) + func (p Places) AsIdentifiable() (*Identifiable, bool) + func (p Places) AsImageObject() (*ImageObject, bool) + func (p Places) AsIntangible() (*Intangible, bool) + func (p Places) AsLicense() (*License, bool) + func (p Places) AsLocalBusiness() (*LocalBusiness, bool) + func (p Places) AsLodgingBusiness() (*LodgingBusiness, bool) + func (p Places) AsMediaObject() (*MediaObject, bool) + func (p Places) AsMovieTheater() (*MovieTheater, bool) + func (p Places) AsOrganization() (*Organization, bool) + func (p Places) AsPlace() (*Place, bool) + func (p Places) AsPlaces() (*Places, bool) + func (p Places) AsPostalAddress() (*PostalAddress, bool) + func (p Places) AsResponse() (*Response, bool) + func (p Places) AsResponseBase() (*ResponseBase, bool) + func (p Places) AsRestaurant() (*Restaurant, bool) + func (p Places) AsSearchResponse() (*SearchResponse, bool) + func (p Places) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (p Places) AsStructuredValue() (*StructuredValue, bool) + func (p Places) AsThing() (*Thing, bool) + func (p Places) AsTouristAttraction() (*TouristAttraction, bool) + func (p Places) MarshalJSON() ([]byte, error) + type PostalAddress struct + AddressCountry *string + AddressLocality *string + AddressRegion *string + AddressRegionAbbreviation *string + AddressSubregion *string + BingID *string + ContractualRules *[]BasicContractualRulesContractualRule + CountryIso *string + Description *string + EntityPresentationInfo *EntitiesEntityPresentationInfo + ID *string + Image *ImageObject + Name *string + Neighborhood *string + PostOfficeBoxNumber *string + PostalCode *string + StreetAddress *string + Text *string + Type TypeBasicResponseBase + URL *string + WebSearchURL *string + func (pa *PostalAddress) UnmarshalJSON(body []byte) error + func (pa PostalAddress) AsAirport() (*Airport, bool) + func (pa PostalAddress) AsAnswer() (*Answer, bool) + func (pa PostalAddress) AsBasicAnswer() (BasicAnswer, bool) + func (pa PostalAddress) AsBasicCivicStructure() (BasicCivicStructure, bool) + func (pa PostalAddress) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (pa PostalAddress) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool) + func (pa PostalAddress) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool) + func (pa PostalAddress) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (pa PostalAddress) AsBasicIntangible() (BasicIntangible, bool) + func (pa PostalAddress) AsBasicLocalBusiness() (BasicLocalBusiness, bool) + func (pa PostalAddress) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool) + func (pa PostalAddress) AsBasicMediaObject() (BasicMediaObject, bool) + func (pa PostalAddress) AsBasicPlace() (BasicPlace, bool) + func (pa PostalAddress) AsBasicResponse() (BasicResponse, bool) + func (pa PostalAddress) AsBasicResponseBase() (BasicResponseBase, bool) + func (pa PostalAddress) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (pa PostalAddress) AsBasicStructuredValue() (BasicStructuredValue, bool) + func (pa PostalAddress) AsBasicThing() (BasicThing, bool) + func (pa PostalAddress) AsCivicStructure() (*CivicStructure, bool) + func (pa PostalAddress) AsCreativeWork() (*CreativeWork, bool) + func (pa PostalAddress) AsEntertainmentBusiness() (*EntertainmentBusiness, bool) + func (pa PostalAddress) AsEntities() (*Entities, bool) + func (pa PostalAddress) AsErrorResponse() (*ErrorResponse, bool) + func (pa PostalAddress) AsFoodEstablishment() (*FoodEstablishment, bool) + func (pa PostalAddress) AsHotel() (*Hotel, bool) + func (pa PostalAddress) AsIdentifiable() (*Identifiable, bool) + func (pa PostalAddress) AsImageObject() (*ImageObject, bool) + func (pa PostalAddress) AsIntangible() (*Intangible, bool) + func (pa PostalAddress) AsLicense() (*License, bool) + func (pa PostalAddress) AsLocalBusiness() (*LocalBusiness, bool) + func (pa PostalAddress) AsLodgingBusiness() (*LodgingBusiness, bool) + func (pa PostalAddress) AsMediaObject() (*MediaObject, bool) + func (pa PostalAddress) AsMovieTheater() (*MovieTheater, bool) + func (pa PostalAddress) AsOrganization() (*Organization, bool) + func (pa PostalAddress) AsPlace() (*Place, bool) + func (pa PostalAddress) AsPlaces() (*Places, bool) + func (pa PostalAddress) AsPostalAddress() (*PostalAddress, bool) + func (pa PostalAddress) AsResponse() (*Response, bool) + func (pa PostalAddress) AsResponseBase() (*ResponseBase, bool) + func (pa PostalAddress) AsRestaurant() (*Restaurant, bool) + func (pa PostalAddress) AsSearchResponse() (*SearchResponse, bool) + func (pa PostalAddress) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (pa PostalAddress) AsStructuredValue() (*StructuredValue, bool) + func (pa PostalAddress) AsThing() (*Thing, bool) + func (pa PostalAddress) AsTouristAttraction() (*TouristAttraction, bool) + func (pa PostalAddress) MarshalJSON() ([]byte, error) + type QueryContext struct + AdultIntent *bool + AlterationOverrideQuery *string + AlteredQuery *string + AskUserForLocation *bool + OriginalQuery *string + type Response struct + ContractualRules *[]BasicContractualRulesContractualRule + ID *string + Type TypeBasicResponseBase + WebSearchURL *string + func (r *Response) UnmarshalJSON(body []byte) error + func (r Response) AsAirport() (*Airport, bool) + func (r Response) AsAnswer() (*Answer, bool) + func (r Response) AsBasicAnswer() (BasicAnswer, bool) + func (r Response) AsBasicCivicStructure() (BasicCivicStructure, bool) + func (r Response) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (r Response) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool) + func (r Response) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool) + func (r Response) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (r Response) AsBasicIntangible() (BasicIntangible, bool) + func (r Response) AsBasicLocalBusiness() (BasicLocalBusiness, bool) + func (r Response) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool) + func (r Response) AsBasicMediaObject() (BasicMediaObject, bool) + func (r Response) AsBasicPlace() (BasicPlace, bool) + func (r Response) AsBasicResponse() (BasicResponse, bool) + func (r Response) AsBasicResponseBase() (BasicResponseBase, bool) + func (r Response) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (r Response) AsBasicStructuredValue() (BasicStructuredValue, bool) + func (r Response) AsBasicThing() (BasicThing, bool) + func (r Response) AsCivicStructure() (*CivicStructure, bool) + func (r Response) AsCreativeWork() (*CreativeWork, bool) + func (r Response) AsEntertainmentBusiness() (*EntertainmentBusiness, bool) + func (r Response) AsEntities() (*Entities, bool) + func (r Response) AsErrorResponse() (*ErrorResponse, bool) + func (r Response) AsFoodEstablishment() (*FoodEstablishment, bool) + func (r Response) AsHotel() (*Hotel, bool) + func (r Response) AsIdentifiable() (*Identifiable, bool) + func (r Response) AsImageObject() (*ImageObject, bool) + func (r Response) AsIntangible() (*Intangible, bool) + func (r Response) AsLicense() (*License, bool) + func (r Response) AsLocalBusiness() (*LocalBusiness, bool) + func (r Response) AsLodgingBusiness() (*LodgingBusiness, bool) + func (r Response) AsMediaObject() (*MediaObject, bool) + func (r Response) AsMovieTheater() (*MovieTheater, bool) + func (r Response) AsOrganization() (*Organization, bool) + func (r Response) AsPlace() (*Place, bool) + func (r Response) AsPlaces() (*Places, bool) + func (r Response) AsPostalAddress() (*PostalAddress, bool) + func (r Response) AsResponse() (*Response, bool) + func (r Response) AsResponseBase() (*ResponseBase, bool) + func (r Response) AsRestaurant() (*Restaurant, bool) + func (r Response) AsSearchResponse() (*SearchResponse, bool) + func (r Response) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (r Response) AsStructuredValue() (*StructuredValue, bool) + func (r Response) AsThing() (*Thing, bool) + func (r Response) AsTouristAttraction() (*TouristAttraction, bool) + func (r Response) MarshalJSON() ([]byte, error) + type ResponseBase struct + Type TypeBasicResponseBase + func (rb ResponseBase) AsAirport() (*Airport, bool) + func (rb ResponseBase) AsAnswer() (*Answer, bool) + func (rb ResponseBase) AsBasicAnswer() (BasicAnswer, bool) + func (rb ResponseBase) AsBasicCivicStructure() (BasicCivicStructure, bool) + func (rb ResponseBase) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (rb ResponseBase) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool) + func (rb ResponseBase) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool) + func (rb ResponseBase) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (rb ResponseBase) AsBasicIntangible() (BasicIntangible, bool) + func (rb ResponseBase) AsBasicLocalBusiness() (BasicLocalBusiness, bool) + func (rb ResponseBase) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool) + func (rb ResponseBase) AsBasicMediaObject() (BasicMediaObject, bool) + func (rb ResponseBase) AsBasicPlace() (BasicPlace, bool) + func (rb ResponseBase) AsBasicResponse() (BasicResponse, bool) + func (rb ResponseBase) AsBasicResponseBase() (BasicResponseBase, bool) + func (rb ResponseBase) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (rb ResponseBase) AsBasicStructuredValue() (BasicStructuredValue, bool) + func (rb ResponseBase) AsBasicThing() (BasicThing, bool) + func (rb ResponseBase) AsCivicStructure() (*CivicStructure, bool) + func (rb ResponseBase) AsCreativeWork() (*CreativeWork, bool) + func (rb ResponseBase) AsEntertainmentBusiness() (*EntertainmentBusiness, bool) + func (rb ResponseBase) AsEntities() (*Entities, bool) + func (rb ResponseBase) AsErrorResponse() (*ErrorResponse, bool) + func (rb ResponseBase) AsFoodEstablishment() (*FoodEstablishment, bool) + func (rb ResponseBase) AsHotel() (*Hotel, bool) + func (rb ResponseBase) AsIdentifiable() (*Identifiable, bool) + func (rb ResponseBase) AsImageObject() (*ImageObject, bool) + func (rb ResponseBase) AsIntangible() (*Intangible, bool) + func (rb ResponseBase) AsLicense() (*License, bool) + func (rb ResponseBase) AsLocalBusiness() (*LocalBusiness, bool) + func (rb ResponseBase) AsLodgingBusiness() (*LodgingBusiness, bool) + func (rb ResponseBase) AsMediaObject() (*MediaObject, bool) + func (rb ResponseBase) AsMovieTheater() (*MovieTheater, bool) + func (rb ResponseBase) AsOrganization() (*Organization, bool) + func (rb ResponseBase) AsPlace() (*Place, bool) + func (rb ResponseBase) AsPlaces() (*Places, bool) + func (rb ResponseBase) AsPostalAddress() (*PostalAddress, bool) + func (rb ResponseBase) AsResponse() (*Response, bool) + func (rb ResponseBase) AsResponseBase() (*ResponseBase, bool) + func (rb ResponseBase) AsRestaurant() (*Restaurant, bool) + func (rb ResponseBase) AsSearchResponse() (*SearchResponse, bool) + func (rb ResponseBase) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (rb ResponseBase) AsStructuredValue() (*StructuredValue, bool) + func (rb ResponseBase) AsThing() (*Thing, bool) + func (rb ResponseBase) AsTouristAttraction() (*TouristAttraction, bool) + func (rb ResponseBase) MarshalJSON() ([]byte, error) + type ResponseFormat string + const JSON + const JSONLd + func PossibleResponseFormatValues() []ResponseFormat + type Restaurant struct + AcceptsReservations *bool + Address *PostalAddress + BingID *string + ContractualRules *[]BasicContractualRulesContractualRule + Description *string + EntityPresentationInfo *EntitiesEntityPresentationInfo + ID *string + Image *ImageObject + IsPermanentlyClosed *bool + MenuURL *string + Name *string + Panoramas *[]ImageObject + PriceRange *string + ReservationURL *string + ServesCuisine *[]string + TagLine *string + Telephone *string + Type TypeBasicResponseBase + URL *string + WebSearchURL *string + func (r *Restaurant) UnmarshalJSON(body []byte) error + func (r Restaurant) AsAirport() (*Airport, bool) + func (r Restaurant) AsAnswer() (*Answer, bool) + func (r Restaurant) AsBasicAnswer() (BasicAnswer, bool) + func (r Restaurant) AsBasicCivicStructure() (BasicCivicStructure, bool) + func (r Restaurant) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (r Restaurant) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool) + func (r Restaurant) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool) + func (r Restaurant) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (r Restaurant) AsBasicIntangible() (BasicIntangible, bool) + func (r Restaurant) AsBasicLocalBusiness() (BasicLocalBusiness, bool) + func (r Restaurant) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool) + func (r Restaurant) AsBasicMediaObject() (BasicMediaObject, bool) + func (r Restaurant) AsBasicPlace() (BasicPlace, bool) + func (r Restaurant) AsBasicResponse() (BasicResponse, bool) + func (r Restaurant) AsBasicResponseBase() (BasicResponseBase, bool) + func (r Restaurant) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (r Restaurant) AsBasicStructuredValue() (BasicStructuredValue, bool) + func (r Restaurant) AsBasicThing() (BasicThing, bool) + func (r Restaurant) AsCivicStructure() (*CivicStructure, bool) + func (r Restaurant) AsCreativeWork() (*CreativeWork, bool) + func (r Restaurant) AsEntertainmentBusiness() (*EntertainmentBusiness, bool) + func (r Restaurant) AsEntities() (*Entities, bool) + func (r Restaurant) AsErrorResponse() (*ErrorResponse, bool) + func (r Restaurant) AsFoodEstablishment() (*FoodEstablishment, bool) + func (r Restaurant) AsHotel() (*Hotel, bool) + func (r Restaurant) AsIdentifiable() (*Identifiable, bool) + func (r Restaurant) AsImageObject() (*ImageObject, bool) + func (r Restaurant) AsIntangible() (*Intangible, bool) + func (r Restaurant) AsLicense() (*License, bool) + func (r Restaurant) AsLocalBusiness() (*LocalBusiness, bool) + func (r Restaurant) AsLodgingBusiness() (*LodgingBusiness, bool) + func (r Restaurant) AsMediaObject() (*MediaObject, bool) + func (r Restaurant) AsMovieTheater() (*MovieTheater, bool) + func (r Restaurant) AsOrganization() (*Organization, bool) + func (r Restaurant) AsPlace() (*Place, bool) + func (r Restaurant) AsPlaces() (*Places, bool) + func (r Restaurant) AsPostalAddress() (*PostalAddress, bool) + func (r Restaurant) AsResponse() (*Response, bool) + func (r Restaurant) AsResponseBase() (*ResponseBase, bool) + func (r Restaurant) AsRestaurant() (*Restaurant, bool) + func (r Restaurant) AsSearchResponse() (*SearchResponse, bool) + func (r Restaurant) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (r Restaurant) AsStructuredValue() (*StructuredValue, bool) + func (r Restaurant) AsThing() (*Thing, bool) + func (r Restaurant) AsTouristAttraction() (*TouristAttraction, bool) + func (r Restaurant) MarshalJSON() ([]byte, error) + type SafeSearch string + const Moderate + const Off + const Strict + func PossibleSafeSearchValues() []SafeSearch + type SearchResponse struct + ContractualRules *[]BasicContractualRulesContractualRule + Entities *Entities + ID *string + Places *Places + QueryContext *QueryContext + Type TypeBasicResponseBase + WebSearchURL *string + func (sr *SearchResponse) UnmarshalJSON(body []byte) error + func (sr SearchResponse) AsAirport() (*Airport, bool) + func (sr SearchResponse) AsAnswer() (*Answer, bool) + func (sr SearchResponse) AsBasicAnswer() (BasicAnswer, bool) + func (sr SearchResponse) AsBasicCivicStructure() (BasicCivicStructure, bool) + func (sr SearchResponse) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (sr SearchResponse) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool) + func (sr SearchResponse) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool) + func (sr SearchResponse) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (sr SearchResponse) AsBasicIntangible() (BasicIntangible, bool) + func (sr SearchResponse) AsBasicLocalBusiness() (BasicLocalBusiness, bool) + func (sr SearchResponse) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool) + func (sr SearchResponse) AsBasicMediaObject() (BasicMediaObject, bool) + func (sr SearchResponse) AsBasicPlace() (BasicPlace, bool) + func (sr SearchResponse) AsBasicResponse() (BasicResponse, bool) + func (sr SearchResponse) AsBasicResponseBase() (BasicResponseBase, bool) + func (sr SearchResponse) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (sr SearchResponse) AsBasicStructuredValue() (BasicStructuredValue, bool) + func (sr SearchResponse) AsBasicThing() (BasicThing, bool) + func (sr SearchResponse) AsCivicStructure() (*CivicStructure, bool) + func (sr SearchResponse) AsCreativeWork() (*CreativeWork, bool) + func (sr SearchResponse) AsEntertainmentBusiness() (*EntertainmentBusiness, bool) + func (sr SearchResponse) AsEntities() (*Entities, bool) + func (sr SearchResponse) AsErrorResponse() (*ErrorResponse, bool) + func (sr SearchResponse) AsFoodEstablishment() (*FoodEstablishment, bool) + func (sr SearchResponse) AsHotel() (*Hotel, bool) + func (sr SearchResponse) AsIdentifiable() (*Identifiable, bool) + func (sr SearchResponse) AsImageObject() (*ImageObject, bool) + func (sr SearchResponse) AsIntangible() (*Intangible, bool) + func (sr SearchResponse) AsLicense() (*License, bool) + func (sr SearchResponse) AsLocalBusiness() (*LocalBusiness, bool) + func (sr SearchResponse) AsLodgingBusiness() (*LodgingBusiness, bool) + func (sr SearchResponse) AsMediaObject() (*MediaObject, bool) + func (sr SearchResponse) AsMovieTheater() (*MovieTheater, bool) + func (sr SearchResponse) AsOrganization() (*Organization, bool) + func (sr SearchResponse) AsPlace() (*Place, bool) + func (sr SearchResponse) AsPlaces() (*Places, bool) + func (sr SearchResponse) AsPostalAddress() (*PostalAddress, bool) + func (sr SearchResponse) AsResponse() (*Response, bool) + func (sr SearchResponse) AsResponseBase() (*ResponseBase, bool) + func (sr SearchResponse) AsRestaurant() (*Restaurant, bool) + func (sr SearchResponse) AsSearchResponse() (*SearchResponse, bool) + func (sr SearchResponse) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (sr SearchResponse) AsStructuredValue() (*StructuredValue, bool) + func (sr SearchResponse) AsThing() (*Thing, bool) + func (sr SearchResponse) AsTouristAttraction() (*TouristAttraction, bool) + func (sr SearchResponse) MarshalJSON() ([]byte, error) + type SearchResultsAnswer struct + ContractualRules *[]BasicContractualRulesContractualRule + ID *string + QueryContext *QueryContext + Type TypeBasicResponseBase + WebSearchURL *string + func (sra *SearchResultsAnswer) UnmarshalJSON(body []byte) error + func (sra SearchResultsAnswer) AsAirport() (*Airport, bool) + func (sra SearchResultsAnswer) AsAnswer() (*Answer, bool) + func (sra SearchResultsAnswer) AsBasicAnswer() (BasicAnswer, bool) + func (sra SearchResultsAnswer) AsBasicCivicStructure() (BasicCivicStructure, bool) + func (sra SearchResultsAnswer) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (sra SearchResultsAnswer) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool) + func (sra SearchResultsAnswer) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool) + func (sra SearchResultsAnswer) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (sra SearchResultsAnswer) AsBasicIntangible() (BasicIntangible, bool) + func (sra SearchResultsAnswer) AsBasicLocalBusiness() (BasicLocalBusiness, bool) + func (sra SearchResultsAnswer) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool) + func (sra SearchResultsAnswer) AsBasicMediaObject() (BasicMediaObject, bool) + func (sra SearchResultsAnswer) AsBasicPlace() (BasicPlace, bool) + func (sra SearchResultsAnswer) AsBasicResponse() (BasicResponse, bool) + func (sra SearchResultsAnswer) AsBasicResponseBase() (BasicResponseBase, bool) + func (sra SearchResultsAnswer) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (sra SearchResultsAnswer) AsBasicStructuredValue() (BasicStructuredValue, bool) + func (sra SearchResultsAnswer) AsBasicThing() (BasicThing, bool) + func (sra SearchResultsAnswer) AsCivicStructure() (*CivicStructure, bool) + func (sra SearchResultsAnswer) AsCreativeWork() (*CreativeWork, bool) + func (sra SearchResultsAnswer) AsEntertainmentBusiness() (*EntertainmentBusiness, bool) + func (sra SearchResultsAnswer) AsEntities() (*Entities, bool) + func (sra SearchResultsAnswer) AsErrorResponse() (*ErrorResponse, bool) + func (sra SearchResultsAnswer) AsFoodEstablishment() (*FoodEstablishment, bool) + func (sra SearchResultsAnswer) AsHotel() (*Hotel, bool) + func (sra SearchResultsAnswer) AsIdentifiable() (*Identifiable, bool) + func (sra SearchResultsAnswer) AsImageObject() (*ImageObject, bool) + func (sra SearchResultsAnswer) AsIntangible() (*Intangible, bool) + func (sra SearchResultsAnswer) AsLicense() (*License, bool) + func (sra SearchResultsAnswer) AsLocalBusiness() (*LocalBusiness, bool) + func (sra SearchResultsAnswer) AsLodgingBusiness() (*LodgingBusiness, bool) + func (sra SearchResultsAnswer) AsMediaObject() (*MediaObject, bool) + func (sra SearchResultsAnswer) AsMovieTheater() (*MovieTheater, bool) + func (sra SearchResultsAnswer) AsOrganization() (*Organization, bool) + func (sra SearchResultsAnswer) AsPlace() (*Place, bool) + func (sra SearchResultsAnswer) AsPlaces() (*Places, bool) + func (sra SearchResultsAnswer) AsPostalAddress() (*PostalAddress, bool) + func (sra SearchResultsAnswer) AsResponse() (*Response, bool) + func (sra SearchResultsAnswer) AsResponseBase() (*ResponseBase, bool) + func (sra SearchResultsAnswer) AsRestaurant() (*Restaurant, bool) + func (sra SearchResultsAnswer) AsSearchResponse() (*SearchResponse, bool) + func (sra SearchResultsAnswer) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (sra SearchResultsAnswer) AsStructuredValue() (*StructuredValue, bool) + func (sra SearchResultsAnswer) AsThing() (*Thing, bool) + func (sra SearchResultsAnswer) AsTouristAttraction() (*TouristAttraction, bool) + func (sra SearchResultsAnswer) MarshalJSON() ([]byte, error) + type StructuredValue struct + BingID *string + ContractualRules *[]BasicContractualRulesContractualRule + Description *string + EntityPresentationInfo *EntitiesEntityPresentationInfo + ID *string + Image *ImageObject + Name *string + Type TypeBasicResponseBase + URL *string + WebSearchURL *string + func (sv *StructuredValue) UnmarshalJSON(body []byte) error + func (sv StructuredValue) AsAirport() (*Airport, bool) + func (sv StructuredValue) AsAnswer() (*Answer, bool) + func (sv StructuredValue) AsBasicAnswer() (BasicAnswer, bool) + func (sv StructuredValue) AsBasicCivicStructure() (BasicCivicStructure, bool) + func (sv StructuredValue) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (sv StructuredValue) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool) + func (sv StructuredValue) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool) + func (sv StructuredValue) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (sv StructuredValue) AsBasicIntangible() (BasicIntangible, bool) + func (sv StructuredValue) AsBasicLocalBusiness() (BasicLocalBusiness, bool) + func (sv StructuredValue) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool) + func (sv StructuredValue) AsBasicMediaObject() (BasicMediaObject, bool) + func (sv StructuredValue) AsBasicPlace() (BasicPlace, bool) + func (sv StructuredValue) AsBasicResponse() (BasicResponse, bool) + func (sv StructuredValue) AsBasicResponseBase() (BasicResponseBase, bool) + func (sv StructuredValue) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (sv StructuredValue) AsBasicStructuredValue() (BasicStructuredValue, bool) + func (sv StructuredValue) AsBasicThing() (BasicThing, bool) + func (sv StructuredValue) AsCivicStructure() (*CivicStructure, bool) + func (sv StructuredValue) AsCreativeWork() (*CreativeWork, bool) + func (sv StructuredValue) AsEntertainmentBusiness() (*EntertainmentBusiness, bool) + func (sv StructuredValue) AsEntities() (*Entities, bool) + func (sv StructuredValue) AsErrorResponse() (*ErrorResponse, bool) + func (sv StructuredValue) AsFoodEstablishment() (*FoodEstablishment, bool) + func (sv StructuredValue) AsHotel() (*Hotel, bool) + func (sv StructuredValue) AsIdentifiable() (*Identifiable, bool) + func (sv StructuredValue) AsImageObject() (*ImageObject, bool) + func (sv StructuredValue) AsIntangible() (*Intangible, bool) + func (sv StructuredValue) AsLicense() (*License, bool) + func (sv StructuredValue) AsLocalBusiness() (*LocalBusiness, bool) + func (sv StructuredValue) AsLodgingBusiness() (*LodgingBusiness, bool) + func (sv StructuredValue) AsMediaObject() (*MediaObject, bool) + func (sv StructuredValue) AsMovieTheater() (*MovieTheater, bool) + func (sv StructuredValue) AsOrganization() (*Organization, bool) + func (sv StructuredValue) AsPlace() (*Place, bool) + func (sv StructuredValue) AsPlaces() (*Places, bool) + func (sv StructuredValue) AsPostalAddress() (*PostalAddress, bool) + func (sv StructuredValue) AsResponse() (*Response, bool) + func (sv StructuredValue) AsResponseBase() (*ResponseBase, bool) + func (sv StructuredValue) AsRestaurant() (*Restaurant, bool) + func (sv StructuredValue) AsSearchResponse() (*SearchResponse, bool) + func (sv StructuredValue) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (sv StructuredValue) AsStructuredValue() (*StructuredValue, bool) + func (sv StructuredValue) AsThing() (*Thing, bool) + func (sv StructuredValue) AsTouristAttraction() (*TouristAttraction, bool) + func (sv StructuredValue) MarshalJSON() ([]byte, error) + type Thing struct + BingID *string + ContractualRules *[]BasicContractualRulesContractualRule + Description *string + EntityPresentationInfo *EntitiesEntityPresentationInfo + ID *string + Image *ImageObject + Name *string + Type TypeBasicResponseBase + URL *string + WebSearchURL *string + func (t *Thing) UnmarshalJSON(body []byte) error + func (t Thing) AsAirport() (*Airport, bool) + func (t Thing) AsAnswer() (*Answer, bool) + func (t Thing) AsBasicAnswer() (BasicAnswer, bool) + func (t Thing) AsBasicCivicStructure() (BasicCivicStructure, bool) + func (t Thing) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (t Thing) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool) + func (t Thing) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool) + func (t Thing) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (t Thing) AsBasicIntangible() (BasicIntangible, bool) + func (t Thing) AsBasicLocalBusiness() (BasicLocalBusiness, bool) + func (t Thing) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool) + func (t Thing) AsBasicMediaObject() (BasicMediaObject, bool) + func (t Thing) AsBasicPlace() (BasicPlace, bool) + func (t Thing) AsBasicResponse() (BasicResponse, bool) + func (t Thing) AsBasicResponseBase() (BasicResponseBase, bool) + func (t Thing) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (t Thing) AsBasicStructuredValue() (BasicStructuredValue, bool) + func (t Thing) AsBasicThing() (BasicThing, bool) + func (t Thing) AsCivicStructure() (*CivicStructure, bool) + func (t Thing) AsCreativeWork() (*CreativeWork, bool) + func (t Thing) AsEntertainmentBusiness() (*EntertainmentBusiness, bool) + func (t Thing) AsEntities() (*Entities, bool) + func (t Thing) AsErrorResponse() (*ErrorResponse, bool) + func (t Thing) AsFoodEstablishment() (*FoodEstablishment, bool) + func (t Thing) AsHotel() (*Hotel, bool) + func (t Thing) AsIdentifiable() (*Identifiable, bool) + func (t Thing) AsImageObject() (*ImageObject, bool) + func (t Thing) AsIntangible() (*Intangible, bool) + func (t Thing) AsLicense() (*License, bool) + func (t Thing) AsLocalBusiness() (*LocalBusiness, bool) + func (t Thing) AsLodgingBusiness() (*LodgingBusiness, bool) + func (t Thing) AsMediaObject() (*MediaObject, bool) + func (t Thing) AsMovieTheater() (*MovieTheater, bool) + func (t Thing) AsOrganization() (*Organization, bool) + func (t Thing) AsPlace() (*Place, bool) + func (t Thing) AsPlaces() (*Places, bool) + func (t Thing) AsPostalAddress() (*PostalAddress, bool) + func (t Thing) AsResponse() (*Response, bool) + func (t Thing) AsResponseBase() (*ResponseBase, bool) + func (t Thing) AsRestaurant() (*Restaurant, bool) + func (t Thing) AsSearchResponse() (*SearchResponse, bool) + func (t Thing) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (t Thing) AsStructuredValue() (*StructuredValue, bool) + func (t Thing) AsThing() (*Thing, bool) + func (t Thing) AsTouristAttraction() (*TouristAttraction, bool) + func (t Thing) MarshalJSON() ([]byte, error) + type TouristAttraction struct + Address *PostalAddress + BingID *string + ContractualRules *[]BasicContractualRulesContractualRule + Description *string + EntityPresentationInfo *EntitiesEntityPresentationInfo + ID *string + Image *ImageObject + Name *string + Telephone *string + Type TypeBasicResponseBase + URL *string + WebSearchURL *string + func (ta *TouristAttraction) UnmarshalJSON(body []byte) error + func (ta TouristAttraction) AsAirport() (*Airport, bool) + func (ta TouristAttraction) AsAnswer() (*Answer, bool) + func (ta TouristAttraction) AsBasicAnswer() (BasicAnswer, bool) + func (ta TouristAttraction) AsBasicCivicStructure() (BasicCivicStructure, bool) + func (ta TouristAttraction) AsBasicCreativeWork() (BasicCreativeWork, bool) + func (ta TouristAttraction) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool) + func (ta TouristAttraction) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool) + func (ta TouristAttraction) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (ta TouristAttraction) AsBasicIntangible() (BasicIntangible, bool) + func (ta TouristAttraction) AsBasicLocalBusiness() (BasicLocalBusiness, bool) + func (ta TouristAttraction) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool) + func (ta TouristAttraction) AsBasicMediaObject() (BasicMediaObject, bool) + func (ta TouristAttraction) AsBasicPlace() (BasicPlace, bool) + func (ta TouristAttraction) AsBasicResponse() (BasicResponse, bool) + func (ta TouristAttraction) AsBasicResponseBase() (BasicResponseBase, bool) + func (ta TouristAttraction) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) + func (ta TouristAttraction) AsBasicStructuredValue() (BasicStructuredValue, bool) + func (ta TouristAttraction) AsBasicThing() (BasicThing, bool) + func (ta TouristAttraction) AsCivicStructure() (*CivicStructure, bool) + func (ta TouristAttraction) AsCreativeWork() (*CreativeWork, bool) + func (ta TouristAttraction) AsEntertainmentBusiness() (*EntertainmentBusiness, bool) + func (ta TouristAttraction) AsEntities() (*Entities, bool) + func (ta TouristAttraction) AsErrorResponse() (*ErrorResponse, bool) + func (ta TouristAttraction) AsFoodEstablishment() (*FoodEstablishment, bool) + func (ta TouristAttraction) AsHotel() (*Hotel, bool) + func (ta TouristAttraction) AsIdentifiable() (*Identifiable, bool) + func (ta TouristAttraction) AsImageObject() (*ImageObject, bool) + func (ta TouristAttraction) AsIntangible() (*Intangible, bool) + func (ta TouristAttraction) AsLicense() (*License, bool) + func (ta TouristAttraction) AsLocalBusiness() (*LocalBusiness, bool) + func (ta TouristAttraction) AsLodgingBusiness() (*LodgingBusiness, bool) + func (ta TouristAttraction) AsMediaObject() (*MediaObject, bool) + func (ta TouristAttraction) AsMovieTheater() (*MovieTheater, bool) + func (ta TouristAttraction) AsOrganization() (*Organization, bool) + func (ta TouristAttraction) AsPlace() (*Place, bool) + func (ta TouristAttraction) AsPlaces() (*Places, bool) + func (ta TouristAttraction) AsPostalAddress() (*PostalAddress, bool) + func (ta TouristAttraction) AsResponse() (*Response, bool) + func (ta TouristAttraction) AsResponseBase() (*ResponseBase, bool) + func (ta TouristAttraction) AsRestaurant() (*Restaurant, bool) + func (ta TouristAttraction) AsSearchResponse() (*SearchResponse, bool) + func (ta TouristAttraction) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) + func (ta TouristAttraction) AsStructuredValue() (*StructuredValue, bool) + func (ta TouristAttraction) AsThing() (*Thing, bool) + func (ta TouristAttraction) AsTouristAttraction() (*TouristAttraction, bool) + func (ta TouristAttraction) MarshalJSON() ([]byte, error) + type Type string + const TypeContractualRulesAttribution + const TypeContractualRulesContractualRule + const TypeContractualRulesLicenseAttribution + const TypeContractualRulesLinkAttribution + const TypeContractualRulesMediaAttribution + const TypeContractualRulesTextAttribution + func PossibleTypeValues() []Type + type TypeBasicResponseBase string + const TypeAirport + const TypeAnswer + const TypeCivicStructure + const TypeCreativeWork + const TypeEntertainmentBusiness + const TypeEntities + const TypeErrorResponse + const TypeFoodEstablishment + const TypeHotel + const TypeIdentifiable + const TypeImageObject + const TypeIntangible + const TypeLicense + const TypeLocalBusiness + const TypeLodgingBusiness + const TypeMediaObject + const TypeMovieTheater + const TypeOrganization + const TypePlace + const TypePlaces + const TypePostalAddress + const TypeResponse + const TypeResponseBase + const TypeRestaurant + const TypeSearchResponse + const TypeSearchResultsAnswer + const TypeStructuredValue + const TypeThing + const TypeTouristAttraction + func PossibleTypeBasicResponseBaseValues() []TypeBasicResponseBase 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.v30 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.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.v48