你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

com.microsoft.azure.cognitiveservices.search.autosuggest.models

This package contains the models classes for BingAutoSuggestSearchAPI. The AutoSuggest Search API lets you send a search query to Bing and get back a list of news that are relevant to the search query. This section provides technical details about the query parameters and headers that you use to request news and the JSON response objects that contain them. For examples that show how to make requests, see [Searching the web for AutoSuggest](https://docs.microsoft.com/en-us/rest/api/cognitiveservices/bing-autosuggest-api-v7-reference).

Classes

Action

The Action model.

Answer

Defines an answer.

AutoSuggestOptionalParameter

The AutoSuggestOptionalParameter model.

CreativeWork

The most generic kind of creative work, including books, movies, photographs, software programs, etc.

Error

Defines the error that occurred.

ErrorCode

Defines values for ErrorCode.

ErrorResponse

The top-level response that represents a failed request.

ErrorResponseException

Exception thrown for an invalid response with ErrorResponse information.

Identifiable

Defines the identity of a resource.

QueryContext

Defines the query context that Bing used for the request.

Response

Defines a response. All schemas that could be returned at the root of a response should inherit from this.

ResponseBase

Response base.

ResponseFormat

Defines values for ResponseFormat.

SafeSearch

Defines values for SafeSearch.

ScenarioType

Defines values for ScenarioType.

SearchAction

The SearchAction model.

SearchKind

Defines values for SearchKind.

SearchResultsAnswer

Defines a search result answer.

Suggestions

The Suggestions model.

SuggestionsSuggestionGroup

The SuggestionsSuggestionGroup model.

Thing

Defines a thing.