Dela via


com.microsoft.azure.cognitiveservices.search.imagesearch.models

This package contains the models classes for BingImageSearchAPI. The Image Search API lets you send a search query to Bing and get back a list of relevant images. This section provides technical details about the query parameters and headers that you use to request images and the JSON response objects that contain them. For examples that show how to make requests, see [Searching the Web for Images](https://docs.microsoft.com/azure/cognitive-services/bing-image-search/search-the-web).

Classes

AggregateOffer

Defines a list of offers from merchants that are related to the image.

AggregateRating

Defines the metrics that indicate how well an item was rated by others.

Answer

Defines an answer.

CollectionPage

Defines a link to a webpage that contains a collection.

CreativeWork

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

Currency

Defines values for Currency.

DetailsOptionalParameter

The DetailsOptionalParameter model.

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.

ErrorSubCode

Defines values for ErrorSubCode.

Freshness

Defines values for Freshness.

Identifiable

Defines the identity of a resource.

ImageAspect

Defines values for ImageAspect.

ImageColor

Defines values for ImageColor.

ImageContent

Defines values for ImageContent.

ImageCropType

Defines values for ImageCropType.

ImageGallery

Defines a link to a webpage that contains a collection of related images.

ImageInsightModule

Defines values for ImageInsightModule.

ImageInsights

The top-level object that the response includes when an image insights request succeeds. For information about requesting image insights, see the [insightsToken](https://docs.microsoft.com/en-us/rest/api/cognitiveservices/bing-images-api-v7-reference#insightstoken) query parameter. The modules query parameter affects the fields that Bing includes in the response. If you set [modules](https://docs.microsoft.com/en-us/rest/api/cognitiveservices/bing-images-api-v7-reference#modulesrequested) to only Caption, then this object includes only the imageCaption field.

ImageInsightsImageCaption

Defines an image's caption.

ImageLicense

Defines values for ImageLicense.

ImageObject

Defines an image.

ImagesImageMetadata

Defines a count of the number of websites where you can shop or perform other actions related to the image.

ImageSize

Defines values for ImageSize.

ImagesModel

Defines an image answer.

ImagesModule

Defines a list of images.

ImageTagsModule

Defines the characteristics of content found in an image.

ImageType

Defines values for ImageType.

InsightsTag

Defines a characteristic of the content found in the image.

Intangible

A utility class that serves as the umbrella for a number of 'intangible' things such as quantities, structured values, etc.

ItemAvailability

Defines values for ItemAvailability.

MediaObject

Defines a media object.

NormalizedRectangle

Defines a region of an image. The region is defined by the coordinates of the top, left corner and bottom, right corner of the region. The coordinates are fractional values of the original image's width and height in the range 0.0 through 1.0.

Offer

Defines a merchant's offer.

Organization

Defines an organization.

Person

Defines a person.

PivotSuggestions

Defines the pivot segment.

PropertiesItem

Defines an item.

Query

Defines a search query.

Rating

Defines a rating.

Recipe

Defines a cooking recipe.

RecipesModule

Defines a list of recipes.

RecognizedEntitiesModule

Defines a list of previously recognized entities.

RecognizedEntity

Defines a recognized entity.

RecognizedEntityGroup

Defines a group of previously recognized entities.

RecognizedEntityRegion

Defines a region of the image where an entity was found and a list of entities that might match it.

RelatedCollectionsModule

Defines a list of webpages that contain related images.

RelatedSearchesModule

Defines a list of related searches.

Response

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

ResponseBase

Response base.

SafeSearch

Defines values for SafeSearch.

SearchOptionalParameter

The SearchOptionalParameter model.

SearchResultsAnswer

Defines a search result answer.

StructuredValue

The StructuredValue model.

Thing

Defines a thing.

TrendingImages

The top-level object that the response includes when a trending images request succeeds.

TrendingImagesCategory

Defines the category of trending images.

TrendingImagesTile

Defines an image tile.

TrendingOptionalParameter

The TrendingOptionalParameter model.

WebPage

Defines a webpage that is relevant to the query.