Compartilhar via


Restaurant Construtores

Definição

Sobrecargas

Restaurant()

Inicializa uma nova instância da classe Restaurant.

Restaurant(String, IList<ContractualRulesContractualRule>, String, String, String, ImageObject, String, EntitiesEntityPresentationInfo, String, PostalAddress, String, String, IList<ImageObject>, Nullable<Boolean>, String, Nullable<Boolean>, String, IList<String>, String)

Inicializa uma nova instância da classe Restaurant.

Restaurant()

Inicializa uma nova instância da classe Restaurant.

public Restaurant ();
Public Sub New ()

Aplica-se a

Restaurant(String, IList<ContractualRulesContractualRule>, String, String, String, ImageObject, String, EntitiesEntityPresentationInfo, String, PostalAddress, String, String, IList<ImageObject>, Nullable<Boolean>, String, Nullable<Boolean>, String, IList<String>, String)

Inicializa uma nova instância da classe Restaurant.

public Restaurant (string id = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.ContractualRulesContractualRule> contractualRules = default, string webSearchUrl = default, string name = default, string url = default, Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.ImageObject image = default, string description = default, Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.EntitiesEntityPresentationInfo entityPresentationInfo = default, string bingId = default, Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.PostalAddress address = default, string telephone = default, string priceRange = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.ImageObject> panoramas = default, bool? isPermanentlyClosed = default, string tagLine = default, bool? acceptsReservations = default, string reservationUrl = default, System.Collections.Generic.IList<string> servesCuisine = default, string menuUrl = default);
new Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.Restaurant : string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.ContractualRulesContractualRule> * string * string * string * Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.ImageObject * string * Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.EntitiesEntityPresentationInfo * string * Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.PostalAddress * string * string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.ImageObject> * Nullable<bool> * string * Nullable<bool> * string * System.Collections.Generic.IList<string> * string -> Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.Restaurant
Public Sub New (Optional id As String = Nothing, Optional contractualRules As IList(Of ContractualRulesContractualRule) = Nothing, Optional webSearchUrl As String = Nothing, Optional name As String = Nothing, Optional url As String = Nothing, Optional image As ImageObject = Nothing, Optional description As String = Nothing, Optional entityPresentationInfo As EntitiesEntityPresentationInfo = Nothing, Optional bingId As String = Nothing, Optional address As PostalAddress = Nothing, Optional telephone As String = Nothing, Optional priceRange As String = Nothing, Optional panoramas As IList(Of ImageObject) = Nothing, Optional isPermanentlyClosed As Nullable(Of Boolean) = Nothing, Optional tagLine As String = Nothing, Optional acceptsReservations As Nullable(Of Boolean) = Nothing, Optional reservationUrl As String = Nothing, Optional servesCuisine As IList(Of String) = Nothing, Optional menuUrl As String = Nothing)

Parâmetros

id
String

Um identificador string.

contractualRules
IList<ContractualRulesContractualRule>

Uma lista de regras às quais você deve aderir se exibir o item.

webSearchUrl
String

A URL para o resultado da pesquisa do Bing para este item.

name
String

O nome da coisa representada por esse objeto.

url
String

A URL para obter mais informações sobre a coisa representada por esse objeto.

image
ImageObject
description
String

Uma breve descrição do item.

entityPresentationInfo
EntitiesEntityPresentationInfo

Informações adicionais sobre a entidade, como dicas que você pode usar para determinar o tipo da entidade. Para determinar o tipo da entidade, use os campos entityScenario e entityTypeHint.

bingId
String

Uma ID que identifica exclusivamente esse item.

address
PostalAddress

O endereço postal de onde a entidade está localizada

telephone
String

Número de telefone da entidade

priceRange
String

$$.

panoramas
IList<ImageObject>
isPermanentlyClosed
Nullable<Boolean>
tagLine
String
acceptsReservations
Nullable<Boolean>
reservationUrl
String
servesCuisine
IList<String>
menuUrl
String

Aplica-se a