Package ai.tock.bot.admin.dialog
Class RatingReportQueryResult
-
- All Implemented Interfaces:
public final class RatingReportQueryResultRatingReportQueryResult this class contains the statistics concerning the satisfaction module
an overall rating is given to the bot the number of users who rated the bot a list of the ratings given with the number of users who gave this rating
-
-
Field Summary
Fields Modifier and Type Field Description private final DoubleratingBotprivate final IntegernbUsersRatedprivate final List<DialogRating>ratingDetails
-
Constructor Summary
Constructors Constructor Description RatingReportQueryResult(Double ratingBot, Integer nbUsersRated, List<DialogRating> ratingDetails)
-
Method Summary
Modifier and Type Method Description final DoublegetRatingBot()ratingBot the average round bot rating the average rating must be between 1 and 5 it can be null if no user has rated the bot or satisfaction is not activated final IntegergetNbUsersRated()nbUsersRated the number of users who rated the bot final List<DialogRating>getRatingDetails()ratingDetails a list of the ratings given with the number of users who gave this rating -
-
Constructor Detail
-
RatingReportQueryResult
RatingReportQueryResult(Double ratingBot, Integer nbUsersRated, List<DialogRating> ratingDetails)
-
-
Method Detail
-
getRatingBot
final Double getRatingBot()
ratingBot the average round bot rating the average rating must be between 1 and 5 it can be null if no user has rated the bot or satisfaction is not activated
-
getNbUsersRated
final Integer getNbUsersRated()
nbUsersRated the number of users who rated the bot
-
getRatingDetails
final List<DialogRating> getRatingDetails()
ratingDetails a list of the ratings given with the number of users who gave this rating
-
-
-
-