Class AddRatingRequest
- Object
-
- AddRatingRequest
-
- All Implemented Interfaces:
Serializable
public class AddRatingRequest extends Object implements Serializable
The properties of the rating to be added.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AddRatingRequest.Builder
-
Constructor Summary
Constructors Constructor Description AddRatingRequest()
-
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()
-
-
-
Method Detail
-
builder
public static AddRatingRequest.Builder builder()
-
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 classObject
-
canEqual
protected boolean canEqual(Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classObject
-
toString
public String toString()
- Overrides:
toString
in classObject
-
-