@JsonClass(true) data class MoreComments : CommentData, Parcelable
This class is used to load more comments in the tree, when a comment or a group of comment is too deep.
Instances of this class along with the class MoreComments is organized in a tree structure, that composes a Submission comments section.
<init> |
This class is used to load more comments in the tree, when a comment or a group of comment is too deep. MoreComments(id: String, fullname: String, count: Int, depth: Int, parentId: String, children: List<String>, parentFullname: String = parentId, replies: List<CommentData>? = null, hasReplies: Boolean = false, repliesSize: Int = 0) |
children |
A list of String ids that are the additional things that can be downloaded but are not because there are too many to list. val children: List<String> |
count |
number of comments to load. val count: Int |
depth |
An integer representing the nested level of this node. val depth: Int |
fullname |
Fullname of comment, e.g. "t1_c3v7f8u" val fullname: String |
hasReplies |
always false val hasReplies: Boolean |
id |
This item identifier, e.g. "8xwlg" val id: String |
parentFullname |
fullname of the thing this comment is a reply to, either the link or a comment in it. val parentFullname: String |
parentId |
ID of the thing this comment is a reply to, either the link or a comment in it. val parentId: String |
replies |
always null val replies: List<CommentData>? |
repliesSize |
always 0 val repliesSize: Int |