Class AddRatingRequest
Object
AddRatingRequest
- All Implemented Interfaces:
Serializable
The properties of the rating to be added.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AddRatingRequest.Builderbuilder()protected booleanbooleanRequired. The ID of the asset to which rating will be assigned.Required. The rating value of the new rating.The text field which could be optionally added with rating.inthashCode()voidsetAssetId(UUID assetId) Required. The ID of the asset to which rating will be assigned.voidRequired. The rating value of the new rating.voidThe text field which could be optionally added with rating.toString()
-
Constructor Details
-
AddRatingRequest
public AddRatingRequest()
-
-
Method Details
-
builder
-
getRating
Required. The rating value of the new rating. Allowed values are {0.2, 0.4, 0.6, 0.8, 1.0} (e.g., 0.2 for 1 star, 1.0 for 5 stars). -
getReview
The text field which could be optionally added with rating. -
getAssetId
Required. The ID of the asset to which rating will be assigned. -
setRating
Required. The rating value of the new rating. Allowed values are {0.2, 0.4, 0.6, 0.8, 1.0} (e.g., 0.2 for 1 star, 1.0 for 5 stars). -
setReview
The text field which could be optionally added with rating. -
setAssetId
Required. The ID of the asset to which rating will be assigned. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-