Rating Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. visualsearch. models. PropertiesItem - com.
microsoft. azure. cognitiveservices. search. visualsearch. models. Rating
- com.
- com.
public class Rating
extends PropertiesItem
Defines a rating.
Constructor Summary
Constructor | Description | |
---|---|---|
Rating() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
bestRating()
Get the best |
double |
ratingValue()
Get the rating |
Rating |
withRatingValue(double ratingValue)
Set the rating |
Methods inherited from PropertiesItem
Methods inherited from java.lang.Object
java.lang.Object.clone
java.lang.Object.equals
java.lang.Object.finalize
java.lang.Object.getClass
java.lang.Object.hashCode
java.lang.Object.notify
java.lang.Object.notifyAll
java.lang.Object.toString
java.lang.Object.wait
java.lang.Object.wait
java.lang.Object.wait
Constructor Details
Rating
public Rating()
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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Azure SDK for Java
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour