public class Comment extends Object
| Modifier and Type | Method and Description |
|---|---|
Area |
area()
The Area in which this comment's Post was created.
|
User |
author()
The user who created this comment.
|
ZonedDateTime |
created()
When was this comment created?
|
boolean |
equals(Object o) |
int |
hashCode() |
int |
ID()
The ID of this comment.
|
Optional<String> |
imageURL()
The URL to the image of this comment.
|
Post |
post()
The Post in which this comment was created.
|
String |
text()
The text of this comment.
|
String |
toString() |
public int ID()
Note that this API is crafted so no ID is ever needed, this method is only given in the case where you really need it.
public ZonedDateTime created()
public String text()
public Optional<String> imageURL()
public Area area()
public Post post()
public User author()