Rating Class
- java.
lang. Object - PropertiesItem
- com.
microsoft. azure. cognitiveservices. search. imagesearch. models. Rating
- com.
public class Rating extends PropertiesItem
Defines a rating.
Method Summary
Modifier and Type | Method and Description |
---|---|
Double |
bestRating()
Get the bestRating value. |
double |
ratingValue()
Get the ratingValue value. |
Rating |
withRatingValue(double ratingValue)
Set the ratingValue value. |
Inherited Members
Method Details
bestRating
public Double bestRating()
Get the bestRating value.
Returns:
the bestRating value
ratingValue
public double ratingValue()
Get the ratingValue value.
Returns:
the ratingValue value
withRatingValue
public Rating withRatingValue(double ratingValue)
Set the ratingValue value.
Parameters:
ratingValue
- the ratingValue value to set
Returns:
the Rating object itself.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for Java