public final class PostedRecordComment
extends Object
Constructor and Description |
---|
PostedRecordComment(long id,
String text,
ZonedDateTime createdAt,
User creator,
List<Entity> mentions)
Creates a new
PostedRecordComment instance. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
ZonedDateTime |
getCreatedAt()
The created date and time of the comment.
|
User |
getCreator()
An object including information of the comment creator.
|
long |
getId()
The comment ID.
|
List<Entity> |
getMentions()
A list including information of mentioned users.
|
String |
getText()
The comment including the line feed codes.
|
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"id","text","createdAt","creator","mentions"}) public PostedRecordComment(long id, String text, ZonedDateTime createdAt, User creator, List<Entity> mentions)
PostedRecordComment
instance.id
- The comment ID.text
- The comment including the line feed codes.createdAt
- The created date and time of the comment.creator
- An object including information of the comment creator.mentions
- A list including information of mentioned users.public long getId()
public String getText()
public ZonedDateTime getCreatedAt()
public User getCreator()
public List<Entity> getMentions()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object