Class AddRatingRequest

  • All Implemented Interfaces:
    Serializable

    public class AddRatingRequest
    extends Object
    implements Serializable
    The properties of the rating to be added.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static AddRatingRequest.Builder builder()  
      protected boolean canEqual​(Object other)  
      boolean equals​(Object o)  
      @NotNull UUID getAssetId()
      Required. The ID of the asset to which rating will be assigned.
      @NotNull Double getRating()
      Required. The rating value of the new rating.
      String getReview()
      The text field which could be optionally added with rating.
      int hashCode()  
      void setAssetId​(@NotNull UUID assetId)
      Required. The ID of the asset to which rating will be assigned.
      void setRating​(@NotNull Double rating)
      Required. The rating value of the new rating.
      void setReview​(String review)
      The text field which could be optionally added with rating.
      String toString()  
      • Methods inherited from class Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AddRatingRequest

        public AddRatingRequest()
    • Method Detail

      • getRating

        @NotNull
        public @NotNull Double getRating()
        Required. The rating value of the new rating.
      • getReview

        public String getReview()
        The text field which could be optionally added with rating.
      • getAssetId

        @NotNull
        public @NotNull UUID getAssetId()
        Required. The ID of the asset to which rating will be assigned.
      • setRating

        public void setRating​(@NotNull
                              @NotNull Double rating)
        Required. The rating value of the new rating.
      • setReview

        public void setReview​(String review)
        The text field which could be optionally added with rating.
      • setAssetId

        public void setAssetId​(@NotNull
                               @NotNull UUID assetId)
        Required. The ID of the asset to which rating will be assigned.
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class Object
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • toString

        public String toString()
        Overrides:
        toString in class Object