Package ai.tock.bot.admin.dialog
Class DialogRating
-
- All Implemented Interfaces:
public final class DialogRatingA DialogRating is a class of statistics for the user satisfaction module for each rating given by a user, the number of users who gave the same rating
-
-
Constructor Summary
Constructors Constructor Description DialogRating(Double rating, Integer nbUsers)
-
Method Summary
Modifier and Type Method Description final DoublegetRating()rating is the rating given by the user the rating can be a number between 1 and 5 final UnitsetRating(Double rating)rating is the rating given by the user the rating can be a number between 1 and 5 final IntegergetNbUsers()nbUsers is the number of users who gave this rating to the dialog final UnitsetNbUsers(Integer nbUsers)nbUsers is the number of users who gave this rating to the dialog -
-
Method Detail
-
getRating
final Double getRating()
rating is the rating given by the user the rating can be a number between 1 and 5
-
setRating
final Unit setRating(Double rating)
rating is the rating given by the user the rating can be a number between 1 and 5
-
getNbUsers
final Integer getNbUsers()
nbUsers is the number of users who gave this rating to the dialog
-
setNbUsers
final Unit setNbUsers(Integer nbUsers)
nbUsers is the number of users who gave this rating to the dialog
-
-
-
-