Class RatingBody

  • All Implemented Interfaces:

    @JsonClass(generateAdapter = true) 
    public final class RatingBody
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public enum RatingBody.IdEnum

      The rating scheme type. Possible values are likes and fiveStar. Values: LIKES, FIVESTAR

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final RatingBody.IdEnum getId() The rating scheme type.
      final Unit setId(@Json(name = "id") RatingBody.IdEnum id) The rating scheme type.
      final String getMyRating() The rating.
      final Unit setMyRating(@Json(name = "myRating") String myRating) The rating.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • setId

         final Unit setId(@Json(name = "id") RatingBody.IdEnum id)

        The rating scheme type. Possible values are likes and fiveStar.

      • getMyRating

         final String getMyRating()

        The rating. The type is specific to the rating scheme, boolean for the likes and an integer for the fiveStar

      • setMyRating

         final Unit setMyRating(@Json(name = "myRating") String myRating)

        The rating. The type is specific to the rating scheme, boolean for the likes and an integer for the fiveStar