public class ReviewRequestBody extends AssetConsumerOMASAPIRequestBody
| Constructor and Description |
|---|
ReviewRequestBody()
Default constructor
|
ReviewRequestBody(ReviewRequestBody template)
Copy/clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Equals method that returns true if containing properties are the same.
|
String |
getReview()
Return the attached review (if any)
|
StarRating |
getStarRating()
Return the star rating.
|
int |
hashCode()
Return hash code for this object
|
void |
setReview(String review)
Set up the attached review (if any)
|
void |
setStarRating(StarRating starRating)
Set up the star rating.
|
String |
toString()
JSON-style toString.
|
public ReviewRequestBody()
public ReviewRequestBody(ReviewRequestBody template)
template - object to copypublic StarRating getStarRating()
public void setStarRating(StarRating starRating)
starRating - enumpublic String getReview()
public void setReview(String review)
review - textpublic String toString()
toString in class AssetConsumerOMASAPIRequestBodypublic boolean equals(Object objectToCompare)
Copyright © 2018–2019 ODPi. All rights reserved.