Hotel interface

An interface representing Hotel.

Properties

address

The postal address of where the entity is located NOTE: This property will not be serialized. It can only be populated by the server.

amenities

NOTE: This property will not be serialized. It can only be populated by the server.

bingId

An ID that uniquely identifies this item. NOTE: This property will not be serialized. It can only be populated by the server.

contractualRules

A list of rules that you must adhere to if you display the item. NOTE: This property will not be serialized. It can only be populated by the server.

description

A short description of the item. NOTE: This property will not be serialized. It can only be populated by the server.

entityPresentationInfo

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. NOTE: This property will not be serialized. It can only be populated by the server.

hotelClass

NOTE: This property will not be serialized. It can only be populated by the server.

id

A String identifier. NOTE: This property will not be serialized. It can only be populated by the server.

image

NOTE: This property will not be serialized. It can only be populated by the server.

isPermanentlyClosed

NOTE: This property will not be serialized. It can only be populated by the server.

name

The name of the thing represented by this object. NOTE: This property will not be serialized. It can only be populated by the server.

panoramas

NOTE: This property will not be serialized. It can only be populated by the server.

priceRange

$$. NOTE: This property will not be serialized. It can only be populated by the server.

tagLine

NOTE: This property will not be serialized. It can only be populated by the server.

telephone

The entity's telephone number NOTE: This property will not be serialized. It can only be populated by the server.

url

The URL to get more information about the thing represented by this object. NOTE: This property will not be serialized. It can only be populated by the server.

webSearchUrl

The URL To Bing's search result for this item. NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

address

The postal address of where the entity is located NOTE: This property will not be serialized. It can only be populated by the server.

address?: PostalAddress

Property Value

amenities

NOTE: This property will not be serialized. It can only be populated by the server.

amenities?: string[]

Property Value

string[]

bingId

An ID that uniquely identifies this item. NOTE: This property will not be serialized. It can only be populated by the server.

bingId?: string

Property Value

string

contractualRules

A list of rules that you must adhere to if you display the item. NOTE: This property will not be serialized. It can only be populated by the server.

contractualRules?: ContractualRulesContractualRuleUnion[]

Property Value

description

A short description of the item. NOTE: This property will not be serialized. It can only be populated by the server.

description?: string

Property Value

string

entityPresentationInfo

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. NOTE: This property will not be serialized. It can only be populated by the server.

entityPresentationInfo?: EntitiesEntityPresentationInfo

Property Value

hotelClass

NOTE: This property will not be serialized. It can only be populated by the server.

hotelClass?: string

Property Value

string

id

A String identifier. NOTE: This property will not be serialized. It can only be populated by the server.

id?: string

Property Value

string

image

NOTE: This property will not be serialized. It can only be populated by the server.

image?: ImageObject

Property Value

isPermanentlyClosed

NOTE: This property will not be serialized. It can only be populated by the server.

isPermanentlyClosed?: boolean

Property Value

boolean

name

The name of the thing represented by this object. NOTE: This property will not be serialized. It can only be populated by the server.

name?: string

Property Value

string

panoramas

NOTE: This property will not be serialized. It can only be populated by the server.

panoramas?: ImageObject[]

Property Value

priceRange

$$. NOTE: This property will not be serialized. It can only be populated by the server.

priceRange?: string

Property Value

string

tagLine

NOTE: This property will not be serialized. It can only be populated by the server.

tagLine?: string

Property Value

string

telephone

The entity's telephone number NOTE: This property will not be serialized. It can only be populated by the server.

telephone?: string

Property Value

string

url

The URL to get more information about the thing represented by this object. NOTE: This property will not be serialized. It can only be populated by the server.

url?: string

Property Value

string

webSearchUrl

The URL To Bing's search result for this item. NOTE: This property will not be serialized. It can only be populated by the server.

webSearchUrl?: string

Property Value

string