View Javadoc

1   package com.atlassian.marketplace.client.model;
2   
3   /**
4    * Summary information about user reviews for an add-on.
5    * @since 2.0.0
6    */
7   public final class AddonReviewsSummary
8   {
9       Float averageStars;
10      Integer count;
11  
12      /**
13       * The average rating of the add-on, from 0 to 4 (will be zero if it has never been rated).
14       */
15      public float getAverageStars()
16      {
17          return averageStars;
18      }
19      
20      /**
21       * The number of times the add-on has been reviewed.
22       */
23      public int getCount()
24      {
25          return count;
26      }
27  }