-
public final class CommentReactionsQueryA query configuration for fetching reactions for a specific comment.
This struct defines the parameters used to fetch reactions for a comment, including pagination settings, sorting options, and filtering capabilities.
Pagination: Supports
nextandpreviouscursors for efficient paginationSorting: Configurable sorting options for reaction ordering
Filtering: Supports filtering by reaction type, user ID, and creation date
-
-
Field Summary
Fields Modifier and Type Field Description private final StringcommentIdprivate final Filter<FeedsReactionData, CommentReactionsFilterField>filterprivate final Integerlimitprivate final Stringnextprivate final Stringpreviousprivate final List<CommentReactionsSort>sort
-
Constructor Summary
Constructors Constructor Description CommentReactionsQuery(String commentId, Filter<FeedsReactionData, CommentReactionsFilterField> filter, Integer limit, String next, String previous, List<CommentReactionsSort> sort)
-
Method Summary
Modifier and Type Method Description final StringgetCommentId()final Filter<FeedsReactionData, CommentReactionsFilterField>getFilter()final IntegergetLimit()final StringgetNext()final StringgetPrevious()final List<CommentReactionsSort>getSort()-
-
Constructor Detail
-
CommentReactionsQuery
CommentReactionsQuery(String commentId, Filter<FeedsReactionData, CommentReactionsFilterField> filter, Integer limit, String next, String previous, List<CommentReactionsSort> sort)
- Parameters:
commentId- The unique identifier of the comment to fetch reactions for.filter- Optional filter criteria to apply to the reactions.limit- The maximum number of reactions to return in a single request.next- Pagination cursor for fetching the next page of results.previous- Pagination cursor for fetching the previous page of results.sort- Array of sorting criteria to apply to the comment reactions.
-
-
Method Detail
-
getCommentId
final String getCommentId()
-
getFilter
final Filter<FeedsReactionData, CommentReactionsFilterField> getFilter()
-
getPrevious
final String getPrevious()
-
getSort
final List<CommentReactionsSort> getSort()
-
-
-
-