entitysearch

package
v45.1.4+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

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

View Source
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) AsAirport

func (a Airport) AsAirport() (*Airport, bool)

AsAirport is the BasicResponseBase implementation for Airport.

func (Airport) AsAnswer

func (a Airport) AsAnswer() (*Answer, bool)

AsAnswer is the BasicResponseBase implementation for 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

func (a Airport) AsEntities() (*Entities, bool)

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) AsHotel

func (a Airport) AsHotel() (*Hotel, bool)

AsHotel 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) AsLicense

func (a Airport) AsLicense() (*License, bool)

AsLicense 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) AsPlace

func (a Airport) AsPlace() (*Place, bool)

AsPlace is the BasicResponseBase implementation for Airport.

func (Airport) AsPlaces

func (a Airport) AsPlaces() (*Places, bool)

AsPlaces 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

func (a Airport) AsResponse() (*Response, bool)

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) AsThing

func (a Airport) AsThing() (*Thing, bool)

AsThing 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

func (a Airport) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Airport.

func (*Airport) UnmarshalJSON

func (a *Airport) UnmarshalJSON(body []byte) error

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) AsAirport

func (a Answer) AsAirport() (*Airport, bool)

AsAirport is the BasicResponseBase implementation for Answer.

func (Answer) AsAnswer

func (a Answer) AsAnswer() (*Answer, bool)

AsAnswer is the BasicResponseBase implementation for 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

func (a Answer) AsEntities() (*Entities, bool)

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) AsHotel

func (a Answer) AsHotel() (*Hotel, bool)

AsHotel 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) AsLicense

func (a Answer) AsLicense() (*License, bool)

AsLicense 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) AsPlace

func (a Answer) AsPlace() (*Place, bool)

AsPlace is the BasicResponseBase implementation for Answer.

func (Answer) AsPlaces

func (a Answer) AsPlaces() (*Places, bool)

AsPlaces 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

func (a Answer) AsResponse() (*Response, bool)

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) AsThing

func (a Answer) AsThing() (*Thing, bool)

AsThing 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

func (a Answer) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Answer.

func (*Answer) UnmarshalJSON

func (a *Answer) UnmarshalJSON(body []byte) error

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

type BaseClient struct {
	autorest.Client
	Endpoint string
}

BaseClient is the base client for Entitysearch.

func New

func New() BaseClient

New creates an instance of the BaseClient client.

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) AsAirport

func (e Entities) AsAirport() (*Airport, bool)

AsAirport is the BasicResponseBase implementation for Entities.

func (Entities) AsAnswer

func (e Entities) AsAnswer() (*Answer, bool)

AsAnswer is the BasicResponseBase implementation for Entities.

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

func (e Entities) AsEntities() (*Entities, bool)

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) AsHotel

func (e Entities) AsHotel() (*Hotel, bool)

AsHotel 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) AsLicense

func (e Entities) AsLicense() (*License, bool)

AsLicense 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) AsPlace

func (e Entities) AsPlace() (*Place, bool)

AsPlace is the BasicResponseBase implementation for Entities.

func (Entities) AsPlaces

func (e Entities) AsPlaces() (*Places, bool)

AsPlaces 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

func (e Entities) AsResponse() (*Response, bool)

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) AsThing

func (e Entities) AsThing() (*Thing, bool)

AsThing is the BasicResponseBase implementation for Entities.

func (Entities) AsTouristAttraction

func (e Entities) AsTouristAttraction() (*TouristAttraction, bool)

AsTouristAttraction is the BasicResponseBase implementation for Entities.

func (Entities) MarshalJSON

func (e Entities) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Entities.

func (*Entities) UnmarshalJSON

func (e *Entities) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Entities struct.

type EntitiesClient

type EntitiesClient struct {
	BaseClient
}

EntitiesClient is the 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.

func NewEntitiesClient

func NewEntitiesClient() EntitiesClient

NewEntitiesClient creates an instance of the EntitiesClient client.

func (EntitiesClient) Search

func (client EntitiesClient) Search(ctx context.Context, query string, acceptLanguage string, pragma string, userAgent string, clientID string, clientIP string, location string, countryCode string, market string, responseFilter []AnswerType, responseFormat []ResponseFormat, safeSearch SafeSearch, setLang string) (result SearchResponse, err error)

Search sends the search request. Parameters: query - the user's search term. acceptLanguage - a comma-delimited list of one or more languages to use for user interface strings. The list is in decreasing order of preference. For additional information, including expected format, see [RFC2616](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). This header and the setLang query parameter are mutually exclusive; do not specify both. If you set this header, you must also specify the cc query parameter. Bing will use the first supported language it finds from the list, and combine that language with the cc parameter value to determine the market to return results for. If the list does not include a supported language, Bing will find the closest language and market that supports the request, and may use an aggregated or default market for the results instead of a specified one. You should use this header and the cc query parameter only if you specify multiple languages; otherwise, you should use the mkt and setLang query parameters. A user interface string is a string that's used as a label in a user interface. There are very few user interface strings in the JSON response objects. Any links in the response objects to Bing.com properties will apply the specified language. pragma - by default, Bing returns cached content, if available. To prevent Bing from returning cached content, set the Pragma header to no-cache (for example, Pragma: no-cache). userAgent - the user agent originating the request. Bing uses the user agent to provide mobile users with an optimized experience. Although optional, you are strongly encouraged to always specify this header. The user-agent should be the same string that any commonly used browser would send. For information about user agents, see [RFC 2616](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). clientID - bing uses this header to provide users with consistent behavior across Bing API calls. Bing often flights new features and improvements, and it uses the client ID as a key for assigning traffic on different flights. If you do not use the same client ID for a user across multiple requests, then Bing may assign the user to multiple conflicting flights. Being assigned to multiple conflicting flights can lead to an inconsistent user experience. For example, if the second request has a different flight assignment than the first, the experience may be unexpected. Also, Bing can use the client ID to tailor web results to that client ID’s search history, providing a richer experience for the user. Bing also uses this header to help improve result rankings by analyzing the activity generated by a client ID. The relevance improvements help with better quality of results delivered by Bing APIs and in turn enables higher click-through rates for the API consumer. IMPORTANT: Although optional, you should consider this header required. Persisting the client ID across multiple requests for the same end user and device combination enables 1) the API consumer to receive a consistent user experience, and 2) higher click-through rates via better quality of results from the Bing APIs. Each user that uses your application on the device must have a unique, Bing generated client ID. If you do not include this header in the request, Bing generates an ID and returns it in the X-MSEdge-ClientID response header. The only time that you should NOT include this header in a request is the first time the user uses your app on that device. Use the client ID for each Bing API request that your app makes for this user on the device. Persist the client ID. To persist the ID in a browser app, use a persistent HTTP cookie to ensure the ID is used across all sessions. Do not use a session cookie. For other apps such as mobile apps, use the device's persistent storage to persist the ID. The next time the user uses your app on that device, get the client ID that you persisted. Bing responses may or may not include this header. If the response includes this header, capture the client ID and use it for all subsequent Bing requests for the user on that device. If you include the X-MSEdge-ClientID, you must not include cookies in the request. clientIP - the IPv4 or IPv6 address of the client device. The IP address is used to discover the user's location. Bing uses the location information to determine safe search behavior. Although optional, you are encouraged to always specify this header and the X-Search-Location header. Do not obfuscate the address (for example, by changing the last octet to 0). Obfuscating the address results in the location not being anywhere near the device's actual location, which may result in Bing serving erroneous results. location - a semicolon-delimited list of key/value pairs that describe the client's geographical location. Bing uses the location information to determine safe search behavior and to return relevant local content. Specify the key/value pair as <key>:<value>. The following are the keys that you use to specify the user's location. lat (required): The latitude of the client's location, in degrees. The latitude must be greater than or equal to -90.0 and less than or equal to +90.0. Negative values indicate southern latitudes and positive values indicate northern latitudes. long (required): The longitude of the client's location, in degrees. The longitude must be greater than or equal to -180.0 and less than or equal to +180.0. Negative values indicate western longitudes and positive values indicate eastern longitudes. re (required): The radius, in meters, which specifies the horizontal accuracy of the coordinates. Pass the value returned by the device's location service. Typical values might be 22m for GPS/Wi-Fi, 380m for cell tower triangulation, and 18,000m for reverse IP lookup. ts (optional): The UTC UNIX timestamp of when the client was at the location. (The UNIX timestamp is the number of seconds since January 1, 1970.) head (optional): The client's relative heading or direction of travel. Specify the direction of travel as degrees from 0 through 360, counting clockwise relative to true north. Specify this key only if the sp key is nonzero. sp (optional): The horizontal velocity (speed), in meters per second, that the client device is traveling. alt (optional): The altitude of the client device, in meters. are (optional): The radius, in meters, that specifies the vertical accuracy of the coordinates. Specify this key only if you specify the alt key. Although many of the keys are optional, the more information that you provide, the more accurate the location results are. Although optional, you are encouraged to always specify the user's geographical location. Providing the location is especially important if the client's IP address does not accurately reflect the user's physical location (for example, if the client uses VPN). For optimal results, you should include this header and the X-MSEdge-ClientIP header, but at a minimum, you should include this header. countryCode - a 2-character country code of the country where the results come from. This API supports only the United States market. If you specify this query parameter, it must be set to us. If you set this parameter, you must also specify the Accept-Language header. Bing uses the first supported language it finds from the languages list, and combine that language with the country code that you specify to determine the market to return results for. If the languages list does not include a supported language, Bing finds the closest language and market that supports the request, or it may use an aggregated or default market for the results instead of a specified one. You should use this query parameter and the Accept-Language query parameter only if you specify multiple languages; otherwise, you should use the mkt and setLang query parameters. This parameter and the mkt query parameter are mutually exclusive—do not specify both. market - the market where the results come from. You are strongly encouraged to always specify the market, if known. Specifying the market helps Bing route the request and return an appropriate and optimal response. This parameter and the cc query parameter are mutually exclusive—do not specify both. responseFilter - a comma-delimited list of answers to include in the response. If you do not specify this parameter, the response includes all search answers for which there's relevant data. responseFormat - the media type to use for the response. The following are the possible case-insensitive values: JSON, JSONLD. The default is JSON. If you specify JSONLD, the response body includes JSON-LD objects that contain the search results. safeSearch - a filter used to filter adult content. Off: Return webpages with adult text, images, or videos. Moderate: Return webpages with adult text, but not adult images or videos. Strict: Do not return webpages with adult text, images, or videos. The default is Moderate. If the request comes from a market that Bing's adult policy requires that safeSearch is set to Strict, Bing ignores the safeSearch value and uses Strict. If you use the site: query operator, there is the chance that the response may contain adult content regardless of what the safeSearch query parameter is set to. Use site: only if you are aware of the content on the site and your scenario supports the possibility of adult content. setLang - the language to use for user interface strings. Specify the language using the ISO 639-1 2-letter language code. For example, the language code for English is EN. The default is EN (English). Although optional, you should always specify the language. Typically, you set setLang to the same language specified by mkt unless the user wants the user interface strings displayed in a different language. This parameter and the Accept-Language header are mutually exclusive; do not specify both. A user interface string is a string that's used as a label in a user interface. There are few user interface strings in the JSON response objects. Also, any links to Bing.com properties in the response objects apply the specified language.

func (EntitiesClient) SearchPreparer

func (client EntitiesClient) SearchPreparer(ctx context.Context, query string, acceptLanguage string, pragma string, userAgent string, clientID string, clientIP string, location string, countryCode string, market string, responseFilter []AnswerType, responseFormat []ResponseFormat, safeSearch SafeSearch, setLang string) (*http.Request, error)

SearchPreparer prepares the Search request.

func (EntitiesClient) SearchResponder

func (client EntitiesClient) SearchResponder(resp *http.Response) (result SearchResponse, err error)

SearchResponder handles the response to the Search request. The method always closes the http.Response Body.

func (EntitiesClient) SearchSender

func (client EntitiesClient) SearchSender(req *http.Request) (*http.Response, error)

SearchSender sends the Search request. The method will close the http.Response Body if it receives an error.

type EntitiesEntityPresentationInfo

type EntitiesEntityPresentationInfo struct {
	// EntityScenario - The supported scenario. Possible values include: 'EntityScenarioDominantEntity', 'EntityScenarioDisambiguationItem', 'EntityScenarioListItem'
	EntityScenario EntityScenario `json:"entityScenario,omitempty"`
	// EntityTypeHints - READ-ONLY; A list of hints that indicate the entity's type. The list could contain a single hint such as Movie or a list of hints such as Place, LocalBusiness, Restaurant. Each successive hint in the array narrows the entity's type.
	EntityTypeHints *[]EntityType `json:"entityTypeHints,omitempty"`
	// EntityTypeDisplayHint - READ-ONLY; A display version of the entity hint. For example, if entityTypeHints is Artist, this field may be set to American Singer.
	EntityTypeDisplayHint *string `json:"entityTypeDisplayHint,omitempty"`
}

EntitiesEntityPresentationInfo defines additional information about an entity such as type hints.

func (EntitiesEntityPresentationInfo) MarshalJSON

func (eepi EntitiesEntityPresentationInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EntitiesEntityPresentationInfo.

type EntityQueryScenario

type EntityQueryScenario string

EntityQueryScenario enumerates the values for entity query scenario.

const (
	// Disambiguation ...
	Disambiguation EntityQueryScenario = "Disambiguation"
	// DominantEntity ...
	DominantEntity EntityQueryScenario = "DominantEntity"
	// DominantEntityWithDisambiguation ...
	DominantEntityWithDisambiguation EntityQueryScenario = "DominantEntityWithDisambiguation"
	// List ...
	List EntityQueryScenario = "List"
	// ListWithPivot ...
	ListWithPivot EntityQueryScenario = "ListWithPivot"
)

func PossibleEntityQueryScenarioValues

func PossibleEntityQueryScenarioValues() []EntityQueryScenario

PossibleEntityQueryScenarioValues returns an array of possible values for the EntityQueryScenario const type.

type EntityScenario

type EntityScenario string

EntityScenario enumerates the values for entity scenario.

const (
	// EntityScenarioDisambiguationItem ...
	EntityScenarioDisambiguationItem EntityScenario = "DisambiguationItem"
	// EntityScenarioDominantEntity ...
	EntityScenarioDominantEntity EntityScenario = "DominantEntity"
	// EntityScenarioListItem ...
	EntityScenarioListItem EntityScenario = "ListItem"
)

func PossibleEntityScenarioValues

func PossibleEntityScenarioValues() []EntityScenario

PossibleEntityScenarioValues returns an array of possible values for the EntityScenario const type.

type EntityType

type EntityType string

EntityType enumerates the values for entity type.

const (
	// EntityTypeActor ...
	EntityTypeActor EntityType = "Actor"
	// EntityTypeAnimal ...
	EntityTypeAnimal EntityType = "Animal"
	// EntityTypeArtist ...
	EntityTypeArtist EntityType = "Artist"
	// EntityTypeAttorney ...
	EntityTypeAttorney EntityType = "Attorney"
	// EntityTypeAttraction ...
	EntityTypeAttraction EntityType = "Attraction"
	// EntityTypeBook ...
	EntityTypeBook EntityType = "Book"
	// EntityTypeCar ...
	EntityTypeCar EntityType = "Car"
	// EntityTypeCity ...
	EntityTypeCity EntityType = "City"
	// EntityTypeCollegeOrUniversity ...
	EntityTypeCollegeOrUniversity EntityType = "CollegeOrUniversity"
	// EntityTypeComposition ...
	EntityTypeComposition EntityType = "Composition"
	// EntityTypeContinent ...
	EntityTypeContinent EntityType = "Continent"
	// EntityTypeCountry ...
	EntityTypeCountry EntityType = "Country"
	// EntityTypeDrug ...
	EntityTypeDrug EntityType = "Drug"
	// EntityTypeEvent ...
	EntityTypeEvent EntityType = "Event"
	// EntityTypeFood ...
	EntityTypeFood EntityType = "Food"
	// EntityTypeGeneric ...
	EntityTypeGeneric EntityType = "Generic"
	// EntityTypeHotel ...
	EntityTypeHotel EntityType = "Hotel"
	// EntityTypeHouse ...
	EntityTypeHouse EntityType = "House"
	// EntityTypeLocalBusiness ...
	EntityTypeLocalBusiness EntityType = "LocalBusiness"
	// EntityTypeLocality ...
	EntityTypeLocality EntityType = "Locality"
	// EntityTypeMedia ...
	EntityTypeMedia EntityType = "Media"
	// EntityTypeMinorRegion ...
	EntityTypeMinorRegion EntityType = "MinorRegion"
	// EntityTypeMovie ...
	EntityTypeMovie EntityType = "Movie"
	// EntityTypeMusicAlbum ...
	EntityTypeMusicAlbum EntityType = "MusicAlbum"
	// EntityTypeMusicGroup ...
	EntityTypeMusicGroup EntityType = "MusicGroup"
	// EntityTypeMusicRecording ...
	EntityTypeMusicRecording EntityType = "MusicRecording"
	// EntityTypeNeighborhood ...
	EntityTypeNeighborhood EntityType = "Neighborhood"
	// EntityTypeOrganization ...
	EntityTypeOrganization EntityType = "Organization"
	// EntityTypeOther ...
	EntityTypeOther EntityType = "Other"
	// EntityTypePerson ...
	EntityTypePerson EntityType = "Person"
	// EntityTypePlace ...
	EntityTypePlace EntityType = "Place"
	// EntityTypePointOfInterest ...
	EntityTypePointOfInterest EntityType = "PointOfInterest"
	// EntityTypePostalCode ...
	EntityTypePostalCode EntityType = "PostalCode"
	// EntityTypeProduct ...
	EntityTypeProduct EntityType = "Product"
	// EntityTypeRadioStation ...
	EntityTypeRadioStation EntityType = "RadioStation"
	// EntityTypeRegion ...
	EntityTypeRegion EntityType = "Region"
	// EntityTypeRestaurant ...
	EntityTypeRestaurant EntityType = "Restaurant"
	// EntityTypeSchool ...
	EntityTypeSchool EntityType = "School"
	// EntityTypeSpeciality ...
	EntityTypeSpeciality EntityType = "Speciality"
	// EntityTypeSportsTeam ...
	EntityTypeSportsTeam EntityType = "SportsTeam"
	// EntityTypeState ...
	EntityTypeState EntityType = "State"
	// EntityTypeStreetAddress ...
	EntityTypeStreetAddress EntityType = "StreetAddress"
	// EntityTypeSubRegion ...
	EntityTypeSubRegion EntityType = "SubRegion"
	// EntityTypeTelevisionSeason ...
	EntityTypeTelevisionSeason EntityType = "TelevisionSeason"
	// EntityTypeTelevisionShow ...
	EntityTypeTelevisionShow EntityType = "TelevisionShow"
	// EntityTypeTheaterPlay ...
	EntityTypeTheaterPlay EntityType = "TheaterPlay"
	// EntityTypeTouristAttraction ...
	EntityTypeTouristAttraction EntityType = "TouristAttraction"
	// EntityTypeTravel ...
	EntityTypeTravel EntityType = "Travel"
	// EntityTypeVideoGame ...
	EntityTypeVideoGame EntityType = "VideoGame"
)

func PossibleEntityTypeValues

func PossibleEntityTypeValues() []EntityType

PossibleEntityTypeValues returns an array of possible values for the EntityType const type.

type Error

type Error struct {
	// Code - The error code that identifies the category of error. Possible values include: 'None', 'ServerError', 'InvalidRequest', 'RateLimitExceeded', 'InvalidAuthorization', 'InsufficientAuthorization'
	Code ErrorCode `json:"code,omitempty"`
	// SubCode - READ-ONLY; The error code that further helps to identify the error. Possible values include: 'UnexpectedError', 'ResourceError', 'NotImplemented', 'ParameterMissing', 'ParameterInvalidValue', 'HTTPNotAllowed', 'Blocked', 'AuthorizationMissing', 'AuthorizationRedundancy', 'AuthorizationDisabled', 'AuthorizationExpired'
	SubCode ErrorSubCode `json:"subCode,omitempty"`
	// Message - A description of the error.
	Message *string `json:"message,omitempty"`
	// MoreDetails - READ-ONLY; A description that provides additional information about the error.
	MoreDetails *string `json:"moreDetails,omitempty"`
	// Parameter - READ-ONLY; The parameter in the request that caused the error.
	Parameter *string `json:"parameter,omitempty"`
	// Value - READ-ONLY; The parameter's value in the request that was not valid.
	Value *string `json:"value,omitempty"`
}

Error defines the error that occurred.

func (Error) MarshalJSON

func (e Error) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Error.

type ErrorCode

type ErrorCode string

ErrorCode enumerates the values for error code.

const (
	// InsufficientAuthorization ...
	InsufficientAuthorization ErrorCode = "InsufficientAuthorization"
	// InvalidAuthorization ...
	InvalidAuthorization ErrorCode = "InvalidAuthorization"
	// InvalidRequest ...
	InvalidRequest ErrorCode = "InvalidRequest"
	// None ...
	None ErrorCode = "None"
	// RateLimitExceeded ...
	RateLimitExceeded ErrorCode = "RateLimitExceeded"
	// ServerError ...
	ServerError ErrorCode = "ServerError"
)

func PossibleErrorCodeValues

func PossibleErrorCodeValues() []ErrorCode

PossibleErrorCodeValues returns an array of possible values for the ErrorCode const type.

type ErrorResponse

type ErrorResponse struct {
	// Errors - A list of errors that describe the reasons why the request failed.
	Errors *[]Error `json:"errors,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"`
}

ErrorResponse the top-level response that represents a failed request.

func (ErrorResponse) AsAirport

func (er ErrorResponse) AsAirport() (*Airport, bool)

AsAirport is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsAnswer

func (er ErrorResponse) AsAnswer() (*Answer, bool)

AsAnswer is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsBasicAnswer

func (er ErrorResponse) AsBasicAnswer() (BasicAnswer, bool)

AsBasicAnswer is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsBasicCivicStructure

func (er ErrorResponse) AsBasicCivicStructure() (BasicCivicStructure, bool)

AsBasicCivicStructure is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsBasicCreativeWork

func (er ErrorResponse) AsBasicCreativeWork() (BasicCreativeWork, bool)

AsBasicCreativeWork is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsBasicEntertainmentBusiness

func (er ErrorResponse) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool)

AsBasicEntertainmentBusiness is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsBasicFoodEstablishment

func (er ErrorResponse) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool)

AsBasicFoodEstablishment is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsBasicIdentifiable

func (er ErrorResponse) AsBasicIdentifiable() (BasicIdentifiable, bool)

AsBasicIdentifiable is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsBasicIntangible

func (er ErrorResponse) AsBasicIntangible() (BasicIntangible, bool)

AsBasicIntangible is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsBasicLocalBusiness

func (er ErrorResponse) AsBasicLocalBusiness() (BasicLocalBusiness, bool)

AsBasicLocalBusiness is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsBasicLodgingBusiness

func (er ErrorResponse) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool)

AsBasicLodgingBusiness is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsBasicMediaObject

func (er ErrorResponse) AsBasicMediaObject() (BasicMediaObject, bool)

AsBasicMediaObject is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsBasicPlace

func (er ErrorResponse) AsBasicPlace() (BasicPlace, bool)

AsBasicPlace is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsBasicResponse

func (er ErrorResponse) AsBasicResponse() (BasicResponse, bool)

AsBasicResponse is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsBasicResponseBase

func (er ErrorResponse) AsBasicResponseBase() (BasicResponseBase, bool)

AsBasicResponseBase is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsBasicSearchResultsAnswer

func (er ErrorResponse) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool)

AsBasicSearchResultsAnswer is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsBasicStructuredValue

func (er ErrorResponse) AsBasicStructuredValue() (BasicStructuredValue, bool)

AsBasicStructuredValue is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsBasicThing

func (er ErrorResponse) AsBasicThing() (BasicThing, bool)

AsBasicThing is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsCivicStructure

func (er ErrorResponse) AsCivicStructure() (*CivicStructure, bool)

AsCivicStructure is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsCreativeWork

func (er ErrorResponse) AsCreativeWork() (*CreativeWork, bool)

AsCreativeWork is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsEntertainmentBusiness

func (er ErrorResponse) AsEntertainmentBusiness() (*EntertainmentBusiness, bool)

AsEntertainmentBusiness is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsEntities

func (er ErrorResponse) AsEntities() (*Entities, bool)

AsEntities is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsErrorResponse

func (er ErrorResponse) AsErrorResponse() (*ErrorResponse, bool)

AsErrorResponse is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsFoodEstablishment

func (er ErrorResponse) AsFoodEstablishment() (*FoodEstablishment, bool)

AsFoodEstablishment is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsHotel

func (er ErrorResponse) AsHotel() (*Hotel, bool)

AsHotel is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsIdentifiable

func (er ErrorResponse) AsIdentifiable() (*Identifiable, bool)

AsIdentifiable is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsImageObject

func (er ErrorResponse) AsImageObject() (*ImageObject, bool)

AsImageObject is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsIntangible

func (er ErrorResponse) AsIntangible() (*Intangible, bool)

AsIntangible is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsLicense

func (er ErrorResponse) AsLicense() (*License, bool)

AsLicense is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsLocalBusiness

func (er ErrorResponse) AsLocalBusiness() (*LocalBusiness, bool)

AsLocalBusiness is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsLodgingBusiness

func (er ErrorResponse) AsLodgingBusiness() (*LodgingBusiness, bool)

AsLodgingBusiness is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsMediaObject

func (er ErrorResponse) AsMediaObject() (*MediaObject, bool)

AsMediaObject is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsMovieTheater

func (er ErrorResponse) AsMovieTheater() (*MovieTheater, bool)

AsMovieTheater is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsOrganization

func (er ErrorResponse) AsOrganization() (*Organization, bool)

AsOrganization is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsPlace

func (er ErrorResponse) AsPlace() (*Place, bool)

AsPlace is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsPlaces

func (er ErrorResponse) AsPlaces() (*Places, bool)

AsPlaces is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsPostalAddress

func (er ErrorResponse) AsPostalAddress() (*PostalAddress, bool)

AsPostalAddress is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsResponse

func (er ErrorResponse) AsResponse() (*Response, bool)

AsResponse is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsResponseBase

func (er ErrorResponse) AsResponseBase() (*ResponseBase, bool)

AsResponseBase is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsRestaurant

func (er ErrorResponse) AsRestaurant() (*Restaurant, bool)

AsRestaurant is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsSearchResponse

func (er ErrorResponse) AsSearchResponse() (*SearchResponse, bool)

AsSearchResponse is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsSearchResultsAnswer

func (er ErrorResponse) AsSearchResultsAnswer() (*SearchResultsAnswer, bool)

AsSearchResultsAnswer is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsStructuredValue

func (er ErrorResponse) AsStructuredValue() (*StructuredValue, bool)

AsStructuredValue is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsThing

func (er ErrorResponse) AsThing() (*Thing, bool)

AsThing is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) AsTouristAttraction

func (er ErrorResponse) AsTouristAttraction() (*TouristAttraction, bool)

AsTouristAttraction is the BasicResponseBase implementation for ErrorResponse.

func (ErrorResponse) MarshalJSON

func (er ErrorResponse) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ErrorResponse.

func (*ErrorResponse) UnmarshalJSON

func (er *ErrorResponse) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ErrorResponse struct.

type ErrorSubCode

type ErrorSubCode string

ErrorSubCode enumerates the values for error sub code.

const (
	// AuthorizationDisabled ...
	AuthorizationDisabled ErrorSubCode = "AuthorizationDisabled"
	// AuthorizationExpired ...
	AuthorizationExpired ErrorSubCode = "AuthorizationExpired"
	// AuthorizationMissing ...
	AuthorizationMissing ErrorSubCode = "AuthorizationMissing"
	// AuthorizationRedundancy ...
	AuthorizationRedundancy ErrorSubCode = "AuthorizationRedundancy"
	// Blocked ...
	Blocked ErrorSubCode = "Blocked"
	// HTTPNotAllowed ...
	HTTPNotAllowed ErrorSubCode = "HttpNotAllowed"
	// NotImplemented ...
	NotImplemented ErrorSubCode = "NotImplemented"
	// ParameterInvalidValue ...
	ParameterInvalidValue ErrorSubCode = "ParameterInvalidValue"
	// ParameterMissing ...
	ParameterMissing ErrorSubCode = "ParameterMissing"
	// ResourceError ...
	ResourceError ErrorSubCode = "ResourceError"
	// UnexpectedError ...
	UnexpectedError ErrorSubCode = "UnexpectedError"
)

func PossibleErrorSubCodeValues

func PossibleErrorSubCodeValues() []ErrorSubCode

PossibleErrorSubCodeValues returns an array of possible values for the ErrorSubCode const type.

type FoodEstablishment

type FoodEstablishment 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"`
}

FoodEstablishment ...

func (FoodEstablishment) AsAirport

func (fe FoodEstablishment) AsAirport() (*Airport, bool)

AsAirport is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsAnswer

func (fe FoodEstablishment) AsAnswer() (*Answer, bool)

AsAnswer is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsBasicAnswer

func (fe FoodEstablishment) AsBasicAnswer() (BasicAnswer, bool)

AsBasicAnswer is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsBasicCivicStructure

func (fe FoodEstablishment) AsBasicCivicStructure() (BasicCivicStructure, bool)

AsBasicCivicStructure is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsBasicCreativeWork

func (fe FoodEstablishment) AsBasicCreativeWork() (BasicCreativeWork, bool)

AsBasicCreativeWork is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsBasicEntertainmentBusiness

func (fe FoodEstablishment) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool)

AsBasicEntertainmentBusiness is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsBasicFoodEstablishment

func (fe FoodEstablishment) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool)

AsBasicFoodEstablishment is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsBasicIdentifiable

func (fe FoodEstablishment) AsBasicIdentifiable() (BasicIdentifiable, bool)

AsBasicIdentifiable is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsBasicIntangible

func (fe FoodEstablishment) AsBasicIntangible() (BasicIntangible, bool)

AsBasicIntangible is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsBasicLocalBusiness

func (fe FoodEstablishment) AsBasicLocalBusiness() (BasicLocalBusiness, bool)

AsBasicLocalBusiness is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsBasicLodgingBusiness

func (fe FoodEstablishment) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool)

AsBasicLodgingBusiness is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsBasicMediaObject

func (fe FoodEstablishment) AsBasicMediaObject() (BasicMediaObject, bool)

AsBasicMediaObject is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsBasicPlace

func (fe FoodEstablishment) AsBasicPlace() (BasicPlace, bool)

AsBasicPlace is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsBasicResponse

func (fe FoodEstablishment) AsBasicResponse() (BasicResponse, bool)

AsBasicResponse is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsBasicResponseBase

func (fe FoodEstablishment) AsBasicResponseBase() (BasicResponseBase, bool)

AsBasicResponseBase is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsBasicSearchResultsAnswer

func (fe FoodEstablishment) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool)

AsBasicSearchResultsAnswer is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsBasicStructuredValue

func (fe FoodEstablishment) AsBasicStructuredValue() (BasicStructuredValue, bool)

AsBasicStructuredValue is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsBasicThing

func (fe FoodEstablishment) AsBasicThing() (BasicThing, bool)

AsBasicThing is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsCivicStructure

func (fe FoodEstablishment) AsCivicStructure() (*CivicStructure, bool)

AsCivicStructure is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsCreativeWork

func (fe FoodEstablishment) AsCreativeWork() (*CreativeWork, bool)

AsCreativeWork is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsEntertainmentBusiness

func (fe FoodEstablishment) AsEntertainmentBusiness() (*EntertainmentBusiness, bool)

AsEntertainmentBusiness is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsEntities

func (fe FoodEstablishment) AsEntities() (*Entities, bool)

AsEntities is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsErrorResponse

func (fe FoodEstablishment) AsErrorResponse() (*ErrorResponse, bool)

AsErrorResponse is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsFoodEstablishment

func (fe FoodEstablishment) AsFoodEstablishment() (*FoodEstablishment, bool)

AsFoodEstablishment is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsHotel

func (fe FoodEstablishment) AsHotel() (*Hotel, bool)

AsHotel is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsIdentifiable

func (fe FoodEstablishment) AsIdentifiable() (*Identifiable, bool)

AsIdentifiable is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsImageObject

func (fe FoodEstablishment) AsImageObject() (*ImageObject, bool)

AsImageObject is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsIntangible

func (fe FoodEstablishment) AsIntangible() (*Intangible, bool)

AsIntangible is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsLicense

func (fe FoodEstablishment) AsLicense() (*License, bool)

AsLicense is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsLocalBusiness

func (fe FoodEstablishment) AsLocalBusiness() (*LocalBusiness, bool)

AsLocalBusiness is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsLodgingBusiness

func (fe FoodEstablishment) AsLodgingBusiness() (*LodgingBusiness, bool)

AsLodgingBusiness is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsMediaObject

func (fe FoodEstablishment) AsMediaObject() (*MediaObject, bool)

AsMediaObject is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsMovieTheater

func (fe FoodEstablishment) AsMovieTheater() (*MovieTheater, bool)

AsMovieTheater is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsOrganization

func (fe FoodEstablishment) AsOrganization() (*Organization, bool)

AsOrganization is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsPlace

func (fe FoodEstablishment) AsPlace() (*Place, bool)

AsPlace is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsPlaces

func (fe FoodEstablishment) AsPlaces() (*Places, bool)

AsPlaces is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsPostalAddress

func (fe FoodEstablishment) AsPostalAddress() (*PostalAddress, bool)

AsPostalAddress is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsResponse

func (fe FoodEstablishment) AsResponse() (*Response, bool)

AsResponse is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsResponseBase

func (fe FoodEstablishment) AsResponseBase() (*ResponseBase, bool)

AsResponseBase is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsRestaurant

func (fe FoodEstablishment) AsRestaurant() (*Restaurant, bool)

AsRestaurant is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsSearchResponse

func (fe FoodEstablishment) AsSearchResponse() (*SearchResponse, bool)

AsSearchResponse is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsSearchResultsAnswer

func (fe FoodEstablishment) AsSearchResultsAnswer() (*SearchResultsAnswer, bool)

AsSearchResultsAnswer is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsStructuredValue

func (fe FoodEstablishment) AsStructuredValue() (*StructuredValue, bool)

AsStructuredValue is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsThing

func (fe FoodEstablishment) AsThing() (*Thing, bool)

AsThing is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) AsTouristAttraction

func (fe FoodEstablishment) AsTouristAttraction() (*TouristAttraction, bool)

AsTouristAttraction is the BasicResponseBase implementation for FoodEstablishment.

func (FoodEstablishment) MarshalJSON

func (fe FoodEstablishment) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FoodEstablishment.

func (*FoodEstablishment) UnmarshalJSON

func (fe *FoodEstablishment) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for FoodEstablishment struct.

type Hotel

type Hotel struct {
	// HotelClass - READ-ONLY
	HotelClass *string `json:"hotelClass,omitempty"`
	// Amenities - READ-ONLY
	Amenities *[]string `json:"amenities,omitempty"`
	// 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"`
}

Hotel ...

func (Hotel) AsAirport

func (h Hotel) AsAirport() (*Airport, bool)

AsAirport is the BasicResponseBase implementation for Hotel.

func (Hotel) AsAnswer

func (h Hotel) AsAnswer() (*Answer, bool)

AsAnswer is the BasicResponseBase implementation for Hotel.

func (Hotel) AsBasicAnswer

func (h Hotel) AsBasicAnswer() (BasicAnswer, bool)

AsBasicAnswer is the BasicResponseBase implementation for Hotel.

func (Hotel) AsBasicCivicStructure

func (h Hotel) AsBasicCivicStructure() (BasicCivicStructure, bool)

AsBasicCivicStructure is the BasicResponseBase implementation for Hotel.

func (Hotel) AsBasicCreativeWork

func (h Hotel) AsBasicCreativeWork() (BasicCreativeWork, bool)

AsBasicCreativeWork is the BasicResponseBase implementation for Hotel.

func (Hotel) AsBasicEntertainmentBusiness

func (h Hotel) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool)

AsBasicEntertainmentBusiness is the BasicResponseBase implementation for Hotel.

func (Hotel) AsBasicFoodEstablishment

func (h Hotel) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool)

AsBasicFoodEstablishment is the BasicResponseBase implementation for Hotel.

func (Hotel) AsBasicIdentifiable

func (h Hotel) AsBasicIdentifiable() (BasicIdentifiable, bool)

AsBasicIdentifiable is the BasicResponseBase implementation for Hotel.

func (Hotel) AsBasicIntangible

func (h Hotel) AsBasicIntangible() (BasicIntangible, bool)

AsBasicIntangible is the BasicResponseBase implementation for Hotel.

func (Hotel) AsBasicLocalBusiness

func (h Hotel) AsBasicLocalBusiness() (BasicLocalBusiness, bool)

AsBasicLocalBusiness is the BasicResponseBase implementation for Hotel.

func (Hotel) AsBasicLodgingBusiness

func (h Hotel) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool)

AsBasicLodgingBusiness is the BasicResponseBase implementation for Hotel.

func (Hotel) AsBasicMediaObject

func (h Hotel) AsBasicMediaObject() (BasicMediaObject, bool)

AsBasicMediaObject is the BasicResponseBase implementation for Hotel.

func (Hotel) AsBasicPlace

func (h Hotel) AsBasicPlace() (BasicPlace, bool)

AsBasicPlace is the BasicResponseBase implementation for Hotel.

func (Hotel) AsBasicResponse

func (h Hotel) AsBasicResponse() (BasicResponse, bool)

AsBasicResponse is the BasicResponseBase implementation for Hotel.

func (Hotel) AsBasicResponseBase

func (h Hotel) AsBasicResponseBase() (BasicResponseBase, bool)

AsBasicResponseBase is the BasicResponseBase implementation for Hotel.

func (Hotel) AsBasicSearchResultsAnswer

func (h Hotel) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool)

AsBasicSearchResultsAnswer is the BasicResponseBase implementation for Hotel.

func (Hotel) AsBasicStructuredValue

func (h Hotel) AsBasicStructuredValue() (BasicStructuredValue, bool)

AsBasicStructuredValue is the BasicResponseBase implementation for Hotel.

func (Hotel) AsBasicThing

func (h Hotel) AsBasicThing() (BasicThing, bool)

AsBasicThing is the BasicResponseBase implementation for Hotel.

func (Hotel) AsCivicStructure

func (h Hotel) AsCivicStructure() (*CivicStructure, bool)

AsCivicStructure is the BasicResponseBase implementation for Hotel.

func (Hotel) AsCreativeWork

func (h Hotel) AsCreativeWork() (*CreativeWork, bool)

AsCreativeWork is the BasicResponseBase implementation for Hotel.

func (Hotel) AsEntertainmentBusiness

func (h Hotel) AsEntertainmentBusiness() (*EntertainmentBusiness, bool)

AsEntertainmentBusiness is the BasicResponseBase implementation for Hotel.

func (Hotel) AsEntities

func (h Hotel) AsEntities() (*Entities, bool)

AsEntities is the BasicResponseBase implementation for Hotel.

func (Hotel) AsErrorResponse

func (h Hotel) AsErrorResponse() (*ErrorResponse, bool)

AsErrorResponse is the BasicResponseBase implementation for Hotel.

func (Hotel) AsFoodEstablishment

func (h Hotel) AsFoodEstablishment() (*FoodEstablishment, bool)

AsFoodEstablishment is the BasicResponseBase implementation for Hotel.

func (Hotel) AsHotel

func (h Hotel) AsHotel() (*Hotel, bool)

AsHotel is the BasicResponseBase implementation for Hotel.

func (Hotel) AsIdentifiable

func (h Hotel) AsIdentifiable() (*Identifiable, bool)

AsIdentifiable is the BasicResponseBase implementation for Hotel.

func (Hotel) AsImageObject

func (h Hotel) AsImageObject() (*ImageObject, bool)

AsImageObject is the BasicResponseBase implementation for Hotel.

func (Hotel) AsIntangible

func (h Hotel) AsIntangible() (*Intangible, bool)

AsIntangible is the BasicResponseBase implementation for Hotel.

func (Hotel) AsLicense

func (h Hotel) AsLicense() (*License, bool)

AsLicense is the BasicResponseBase implementation for Hotel.

func (Hotel) AsLocalBusiness

func (h Hotel) AsLocalBusiness() (*LocalBusiness, bool)

AsLocalBusiness is the BasicResponseBase implementation for Hotel.

func (Hotel) AsLodgingBusiness

func (h Hotel) AsLodgingBusiness() (*LodgingBusiness, bool)

AsLodgingBusiness is the BasicResponseBase implementation for Hotel.

func (Hotel) AsMediaObject

func (h Hotel) AsMediaObject() (*MediaObject, bool)

AsMediaObject is the BasicResponseBase implementation for Hotel.

func (Hotel) AsMovieTheater

func (h Hotel) AsMovieTheater() (*MovieTheater, bool)

AsMovieTheater is the BasicResponseBase implementation for Hotel.

func (Hotel) AsOrganization

func (h Hotel) AsOrganization() (*Organization, bool)

AsOrganization is the BasicResponseBase implementation for Hotel.

func (Hotel) AsPlace

func (h Hotel) AsPlace() (*Place, bool)

AsPlace is the BasicResponseBase implementation for Hotel.

func (Hotel) AsPlaces

func (h Hotel) AsPlaces() (*Places, bool)

AsPlaces is the BasicResponseBase implementation for Hotel.

func (Hotel) AsPostalAddress

func (h Hotel) AsPostalAddress() (*PostalAddress, bool)

AsPostalAddress is the BasicResponseBase implementation for Hotel.

func (Hotel) AsResponse

func (h Hotel) AsResponse() (*Response, bool)

AsResponse is the BasicResponseBase implementation for Hotel.

func (Hotel) AsResponseBase

func (h Hotel) AsResponseBase() (*ResponseBase, bool)

AsResponseBase is the BasicResponseBase implementation for Hotel.

func (Hotel) AsRestaurant

func (h Hotel) AsRestaurant() (*Restaurant, bool)

AsRestaurant is the BasicResponseBase implementation for Hotel.

func (Hotel) AsSearchResponse

func (h Hotel) AsSearchResponse() (*SearchResponse, bool)

AsSearchResponse is the BasicResponseBase implementation for Hotel.

func (Hotel) AsSearchResultsAnswer

func (h Hotel) AsSearchResultsAnswer() (*SearchResultsAnswer, bool)

AsSearchResultsAnswer is the BasicResponseBase implementation for Hotel.

func (Hotel) AsStructuredValue

func (h Hotel) AsStructuredValue() (*StructuredValue, bool)

AsStructuredValue is the BasicResponseBase implementation for Hotel.

func (Hotel) AsThing

func (h Hotel) AsThing() (*Thing, bool)

AsThing is the BasicResponseBase implementation for Hotel.

func (Hotel) AsTouristAttraction

func (h Hotel) AsTouristAttraction() (*TouristAttraction, bool)

AsTouristAttraction is the BasicResponseBase implementation for Hotel.

func (Hotel) MarshalJSON

func (h Hotel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Hotel.

func (*Hotel) UnmarshalJSON

func (h *Hotel) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Hotel struct.

type Identifiable

type Identifiable struct {
	// 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"`
}

Identifiable defines the identity of a resource.

func (Identifiable) AsAirport

func (i Identifiable) AsAirport() (*Airport, bool)

AsAirport is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsAnswer

func (i Identifiable) AsAnswer() (*Answer, bool)

AsAnswer is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsBasicAnswer

func (i Identifiable) AsBasicAnswer() (BasicAnswer, bool)

AsBasicAnswer is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsBasicCivicStructure

func (i Identifiable) AsBasicCivicStructure() (BasicCivicStructure, bool)

AsBasicCivicStructure is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsBasicCreativeWork

func (i Identifiable) AsBasicCreativeWork() (BasicCreativeWork, bool)

AsBasicCreativeWork is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsBasicEntertainmentBusiness

func (i Identifiable) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool)

AsBasicEntertainmentBusiness is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsBasicFoodEstablishment

func (i Identifiable) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool)

AsBasicFoodEstablishment is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsBasicIdentifiable

func (i Identifiable) AsBasicIdentifiable() (BasicIdentifiable, bool)

AsBasicIdentifiable is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsBasicIntangible

func (i Identifiable) AsBasicIntangible() (BasicIntangible, bool)

AsBasicIntangible is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsBasicLocalBusiness

func (i Identifiable) AsBasicLocalBusiness() (BasicLocalBusiness, bool)

AsBasicLocalBusiness is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsBasicLodgingBusiness

func (i Identifiable) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool)

AsBasicLodgingBusiness is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsBasicMediaObject

func (i Identifiable) AsBasicMediaObject() (BasicMediaObject, bool)

AsBasicMediaObject is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsBasicPlace

func (i Identifiable) AsBasicPlace() (BasicPlace, bool)

AsBasicPlace is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsBasicResponse

func (i Identifiable) AsBasicResponse() (BasicResponse, bool)

AsBasicResponse is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsBasicResponseBase

func (i Identifiable) AsBasicResponseBase() (BasicResponseBase, bool)

AsBasicResponseBase is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsBasicSearchResultsAnswer

func (i Identifiable) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool)

AsBasicSearchResultsAnswer is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsBasicStructuredValue

func (i Identifiable) AsBasicStructuredValue() (BasicStructuredValue, bool)

AsBasicStructuredValue is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsBasicThing

func (i Identifiable) AsBasicThing() (BasicThing, bool)

AsBasicThing is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsCivicStructure

func (i Identifiable) AsCivicStructure() (*CivicStructure, bool)

AsCivicStructure is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsCreativeWork

func (i Identifiable) AsCreativeWork() (*CreativeWork, bool)

AsCreativeWork is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsEntertainmentBusiness

func (i Identifiable) AsEntertainmentBusiness() (*EntertainmentBusiness, bool)

AsEntertainmentBusiness is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsEntities

func (i Identifiable) AsEntities() (*Entities, bool)

AsEntities is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsErrorResponse

func (i Identifiable) AsErrorResponse() (*ErrorResponse, bool)

AsErrorResponse is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsFoodEstablishment

func (i Identifiable) AsFoodEstablishment() (*FoodEstablishment, bool)

AsFoodEstablishment is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsHotel

func (i Identifiable) AsHotel() (*Hotel, bool)

AsHotel is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsIdentifiable

func (i Identifiable) AsIdentifiable() (*Identifiable, bool)

AsIdentifiable is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsImageObject

func (i Identifiable) AsImageObject() (*ImageObject, bool)

AsImageObject is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsIntangible

func (i Identifiable) AsIntangible() (*Intangible, bool)

AsIntangible is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsLicense

func (i Identifiable) AsLicense() (*License, bool)

AsLicense is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsLocalBusiness

func (i Identifiable) AsLocalBusiness() (*LocalBusiness, bool)

AsLocalBusiness is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsLodgingBusiness

func (i Identifiable) AsLodgingBusiness() (*LodgingBusiness, bool)

AsLodgingBusiness is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsMediaObject

func (i Identifiable) AsMediaObject() (*MediaObject, bool)

AsMediaObject is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsMovieTheater

func (i Identifiable) AsMovieTheater() (*MovieTheater, bool)

AsMovieTheater is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsOrganization

func (i Identifiable) AsOrganization() (*Organization, bool)

AsOrganization is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsPlace

func (i Identifiable) AsPlace() (*Place, bool)

AsPlace is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsPlaces

func (i Identifiable) AsPlaces() (*Places, bool)

AsPlaces is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsPostalAddress

func (i Identifiable) AsPostalAddress() (*PostalAddress, bool)

AsPostalAddress is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsResponse

func (i Identifiable) AsResponse() (*Response, bool)

AsResponse is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsResponseBase

func (i Identifiable) AsResponseBase() (*ResponseBase, bool)

AsResponseBase is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsRestaurant

func (i Identifiable) AsRestaurant() (*Restaurant, bool)

AsRestaurant is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsSearchResponse

func (i Identifiable) AsSearchResponse() (*SearchResponse, bool)

AsSearchResponse is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsSearchResultsAnswer

func (i Identifiable) AsSearchResultsAnswer() (*SearchResultsAnswer, bool)

AsSearchResultsAnswer is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsStructuredValue

func (i Identifiable) AsStructuredValue() (*StructuredValue, bool)

AsStructuredValue is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsThing

func (i Identifiable) AsThing() (*Thing, bool)

AsThing is the BasicResponseBase implementation for Identifiable.

func (Identifiable) AsTouristAttraction

func (i Identifiable) AsTouristAttraction() (*TouristAttraction, bool)

AsTouristAttraction is the BasicResponseBase implementation for Identifiable.

func (Identifiable) MarshalJSON

func (i Identifiable) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Identifiable.

type ImageObject

type ImageObject struct {
	// Thumbnail - READ-ONLY; The URL to a thumbnail of the image
	Thumbnail *ImageObject `json:"thumbnail,omitempty"`
	// ContentURL - READ-ONLY; Original URL to retrieve the source (file) for the media object (e.g the source URL for the image).
	ContentURL *string `json:"contentUrl,omitempty"`
	// HostPageURL - READ-ONLY; URL of the page that hosts the media object.
	HostPageURL *string `json:"hostPageUrl,omitempty"`
	// Width - READ-ONLY; The width of the source media object, in pixels.
	Width *int32 `json:"width,omitempty"`
	// Height - READ-ONLY; The height of the source media object, in pixels.
	Height *int32 `json:"height,omitempty"`
	// 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"`
}

ImageObject defines an image

func (ImageObject) AsAirport

func (ioVar ImageObject) AsAirport() (*Airport, bool)

AsAirport is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsAnswer

func (ioVar ImageObject) AsAnswer() (*Answer, bool)

AsAnswer is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsBasicAnswer

func (ioVar ImageObject) AsBasicAnswer() (BasicAnswer, bool)

AsBasicAnswer is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsBasicCivicStructure

func (ioVar ImageObject) AsBasicCivicStructure() (BasicCivicStructure, bool)

AsBasicCivicStructure is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsBasicCreativeWork

func (ioVar ImageObject) AsBasicCreativeWork() (BasicCreativeWork, bool)

AsBasicCreativeWork is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsBasicEntertainmentBusiness

func (ioVar ImageObject) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool)

AsBasicEntertainmentBusiness is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsBasicFoodEstablishment

func (ioVar ImageObject) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool)

AsBasicFoodEstablishment is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsBasicIdentifiable

func (ioVar ImageObject) AsBasicIdentifiable() (BasicIdentifiable, bool)

AsBasicIdentifiable is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsBasicIntangible

func (ioVar ImageObject) AsBasicIntangible() (BasicIntangible, bool)

AsBasicIntangible is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsBasicLocalBusiness

func (ioVar ImageObject) AsBasicLocalBusiness() (BasicLocalBusiness, bool)

AsBasicLocalBusiness is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsBasicLodgingBusiness

func (ioVar ImageObject) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool)

AsBasicLodgingBusiness is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsBasicMediaObject

func (ioVar ImageObject) AsBasicMediaObject() (BasicMediaObject, bool)

AsBasicMediaObject is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsBasicPlace

func (ioVar ImageObject) AsBasicPlace() (BasicPlace, bool)

AsBasicPlace is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsBasicResponse

func (ioVar ImageObject) AsBasicResponse() (BasicResponse, bool)

AsBasicResponse is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsBasicResponseBase

func (ioVar ImageObject) AsBasicResponseBase() (BasicResponseBase, bool)

AsBasicResponseBase is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsBasicSearchResultsAnswer

func (ioVar ImageObject) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool)

AsBasicSearchResultsAnswer is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsBasicStructuredValue

func (ioVar ImageObject) AsBasicStructuredValue() (BasicStructuredValue, bool)

AsBasicStructuredValue is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsBasicThing

func (ioVar ImageObject) AsBasicThing() (BasicThing, bool)

AsBasicThing is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsCivicStructure

func (ioVar ImageObject) AsCivicStructure() (*CivicStructure, bool)

AsCivicStructure is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsCreativeWork

func (ioVar ImageObject) AsCreativeWork() (*CreativeWork, bool)

AsCreativeWork is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsEntertainmentBusiness

func (ioVar ImageObject) AsEntertainmentBusiness() (*EntertainmentBusiness, bool)

AsEntertainmentBusiness is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsEntities

func (ioVar ImageObject) AsEntities() (*Entities, bool)

AsEntities is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsErrorResponse

func (ioVar ImageObject) AsErrorResponse() (*ErrorResponse, bool)

AsErrorResponse is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsFoodEstablishment

func (ioVar ImageObject) AsFoodEstablishment() (*FoodEstablishment, bool)

AsFoodEstablishment is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsHotel

func (ioVar ImageObject) AsHotel() (*Hotel, bool)

AsHotel is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsIdentifiable

func (ioVar ImageObject) AsIdentifiable() (*Identifiable, bool)

AsIdentifiable is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsImageObject

func (ioVar ImageObject) AsImageObject() (*ImageObject, bool)

AsImageObject is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsIntangible

func (ioVar ImageObject) AsIntangible() (*Intangible, bool)

AsIntangible is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsLicense

func (ioVar ImageObject) AsLicense() (*License, bool)

AsLicense is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsLocalBusiness

func (ioVar ImageObject) AsLocalBusiness() (*LocalBusiness, bool)

AsLocalBusiness is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsLodgingBusiness

func (ioVar ImageObject) AsLodgingBusiness() (*LodgingBusiness, bool)

AsLodgingBusiness is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsMediaObject

func (ioVar ImageObject) AsMediaObject() (*MediaObject, bool)

AsMediaObject is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsMovieTheater

func (ioVar ImageObject) AsMovieTheater() (*MovieTheater, bool)

AsMovieTheater is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsOrganization

func (ioVar ImageObject) AsOrganization() (*Organization, bool)

AsOrganization is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsPlace

func (ioVar ImageObject) AsPlace() (*Place, bool)

AsPlace is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsPlaces

func (ioVar ImageObject) AsPlaces() (*Places, bool)

AsPlaces is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsPostalAddress

func (ioVar ImageObject) AsPostalAddress() (*PostalAddress, bool)

AsPostalAddress is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsResponse

func (ioVar ImageObject) AsResponse() (*Response, bool)

AsResponse is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsResponseBase

func (ioVar ImageObject) AsResponseBase() (*ResponseBase, bool)

AsResponseBase is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsRestaurant

func (ioVar ImageObject) AsRestaurant() (*Restaurant, bool)

AsRestaurant is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsSearchResponse

func (ioVar ImageObject) AsSearchResponse() (*SearchResponse, bool)

AsSearchResponse is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsSearchResultsAnswer

func (ioVar ImageObject) AsSearchResultsAnswer() (*SearchResultsAnswer, bool)

AsSearchResultsAnswer is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsStructuredValue

func (ioVar ImageObject) AsStructuredValue() (*StructuredValue, bool)

AsStructuredValue is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsThing

func (ioVar ImageObject) AsThing() (*Thing, bool)

AsThing is the BasicResponseBase implementation for ImageObject.

func (ImageObject) AsTouristAttraction

func (ioVar ImageObject) AsTouristAttraction() (*TouristAttraction, bool)

AsTouristAttraction is the BasicResponseBase implementation for ImageObject.

func (ImageObject) MarshalJSON

func (ioVar ImageObject) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ImageObject.

func (*ImageObject) UnmarshalJSON

func (ioVar *ImageObject) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ImageObject struct.

type Intangible

type Intangible struct {
	// 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"`
}

Intangible ...

func (Intangible) AsAirport

func (i Intangible) AsAirport() (*Airport, bool)

AsAirport is the BasicResponseBase implementation for Intangible.

func (Intangible) AsAnswer

func (i Intangible) AsAnswer() (*Answer, bool)

AsAnswer is the BasicResponseBase implementation for Intangible.

func (Intangible) AsBasicAnswer

func (i Intangible) AsBasicAnswer() (BasicAnswer, bool)

AsBasicAnswer is the BasicResponseBase implementation for Intangible.

func (Intangible) AsBasicCivicStructure

func (i Intangible) AsBasicCivicStructure() (BasicCivicStructure, bool)

AsBasicCivicStructure is the BasicResponseBase implementation for Intangible.

func (Intangible) AsBasicCreativeWork

func (i Intangible) AsBasicCreativeWork() (BasicCreativeWork, bool)

AsBasicCreativeWork is the BasicResponseBase implementation for Intangible.

func (Intangible) AsBasicEntertainmentBusiness

func (i Intangible) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool)

AsBasicEntertainmentBusiness is the BasicResponseBase implementation for Intangible.

func (Intangible) AsBasicFoodEstablishment

func (i Intangible) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool)

AsBasicFoodEstablishment is the BasicResponseBase implementation for Intangible.

func (Intangible) AsBasicIdentifiable

func (i Intangible) AsBasicIdentifiable() (BasicIdentifiable, bool)

AsBasicIdentifiable is the BasicResponseBase implementation for Intangible.

func (Intangible) AsBasicIntangible

func (i Intangible) AsBasicIntangible() (BasicIntangible, bool)

AsBasicIntangible is the BasicResponseBase implementation for Intangible.

func (Intangible) AsBasicLocalBusiness

func (i Intangible) AsBasicLocalBusiness() (BasicLocalBusiness, bool)

AsBasicLocalBusiness is the BasicResponseBase implementation for Intangible.

func (Intangible) AsBasicLodgingBusiness

func (i Intangible) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool)

AsBasicLodgingBusiness is the BasicResponseBase implementation for Intangible.

func (Intangible) AsBasicMediaObject

func (i Intangible) AsBasicMediaObject() (BasicMediaObject, bool)

AsBasicMediaObject is the BasicResponseBase implementation for Intangible.

func (Intangible) AsBasicPlace

func (i Intangible) AsBasicPlace() (BasicPlace, bool)

AsBasicPlace is the BasicResponseBase implementation for Intangible.

func (Intangible) AsBasicResponse

func (i Intangible) AsBasicResponse() (BasicResponse, bool)

AsBasicResponse is the BasicResponseBase implementation for Intangible.

func (Intangible) AsBasicResponseBase

func (i Intangible) AsBasicResponseBase() (BasicResponseBase, bool)

AsBasicResponseBase is the BasicResponseBase implementation for Intangible.

func (Intangible) AsBasicSearchResultsAnswer

func (i Intangible) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool)

AsBasicSearchResultsAnswer is the BasicResponseBase implementation for Intangible.

func (Intangible) AsBasicStructuredValue

func (i Intangible) AsBasicStructuredValue() (BasicStructuredValue, bool)

AsBasicStructuredValue is the BasicResponseBase implementation for Intangible.

func (Intangible) AsBasicThing

func (i Intangible) AsBasicThing() (BasicThing, bool)

AsBasicThing is the BasicResponseBase implementation for Intangible.

func (Intangible) AsCivicStructure

func (i Intangible) AsCivicStructure() (*CivicStructure, bool)

AsCivicStructure is the BasicResponseBase implementation for Intangible.

func (Intangible) AsCreativeWork

func (i Intangible) AsCreativeWork() (*CreativeWork, bool)

AsCreativeWork is the BasicResponseBase implementation for Intangible.

func (Intangible) AsEntertainmentBusiness

func (i Intangible) AsEntertainmentBusiness() (*EntertainmentBusiness, bool)

AsEntertainmentBusiness is the BasicResponseBase implementation for Intangible.

func (Intangible) AsEntities

func (i Intangible) AsEntities() (*Entities, bool)

AsEntities is the BasicResponseBase implementation for Intangible.

func (Intangible) AsErrorResponse

func (i Intangible) AsErrorResponse() (*ErrorResponse, bool)

AsErrorResponse is the BasicResponseBase implementation for Intangible.

func (Intangible) AsFoodEstablishment

func (i Intangible) AsFoodEstablishment() (*FoodEstablishment, bool)

AsFoodEstablishment is the BasicResponseBase implementation for Intangible.

func (Intangible) AsHotel

func (i Intangible) AsHotel() (*Hotel, bool)

AsHotel is the BasicResponseBase implementation for Intangible.

func (Intangible) AsIdentifiable

func (i Intangible) AsIdentifiable() (*Identifiable, bool)

AsIdentifiable is the BasicResponseBase implementation for Intangible.

func (Intangible) AsImageObject

func (i Intangible) AsImageObject() (*ImageObject, bool)

AsImageObject is the BasicResponseBase implementation for Intangible.

func (Intangible) AsIntangible

func (i Intangible) AsIntangible() (*Intangible, bool)

AsIntangible is the BasicResponseBase implementation for Intangible.

func (Intangible) AsLicense

func (i Intangible) AsLicense() (*License, bool)

AsLicense is the BasicResponseBase implementation for Intangible.

func (Intangible) AsLocalBusiness

func (i Intangible) AsLocalBusiness() (*LocalBusiness, bool)

AsLocalBusiness is the BasicResponseBase implementation for Intangible.

func (Intangible) AsLodgingBusiness

func (i Intangible) AsLodgingBusiness() (*LodgingBusiness, bool)

AsLodgingBusiness is the BasicResponseBase implementation for Intangible.

func (Intangible) AsMediaObject

func (i Intangible) AsMediaObject() (*MediaObject, bool)

AsMediaObject is the BasicResponseBase implementation for Intangible.

func (Intangible) AsMovieTheater

func (i Intangible) AsMovieTheater() (*MovieTheater, bool)

AsMovieTheater is the BasicResponseBase implementation for Intangible.

func (Intangible) AsOrganization

func (i Intangible) AsOrganization() (*Organization, bool)

AsOrganization is the BasicResponseBase implementation for Intangible.

func (Intangible) AsPlace

func (i Intangible) AsPlace() (*Place, bool)

AsPlace is the BasicResponseBase implementation for Intangible.

func (Intangible) AsPlaces

func (i Intangible) AsPlaces() (*Places, bool)

AsPlaces is the BasicResponseBase implementation for Intangible.

func (Intangible) AsPostalAddress

func (i Intangible) AsPostalAddress() (*PostalAddress, bool)

AsPostalAddress is the BasicResponseBase implementation for Intangible.

func (Intangible) AsResponse

func (i Intangible) AsResponse() (*Response, bool)

AsResponse is the BasicResponseBase implementation for Intangible.

func (Intangible) AsResponseBase

func (i Intangible) AsResponseBase() (*ResponseBase, bool)

AsResponseBase is the BasicResponseBase implementation for Intangible.

func (Intangible) AsRestaurant

func (i Intangible) AsRestaurant() (*Restaurant, bool)

AsRestaurant is the BasicResponseBase implementation for Intangible.

func (Intangible) AsSearchResponse

func (i Intangible) AsSearchResponse() (*SearchResponse, bool)

AsSearchResponse is the BasicResponseBase implementation for Intangible.

func (Intangible) AsSearchResultsAnswer

func (i Intangible) AsSearchResultsAnswer() (*SearchResultsAnswer, bool)

AsSearchResultsAnswer is the BasicResponseBase implementation for Intangible.

func (Intangible) AsStructuredValue

func (i Intangible) AsStructuredValue() (*StructuredValue, bool)

AsStructuredValue is the BasicResponseBase implementation for Intangible.

func (Intangible) AsThing

func (i Intangible) AsThing() (*Thing, bool)

AsThing is the BasicResponseBase implementation for Intangible.

func (Intangible) AsTouristAttraction

func (i Intangible) AsTouristAttraction() (*TouristAttraction, bool)

AsTouristAttraction is the BasicResponseBase implementation for Intangible.

func (Intangible) MarshalJSON

func (i Intangible) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Intangible.

func (*Intangible) UnmarshalJSON

func (i *Intangible) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Intangible struct.

type License

type License 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"`
}

License defines the license under which the text or photo may be used.

func (License) AsAirport

func (l License) AsAirport() (*Airport, bool)

AsAirport is the BasicResponseBase implementation for License.

func (License) AsAnswer

func (l License) AsAnswer() (*Answer, bool)

AsAnswer is the BasicResponseBase implementation for License.

func (License) AsBasicAnswer

func (l License) AsBasicAnswer() (BasicAnswer, bool)

AsBasicAnswer is the BasicResponseBase implementation for License.

func (License) AsBasicCivicStructure

func (l License) AsBasicCivicStructure() (BasicCivicStructure, bool)

AsBasicCivicStructure is the BasicResponseBase implementation for License.

func (License) AsBasicCreativeWork

func (l License) AsBasicCreativeWork() (BasicCreativeWork, bool)

AsBasicCreativeWork is the BasicResponseBase implementation for License.

func (License) AsBasicEntertainmentBusiness

func (l License) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool)

AsBasicEntertainmentBusiness is the BasicResponseBase implementation for License.

func (License) AsBasicFoodEstablishment

func (l License) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool)

AsBasicFoodEstablishment is the BasicResponseBase implementation for License.

func (License) AsBasicIdentifiable

func (l License) AsBasicIdentifiable() (BasicIdentifiable, bool)

AsBasicIdentifiable is the BasicResponseBase implementation for License.

func (License) AsBasicIntangible

func (l License) AsBasicIntangible() (BasicIntangible, bool)

AsBasicIntangible is the BasicResponseBase implementation for License.

func (License) AsBasicLocalBusiness

func (l License) AsBasicLocalBusiness() (BasicLocalBusiness, bool)

AsBasicLocalBusiness is the BasicResponseBase implementation for License.

func (License) AsBasicLodgingBusiness

func (l License) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool)

AsBasicLodgingBusiness is the BasicResponseBase implementation for License.

func (License) AsBasicMediaObject

func (l License) AsBasicMediaObject() (BasicMediaObject, bool)

AsBasicMediaObject is the BasicResponseBase implementation for License.

func (License) AsBasicPlace

func (l License) AsBasicPlace() (BasicPlace, bool)

AsBasicPlace is the BasicResponseBase implementation for License.

func (License) AsBasicResponse

func (l License) AsBasicResponse() (BasicResponse, bool)

AsBasicResponse is the BasicResponseBase implementation for License.

func (License) AsBasicResponseBase

func (l License) AsBasicResponseBase() (BasicResponseBase, bool)

AsBasicResponseBase is the BasicResponseBase implementation for License.

func (License) AsBasicSearchResultsAnswer

func (l License) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool)

AsBasicSearchResultsAnswer is the BasicResponseBase implementation for License.

func (License) AsBasicStructuredValue

func (l License) AsBasicStructuredValue() (BasicStructuredValue, bool)

AsBasicStructuredValue is the BasicResponseBase implementation for License.

func (License) AsBasicThing

func (l License) AsBasicThing() (BasicThing, bool)

AsBasicThing is the BasicResponseBase implementation for License.

func (License) AsCivicStructure

func (l License) AsCivicStructure() (*CivicStructure, bool)

AsCivicStructure is the BasicResponseBase implementation for License.

func (License) AsCreativeWork

func (l License) AsCreativeWork() (*CreativeWork, bool)

AsCreativeWork is the BasicResponseBase implementation for License.

func (License) AsEntertainmentBusiness

func (l License) AsEntertainmentBusiness() (*EntertainmentBusiness, bool)

AsEntertainmentBusiness is the BasicResponseBase implementation for License.

func (License) AsEntities

func (l License) AsEntities() (*Entities, bool)

AsEntities is the BasicResponseBase implementation for License.

func (License) AsErrorResponse

func (l License) AsErrorResponse() (*ErrorResponse, bool)

AsErrorResponse is the BasicResponseBase implementation for License.

func (License) AsFoodEstablishment

func (l License) AsFoodEstablishment() (*FoodEstablishment, bool)

AsFoodEstablishment is the BasicResponseBase implementation for License.

func (License) AsHotel

func (l License) AsHotel() (*Hotel, bool)

AsHotel is the BasicResponseBase implementation for License.

func (License) AsIdentifiable

func (l License) AsIdentifiable() (*Identifiable, bool)

AsIdentifiable is the BasicResponseBase implementation for License.

func (License) AsImageObject

func (l License) AsImageObject() (*ImageObject, bool)

AsImageObject is the BasicResponseBase implementation for License.

func (License) AsIntangible

func (l License) AsIntangible() (*Intangible, bool)

AsIntangible is the BasicResponseBase implementation for License.

func (License) AsLicense

func (l License) AsLicense() (*License, bool)

AsLicense is the BasicResponseBase implementation for License.

func (License) AsLocalBusiness

func (l License) AsLocalBusiness() (*LocalBusiness, bool)

AsLocalBusiness is the BasicResponseBase implementation for License.

func (License) AsLodgingBusiness

func (l License) AsLodgingBusiness() (*LodgingBusiness, bool)

AsLodgingBusiness is the BasicResponseBase implementation for License.

func (License) AsMediaObject

func (l License) AsMediaObject() (*MediaObject, bool)

AsMediaObject is the BasicResponseBase implementation for License.

func (License) AsMovieTheater

func (l License) AsMovieTheater() (*MovieTheater, bool)

AsMovieTheater is the BasicResponseBase implementation for License.

func (License) AsOrganization

func (l License) AsOrganization() (*Organization, bool)

AsOrganization is the BasicResponseBase implementation for License.

func (License) AsPlace

func (l License) AsPlace() (*Place, bool)

AsPlace is the BasicResponseBase implementation for License.

func (License) AsPlaces

func (l License) AsPlaces() (*Places, bool)

AsPlaces is the BasicResponseBase implementation for License.

func (License) AsPostalAddress

func (l License) AsPostalAddress() (*PostalAddress, bool)

AsPostalAddress is the BasicResponseBase implementation for License.

func (License) AsResponse

func (l License) AsResponse() (*Response, bool)

AsResponse is the BasicResponseBase implementation for License.

func (License) AsResponseBase

func (l License) AsResponseBase() (*ResponseBase, bool)

AsResponseBase is the BasicResponseBase implementation for License.

func (License) AsRestaurant

func (l License) AsRestaurant() (*Restaurant, bool)

AsRestaurant is the BasicResponseBase implementation for License.

func (License) AsSearchResponse

func (l License) AsSearchResponse() (*SearchResponse, bool)

AsSearchResponse is the BasicResponseBase implementation for License.

func (License) AsSearchResultsAnswer

func (l License) AsSearchResultsAnswer() (*SearchResultsAnswer, bool)

AsSearchResultsAnswer is the BasicResponseBase implementation for License.

func (License) AsStructuredValue

func (l License) AsStructuredValue() (*StructuredValue, bool)

AsStructuredValue is the BasicResponseBase implementation for License.

func (License) AsThing

func (l License) AsThing() (*Thing, bool)

AsThing is the BasicResponseBase implementation for License.

func (License) AsTouristAttraction

func (l License) AsTouristAttraction() (*TouristAttraction, bool)

AsTouristAttraction is the BasicResponseBase implementation for License.

func (License) MarshalJSON

func (l License) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for License.

func (*License) UnmarshalJSON

func (l *License) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for License struct.

type LocalBusiness

type LocalBusiness 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"`
}

LocalBusiness ...

func (LocalBusiness) AsAirport

func (lb LocalBusiness) AsAirport() (*Airport, bool)

AsAirport is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsAnswer

func (lb LocalBusiness) AsAnswer() (*Answer, bool)

AsAnswer is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsBasicAnswer

func (lb LocalBusiness) AsBasicAnswer() (BasicAnswer, bool)

AsBasicAnswer is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsBasicCivicStructure

func (lb LocalBusiness) AsBasicCivicStructure() (BasicCivicStructure, bool)

AsBasicCivicStructure is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsBasicCreativeWork

func (lb LocalBusiness) AsBasicCreativeWork() (BasicCreativeWork, bool)

AsBasicCreativeWork is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsBasicEntertainmentBusiness

func (lb LocalBusiness) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool)

AsBasicEntertainmentBusiness is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsBasicFoodEstablishment

func (lb LocalBusiness) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool)

AsBasicFoodEstablishment is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsBasicIdentifiable

func (lb LocalBusiness) AsBasicIdentifiable() (BasicIdentifiable, bool)

AsBasicIdentifiable is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsBasicIntangible

func (lb LocalBusiness) AsBasicIntangible() (BasicIntangible, bool)

AsBasicIntangible is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsBasicLocalBusiness

func (lb LocalBusiness) AsBasicLocalBusiness() (BasicLocalBusiness, bool)

AsBasicLocalBusiness is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsBasicLodgingBusiness

func (lb LocalBusiness) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool)

AsBasicLodgingBusiness is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsBasicMediaObject

func (lb LocalBusiness) AsBasicMediaObject() (BasicMediaObject, bool)

AsBasicMediaObject is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsBasicPlace

func (lb LocalBusiness) AsBasicPlace() (BasicPlace, bool)

AsBasicPlace is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsBasicResponse

func (lb LocalBusiness) AsBasicResponse() (BasicResponse, bool)

AsBasicResponse is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsBasicResponseBase

func (lb LocalBusiness) AsBasicResponseBase() (BasicResponseBase, bool)

AsBasicResponseBase is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsBasicSearchResultsAnswer

func (lb LocalBusiness) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool)

AsBasicSearchResultsAnswer is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsBasicStructuredValue

func (lb LocalBusiness) AsBasicStructuredValue() (BasicStructuredValue, bool)

AsBasicStructuredValue is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsBasicThing

func (lb LocalBusiness) AsBasicThing() (BasicThing, bool)

AsBasicThing is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsCivicStructure

func (lb LocalBusiness) AsCivicStructure() (*CivicStructure, bool)

AsCivicStructure is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsCreativeWork

func (lb LocalBusiness) AsCreativeWork() (*CreativeWork, bool)

AsCreativeWork is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsEntertainmentBusiness

func (lb LocalBusiness) AsEntertainmentBusiness() (*EntertainmentBusiness, bool)

AsEntertainmentBusiness is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsEntities

func (lb LocalBusiness) AsEntities() (*Entities, bool)

AsEntities is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsErrorResponse

func (lb LocalBusiness) AsErrorResponse() (*ErrorResponse, bool)

AsErrorResponse is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsFoodEstablishment

func (lb LocalBusiness) AsFoodEstablishment() (*FoodEstablishment, bool)

AsFoodEstablishment is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsHotel

func (lb LocalBusiness) AsHotel() (*Hotel, bool)

AsHotel is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsIdentifiable

func (lb LocalBusiness) AsIdentifiable() (*Identifiable, bool)

AsIdentifiable is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsImageObject

func (lb LocalBusiness) AsImageObject() (*ImageObject, bool)

AsImageObject is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsIntangible

func (lb LocalBusiness) AsIntangible() (*Intangible, bool)

AsIntangible is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsLicense

func (lb LocalBusiness) AsLicense() (*License, bool)

AsLicense is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsLocalBusiness

func (lb LocalBusiness) AsLocalBusiness() (*LocalBusiness, bool)

AsLocalBusiness is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsLodgingBusiness

func (lb LocalBusiness) AsLodgingBusiness() (*LodgingBusiness, bool)

AsLodgingBusiness is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsMediaObject

func (lb LocalBusiness) AsMediaObject() (*MediaObject, bool)

AsMediaObject is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsMovieTheater

func (lb LocalBusiness) AsMovieTheater() (*MovieTheater, bool)

AsMovieTheater is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsOrganization

func (lb LocalBusiness) AsOrganization() (*Organization, bool)

AsOrganization is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsPlace

func (lb LocalBusiness) AsPlace() (*Place, bool)

AsPlace is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsPlaces

func (lb LocalBusiness) AsPlaces() (*Places, bool)

AsPlaces is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsPostalAddress

func (lb LocalBusiness) AsPostalAddress() (*PostalAddress, bool)

AsPostalAddress is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsResponse

func (lb LocalBusiness) AsResponse() (*Response, bool)

AsResponse is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsResponseBase

func (lb LocalBusiness) AsResponseBase() (*ResponseBase, bool)

AsResponseBase is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsRestaurant

func (lb LocalBusiness) AsRestaurant() (*Restaurant, bool)

AsRestaurant is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsSearchResponse

func (lb LocalBusiness) AsSearchResponse() (*SearchResponse, bool)

AsSearchResponse is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsSearchResultsAnswer

func (lb LocalBusiness) AsSearchResultsAnswer() (*SearchResultsAnswer, bool)

AsSearchResultsAnswer is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsStructuredValue

func (lb LocalBusiness) AsStructuredValue() (*StructuredValue, bool)

AsStructuredValue is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsThing

func (lb LocalBusiness) AsThing() (*Thing, bool)

AsThing is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) AsTouristAttraction

func (lb LocalBusiness) AsTouristAttraction() (*TouristAttraction, bool)

AsTouristAttraction is the BasicResponseBase implementation for LocalBusiness.

func (LocalBusiness) MarshalJSON

func (lb LocalBusiness) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LocalBusiness.

func (*LocalBusiness) UnmarshalJSON

func (lb *LocalBusiness) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for LocalBusiness struct.

type LodgingBusiness

type LodgingBusiness 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"`
}

LodgingBusiness ...

func (LodgingBusiness) AsAirport

func (lb LodgingBusiness) AsAirport() (*Airport, bool)

AsAirport is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsAnswer

func (lb LodgingBusiness) AsAnswer() (*Answer, bool)

AsAnswer is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsBasicAnswer

func (lb LodgingBusiness) AsBasicAnswer() (BasicAnswer, bool)

AsBasicAnswer is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsBasicCivicStructure

func (lb LodgingBusiness) AsBasicCivicStructure() (BasicCivicStructure, bool)

AsBasicCivicStructure is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsBasicCreativeWork

func (lb LodgingBusiness) AsBasicCreativeWork() (BasicCreativeWork, bool)

AsBasicCreativeWork is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsBasicEntertainmentBusiness

func (lb LodgingBusiness) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool)

AsBasicEntertainmentBusiness is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsBasicFoodEstablishment

func (lb LodgingBusiness) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool)

AsBasicFoodEstablishment is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsBasicIdentifiable

func (lb LodgingBusiness) AsBasicIdentifiable() (BasicIdentifiable, bool)

AsBasicIdentifiable is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsBasicIntangible

func (lb LodgingBusiness) AsBasicIntangible() (BasicIntangible, bool)

AsBasicIntangible is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsBasicLocalBusiness

func (lb LodgingBusiness) AsBasicLocalBusiness() (BasicLocalBusiness, bool)

AsBasicLocalBusiness is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsBasicLodgingBusiness

func (lb LodgingBusiness) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool)

AsBasicLodgingBusiness is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsBasicMediaObject

func (lb LodgingBusiness) AsBasicMediaObject() (BasicMediaObject, bool)

AsBasicMediaObject is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsBasicPlace

func (lb LodgingBusiness) AsBasicPlace() (BasicPlace, bool)

AsBasicPlace is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsBasicResponse

func (lb LodgingBusiness) AsBasicResponse() (BasicResponse, bool)

AsBasicResponse is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsBasicResponseBase

func (lb LodgingBusiness) AsBasicResponseBase() (BasicResponseBase, bool)

AsBasicResponseBase is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsBasicSearchResultsAnswer

func (lb LodgingBusiness) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool)

AsBasicSearchResultsAnswer is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsBasicStructuredValue

func (lb LodgingBusiness) AsBasicStructuredValue() (BasicStructuredValue, bool)

AsBasicStructuredValue is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsBasicThing

func (lb LodgingBusiness) AsBasicThing() (BasicThing, bool)

AsBasicThing is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsCivicStructure

func (lb LodgingBusiness) AsCivicStructure() (*CivicStructure, bool)

AsCivicStructure is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsCreativeWork

func (lb LodgingBusiness) AsCreativeWork() (*CreativeWork, bool)

AsCreativeWork is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsEntertainmentBusiness

func (lb LodgingBusiness) AsEntertainmentBusiness() (*EntertainmentBusiness, bool)

AsEntertainmentBusiness is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsEntities

func (lb LodgingBusiness) AsEntities() (*Entities, bool)

AsEntities is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsErrorResponse

func (lb LodgingBusiness) AsErrorResponse() (*ErrorResponse, bool)

AsErrorResponse is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsFoodEstablishment

func (lb LodgingBusiness) AsFoodEstablishment() (*FoodEstablishment, bool)

AsFoodEstablishment is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsHotel

func (lb LodgingBusiness) AsHotel() (*Hotel, bool)

AsHotel is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsIdentifiable

func (lb LodgingBusiness) AsIdentifiable() (*Identifiable, bool)

AsIdentifiable is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsImageObject

func (lb LodgingBusiness) AsImageObject() (*ImageObject, bool)

AsImageObject is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsIntangible

func (lb LodgingBusiness) AsIntangible() (*Intangible, bool)

AsIntangible is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsLicense

func (lb LodgingBusiness) AsLicense() (*License, bool)

AsLicense is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsLocalBusiness

func (lb LodgingBusiness) AsLocalBusiness() (*LocalBusiness, bool)

AsLocalBusiness is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsLodgingBusiness

func (lb LodgingBusiness) AsLodgingBusiness() (*LodgingBusiness, bool)

AsLodgingBusiness is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsMediaObject

func (lb LodgingBusiness) AsMediaObject() (*MediaObject, bool)

AsMediaObject is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsMovieTheater

func (lb LodgingBusiness) AsMovieTheater() (*MovieTheater, bool)

AsMovieTheater is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsOrganization

func (lb LodgingBusiness) AsOrganization() (*Organization, bool)

AsOrganization is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsPlace

func (lb LodgingBusiness) AsPlace() (*Place, bool)

AsPlace is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsPlaces

func (lb LodgingBusiness) AsPlaces() (*Places, bool)

AsPlaces is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsPostalAddress

func (lb LodgingBusiness) AsPostalAddress() (*PostalAddress, bool)

AsPostalAddress is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsResponse

func (lb LodgingBusiness) AsResponse() (*Response, bool)

AsResponse is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsResponseBase

func (lb LodgingBusiness) AsResponseBase() (*ResponseBase, bool)

AsResponseBase is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsRestaurant

func (lb LodgingBusiness) AsRestaurant() (*Restaurant, bool)

AsRestaurant is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsSearchResponse

func (lb LodgingBusiness) AsSearchResponse() (*SearchResponse, bool)

AsSearchResponse is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsSearchResultsAnswer

func (lb LodgingBusiness) AsSearchResultsAnswer() (*SearchResultsAnswer, bool)

AsSearchResultsAnswer is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsStructuredValue

func (lb LodgingBusiness) AsStructuredValue() (*StructuredValue, bool)

AsStructuredValue is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsThing

func (lb LodgingBusiness) AsThing() (*Thing, bool)

AsThing is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) AsTouristAttraction

func (lb LodgingBusiness) AsTouristAttraction() (*TouristAttraction, bool)

AsTouristAttraction is the BasicResponseBase implementation for LodgingBusiness.

func (LodgingBusiness) MarshalJSON

func (lb LodgingBusiness) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LodgingBusiness.

func (*LodgingBusiness) UnmarshalJSON

func (lb *LodgingBusiness) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for LodgingBusiness struct.

type MediaObject

type MediaObject struct {
	// ContentURL - READ-ONLY; Original URL to retrieve the source (file) for the media object (e.g the source URL for the image).
	ContentURL *string `json:"contentUrl,omitempty"`
	// HostPageURL - READ-ONLY; URL of the page that hosts the media object.
	HostPageURL *string `json:"hostPageUrl,omitempty"`
	// Width - READ-ONLY; The width of the source media object, in pixels.
	Width *int32 `json:"width,omitempty"`
	// Height - READ-ONLY; The height of the source media object, in pixels.
	Height *int32 `json:"height,omitempty"`
	// 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"`
}

MediaObject ...

func (MediaObject) AsAirport

func (mo MediaObject) AsAirport() (*Airport, bool)

AsAirport is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsAnswer

func (mo MediaObject) AsAnswer() (*Answer, bool)

AsAnswer is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsBasicAnswer

func (mo MediaObject) AsBasicAnswer() (BasicAnswer, bool)

AsBasicAnswer is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsBasicCivicStructure

func (mo MediaObject) AsBasicCivicStructure() (BasicCivicStructure, bool)

AsBasicCivicStructure is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsBasicCreativeWork

func (mo MediaObject) AsBasicCreativeWork() (BasicCreativeWork, bool)

AsBasicCreativeWork is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsBasicEntertainmentBusiness

func (mo MediaObject) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool)

AsBasicEntertainmentBusiness is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsBasicFoodEstablishment

func (mo MediaObject) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool)

AsBasicFoodEstablishment is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsBasicIdentifiable

func (mo MediaObject) AsBasicIdentifiable() (BasicIdentifiable, bool)

AsBasicIdentifiable is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsBasicIntangible

func (mo MediaObject) AsBasicIntangible() (BasicIntangible, bool)

AsBasicIntangible is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsBasicLocalBusiness

func (mo MediaObject) AsBasicLocalBusiness() (BasicLocalBusiness, bool)

AsBasicLocalBusiness is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsBasicLodgingBusiness

func (mo MediaObject) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool)

AsBasicLodgingBusiness is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsBasicMediaObject

func (mo MediaObject) AsBasicMediaObject() (BasicMediaObject, bool)

AsBasicMediaObject is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsBasicPlace

func (mo MediaObject) AsBasicPlace() (BasicPlace, bool)

AsBasicPlace is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsBasicResponse

func (mo MediaObject) AsBasicResponse() (BasicResponse, bool)

AsBasicResponse is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsBasicResponseBase

func (mo MediaObject) AsBasicResponseBase() (BasicResponseBase, bool)

AsBasicResponseBase is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsBasicSearchResultsAnswer

func (mo MediaObject) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool)

AsBasicSearchResultsAnswer is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsBasicStructuredValue

func (mo MediaObject) AsBasicStructuredValue() (BasicStructuredValue, bool)

AsBasicStructuredValue is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsBasicThing

func (mo MediaObject) AsBasicThing() (BasicThing, bool)

AsBasicThing is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsCivicStructure

func (mo MediaObject) AsCivicStructure() (*CivicStructure, bool)

AsCivicStructure is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsCreativeWork

func (mo MediaObject) AsCreativeWork() (*CreativeWork, bool)

AsCreativeWork is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsEntertainmentBusiness

func (mo MediaObject) AsEntertainmentBusiness() (*EntertainmentBusiness, bool)

AsEntertainmentBusiness is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsEntities

func (mo MediaObject) AsEntities() (*Entities, bool)

AsEntities is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsErrorResponse

func (mo MediaObject) AsErrorResponse() (*ErrorResponse, bool)

AsErrorResponse is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsFoodEstablishment

func (mo MediaObject) AsFoodEstablishment() (*FoodEstablishment, bool)

AsFoodEstablishment is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsHotel

func (mo MediaObject) AsHotel() (*Hotel, bool)

AsHotel is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsIdentifiable

func (mo MediaObject) AsIdentifiable() (*Identifiable, bool)

AsIdentifiable is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsImageObject

func (mo MediaObject) AsImageObject() (*ImageObject, bool)

AsImageObject is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsIntangible

func (mo MediaObject) AsIntangible() (*Intangible, bool)

AsIntangible is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsLicense

func (mo MediaObject) AsLicense() (*License, bool)

AsLicense is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsLocalBusiness

func (mo MediaObject) AsLocalBusiness() (*LocalBusiness, bool)

AsLocalBusiness is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsLodgingBusiness

func (mo MediaObject) AsLodgingBusiness() (*LodgingBusiness, bool)

AsLodgingBusiness is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsMediaObject

func (mo MediaObject) AsMediaObject() (*MediaObject, bool)

AsMediaObject is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsMovieTheater

func (mo MediaObject) AsMovieTheater() (*MovieTheater, bool)

AsMovieTheater is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsOrganization

func (mo MediaObject) AsOrganization() (*Organization, bool)

AsOrganization is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsPlace

func (mo MediaObject) AsPlace() (*Place, bool)

AsPlace is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsPlaces

func (mo MediaObject) AsPlaces() (*Places, bool)

AsPlaces is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsPostalAddress

func (mo MediaObject) AsPostalAddress() (*PostalAddress, bool)

AsPostalAddress is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsResponse

func (mo MediaObject) AsResponse() (*Response, bool)

AsResponse is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsResponseBase

func (mo MediaObject) AsResponseBase() (*ResponseBase, bool)

AsResponseBase is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsRestaurant

func (mo MediaObject) AsRestaurant() (*Restaurant, bool)

AsRestaurant is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsSearchResponse

func (mo MediaObject) AsSearchResponse() (*SearchResponse, bool)

AsSearchResponse is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsSearchResultsAnswer

func (mo MediaObject) AsSearchResultsAnswer() (*SearchResultsAnswer, bool)

AsSearchResultsAnswer is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsStructuredValue

func (mo MediaObject) AsStructuredValue() (*StructuredValue, bool)

AsStructuredValue is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsThing

func (mo MediaObject) AsThing() (*Thing, bool)

AsThing is the BasicResponseBase implementation for MediaObject.

func (MediaObject) AsTouristAttraction

func (mo MediaObject) AsTouristAttraction() (*TouristAttraction, bool)

AsTouristAttraction is the BasicResponseBase implementation for MediaObject.

func (MediaObject) MarshalJSON

func (mo MediaObject) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MediaObject.

func (*MediaObject) UnmarshalJSON

func (mo *MediaObject) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MediaObject struct.

type MovieTheater

type MovieTheater struct {
	// ScreenCount - READ-ONLY
	ScreenCount *int32 `json:"screenCount,omitempty"`
	// 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"`
}

MovieTheater ...

func (MovieTheater) AsAirport

func (mt MovieTheater) AsAirport() (*Airport, bool)

AsAirport is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsAnswer

func (mt MovieTheater) AsAnswer() (*Answer, bool)

AsAnswer is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsBasicAnswer

func (mt MovieTheater) AsBasicAnswer() (BasicAnswer, bool)

AsBasicAnswer is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsBasicCivicStructure

func (mt MovieTheater) AsBasicCivicStructure() (BasicCivicStructure, bool)

AsBasicCivicStructure is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsBasicCreativeWork

func (mt MovieTheater) AsBasicCreativeWork() (BasicCreativeWork, bool)

AsBasicCreativeWork is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsBasicEntertainmentBusiness

func (mt MovieTheater) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool)

AsBasicEntertainmentBusiness is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsBasicFoodEstablishment

func (mt MovieTheater) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool)

AsBasicFoodEstablishment is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsBasicIdentifiable

func (mt MovieTheater) AsBasicIdentifiable() (BasicIdentifiable, bool)

AsBasicIdentifiable is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsBasicIntangible

func (mt MovieTheater) AsBasicIntangible() (BasicIntangible, bool)

AsBasicIntangible is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsBasicLocalBusiness

func (mt MovieTheater) AsBasicLocalBusiness() (BasicLocalBusiness, bool)

AsBasicLocalBusiness is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsBasicLodgingBusiness

func (mt MovieTheater) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool)

AsBasicLodgingBusiness is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsBasicMediaObject

func (mt MovieTheater) AsBasicMediaObject() (BasicMediaObject, bool)

AsBasicMediaObject is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsBasicPlace

func (mt MovieTheater) AsBasicPlace() (BasicPlace, bool)

AsBasicPlace is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsBasicResponse

func (mt MovieTheater) AsBasicResponse() (BasicResponse, bool)

AsBasicResponse is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsBasicResponseBase

func (mt MovieTheater) AsBasicResponseBase() (BasicResponseBase, bool)

AsBasicResponseBase is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsBasicSearchResultsAnswer

func (mt MovieTheater) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool)

AsBasicSearchResultsAnswer is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsBasicStructuredValue

func (mt MovieTheater) AsBasicStructuredValue() (BasicStructuredValue, bool)

AsBasicStructuredValue is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsBasicThing

func (mt MovieTheater) AsBasicThing() (BasicThing, bool)

AsBasicThing is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsCivicStructure

func (mt MovieTheater) AsCivicStructure() (*CivicStructure, bool)

AsCivicStructure is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsCreativeWork

func (mt MovieTheater) AsCreativeWork() (*CreativeWork, bool)

AsCreativeWork is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsEntertainmentBusiness

func (mt MovieTheater) AsEntertainmentBusiness() (*EntertainmentBusiness, bool)

AsEntertainmentBusiness is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsEntities

func (mt MovieTheater) AsEntities() (*Entities, bool)

AsEntities is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsErrorResponse

func (mt MovieTheater) AsErrorResponse() (*ErrorResponse, bool)

AsErrorResponse is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsFoodEstablishment

func (mt MovieTheater) AsFoodEstablishment() (*FoodEstablishment, bool)

AsFoodEstablishment is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsHotel

func (mt MovieTheater) AsHotel() (*Hotel, bool)

AsHotel is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsIdentifiable

func (mt MovieTheater) AsIdentifiable() (*Identifiable, bool)

AsIdentifiable is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsImageObject

func (mt MovieTheater) AsImageObject() (*ImageObject, bool)

AsImageObject is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsIntangible

func (mt MovieTheater) AsIntangible() (*Intangible, bool)

AsIntangible is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsLicense

func (mt MovieTheater) AsLicense() (*License, bool)

AsLicense is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsLocalBusiness

func (mt MovieTheater) AsLocalBusiness() (*LocalBusiness, bool)

AsLocalBusiness is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsLodgingBusiness

func (mt MovieTheater) AsLodgingBusiness() (*LodgingBusiness, bool)

AsLodgingBusiness is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsMediaObject

func (mt MovieTheater) AsMediaObject() (*MediaObject, bool)

AsMediaObject is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsMovieTheater

func (mt MovieTheater) AsMovieTheater() (*MovieTheater, bool)

AsMovieTheater is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsOrganization

func (mt MovieTheater) AsOrganization() (*Organization, bool)

AsOrganization is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsPlace

func (mt MovieTheater) AsPlace() (*Place, bool)

AsPlace is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsPlaces

func (mt MovieTheater) AsPlaces() (*Places, bool)

AsPlaces is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsPostalAddress

func (mt MovieTheater) AsPostalAddress() (*PostalAddress, bool)

AsPostalAddress is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsResponse

func (mt MovieTheater) AsResponse() (*Response, bool)

AsResponse is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsResponseBase

func (mt MovieTheater) AsResponseBase() (*ResponseBase, bool)

AsResponseBase is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsRestaurant

func (mt MovieTheater) AsRestaurant() (*Restaurant, bool)

AsRestaurant is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsSearchResponse

func (mt MovieTheater) AsSearchResponse() (*SearchResponse, bool)

AsSearchResponse is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsSearchResultsAnswer

func (mt MovieTheater) AsSearchResultsAnswer() (*SearchResultsAnswer, bool)

AsSearchResultsAnswer is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsStructuredValue

func (mt MovieTheater) AsStructuredValue() (*StructuredValue, bool)

AsStructuredValue is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsThing

func (mt MovieTheater) AsThing() (*Thing, bool)

AsThing is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) AsTouristAttraction

func (mt MovieTheater) AsTouristAttraction() (*TouristAttraction, bool)

AsTouristAttraction is the BasicResponseBase implementation for MovieTheater.

func (MovieTheater) MarshalJSON

func (mt MovieTheater) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MovieTheater.

func (*MovieTheater) UnmarshalJSON

func (mt *MovieTheater) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MovieTheater struct.

type Organization

type Organization struct {
	// 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"`
}

Organization defines an organization.

func (Organization) AsAirport

func (o Organization) AsAirport() (*Airport, bool)

AsAirport is the BasicResponseBase implementation for Organization.

func (Organization) AsAnswer

func (o Organization) AsAnswer() (*Answer, bool)

AsAnswer is the BasicResponseBase implementation for Organization.

func (Organization) AsBasicAnswer

func (o Organization) AsBasicAnswer() (BasicAnswer, bool)

AsBasicAnswer is the BasicResponseBase implementation for Organization.

func (Organization) AsBasicCivicStructure

func (o Organization) AsBasicCivicStructure() (BasicCivicStructure, bool)

AsBasicCivicStructure is the BasicResponseBase implementation for Organization.

func (Organization) AsBasicCreativeWork

func (o Organization) AsBasicCreativeWork() (BasicCreativeWork, bool)

AsBasicCreativeWork is the BasicResponseBase implementation for Organization.

func (Organization) AsBasicEntertainmentBusiness

func (o Organization) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool)

AsBasicEntertainmentBusiness is the BasicResponseBase implementation for Organization.

func (Organization) AsBasicFoodEstablishment

func (o Organization) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool)

AsBasicFoodEstablishment is the BasicResponseBase implementation for Organization.

func (Organization) AsBasicIdentifiable

func (o Organization) AsBasicIdentifiable() (BasicIdentifiable, bool)

AsBasicIdentifiable is the BasicResponseBase implementation for Organization.

func (Organization) AsBasicIntangible

func (o Organization) AsBasicIntangible() (BasicIntangible, bool)

AsBasicIntangible is the BasicResponseBase implementation for Organization.

func (Organization) AsBasicLocalBusiness

func (o Organization) AsBasicLocalBusiness() (BasicLocalBusiness, bool)

AsBasicLocalBusiness is the BasicResponseBase implementation for Organization.

func (Organization) AsBasicLodgingBusiness

func (o Organization) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool)

AsBasicLodgingBusiness is the BasicResponseBase implementation for Organization.

func (Organization) AsBasicMediaObject

func (o Organization) AsBasicMediaObject() (BasicMediaObject, bool)

AsBasicMediaObject is the BasicResponseBase implementation for Organization.

func (Organization) AsBasicPlace

func (o Organization) AsBasicPlace() (BasicPlace, bool)

AsBasicPlace is the BasicResponseBase implementation for Organization.

func (Organization) AsBasicResponse

func (o Organization) AsBasicResponse() (BasicResponse, bool)

AsBasicResponse is the BasicResponseBase implementation for Organization.

func (Organization) AsBasicResponseBase

func (o Organization) AsBasicResponseBase() (BasicResponseBase, bool)

AsBasicResponseBase is the BasicResponseBase implementation for Organization.

func (Organization) AsBasicSearchResultsAnswer

func (o Organization) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool)

AsBasicSearchResultsAnswer is the BasicResponseBase implementation for Organization.

func (Organization) AsBasicStructuredValue

func (o Organization) AsBasicStructuredValue() (BasicStructuredValue, bool)

AsBasicStructuredValue is the BasicResponseBase implementation for Organization.

func (Organization) AsBasicThing

func (o Organization) AsBasicThing() (BasicThing, bool)

AsBasicThing is the BasicResponseBase implementation for Organization.

func (Organization) AsCivicStructure

func (o Organization) AsCivicStructure() (*CivicStructure, bool)

AsCivicStructure is the BasicResponseBase implementation for Organization.

func (Organization) AsCreativeWork

func (o Organization) AsCreativeWork() (*CreativeWork, bool)

AsCreativeWork is the BasicResponseBase implementation for Organization.

func (Organization) AsEntertainmentBusiness

func (o Organization) AsEntertainmentBusiness() (*EntertainmentBusiness, bool)

AsEntertainmentBusiness is the BasicResponseBase implementation for Organization.

func (Organization) AsEntities

func (o Organization) AsEntities() (*Entities, bool)

AsEntities is the BasicResponseBase implementation for Organization.

func (Organization) AsErrorResponse

func (o Organization) AsErrorResponse() (*ErrorResponse, bool)

AsErrorResponse is the BasicResponseBase implementation for Organization.

func (Organization) AsFoodEstablishment

func (o Organization) AsFoodEstablishment() (*FoodEstablishment, bool)

AsFoodEstablishment is the BasicResponseBase implementation for Organization.

func (Organization) AsHotel

func (o Organization) AsHotel() (*Hotel, bool)

AsHotel is the BasicResponseBase implementation for Organization.

func (Organization) AsIdentifiable

func (o Organization) AsIdentifiable() (*Identifiable, bool)

AsIdentifiable is the BasicResponseBase implementation for Organization.

func (Organization) AsImageObject

func (o Organization) AsImageObject() (*ImageObject, bool)

AsImageObject is the BasicResponseBase implementation for Organization.

func (Organization) AsIntangible

func (o Organization) AsIntangible() (*Intangible, bool)

AsIntangible is the BasicResponseBase implementation for Organization.

func (Organization) AsLicense

func (o Organization) AsLicense() (*License, bool)

AsLicense is the BasicResponseBase implementation for Organization.

func (Organization) AsLocalBusiness

func (o Organization) AsLocalBusiness() (*LocalBusiness, bool)

AsLocalBusiness is the BasicResponseBase implementation for Organization.

func (Organization) AsLodgingBusiness

func (o Organization) AsLodgingBusiness() (*LodgingBusiness, bool)

AsLodgingBusiness is the BasicResponseBase implementation for Organization.

func (Organization) AsMediaObject

func (o Organization) AsMediaObject() (*MediaObject, bool)

AsMediaObject is the BasicResponseBase implementation for Organization.

func (Organization) AsMovieTheater

func (o Organization) AsMovieTheater() (*MovieTheater, bool)

AsMovieTheater is the BasicResponseBase implementation for Organization.

func (Organization) AsOrganization

func (o Organization) AsOrganization() (*Organization, bool)

AsOrganization is the BasicResponseBase implementation for Organization.

func (Organization) AsPlace

func (o Organization) AsPlace() (*Place, bool)

AsPlace is the BasicResponseBase implementation for Organization.

func (Organization) AsPlaces

func (o Organization) AsPlaces() (*Places, bool)

AsPlaces is the BasicResponseBase implementation for Organization.

func (Organization) AsPostalAddress

func (o Organization) AsPostalAddress() (*PostalAddress, bool)

AsPostalAddress is the BasicResponseBase implementation for Organization.

func (Organization) AsResponse

func (o Organization) AsResponse() (*Response, bool)

AsResponse is the BasicResponseBase implementation for Organization.

func (Organization) AsResponseBase

func (o Organization) AsResponseBase() (*ResponseBase, bool)

AsResponseBase is the BasicResponseBase implementation for Organization.

func (Organization) AsRestaurant

func (o Organization) AsRestaurant() (*Restaurant, bool)

AsRestaurant is the BasicResponseBase implementation for Organization.

func (Organization) AsSearchResponse

func (o Organization) AsSearchResponse() (*SearchResponse, bool)

AsSearchResponse is the BasicResponseBase implementation for Organization.

func (Organization) AsSearchResultsAnswer

func (o Organization) AsSearchResultsAnswer() (*SearchResultsAnswer, bool)

AsSearchResultsAnswer is the BasicResponseBase implementation for Organization.

func (Organization) AsStructuredValue

func (o Organization) AsStructuredValue() (*StructuredValue, bool)

AsStructuredValue is the BasicResponseBase implementation for Organization.

func (Organization) AsThing

func (o Organization) AsThing() (*Thing, bool)

AsThing is the BasicResponseBase implementation for Organization.

func (Organization) AsTouristAttraction

func (o Organization) AsTouristAttraction() (*TouristAttraction, bool)

AsTouristAttraction is the BasicResponseBase implementation for Organization.

func (Organization) MarshalJSON

func (o Organization) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Organization.

func (*Organization) UnmarshalJSON

func (o *Organization) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Organization struct.

type Place

type Place 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"`
}

Place defines information about a local entity, such as a restaurant or hotel.

func (Place) AsAirport

func (p Place) AsAirport() (*Airport, bool)

AsAirport is the BasicResponseBase implementation for Place.

func (Place) AsAnswer

func (p Place) AsAnswer() (*Answer, bool)

AsAnswer is the BasicResponseBase implementation for Place.

func (Place) AsBasicAnswer

func (p Place) AsBasicAnswer() (BasicAnswer, bool)

AsBasicAnswer is the BasicResponseBase implementation for Place.

func (Place) AsBasicCivicStructure

func (p Place) AsBasicCivicStructure() (BasicCivicStructure, bool)

AsBasicCivicStructure is the BasicResponseBase implementation for Place.

func (Place) AsBasicCreativeWork

func (p Place) AsBasicCreativeWork() (BasicCreativeWork, bool)

AsBasicCreativeWork is the BasicResponseBase implementation for Place.

func (Place) AsBasicEntertainmentBusiness

func (p Place) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool)

AsBasicEntertainmentBusiness is the BasicResponseBase implementation for Place.

func (Place) AsBasicFoodEstablishment

func (p Place) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool)

AsBasicFoodEstablishment is the BasicResponseBase implementation for Place.

func (Place) AsBasicIdentifiable

func (p Place) AsBasicIdentifiable() (BasicIdentifiable, bool)

AsBasicIdentifiable is the BasicResponseBase implementation for Place.

func (Place) AsBasicIntangible

func (p Place) AsBasicIntangible() (BasicIntangible, bool)

AsBasicIntangible is the BasicResponseBase implementation for Place.

func (Place) AsBasicLocalBusiness

func (p Place) AsBasicLocalBusiness() (BasicLocalBusiness, bool)

AsBasicLocalBusiness is the BasicResponseBase implementation for Place.

func (Place) AsBasicLodgingBusiness

func (p Place) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool)

AsBasicLodgingBusiness is the BasicResponseBase implementation for Place.

func (Place) AsBasicMediaObject

func (p Place) AsBasicMediaObject() (BasicMediaObject, bool)

AsBasicMediaObject is the BasicResponseBase implementation for Place.

func (Place) AsBasicPlace

func (p Place) AsBasicPlace() (BasicPlace, bool)

AsBasicPlace is the BasicResponseBase implementation for Place.

func (Place) AsBasicResponse

func (p Place) AsBasicResponse() (BasicResponse, bool)

AsBasicResponse is the BasicResponseBase implementation for Place.

func (Place) AsBasicResponseBase

func (p Place) AsBasicResponseBase() (BasicResponseBase, bool)

AsBasicResponseBase is the BasicResponseBase implementation for Place.

func (Place) AsBasicSearchResultsAnswer

func (p Place) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool)

AsBasicSearchResultsAnswer is the BasicResponseBase implementation for Place.

func (Place) AsBasicStructuredValue

func (p Place) AsBasicStructuredValue() (BasicStructuredValue, bool)

AsBasicStructuredValue is the BasicResponseBase implementation for Place.

func (Place) AsBasicThing

func (p Place) AsBasicThing() (BasicThing, bool)

AsBasicThing is the BasicResponseBase implementation for Place.

func (Place) AsCivicStructure

func (p Place) AsCivicStructure() (*CivicStructure, bool)

AsCivicStructure is the BasicResponseBase implementation for Place.

func (Place) AsCreativeWork

func (p Place) AsCreativeWork() (*CreativeWork, bool)

AsCreativeWork is the BasicResponseBase implementation for Place.

func (Place) AsEntertainmentBusiness

func (p Place) AsEntertainmentBusiness() (*EntertainmentBusiness, bool)

AsEntertainmentBusiness is the BasicResponseBase implementation for Place.

func (Place) AsEntities

func (p Place) AsEntities() (*Entities, bool)

AsEntities is the BasicResponseBase implementation for Place.

func (Place) AsErrorResponse

func (p Place) AsErrorResponse() (*ErrorResponse, bool)

AsErrorResponse is the BasicResponseBase implementation for Place.

func (Place) AsFoodEstablishment

func (p Place) AsFoodEstablishment() (*FoodEstablishment, bool)

AsFoodEstablishment is the BasicResponseBase implementation for Place.

func (Place) AsHotel

func (p Place) AsHotel() (*Hotel, bool)

AsHotel is the BasicResponseBase implementation for Place.

func (Place) AsIdentifiable

func (p Place) AsIdentifiable() (*Identifiable, bool)

AsIdentifiable is the BasicResponseBase implementation for Place.

func (Place) AsImageObject

func (p Place) AsImageObject() (*ImageObject, bool)

AsImageObject is the BasicResponseBase implementation for Place.

func (Place) AsIntangible

func (p Place) AsIntangible() (*Intangible, bool)

AsIntangible is the BasicResponseBase implementation for Place.

func (Place) AsLicense

func (p Place) AsLicense() (*License, bool)

AsLicense is the BasicResponseBase implementation for Place.

func (Place) AsLocalBusiness

func (p Place) AsLocalBusiness() (*LocalBusiness, bool)

AsLocalBusiness is the BasicResponseBase implementation for Place.

func (Place) AsLodgingBusiness

func (p Place) AsLodgingBusiness() (*LodgingBusiness, bool)

AsLodgingBusiness is the BasicResponseBase implementation for Place.

func (Place) AsMediaObject

func (p Place) AsMediaObject() (*MediaObject, bool)

AsMediaObject is the BasicResponseBase implementation for Place.

func (Place) AsMovieTheater

func (p Place) AsMovieTheater() (*MovieTheater, bool)

AsMovieTheater is the BasicResponseBase implementation for Place.

func (Place) AsOrganization

func (p Place) AsOrganization() (*Organization, bool)

AsOrganization is the BasicResponseBase implementation for Place.

func (Place) AsPlace

func (p Place) AsPlace() (*Place, bool)

AsPlace is the BasicResponseBase implementation for Place.

func (Place) AsPlaces

func (p Place) AsPlaces() (*Places, bool)

AsPlaces is the BasicResponseBase implementation for Place.

func (Place) AsPostalAddress

func (p Place) AsPostalAddress() (*PostalAddress, bool)

AsPostalAddress is the BasicResponseBase implementation for Place.

func (Place) AsResponse

func (p Place) AsResponse() (*Response, bool)

AsResponse is the BasicResponseBase implementation for Place.

func (Place) AsResponseBase

func (p Place) AsResponseBase() (*ResponseBase, bool)

AsResponseBase is the BasicResponseBase implementation for Place.

func (Place) AsRestaurant

func (p Place) AsRestaurant() (*Restaurant, bool)

AsRestaurant is the BasicResponseBase implementation for Place.

func (Place) AsSearchResponse

func (p Place) AsSearchResponse() (*SearchResponse, bool)

AsSearchResponse is the BasicResponseBase implementation for Place.

func (Place) AsSearchResultsAnswer

func (p Place) AsSearchResultsAnswer() (*SearchResultsAnswer, bool)

AsSearchResultsAnswer is the BasicResponseBase implementation for Place.

func (Place) AsStructuredValue

func (p Place) AsStructuredValue() (*StructuredValue, bool)

AsStructuredValue is the BasicResponseBase implementation for Place.

func (Place) AsThing

func (p Place) AsThing() (*Thing, bool)

AsThing is the BasicResponseBase implementation for Place.

func (Place) AsTouristAttraction

func (p Place) AsTouristAttraction() (*TouristAttraction, bool)

AsTouristAttraction is the BasicResponseBase implementation for Place.

func (Place) MarshalJSON

func (p Place) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Place.

func (*Place) UnmarshalJSON

func (p *Place) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Place struct.

type Places

type Places struct {
	// Value - A list of local entities, such as restaurants or hotels.
	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"`
}

Places defines a local entity answer.

func (Places) AsAirport

func (p Places) AsAirport() (*Airport, bool)

AsAirport is the BasicResponseBase implementation for Places.

func (Places) AsAnswer

func (p Places) AsAnswer() (*Answer, bool)

AsAnswer is the BasicResponseBase implementation for Places.

func (Places) AsBasicAnswer

func (p Places) AsBasicAnswer() (BasicAnswer, bool)

AsBasicAnswer is the BasicResponseBase implementation for Places.

func (Places) AsBasicCivicStructure

func (p Places) AsBasicCivicStructure() (BasicCivicStructure, bool)

AsBasicCivicStructure is the BasicResponseBase implementation for Places.

func (Places) AsBasicCreativeWork

func (p Places) AsBasicCreativeWork() (BasicCreativeWork, bool)

AsBasicCreativeWork is the BasicResponseBase implementation for Places.

func (Places) AsBasicEntertainmentBusiness

func (p Places) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool)

AsBasicEntertainmentBusiness is the BasicResponseBase implementation for Places.

func (Places) AsBasicFoodEstablishment

func (p Places) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool)

AsBasicFoodEstablishment is the BasicResponseBase implementation for Places.

func (Places) AsBasicIdentifiable

func (p Places) AsBasicIdentifiable() (BasicIdentifiable, bool)

AsBasicIdentifiable is the BasicResponseBase implementation for Places.

func (Places) AsBasicIntangible

func (p Places) AsBasicIntangible() (BasicIntangible, bool)

AsBasicIntangible is the BasicResponseBase implementation for Places.

func (Places) AsBasicLocalBusiness

func (p Places) AsBasicLocalBusiness() (BasicLocalBusiness, bool)

AsBasicLocalBusiness is the BasicResponseBase implementation for Places.

func (Places) AsBasicLodgingBusiness

func (p Places) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool)

AsBasicLodgingBusiness is the BasicResponseBase implementation for Places.

func (Places) AsBasicMediaObject

func (p Places) AsBasicMediaObject() (BasicMediaObject, bool)

AsBasicMediaObject is the BasicResponseBase implementation for Places.

func (Places) AsBasicPlace

func (p Places) AsBasicPlace() (BasicPlace, bool)

AsBasicPlace is the BasicResponseBase implementation for Places.

func (Places) AsBasicResponse

func (p Places) AsBasicResponse() (BasicResponse, bool)

AsBasicResponse is the BasicResponseBase implementation for Places.

func (Places) AsBasicResponseBase

func (p Places) AsBasicResponseBase() (BasicResponseBase, bool)

AsBasicResponseBase is the BasicResponseBase implementation for Places.

func (Places) AsBasicSearchResultsAnswer

func (p Places) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool)

AsBasicSearchResultsAnswer is the BasicResponseBase implementation for Places.

func (Places) AsBasicStructuredValue

func (p Places) AsBasicStructuredValue() (BasicStructuredValue, bool)

AsBasicStructuredValue is the BasicResponseBase implementation for Places.

func (Places) AsBasicThing

func (p Places) AsBasicThing() (BasicThing, bool)

AsBasicThing is the BasicResponseBase implementation for Places.

func (Places) AsCivicStructure

func (p Places) AsCivicStructure() (*CivicStructure, bool)

AsCivicStructure is the BasicResponseBase implementation for Places.

func (Places) AsCreativeWork

func (p Places) AsCreativeWork() (*CreativeWork, bool)

AsCreativeWork is the BasicResponseBase implementation for Places.

func (Places) AsEntertainmentBusiness

func (p Places) AsEntertainmentBusiness() (*EntertainmentBusiness, bool)

AsEntertainmentBusiness is the BasicResponseBase implementation for Places.

func (Places) AsEntities

func (p Places) AsEntities() (*Entities, bool)

AsEntities is the BasicResponseBase implementation for Places.

func (Places) AsErrorResponse

func (p Places) AsErrorResponse() (*ErrorResponse, bool)

AsErrorResponse is the BasicResponseBase implementation for Places.

func (Places) AsFoodEstablishment

func (p Places) AsFoodEstablishment() (*FoodEstablishment, bool)

AsFoodEstablishment is the BasicResponseBase implementation for Places.

func (Places) AsHotel

func (p Places) AsHotel() (*Hotel, bool)

AsHotel is the BasicResponseBase implementation for Places.

func (Places) AsIdentifiable

func (p Places) AsIdentifiable() (*Identifiable, bool)

AsIdentifiable is the BasicResponseBase implementation for Places.

func (Places) AsImageObject

func (p Places) AsImageObject() (*ImageObject, bool)

AsImageObject is the BasicResponseBase implementation for Places.

func (Places) AsIntangible

func (p Places) AsIntangible() (*Intangible, bool)

AsIntangible is the BasicResponseBase implementation for Places.

func (Places) AsLicense

func (p Places) AsLicense() (*License, bool)

AsLicense is the BasicResponseBase implementation for Places.

func (Places) AsLocalBusiness

func (p Places) AsLocalBusiness() (*LocalBusiness, bool)

AsLocalBusiness is the BasicResponseBase implementation for Places.

func (Places) AsLodgingBusiness

func (p Places) AsLodgingBusiness() (*LodgingBusiness, bool)

AsLodgingBusiness is the BasicResponseBase implementation for Places.

func (Places) AsMediaObject

func (p Places) AsMediaObject() (*MediaObject, bool)

AsMediaObject is the BasicResponseBase implementation for Places.

func (Places) AsMovieTheater

func (p Places) AsMovieTheater() (*MovieTheater, bool)

AsMovieTheater is the BasicResponseBase implementation for Places.

func (Places) AsOrganization

func (p Places) AsOrganization() (*Organization, bool)

AsOrganization is the BasicResponseBase implementation for Places.

func (Places) AsPlace

func (p Places) AsPlace() (*Place, bool)

AsPlace is the BasicResponseBase implementation for Places.

func (Places) AsPlaces

func (p Places) AsPlaces() (*Places, bool)

AsPlaces is the BasicResponseBase implementation for Places.

func (Places) AsPostalAddress

func (p Places) AsPostalAddress() (*PostalAddress, bool)

AsPostalAddress is the BasicResponseBase implementation for Places.

func (Places) AsResponse

func (p Places) AsResponse() (*Response, bool)

AsResponse is the BasicResponseBase implementation for Places.

func (Places) AsResponseBase

func (p Places) AsResponseBase() (*ResponseBase, bool)

AsResponseBase is the BasicResponseBase implementation for Places.

func (Places) AsRestaurant

func (p Places) AsRestaurant() (*Restaurant, bool)

AsRestaurant is the BasicResponseBase implementation for Places.

func (Places) AsSearchResponse

func (p Places) AsSearchResponse() (*SearchResponse, bool)

AsSearchResponse is the BasicResponseBase implementation for Places.

func (Places) AsSearchResultsAnswer

func (p Places) AsSearchResultsAnswer() (*SearchResultsAnswer, bool)

AsSearchResultsAnswer is the BasicResponseBase implementation for Places.

func (Places) AsStructuredValue

func (p Places) AsStructuredValue() (*StructuredValue, bool)

AsStructuredValue is the BasicResponseBase implementation for Places.

func (Places) AsThing

func (p Places) AsThing() (*Thing, bool)

AsThing is the BasicResponseBase implementation for Places.

func (Places) AsTouristAttraction

func (p Places) AsTouristAttraction() (*TouristAttraction, bool)

AsTouristAttraction is the BasicResponseBase implementation for Places.

func (Places) MarshalJSON

func (p Places) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Places.

func (*Places) UnmarshalJSON

func (p *Places) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Places struct.

type PostalAddress

type PostalAddress struct {
	// StreetAddress - READ-ONLY
	StreetAddress *string `json:"streetAddress,omitempty"`
	// AddressLocality - READ-ONLY; The city where the street address is located. For example, Seattle.
	AddressLocality *string `json:"addressLocality,omitempty"`
	// AddressSubregion - READ-ONLY
	AddressSubregion *string `json:"addressSubregion,omitempty"`
	// AddressRegion - READ-ONLY; The state or province code where the street address is located. This could be the two-letter code. For example, WA, or the full name , Washington.
	AddressRegion *string `json:"addressRegion,omitempty"`
	// PostalCode - READ-ONLY; The zip code or postal code where the street address is located. For example, 98052.
	PostalCode *string `json:"postalCode,omitempty"`
	// PostOfficeBoxNumber - READ-ONLY
	PostOfficeBoxNumber *string `json:"postOfficeBoxNumber,omitempty"`
	// AddressCountry - READ-ONLY; The country/region where the street address is located. This could be the two-letter ISO code. For example, US, or the full name, United States.
	AddressCountry *string `json:"addressCountry,omitempty"`
	// CountryIso - READ-ONLY; The two letter ISO code of this country. For example, US.
	CountryIso *string `json:"countryIso,omitempty"`
	// Neighborhood - READ-ONLY; The neighborhood where the street address is located. For example, Westlake.
	Neighborhood *string `json:"neighborhood,omitempty"`
	// AddressRegionAbbreviation - READ-ONLY; Region Abbreviation. For example, WA.
	AddressRegionAbbreviation *string `json:"addressRegionAbbreviation,omitempty"`
	// Text - READ-ONLY; The complete address. For example, 2100 Westlake Ave N, Bellevue, WA 98052.
	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"`
}

PostalAddress defines a postal address.

func (PostalAddress) AsAirport

func (pa PostalAddress) AsAirport() (*Airport, bool)

AsAirport is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsAnswer

func (pa PostalAddress) AsAnswer() (*Answer, bool)

AsAnswer is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsBasicAnswer

func (pa PostalAddress) AsBasicAnswer() (BasicAnswer, bool)

AsBasicAnswer is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsBasicCivicStructure

func (pa PostalAddress) AsBasicCivicStructure() (BasicCivicStructure, bool)

AsBasicCivicStructure is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsBasicCreativeWork

func (pa PostalAddress) AsBasicCreativeWork() (BasicCreativeWork, bool)

AsBasicCreativeWork is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsBasicEntertainmentBusiness

func (pa PostalAddress) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool)

AsBasicEntertainmentBusiness is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsBasicFoodEstablishment

func (pa PostalAddress) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool)

AsBasicFoodEstablishment is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsBasicIdentifiable

func (pa PostalAddress) AsBasicIdentifiable() (BasicIdentifiable, bool)

AsBasicIdentifiable is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsBasicIntangible

func (pa PostalAddress) AsBasicIntangible() (BasicIntangible, bool)

AsBasicIntangible is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsBasicLocalBusiness

func (pa PostalAddress) AsBasicLocalBusiness() (BasicLocalBusiness, bool)

AsBasicLocalBusiness is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsBasicLodgingBusiness

func (pa PostalAddress) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool)

AsBasicLodgingBusiness is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsBasicMediaObject

func (pa PostalAddress) AsBasicMediaObject() (BasicMediaObject, bool)

AsBasicMediaObject is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsBasicPlace

func (pa PostalAddress) AsBasicPlace() (BasicPlace, bool)

AsBasicPlace is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsBasicResponse

func (pa PostalAddress) AsBasicResponse() (BasicResponse, bool)

AsBasicResponse is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsBasicResponseBase

func (pa PostalAddress) AsBasicResponseBase() (BasicResponseBase, bool)

AsBasicResponseBase is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsBasicSearchResultsAnswer

func (pa PostalAddress) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool)

AsBasicSearchResultsAnswer is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsBasicStructuredValue

func (pa PostalAddress) AsBasicStructuredValue() (BasicStructuredValue, bool)

AsBasicStructuredValue is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsBasicThing

func (pa PostalAddress) AsBasicThing() (BasicThing, bool)

AsBasicThing is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsCivicStructure

func (pa PostalAddress) AsCivicStructure() (*CivicStructure, bool)

AsCivicStructure is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsCreativeWork

func (pa PostalAddress) AsCreativeWork() (*CreativeWork, bool)

AsCreativeWork is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsEntertainmentBusiness

func (pa PostalAddress) AsEntertainmentBusiness() (*EntertainmentBusiness, bool)

AsEntertainmentBusiness is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsEntities

func (pa PostalAddress) AsEntities() (*Entities, bool)

AsEntities is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsErrorResponse

func (pa PostalAddress) AsErrorResponse() (*ErrorResponse, bool)

AsErrorResponse is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsFoodEstablishment

func (pa PostalAddress) AsFoodEstablishment() (*FoodEstablishment, bool)

AsFoodEstablishment is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsHotel

func (pa PostalAddress) AsHotel() (*Hotel, bool)

AsHotel is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsIdentifiable

func (pa PostalAddress) AsIdentifiable() (*Identifiable, bool)

AsIdentifiable is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsImageObject

func (pa PostalAddress) AsImageObject() (*ImageObject, bool)

AsImageObject is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsIntangible

func (pa PostalAddress) AsIntangible() (*Intangible, bool)

AsIntangible is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsLicense

func (pa PostalAddress) AsLicense() (*License, bool)

AsLicense is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsLocalBusiness

func (pa PostalAddress) AsLocalBusiness() (*LocalBusiness, bool)

AsLocalBusiness is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsLodgingBusiness

func (pa PostalAddress) AsLodgingBusiness() (*LodgingBusiness, bool)

AsLodgingBusiness is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsMediaObject

func (pa PostalAddress) AsMediaObject() (*MediaObject, bool)

AsMediaObject is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsMovieTheater

func (pa PostalAddress) AsMovieTheater() (*MovieTheater, bool)

AsMovieTheater is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsOrganization

func (pa PostalAddress) AsOrganization() (*Organization, bool)

AsOrganization is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsPlace

func (pa PostalAddress) AsPlace() (*Place, bool)

AsPlace is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsPlaces

func (pa PostalAddress) AsPlaces() (*Places, bool)

AsPlaces is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsPostalAddress

func (pa PostalAddress) AsPostalAddress() (*PostalAddress, bool)

AsPostalAddress is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsResponse

func (pa PostalAddress) AsResponse() (*Response, bool)

AsResponse is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsResponseBase

func (pa PostalAddress) AsResponseBase() (*ResponseBase, bool)

AsResponseBase is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsRestaurant

func (pa PostalAddress) AsRestaurant() (*Restaurant, bool)

AsRestaurant is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsSearchResponse

func (pa PostalAddress) AsSearchResponse() (*SearchResponse, bool)

AsSearchResponse is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsSearchResultsAnswer

func (pa PostalAddress) AsSearchResultsAnswer() (*SearchResultsAnswer, bool)

AsSearchResultsAnswer is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsStructuredValue

func (pa PostalAddress) AsStructuredValue() (*StructuredValue, bool)

AsStructuredValue is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsThing

func (pa PostalAddress) AsThing() (*Thing, bool)

AsThing is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) AsTouristAttraction

func (pa PostalAddress) AsTouristAttraction() (*TouristAttraction, bool)

AsTouristAttraction is the BasicResponseBase implementation for PostalAddress.

func (PostalAddress) MarshalJSON

func (pa PostalAddress) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PostalAddress.

func (*PostalAddress) UnmarshalJSON

func (pa *PostalAddress) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PostalAddress struct.

type QueryContext

type QueryContext struct {
	// OriginalQuery - The query string as specified in the request.
	OriginalQuery *string `json:"originalQuery,omitempty"`
	// AlteredQuery - READ-ONLY; The query string used by Bing to perform the query. Bing uses the altered query string if the original query string contained spelling mistakes. For example, if the query string is "saling downwind", the altered query string will be "sailing downwind". This field is included only if the original query string contains a spelling mistake.
	AlteredQuery *string `json:"alteredQuery,omitempty"`
	// AlterationOverrideQuery - READ-ONLY; The query string to use to force Bing to use the original string. For example, if the query string is "saling downwind", the override query string will be "+saling downwind". Remember to encode the query string which results in "%2Bsaling+downwind". This field is included only if the original query string contains a spelling mistake.
	AlterationOverrideQuery *string `json:"alterationOverrideQuery,omitempty"`
	// AdultIntent - READ-ONLY; A Boolean value that indicates whether the specified query has adult intent. The value is true if the query has adult intent; otherwise, false.
	AdultIntent *bool `json:"adultIntent,omitempty"`
	// AskUserForLocation - READ-ONLY; A Boolean value that indicates whether Bing requires the user's location to provide accurate results. If you specified the user's location by using the X-MSEdge-ClientIP and X-Search-Location headers, you can ignore this field. For location aware queries, such as "today's weather" or "restaurants near me" that need the user's location to provide accurate results, this field is set to true. For location aware queries that include the location (for example, "Seattle weather"), this field is set to false. This field is also set to false for queries that are not location aware, such as "best sellers".
	AskUserForLocation *bool `json:"askUserForLocation,omitempty"`
}

QueryContext defines the query context that Bing used for the request.

func (QueryContext) MarshalJSON

func (qc QueryContext) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for QueryContext.

type Response

type Response 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"`
}

Response defines a response. All schemas that could be returned at the root of a response should inherit from this

func (Response) AsAirport

func (r Response) AsAirport() (*Airport, bool)

AsAirport is the BasicResponseBase implementation for Response.

func (Response) AsAnswer

func (r Response) AsAnswer() (*Answer, bool)

AsAnswer is the BasicResponseBase implementation for Response.

func (Response) AsBasicAnswer

func (r Response) AsBasicAnswer() (BasicAnswer, bool)

AsBasicAnswer is the BasicResponseBase implementation for Response.

func (Response) AsBasicCivicStructure

func (r Response) AsBasicCivicStructure() (BasicCivicStructure, bool)

AsBasicCivicStructure is the BasicResponseBase implementation for Response.

func (Response) AsBasicCreativeWork

func (r Response) AsBasicCreativeWork() (BasicCreativeWork, bool)

AsBasicCreativeWork is the BasicResponseBase implementation for Response.

func (Response) AsBasicEntertainmentBusiness

func (r Response) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool)

AsBasicEntertainmentBusiness is the BasicResponseBase implementation for Response.

func (Response) AsBasicFoodEstablishment

func (r Response) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool)

AsBasicFoodEstablishment is the BasicResponseBase implementation for Response.

func (Response) AsBasicIdentifiable

func (r Response) AsBasicIdentifiable() (BasicIdentifiable, bool)

AsBasicIdentifiable is the BasicResponseBase implementation for Response.

func (Response) AsBasicIntangible

func (r Response) AsBasicIntangible() (BasicIntangible, bool)

AsBasicIntangible is the BasicResponseBase implementation for Response.

func (Response) AsBasicLocalBusiness

func (r Response) AsBasicLocalBusiness() (BasicLocalBusiness, bool)

AsBasicLocalBusiness is the BasicResponseBase implementation for Response.

func (Response) AsBasicLodgingBusiness

func (r Response) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool)

AsBasicLodgingBusiness is the BasicResponseBase implementation for Response.

func (Response) AsBasicMediaObject

func (r Response) AsBasicMediaObject() (BasicMediaObject, bool)

AsBasicMediaObject is the BasicResponseBase implementation for Response.

func (Response) AsBasicPlace

func (r Response) AsBasicPlace() (BasicPlace, bool)

AsBasicPlace is the BasicResponseBase implementation for Response.

func (Response) AsBasicResponse

func (r Response) AsBasicResponse() (BasicResponse, bool)

AsBasicResponse is the BasicResponseBase implementation for Response.

func (Response) AsBasicResponseBase

func (r Response) AsBasicResponseBase() (BasicResponseBase, bool)

AsBasicResponseBase is the BasicResponseBase implementation for Response.

func (Response) AsBasicSearchResultsAnswer

func (r Response) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool)

AsBasicSearchResultsAnswer is the BasicResponseBase implementation for Response.

func (Response) AsBasicStructuredValue

func (r Response) AsBasicStructuredValue() (BasicStructuredValue, bool)

AsBasicStructuredValue is the BasicResponseBase implementation for Response.

func (Response) AsBasicThing

func (r Response) AsBasicThing() (BasicThing, bool)

AsBasicThing is the BasicResponseBase implementation for Response.

func (Response) AsCivicStructure

func (r Response) AsCivicStructure() (*CivicStructure, bool)

AsCivicStructure is the BasicResponseBase implementation for Response.

func (Response) AsCreativeWork

func (r Response) AsCreativeWork() (*CreativeWork, bool)

AsCreativeWork is the BasicResponseBase implementation for Response.

func (Response) AsEntertainmentBusiness

func (r Response) AsEntertainmentBusiness() (*EntertainmentBusiness, bool)

AsEntertainmentBusiness is the BasicResponseBase implementation for Response.

func (Response) AsEntities

func (r Response) AsEntities() (*Entities, bool)

AsEntities is the BasicResponseBase implementation for Response.

func (Response) AsErrorResponse

func (r Response) AsErrorResponse() (*ErrorResponse, bool)

AsErrorResponse is the BasicResponseBase implementation for Response.

func (Response) AsFoodEstablishment

func (r Response) AsFoodEstablishment() (*FoodEstablishment, bool)

AsFoodEstablishment is the BasicResponseBase implementation for Response.

func (Response) AsHotel

func (r Response) AsHotel() (*Hotel, bool)

AsHotel is the BasicResponseBase implementation for Response.

func (Response) AsIdentifiable

func (r Response) AsIdentifiable() (*Identifiable, bool)

AsIdentifiable is the BasicResponseBase implementation for Response.

func (Response) AsImageObject

func (r Response) AsImageObject() (*ImageObject, bool)

AsImageObject is the BasicResponseBase implementation for Response.

func (Response) AsIntangible

func (r Response) AsIntangible() (*Intangible, bool)

AsIntangible is the BasicResponseBase implementation for Response.

func (Response) AsLicense

func (r Response) AsLicense() (*License, bool)

AsLicense is the BasicResponseBase implementation for Response.

func (Response) AsLocalBusiness

func (r Response) AsLocalBusiness() (*LocalBusiness, bool)

AsLocalBusiness is the BasicResponseBase implementation for Response.

func (Response) AsLodgingBusiness

func (r Response) AsLodgingBusiness() (*LodgingBusiness, bool)

AsLodgingBusiness is the BasicResponseBase implementation for Response.

func (Response) AsMediaObject

func (r Response) AsMediaObject() (*MediaObject, bool)

AsMediaObject is the BasicResponseBase implementation for Response.

func (Response) AsMovieTheater

func (r Response) AsMovieTheater() (*MovieTheater, bool)

AsMovieTheater is the BasicResponseBase implementation for Response.

func (Response) AsOrganization

func (r Response) AsOrganization() (*Organization, bool)

AsOrganization is the BasicResponseBase implementation for Response.

func (Response) AsPlace

func (r Response) AsPlace() (*Place, bool)

AsPlace is the BasicResponseBase implementation for Response.

func (Response) AsPlaces

func (r Response) AsPlaces() (*Places, bool)

AsPlaces is the BasicResponseBase implementation for Response.

func (Response) AsPostalAddress

func (r Response) AsPostalAddress() (*PostalAddress, bool)

AsPostalAddress is the BasicResponseBase implementation for Response.

func (Response) AsResponse

func (r Response) AsResponse() (*Response, bool)

AsResponse is the BasicResponseBase implementation for Response.

func (Response) AsResponseBase

func (r Response) AsResponseBase() (*ResponseBase, bool)

AsResponseBase is the BasicResponseBase implementation for Response.

func (Response) AsRestaurant

func (r Response) AsRestaurant() (*Restaurant, bool)

AsRestaurant is the BasicResponseBase implementation for Response.

func (Response) AsSearchResponse

func (r Response) AsSearchResponse() (*SearchResponse, bool)

AsSearchResponse is the BasicResponseBase implementation for Response.

func (Response) AsSearchResultsAnswer

func (r Response) AsSearchResultsAnswer() (*SearchResultsAnswer, bool)

AsSearchResultsAnswer is the BasicResponseBase implementation for Response.

func (Response) AsStructuredValue

func (r Response) AsStructuredValue() (*StructuredValue, bool)

AsStructuredValue is the BasicResponseBase implementation for Response.

func (Response) AsThing

func (r Response) AsThing() (*Thing, bool)

AsThing is the BasicResponseBase implementation for Response.

func (Response) AsTouristAttraction

func (r Response) AsTouristAttraction() (*TouristAttraction, bool)

AsTouristAttraction is the BasicResponseBase implementation for Response.

func (Response) MarshalJSON

func (r Response) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Response.

func (*Response) UnmarshalJSON

func (r *Response) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Response struct.

type ResponseBase

type ResponseBase struct {
	// 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"`
}

ResponseBase ...

func (ResponseBase) AsAirport

func (rb ResponseBase) AsAirport() (*Airport, bool)

AsAirport is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsAnswer

func (rb ResponseBase) AsAnswer() (*Answer, bool)

AsAnswer is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsBasicAnswer

func (rb ResponseBase) AsBasicAnswer() (BasicAnswer, bool)

AsBasicAnswer is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsBasicCivicStructure

func (rb ResponseBase) AsBasicCivicStructure() (BasicCivicStructure, bool)

AsBasicCivicStructure is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsBasicCreativeWork

func (rb ResponseBase) AsBasicCreativeWork() (BasicCreativeWork, bool)

AsBasicCreativeWork is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsBasicEntertainmentBusiness

func (rb ResponseBase) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool)

AsBasicEntertainmentBusiness is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsBasicFoodEstablishment

func (rb ResponseBase) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool)

AsBasicFoodEstablishment is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsBasicIdentifiable

func (rb ResponseBase) AsBasicIdentifiable() (BasicIdentifiable, bool)

AsBasicIdentifiable is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsBasicIntangible

func (rb ResponseBase) AsBasicIntangible() (BasicIntangible, bool)

AsBasicIntangible is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsBasicLocalBusiness

func (rb ResponseBase) AsBasicLocalBusiness() (BasicLocalBusiness, bool)

AsBasicLocalBusiness is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsBasicLodgingBusiness

func (rb ResponseBase) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool)

AsBasicLodgingBusiness is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsBasicMediaObject

func (rb ResponseBase) AsBasicMediaObject() (BasicMediaObject, bool)

AsBasicMediaObject is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsBasicPlace

func (rb ResponseBase) AsBasicPlace() (BasicPlace, bool)

AsBasicPlace is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsBasicResponse

func (rb ResponseBase) AsBasicResponse() (BasicResponse, bool)

AsBasicResponse is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsBasicResponseBase

func (rb ResponseBase) AsBasicResponseBase() (BasicResponseBase, bool)

AsBasicResponseBase is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsBasicSearchResultsAnswer

func (rb ResponseBase) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool)

AsBasicSearchResultsAnswer is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsBasicStructuredValue

func (rb ResponseBase) AsBasicStructuredValue() (BasicStructuredValue, bool)

AsBasicStructuredValue is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsBasicThing

func (rb ResponseBase) AsBasicThing() (BasicThing, bool)

AsBasicThing is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsCivicStructure

func (rb ResponseBase) AsCivicStructure() (*CivicStructure, bool)

AsCivicStructure is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsCreativeWork

func (rb ResponseBase) AsCreativeWork() (*CreativeWork, bool)

AsCreativeWork is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsEntertainmentBusiness

func (rb ResponseBase) AsEntertainmentBusiness() (*EntertainmentBusiness, bool)

AsEntertainmentBusiness is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsEntities

func (rb ResponseBase) AsEntities() (*Entities, bool)

AsEntities is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsErrorResponse

func (rb ResponseBase) AsErrorResponse() (*ErrorResponse, bool)

AsErrorResponse is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsFoodEstablishment

func (rb ResponseBase) AsFoodEstablishment() (*FoodEstablishment, bool)

AsFoodEstablishment is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsHotel

func (rb ResponseBase) AsHotel() (*Hotel, bool)

AsHotel is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsIdentifiable

func (rb ResponseBase) AsIdentifiable() (*Identifiable, bool)

AsIdentifiable is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsImageObject

func (rb ResponseBase) AsImageObject() (*ImageObject, bool)

AsImageObject is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsIntangible

func (rb ResponseBase) AsIntangible() (*Intangible, bool)

AsIntangible is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsLicense

func (rb ResponseBase) AsLicense() (*License, bool)

AsLicense is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsLocalBusiness

func (rb ResponseBase) AsLocalBusiness() (*LocalBusiness, bool)

AsLocalBusiness is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsLodgingBusiness

func (rb ResponseBase) AsLodgingBusiness() (*LodgingBusiness, bool)

AsLodgingBusiness is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsMediaObject

func (rb ResponseBase) AsMediaObject() (*MediaObject, bool)

AsMediaObject is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsMovieTheater

func (rb ResponseBase) AsMovieTheater() (*MovieTheater, bool)

AsMovieTheater is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsOrganization

func (rb ResponseBase) AsOrganization() (*Organization, bool)

AsOrganization is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsPlace

func (rb ResponseBase) AsPlace() (*Place, bool)

AsPlace is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsPlaces

func (rb ResponseBase) AsPlaces() (*Places, bool)

AsPlaces is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsPostalAddress

func (rb ResponseBase) AsPostalAddress() (*PostalAddress, bool)

AsPostalAddress is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsResponse

func (rb ResponseBase) AsResponse() (*Response, bool)

AsResponse is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsResponseBase

func (rb ResponseBase) AsResponseBase() (*ResponseBase, bool)

AsResponseBase is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsRestaurant

func (rb ResponseBase) AsRestaurant() (*Restaurant, bool)

AsRestaurant is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsSearchResponse

func (rb ResponseBase) AsSearchResponse() (*SearchResponse, bool)

AsSearchResponse is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsSearchResultsAnswer

func (rb ResponseBase) AsSearchResultsAnswer() (*SearchResultsAnswer, bool)

AsSearchResultsAnswer is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsStructuredValue

func (rb ResponseBase) AsStructuredValue() (*StructuredValue, bool)

AsStructuredValue is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsThing

func (rb ResponseBase) AsThing() (*Thing, bool)

AsThing is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) AsTouristAttraction

func (rb ResponseBase) AsTouristAttraction() (*TouristAttraction, bool)

AsTouristAttraction is the BasicResponseBase implementation for ResponseBase.

func (ResponseBase) MarshalJSON

func (rb ResponseBase) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResponseBase.

type ResponseFormat

type ResponseFormat string

ResponseFormat enumerates the values for response format.

const (
	// JSON ...
	JSON ResponseFormat = "Json"
	// JSONLd ...
	JSONLd ResponseFormat = "JsonLd"
)

func PossibleResponseFormatValues

func PossibleResponseFormatValues() []ResponseFormat

PossibleResponseFormatValues returns an array of possible values for the ResponseFormat const type.

type Restaurant

type Restaurant struct {
	// AcceptsReservations - READ-ONLY
	AcceptsReservations *bool `json:"acceptsReservations,omitempty"`
	// ReservationURL - READ-ONLY
	ReservationURL *string `json:"reservationUrl,omitempty"`
	// ServesCuisine - READ-ONLY
	ServesCuisine *[]string `json:"servesCuisine,omitempty"`
	// MenuURL - READ-ONLY
	MenuURL *string `json:"menuUrl,omitempty"`
	// 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"`
}

Restaurant ...

func (Restaurant) AsAirport

func (r Restaurant) AsAirport() (*Airport, bool)

AsAirport is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsAnswer

func (r Restaurant) AsAnswer() (*Answer, bool)

AsAnswer is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsBasicAnswer

func (r Restaurant) AsBasicAnswer() (BasicAnswer, bool)

AsBasicAnswer is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsBasicCivicStructure

func (r Restaurant) AsBasicCivicStructure() (BasicCivicStructure, bool)

AsBasicCivicStructure is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsBasicCreativeWork

func (r Restaurant) AsBasicCreativeWork() (BasicCreativeWork, bool)

AsBasicCreativeWork is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsBasicEntertainmentBusiness

func (r Restaurant) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool)

AsBasicEntertainmentBusiness is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsBasicFoodEstablishment

func (r Restaurant) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool)

AsBasicFoodEstablishment is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsBasicIdentifiable

func (r Restaurant) AsBasicIdentifiable() (BasicIdentifiable, bool)

AsBasicIdentifiable is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsBasicIntangible

func (r Restaurant) AsBasicIntangible() (BasicIntangible, bool)

AsBasicIntangible is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsBasicLocalBusiness

func (r Restaurant) AsBasicLocalBusiness() (BasicLocalBusiness, bool)

AsBasicLocalBusiness is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsBasicLodgingBusiness

func (r Restaurant) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool)

AsBasicLodgingBusiness is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsBasicMediaObject

func (r Restaurant) AsBasicMediaObject() (BasicMediaObject, bool)

AsBasicMediaObject is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsBasicPlace

func (r Restaurant) AsBasicPlace() (BasicPlace, bool)

AsBasicPlace is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsBasicResponse

func (r Restaurant) AsBasicResponse() (BasicResponse, bool)

AsBasicResponse is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsBasicResponseBase

func (r Restaurant) AsBasicResponseBase() (BasicResponseBase, bool)

AsBasicResponseBase is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsBasicSearchResultsAnswer

func (r Restaurant) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool)

AsBasicSearchResultsAnswer is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsBasicStructuredValue

func (r Restaurant) AsBasicStructuredValue() (BasicStructuredValue, bool)

AsBasicStructuredValue is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsBasicThing

func (r Restaurant) AsBasicThing() (BasicThing, bool)

AsBasicThing is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsCivicStructure

func (r Restaurant) AsCivicStructure() (*CivicStructure, bool)

AsCivicStructure is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsCreativeWork

func (r Restaurant) AsCreativeWork() (*CreativeWork, bool)

AsCreativeWork is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsEntertainmentBusiness

func (r Restaurant) AsEntertainmentBusiness() (*EntertainmentBusiness, bool)

AsEntertainmentBusiness is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsEntities

func (r Restaurant) AsEntities() (*Entities, bool)

AsEntities is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsErrorResponse

func (r Restaurant) AsErrorResponse() (*ErrorResponse, bool)

AsErrorResponse is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsFoodEstablishment

func (r Restaurant) AsFoodEstablishment() (*FoodEstablishment, bool)

AsFoodEstablishment is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsHotel

func (r Restaurant) AsHotel() (*Hotel, bool)

AsHotel is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsIdentifiable

func (r Restaurant) AsIdentifiable() (*Identifiable, bool)

AsIdentifiable is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsImageObject

func (r Restaurant) AsImageObject() (*ImageObject, bool)

AsImageObject is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsIntangible

func (r Restaurant) AsIntangible() (*Intangible, bool)

AsIntangible is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsLicense

func (r Restaurant) AsLicense() (*License, bool)

AsLicense is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsLocalBusiness

func (r Restaurant) AsLocalBusiness() (*LocalBusiness, bool)

AsLocalBusiness is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsLodgingBusiness

func (r Restaurant) AsLodgingBusiness() (*LodgingBusiness, bool)

AsLodgingBusiness is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsMediaObject

func (r Restaurant) AsMediaObject() (*MediaObject, bool)

AsMediaObject is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsMovieTheater

func (r Restaurant) AsMovieTheater() (*MovieTheater, bool)

AsMovieTheater is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsOrganization

func (r Restaurant) AsOrganization() (*Organization, bool)

AsOrganization is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsPlace

func (r Restaurant) AsPlace() (*Place, bool)

AsPlace is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsPlaces

func (r Restaurant) AsPlaces() (*Places, bool)

AsPlaces is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsPostalAddress

func (r Restaurant) AsPostalAddress() (*PostalAddress, bool)

AsPostalAddress is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsResponse

func (r Restaurant) AsResponse() (*Response, bool)

AsResponse is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsResponseBase

func (r Restaurant) AsResponseBase() (*ResponseBase, bool)

AsResponseBase is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsRestaurant

func (r Restaurant) AsRestaurant() (*Restaurant, bool)

AsRestaurant is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsSearchResponse

func (r Restaurant) AsSearchResponse() (*SearchResponse, bool)

AsSearchResponse is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsSearchResultsAnswer

func (r Restaurant) AsSearchResultsAnswer() (*SearchResultsAnswer, bool)

AsSearchResultsAnswer is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsStructuredValue

func (r Restaurant) AsStructuredValue() (*StructuredValue, bool)

AsStructuredValue is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsThing

func (r Restaurant) AsThing() (*Thing, bool)

AsThing is the BasicResponseBase implementation for Restaurant.

func (Restaurant) AsTouristAttraction

func (r Restaurant) AsTouristAttraction() (*TouristAttraction, bool)

AsTouristAttraction is the BasicResponseBase implementation for Restaurant.

func (Restaurant) MarshalJSON

func (r Restaurant) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Restaurant.

func (*Restaurant) UnmarshalJSON

func (r *Restaurant) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Restaurant struct.

type SafeSearch

type SafeSearch string

SafeSearch enumerates the values for safe search.

const (
	// Moderate ...
	Moderate SafeSearch = "Moderate"
	// Off ...
	Off SafeSearch = "Off"
	// Strict ...
	Strict SafeSearch = "Strict"
)

func PossibleSafeSearchValues

func PossibleSafeSearchValues() []SafeSearch

PossibleSafeSearchValues returns an array of possible values for the SafeSearch const type.

type SearchResponse

type SearchResponse struct {
	autorest.Response `json:"-"`
	// QueryContext - READ-ONLY; An object that contains the query string that Bing used for the request. This object contains the query string as entered by the user. It may also contain an altered query string that Bing used for the query if the query string contained a spelling mistake.
	QueryContext *QueryContext `json:"queryContext,omitempty"`
	// Entities - READ-ONLY; A list of entities that are relevant to the search query.
	Entities *Entities `json:"entities,omitempty"`
	// Places - READ-ONLY; A list of local entities such as restaurants or hotels that are relevant to the query.
	Places *Places `json:"places,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"`
}

SearchResponse defines the top-level object that the response includes when the request succeeds.

func (SearchResponse) AsAirport

func (sr SearchResponse) AsAirport() (*Airport, bool)

AsAirport is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsAnswer

func (sr SearchResponse) AsAnswer() (*Answer, bool)

AsAnswer is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsBasicAnswer

func (sr SearchResponse) AsBasicAnswer() (BasicAnswer, bool)

AsBasicAnswer is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsBasicCivicStructure

func (sr SearchResponse) AsBasicCivicStructure() (BasicCivicStructure, bool)

AsBasicCivicStructure is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsBasicCreativeWork

func (sr SearchResponse) AsBasicCreativeWork() (BasicCreativeWork, bool)

AsBasicCreativeWork is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsBasicEntertainmentBusiness

func (sr SearchResponse) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool)

AsBasicEntertainmentBusiness is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsBasicFoodEstablishment

func (sr SearchResponse) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool)

AsBasicFoodEstablishment is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsBasicIdentifiable

func (sr SearchResponse) AsBasicIdentifiable() (BasicIdentifiable, bool)

AsBasicIdentifiable is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsBasicIntangible

func (sr SearchResponse) AsBasicIntangible() (BasicIntangible, bool)

AsBasicIntangible is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsBasicLocalBusiness

func (sr SearchResponse) AsBasicLocalBusiness() (BasicLocalBusiness, bool)

AsBasicLocalBusiness is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsBasicLodgingBusiness

func (sr SearchResponse) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool)

AsBasicLodgingBusiness is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsBasicMediaObject

func (sr SearchResponse) AsBasicMediaObject() (BasicMediaObject, bool)

AsBasicMediaObject is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsBasicPlace

func (sr SearchResponse) AsBasicPlace() (BasicPlace, bool)

AsBasicPlace is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsBasicResponse

func (sr SearchResponse) AsBasicResponse() (BasicResponse, bool)

AsBasicResponse is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsBasicResponseBase

func (sr SearchResponse) AsBasicResponseBase() (BasicResponseBase, bool)

AsBasicResponseBase is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsBasicSearchResultsAnswer

func (sr SearchResponse) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool)

AsBasicSearchResultsAnswer is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsBasicStructuredValue

func (sr SearchResponse) AsBasicStructuredValue() (BasicStructuredValue, bool)

AsBasicStructuredValue is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsBasicThing

func (sr SearchResponse) AsBasicThing() (BasicThing, bool)

AsBasicThing is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsCivicStructure

func (sr SearchResponse) AsCivicStructure() (*CivicStructure, bool)

AsCivicStructure is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsCreativeWork

func (sr SearchResponse) AsCreativeWork() (*CreativeWork, bool)

AsCreativeWork is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsEntertainmentBusiness

func (sr SearchResponse) AsEntertainmentBusiness() (*EntertainmentBusiness, bool)

AsEntertainmentBusiness is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsEntities

func (sr SearchResponse) AsEntities() (*Entities, bool)

AsEntities is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsErrorResponse

func (sr SearchResponse) AsErrorResponse() (*ErrorResponse, bool)

AsErrorResponse is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsFoodEstablishment

func (sr SearchResponse) AsFoodEstablishment() (*FoodEstablishment, bool)

AsFoodEstablishment is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsHotel

func (sr SearchResponse) AsHotel() (*Hotel, bool)

AsHotel is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsIdentifiable

func (sr SearchResponse) AsIdentifiable() (*Identifiable, bool)

AsIdentifiable is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsImageObject

func (sr SearchResponse) AsImageObject() (*ImageObject, bool)

AsImageObject is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsIntangible

func (sr SearchResponse) AsIntangible() (*Intangible, bool)

AsIntangible is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsLicense

func (sr SearchResponse) AsLicense() (*License, bool)

AsLicense is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsLocalBusiness

func (sr SearchResponse) AsLocalBusiness() (*LocalBusiness, bool)

AsLocalBusiness is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsLodgingBusiness

func (sr SearchResponse) AsLodgingBusiness() (*LodgingBusiness, bool)

AsLodgingBusiness is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsMediaObject

func (sr SearchResponse) AsMediaObject() (*MediaObject, bool)

AsMediaObject is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsMovieTheater

func (sr SearchResponse) AsMovieTheater() (*MovieTheater, bool)

AsMovieTheater is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsOrganization

func (sr SearchResponse) AsOrganization() (*Organization, bool)

AsOrganization is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsPlace

func (sr SearchResponse) AsPlace() (*Place, bool)

AsPlace is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsPlaces

func (sr SearchResponse) AsPlaces() (*Places, bool)

AsPlaces is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsPostalAddress

func (sr SearchResponse) AsPostalAddress() (*PostalAddress, bool)

AsPostalAddress is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsResponse

func (sr SearchResponse) AsResponse() (*Response, bool)

AsResponse is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsResponseBase

func (sr SearchResponse) AsResponseBase() (*ResponseBase, bool)

AsResponseBase is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsRestaurant

func (sr SearchResponse) AsRestaurant() (*Restaurant, bool)

AsRestaurant is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsSearchResponse

func (sr SearchResponse) AsSearchResponse() (*SearchResponse, bool)

AsSearchResponse is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsSearchResultsAnswer

func (sr SearchResponse) AsSearchResultsAnswer() (*SearchResultsAnswer, bool)

AsSearchResultsAnswer is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsStructuredValue

func (sr SearchResponse) AsStructuredValue() (*StructuredValue, bool)

AsStructuredValue is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsThing

func (sr SearchResponse) AsThing() (*Thing, bool)

AsThing is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) AsTouristAttraction

func (sr SearchResponse) AsTouristAttraction() (*TouristAttraction, bool)

AsTouristAttraction is the BasicResponseBase implementation for SearchResponse.

func (SearchResponse) MarshalJSON

func (sr SearchResponse) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SearchResponse.

func (*SearchResponse) UnmarshalJSON

func (sr *SearchResponse) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SearchResponse struct.

type SearchResultsAnswer

type SearchResultsAnswer struct {
	// 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"`
}

SearchResultsAnswer ...

func (SearchResultsAnswer) AsAirport

func (sra SearchResultsAnswer) AsAirport() (*Airport, bool)

AsAirport is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsAnswer

func (sra SearchResultsAnswer) AsAnswer() (*Answer, bool)

AsAnswer is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsBasicAnswer

func (sra SearchResultsAnswer) AsBasicAnswer() (BasicAnswer, bool)

AsBasicAnswer is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsBasicCivicStructure

func (sra SearchResultsAnswer) AsBasicCivicStructure() (BasicCivicStructure, bool)

AsBasicCivicStructure is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsBasicCreativeWork

func (sra SearchResultsAnswer) AsBasicCreativeWork() (BasicCreativeWork, bool)

AsBasicCreativeWork is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsBasicEntertainmentBusiness

func (sra SearchResultsAnswer) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool)

AsBasicEntertainmentBusiness is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsBasicFoodEstablishment

func (sra SearchResultsAnswer) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool)

AsBasicFoodEstablishment is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsBasicIdentifiable

func (sra SearchResultsAnswer) AsBasicIdentifiable() (BasicIdentifiable, bool)

AsBasicIdentifiable is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsBasicIntangible

func (sra SearchResultsAnswer) AsBasicIntangible() (BasicIntangible, bool)

AsBasicIntangible is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsBasicLocalBusiness

func (sra SearchResultsAnswer) AsBasicLocalBusiness() (BasicLocalBusiness, bool)

AsBasicLocalBusiness is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsBasicLodgingBusiness

func (sra SearchResultsAnswer) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool)

AsBasicLodgingBusiness is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsBasicMediaObject

func (sra SearchResultsAnswer) AsBasicMediaObject() (BasicMediaObject, bool)

AsBasicMediaObject is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsBasicPlace

func (sra SearchResultsAnswer) AsBasicPlace() (BasicPlace, bool)

AsBasicPlace is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsBasicResponse

func (sra SearchResultsAnswer) AsBasicResponse() (BasicResponse, bool)

AsBasicResponse is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsBasicResponseBase

func (sra SearchResultsAnswer) AsBasicResponseBase() (BasicResponseBase, bool)

AsBasicResponseBase is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsBasicSearchResultsAnswer

func (sra SearchResultsAnswer) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool)

AsBasicSearchResultsAnswer is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsBasicStructuredValue

func (sra SearchResultsAnswer) AsBasicStructuredValue() (BasicStructuredValue, bool)

AsBasicStructuredValue is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsBasicThing

func (sra SearchResultsAnswer) AsBasicThing() (BasicThing, bool)

AsBasicThing is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsCivicStructure

func (sra SearchResultsAnswer) AsCivicStructure() (*CivicStructure, bool)

AsCivicStructure is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsCreativeWork

func (sra SearchResultsAnswer) AsCreativeWork() (*CreativeWork, bool)

AsCreativeWork is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsEntertainmentBusiness

func (sra SearchResultsAnswer) AsEntertainmentBusiness() (*EntertainmentBusiness, bool)

AsEntertainmentBusiness is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsEntities

func (sra SearchResultsAnswer) AsEntities() (*Entities, bool)

AsEntities is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsErrorResponse

func (sra SearchResultsAnswer) AsErrorResponse() (*ErrorResponse, bool)

AsErrorResponse is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsFoodEstablishment

func (sra SearchResultsAnswer) AsFoodEstablishment() (*FoodEstablishment, bool)

AsFoodEstablishment is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsHotel

func (sra SearchResultsAnswer) AsHotel() (*Hotel, bool)

AsHotel is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsIdentifiable

func (sra SearchResultsAnswer) AsIdentifiable() (*Identifiable, bool)

AsIdentifiable is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsImageObject

func (sra SearchResultsAnswer) AsImageObject() (*ImageObject, bool)

AsImageObject is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsIntangible

func (sra SearchResultsAnswer) AsIntangible() (*Intangible, bool)

AsIntangible is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsLicense

func (sra SearchResultsAnswer) AsLicense() (*License, bool)

AsLicense is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsLocalBusiness

func (sra SearchResultsAnswer) AsLocalBusiness() (*LocalBusiness, bool)

AsLocalBusiness is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsLodgingBusiness

func (sra SearchResultsAnswer) AsLodgingBusiness() (*LodgingBusiness, bool)

AsLodgingBusiness is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsMediaObject

func (sra SearchResultsAnswer) AsMediaObject() (*MediaObject, bool)

AsMediaObject is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsMovieTheater

func (sra SearchResultsAnswer) AsMovieTheater() (*MovieTheater, bool)

AsMovieTheater is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsOrganization

func (sra SearchResultsAnswer) AsOrganization() (*Organization, bool)

AsOrganization is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsPlace

func (sra SearchResultsAnswer) AsPlace() (*Place, bool)

AsPlace is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsPlaces

func (sra SearchResultsAnswer) AsPlaces() (*Places, bool)

AsPlaces is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsPostalAddress

func (sra SearchResultsAnswer) AsPostalAddress() (*PostalAddress, bool)

AsPostalAddress is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsResponse

func (sra SearchResultsAnswer) AsResponse() (*Response, bool)

AsResponse is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsResponseBase

func (sra SearchResultsAnswer) AsResponseBase() (*ResponseBase, bool)

AsResponseBase is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsRestaurant

func (sra SearchResultsAnswer) AsRestaurant() (*Restaurant, bool)

AsRestaurant is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsSearchResponse

func (sra SearchResultsAnswer) AsSearchResponse() (*SearchResponse, bool)

AsSearchResponse is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsSearchResultsAnswer

func (sra SearchResultsAnswer) AsSearchResultsAnswer() (*SearchResultsAnswer, bool)

AsSearchResultsAnswer is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsStructuredValue

func (sra SearchResultsAnswer) AsStructuredValue() (*StructuredValue, bool)

AsStructuredValue is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsThing

func (sra SearchResultsAnswer) AsThing() (*Thing, bool)

AsThing is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) AsTouristAttraction

func (sra SearchResultsAnswer) AsTouristAttraction() (*TouristAttraction, bool)

AsTouristAttraction is the BasicResponseBase implementation for SearchResultsAnswer.

func (SearchResultsAnswer) MarshalJSON

func (sra SearchResultsAnswer) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SearchResultsAnswer.

func (*SearchResultsAnswer) UnmarshalJSON

func (sra *SearchResultsAnswer) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SearchResultsAnswer struct.

type StructuredValue

type StructuredValue struct {
	// 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"`
}

StructuredValue ...

func (StructuredValue) AsAirport

func (sv StructuredValue) AsAirport() (*Airport, bool)

AsAirport is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsAnswer

func (sv StructuredValue) AsAnswer() (*Answer, bool)

AsAnswer is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsBasicAnswer

func (sv StructuredValue) AsBasicAnswer() (BasicAnswer, bool)

AsBasicAnswer is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsBasicCivicStructure

func (sv StructuredValue) AsBasicCivicStructure() (BasicCivicStructure, bool)

AsBasicCivicStructure is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsBasicCreativeWork

func (sv StructuredValue) AsBasicCreativeWork() (BasicCreativeWork, bool)

AsBasicCreativeWork is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsBasicEntertainmentBusiness

func (sv StructuredValue) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool)

AsBasicEntertainmentBusiness is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsBasicFoodEstablishment

func (sv StructuredValue) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool)

AsBasicFoodEstablishment is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsBasicIdentifiable

func (sv StructuredValue) AsBasicIdentifiable() (BasicIdentifiable, bool)

AsBasicIdentifiable is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsBasicIntangible

func (sv StructuredValue) AsBasicIntangible() (BasicIntangible, bool)

AsBasicIntangible is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsBasicLocalBusiness

func (sv StructuredValue) AsBasicLocalBusiness() (BasicLocalBusiness, bool)

AsBasicLocalBusiness is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsBasicLodgingBusiness

func (sv StructuredValue) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool)

AsBasicLodgingBusiness is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsBasicMediaObject

func (sv StructuredValue) AsBasicMediaObject() (BasicMediaObject, bool)

AsBasicMediaObject is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsBasicPlace

func (sv StructuredValue) AsBasicPlace() (BasicPlace, bool)

AsBasicPlace is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsBasicResponse

func (sv StructuredValue) AsBasicResponse() (BasicResponse, bool)

AsBasicResponse is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsBasicResponseBase

func (sv StructuredValue) AsBasicResponseBase() (BasicResponseBase, bool)

AsBasicResponseBase is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsBasicSearchResultsAnswer

func (sv StructuredValue) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool)

AsBasicSearchResultsAnswer is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsBasicStructuredValue

func (sv StructuredValue) AsBasicStructuredValue() (BasicStructuredValue, bool)

AsBasicStructuredValue is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsBasicThing

func (sv StructuredValue) AsBasicThing() (BasicThing, bool)

AsBasicThing is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsCivicStructure

func (sv StructuredValue) AsCivicStructure() (*CivicStructure, bool)

AsCivicStructure is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsCreativeWork

func (sv StructuredValue) AsCreativeWork() (*CreativeWork, bool)

AsCreativeWork is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsEntertainmentBusiness

func (sv StructuredValue) AsEntertainmentBusiness() (*EntertainmentBusiness, bool)

AsEntertainmentBusiness is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsEntities

func (sv StructuredValue) AsEntities() (*Entities, bool)

AsEntities is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsErrorResponse

func (sv StructuredValue) AsErrorResponse() (*ErrorResponse, bool)

AsErrorResponse is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsFoodEstablishment

func (sv StructuredValue) AsFoodEstablishment() (*FoodEstablishment, bool)

AsFoodEstablishment is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsHotel

func (sv StructuredValue) AsHotel() (*Hotel, bool)

AsHotel is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsIdentifiable

func (sv StructuredValue) AsIdentifiable() (*Identifiable, bool)

AsIdentifiable is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsImageObject

func (sv StructuredValue) AsImageObject() (*ImageObject, bool)

AsImageObject is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsIntangible

func (sv StructuredValue) AsIntangible() (*Intangible, bool)

AsIntangible is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsLicense

func (sv StructuredValue) AsLicense() (*License, bool)

AsLicense is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsLocalBusiness

func (sv StructuredValue) AsLocalBusiness() (*LocalBusiness, bool)

AsLocalBusiness is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsLodgingBusiness

func (sv StructuredValue) AsLodgingBusiness() (*LodgingBusiness, bool)

AsLodgingBusiness is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsMediaObject

func (sv StructuredValue) AsMediaObject() (*MediaObject, bool)

AsMediaObject is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsMovieTheater

func (sv StructuredValue) AsMovieTheater() (*MovieTheater, bool)

AsMovieTheater is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsOrganization

func (sv StructuredValue) AsOrganization() (*Organization, bool)

AsOrganization is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsPlace

func (sv StructuredValue) AsPlace() (*Place, bool)

AsPlace is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsPlaces

func (sv StructuredValue) AsPlaces() (*Places, bool)

AsPlaces is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsPostalAddress

func (sv StructuredValue) AsPostalAddress() (*PostalAddress, bool)

AsPostalAddress is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsResponse

func (sv StructuredValue) AsResponse() (*Response, bool)

AsResponse is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsResponseBase

func (sv StructuredValue) AsResponseBase() (*ResponseBase, bool)

AsResponseBase is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsRestaurant

func (sv StructuredValue) AsRestaurant() (*Restaurant, bool)

AsRestaurant is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsSearchResponse

func (sv StructuredValue) AsSearchResponse() (*SearchResponse, bool)

AsSearchResponse is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsSearchResultsAnswer

func (sv StructuredValue) AsSearchResultsAnswer() (*SearchResultsAnswer, bool)

AsSearchResultsAnswer is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsStructuredValue

func (sv StructuredValue) AsStructuredValue() (*StructuredValue, bool)

AsStructuredValue is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsThing

func (sv StructuredValue) AsThing() (*Thing, bool)

AsThing is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) AsTouristAttraction

func (sv StructuredValue) AsTouristAttraction() (*TouristAttraction, bool)

AsTouristAttraction is the BasicResponseBase implementation for StructuredValue.

func (StructuredValue) MarshalJSON

func (sv StructuredValue) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StructuredValue.

func (*StructuredValue) UnmarshalJSON

func (sv *StructuredValue) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for StructuredValue struct.

type Thing

type Thing struct {
	// 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"`
}

Thing ...

func (Thing) AsAirport

func (t Thing) AsAirport() (*Airport, bool)

AsAirport is the BasicResponseBase implementation for Thing.

func (Thing) AsAnswer

func (t Thing) AsAnswer() (*Answer, bool)

AsAnswer is the BasicResponseBase implementation for Thing.

func (Thing) AsBasicAnswer

func (t Thing) AsBasicAnswer() (BasicAnswer, bool)

AsBasicAnswer is the BasicResponseBase implementation for Thing.

func (Thing) AsBasicCivicStructure

func (t Thing) AsBasicCivicStructure() (BasicCivicStructure, bool)

AsBasicCivicStructure is the BasicResponseBase implementation for Thing.

func (Thing) AsBasicCreativeWork

func (t Thing) AsBasicCreativeWork() (BasicCreativeWork, bool)

AsBasicCreativeWork is the BasicResponseBase implementation for Thing.

func (Thing) AsBasicEntertainmentBusiness

func (t Thing) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool)

AsBasicEntertainmentBusiness is the BasicResponseBase implementation for Thing.

func (Thing) AsBasicFoodEstablishment

func (t Thing) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool)

AsBasicFoodEstablishment is the BasicResponseBase implementation for Thing.

func (Thing) AsBasicIdentifiable

func (t Thing) AsBasicIdentifiable() (BasicIdentifiable, bool)

AsBasicIdentifiable is the BasicResponseBase implementation for Thing.

func (Thing) AsBasicIntangible

func (t Thing) AsBasicIntangible() (BasicIntangible, bool)

AsBasicIntangible is the BasicResponseBase implementation for Thing.

func (Thing) AsBasicLocalBusiness

func (t Thing) AsBasicLocalBusiness() (BasicLocalBusiness, bool)

AsBasicLocalBusiness is the BasicResponseBase implementation for Thing.

func (Thing) AsBasicLodgingBusiness

func (t Thing) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool)

AsBasicLodgingBusiness is the BasicResponseBase implementation for Thing.

func (Thing) AsBasicMediaObject

func (t Thing) AsBasicMediaObject() (BasicMediaObject, bool)

AsBasicMediaObject is the BasicResponseBase implementation for Thing.

func (Thing) AsBasicPlace

func (t Thing) AsBasicPlace() (BasicPlace, bool)

AsBasicPlace is the BasicResponseBase implementation for Thing.

func (Thing) AsBasicResponse

func (t Thing) AsBasicResponse() (BasicResponse, bool)

AsBasicResponse is the BasicResponseBase implementation for Thing.

func (Thing) AsBasicResponseBase

func (t Thing) AsBasicResponseBase() (BasicResponseBase, bool)

AsBasicResponseBase is the BasicResponseBase implementation for Thing.

func (Thing) AsBasicSearchResultsAnswer

func (t Thing) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool)

AsBasicSearchResultsAnswer is the BasicResponseBase implementation for Thing.

func (Thing) AsBasicStructuredValue

func (t Thing) AsBasicStructuredValue() (BasicStructuredValue, bool)

AsBasicStructuredValue is the BasicResponseBase implementation for Thing.

func (Thing) AsBasicThing

func (t Thing) AsBasicThing() (BasicThing, bool)

AsBasicThing is the BasicResponseBase implementation for Thing.

func (Thing) AsCivicStructure

func (t Thing) AsCivicStructure() (*CivicStructure, bool)

AsCivicStructure is the BasicResponseBase implementation for Thing.

func (Thing) AsCreativeWork

func (t Thing) AsCreativeWork() (*CreativeWork, bool)

AsCreativeWork is the BasicResponseBase implementation for Thing.

func (Thing) AsEntertainmentBusiness

func (t Thing) AsEntertainmentBusiness() (*EntertainmentBusiness, bool)

AsEntertainmentBusiness is the BasicResponseBase implementation for Thing.

func (Thing) AsEntities

func (t Thing) AsEntities() (*Entities, bool)

AsEntities is the BasicResponseBase implementation for Thing.

func (Thing) AsErrorResponse

func (t Thing) AsErrorResponse() (*ErrorResponse, bool)

AsErrorResponse is the BasicResponseBase implementation for Thing.

func (Thing) AsFoodEstablishment

func (t Thing) AsFoodEstablishment() (*FoodEstablishment, bool)

AsFoodEstablishment is the BasicResponseBase implementation for Thing.

func (Thing) AsHotel

func (t Thing) AsHotel() (*Hotel, bool)

AsHotel is the BasicResponseBase implementation for Thing.

func (Thing) AsIdentifiable

func (t Thing) AsIdentifiable() (*Identifiable, bool)

AsIdentifiable is the BasicResponseBase implementation for Thing.

func (Thing) AsImageObject

func (t Thing) AsImageObject() (*ImageObject, bool)

AsImageObject is the BasicResponseBase implementation for Thing.

func (Thing) AsIntangible

func (t Thing) AsIntangible() (*Intangible, bool)

AsIntangible is the BasicResponseBase implementation for Thing.

func (Thing) AsLicense

func (t Thing) AsLicense() (*License, bool)

AsLicense is the BasicResponseBase implementation for Thing.

func (Thing) AsLocalBusiness

func (t Thing) AsLocalBusiness() (*LocalBusiness, bool)

AsLocalBusiness is the BasicResponseBase implementation for Thing.

func (Thing) AsLodgingBusiness

func (t Thing) AsLodgingBusiness() (*LodgingBusiness, bool)

AsLodgingBusiness is the BasicResponseBase implementation for Thing.

func (Thing) AsMediaObject

func (t Thing) AsMediaObject() (*MediaObject, bool)

AsMediaObject is the BasicResponseBase implementation for Thing.

func (Thing) AsMovieTheater

func (t Thing) AsMovieTheater() (*MovieTheater, bool)

AsMovieTheater is the BasicResponseBase implementation for Thing.

func (Thing) AsOrganization

func (t Thing) AsOrganization() (*Organization, bool)

AsOrganization is the BasicResponseBase implementation for Thing.

func (Thing) AsPlace

func (t Thing) AsPlace() (*Place, bool)

AsPlace is the BasicResponseBase implementation for Thing.

func (Thing) AsPlaces

func (t Thing) AsPlaces() (*Places, bool)

AsPlaces is the BasicResponseBase implementation for Thing.

func (Thing) AsPostalAddress

func (t Thing) AsPostalAddress() (*PostalAddress, bool)

AsPostalAddress is the BasicResponseBase implementation for Thing.

func (Thing) AsResponse

func (t Thing) AsResponse() (*Response, bool)

AsResponse is the BasicResponseBase implementation for Thing.

func (Thing) AsResponseBase

func (t Thing) AsResponseBase() (*ResponseBase, bool)

AsResponseBase is the BasicResponseBase implementation for Thing.

func (Thing) AsRestaurant

func (t Thing) AsRestaurant() (*Restaurant, bool)

AsRestaurant is the BasicResponseBase implementation for Thing.

func (Thing) AsSearchResponse

func (t Thing) AsSearchResponse() (*SearchResponse, bool)

AsSearchResponse is the BasicResponseBase implementation for Thing.

func (Thing) AsSearchResultsAnswer

func (t Thing) AsSearchResultsAnswer() (*SearchResultsAnswer, bool)

AsSearchResultsAnswer is the BasicResponseBase implementation for Thing.

func (Thing) AsStructuredValue

func (t Thing) AsStructuredValue() (*StructuredValue, bool)

AsStructuredValue is the BasicResponseBase implementation for Thing.

func (Thing) AsThing

func (t Thing) AsThing() (*Thing, bool)

AsThing is the BasicResponseBase implementation for Thing.

func (Thing) AsTouristAttraction

func (t Thing) AsTouristAttraction() (*TouristAttraction, bool)

AsTouristAttraction is the BasicResponseBase implementation for Thing.

func (Thing) MarshalJSON

func (t Thing) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Thing.

func (*Thing) UnmarshalJSON

func (t *Thing) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Thing struct.

type TouristAttraction

type TouristAttraction 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"`
}

TouristAttraction ...

func (TouristAttraction) AsAirport

func (ta TouristAttraction) AsAirport() (*Airport, bool)

AsAirport is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsAnswer

func (ta TouristAttraction) AsAnswer() (*Answer, bool)

AsAnswer is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsBasicAnswer

func (ta TouristAttraction) AsBasicAnswer() (BasicAnswer, bool)

AsBasicAnswer is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsBasicCivicStructure

func (ta TouristAttraction) AsBasicCivicStructure() (BasicCivicStructure, bool)

AsBasicCivicStructure is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsBasicCreativeWork

func (ta TouristAttraction) AsBasicCreativeWork() (BasicCreativeWork, bool)

AsBasicCreativeWork is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsBasicEntertainmentBusiness

func (ta TouristAttraction) AsBasicEntertainmentBusiness() (BasicEntertainmentBusiness, bool)

AsBasicEntertainmentBusiness is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsBasicFoodEstablishment

func (ta TouristAttraction) AsBasicFoodEstablishment() (BasicFoodEstablishment, bool)

AsBasicFoodEstablishment is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsBasicIdentifiable

func (ta TouristAttraction) AsBasicIdentifiable() (BasicIdentifiable, bool)

AsBasicIdentifiable is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsBasicIntangible

func (ta TouristAttraction) AsBasicIntangible() (BasicIntangible, bool)

AsBasicIntangible is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsBasicLocalBusiness

func (ta TouristAttraction) AsBasicLocalBusiness() (BasicLocalBusiness, bool)

AsBasicLocalBusiness is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsBasicLodgingBusiness

func (ta TouristAttraction) AsBasicLodgingBusiness() (BasicLodgingBusiness, bool)

AsBasicLodgingBusiness is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsBasicMediaObject

func (ta TouristAttraction) AsBasicMediaObject() (BasicMediaObject, bool)

AsBasicMediaObject is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsBasicPlace

func (ta TouristAttraction) AsBasicPlace() (BasicPlace, bool)

AsBasicPlace is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsBasicResponse

func (ta TouristAttraction) AsBasicResponse() (BasicResponse, bool)

AsBasicResponse is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsBasicResponseBase

func (ta TouristAttraction) AsBasicResponseBase() (BasicResponseBase, bool)

AsBasicResponseBase is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsBasicSearchResultsAnswer

func (ta TouristAttraction) AsBasicSearchResultsAnswer() (BasicSearchResultsAnswer, bool)

AsBasicSearchResultsAnswer is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsBasicStructuredValue

func (ta TouristAttraction) AsBasicStructuredValue() (BasicStructuredValue, bool)

AsBasicStructuredValue is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsBasicThing

func (ta TouristAttraction) AsBasicThing() (BasicThing, bool)

AsBasicThing is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsCivicStructure

func (ta TouristAttraction) AsCivicStructure() (*CivicStructure, bool)

AsCivicStructure is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsCreativeWork

func (ta TouristAttraction) AsCreativeWork() (*CreativeWork, bool)

AsCreativeWork is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsEntertainmentBusiness

func (ta TouristAttraction) AsEntertainmentBusiness() (*EntertainmentBusiness, bool)

AsEntertainmentBusiness is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsEntities

func (ta TouristAttraction) AsEntities() (*Entities, bool)

AsEntities is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsErrorResponse

func (ta TouristAttraction) AsErrorResponse() (*ErrorResponse, bool)

AsErrorResponse is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsFoodEstablishment

func (ta TouristAttraction) AsFoodEstablishment() (*FoodEstablishment, bool)

AsFoodEstablishment is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsHotel

func (ta TouristAttraction) AsHotel() (*Hotel, bool)

AsHotel is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsIdentifiable

func (ta TouristAttraction) AsIdentifiable() (*Identifiable, bool)

AsIdentifiable is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsImageObject

func (ta TouristAttraction) AsImageObject() (*ImageObject, bool)

AsImageObject is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsIntangible

func (ta TouristAttraction) AsIntangible() (*Intangible, bool)

AsIntangible is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsLicense

func (ta TouristAttraction) AsLicense() (*License, bool)

AsLicense is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsLocalBusiness

func (ta TouristAttraction) AsLocalBusiness() (*LocalBusiness, bool)

AsLocalBusiness is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsLodgingBusiness

func (ta TouristAttraction) AsLodgingBusiness() (*LodgingBusiness, bool)

AsLodgingBusiness is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsMediaObject

func (ta TouristAttraction) AsMediaObject() (*MediaObject, bool)

AsMediaObject is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsMovieTheater

func (ta TouristAttraction) AsMovieTheater() (*MovieTheater, bool)

AsMovieTheater is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsOrganization

func (ta TouristAttraction) AsOrganization() (*Organization, bool)

AsOrganization is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsPlace

func (ta TouristAttraction) AsPlace() (*Place, bool)

AsPlace is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsPlaces

func (ta TouristAttraction) AsPlaces() (*Places, bool)

AsPlaces is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsPostalAddress

func (ta TouristAttraction) AsPostalAddress() (*PostalAddress, bool)

AsPostalAddress is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsResponse

func (ta TouristAttraction) AsResponse() (*Response, bool)

AsResponse is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsResponseBase

func (ta TouristAttraction) AsResponseBase() (*ResponseBase, bool)

AsResponseBase is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsRestaurant

func (ta TouristAttraction) AsRestaurant() (*Restaurant, bool)

AsRestaurant is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsSearchResponse

func (ta TouristAttraction) AsSearchResponse() (*SearchResponse, bool)

AsSearchResponse is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsSearchResultsAnswer

func (ta TouristAttraction) AsSearchResultsAnswer() (*SearchResultsAnswer, bool)

AsSearchResultsAnswer is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsStructuredValue

func (ta TouristAttraction) AsStructuredValue() (*StructuredValue, bool)

AsStructuredValue is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsThing

func (ta TouristAttraction) AsThing() (*Thing, bool)

AsThing is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) AsTouristAttraction

func (ta TouristAttraction) AsTouristAttraction() (*TouristAttraction, bool)

AsTouristAttraction is the BasicResponseBase implementation for TouristAttraction.

func (TouristAttraction) MarshalJSON

func (ta TouristAttraction) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TouristAttraction.

func (*TouristAttraction) UnmarshalJSON

func (ta *TouristAttraction) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for TouristAttraction struct.

type Type

type Type string

Type enumerates the values for type.

const (
	// TypeContractualRulesAttribution ...
	TypeContractualRulesAttribution Type = "ContractualRules/Attribution"
	// TypeContractualRulesContractualRule ...
	TypeContractualRulesContractualRule Type = "ContractualRules/ContractualRule"
	// TypeContractualRulesLicenseAttribution ...
	TypeContractualRulesLicenseAttribution Type = "ContractualRules/LicenseAttribution"
	// TypeContractualRulesLinkAttribution ...
	TypeContractualRulesLinkAttribution Type = "ContractualRules/LinkAttribution"
	// TypeContractualRulesMediaAttribution ...
	TypeContractualRulesMediaAttribution Type = "ContractualRules/MediaAttribution"
	// TypeContractualRulesTextAttribution ...
	TypeContractualRulesTextAttribution Type = "ContractualRules/TextAttribution"
)

func PossibleTypeValues

func PossibleTypeValues() []Type

PossibleTypeValues returns an array of possible values for the Type const type.

type TypeBasicResponseBase

type TypeBasicResponseBase string

TypeBasicResponseBase enumerates the values for type basic response base.

const (
	// TypeAirport ...
	TypeAirport TypeBasicResponseBase = "Airport"
	// TypeAnswer ...
	TypeAnswer TypeBasicResponseBase = "Answer"
	// TypeCivicStructure ...
	TypeCivicStructure TypeBasicResponseBase = "CivicStructure"
	// TypeCreativeWork ...
	TypeCreativeWork TypeBasicResponseBase = "CreativeWork"
	// TypeEntertainmentBusiness ...
	TypeEntertainmentBusiness TypeBasicResponseBase = "EntertainmentBusiness"
	// TypeEntities ...
	TypeEntities TypeBasicResponseBase = "Entities"
	// TypeErrorResponse ...
	TypeErrorResponse TypeBasicResponseBase = "ErrorResponse"
	// TypeFoodEstablishment ...
	TypeFoodEstablishment TypeBasicResponseBase = "FoodEstablishment"
	// TypeHotel ...
	TypeHotel TypeBasicResponseBase = "Hotel"
	// TypeIdentifiable ...
	TypeIdentifiable TypeBasicResponseBase = "Identifiable"
	// TypeImageObject ...
	TypeImageObject TypeBasicResponseBase = "ImageObject"
	// TypeIntangible ...
	TypeIntangible TypeBasicResponseBase = "Intangible"
	// TypeLicense ...
	TypeLicense TypeBasicResponseBase = "License"
	// TypeLocalBusiness ...
	TypeLocalBusiness TypeBasicResponseBase = "LocalBusiness"
	// TypeLodgingBusiness ...
	TypeLodgingBusiness TypeBasicResponseBase = "LodgingBusiness"
	// TypeMediaObject ...
	TypeMediaObject TypeBasicResponseBase = "MediaObject"
	// TypeMovieTheater ...
	TypeMovieTheater TypeBasicResponseBase = "MovieTheater"
	// TypeOrganization ...
	TypeOrganization TypeBasicResponseBase = "Organization"
	// TypePlace ...
	TypePlace TypeBasicResponseBase = "Place"
	// TypePlaces ...
	TypePlaces TypeBasicResponseBase = "Places"
	// TypePostalAddress ...
	TypePostalAddress TypeBasicResponseBase = "PostalAddress"
	// TypeResponse ...
	TypeResponse TypeBasicResponseBase = "Response"
	// TypeResponseBase ...
	TypeResponseBase TypeBasicResponseBase = "ResponseBase"
	// TypeRestaurant ...
	TypeRestaurant TypeBasicResponseBase = "Restaurant"
	// TypeSearchResponse ...
	TypeSearchResponse TypeBasicResponseBase = "SearchResponse"
	// TypeSearchResultsAnswer ...
	TypeSearchResultsAnswer TypeBasicResponseBase = "SearchResultsAnswer"
	// TypeStructuredValue ...
	TypeStructuredValue TypeBasicResponseBase = "StructuredValue"
	// TypeThing ...
	TypeThing TypeBasicResponseBase = "Thing"
	// TypeTouristAttraction ...
	TypeTouristAttraction TypeBasicResponseBase = "TouristAttraction"
)

func PossibleTypeBasicResponseBaseValues

func PossibleTypeBasicResponseBaseValues() []TypeBasicResponseBase

PossibleTypeBasicResponseBaseValues returns an array of possible values for the TypeBasicResponseBase const type.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL