public final class GetRecordCommentsResponseBody extends Object implements KintoneResponseBody
Constructor and Description |
---|
GetRecordCommentsResponseBody(List<PostedRecordComment> comments,
boolean older,
boolean newer)
Creates a new
GetRecordCommentsResponseBody instance. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
List<PostedRecordComment> |
getComments()
A list of comments.
|
int |
hashCode() |
boolean |
isNewer()
A boolean that indicates whether there are new comments.
|
boolean |
isOlder()
A boolean that indicates whether there are old comments.
|
String |
toString() |
@ConstructorProperties(value={"comments","older","newer"}) public GetRecordCommentsResponseBody(List<PostedRecordComment> comments, boolean older, boolean newer)
GetRecordCommentsResponseBody
instance.comments
- A list of comments.older
- A boolean that indicates whether there are old comments.newer
- A boolean that indicates whether there are new comments.public List<PostedRecordComment> getComments()
public boolean isOlder()
public boolean isNewer()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object