AggregateRating Class

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

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
AggregateRating

Constructor

AggregateRating(*, 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.

review_count
int

The number of times the recipe has been rated or reviewed.