org.springframework.social.facebook.api
Class RatingActionMetadata
java.lang.Object
org.springframework.social.facebook.api.ActionMetadata
org.springframework.social.facebook.api.RatingActionMetadata
public class RatingActionMetadata
- extends ActionMetadata
Carries metadata related to a rating action (such as rating a book or a movie).
Methods inherited from class org.springframework.social.facebook.api.ActionMetadata |
createdTime, endTime, expiresIn, explicitlyShared, message, noFeedStory, place, privacy, setDateIfNotNull, setIfBooleanNotNull, setIfNotNull, startTime, tag |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RatingActionMetadata
public RatingActionMetadata()
reviewText
public RatingActionMetadata reviewText(String reviewText)
- Sets review text to accompany a rating.
- Parameters:
reviewText
- Review text to go along with a rating.
reviewLink
public RatingActionMetadata reviewLink(String reviewLink)
- Sets a link to a review that accompanies a rating.
- Parameters:
reviewLink
- A link to a review that accompanies a rating.
toParameters
public MultiValueMap<String,Object> toParameters()
- Overrides:
toParameters
in class ActionMetadata