Rating Class

Defines a rating.

You probably want to use the sub-classes and not this class directly. Known sub-classes are: AggregateRating

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.cognitiveservices.search.imagesearch.models._models_py3.PropertiesItem
Rating

Constructor

Rating(*, rating_value: float, **kwargs)

Parameters

_type
str
Required

Required. Constant filled by server.

rating_value
float
Required

Required. The mean (average) rating. The possible values are 1.0 through 5.0.

Variables

text
str

Text representation of an item.

best_rating
float

The highest rated review. The possible values are 1.0 through 5.0.