ModerationApi class

Constructors

ModerationApi([ApiClient? apiClient])

Properties

apiClient → ApiClient
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

deleteModerationVote(String tenantId, String commentId, String voteId, [DeleteModerationVoteOptions? options]) → Future<VoteDeleteResponse?>
Parameters:
deleteModerationVoteWithHttpInfo(String tenantId, String commentId, String voteId, [DeleteModerationVoteOptions? options]) → Future<Response>
Performs an HTTP 'DELETE /auth/my-account/moderate-comments/mod_api/vote/{commentId}/{voteId}' operation and returns the Response. Parameters:
getApiComments(String tenantId, [GetApiCommentsOptions? options]) → Future<ModerationAPIGetCommentsResponse?>
Parameters:
getApiCommentsWithHttpInfo(String tenantId, [GetApiCommentsOptions? options]) → Future<Response>
Performs an HTTP 'GET /auth/my-account/moderate-comments/mod_api/api/comments' operation and returns the Response. Parameters:
getApiExportStatus(String tenantId, [GetApiExportStatusOptions? options]) → Future<ModerationExportStatusResponse?>
Parameters:
getApiExportStatusWithHttpInfo(String tenantId, [GetApiExportStatusOptions? options]) → Future<Response>
Performs an HTTP 'GET /auth/my-account/moderate-comments/mod_api/api/export/status' operation and returns the Response. Parameters:
getApiIds(String tenantId, [GetApiIdsOptions? options]) → Future<ModerationAPIGetCommentIdsResponse?>
Parameters:
getApiIdsWithHttpInfo(String tenantId, [GetApiIdsOptions? options]) → Future<Response>
Performs an HTTP 'GET /auth/my-account/moderate-comments/mod_api/api/ids' operation and returns the Response. Parameters:
getBanUsersFromComment(String tenantId, String commentId, [String? sso]) → Future<GetBannedUsersFromCommentResponse?>
Parameters:
getBanUsersFromCommentWithHttpInfo(String tenantId, String commentId, [String? sso]) → Future<Response>
Performs an HTTP 'GET /auth/my-account/moderate-comments/mod_api/ban-users/from-comment/{commentId}' operation and returns the Response. Parameters:
getCommentBanStatus(String tenantId, String commentId, [String? sso]) → Future<GetCommentBanStatusResponse?>
Parameters:
getCommentBanStatusWithHttpInfo(String tenantId, String commentId, [String? sso]) → Future<Response>
Performs an HTTP 'GET /auth/my-account/moderate-comments/mod_api/get-comment-ban-status/{commentId}' operation and returns the Response. Parameters:
getCommentChildren(String tenantId, String commentId, [String? sso]) → Future<ModerationAPIChildCommentsResponse?>
Parameters:
getCommentChildrenWithHttpInfo(String tenantId, String commentId, [String? sso]) → Future<Response>
Performs an HTTP 'GET /auth/my-account/moderate-comments/mod_api/comment-children/{commentId}' operation and returns the Response. Parameters:
getCount(String tenantId, [GetCountOptions? options]) → Future<ModerationAPICountCommentsResponse?>
Parameters:
getCounts(String tenantId, [String? sso]) → Future<GetBannedUsersCountResponse?>
Parameters:
getCountsWithHttpInfo(String tenantId, [String? sso]) → Future<Response>
Performs an HTTP 'GET /auth/my-account/moderate-comments/banned-users/mod_api/counts' operation and returns the Response. Parameters:
getCountWithHttpInfo(String tenantId, [GetCountOptions? options]) → Future<Response>
Performs an HTTP 'GET /auth/my-account/moderate-comments/mod_api/count' operation and returns the Response. Parameters:
getLogs(String tenantId, String commentId, [String? sso]) → Future<ModerationAPIGetLogsResponse?>
Parameters:
getLogsWithHttpInfo(String tenantId, String commentId, [String? sso]) → Future<Response>
Performs an HTTP 'GET /auth/my-account/moderate-comments/mod_api/logs/{commentId}' operation and returns the Response. Parameters:
getManualBadges(String tenantId, [String? sso]) → Future<GetTenantManualBadgesResponse?>
Parameters:
getManualBadgesForUser(String tenantId, [GetManualBadgesForUserOptions? options]) → Future<GetUserManualBadgesResponse?>
Parameters:
getManualBadgesForUserWithHttpInfo(String tenantId, [GetManualBadgesForUserOptions? options]) → Future<Response>
Performs an HTTP 'GET /auth/my-account/moderate-comments/mod_api/get-manual-badges-for-user' operation and returns the Response. Parameters:
getManualBadgesWithHttpInfo(String tenantId, [String? sso]) → Future<Response>
Performs an HTTP 'GET /auth/my-account/moderate-comments/mod_api/get-manual-badges' operation and returns the Response. Parameters:
getModerationComment(String tenantId, String commentId, [GetModerationCommentOptions? options]) → Future<ModerationAPICommentResponse?>
Parameters:
getModerationCommentText(String tenantId, String commentId, [String? sso]) → Future<GetCommentTextResponse?>
Parameters:
getModerationCommentTextWithHttpInfo(String tenantId, String commentId, [String? sso]) → Future<Response>
Performs an HTTP 'GET /auth/my-account/moderate-comments/mod_api/get-comment-text/{commentId}' operation and returns the Response. Parameters:
getModerationCommentWithHttpInfo(String tenantId, String commentId, [GetModerationCommentOptions? options]) → Future<Response>
Performs an HTTP 'GET /auth/my-account/moderate-comments/mod_api/comment/{commentId}' operation and returns the Response. Parameters:
getPreBanSummary(String tenantId, String commentId, [GetPreBanSummaryOptions? options]) → Future<PreBanSummary?>
Parameters:
getPreBanSummaryWithHttpInfo(String tenantId, String commentId, [GetPreBanSummaryOptions? options]) → Future<Response>
Performs an HTTP 'GET /auth/my-account/moderate-comments/mod_api/pre-ban-summary/{commentId}' operation and returns the Response. Parameters:
getSearchCommentsSummary(String tenantId, [GetSearchCommentsSummaryOptions? options]) → Future<ModerationCommentSearchResponse?>
Parameters:
getSearchCommentsSummaryWithHttpInfo(String tenantId, [GetSearchCommentsSummaryOptions? options]) → Future<Response>
Performs an HTTP 'GET /auth/my-account/moderate-comments/mod_api/search/comments/summary' operation and returns the Response. Parameters:
getSearchPages(String tenantId, [GetSearchPagesOptions? options]) → Future<ModerationPageSearchResponse?>
Parameters:
getSearchPagesWithHttpInfo(String tenantId, [GetSearchPagesOptions? options]) → Future<Response>
Performs an HTTP 'GET /auth/my-account/moderate-comments/mod_api/search/pages' operation and returns the Response. Parameters:
getSearchSites(String tenantId, [GetSearchSitesOptions? options]) → Future<ModerationSiteSearchResponse?>
Parameters:
getSearchSitesWithHttpInfo(String tenantId, [GetSearchSitesOptions? options]) → Future<Response>
Performs an HTTP 'GET /auth/my-account/moderate-comments/mod_api/search/sites' operation and returns the Response. Parameters:
getSearchSuggest(String tenantId, [GetSearchSuggestOptions? options]) → Future<ModerationSuggestResponse?>
Parameters:
getSearchSuggestWithHttpInfo(String tenantId, [GetSearchSuggestOptions? options]) → Future<Response>
Performs an HTTP 'GET /auth/my-account/moderate-comments/mod_api/search/suggest' operation and returns the Response. Parameters:
getSearchUsers(String tenantId, [GetSearchUsersOptions? options]) → Future<ModerationUserSearchResponse?>
Parameters:
getSearchUsersWithHttpInfo(String tenantId, [GetSearchUsersOptions? options]) → Future<Response>
Performs an HTTP 'GET /auth/my-account/moderate-comments/mod_api/search/users' operation and returns the Response. Parameters:
getTrustFactor(String tenantId, [GetTrustFactorOptions? options]) → Future<GetUserTrustFactorResponse?>
Parameters:
getTrustFactorWithHttpInfo(String tenantId, [GetTrustFactorOptions? options]) → Future<Response>
Performs an HTTP 'GET /auth/my-account/moderate-comments/mod_api/get-trust-factor' operation and returns the Response. Parameters:
getUserBanPreference(String tenantId, [String? sso]) → Future<APIModerateGetUserBanPreferencesResponse?>
Parameters:
getUserBanPreferenceWithHttpInfo(String tenantId, [String? sso]) → Future<Response>
Performs an HTTP 'GET /auth/my-account/moderate-comments/mod_api/user-ban-preference' operation and returns the Response. Parameters:
getUserInternalProfile(String tenantId, [GetUserInternalProfileOptions? options]) → Future<GetUserInternalProfileResponse?>
Parameters:
getUserInternalProfileWithHttpInfo(String tenantId, [GetUserInternalProfileOptions? options]) → Future<Response>
Performs an HTTP 'GET /auth/my-account/moderate-comments/mod_api/get-user-internal-profile' operation and returns the Response. Parameters:
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
postAdjustCommentVotes(String tenantId, String commentId, AdjustCommentVotesParams adjustCommentVotesParams, [PostAdjustCommentVotesOptions? options]) → Future<AdjustVotesResponse?>
Parameters:
postAdjustCommentVotesWithHttpInfo(String tenantId, String commentId, AdjustCommentVotesParams adjustCommentVotesParams, [PostAdjustCommentVotesOptions? options]) → Future<Response>
Performs an HTTP 'POST /auth/my-account/moderate-comments/mod_api/adjust-comment-votes/{commentId}' operation and returns the Response. Parameters:
postApiExport(String tenantId, [PostApiExportOptions? options]) → Future<ModerationExportResponse?>
Parameters:
postApiExportWithHttpInfo(String tenantId, [PostApiExportOptions? options]) → Future<Response>
Performs an HTTP 'POST /auth/my-account/moderate-comments/mod_api/api/export' operation and returns the Response. Parameters:
postBanUserFromComment(String tenantId, String commentId, [PostBanUserFromCommentOptions? options]) → Future<BanUserFromCommentResult?>
Parameters:
postBanUserFromCommentWithHttpInfo(String tenantId, String commentId, [PostBanUserFromCommentOptions? options]) → Future<Response>
Performs an HTTP 'POST /auth/my-account/moderate-comments/mod_api/ban-user/from-comment/{commentId}' operation and returns the Response. Parameters:
postBanUserUndo(String tenantId, BanUserUndoParams banUserUndoParams, [String? sso]) → Future<APIEmptyResponse?>
Parameters:
postBanUserUndoWithHttpInfo(String tenantId, BanUserUndoParams banUserUndoParams, [String? sso]) → Future<Response>
Performs an HTTP 'POST /auth/my-account/moderate-comments/mod_api/ban-user/undo' operation and returns the Response. Parameters:
postBulkPreBanSummary(String tenantId, BulkPreBanParams bulkPreBanParams, [PostBulkPreBanSummaryOptions? options]) → Future<BulkPreBanSummary?>
Parameters:
postBulkPreBanSummaryWithHttpInfo(String tenantId, BulkPreBanParams bulkPreBanParams, [PostBulkPreBanSummaryOptions? options]) → Future<Response>
Performs an HTTP 'POST /auth/my-account/moderate-comments/mod_api/bulk-pre-ban-summary' operation and returns the Response. Parameters:
postCommentsByIds(String tenantId, CommentsByIdsParams commentsByIdsParams, [String? sso]) → Future<ModerationAPIChildCommentsResponse?>
Parameters:
postCommentsByIdsWithHttpInfo(String tenantId, CommentsByIdsParams commentsByIdsParams, [String? sso]) → Future<Response>
Performs an HTTP 'POST /auth/my-account/moderate-comments/mod_api/comments-by-ids' operation and returns the Response. Parameters:
postFlagComment(String tenantId, String commentId, [PostFlagCommentOptions? options]) → Future<APIEmptyResponse?>
Parameters:
postFlagCommentWithHttpInfo(String tenantId, String commentId, [PostFlagCommentOptions? options]) → Future<Response>
Performs an HTTP 'POST /auth/my-account/moderate-comments/mod_api/flag-comment/{commentId}' operation and returns the Response. Parameters:
postRemoveComment(String tenantId, String commentId, [PostRemoveCommentOptions? options]) → Future<PostRemoveCommentApiResponse?>
Parameters:
postRemoveCommentWithHttpInfo(String tenantId, String commentId, [PostRemoveCommentOptions? options]) → Future<Response>
Performs an HTTP 'POST /auth/my-account/moderate-comments/mod_api/remove-comment/{commentId}' operation and returns the Response. Parameters:
postRestoreDeletedComment(String tenantId, String commentId, [PostRestoreDeletedCommentOptions? options]) → Future<APIEmptyResponse?>
Parameters:
postRestoreDeletedCommentWithHttpInfo(String tenantId, String commentId, [PostRestoreDeletedCommentOptions? options]) → Future<Response>
Performs an HTTP 'POST /auth/my-account/moderate-comments/mod_api/restore-deleted-comment/{commentId}' operation and returns the Response. Parameters:
postSetCommentApprovalStatus(String tenantId, String commentId, [PostSetCommentApprovalStatusOptions? options]) → Future<SetCommentApprovedResponse?>
Parameters:
postSetCommentApprovalStatusWithHttpInfo(String tenantId, String commentId, [PostSetCommentApprovalStatusOptions? options]) → Future<Response>
Performs an HTTP 'POST /auth/my-account/moderate-comments/mod_api/set-comment-approval-status/{commentId}' operation and returns the Response. Parameters:
postSetCommentReviewStatus(String tenantId, String commentId, [PostSetCommentReviewStatusOptions? options]) → Future<APIEmptyResponse?>
Parameters:
postSetCommentReviewStatusWithHttpInfo(String tenantId, String commentId, [PostSetCommentReviewStatusOptions? options]) → Future<Response>
Performs an HTTP 'POST /auth/my-account/moderate-comments/mod_api/set-comment-review-status/{commentId}' operation and returns the Response. Parameters:
postSetCommentSpamStatus(String tenantId, String commentId, [PostSetCommentSpamStatusOptions? options]) → Future<APIEmptyResponse?>
Parameters:
postSetCommentSpamStatusWithHttpInfo(String tenantId, String commentId, [PostSetCommentSpamStatusOptions? options]) → Future<Response>
Performs an HTTP 'POST /auth/my-account/moderate-comments/mod_api/set-comment-spam-status/{commentId}' operation and returns the Response. Parameters:
postSetCommentText(String tenantId, String commentId, SetCommentTextParams setCommentTextParams, [PostSetCommentTextOptions? options]) → Future<SetCommentTextResponse?>
Parameters:
postSetCommentTextWithHttpInfo(String tenantId, String commentId, SetCommentTextParams setCommentTextParams, [PostSetCommentTextOptions? options]) → Future<Response>
Performs an HTTP 'POST /auth/my-account/moderate-comments/mod_api/set-comment-text/{commentId}' operation and returns the Response. Parameters:
postUnFlagComment(String tenantId, String commentId, [PostUnFlagCommentOptions? options]) → Future<APIEmptyResponse?>
Parameters:
postUnFlagCommentWithHttpInfo(String tenantId, String commentId, [PostUnFlagCommentOptions? options]) → Future<Response>
Performs an HTTP 'POST /auth/my-account/moderate-comments/mod_api/un-flag-comment/{commentId}' operation and returns the Response. Parameters:
postVote(String tenantId, String commentId, [PostVoteOptions? options]) → Future<VoteResponse?>
Parameters:
postVoteWithHttpInfo(String tenantId, String commentId, [PostVoteOptions? options]) → Future<Response>
Performs an HTTP 'POST /auth/my-account/moderate-comments/mod_api/vote/{commentId}' operation and returns the Response. Parameters:
putAwardBadge(String tenantId, String badgeId, [PutAwardBadgeOptions? options]) → Future<AwardUserBadgeResponse?>
Parameters:
putAwardBadgeWithHttpInfo(String tenantId, String badgeId, [PutAwardBadgeOptions? options]) → Future<Response>
Performs an HTTP 'PUT /auth/my-account/moderate-comments/mod_api/award-badge' operation and returns the Response. Parameters:
putCloseThread(String tenantId, String urlId, [String? sso]) → Future<APIEmptyResponse?>
Parameters:
putCloseThreadWithHttpInfo(String tenantId, String urlId, [String? sso]) → Future<Response>
Performs an HTTP 'PUT /auth/my-account/moderate-comments/mod_api/close-thread' operation and returns the Response. Parameters:
putRemoveBadge(String tenantId, String badgeId, [PutRemoveBadgeOptions? options]) → Future<RemoveUserBadgeResponse?>
Parameters:
putRemoveBadgeWithHttpInfo(String tenantId, String badgeId, [PutRemoveBadgeOptions? options]) → Future<Response>
Performs an HTTP 'PUT /auth/my-account/moderate-comments/mod_api/remove-badge' operation and returns the Response. Parameters:
putReopenThread(String tenantId, String urlId, [String? sso]) → Future<APIEmptyResponse?>
Parameters:
putReopenThreadWithHttpInfo(String tenantId, String urlId, [String? sso]) → Future<Response>
Performs an HTTP 'PUT /auth/my-account/moderate-comments/mod_api/reopen-thread' operation and returns the Response. Parameters:
setTrustFactor(String tenantId, [SetTrustFactorOptions? options]) → Future<SetUserTrustFactorResponse?>
Parameters:
setTrustFactorWithHttpInfo(String tenantId, [SetTrustFactorOptions? options]) → Future<Response>
Performs an HTTP 'PUT /auth/my-account/moderate-comments/mod_api/set-trust-factor' operation and returns the Response. Parameters:
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited