Class ChangeRatingRequest
- Object
-
- ChangeRatingRequest
-
- All Implemented Interfaces:
Serializable
public class ChangeRatingRequest extends Object implements Serializable
The properties of the rating to be changed.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ChangeRatingRequest.Builder
-
Constructor Summary
Constructors Constructor Description ChangeRatingRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChangeRatingRequest.Builder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
@NotNull UUID
getId()
Required. The ID of the rating.@NotNull Double
getRating()
Required. The new rating value.String
getReview()
The new review value.int
hashCode()
void
setId(@NotNull UUID id)
Required. The ID of the rating.void
setRating(@NotNull Double rating)
Required. The new rating value.void
setReview(String review)
The new review value.String
toString()
-
-
-
Method Detail
-
builder
public static ChangeRatingRequest.Builder builder()
-
getId
@NotNull public @NotNull UUID getId()
Required. The ID of the rating.
-
getRating
@NotNull public @NotNull Double getRating()
Required. The new rating value.
-
getReview
public String getReview()
The new review value.
-
setId
public void setId(@NotNull @NotNull UUID id)
Required. The ID of the rating.
-
setRating
public void setRating(@NotNull @NotNull Double rating)
Required. The new rating value.
-
setReview
public void setReview(String review)
The new review value.
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classObject
-
canEqual
protected boolean canEqual(Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classObject
-
toString
public String toString()
- Overrides:
toString
in classObject
-
-