-
- All Implemented Interfaces:
-
io.getstream.feeds.android.client.api.state.query.CommentsSortDataFields
public final class ThreadedCommentData implements CommentsSortDataFieldsA data model representing a threaded comment in the Stream Feeds system.
This struct contains all the information about a comment with threaded replies, including its content, metadata, reactions, nested replies, and user information. It supports hierarchical comment structures with pagination metadata.
Threaded Comments: Supports nested comment replies with hierarchy
Pagination Metadata: Includes metadata for pagination and loading states
Reactions: Tracks user reactions and reaction counts
Mentions: Supports user mentions with metadata
Attachments: Supports file and media attachments
Moderation: Includes moderation and scoring data
Real-time Updates: Designed for real-time state management
-
-
Field Summary
Fields Modifier and Type Field Description private final List<Attachment>attachmentsprivate final IntegerbookmarkCountprivate final FloatconfidenceScoreprivate final FloatcontroversyScoreprivate final DatecreatedAtprivate final Map<String, Object>customprivate final DatedeletedAtprivate final IntegerdownvoteCountprivate final DateeditedAtprivate final Stringidprivate final List<FeedsReactionData>latestReactionsprivate final List<UserData>mentionedUsersprivate final RepliesMetametaprivate final Moderationmoderationprivate final StringobjectIdprivate final StringobjectTypeprivate final List<FeedsReactionData>ownReactionsprivate final StringparentIdprivate final IntegerreactionCountprivate final Map<String, ReactionGroupData>reactionGroupsprivate final List<ThreadedCommentData>repliesprivate final IntegerreplyCountprivate final Integerscoreprivate final CommentStatusstatusprivate final Stringtextprivate final DateupdatedAtprivate final IntegerupvoteCountprivate final UserDatauser
-
Constructor Summary
Constructors Constructor Description ThreadedCommentData(CommentData comment)Creates a new instance of ThreadedCommentData from a CommentData object. ThreadedCommentData(List<Attachment> attachments, Integer bookmarkCount, Float confidenceScore, Float controversyScore, Date createdAt, Map<String, Object> custom, Date deletedAt, Integer downvoteCount, Date editedAt, String id, List<FeedsReactionData> latestReactions, List<UserData> mentionedUsers, RepliesMeta meta, Moderation moderation, String objectId, String objectType, List<FeedsReactionData> ownReactions, String parentId, Integer reactionCount, Map<String, ReactionGroupData> reactionGroups, List<ThreadedCommentData> replies, Integer replyCount, Integer score, CommentStatus status, String text, Date updatedAt, Integer upvoteCount, UserData user)
-
Method Summary
Modifier and Type Method Description final List<Attachment>getAttachments()final IntegergetBookmarkCount()FloatgetConfidenceScore()FloatgetControversyScore()DategetCreatedAt()final Map<String, Object>getCustom()final DategetDeletedAt()final IntegergetDownvoteCount()final DategetEditedAt()final StringgetId()final List<FeedsReactionData>getLatestReactions()final List<UserData>getMentionedUsers()final RepliesMetagetMeta()final ModerationgetModeration()final StringgetObjectId()final StringgetObjectType()final List<FeedsReactionData>getOwnReactions()final StringgetParentId()final IntegergetReactionCount()final Map<String, ReactionGroupData>getReactionGroups()final List<ThreadedCommentData>getReplies()final IntegergetReplyCount()IntegergetScore()final CommentStatusgetStatus()final StringgetText()final DategetUpdatedAt()final IntegergetUpvoteCount()final UserDatagetUser()-
-
Constructor Detail
-
ThreadedCommentData
ThreadedCommentData(CommentData comment)
Creates a new instance of ThreadedCommentData from a CommentData object.
-
ThreadedCommentData
ThreadedCommentData(List<Attachment> attachments, Integer bookmarkCount, Float confidenceScore, Float controversyScore, Date createdAt, Map<String, Object> custom, Date deletedAt, Integer downvoteCount, Date editedAt, String id, List<FeedsReactionData> latestReactions, List<UserData> mentionedUsers, RepliesMeta meta, Moderation moderation, String objectId, String objectType, List<FeedsReactionData> ownReactions, String parentId, Integer reactionCount, Map<String, ReactionGroupData> reactionGroups, List<ThreadedCommentData> replies, Integer replyCount, Integer score, CommentStatus status, String text, Date updatedAt, Integer upvoteCount, UserData user)
-
-
Method Detail
-
getAttachments
final List<Attachment> getAttachments()
-
getBookmarkCount
final Integer getBookmarkCount()
-
getConfidenceScore
Float getConfidenceScore()
-
getControversyScore
Float getControversyScore()
-
getCreatedAt
Date getCreatedAt()
-
getDeletedAt
final Date getDeletedAt()
-
getDownvoteCount
final Integer getDownvoteCount()
-
getEditedAt
final Date getEditedAt()
-
getLatestReactions
final List<FeedsReactionData> getLatestReactions()
-
getMentionedUsers
final List<UserData> getMentionedUsers()
-
getMeta
final RepliesMeta getMeta()
-
getModeration
final Moderation getModeration()
-
getObjectId
final String getObjectId()
-
getObjectType
final String getObjectType()
-
getOwnReactions
final List<FeedsReactionData> getOwnReactions()
-
getParentId
final String getParentId()
-
getReactionCount
final Integer getReactionCount()
-
getReactionGroups
final Map<String, ReactionGroupData> getReactionGroups()
-
getReplies
final List<ThreadedCommentData> getReplies()
-
getReplyCount
final Integer getReplyCount()
-
getStatus
final CommentStatus getStatus()
-
getUpdatedAt
final Date getUpdatedAt()
-
getUpvoteCount
final Integer getUpvoteCount()
-
-
-
-