Documentation
¶
Overview ¶
Package entitysearch implements the Azure ARM Entitysearch service API version 1.0.
The Entity Search API lets you send a search query to Bing and get back search results that include entities and places. Place results include restaurants, hotel, or other local businesses. For places, the query can specify the name of the local business or it can ask for a list (for example, restaurants near me). Entity results include persons, places, or things. Place in this context is tourist attractions, states, countries, etc.
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type Airport
- 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)
- func (a *Airport) UnmarshalJSON(body []byte) error
- type Answer
- 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)
- func (a *Answer) UnmarshalJSON(body []byte) error
- type AnswerType
- type BaseClient
- type BasicAnswer
- type BasicCivicStructure
- type BasicContractualRulesAttribution
- type BasicContractualRulesContractualRule
- type BasicCreativeWork
- type BasicEntertainmentBusiness
- type BasicFoodEstablishment
- type BasicIdentifiable
- type BasicIntangible
- type BasicLocalBusiness
- type BasicLodgingBusiness
- type BasicMediaObject
- type BasicPlace
- type BasicResponse
- type BasicResponseBase
- type BasicSearchResultsAnswer
- type BasicStructuredValue
- type BasicThing
- type CivicStructure
- 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)
- func (cs *CivicStructure) UnmarshalJSON(body []byte) error
- type ContractualRulesAttribution
- 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
- 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
- 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
- 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
- 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
- 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
- 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)
- func (cw *CreativeWork) UnmarshalJSON(body []byte) error
- type EntertainmentBusiness
- 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)
- func (eb *EntertainmentBusiness) UnmarshalJSON(body []byte) error
- type Entities
- 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)
- func (e *Entities) UnmarshalJSON(body []byte) error
- type 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
- type EntityQueryScenario
- type EntityScenario
- type EntityType
- type Error
- type ErrorCode
- type ErrorResponse
- 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)
- func (er *ErrorResponse) UnmarshalJSON(body []byte) error
- type ErrorSubCode
- type FoodEstablishment
- 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)
- func (fe *FoodEstablishment) UnmarshalJSON(body []byte) error
- type Hotel
- 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)
- func (h *Hotel) UnmarshalJSON(body []byte) error
- type Identifiable
- 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
- 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)
- func (ioVar *ImageObject) UnmarshalJSON(body []byte) error
- type Intangible
- 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)
- func (i *Intangible) UnmarshalJSON(body []byte) error
- type License
- 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)
- func (l *License) UnmarshalJSON(body []byte) error
- type LocalBusiness
- 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)
- func (lb *LocalBusiness) UnmarshalJSON(body []byte) error
- type LodgingBusiness
- 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)
- func (lb *LodgingBusiness) UnmarshalJSON(body []byte) error
- type MediaObject
- 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)
- func (mo *MediaObject) UnmarshalJSON(body []byte) error
- type MovieTheater
- 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)
- func (mt *MovieTheater) UnmarshalJSON(body []byte) error
- type Organization
- 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)
- func (o *Organization) UnmarshalJSON(body []byte) error
- type Place
- 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)
- func (p *Place) UnmarshalJSON(body []byte) error
- type Places
- 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)
- func (p *Places) UnmarshalJSON(body []byte) error
- type PostalAddress
- 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)
- func (pa *PostalAddress) UnmarshalJSON(body []byte) error
- type QueryContext
- type Response
- 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)
- func (r *Response) UnmarshalJSON(body []byte) error
- type ResponseBase
- 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
- type Restaurant
- 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)
- func (r *Restaurant) UnmarshalJSON(body []byte) error
- type SafeSearch
- type SearchResponse
- 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)
- func (sr *SearchResponse) UnmarshalJSON(body []byte) error
- type SearchResultsAnswer
- 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)
- func (sra *SearchResultsAnswer) UnmarshalJSON(body []byte) error
- type StructuredValue
- 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)
- func (sv *StructuredValue) UnmarshalJSON(body []byte) error
- type Thing
- 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)
- func (t *Thing) UnmarshalJSON(body []byte) error
- type TouristAttraction
- 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)
- func (ta *TouristAttraction) UnmarshalJSON(body []byte) error
- type Type
- type TypeBasicResponseBase
Constants ¶
const (
// DefaultEndpoint is the default value for endpoint
DefaultEndpoint = "https://api.cognitive.microsoft.com"
)
Variables ¶
This section is empty.
Functions ¶
func UserAgent ¶
func UserAgent() string
UserAgent returns the UserAgent string to use when sending http.Requests.
func Version ¶
func Version() string
Version returns the semantic version (see http://semver.org) of the client.
Types ¶
type Airport ¶
type Airport struct { // IataCode - READ-ONLY IataCode *string `json:"iataCode,omitempty"` // IcaoCode - READ-ONLY IcaoCode *string `json:"icaoCode,omitempty"` // Address - READ-ONLY; The postal address of where the entity is located Address *PostalAddress `json:"address,omitempty"` // Telephone - READ-ONLY; The entity's telephone number Telephone *string `json:"telephone,omitempty"` // Name - READ-ONLY; The name of the thing represented by this object. Name *string `json:"name,omitempty"` // URL - READ-ONLY; The URL to get more information about the thing represented by this object. URL *string `json:"url,omitempty"` // Image - READ-ONLY Image *ImageObject `json:"image,omitempty"` // Description - READ-ONLY; A short description of the item. Description *string `json:"description,omitempty"` // EntityPresentationInfo - READ-ONLY; Additional information about the entity such as hints that you can use to determine the entity's type. To determine the entity's type, use the entityScenario and entityTypeHint fields. EntityPresentationInfo *EntitiesEntityPresentationInfo `json:"entityPresentationInfo,omitempty"` // BingID - READ-ONLY; An ID that uniquely identifies this item. BingID *string `json:"bingId,omitempty"` // ContractualRules - READ-ONLY; A list of rules that you must adhere to if you display the item. ContractualRules *[]BasicContractualRulesContractualRule `json:"contractualRules,omitempty"` // WebSearchURL - READ-ONLY; The URL To Bing's search result for this item. WebSearchURL *string `json:"webSearchUrl,omitempty"` // ID - READ-ONLY; A String identifier. ID *string `json:"id,omitempty"` // Type - Possible values include: 'TypeResponseBase', 'TypeImageObject', 'TypeThing', 'TypeEntities', 'TypePlaces', 'TypeSearchResponse', 'TypeResponse', 'TypeSearchResultsAnswer', 'TypeIdentifiable', 'TypeAnswer', 'TypeErrorResponse', 'TypePostalAddress', 'TypePlace', 'TypeOrganization', 'TypeCreativeWork', 'TypeIntangible', 'TypeMovieTheater', 'TypeMediaObject', 'TypeCivicStructure', 'TypeLocalBusiness', 'TypeTouristAttraction', 'TypeAirport', 'TypeLicense', 'TypeStructuredValue', 'TypeEntertainmentBusiness', 'TypeFoodEstablishment', 'TypeLodgingBusiness', 'TypeRestaurant', 'TypeHotel' Type TypeBasicResponseBase `json:"_type,omitempty"` }
Airport ...
func (Airport) AsBasicAnswer ¶
func (a Airport) AsBasicAnswer() (BasicAnswer, bool)
AsBasicAnswer is the BasicResponseBase implementation for Airport.
func (Airport) AsBasicCivicStructure ¶
func (a Airport) AsBasicCivicStructure() (BasicCivicStructure, bool)
AsBasicCivicStructure is the BasicResponseBase implementation for Airport.
func (Airport) AsBasicCreativeWork ¶
func (a Airport) AsBasicCreativeWork() (BasicCreativeWork, bool)
AsBasicCreativeWork is the BasicResponseBase implementation for Airport.
func (Airport) AsBasicEntertainmentBusiness ¶
func (a Airport) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool)
AsBasicEntertainmentBusiness is the BasicResponseBase implementation for Airport.
func (Airport) AsBasicFoodEstablishment ¶
func (a Airport) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool)
AsBasicFoodEstablishment is the BasicResponseBase implementation for Airport.
func (Airport) AsBasicIdentifiable ¶
func (a Airport) AsBasicIdentifiable() (BasicIdentifiable, bool)
AsBasicIdentifiable is the BasicResponseBase implementation for Airport.
func (Airport) AsBasicIntangible ¶
func (a Airport) AsBasicIntangible() (BasicIntangible, bool)
AsBasicIntangible is the BasicResponseBase implementation for Airport.
func (Airport) AsBasicLocalBusiness ¶
func (a Airport) AsBasicLocalBusiness() (BasicLocalBusiness, bool)
AsBasicLocalBusiness is the BasicResponseBase implementation for Airport.
func (Airport) AsBasicLodgingBusiness ¶
func (a Airport) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool)
AsBasicLodgingBusiness is the BasicResponseBase implementation for Airport.
func (Airport) AsBasicMediaObject ¶
func (a Airport) AsBasicMediaObject() (BasicMediaObject, bool)
AsBasicMediaObject is the BasicResponseBase implementation for Airport.
func (Airport) AsBasicPlace ¶
func (a Airport) AsBasicPlace() (BasicPlace, bool)
AsBasicPlace is the BasicResponseBase implementation for Airport.
func (Airport) AsBasicResponse ¶
func (a Airport) AsBasicResponse() (BasicResponse, bool)
AsBasicResponse is the BasicResponseBase implementation for Airport.
func (Airport) AsBasicResponseBase ¶
func (a Airport) AsBasicResponseBase() (BasicResponseBase, bool)
AsBasicResponseBase is the BasicResponseBase implementation for Airport.
func (Airport) AsBasicSearchResultsAnswer ¶
func (a Airport) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool)
AsBasicSearchResultsAnswer is the BasicResponseBase implementation for Airport.
func (Airport) AsBasicStructuredValue ¶
func (a Airport) AsBasicStructuredValue() (BasicStructuredValue, bool)
AsBasicStructuredValue is the BasicResponseBase implementation for Airport.
func (Airport) AsBasicThing ¶
func (a Airport) AsBasicThing() (BasicThing, bool)
AsBasicThing is the BasicResponseBase implementation for Airport.
func (Airport) AsCivicStructure ¶
func (a Airport) AsCivicStructure() (*CivicStructure, bool)
AsCivicStructure is the BasicResponseBase implementation for Airport.
func (Airport) AsCreativeWork ¶
func (a Airport) AsCreativeWork() (*CreativeWork, bool)
AsCreativeWork is the BasicResponseBase implementation for Airport.
func (Airport) AsEntertainmentBusiness ¶
func (a Airport) AsEntertainmentBusiness() (*EntertainmentBusiness, bool)
AsEntertainmentBusiness is the BasicResponseBase implementation for Airport.
func (Airport) AsEntities ¶
AsEntities is the BasicResponseBase implementation for Airport.
func (Airport) AsErrorResponse ¶
func (a Airport) AsErrorResponse() (*ErrorResponse, bool)
AsErrorResponse is the BasicResponseBase implementation for Airport.
func (Airport) AsFoodEstablishment ¶
func (a Airport) AsFoodEstablishment() (*FoodEstablishment, bool)
AsFoodEstablishment is the BasicResponseBase implementation for Airport.
func (Airport) AsIdentifiable ¶
func (a Airport) AsIdentifiable() (*Identifiable, bool)
AsIdentifiable is the BasicResponseBase implementation for Airport.
func (Airport) AsImageObject ¶
func (a Airport) AsImageObject() (*ImageObject, bool)
AsImageObject is the BasicResponseBase implementation for Airport.
func (Airport) AsIntangible ¶
func (a Airport) AsIntangible() (*Intangible, bool)
AsIntangible is the BasicResponseBase implementation for Airport.
func (Airport) AsLocalBusiness ¶
func (a Airport) AsLocalBusiness() (*LocalBusiness, bool)
AsLocalBusiness is the BasicResponseBase implementation for Airport.
func (Airport) AsLodgingBusiness ¶
func (a Airport) AsLodgingBusiness() (*LodgingBusiness, bool)
AsLodgingBusiness is the BasicResponseBase implementation for Airport.
func (Airport) AsMediaObject ¶
func (a Airport) AsMediaObject() (*MediaObject, bool)
AsMediaObject is the BasicResponseBase implementation for Airport.
func (Airport) AsMovieTheater ¶
func (a Airport) AsMovieTheater() (*MovieTheater, bool)
AsMovieTheater is the BasicResponseBase implementation for Airport.
func (Airport) AsOrganization ¶
func (a Airport) AsOrganization() (*Organization, bool)
AsOrganization is the BasicResponseBase implementation for Airport.
func (Airport) AsPostalAddress ¶
func (a Airport) AsPostalAddress() (*PostalAddress, bool)
AsPostalAddress is the BasicResponseBase implementation for Airport.
func (Airport) AsResponse ¶
AsResponse is the BasicResponseBase implementation for Airport.
func (Airport) AsResponseBase ¶
func (a Airport) AsResponseBase() (*ResponseBase, bool)
AsResponseBase is the BasicResponseBase implementation for Airport.
func (Airport) AsRestaurant ¶
func (a Airport) AsRestaurant() (*Restaurant, bool)
AsRestaurant is the BasicResponseBase implementation for Airport.
func (Airport) AsSearchResponse ¶
func (a Airport) AsSearchResponse() (*SearchResponse, bool)
AsSearchResponse is the BasicResponseBase implementation for Airport.
func (Airport) AsSearchResultsAnswer ¶
func (a Airport) AsSearchResultsAnswer() (*SearchResultsAnswer, bool)
AsSearchResultsAnswer is the BasicResponseBase implementation for Airport.
func (Airport) AsStructuredValue ¶
func (a Airport) AsStructuredValue() (*StructuredValue, bool)
AsStructuredValue is the BasicResponseBase implementation for Airport.
func (Airport) AsTouristAttraction ¶
func (a Airport) AsTouristAttraction() (*TouristAttraction, bool)
AsTouristAttraction is the BasicResponseBase implementation for Airport.
func (Airport) MarshalJSON ¶
MarshalJSON is the custom marshaler for Airport.
func (*Airport) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Airport struct.
type Answer ¶
type Answer struct { // ContractualRules - READ-ONLY; A list of rules that you must adhere to if you display the item. ContractualRules *[]BasicContractualRulesContractualRule `json:"contractualRules,omitempty"` // WebSearchURL - READ-ONLY; The URL To Bing's search result for this item. WebSearchURL *string `json:"webSearchUrl,omitempty"` // ID - READ-ONLY; A String identifier. ID *string `json:"id,omitempty"` // Type - Possible values include: 'TypeResponseBase', 'TypeImageObject', 'TypeThing', 'TypeEntities', 'TypePlaces', 'TypeSearchResponse', 'TypeResponse', 'TypeSearchResultsAnswer', 'TypeIdentifiable', 'TypeAnswer', 'TypeErrorResponse', 'TypePostalAddress', 'TypePlace', 'TypeOrganization', 'TypeCreativeWork', 'TypeIntangible', 'TypeMovieTheater', 'TypeMediaObject', 'TypeCivicStructure', 'TypeLocalBusiness', 'TypeTouristAttraction', 'TypeAirport', 'TypeLicense', 'TypeStructuredValue', 'TypeEntertainmentBusiness', 'TypeFoodEstablishment', 'TypeLodgingBusiness', 'TypeRestaurant', 'TypeHotel' Type TypeBasicResponseBase `json:"_type,omitempty"` }
Answer ...
func (Answer) AsBasicAnswer ¶
func (a Answer) AsBasicAnswer() (BasicAnswer, bool)
AsBasicAnswer is the BasicResponseBase implementation for Answer.
func (Answer) AsBasicCivicStructure ¶
func (a Answer) AsBasicCivicStructure() (BasicCivicStructure, bool)
AsBasicCivicStructure is the BasicResponseBase implementation for Answer.
func (Answer) AsBasicCreativeWork ¶
func (a Answer) AsBasicCreativeWork() (BasicCreativeWork, bool)
AsBasicCreativeWork is the BasicResponseBase implementation for Answer.
func (Answer) AsBasicEntertainmentBusiness ¶
func (a Answer) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool)
AsBasicEntertainmentBusiness is the BasicResponseBase implementation for Answer.
func (Answer) AsBasicFoodEstablishment ¶
func (a Answer) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool)
AsBasicFoodEstablishment is the BasicResponseBase implementation for Answer.
func (Answer) AsBasicIdentifiable ¶
func (a Answer) AsBasicIdentifiable() (BasicIdentifiable, bool)
AsBasicIdentifiable is the BasicResponseBase implementation for Answer.
func (Answer) AsBasicIntangible ¶
func (a Answer) AsBasicIntangible() (BasicIntangible, bool)
AsBasicIntangible is the BasicResponseBase implementation for Answer.
func (Answer) AsBasicLocalBusiness ¶
func (a Answer) AsBasicLocalBusiness() (BasicLocalBusiness, bool)
AsBasicLocalBusiness is the BasicResponseBase implementation for Answer.
func (Answer) AsBasicLodgingBusiness ¶
func (a Answer) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool)
AsBasicLodgingBusiness is the BasicResponseBase implementation for Answer.
func (Answer) AsBasicMediaObject ¶
func (a Answer) AsBasicMediaObject() (BasicMediaObject, bool)
AsBasicMediaObject is the BasicResponseBase implementation for Answer.
func (Answer) AsBasicPlace ¶
func (a Answer) AsBasicPlace() (BasicPlace, bool)
AsBasicPlace is the BasicResponseBase implementation for Answer.
func (Answer) AsBasicResponse ¶
func (a Answer) AsBasicResponse() (BasicResponse, bool)
AsBasicResponse is the BasicResponseBase implementation for Answer.
func (Answer) AsBasicResponseBase ¶
func (a Answer) AsBasicResponseBase() (BasicResponseBase, bool)
AsBasicResponseBase is the BasicResponseBase implementation for Answer.
func (Answer) AsBasicSearchResultsAnswer ¶
func (a Answer) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool)
AsBasicSearchResultsAnswer is the BasicResponseBase implementation for Answer.
func (Answer) AsBasicStructuredValue ¶
func (a Answer) AsBasicStructuredValue() (BasicStructuredValue, bool)
AsBasicStructuredValue is the BasicResponseBase implementation for Answer.
func (Answer) AsBasicThing ¶
func (a Answer) AsBasicThing() (BasicThing, bool)
AsBasicThing is the BasicResponseBase implementation for Answer.
func (Answer) AsCivicStructure ¶
func (a Answer) AsCivicStructure() (*CivicStructure, bool)
AsCivicStructure is the BasicResponseBase implementation for Answer.
func (Answer) AsCreativeWork ¶
func (a Answer) AsCreativeWork() (*CreativeWork, bool)
AsCreativeWork is the BasicResponseBase implementation for Answer.
func (Answer) AsEntertainmentBusiness ¶
func (a Answer) AsEntertainmentBusiness() (*EntertainmentBusiness, bool)
AsEntertainmentBusiness is the BasicResponseBase implementation for Answer.
func (Answer) AsEntities ¶
AsEntities is the BasicResponseBase implementation for Answer.
func (Answer) AsErrorResponse ¶
func (a Answer) AsErrorResponse() (*ErrorResponse, bool)
AsErrorResponse is the BasicResponseBase implementation for Answer.
func (Answer) AsFoodEstablishment ¶
func (a Answer) AsFoodEstablishment() (*FoodEstablishment, bool)
AsFoodEstablishment is the BasicResponseBase implementation for Answer.
func (Answer) AsIdentifiable ¶
func (a Answer) AsIdentifiable() (*Identifiable, bool)
AsIdentifiable is the BasicResponseBase implementation for Answer.
func (Answer) AsImageObject ¶
func (a Answer) AsImageObject() (*ImageObject, bool)
AsImageObject is the BasicResponseBase implementation for Answer.
func (Answer) AsIntangible ¶
func (a Answer) AsIntangible() (*Intangible, bool)
AsIntangible is the BasicResponseBase implementation for Answer.
func (Answer) AsLocalBusiness ¶
func (a Answer) AsLocalBusiness() (*LocalBusiness, bool)
AsLocalBusiness is the BasicResponseBase implementation for Answer.
func (Answer) AsLodgingBusiness ¶
func (a Answer) AsLodgingBusiness() (*LodgingBusiness, bool)
AsLodgingBusiness is the BasicResponseBase implementation for Answer.
func (Answer) AsMediaObject ¶
func (a Answer) AsMediaObject() (*MediaObject, bool)
AsMediaObject is the BasicResponseBase implementation for Answer.
func (Answer) AsMovieTheater ¶
func (a Answer) AsMovieTheater() (*MovieTheater, bool)
AsMovieTheater is the BasicResponseBase implementation for Answer.
func (Answer) AsOrganization ¶
func (a Answer) AsOrganization() (*Organization, bool)
AsOrganization is the BasicResponseBase implementation for Answer.
func (Answer) AsPostalAddress ¶
func (a Answer) AsPostalAddress() (*PostalAddress, bool)
AsPostalAddress is the BasicResponseBase implementation for Answer.
func (Answer) AsResponse ¶
AsResponse is the BasicResponseBase implementation for Answer.
func (Answer) AsResponseBase ¶
func (a Answer) AsResponseBase() (*ResponseBase, bool)
AsResponseBase is the BasicResponseBase implementation for Answer.
func (Answer) AsRestaurant ¶
func (a Answer) AsRestaurant() (*Restaurant, bool)
AsRestaurant is the BasicResponseBase implementation for Answer.
func (Answer) AsSearchResponse ¶
func (a Answer) AsSearchResponse() (*SearchResponse, bool)
AsSearchResponse is the BasicResponseBase implementation for Answer.
func (Answer) AsSearchResultsAnswer ¶
func (a Answer) AsSearchResultsAnswer() (*SearchResultsAnswer, bool)
AsSearchResultsAnswer is the BasicResponseBase implementation for Answer.
func (Answer) AsStructuredValue ¶
func (a Answer) AsStructuredValue() (*StructuredValue, bool)
AsStructuredValue is the BasicResponseBase implementation for Answer.
func (Answer) AsTouristAttraction ¶
func (a Answer) AsTouristAttraction() (*TouristAttraction, bool)
AsTouristAttraction is the BasicResponseBase implementation for Answer.
func (Answer) MarshalJSON ¶
MarshalJSON is the custom marshaler for Answer.
func (*Answer) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Answer struct.
type AnswerType ¶
type AnswerType string
AnswerType enumerates the values for answer type.
const ( // AnswerTypeEntities ... AnswerTypeEntities AnswerType = "Entities" // AnswerTypePlaces ... AnswerTypePlaces AnswerType = "Places" )
func PossibleAnswerTypeValues ¶
func PossibleAnswerTypeValues() []AnswerType
PossibleAnswerTypeValues returns an array of possible values for the AnswerType const type.
type BaseClient ¶
BaseClient is the base client for Entitysearch.
func NewWithoutDefaults ¶
func NewWithoutDefaults(endpoint string) BaseClient
NewWithoutDefaults creates an instance of the BaseClient client.
type BasicAnswer ¶
type BasicAnswer interface { AsEntities() (*Entities, bool) AsPlaces() (*Places, bool) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) AsAnswer() (*Answer, bool) }
BasicAnswer ...
type BasicCivicStructure ¶
type BasicCivicStructure interface { AsAirport() (*Airport, bool) AsCivicStructure() (*CivicStructure, bool) }
BasicCivicStructure ...
type BasicContractualRulesAttribution ¶
type BasicContractualRulesAttribution interface { AsContractualRulesLicenseAttribution() (*ContractualRulesLicenseAttribution, bool) AsContractualRulesLinkAttribution() (*ContractualRulesLinkAttribution, bool) AsContractualRulesMediaAttribution() (*ContractualRulesMediaAttribution, bool) AsContractualRulesTextAttribution() (*ContractualRulesTextAttribution, bool) AsContractualRulesAttribution() (*ContractualRulesAttribution, bool) }
BasicContractualRulesAttribution ...
type BasicContractualRulesContractualRule ¶
type BasicContractualRulesContractualRule interface { AsContractualRulesAttribution() (*ContractualRulesAttribution, bool) AsBasicContractualRulesAttribution() (BasicContractualRulesAttribution, bool) AsContractualRulesLicenseAttribution() (*ContractualRulesLicenseAttribution, bool) AsContractualRulesLinkAttribution() (*ContractualRulesLinkAttribution, bool) AsContractualRulesMediaAttribution() (*ContractualRulesMediaAttribution, bool) AsContractualRulesTextAttribution() (*ContractualRulesTextAttribution, bool) AsContractualRulesContractualRule() (*ContractualRulesContractualRule, bool) }
BasicContractualRulesContractualRule ...
type BasicCreativeWork ¶
type BasicCreativeWork interface { AsImageObject() (*ImageObject, bool) AsMediaObject() (*MediaObject, bool) AsBasicMediaObject() (BasicMediaObject, bool) AsLicense() (*License, bool) AsCreativeWork() (*CreativeWork, bool) }
BasicCreativeWork ...
type BasicEntertainmentBusiness ¶
type BasicEntertainmentBusiness interface { AsMovieTheater() (*MovieTheater, bool) AsEntertainmentBusiness() (*EntertainmentBusiness, bool) }
BasicEntertainmentBusiness ...
type BasicFoodEstablishment ¶
type BasicFoodEstablishment interface { AsRestaurant() (*Restaurant, bool) AsFoodEstablishment() (*FoodEstablishment, bool) }
BasicFoodEstablishment ...
type BasicIdentifiable ¶
type BasicIdentifiable interface { AsImageObject() (*ImageObject, bool) AsThing() (*Thing, bool) AsBasicThing() (BasicThing, bool) AsEntities() (*Entities, bool) AsPlaces() (*Places, bool) AsSearchResponse() (*SearchResponse, bool) AsResponse() (*Response, bool) AsBasicResponse() (BasicResponse, bool) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) AsAnswer() (*Answer, bool) AsBasicAnswer() (BasicAnswer, bool) AsErrorResponse() (*ErrorResponse, bool) AsPostalAddress() (*PostalAddress, bool) AsPlace() (*Place, bool) AsBasicPlace() (BasicPlace, bool) AsOrganization() (*Organization, bool) AsCreativeWork() (*CreativeWork, bool) AsBasicCreativeWork() (BasicCreativeWork, bool) AsIntangible() (*Intangible, bool) AsBasicIntangible() (BasicIntangible, bool) AsMovieTheater() (*MovieTheater, bool) AsMediaObject() (*MediaObject, bool) AsBasicMediaObject() (BasicMediaObject, bool) AsCivicStructure() (*CivicStructure, bool) AsBasicCivicStructure() (BasicCivicStructure, bool) AsLocalBusiness() (*LocalBusiness, bool) AsBasicLocalBusiness() (BasicLocalBusiness, bool) AsTouristAttraction() (*TouristAttraction, bool) AsAirport() (*Airport, bool) AsLicense() (*License, bool) AsStructuredValue() (*StructuredValue, bool) AsBasicStructuredValue() (BasicStructuredValue, bool) AsEntertainmentBusiness() (*EntertainmentBusiness, bool) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool) AsFoodEstablishment() (*FoodEstablishment, bool) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool) AsLodgingBusiness() (*LodgingBusiness, bool) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool) AsRestaurant() (*Restaurant, bool) AsHotel() (*Hotel, bool) AsIdentifiable() (*Identifiable, bool) }
BasicIdentifiable defines the identity of a resource.
type BasicIntangible ¶
type BasicIntangible interface { AsPostalAddress() (*PostalAddress, bool) AsStructuredValue() (*StructuredValue, bool) AsBasicStructuredValue() (BasicStructuredValue, bool) AsIntangible() (*Intangible, bool) }
BasicIntangible ...
type BasicLocalBusiness ¶
type BasicLocalBusiness interface { AsMovieTheater() (*MovieTheater, bool) AsEntertainmentBusiness() (*EntertainmentBusiness, bool) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool) AsFoodEstablishment() (*FoodEstablishment, bool) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool) AsLodgingBusiness() (*LodgingBusiness, bool) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool) AsRestaurant() (*Restaurant, bool) AsHotel() (*Hotel, bool) AsLocalBusiness() (*LocalBusiness, bool) }
BasicLocalBusiness ...
type BasicLodgingBusiness ¶
type BasicLodgingBusiness interface { AsHotel() (*Hotel, bool) AsLodgingBusiness() (*LodgingBusiness, bool) }
BasicLodgingBusiness ...
type BasicMediaObject ¶
type BasicMediaObject interface { AsImageObject() (*ImageObject, bool) AsMediaObject() (*MediaObject, bool) }
BasicMediaObject ...
type BasicPlace ¶
type BasicPlace interface { AsMovieTheater() (*MovieTheater, bool) AsCivicStructure() (*CivicStructure, bool) AsBasicCivicStructure() (BasicCivicStructure, bool) AsLocalBusiness() (*LocalBusiness, bool) AsBasicLocalBusiness() (BasicLocalBusiness, bool) AsTouristAttraction() (*TouristAttraction, bool) AsAirport() (*Airport, bool) AsEntertainmentBusiness() (*EntertainmentBusiness, bool) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool) AsFoodEstablishment() (*FoodEstablishment, bool) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool) AsLodgingBusiness() (*LodgingBusiness, bool) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool) AsRestaurant() (*Restaurant, bool) AsHotel() (*Hotel, bool) AsPlace() (*Place, bool) }
BasicPlace defines information about a local entity, such as a restaurant or hotel.
type BasicResponse ¶
type BasicResponse interface { AsImageObject() (*ImageObject, bool) AsThing() (*Thing, bool) AsBasicThing() (BasicThing, bool) AsEntities() (*Entities, bool) AsPlaces() (*Places, bool) AsSearchResponse() (*SearchResponse, bool) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) AsAnswer() (*Answer, bool) AsBasicAnswer() (BasicAnswer, bool) AsErrorResponse() (*ErrorResponse, bool) AsPostalAddress() (*PostalAddress, bool) AsPlace() (*Place, bool) AsBasicPlace() (BasicPlace, bool) AsOrganization() (*Organization, bool) AsCreativeWork() (*CreativeWork, bool) AsBasicCreativeWork() (BasicCreativeWork, bool) AsIntangible() (*Intangible, bool) AsBasicIntangible() (BasicIntangible, bool) AsMovieTheater() (*MovieTheater, bool) AsMediaObject() (*MediaObject, bool) AsBasicMediaObject() (BasicMediaObject, bool) AsCivicStructure() (*CivicStructure, bool) AsBasicCivicStructure() (BasicCivicStructure, bool) AsLocalBusiness() (*LocalBusiness, bool) AsBasicLocalBusiness() (BasicLocalBusiness, bool) AsTouristAttraction() (*TouristAttraction, bool) AsAirport() (*Airport, bool) AsLicense() (*License, bool) AsStructuredValue() (*StructuredValue, bool) AsBasicStructuredValue() (BasicStructuredValue, bool) AsEntertainmentBusiness() (*EntertainmentBusiness, bool) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool) AsFoodEstablishment() (*FoodEstablishment, bool) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool) AsLodgingBusiness() (*LodgingBusiness, bool) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool) AsRestaurant() (*Restaurant, bool) AsHotel() (*Hotel, bool) AsResponse() (*Response, bool) }
BasicResponse defines a response. All schemas that could be returned at the root of a response should inherit from this
type BasicResponseBase ¶
type BasicResponseBase interface { AsImageObject() (*ImageObject, bool) AsThing() (*Thing, bool) AsBasicThing() (BasicThing, bool) AsEntities() (*Entities, bool) AsPlaces() (*Places, bool) AsSearchResponse() (*SearchResponse, bool) AsResponse() (*Response, bool) AsBasicResponse() (BasicResponse, bool) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool) AsIdentifiable() (*Identifiable, bool) AsBasicIdentifiable() (BasicIdentifiable, bool) AsAnswer() (*Answer, bool) AsBasicAnswer() (BasicAnswer, bool) AsErrorResponse() (*ErrorResponse, bool) AsPostalAddress() (*PostalAddress, bool) AsPlace() (*Place, bool) AsBasicPlace() (BasicPlace, bool) AsOrganization() (*Organization, bool) AsCreativeWork() (*CreativeWork, bool) AsBasicCreativeWork() (BasicCreativeWork, bool) AsIntangible() (*Intangible, bool) AsBasicIntangible() (BasicIntangible, bool) AsMovieTheater() (*MovieTheater, bool) AsMediaObject() (*MediaObject, bool) AsBasicMediaObject() (BasicMediaObject, bool) AsCivicStructure() (*CivicStructure, bool) AsBasicCivicStructure() (BasicCivicStructure, bool) AsLocalBusiness() (*LocalBusiness, bool) AsBasicLocalBusiness() (BasicLocalBusiness, bool) AsTouristAttraction() (*TouristAttraction, bool) AsAirport() (*Airport, bool) AsLicense() (*License, bool) AsStructuredValue() (*StructuredValue, bool) AsBasicStructuredValue() (BasicStructuredValue, bool) AsEntertainmentBusiness() (*EntertainmentBusiness, bool) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool) AsFoodEstablishment() (*FoodEstablishment, bool) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool) AsLodgingBusiness() (*LodgingBusiness, bool) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool) AsRestaurant() (*Restaurant, bool) AsHotel() (*Hotel, bool) AsResponseBase() (*ResponseBase, bool) }
BasicResponseBase ...
type BasicSearchResultsAnswer ¶
type BasicSearchResultsAnswer interface { AsEntities() (*Entities, bool) AsPlaces() (*Places, bool) AsSearchResultsAnswer() (*SearchResultsAnswer, bool) }
BasicSearchResultsAnswer ...
type BasicStructuredValue ¶
type BasicStructuredValue interface { AsPostalAddress() (*PostalAddress, bool) AsStructuredValue() (*StructuredValue, bool) }
BasicStructuredValue ...
type BasicThing ¶
type BasicThing interface { AsImageObject() (*ImageObject, bool) AsPostalAddress() (*PostalAddress, bool) AsPlace() (*Place, bool) AsBasicPlace() (BasicPlace, bool) AsOrganization() (*Organization, bool) AsCreativeWork() (*CreativeWork, bool) AsBasicCreativeWork() (BasicCreativeWork, bool) AsIntangible() (*Intangible, bool) AsBasicIntangible() (BasicIntangible, bool) AsMovieTheater() (*MovieTheater, bool) AsMediaObject() (*MediaObject, bool) AsBasicMediaObject() (BasicMediaObject, bool) AsCivicStructure() (*CivicStructure, bool) AsBasicCivicStructure() (BasicCivicStructure, bool) AsLocalBusiness() (*LocalBusiness, bool) AsBasicLocalBusiness() (BasicLocalBusiness, bool) AsTouristAttraction() (*TouristAttraction, bool) AsAirport() (*Airport, bool) AsLicense() (*License, bool) AsStructuredValue() (*StructuredValue, bool) AsBasicStructuredValue() (BasicStructuredValue, bool) AsEntertainmentBusiness() (*EntertainmentBusiness, bool) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool) AsFoodEstablishment() (*FoodEstablishment, bool) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool) AsLodgingBusiness() (*LodgingBusiness, bool) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool) AsRestaurant() (*Restaurant, bool) AsHotel() (*Hotel, bool) AsThing() (*Thing, bool) }
BasicThing ...
type CivicStructure ¶
type CivicStructure struct { // Address - READ-ONLY; The postal address of where the entity is located Address *PostalAddress `json:"address,omitempty"` // Telephone - READ-ONLY; The entity's telephone number Telephone *string `json:"telephone,omitempty"` // Name - READ-ONLY; The name of the thing represented by this object. Name *string `json:"name,omitempty"` // URL - READ-ONLY; The URL to get more information about the thing represented by this object. URL *string `json:"url,omitempty"` // Image - READ-ONLY Image *ImageObject `json:"image,omitempty"` // Description - READ-ONLY; A short description of the item. Description *string `json:"description,omitempty"` // EntityPresentationInfo - READ-ONLY; Additional information about the entity such as hints that you can use to determine the entity's type. To determine the entity's type, use the entityScenario and entityTypeHint fields. EntityPresentationInfo *EntitiesEntityPresentationInfo `json:"entityPresentationInfo,omitempty"` // BingID - READ-ONLY; An ID that uniquely identifies this item. BingID *string `json:"bingId,omitempty"` // ContractualRules - READ-ONLY; A list of rules that you must adhere to if you display the item. ContractualRules *[]BasicContractualRulesContractualRule `json:"contractualRules,omitempty"` // WebSearchURL - READ-ONLY; The URL To Bing's search result for this item. WebSearchURL *string `json:"webSearchUrl,omitempty"` // ID - READ-ONLY; A String identifier. ID *string `json:"id,omitempty"` // Type - Possible values include: 'TypeResponseBase', 'TypeImageObject', 'TypeThing', 'TypeEntities', 'TypePlaces', 'TypeSearchResponse', 'TypeResponse', 'TypeSearchResultsAnswer', 'TypeIdentifiable', 'TypeAnswer', 'TypeErrorResponse', 'TypePostalAddress', 'TypePlace', 'TypeOrganization', 'TypeCreativeWork', 'TypeIntangible', 'TypeMovieTheater', 'TypeMediaObject', 'TypeCivicStructure', 'TypeLocalBusiness', 'TypeTouristAttraction', 'TypeAirport', 'TypeLicense', 'TypeStructuredValue', 'TypeEntertainmentBusiness', 'TypeFoodEstablishment', 'TypeLodgingBusiness', 'TypeRestaurant', 'TypeHotel' Type TypeBasicResponseBase `json:"_type,omitempty"` }
CivicStructure ...
func (CivicStructure) AsAirport ¶
func (cs CivicStructure) AsAirport() (*Airport, bool)
AsAirport is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsAnswer ¶
func (cs CivicStructure) AsAnswer() (*Answer, bool)
AsAnswer is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsBasicAnswer ¶
func (cs CivicStructure) AsBasicAnswer() (BasicAnswer, bool)
AsBasicAnswer is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsBasicCivicStructure ¶
func (cs CivicStructure) AsBasicCivicStructure() (BasicCivicStructure, bool)
AsBasicCivicStructure is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsBasicCreativeWork ¶
func (cs CivicStructure) AsBasicCreativeWork() (BasicCreativeWork, bool)
AsBasicCreativeWork is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsBasicEntertainmentBusiness ¶
func (cs CivicStructure) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool)
AsBasicEntertainmentBusiness is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsBasicFoodEstablishment ¶
func (cs CivicStructure) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool)
AsBasicFoodEstablishment is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsBasicIdentifiable ¶
func (cs CivicStructure) AsBasicIdentifiable() (BasicIdentifiable, bool)
AsBasicIdentifiable is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsBasicIntangible ¶
func (cs CivicStructure) AsBasicIntangible() (BasicIntangible, bool)
AsBasicIntangible is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsBasicLocalBusiness ¶
func (cs CivicStructure) AsBasicLocalBusiness() (BasicLocalBusiness, bool)
AsBasicLocalBusiness is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsBasicLodgingBusiness ¶
func (cs CivicStructure) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool)
AsBasicLodgingBusiness is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsBasicMediaObject ¶
func (cs CivicStructure) AsBasicMediaObject() (BasicMediaObject, bool)
AsBasicMediaObject is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsBasicPlace ¶
func (cs CivicStructure) AsBasicPlace() (BasicPlace, bool)
AsBasicPlace is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsBasicResponse ¶
func (cs CivicStructure) AsBasicResponse() (BasicResponse, bool)
AsBasicResponse is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsBasicResponseBase ¶
func (cs CivicStructure) AsBasicResponseBase() (BasicResponseBase, bool)
AsBasicResponseBase is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsBasicSearchResultsAnswer ¶
func (cs CivicStructure) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool)
AsBasicSearchResultsAnswer is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsBasicStructuredValue ¶
func (cs CivicStructure) AsBasicStructuredValue() (BasicStructuredValue, bool)
AsBasicStructuredValue is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsBasicThing ¶
func (cs CivicStructure) AsBasicThing() (BasicThing, bool)
AsBasicThing is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsCivicStructure ¶
func (cs CivicStructure) AsCivicStructure() (*CivicStructure, bool)
AsCivicStructure is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsCreativeWork ¶
func (cs CivicStructure) AsCreativeWork() (*CreativeWork, bool)
AsCreativeWork is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsEntertainmentBusiness ¶
func (cs CivicStructure) AsEntertainmentBusiness() (*EntertainmentBusiness, bool)
AsEntertainmentBusiness is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsEntities ¶
func (cs CivicStructure) AsEntities() (*Entities, bool)
AsEntities is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsErrorResponse ¶
func (cs CivicStructure) AsErrorResponse() (*ErrorResponse, bool)
AsErrorResponse is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsFoodEstablishment ¶
func (cs CivicStructure) AsFoodEstablishment() (*FoodEstablishment, bool)
AsFoodEstablishment is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsHotel ¶
func (cs CivicStructure) AsHotel() (*Hotel, bool)
AsHotel is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsIdentifiable ¶
func (cs CivicStructure) AsIdentifiable() (*Identifiable, bool)
AsIdentifiable is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsImageObject ¶
func (cs CivicStructure) AsImageObject() (*ImageObject, bool)
AsImageObject is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsIntangible ¶
func (cs CivicStructure) AsIntangible() (*Intangible, bool)
AsIntangible is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsLicense ¶
func (cs CivicStructure) AsLicense() (*License, bool)
AsLicense is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsLocalBusiness ¶
func (cs CivicStructure) AsLocalBusiness() (*LocalBusiness, bool)
AsLocalBusiness is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsLodgingBusiness ¶
func (cs CivicStructure) AsLodgingBusiness() (*LodgingBusiness, bool)
AsLodgingBusiness is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsMediaObject ¶
func (cs CivicStructure) AsMediaObject() (*MediaObject, bool)
AsMediaObject is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsMovieTheater ¶
func (cs CivicStructure) AsMovieTheater() (*MovieTheater, bool)
AsMovieTheater is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsOrganization ¶
func (cs CivicStructure) AsOrganization() (*Organization, bool)
AsOrganization is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsPlace ¶
func (cs CivicStructure) AsPlace() (*Place, bool)
AsPlace is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsPlaces ¶
func (cs CivicStructure) AsPlaces() (*Places, bool)
AsPlaces is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsPostalAddress ¶
func (cs CivicStructure) AsPostalAddress() (*PostalAddress, bool)
AsPostalAddress is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsResponse ¶
func (cs CivicStructure) AsResponse() (*Response, bool)
AsResponse is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsResponseBase ¶
func (cs CivicStructure) AsResponseBase() (*ResponseBase, bool)
AsResponseBase is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsRestaurant ¶
func (cs CivicStructure) AsRestaurant() (*Restaurant, bool)
AsRestaurant is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsSearchResponse ¶
func (cs CivicStructure) AsSearchResponse() (*SearchResponse, bool)
AsSearchResponse is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsSearchResultsAnswer ¶
func (cs CivicStructure) AsSearchResultsAnswer() (*SearchResultsAnswer, bool)
AsSearchResultsAnswer is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsStructuredValue ¶
func (cs CivicStructure) AsStructuredValue() (*StructuredValue, bool)
AsStructuredValue is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsThing ¶
func (cs CivicStructure) AsThing() (*Thing, bool)
AsThing is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) AsTouristAttraction ¶
func (cs CivicStructure) AsTouristAttraction() (*TouristAttraction, bool)
AsTouristAttraction is the BasicResponseBase implementation for CivicStructure.
func (CivicStructure) MarshalJSON ¶
func (cs CivicStructure) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CivicStructure.
func (*CivicStructure) UnmarshalJSON ¶
func (cs *CivicStructure) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for CivicStructure struct.
type ContractualRulesAttribution ¶
type ContractualRulesAttribution struct { // MustBeCloseToContent - READ-ONLY; A Boolean value that determines whether the contents of the rule must be placed in close proximity to the field that the rule applies to. If true, the contents must be placed in close proximity. If false, or this field does not exist, the contents may be placed at the caller's discretion. MustBeCloseToContent *bool `json:"mustBeCloseToContent,omitempty"` // TargetPropertyName - READ-ONLY; The name of the field that the rule applies to. TargetPropertyName *string `json:"targetPropertyName,omitempty"` // Type - Possible values include: 'TypeContractualRulesContractualRule', 'TypeContractualRulesAttribution', 'TypeContractualRulesLicenseAttribution', 'TypeContractualRulesLinkAttribution', 'TypeContractualRulesMediaAttribution', 'TypeContractualRulesTextAttribution' Type Type `json:"_type,omitempty"` }
ContractualRulesAttribution ...
func (ContractualRulesAttribution) AsBasicContractualRulesAttribution ¶
func (cra ContractualRulesAttribution) AsBasicContractualRulesAttribution() (BasicContractualRulesAttribution, bool)
AsBasicContractualRulesAttribution is the BasicContractualRulesContractualRule implementation for ContractualRulesAttribution.
func (ContractualRulesAttribution) AsBasicContractualRulesContractualRule ¶
func (cra ContractualRulesAttribution) AsBasicContractualRulesContractualRule() (BasicContractualRulesContractualRule, bool)
AsBasicContractualRulesContractualRule is the BasicContractualRulesContractualRule implementation for ContractualRulesAttribution.
func (ContractualRulesAttribution) AsContractualRulesAttribution ¶
func (cra ContractualRulesAttribution) AsContractualRulesAttribution() (*ContractualRulesAttribution, bool)
AsContractualRulesAttribution is the BasicContractualRulesContractualRule implementation for ContractualRulesAttribution.
func (ContractualRulesAttribution) AsContractualRulesContractualRule ¶
func (cra ContractualRulesAttribution) AsContractualRulesContractualRule() (*ContractualRulesContractualRule, bool)
AsContractualRulesContractualRule is the BasicContractualRulesContractualRule implementation for ContractualRulesAttribution.
func (ContractualRulesAttribution) AsContractualRulesLicenseAttribution ¶
func (cra ContractualRulesAttribution) AsContractualRulesLicenseAttribution() (*ContractualRulesLicenseAttribution, bool)
AsContractualRulesLicenseAttribution is the BasicContractualRulesContractualRule implementation for ContractualRulesAttribution.
func (ContractualRulesAttribution) AsContractualRulesLinkAttribution ¶
func (cra ContractualRulesAttribution) AsContractualRulesLinkAttribution() (*ContractualRulesLinkAttribution, bool)
AsContractualRulesLinkAttribution is the BasicContractualRulesContractualRule implementation for ContractualRulesAttribution.
func (ContractualRulesAttribution) AsContractualRulesMediaAttribution ¶
func (cra ContractualRulesAttribution) AsContractualRulesMediaAttribution() (*ContractualRulesMediaAttribution, bool)
AsContractualRulesMediaAttribution is the BasicContractualRulesContractualRule implementation for ContractualRulesAttribution.
func (ContractualRulesAttribution) AsContractualRulesTextAttribution ¶
func (cra ContractualRulesAttribution) AsContractualRulesTextAttribution() (*ContractualRulesTextAttribution, bool)
AsContractualRulesTextAttribution is the BasicContractualRulesContractualRule implementation for ContractualRulesAttribution.
func (ContractualRulesAttribution) MarshalJSON ¶
func (cra ContractualRulesAttribution) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ContractualRulesAttribution.
type ContractualRulesContractualRule ¶
type ContractualRulesContractualRule struct { // TargetPropertyName - READ-ONLY; The name of the field that the rule applies to. TargetPropertyName *string `json:"targetPropertyName,omitempty"` // Type - Possible values include: 'TypeContractualRulesContractualRule', 'TypeContractualRulesAttribution', 'TypeContractualRulesLicenseAttribution', 'TypeContractualRulesLinkAttribution', 'TypeContractualRulesMediaAttribution', 'TypeContractualRulesTextAttribution' Type Type `json:"_type,omitempty"` }
ContractualRulesContractualRule ...
func (ContractualRulesContractualRule) AsBasicContractualRulesAttribution ¶
func (crcr ContractualRulesContractualRule) AsBasicContractualRulesAttribution() (BasicContractualRulesAttribution, bool)
AsBasicContractualRulesAttribution is the BasicContractualRulesContractualRule implementation for ContractualRulesContractualRule.
func (ContractualRulesContractualRule) AsBasicContractualRulesContractualRule ¶
func (crcr ContractualRulesContractualRule) AsBasicContractualRulesContractualRule() (BasicContractualRulesContractualRule, bool)
AsBasicContractualRulesContractualRule is the BasicContractualRulesContractualRule implementation for ContractualRulesContractualRule.
func (ContractualRulesContractualRule) AsContractualRulesAttribution ¶
func (crcr ContractualRulesContractualRule) AsContractualRulesAttribution() (*ContractualRulesAttribution, bool)
AsContractualRulesAttribution is the BasicContractualRulesContractualRule implementation for ContractualRulesContractualRule.
func (ContractualRulesContractualRule) AsContractualRulesContractualRule ¶
func (crcr ContractualRulesContractualRule) AsContractualRulesContractualRule() (*ContractualRulesContractualRule, bool)
AsContractualRulesContractualRule is the BasicContractualRulesContractualRule implementation for ContractualRulesContractualRule.
func (ContractualRulesContractualRule) AsContractualRulesLicenseAttribution ¶
func (crcr ContractualRulesContractualRule) AsContractualRulesLicenseAttribution() (*ContractualRulesLicenseAttribution, bool)
AsContractualRulesLicenseAttribution is the BasicContractualRulesContractualRule implementation for ContractualRulesContractualRule.
func (ContractualRulesContractualRule) AsContractualRulesLinkAttribution ¶
func (crcr ContractualRulesContractualRule) AsContractualRulesLinkAttribution() (*ContractualRulesLinkAttribution, bool)
AsContractualRulesLinkAttribution is the BasicContractualRulesContractualRule implementation for ContractualRulesContractualRule.
func (ContractualRulesContractualRule) AsContractualRulesMediaAttribution ¶
func (crcr ContractualRulesContractualRule) AsContractualRulesMediaAttribution() (*ContractualRulesMediaAttribution, bool)
AsContractualRulesMediaAttribution is the BasicContractualRulesContractualRule implementation for ContractualRulesContractualRule.
func (ContractualRulesContractualRule) AsContractualRulesTextAttribution ¶
func (crcr ContractualRulesContractualRule) AsContractualRulesTextAttribution() (*ContractualRulesTextAttribution, bool)
AsContractualRulesTextAttribution is the BasicContractualRulesContractualRule implementation for ContractualRulesContractualRule.
func (ContractualRulesContractualRule) MarshalJSON ¶
func (crcr ContractualRulesContractualRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ContractualRulesContractualRule.
type ContractualRulesLicenseAttribution ¶
type ContractualRulesLicenseAttribution struct { // License - READ-ONLY; The license under which the content may be used. License *License `json:"license,omitempty"` // LicenseNotice - READ-ONLY; The license to display next to the targeted field. LicenseNotice *string `json:"licenseNotice,omitempty"` // MustBeCloseToContent - READ-ONLY; A Boolean value that determines whether the contents of the rule must be placed in close proximity to the field that the rule applies to. If true, the contents must be placed in close proximity. If false, or this field does not exist, the contents may be placed at the caller's discretion. MustBeCloseToContent *bool `json:"mustBeCloseToContent,omitempty"` // TargetPropertyName - READ-ONLY; The name of the field that the rule applies to. TargetPropertyName *string `json:"targetPropertyName,omitempty"` // Type - Possible values include: 'TypeContractualRulesContractualRule', 'TypeContractualRulesAttribution', 'TypeContractualRulesLicenseAttribution', 'TypeContractualRulesLinkAttribution', 'TypeContractualRulesMediaAttribution', 'TypeContractualRulesTextAttribution' Type Type `json:"_type,omitempty"` }
ContractualRulesLicenseAttribution defines a contractual rule for license attribution.
func (ContractualRulesLicenseAttribution) AsBasicContractualRulesAttribution ¶
func (crla ContractualRulesLicenseAttribution) AsBasicContractualRulesAttribution() (BasicContractualRulesAttribution, bool)
AsBasicContractualRulesAttribution is the BasicContractualRulesContractualRule implementation for ContractualRulesLicenseAttribution.
func (ContractualRulesLicenseAttribution) AsBasicContractualRulesContractualRule ¶
func (crla ContractualRulesLicenseAttribution) AsBasicContractualRulesContractualRule() (BasicContractualRulesContractualRule, bool)
AsBasicContractualRulesContractualRule is the BasicContractualRulesContractualRule implementation for ContractualRulesLicenseAttribution.
func (ContractualRulesLicenseAttribution) AsContractualRulesAttribution ¶
func (crla ContractualRulesLicenseAttribution) AsContractualRulesAttribution() (*ContractualRulesAttribution, bool)
AsContractualRulesAttribution is the BasicContractualRulesContractualRule implementation for ContractualRulesLicenseAttribution.
func (ContractualRulesLicenseAttribution) AsContractualRulesContractualRule ¶
func (crla ContractualRulesLicenseAttribution) AsContractualRulesContractualRule() (*ContractualRulesContractualRule, bool)
AsContractualRulesContractualRule is the BasicContractualRulesContractualRule implementation for ContractualRulesLicenseAttribution.
func (ContractualRulesLicenseAttribution) AsContractualRulesLicenseAttribution ¶
func (crla ContractualRulesLicenseAttribution) AsContractualRulesLicenseAttribution() (*ContractualRulesLicenseAttribution, bool)
AsContractualRulesLicenseAttribution is the BasicContractualRulesContractualRule implementation for ContractualRulesLicenseAttribution.
func (ContractualRulesLicenseAttribution) AsContractualRulesLinkAttribution ¶
func (crla ContractualRulesLicenseAttribution) AsContractualRulesLinkAttribution() (*ContractualRulesLinkAttribution, bool)
AsContractualRulesLinkAttribution is the BasicContractualRulesContractualRule implementation for ContractualRulesLicenseAttribution.
func (ContractualRulesLicenseAttribution) AsContractualRulesMediaAttribution ¶
func (crla ContractualRulesLicenseAttribution) AsContractualRulesMediaAttribution() (*ContractualRulesMediaAttribution, bool)
AsContractualRulesMediaAttribution is the BasicContractualRulesContractualRule implementation for ContractualRulesLicenseAttribution.
func (ContractualRulesLicenseAttribution) AsContractualRulesTextAttribution ¶
func (crla ContractualRulesLicenseAttribution) AsContractualRulesTextAttribution() (*ContractualRulesTextAttribution, bool)
AsContractualRulesTextAttribution is the BasicContractualRulesContractualRule implementation for ContractualRulesLicenseAttribution.
func (ContractualRulesLicenseAttribution) MarshalJSON ¶
func (crla ContractualRulesLicenseAttribution) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ContractualRulesLicenseAttribution.
type ContractualRulesLinkAttribution ¶
type ContractualRulesLinkAttribution struct { // Text - The attribution text. Text *string `json:"text,omitempty"` // URL - The URL to the provider's website. Use text and URL to create the hyperlink. URL *string `json:"url,omitempty"` // OptionalForListDisplay - READ-ONLY; Indicates whether this provider's attribution is optional. OptionalForListDisplay *bool `json:"optionalForListDisplay,omitempty"` // MustBeCloseToContent - READ-ONLY; A Boolean value that determines whether the contents of the rule must be placed in close proximity to the field that the rule applies to. If true, the contents must be placed in close proximity. If false, or this field does not exist, the contents may be placed at the caller's discretion. MustBeCloseToContent *bool `json:"mustBeCloseToContent,omitempty"` // TargetPropertyName - READ-ONLY; The name of the field that the rule applies to. TargetPropertyName *string `json:"targetPropertyName,omitempty"` // Type - Possible values include: 'TypeContractualRulesContractualRule', 'TypeContractualRulesAttribution', 'TypeContractualRulesLicenseAttribution', 'TypeContractualRulesLinkAttribution', 'TypeContractualRulesMediaAttribution', 'TypeContractualRulesTextAttribution' Type Type `json:"_type,omitempty"` }
ContractualRulesLinkAttribution defines a contractual rule for link attribution.
func (ContractualRulesLinkAttribution) AsBasicContractualRulesAttribution ¶
func (crla ContractualRulesLinkAttribution) AsBasicContractualRulesAttribution() (BasicContractualRulesAttribution, bool)
AsBasicContractualRulesAttribution is the BasicContractualRulesContractualRule implementation for ContractualRulesLinkAttribution.
func (ContractualRulesLinkAttribution) AsBasicContractualRulesContractualRule ¶
func (crla ContractualRulesLinkAttribution) AsBasicContractualRulesContractualRule() (BasicContractualRulesContractualRule, bool)
AsBasicContractualRulesContractualRule is the BasicContractualRulesContractualRule implementation for ContractualRulesLinkAttribution.
func (ContractualRulesLinkAttribution) AsContractualRulesAttribution ¶
func (crla ContractualRulesLinkAttribution) AsContractualRulesAttribution() (*ContractualRulesAttribution, bool)
AsContractualRulesAttribution is the BasicContractualRulesContractualRule implementation for ContractualRulesLinkAttribution.
func (ContractualRulesLinkAttribution) AsContractualRulesContractualRule ¶
func (crla ContractualRulesLinkAttribution) AsContractualRulesContractualRule() (*ContractualRulesContractualRule, bool)
AsContractualRulesContractualRule is the BasicContractualRulesContractualRule implementation for ContractualRulesLinkAttribution.
func (ContractualRulesLinkAttribution) AsContractualRulesLicenseAttribution ¶
func (crla ContractualRulesLinkAttribution) AsContractualRulesLicenseAttribution() (*ContractualRulesLicenseAttribution, bool)
AsContractualRulesLicenseAttribution is the BasicContractualRulesContractualRule implementation for ContractualRulesLinkAttribution.
func (ContractualRulesLinkAttribution) AsContractualRulesLinkAttribution ¶
func (crla ContractualRulesLinkAttribution) AsContractualRulesLinkAttribution() (*ContractualRulesLinkAttribution, bool)
AsContractualRulesLinkAttribution is the BasicContractualRulesContractualRule implementation for ContractualRulesLinkAttribution.
func (ContractualRulesLinkAttribution) AsContractualRulesMediaAttribution ¶
func (crla ContractualRulesLinkAttribution) AsContractualRulesMediaAttribution() (*ContractualRulesMediaAttribution, bool)
AsContractualRulesMediaAttribution is the BasicContractualRulesContractualRule implementation for ContractualRulesLinkAttribution.
func (ContractualRulesLinkAttribution) AsContractualRulesTextAttribution ¶
func (crla ContractualRulesLinkAttribution) AsContractualRulesTextAttribution() (*ContractualRulesTextAttribution, bool)
AsContractualRulesTextAttribution is the BasicContractualRulesContractualRule implementation for ContractualRulesLinkAttribution.
func (ContractualRulesLinkAttribution) MarshalJSON ¶
func (crla ContractualRulesLinkAttribution) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ContractualRulesLinkAttribution.
type ContractualRulesMediaAttribution ¶
type ContractualRulesMediaAttribution struct { // URL - READ-ONLY; The URL that you use to create of hyperlink of the media content. For example, if the target is an image, you would use the URL to make the image clickable. URL *string `json:"url,omitempty"` // MustBeCloseToContent - READ-ONLY; A Boolean value that determines whether the contents of the rule must be placed in close proximity to the field that the rule applies to. If true, the contents must be placed in close proximity. If false, or this field does not exist, the contents may be placed at the caller's discretion. MustBeCloseToContent *bool `json:"mustBeCloseToContent,omitempty"` // TargetPropertyName - READ-ONLY; The name of the field that the rule applies to. TargetPropertyName *string `json:"targetPropertyName,omitempty"` // Type - Possible values include: 'TypeContractualRulesContractualRule', 'TypeContractualRulesAttribution', 'TypeContractualRulesLicenseAttribution', 'TypeContractualRulesLinkAttribution', 'TypeContractualRulesMediaAttribution', 'TypeContractualRulesTextAttribution' Type Type `json:"_type,omitempty"` }
ContractualRulesMediaAttribution defines a contractual rule for media attribution.
func (ContractualRulesMediaAttribution) AsBasicContractualRulesAttribution ¶
func (crma ContractualRulesMediaAttribution) AsBasicContractualRulesAttribution() (BasicContractualRulesAttribution, bool)
AsBasicContractualRulesAttribution is the BasicContractualRulesContractualRule implementation for ContractualRulesMediaAttribution.
func (ContractualRulesMediaAttribution) AsBasicContractualRulesContractualRule ¶
func (crma ContractualRulesMediaAttribution) AsBasicContractualRulesContractualRule() (BasicContractualRulesContractualRule, bool)
AsBasicContractualRulesContractualRule is the BasicContractualRulesContractualRule implementation for ContractualRulesMediaAttribution.
func (ContractualRulesMediaAttribution) AsContractualRulesAttribution ¶
func (crma ContractualRulesMediaAttribution) AsContractualRulesAttribution() (*ContractualRulesAttribution, bool)
AsContractualRulesAttribution is the BasicContractualRulesContractualRule implementation for ContractualRulesMediaAttribution.
func (ContractualRulesMediaAttribution) AsContractualRulesContractualRule ¶
func (crma ContractualRulesMediaAttribution) AsContractualRulesContractualRule() (*ContractualRulesContractualRule, bool)
AsContractualRulesContractualRule is the BasicContractualRulesContractualRule implementation for ContractualRulesMediaAttribution.
func (ContractualRulesMediaAttribution) AsContractualRulesLicenseAttribution ¶
func (crma ContractualRulesMediaAttribution) AsContractualRulesLicenseAttribution() (*ContractualRulesLicenseAttribution, bool)
AsContractualRulesLicenseAttribution is the BasicContractualRulesContractualRule implementation for ContractualRulesMediaAttribution.
func (ContractualRulesMediaAttribution) AsContractualRulesLinkAttribution ¶
func (crma ContractualRulesMediaAttribution) AsContractualRulesLinkAttribution() (*ContractualRulesLinkAttribution, bool)
AsContractualRulesLinkAttribution is the BasicContractualRulesContractualRule implementation for ContractualRulesMediaAttribution.
func (ContractualRulesMediaAttribution) AsContractualRulesMediaAttribution ¶
func (crma ContractualRulesMediaAttribution) AsContractualRulesMediaAttribution() (*ContractualRulesMediaAttribution, bool)
AsContractualRulesMediaAttribution is the BasicContractualRulesContractualRule implementation for ContractualRulesMediaAttribution.
func (ContractualRulesMediaAttribution) AsContractualRulesTextAttribution ¶
func (crma ContractualRulesMediaAttribution) AsContractualRulesTextAttribution() (*ContractualRulesTextAttribution, bool)
AsContractualRulesTextAttribution is the BasicContractualRulesContractualRule implementation for ContractualRulesMediaAttribution.
func (ContractualRulesMediaAttribution) MarshalJSON ¶
func (crma ContractualRulesMediaAttribution) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ContractualRulesMediaAttribution.
type ContractualRulesTextAttribution ¶
type ContractualRulesTextAttribution struct { // Text - The attribution text. Text attribution applies to the entity as a whole and should be displayed immediately following the entity presentation. If there are multiple text or link attribution rules that do not specify a target, you should concatenate them and display them using a "Data from:" label. Text *string `json:"text,omitempty"` // OptionalForListDisplay - READ-ONLY; Indicates whether this provider's attribution is optional. OptionalForListDisplay *bool `json:"optionalForListDisplay,omitempty"` // MustBeCloseToContent - READ-ONLY; A Boolean value that determines whether the contents of the rule must be placed in close proximity to the field that the rule applies to. If true, the contents must be placed in close proximity. If false, or this field does not exist, the contents may be placed at the caller's discretion. MustBeCloseToContent *bool `json:"mustBeCloseToContent,omitempty"` // TargetPropertyName - READ-ONLY; The name of the field that the rule applies to. TargetPropertyName *string `json:"targetPropertyName,omitempty"` // Type - Possible values include: 'TypeContractualRulesContractualRule', 'TypeContractualRulesAttribution', 'TypeContractualRulesLicenseAttribution', 'TypeContractualRulesLinkAttribution', 'TypeContractualRulesMediaAttribution', 'TypeContractualRulesTextAttribution' Type Type `json:"_type,omitempty"` }
ContractualRulesTextAttribution defines a contractual rule for text attribution.
func (ContractualRulesTextAttribution) AsBasicContractualRulesAttribution ¶
func (crta ContractualRulesTextAttribution) AsBasicContractualRulesAttribution() (BasicContractualRulesAttribution, bool)
AsBasicContractualRulesAttribution is the BasicContractualRulesContractualRule implementation for ContractualRulesTextAttribution.
func (ContractualRulesTextAttribution) AsBasicContractualRulesContractualRule ¶
func (crta ContractualRulesTextAttribution) AsBasicContractualRulesContractualRule() (BasicContractualRulesContractualRule, bool)
AsBasicContractualRulesContractualRule is the BasicContractualRulesContractualRule implementation for ContractualRulesTextAttribution.
func (ContractualRulesTextAttribution) AsContractualRulesAttribution ¶
func (crta ContractualRulesTextAttribution) AsContractualRulesAttribution() (*ContractualRulesAttribution, bool)
AsContractualRulesAttribution is the BasicContractualRulesContractualRule implementation for ContractualRulesTextAttribution.
func (ContractualRulesTextAttribution) AsContractualRulesContractualRule ¶
func (crta ContractualRulesTextAttribution) AsContractualRulesContractualRule() (*ContractualRulesContractualRule, bool)
AsContractualRulesContractualRule is the BasicContractualRulesContractualRule implementation for ContractualRulesTextAttribution.
func (ContractualRulesTextAttribution) AsContractualRulesLicenseAttribution ¶
func (crta ContractualRulesTextAttribution) AsContractualRulesLicenseAttribution() (*ContractualRulesLicenseAttribution, bool)
AsContractualRulesLicenseAttribution is the BasicContractualRulesContractualRule implementation for ContractualRulesTextAttribution.
func (ContractualRulesTextAttribution) AsContractualRulesLinkAttribution ¶
func (crta ContractualRulesTextAttribution) AsContractualRulesLinkAttribution() (*ContractualRulesLinkAttribution, bool)
AsContractualRulesLinkAttribution is the BasicContractualRulesContractualRule implementation for ContractualRulesTextAttribution.
func (ContractualRulesTextAttribution) AsContractualRulesMediaAttribution ¶
func (crta ContractualRulesTextAttribution) AsContractualRulesMediaAttribution() (*ContractualRulesMediaAttribution, bool)
AsContractualRulesMediaAttribution is the BasicContractualRulesContractualRule implementation for ContractualRulesTextAttribution.
func (ContractualRulesTextAttribution) AsContractualRulesTextAttribution ¶
func (crta ContractualRulesTextAttribution) AsContractualRulesTextAttribution() (*ContractualRulesTextAttribution, bool)
AsContractualRulesTextAttribution is the BasicContractualRulesContractualRule implementation for ContractualRulesTextAttribution.
func (ContractualRulesTextAttribution) MarshalJSON ¶
func (crta ContractualRulesTextAttribution) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ContractualRulesTextAttribution.
type CreativeWork ¶
type CreativeWork struct { // ThumbnailURL - READ-ONLY; The URL to a thumbnail of the item. ThumbnailURL *string `json:"thumbnailUrl,omitempty"` // Provider - READ-ONLY; The source of the creative work. Provider *[]BasicThing `json:"provider,omitempty"` // Text - READ-ONLY Text *string `json:"text,omitempty"` // Name - READ-ONLY; The name of the thing represented by this object. Name *string `json:"name,omitempty"` // URL - READ-ONLY; The URL to get more information about the thing represented by this object. URL *string `json:"url,omitempty"` // Image - READ-ONLY Image *ImageObject `json:"image,omitempty"` // Description - READ-ONLY; A short description of the item. Description *string `json:"description,omitempty"` // EntityPresentationInfo - READ-ONLY; Additional information about the entity such as hints that you can use to determine the entity's type. To determine the entity's type, use the entityScenario and entityTypeHint fields. EntityPresentationInfo *EntitiesEntityPresentationInfo `json:"entityPresentationInfo,omitempty"` // BingID - READ-ONLY; An ID that uniquely identifies this item. BingID *string `json:"bingId,omitempty"` // ContractualRules - READ-ONLY; A list of rules that you must adhere to if you display the item. ContractualRules *[]BasicContractualRulesContractualRule `json:"contractualRules,omitempty"` // WebSearchURL - READ-ONLY; The URL To Bing's search result for this item. WebSearchURL *string `json:"webSearchUrl,omitempty"` // ID - READ-ONLY; A String identifier. ID *string `json:"id,omitempty"` // Type - Possible values include: 'TypeResponseBase', 'TypeImageObject', 'TypeThing', 'TypeEntities', 'TypePlaces', 'TypeSearchResponse', 'TypeResponse', 'TypeSearchResultsAnswer', 'TypeIdentifiable', 'TypeAnswer', 'TypeErrorResponse', 'TypePostalAddress', 'TypePlace', 'TypeOrganization', 'TypeCreativeWork', 'TypeIntangible', 'TypeMovieTheater', 'TypeMediaObject', 'TypeCivicStructure', 'TypeLocalBusiness', 'TypeTouristAttraction', 'TypeAirport', 'TypeLicense', 'TypeStructuredValue', 'TypeEntertainmentBusiness', 'TypeFoodEstablishment', 'TypeLodgingBusiness', 'TypeRestaurant', 'TypeHotel' Type TypeBasicResponseBase `json:"_type,omitempty"` }
CreativeWork ...
func (CreativeWork) AsAirport ¶
func (cw CreativeWork) AsAirport() (*Airport, bool)
AsAirport is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsAnswer ¶
func (cw CreativeWork) AsAnswer() (*Answer, bool)
AsAnswer is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsBasicAnswer ¶
func (cw CreativeWork) AsBasicAnswer() (BasicAnswer, bool)
AsBasicAnswer is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsBasicCivicStructure ¶
func (cw CreativeWork) AsBasicCivicStructure() (BasicCivicStructure, bool)
AsBasicCivicStructure is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsBasicCreativeWork ¶
func (cw CreativeWork) AsBasicCreativeWork() (BasicCreativeWork, bool)
AsBasicCreativeWork is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsBasicEntertainmentBusiness ¶
func (cw CreativeWork) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool)
AsBasicEntertainmentBusiness is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsBasicFoodEstablishment ¶
func (cw CreativeWork) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool)
AsBasicFoodEstablishment is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsBasicIdentifiable ¶
func (cw CreativeWork) AsBasicIdentifiable() (BasicIdentifiable, bool)
AsBasicIdentifiable is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsBasicIntangible ¶
func (cw CreativeWork) AsBasicIntangible() (BasicIntangible, bool)
AsBasicIntangible is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsBasicLocalBusiness ¶
func (cw CreativeWork) AsBasicLocalBusiness() (BasicLocalBusiness, bool)
AsBasicLocalBusiness is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsBasicLodgingBusiness ¶
func (cw CreativeWork) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool)
AsBasicLodgingBusiness is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsBasicMediaObject ¶
func (cw CreativeWork) AsBasicMediaObject() (BasicMediaObject, bool)
AsBasicMediaObject is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsBasicPlace ¶
func (cw CreativeWork) AsBasicPlace() (BasicPlace, bool)
AsBasicPlace is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsBasicResponse ¶
func (cw CreativeWork) AsBasicResponse() (BasicResponse, bool)
AsBasicResponse is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsBasicResponseBase ¶
func (cw CreativeWork) AsBasicResponseBase() (BasicResponseBase, bool)
AsBasicResponseBase is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsBasicSearchResultsAnswer ¶
func (cw CreativeWork) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool)
AsBasicSearchResultsAnswer is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsBasicStructuredValue ¶
func (cw CreativeWork) AsBasicStructuredValue() (BasicStructuredValue, bool)
AsBasicStructuredValue is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsBasicThing ¶
func (cw CreativeWork) AsBasicThing() (BasicThing, bool)
AsBasicThing is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsCivicStructure ¶
func (cw CreativeWork) AsCivicStructure() (*CivicStructure, bool)
AsCivicStructure is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsCreativeWork ¶
func (cw CreativeWork) AsCreativeWork() (*CreativeWork, bool)
AsCreativeWork is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsEntertainmentBusiness ¶
func (cw CreativeWork) AsEntertainmentBusiness() (*EntertainmentBusiness, bool)
AsEntertainmentBusiness is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsEntities ¶
func (cw CreativeWork) AsEntities() (*Entities, bool)
AsEntities is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsErrorResponse ¶
func (cw CreativeWork) AsErrorResponse() (*ErrorResponse, bool)
AsErrorResponse is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsFoodEstablishment ¶
func (cw CreativeWork) AsFoodEstablishment() (*FoodEstablishment, bool)
AsFoodEstablishment is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsHotel ¶
func (cw CreativeWork) AsHotel() (*Hotel, bool)
AsHotel is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsIdentifiable ¶
func (cw CreativeWork) AsIdentifiable() (*Identifiable, bool)
AsIdentifiable is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsImageObject ¶
func (cw CreativeWork) AsImageObject() (*ImageObject, bool)
AsImageObject is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsIntangible ¶
func (cw CreativeWork) AsIntangible() (*Intangible, bool)
AsIntangible is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsLicense ¶
func (cw CreativeWork) AsLicense() (*License, bool)
AsLicense is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsLocalBusiness ¶
func (cw CreativeWork) AsLocalBusiness() (*LocalBusiness, bool)
AsLocalBusiness is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsLodgingBusiness ¶
func (cw CreativeWork) AsLodgingBusiness() (*LodgingBusiness, bool)
AsLodgingBusiness is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsMediaObject ¶
func (cw CreativeWork) AsMediaObject() (*MediaObject, bool)
AsMediaObject is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsMovieTheater ¶
func (cw CreativeWork) AsMovieTheater() (*MovieTheater, bool)
AsMovieTheater is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsOrganization ¶
func (cw CreativeWork) AsOrganization() (*Organization, bool)
AsOrganization is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsPlace ¶
func (cw CreativeWork) AsPlace() (*Place, bool)
AsPlace is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsPlaces ¶
func (cw CreativeWork) AsPlaces() (*Places, bool)
AsPlaces is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsPostalAddress ¶
func (cw CreativeWork) AsPostalAddress() (*PostalAddress, bool)
AsPostalAddress is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsResponse ¶
func (cw CreativeWork) AsResponse() (*Response, bool)
AsResponse is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsResponseBase ¶
func (cw CreativeWork) AsResponseBase() (*ResponseBase, bool)
AsResponseBase is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsRestaurant ¶
func (cw CreativeWork) AsRestaurant() (*Restaurant, bool)
AsRestaurant is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsSearchResponse ¶
func (cw CreativeWork) AsSearchResponse() (*SearchResponse, bool)
AsSearchResponse is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsSearchResultsAnswer ¶
func (cw CreativeWork) AsSearchResultsAnswer() (*SearchResultsAnswer, bool)
AsSearchResultsAnswer is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsStructuredValue ¶
func (cw CreativeWork) AsStructuredValue() (*StructuredValue, bool)
AsStructuredValue is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsThing ¶
func (cw CreativeWork) AsThing() (*Thing, bool)
AsThing is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) AsTouristAttraction ¶
func (cw CreativeWork) AsTouristAttraction() (*TouristAttraction, bool)
AsTouristAttraction is the BasicResponseBase implementation for CreativeWork.
func (CreativeWork) MarshalJSON ¶
func (cw CreativeWork) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CreativeWork.
func (*CreativeWork) UnmarshalJSON ¶
func (cw *CreativeWork) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for CreativeWork struct.
type EntertainmentBusiness ¶
type EntertainmentBusiness struct { // PriceRange - READ-ONLY; $$. PriceRange *string `json:"priceRange,omitempty"` // Panoramas - READ-ONLY Panoramas *[]ImageObject `json:"panoramas,omitempty"` // IsPermanentlyClosed - READ-ONLY IsPermanentlyClosed *bool `json:"isPermanentlyClosed,omitempty"` // TagLine - READ-ONLY TagLine *string `json:"tagLine,omitempty"` // Address - READ-ONLY; The postal address of where the entity is located Address *PostalAddress `json:"address,omitempty"` // Telephone - READ-ONLY; The entity's telephone number Telephone *string `json:"telephone,omitempty"` // Name - READ-ONLY; The name of the thing represented by this object. Name *string `json:"name,omitempty"` // URL - READ-ONLY; The URL to get more information about the thing represented by this object. URL *string `json:"url,omitempty"` // Image - READ-ONLY Image *ImageObject `json:"image,omitempty"` // Description - READ-ONLY; A short description of the item. Description *string `json:"description,omitempty"` // EntityPresentationInfo - READ-ONLY; Additional information about the entity such as hints that you can use to determine the entity's type. To determine the entity's type, use the entityScenario and entityTypeHint fields. EntityPresentationInfo *EntitiesEntityPresentationInfo `json:"entityPresentationInfo,omitempty"` // BingID - READ-ONLY; An ID that uniquely identifies this item. BingID *string `json:"bingId,omitempty"` // ContractualRules - READ-ONLY; A list of rules that you must adhere to if you display the item. ContractualRules *[]BasicContractualRulesContractualRule `json:"contractualRules,omitempty"` // WebSearchURL - READ-ONLY; The URL To Bing's search result for this item. WebSearchURL *string `json:"webSearchUrl,omitempty"` // ID - READ-ONLY; A String identifier. ID *string `json:"id,omitempty"` // Type - Possible values include: 'TypeResponseBase', 'TypeImageObject', 'TypeThing', 'TypeEntities', 'TypePlaces', 'TypeSearchResponse', 'TypeResponse', 'TypeSearchResultsAnswer', 'TypeIdentifiable', 'TypeAnswer', 'TypeErrorResponse', 'TypePostalAddress', 'TypePlace', 'TypeOrganization', 'TypeCreativeWork', 'TypeIntangible', 'TypeMovieTheater', 'TypeMediaObject', 'TypeCivicStructure', 'TypeLocalBusiness', 'TypeTouristAttraction', 'TypeAirport', 'TypeLicense', 'TypeStructuredValue', 'TypeEntertainmentBusiness', 'TypeFoodEstablishment', 'TypeLodgingBusiness', 'TypeRestaurant', 'TypeHotel' Type TypeBasicResponseBase `json:"_type,omitempty"` }
EntertainmentBusiness ...
func (EntertainmentBusiness) AsAirport ¶
func (eb EntertainmentBusiness) AsAirport() (*Airport, bool)
AsAirport is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsAnswer ¶
func (eb EntertainmentBusiness) AsAnswer() (*Answer, bool)
AsAnswer is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsBasicAnswer ¶
func (eb EntertainmentBusiness) AsBasicAnswer() (BasicAnswer, bool)
AsBasicAnswer is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsBasicCivicStructure ¶
func (eb EntertainmentBusiness) AsBasicCivicStructure() (BasicCivicStructure, bool)
AsBasicCivicStructure is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsBasicCreativeWork ¶
func (eb EntertainmentBusiness) AsBasicCreativeWork() (BasicCreativeWork, bool)
AsBasicCreativeWork is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsBasicEntertainmentBusiness ¶
func (eb EntertainmentBusiness) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool)
AsBasicEntertainmentBusiness is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsBasicFoodEstablishment ¶
func (eb EntertainmentBusiness) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool)
AsBasicFoodEstablishment is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsBasicIdentifiable ¶
func (eb EntertainmentBusiness) AsBasicIdentifiable() (BasicIdentifiable, bool)
AsBasicIdentifiable is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsBasicIntangible ¶
func (eb EntertainmentBusiness) AsBasicIntangible() (BasicIntangible, bool)
AsBasicIntangible is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsBasicLocalBusiness ¶
func (eb EntertainmentBusiness) AsBasicLocalBusiness() (BasicLocalBusiness, bool)
AsBasicLocalBusiness is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsBasicLodgingBusiness ¶
func (eb EntertainmentBusiness) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool)
AsBasicLodgingBusiness is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsBasicMediaObject ¶
func (eb EntertainmentBusiness) AsBasicMediaObject() (BasicMediaObject, bool)
AsBasicMediaObject is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsBasicPlace ¶
func (eb EntertainmentBusiness) AsBasicPlace() (BasicPlace, bool)
AsBasicPlace is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsBasicResponse ¶
func (eb EntertainmentBusiness) AsBasicResponse() (BasicResponse, bool)
AsBasicResponse is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsBasicResponseBase ¶
func (eb EntertainmentBusiness) AsBasicResponseBase() (BasicResponseBase, bool)
AsBasicResponseBase is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsBasicSearchResultsAnswer ¶
func (eb EntertainmentBusiness) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool)
AsBasicSearchResultsAnswer is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsBasicStructuredValue ¶
func (eb EntertainmentBusiness) AsBasicStructuredValue() (BasicStructuredValue, bool)
AsBasicStructuredValue is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsBasicThing ¶
func (eb EntertainmentBusiness) AsBasicThing() (BasicThing, bool)
AsBasicThing is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsCivicStructure ¶
func (eb EntertainmentBusiness) AsCivicStructure() (*CivicStructure, bool)
AsCivicStructure is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsCreativeWork ¶
func (eb EntertainmentBusiness) AsCreativeWork() (*CreativeWork, bool)
AsCreativeWork is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsEntertainmentBusiness ¶
func (eb EntertainmentBusiness) AsEntertainmentBusiness() (*EntertainmentBusiness, bool)
AsEntertainmentBusiness is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsEntities ¶
func (eb EntertainmentBusiness) AsEntities() (*Entities, bool)
AsEntities is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsErrorResponse ¶
func (eb EntertainmentBusiness) AsErrorResponse() (*ErrorResponse, bool)
AsErrorResponse is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsFoodEstablishment ¶
func (eb EntertainmentBusiness) AsFoodEstablishment() (*FoodEstablishment, bool)
AsFoodEstablishment is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsHotel ¶
func (eb EntertainmentBusiness) AsHotel() (*Hotel, bool)
AsHotel is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsIdentifiable ¶
func (eb EntertainmentBusiness) AsIdentifiable() (*Identifiable, bool)
AsIdentifiable is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsImageObject ¶
func (eb EntertainmentBusiness) AsImageObject() (*ImageObject, bool)
AsImageObject is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsIntangible ¶
func (eb EntertainmentBusiness) AsIntangible() (*Intangible, bool)
AsIntangible is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsLicense ¶
func (eb EntertainmentBusiness) AsLicense() (*License, bool)
AsLicense is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsLocalBusiness ¶
func (eb EntertainmentBusiness) AsLocalBusiness() (*LocalBusiness, bool)
AsLocalBusiness is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsLodgingBusiness ¶
func (eb EntertainmentBusiness) AsLodgingBusiness() (*LodgingBusiness, bool)
AsLodgingBusiness is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsMediaObject ¶
func (eb EntertainmentBusiness) AsMediaObject() (*MediaObject, bool)
AsMediaObject is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsMovieTheater ¶
func (eb EntertainmentBusiness) AsMovieTheater() (*MovieTheater, bool)
AsMovieTheater is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsOrganization ¶
func (eb EntertainmentBusiness) AsOrganization() (*Organization, bool)
AsOrganization is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsPlace ¶
func (eb EntertainmentBusiness) AsPlace() (*Place, bool)
AsPlace is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsPlaces ¶
func (eb EntertainmentBusiness) AsPlaces() (*Places, bool)
AsPlaces is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsPostalAddress ¶
func (eb EntertainmentBusiness) AsPostalAddress() (*PostalAddress, bool)
AsPostalAddress is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsResponse ¶
func (eb EntertainmentBusiness) AsResponse() (*Response, bool)
AsResponse is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsResponseBase ¶
func (eb EntertainmentBusiness) AsResponseBase() (*ResponseBase, bool)
AsResponseBase is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsRestaurant ¶
func (eb EntertainmentBusiness) AsRestaurant() (*Restaurant, bool)
AsRestaurant is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsSearchResponse ¶
func (eb EntertainmentBusiness) AsSearchResponse() (*SearchResponse, bool)
AsSearchResponse is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsSearchResultsAnswer ¶
func (eb EntertainmentBusiness) AsSearchResultsAnswer() (*SearchResultsAnswer, bool)
AsSearchResultsAnswer is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsStructuredValue ¶
func (eb EntertainmentBusiness) AsStructuredValue() (*StructuredValue, bool)
AsStructuredValue is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsThing ¶
func (eb EntertainmentBusiness) AsThing() (*Thing, bool)
AsThing is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) AsTouristAttraction ¶
func (eb EntertainmentBusiness) AsTouristAttraction() (*TouristAttraction, bool)
AsTouristAttraction is the BasicResponseBase implementation for EntertainmentBusiness.
func (EntertainmentBusiness) MarshalJSON ¶
func (eb EntertainmentBusiness) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for EntertainmentBusiness.
func (*EntertainmentBusiness) UnmarshalJSON ¶
func (eb *EntertainmentBusiness) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for EntertainmentBusiness struct.
type Entities ¶
type Entities struct { // QueryScenario - READ-ONLY; The supported query scenario. This field is set to DominantEntity or DisambiguationItem. The field is set to DominantEntity if Bing determines that only a single entity satisfies the request. For example, a book, movie, person, or attraction. If multiple entities could satisfy the request, the field is set to DisambiguationItem. For example, if the request uses the generic title of a movie franchise, the entity's type would likely be DisambiguationItem. But, if the request specifies a specific title from the franchise, the entity's type would likely be DominantEntity. Possible values include: 'DominantEntity', 'DominantEntityWithDisambiguation', 'Disambiguation', 'List', 'ListWithPivot' QueryScenario EntityQueryScenario `json:"queryScenario,omitempty"` // Value - A list of entities. Value *[]BasicThing `json:"value,omitempty"` // QueryContext - READ-ONLY QueryContext *QueryContext `json:"queryContext,omitempty"` // ContractualRules - READ-ONLY; A list of rules that you must adhere to if you display the item. ContractualRules *[]BasicContractualRulesContractualRule `json:"contractualRules,omitempty"` // WebSearchURL - READ-ONLY; The URL To Bing's search result for this item. WebSearchURL *string `json:"webSearchUrl,omitempty"` // ID - READ-ONLY; A String identifier. ID *string `json:"id,omitempty"` // Type - Possible values include: 'TypeResponseBase', 'TypeImageObject', 'TypeThing', 'TypeEntities', 'TypePlaces', 'TypeSearchResponse', 'TypeResponse', 'TypeSearchResultsAnswer', 'TypeIdentifiable', 'TypeAnswer', 'TypeErrorResponse', 'TypePostalAddress', 'TypePlace', 'TypeOrganization', 'TypeCreativeWork', 'TypeIntangible', 'TypeMovieTheater', 'TypeMediaObject', 'TypeCivicStructure', 'TypeLocalBusiness', 'TypeTouristAttraction', 'TypeAirport', 'TypeLicense', 'TypeStructuredValue', 'TypeEntertainmentBusiness', 'TypeFoodEstablishment', 'TypeLodgingBusiness', 'TypeRestaurant', 'TypeHotel' Type TypeBasicResponseBase `json:"_type,omitempty"` }
Entities defines an entity answer.
func (Entities) AsBasicAnswer ¶
func (e Entities) AsBasicAnswer() (BasicAnswer, bool)
AsBasicAnswer is the BasicResponseBase implementation for Entities.
func (Entities) AsBasicCivicStructure ¶
func (e Entities) AsBasicCivicStructure() (BasicCivicStructure, bool)
AsBasicCivicStructure is the BasicResponseBase implementation for Entities.
func (Entities) AsBasicCreativeWork ¶
func (e Entities) AsBasicCreativeWork() (BasicCreativeWork, bool)
AsBasicCreativeWork is the BasicResponseBase implementation for Entities.
func (Entities) AsBasicEntertainmentBusiness ¶
func (e Entities) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool)
AsBasicEntertainmentBusiness is the BasicResponseBase implementation for Entities.
func (Entities) AsBasicFoodEstablishment ¶
func (e Entities) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool)
AsBasicFoodEstablishment is the BasicResponseBase implementation for Entities.
func (Entities) AsBasicIdentifiable ¶
func (e Entities) AsBasicIdentifiable() (BasicIdentifiable, bool)
AsBasicIdentifiable is the BasicResponseBase implementation for Entities.
func (Entities) AsBasicIntangible ¶
func (e Entities) AsBasicIntangible() (BasicIntangible, bool)
AsBasicIntangible is the BasicResponseBase implementation for Entities.
func (Entities) AsBasicLocalBusiness ¶
func (e Entities) AsBasicLocalBusiness() (BasicLocalBusiness, bool)
AsBasicLocalBusiness is the BasicResponseBase implementation for Entities.
func (Entities) AsBasicLodgingBusiness ¶
func (e Entities) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool)
AsBasicLodgingBusiness is the BasicResponseBase implementation for Entities.
func (Entities) AsBasicMediaObject ¶
func (e Entities) AsBasicMediaObject() (BasicMediaObject, bool)
AsBasicMediaObject is the BasicResponseBase implementation for Entities.
func (Entities) AsBasicPlace ¶
func (e Entities) AsBasicPlace() (BasicPlace, bool)
AsBasicPlace is the BasicResponseBase implementation for Entities.
func (Entities) AsBasicResponse ¶
func (e Entities) AsBasicResponse() (BasicResponse, bool)
AsBasicResponse is the BasicResponseBase implementation for Entities.
func (Entities) AsBasicResponseBase ¶
func (e Entities) AsBasicResponseBase() (BasicResponseBase, bool)
AsBasicResponseBase is the BasicResponseBase implementation for Entities.
func (Entities) AsBasicSearchResultsAnswer ¶
func (e Entities) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool)
AsBasicSearchResultsAnswer is the BasicResponseBase implementation for Entities.
func (Entities) AsBasicStructuredValue ¶
func (e Entities) AsBasicStructuredValue() (BasicStructuredValue, bool)
AsBasicStructuredValue is the BasicResponseBase implementation for Entities.
func (Entities) AsBasicThing ¶
func (e Entities) AsBasicThing() (BasicThing, bool)
AsBasicThing is the BasicResponseBase implementation for Entities.
func (Entities) AsCivicStructure ¶
func (e Entities) AsCivicStructure() (*CivicStructure, bool)
AsCivicStructure is the BasicResponseBase implementation for Entities.
func (Entities) AsCreativeWork ¶
func (e Entities) AsCreativeWork() (*CreativeWork, bool)
AsCreativeWork is the BasicResponseBase implementation for Entities.
func (Entities) AsEntertainmentBusiness ¶
func (e Entities) AsEntertainmentBusiness() (*EntertainmentBusiness, bool)
AsEntertainmentBusiness is the BasicResponseBase implementation for Entities.
func (Entities) AsEntities ¶
AsEntities is the BasicResponseBase implementation for Entities.
func (Entities) AsErrorResponse ¶
func (e Entities) AsErrorResponse() (*ErrorResponse, bool)
AsErrorResponse is the BasicResponseBase implementation for Entities.
func (Entities) AsFoodEstablishment ¶
func (e Entities) AsFoodEstablishment() (*FoodEstablishment, bool)
AsFoodEstablishment is the BasicResponseBase implementation for Entities.
func (Entities) AsIdentifiable ¶
func (e Entities) AsIdentifiable() (*Identifiable, bool)
AsIdentifiable is the BasicResponseBase implementation for Entities.
func (Entities) AsImageObject ¶
func (e Entities) AsImageObject() (*ImageObject, bool)
AsImageObject is the BasicResponseBase implementation for Entities.
func (Entities) AsIntangible ¶
func (e Entities) AsIntangible() (*Intangible, bool)
AsIntangible is the BasicResponseBase implementation for Entities.
func (Entities) AsLocalBusiness ¶
func (e Entities) AsLocalBusiness() (*LocalBusiness, bool)
AsLocalBusiness is the BasicResponseBase implementation for Entities.
func (Entities) AsLodgingBusiness ¶
func (e Entities) AsLodgingBusiness() (*LodgingBusiness, bool)
AsLodgingBusiness is the BasicResponseBase implementation for Entities.
func (Entities) AsMediaObject ¶
func (e Entities) AsMediaObject() (*MediaObject, bool)
AsMediaObject is the BasicResponseBase implementation for Entities.
func (Entities) AsMovieTheater ¶
func (e Entities) AsMovieTheater() (*MovieTheater, bool)
AsMovieTheater is the BasicResponseBase implementation for Entities.
func (Entities) AsOrganization ¶
func (e Entities) AsOrganization() (*Organization, bool)
AsOrganization is the BasicResponseBase implementation for Entities.
func (Entities) AsPostalAddress ¶
func (e Entities) AsPostalAddress() (*PostalAddress, bool)
AsPostalAddress is the BasicResponseBase implementation for Entities.
func (Entities) AsResponse ¶
AsResponse is the BasicResponseBase implementation for Entities.
func (Entities) AsResponseBase ¶
func (e Entities) AsResponseBase() (*ResponseBase, bool)
AsResponseBase is the BasicResponseBase implementation for Entities.
func (Entities) AsRestaurant ¶
func (e Entities) AsRestaurant() (*Restaurant, bool)
AsRestaurant is the BasicResponseBase implementation for Entities.
func (Entities) AsSearchResponse ¶
func (e Entities) AsSearchResponse() (*SearchResponse, bool)
AsSearchResponse is the BasicResponseBase implementation for Entities.
func (Entities) AsSearchResultsAnswer ¶
func (e Entities) AsSearchResultsAnswer() (*SearchResultsAnswer, bool)
AsSearchResultsAnswer is the BasicResponseBase implementation for Entities.
func (Entities) AsStructuredValue ¶
func (e Entities) AsStructuredValue() (*StructuredValue, bool)
AsStructuredValue is the BasicResponseBase implementation for Entities.
func (Entities) AsTouristAttraction ¶
func (e Entities) AsTouristAttraction() (*TouristAttraction, bool)
AsTouristAttraction is the BasicResponseBase implementation for Entities.