GetCommentsRequestOptions

data class GetCommentsRequestOptions(val sorting: CommentSortingOptions? = null, val repliedSince: String? = null, val repliedUntil: String? = null, val isReported: Boolean? = null, val topLevel: Boolean? = null, val since: String? = null, val until: String? = null, val isDeleted: Boolean? = null, val withoutDeletedThread: Boolean? = null, val reactionId: String? = null, val mentionedProfileId: String? = null, val repliesLimit: Int? = null, val relationshipType: String? = null, val relationshipFromProfileId: String? = null, val excludeInactiveProfile: Boolean? = null, val withoutReportedThread: Boolean? = null, val inlineRepliesOrdering: InlineRepliesSorting? = null, val excludeCommentReportThreshold: Int? = null)

Constructors

Link copied to clipboard
constructor(sorting: CommentSortingOptions? = null, repliedSince: String? = null, repliedUntil: String? = null, isReported: Boolean? = null, topLevel: Boolean? = null, since: String? = null, until: String? = null, isDeleted: Boolean? = null, withoutDeletedThread: Boolean? = null, reactionId: String? = null, mentionedProfileId: String? = null, repliesLimit: Int? = null, relationshipType: String? = null, relationshipFromProfileId: String? = null, excludeInactiveProfile: Boolean? = null, withoutReportedThread: Boolean? = null, inlineRepliesOrdering: InlineRepliesSorting? = null, excludeCommentReportThreshold: Int? = null)

Properties

Link copied to clipboard
@SerializedName(value = "exclude_comment_report_threshold")
val excludeCommentReportThreshold: Int?

Excludes comments with no replies when they reach this pending-report threshold. Parents with replies remain visible. Must be positive; null omits this filter. Independent of withoutReportedThread, which is forwarded unchanged.

Link copied to clipboard
@SerializedName(value = "exclude_inactive_profile")
val excludeInactiveProfile: Boolean?

When true, excludes comments whose author has an inactive profile when they have no replies. Comments that retain replies remain in the response with Comment.isAuthorActive set to false.

Link copied to clipboard
@SerializedName(value = "inline_replies_ordering")
val inlineRepliesOrdering: InlineRepliesSorting?

Orders inline replies independently of sorting when repliesLimit is specified. Null omits the parameter, so the API falls back to sorting. For example, use InlineRepliesSorting.OLDEST with CommentSortingOptions.NEWEST for sorting to preview the oldest reply under the newest top-level comments.

Link copied to clipboard
@SerializedName(value = "is_deleted")
val isDeleted: Boolean?
Link copied to clipboard
@SerializedName(value = "is_reported")
val isReported: Boolean?
Link copied to clipboard
@SerializedName(value = "mentioned_profile_id")
val mentionedProfileId: String?
Link copied to clipboard
@SerializedName(value = "reaction_id")
val reactionId: String?
Link copied to clipboard
@SerializedName(value = "relationship_from_profile_id")
val relationshipFromProfileId: String?
Link copied to clipboard
@SerializedName(value = "relationship_type")
val relationshipType: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerializedName(value = "replies_limit")
val repliesLimit: Int?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerializedName(value = "top_level")
val topLevel: Boolean?
Link copied to clipboard
Link copied to clipboard
@SerializedName(value = "without_deleted_thread")
val withoutDeletedThread: Boolean?
Link copied to clipboard
@SerializedName(value = "without_reported_thread")
val withoutReportedThread: Boolean?

Omits reported comments with no replies when true. Reported parents with replies remain. Null omits the query parameter and preserves the existing API behaviour.