Package me.memerator.api.object
Class Rating
java.lang.Object
me.memerator.api.object.Rating
public class Rating extends Object
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description MemegetMeme()Get the meme associated with this RatingintgetRating()Get the rating the user gaveOffsetDateTimegetTimestamp()The timestamp of this rating as an OffsetDateTimeUsergetUser()Get the user who rated this meme
-
Constructor Details
-
Method Details
-
getUser
Get the user who rated this meme- Returns:
- the user
-
getRating
public int getRating()Get the rating the user gave- Returns:
- the rating
-
getTimestamp
The timestamp of this rating as an OffsetDateTime- Returns:
- the timestamp
-
getMeme
Get the meme associated with this Rating- Returns:
- the meme
-