diff --git a/README.md b/README.md
index ea38b95c..2dbea988 100644
--- a/README.md
+++ b/README.md
@@ -82,10 +82,7 @@ to make working with the API easier, and the `pubsub` module which is a library
For the API client, there are three classes, `DefaultApi`, `PublicApi`, and `ModerationApi`. The `DefaultApi` contains methods that require your API key, and `PublicApi` contains methods
that can be made directly from a browser/mobile device/etc without authentication.
-The `ModerationApi` powers the moderator dashboard. It contains methods for comment moderation (list, count, search, logs, and export), moderation actions (remove/restore,
-flag, set review/spam/approval status, votes, and reopen/close thread), bans (ban from comment, undo a ban, pre-ban summaries, ban status and preferences, and banned-user counts),
-and badges & trust (award/remove a badge, manual badges, get/set trust factor, and user internal profile). Every `ModerationApi` method accepts an `sso` parameter so the call can be
-performed on behalf of an SSO-authenticated moderator.
+The `ModerationApi` provides an extensive suite of live and fast moderation APIs. Every `ModerationApi` method accepts an `sso` parameter and can authenticate via SSO or a FastComments.com session cookie.
## Quick Start
diff --git a/client/.openapi-generator/FILES b/client/.openapi-generator/FILES
index fb0b9ca0..947bc5b4 100644
--- a/client/.openapi-generator/FILES
+++ b/client/.openapi-generator/FILES
@@ -266,7 +266,7 @@ docs/PatchDomainConfigResponse.md
docs/PatchPageAPIResponse.md
docs/PatchSSOUserAPIResponse.md
docs/PendingCommentToSyncOutbound.md
-docs/PostRemoveCommentResponse.md
+docs/PostRemoveCommentApiResponse.md
docs/PreBanSummary.md
docs/PubSubComment.md
docs/PubSubCommentBase.md
@@ -657,7 +657,7 @@ src/main/java/com/fastcomments/model/PatchDomainConfigResponse.java
src/main/java/com/fastcomments/model/PatchPageAPIResponse.java
src/main/java/com/fastcomments/model/PatchSSOUserAPIResponse.java
src/main/java/com/fastcomments/model/PendingCommentToSyncOutbound.java
-src/main/java/com/fastcomments/model/PostRemoveCommentResponse.java
+src/main/java/com/fastcomments/model/PostRemoveCommentApiResponse.java
src/main/java/com/fastcomments/model/PreBanSummary.java
src/main/java/com/fastcomments/model/PubSubComment.java
src/main/java/com/fastcomments/model/PubSubCommentBase.java
@@ -1020,7 +1020,7 @@ src/test/java/com/fastcomments/model/PatchDomainConfigResponseTest.java
src/test/java/com/fastcomments/model/PatchPageAPIResponseTest.java
src/test/java/com/fastcomments/model/PatchSSOUserAPIResponseTest.java
src/test/java/com/fastcomments/model/PendingCommentToSyncOutboundTest.java
-src/test/java/com/fastcomments/model/PostRemoveCommentResponseTest.java
+src/test/java/com/fastcomments/model/PostRemoveCommentApiResponseTest.java
src/test/java/com/fastcomments/model/PreBanSummaryTest.java
src/test/java/com/fastcomments/model/PubSubCommentBaseTest.java
src/test/java/com/fastcomments/model/PubSubCommentTest.java
diff --git a/client/README.md b/client/README.md
index 40a5c479..b3ceef16 100644
--- a/client/README.md
+++ b/client/README.md
@@ -237,49 +237,49 @@ Class | Method | HTTP request | Description
*DefaultApi* | [**updateTenantPackage**](docs/DefaultApi.md#updateTenantPackage) | **PATCH** /api/v1/tenant-packages/{id} |
*DefaultApi* | [**updateTenantUser**](docs/DefaultApi.md#updateTenantUser) | **PATCH** /api/v1/tenant-users/{id} |
*DefaultApi* | [**updateUserBadge**](docs/DefaultApi.md#updateUserBadge) | **PUT** /api/v1/user-badges/{id} |
-*ModerationApi* | [**deleteModerationVote**](docs/ModerationApi.md#deleteModerationVote) | **DELETE** /auth/my-account/moderate-comments/vote/{commentId}/{voteId} |
-*ModerationApi* | [**getApiComments**](docs/ModerationApi.md#getApiComments) | **GET** /auth/my-account/moderate-comments/api/comments |
-*ModerationApi* | [**getApiExportStatus**](docs/ModerationApi.md#getApiExportStatus) | **GET** /auth/my-account/moderate-comments/api/export/status |
-*ModerationApi* | [**getApiIds**](docs/ModerationApi.md#getApiIds) | **GET** /auth/my-account/moderate-comments/api/ids |
-*ModerationApi* | [**getBanUsersFromComment**](docs/ModerationApi.md#getBanUsersFromComment) | **GET** /auth/my-account/moderate-comments/ban-users/from-comment/{commentId} |
-*ModerationApi* | [**getCommentBanStatus**](docs/ModerationApi.md#getCommentBanStatus) | **GET** /auth/my-account/moderate-comments/get-comment-ban-status/{commentId} |
-*ModerationApi* | [**getCommentChildren**](docs/ModerationApi.md#getCommentChildren) | **GET** /auth/my-account/moderate-comments/comment-children/{commentId} |
-*ModerationApi* | [**getCount**](docs/ModerationApi.md#getCount) | **GET** /auth/my-account/moderate-comments/count |
-*ModerationApi* | [**getCounts**](docs/ModerationApi.md#getCounts) | **GET** /auth/my-account/moderate-comments/banned-users/counts |
-*ModerationApi* | [**getLogs**](docs/ModerationApi.md#getLogs) | **GET** /auth/my-account/moderate-comments/logs/{commentId} |
-*ModerationApi* | [**getManualBadges**](docs/ModerationApi.md#getManualBadges) | **GET** /auth/my-account/moderate-comments/get-manual-badges |
-*ModerationApi* | [**getManualBadgesForUser**](docs/ModerationApi.md#getManualBadgesForUser) | **GET** /auth/my-account/moderate-comments/get-manual-badges-for-user |
-*ModerationApi* | [**getModerationComment**](docs/ModerationApi.md#getModerationComment) | **GET** /auth/my-account/moderate-comments/comment/{commentId} |
-*ModerationApi* | [**getModerationCommentText**](docs/ModerationApi.md#getModerationCommentText) | **GET** /auth/my-account/moderate-comments/get-comment-text/{commentId} |
-*ModerationApi* | [**getPreBanSummary**](docs/ModerationApi.md#getPreBanSummary) | **GET** /auth/my-account/moderate-comments/pre-ban-summary/{commentId} |
-*ModerationApi* | [**getSearchCommentsSummary**](docs/ModerationApi.md#getSearchCommentsSummary) | **GET** /auth/my-account/moderate-comments/search/comments/summary |
-*ModerationApi* | [**getSearchPages**](docs/ModerationApi.md#getSearchPages) | **GET** /auth/my-account/moderate-comments/search/pages |
-*ModerationApi* | [**getSearchSites**](docs/ModerationApi.md#getSearchSites) | **GET** /auth/my-account/moderate-comments/search/sites |
-*ModerationApi* | [**getSearchSuggest**](docs/ModerationApi.md#getSearchSuggest) | **GET** /auth/my-account/moderate-comments/search/suggest |
-*ModerationApi* | [**getSearchUsers**](docs/ModerationApi.md#getSearchUsers) | **GET** /auth/my-account/moderate-comments/search/users |
-*ModerationApi* | [**getTrustFactor**](docs/ModerationApi.md#getTrustFactor) | **GET** /auth/my-account/moderate-comments/get-trust-factor |
-*ModerationApi* | [**getUserBanPreference**](docs/ModerationApi.md#getUserBanPreference) | **GET** /auth/my-account/moderate-comments/user-ban-preference |
-*ModerationApi* | [**getUserInternalProfile**](docs/ModerationApi.md#getUserInternalProfile) | **GET** /auth/my-account/moderate-comments/get-user-internal-profile |
-*ModerationApi* | [**postAdjustCommentVotes**](docs/ModerationApi.md#postAdjustCommentVotes) | **POST** /auth/my-account/moderate-comments/adjust-comment-votes/{commentId} |
-*ModerationApi* | [**postApiExport**](docs/ModerationApi.md#postApiExport) | **POST** /auth/my-account/moderate-comments/api/export |
-*ModerationApi* | [**postBanUserFromComment**](docs/ModerationApi.md#postBanUserFromComment) | **POST** /auth/my-account/moderate-comments/ban-user/from-comment/{commentId} |
-*ModerationApi* | [**postBanUserUndo**](docs/ModerationApi.md#postBanUserUndo) | **POST** /auth/my-account/moderate-comments/ban-user/undo |
-*ModerationApi* | [**postBulkPreBanSummary**](docs/ModerationApi.md#postBulkPreBanSummary) | **POST** /auth/my-account/moderate-comments/bulk-pre-ban-summary |
-*ModerationApi* | [**postCommentsByIds**](docs/ModerationApi.md#postCommentsByIds) | **POST** /auth/my-account/moderate-comments/comments-by-ids |
-*ModerationApi* | [**postFlagComment**](docs/ModerationApi.md#postFlagComment) | **POST** /auth/my-account/moderate-comments/flag-comment/{commentId} |
-*ModerationApi* | [**postRemoveComment**](docs/ModerationApi.md#postRemoveComment) | **POST** /auth/my-account/moderate-comments/remove-comment/{commentId} |
-*ModerationApi* | [**postRestoreDeletedComment**](docs/ModerationApi.md#postRestoreDeletedComment) | **POST** /auth/my-account/moderate-comments/restore-deleted-comment/{commentId} |
-*ModerationApi* | [**postSetCommentApprovalStatus**](docs/ModerationApi.md#postSetCommentApprovalStatus) | **POST** /auth/my-account/moderate-comments/set-comment-approval-status/{commentId} |
-*ModerationApi* | [**postSetCommentReviewStatus**](docs/ModerationApi.md#postSetCommentReviewStatus) | **POST** /auth/my-account/moderate-comments/set-comment-review-status/{commentId} |
-*ModerationApi* | [**postSetCommentSpamStatus**](docs/ModerationApi.md#postSetCommentSpamStatus) | **POST** /auth/my-account/moderate-comments/set-comment-spam-status/{commentId} |
-*ModerationApi* | [**postSetCommentText**](docs/ModerationApi.md#postSetCommentText) | **POST** /auth/my-account/moderate-comments/set-comment-text/{commentId} |
-*ModerationApi* | [**postUnFlagComment**](docs/ModerationApi.md#postUnFlagComment) | **POST** /auth/my-account/moderate-comments/un-flag-comment/{commentId} |
-*ModerationApi* | [**postVote**](docs/ModerationApi.md#postVote) | **POST** /auth/my-account/moderate-comments/vote/{commentId} |
-*ModerationApi* | [**putAwardBadge**](docs/ModerationApi.md#putAwardBadge) | **PUT** /auth/my-account/moderate-comments/award-badge |
-*ModerationApi* | [**putCloseThread**](docs/ModerationApi.md#putCloseThread) | **PUT** /auth/my-account/moderate-comments/close-thread |
-*ModerationApi* | [**putRemoveBadge**](docs/ModerationApi.md#putRemoveBadge) | **PUT** /auth/my-account/moderate-comments/remove-badge |
-*ModerationApi* | [**putReopenThread**](docs/ModerationApi.md#putReopenThread) | **PUT** /auth/my-account/moderate-comments/reopen-thread |
-*ModerationApi* | [**setTrustFactor**](docs/ModerationApi.md#setTrustFactor) | **PUT** /auth/my-account/moderate-comments/set-trust-factor |
+*ModerationApi* | [**deleteModerationVote**](docs/ModerationApi.md#deleteModerationVote) | **DELETE** /auth/my-account/moderate-comments/mod_api/vote/{commentId}/{voteId} |
+*ModerationApi* | [**getApiComments**](docs/ModerationApi.md#getApiComments) | **GET** /auth/my-account/moderate-comments/mod_api/api/comments |
+*ModerationApi* | [**getApiExportStatus**](docs/ModerationApi.md#getApiExportStatus) | **GET** /auth/my-account/moderate-comments/mod_api/api/export/status |
+*ModerationApi* | [**getApiIds**](docs/ModerationApi.md#getApiIds) | **GET** /auth/my-account/moderate-comments/mod_api/api/ids |
+*ModerationApi* | [**getBanUsersFromComment**](docs/ModerationApi.md#getBanUsersFromComment) | **GET** /auth/my-account/moderate-comments/mod_api/ban-users/from-comment/{commentId} |
+*ModerationApi* | [**getCommentBanStatus**](docs/ModerationApi.md#getCommentBanStatus) | **GET** /auth/my-account/moderate-comments/mod_api/get-comment-ban-status/{commentId} |
+*ModerationApi* | [**getCommentChildren**](docs/ModerationApi.md#getCommentChildren) | **GET** /auth/my-account/moderate-comments/mod_api/comment-children/{commentId} |
+*ModerationApi* | [**getCount**](docs/ModerationApi.md#getCount) | **GET** /auth/my-account/moderate-comments/mod_api/count |
+*ModerationApi* | [**getCounts**](docs/ModerationApi.md#getCounts) | **GET** /auth/my-account/moderate-comments/banned-users/mod_api/counts |
+*ModerationApi* | [**getLogs**](docs/ModerationApi.md#getLogs) | **GET** /auth/my-account/moderate-comments/mod_api/logs/{commentId} |
+*ModerationApi* | [**getManualBadges**](docs/ModerationApi.md#getManualBadges) | **GET** /auth/my-account/moderate-comments/mod_api/get-manual-badges |
+*ModerationApi* | [**getManualBadgesForUser**](docs/ModerationApi.md#getManualBadgesForUser) | **GET** /auth/my-account/moderate-comments/mod_api/get-manual-badges-for-user |
+*ModerationApi* | [**getModerationComment**](docs/ModerationApi.md#getModerationComment) | **GET** /auth/my-account/moderate-comments/mod_api/comment/{commentId} |
+*ModerationApi* | [**getModerationCommentText**](docs/ModerationApi.md#getModerationCommentText) | **GET** /auth/my-account/moderate-comments/mod_api/get-comment-text/{commentId} |
+*ModerationApi* | [**getPreBanSummary**](docs/ModerationApi.md#getPreBanSummary) | **GET** /auth/my-account/moderate-comments/mod_api/pre-ban-summary/{commentId} |
+*ModerationApi* | [**getSearchCommentsSummary**](docs/ModerationApi.md#getSearchCommentsSummary) | **GET** /auth/my-account/moderate-comments/mod_api/search/comments/summary |
+*ModerationApi* | [**getSearchPages**](docs/ModerationApi.md#getSearchPages) | **GET** /auth/my-account/moderate-comments/mod_api/search/pages |
+*ModerationApi* | [**getSearchSites**](docs/ModerationApi.md#getSearchSites) | **GET** /auth/my-account/moderate-comments/mod_api/search/sites |
+*ModerationApi* | [**getSearchSuggest**](docs/ModerationApi.md#getSearchSuggest) | **GET** /auth/my-account/moderate-comments/mod_api/search/suggest |
+*ModerationApi* | [**getSearchUsers**](docs/ModerationApi.md#getSearchUsers) | **GET** /auth/my-account/moderate-comments/mod_api/search/users |
+*ModerationApi* | [**getTrustFactor**](docs/ModerationApi.md#getTrustFactor) | **GET** /auth/my-account/moderate-comments/mod_api/get-trust-factor |
+*ModerationApi* | [**getUserBanPreference**](docs/ModerationApi.md#getUserBanPreference) | **GET** /auth/my-account/moderate-comments/mod_api/user-ban-preference |
+*ModerationApi* | [**getUserInternalProfile**](docs/ModerationApi.md#getUserInternalProfile) | **GET** /auth/my-account/moderate-comments/mod_api/get-user-internal-profile |
+*ModerationApi* | [**postAdjustCommentVotes**](docs/ModerationApi.md#postAdjustCommentVotes) | **POST** /auth/my-account/moderate-comments/mod_api/adjust-comment-votes/{commentId} |
+*ModerationApi* | [**postApiExport**](docs/ModerationApi.md#postApiExport) | **POST** /auth/my-account/moderate-comments/mod_api/api/export |
+*ModerationApi* | [**postBanUserFromComment**](docs/ModerationApi.md#postBanUserFromComment) | **POST** /auth/my-account/moderate-comments/mod_api/ban-user/from-comment/{commentId} |
+*ModerationApi* | [**postBanUserUndo**](docs/ModerationApi.md#postBanUserUndo) | **POST** /auth/my-account/moderate-comments/mod_api/ban-user/undo |
+*ModerationApi* | [**postBulkPreBanSummary**](docs/ModerationApi.md#postBulkPreBanSummary) | **POST** /auth/my-account/moderate-comments/mod_api/bulk-pre-ban-summary |
+*ModerationApi* | [**postCommentsByIds**](docs/ModerationApi.md#postCommentsByIds) | **POST** /auth/my-account/moderate-comments/mod_api/comments-by-ids |
+*ModerationApi* | [**postFlagComment**](docs/ModerationApi.md#postFlagComment) | **POST** /auth/my-account/moderate-comments/mod_api/flag-comment/{commentId} |
+*ModerationApi* | [**postRemoveComment**](docs/ModerationApi.md#postRemoveComment) | **POST** /auth/my-account/moderate-comments/mod_api/remove-comment/{commentId} |
+*ModerationApi* | [**postRestoreDeletedComment**](docs/ModerationApi.md#postRestoreDeletedComment) | **POST** /auth/my-account/moderate-comments/mod_api/restore-deleted-comment/{commentId} |
+*ModerationApi* | [**postSetCommentApprovalStatus**](docs/ModerationApi.md#postSetCommentApprovalStatus) | **POST** /auth/my-account/moderate-comments/mod_api/set-comment-approval-status/{commentId} |
+*ModerationApi* | [**postSetCommentReviewStatus**](docs/ModerationApi.md#postSetCommentReviewStatus) | **POST** /auth/my-account/moderate-comments/mod_api/set-comment-review-status/{commentId} |
+*ModerationApi* | [**postSetCommentSpamStatus**](docs/ModerationApi.md#postSetCommentSpamStatus) | **POST** /auth/my-account/moderate-comments/mod_api/set-comment-spam-status/{commentId} |
+*ModerationApi* | [**postSetCommentText**](docs/ModerationApi.md#postSetCommentText) | **POST** /auth/my-account/moderate-comments/mod_api/set-comment-text/{commentId} |
+*ModerationApi* | [**postUnFlagComment**](docs/ModerationApi.md#postUnFlagComment) | **POST** /auth/my-account/moderate-comments/mod_api/un-flag-comment/{commentId} |
+*ModerationApi* | [**postVote**](docs/ModerationApi.md#postVote) | **POST** /auth/my-account/moderate-comments/mod_api/vote/{commentId} |
+*ModerationApi* | [**putAwardBadge**](docs/ModerationApi.md#putAwardBadge) | **PUT** /auth/my-account/moderate-comments/mod_api/award-badge |
+*ModerationApi* | [**putCloseThread**](docs/ModerationApi.md#putCloseThread) | **PUT** /auth/my-account/moderate-comments/mod_api/close-thread |
+*ModerationApi* | [**putRemoveBadge**](docs/ModerationApi.md#putRemoveBadge) | **PUT** /auth/my-account/moderate-comments/mod_api/remove-badge |
+*ModerationApi* | [**putReopenThread**](docs/ModerationApi.md#putReopenThread) | **PUT** /auth/my-account/moderate-comments/mod_api/reopen-thread |
+*ModerationApi* | [**setTrustFactor**](docs/ModerationApi.md#setTrustFactor) | **PUT** /auth/my-account/moderate-comments/mod_api/set-trust-factor |
*PublicApi* | [**blockFromCommentPublic**](docs/PublicApi.md#blockFromCommentPublic) | **POST** /block-from-comment/{commentId} |
*PublicApi* | [**checkedCommentsForBlocked**](docs/PublicApi.md#checkedCommentsForBlocked) | **GET** /check-blocked-comments |
*PublicApi* | [**createCommentPublic**](docs/PublicApi.md#createCommentPublic) | **POST** /comments/{tenantId} |
@@ -595,7 +595,7 @@ Class | Method | HTTP request | Description
- [PatchPageAPIResponse](docs/PatchPageAPIResponse.md)
- [PatchSSOUserAPIResponse](docs/PatchSSOUserAPIResponse.md)
- [PendingCommentToSyncOutbound](docs/PendingCommentToSyncOutbound.md)
- - [PostRemoveCommentResponse](docs/PostRemoveCommentResponse.md)
+ - [PostRemoveCommentApiResponse](docs/PostRemoveCommentApiResponse.md)
- [PreBanSummary](docs/PreBanSummary.md)
- [PubSubComment](docs/PubSubComment.md)
- [PubSubCommentBase](docs/PubSubCommentBase.md)
diff --git a/client/api/openapi.yaml b/client/api/openapi.yaml
index a0379b03..19a5ed7c 100644
--- a/client/api/openapi.yaml
+++ b/client/api/openapi.yaml
@@ -1218,10 +1218,17 @@ paths:
- Public
x-accepts:
- application/json
- /auth/my-account/moderate-comments/count:
+ /auth/my-account/moderate-comments/mod_api/count:
get:
- operationId: GetCount
+ operationId: getCount
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: true
in: query
name: text-search
@@ -1282,10 +1289,17 @@ paths:
- Moderation
x-accepts:
- application/json
- /auth/my-account/moderate-comments/api/ids:
+ /auth/my-account/moderate-comments/mod_api/api/ids:
get:
- operationId: GetApiIds
+ operationId: getApiIds
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: true
in: query
name: text-search
@@ -1353,10 +1367,17 @@ paths:
- Moderation
x-accepts:
- application/json
- /auth/my-account/moderate-comments/api/comments:
+ /auth/my-account/moderate-comments/mod_api/api/comments:
get:
- operationId: GetApiComments
+ operationId: getApiComments
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: true
in: query
name: page
@@ -1440,10 +1461,17 @@ paths:
- Moderation
x-accepts:
- application/json
- /auth/my-account/moderate-comments/api/export:
+ /auth/my-account/moderate-comments/mod_api/api/export:
post:
- operationId: PostApiExport
+ operationId: postApiExport
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: true
in: query
name: text-search
@@ -1504,10 +1532,17 @@ paths:
- Moderation
x-accepts:
- application/json
- /auth/my-account/moderate-comments/api/export/status:
+ /auth/my-account/moderate-comments/mod_api/api/export/status:
get:
- operationId: GetApiExportStatus
+ operationId: getApiExportStatus
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: true
in: query
name: batchJobId
@@ -1540,10 +1575,17 @@ paths:
- Moderation
x-accepts:
- application/json
- /auth/my-account/moderate-comments/search/users:
+ /auth/my-account/moderate-comments/mod_api/search/users:
get:
- operationId: GetSearchUsers
+ operationId: getSearchUsers
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: true
in: query
name: value
@@ -1576,10 +1618,17 @@ paths:
- Moderation
x-accepts:
- application/json
- /auth/my-account/moderate-comments/search/pages:
+ /auth/my-account/moderate-comments/mod_api/search/pages:
get:
- operationId: GetSearchPages
+ operationId: getSearchPages
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: true
in: query
name: value
@@ -1612,10 +1661,17 @@ paths:
- Moderation
x-accepts:
- application/json
- /auth/my-account/moderate-comments/search/sites:
+ /auth/my-account/moderate-comments/mod_api/search/sites:
get:
- operationId: GetSearchSites
+ operationId: getSearchSites
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: true
in: query
name: value
@@ -1648,10 +1704,17 @@ paths:
- Moderation
x-accepts:
- application/json
- /auth/my-account/moderate-comments/search/comments/summary:
+ /auth/my-account/moderate-comments/mod_api/search/comments/summary:
get:
- operationId: GetSearchCommentsSummary
+ operationId: getSearchCommentsSummary
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: true
in: query
name: value
@@ -1698,10 +1761,17 @@ paths:
- Moderation
x-accepts:
- application/json
- /auth/my-account/moderate-comments/search/suggest:
+ /auth/my-account/moderate-comments/mod_api/search/suggest:
get:
- operationId: GetSearchSuggest
+ operationId: getSearchSuggest
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: true
in: query
name: text-search
@@ -1734,10 +1804,17 @@ paths:
- Moderation
x-accepts:
- application/json
- /auth/my-account/moderate-comments/pre-ban-summary/{commentId}:
+ /auth/my-account/moderate-comments/mod_api/pre-ban-summary/{commentId}:
get:
- operationId: GetPreBanSummary
+ operationId: getPreBanSummary
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: false
in: path
name: commentId
@@ -1791,10 +1868,17 @@ paths:
- Moderation
x-accepts:
- application/json
- /auth/my-account/moderate-comments/bulk-pre-ban-summary:
+ /auth/my-account/moderate-comments/mod_api/bulk-pre-ban-summary:
post:
- operationId: PostBulkPreBanSummary
+ operationId: postBulkPreBanSummary
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: true
in: query
name: includeByUserIdAndEmail
@@ -1848,10 +1932,17 @@ paths:
x-content-type: application/json
x-accepts:
- application/json
- /auth/my-account/moderate-comments/ban-user/from-comment/{commentId}:
+ /auth/my-account/moderate-comments/mod_api/ban-user/from-comment/{commentId}:
post:
- operationId: PostBanUserFromComment
+ operationId: postBanUserFromComment
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: false
in: path
name: commentId
@@ -1940,10 +2031,17 @@ paths:
- Moderation
x-accepts:
- application/json
- /auth/my-account/moderate-comments/ban-users/from-comment/{commentId}:
+ /auth/my-account/moderate-comments/mod_api/ban-users/from-comment/{commentId}:
get:
- operationId: GetBanUsersFromComment
+ operationId: getBanUsersFromComment
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: false
in: path
name: commentId
@@ -1976,10 +2074,17 @@ paths:
- Moderation
x-accepts:
- application/json
- /auth/my-account/moderate-comments/ban-user/undo:
+ /auth/my-account/moderate-comments/mod_api/ban-user/undo:
post:
- operationId: PostBanUserUndo
+ operationId: postBanUserUndo
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: true
in: query
name: sso
@@ -2012,10 +2117,17 @@ paths:
x-content-type: application/json
x-accepts:
- application/json
- /auth/my-account/moderate-comments/remove-comment/{commentId}:
+ /auth/my-account/moderate-comments/mod_api/remove-comment/{commentId}:
post:
- operationId: PostRemoveComment
+ operationId: postRemoveComment
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: false
in: path
name: commentId
@@ -2023,6 +2135,13 @@ paths:
schema:
type: string
style: simple
+ - explode: true
+ in: query
+ name: broadcastId
+ required: false
+ schema:
+ type: string
+ style: form
- explode: true
in: query
name: sso
@@ -2035,7 +2154,7 @@ paths:
content:
application/json:
schema:
- $ref: "#/components/schemas/PostRemoveCommentResponse"
+ $ref: "#/components/schemas/PostRemoveCommentApiResponse"
description: Ok
default:
content:
@@ -2048,10 +2167,17 @@ paths:
- Moderation
x-accepts:
- application/json
- /auth/my-account/moderate-comments/restore-deleted-comment/{commentId}:
+ /auth/my-account/moderate-comments/mod_api/restore-deleted-comment/{commentId}:
post:
- operationId: PostRestoreDeletedComment
+ operationId: postRestoreDeletedComment
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: false
in: path
name: commentId
@@ -2059,6 +2185,13 @@ paths:
schema:
type: string
style: simple
+ - explode: true
+ in: query
+ name: broadcastId
+ required: false
+ schema:
+ type: string
+ style: form
- explode: true
in: query
name: sso
@@ -2084,10 +2217,17 @@ paths:
- Moderation
x-accepts:
- application/json
- /auth/my-account/moderate-comments/flag-comment/{commentId}:
+ /auth/my-account/moderate-comments/mod_api/flag-comment/{commentId}:
post:
- operationId: PostFlagComment
+ operationId: postFlagComment
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: false
in: path
name: commentId
@@ -2095,6 +2235,13 @@ paths:
schema:
type: string
style: simple
+ - explode: true
+ in: query
+ name: broadcastId
+ required: false
+ schema:
+ type: string
+ style: form
- explode: true
in: query
name: sso
@@ -2120,10 +2267,17 @@ paths:
- Moderation
x-accepts:
- application/json
- /auth/my-account/moderate-comments/un-flag-comment/{commentId}:
+ /auth/my-account/moderate-comments/mod_api/un-flag-comment/{commentId}:
post:
- operationId: PostUnFlagComment
+ operationId: postUnFlagComment
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: false
in: path
name: commentId
@@ -2131,6 +2285,13 @@ paths:
schema:
type: string
style: simple
+ - explode: true
+ in: query
+ name: broadcastId
+ required: false
+ schema:
+ type: string
+ style: form
- explode: true
in: query
name: sso
@@ -2156,10 +2317,17 @@ paths:
- Moderation
x-accepts:
- application/json
- /auth/my-account/moderate-comments/set-comment-review-status/{commentId}:
+ /auth/my-account/moderate-comments/mod_api/set-comment-review-status/{commentId}:
post:
- operationId: PostSetCommentReviewStatus
+ operationId: postSetCommentReviewStatus
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: false
in: path
name: commentId
@@ -2174,6 +2342,13 @@ paths:
schema:
type: boolean
style: form
+ - explode: true
+ in: query
+ name: broadcastId
+ required: false
+ schema:
+ type: string
+ style: form
- explode: true
in: query
name: sso
@@ -2199,10 +2374,17 @@ paths:
- Moderation
x-accepts:
- application/json
- /auth/my-account/moderate-comments/set-comment-spam-status/{commentId}:
+ /auth/my-account/moderate-comments/mod_api/set-comment-spam-status/{commentId}:
post:
- operationId: PostSetCommentSpamStatus
+ operationId: postSetCommentSpamStatus
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: false
in: path
name: commentId
@@ -2224,6 +2406,13 @@ paths:
schema:
type: boolean
style: form
+ - explode: true
+ in: query
+ name: broadcastId
+ required: false
+ schema:
+ type: string
+ style: form
- explode: true
in: query
name: sso
@@ -2249,10 +2438,17 @@ paths:
- Moderation
x-accepts:
- application/json
- /auth/my-account/moderate-comments/set-comment-approval-status/{commentId}:
+ /auth/my-account/moderate-comments/mod_api/set-comment-approval-status/{commentId}:
post:
- operationId: PostSetCommentApprovalStatus
+ operationId: postSetCommentApprovalStatus
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: false
in: path
name: commentId
@@ -2267,6 +2463,13 @@ paths:
schema:
type: boolean
style: form
+ - explode: true
+ in: query
+ name: broadcastId
+ required: false
+ schema:
+ type: string
+ style: form
- explode: true
in: query
name: sso
@@ -2292,10 +2495,17 @@ paths:
- Moderation
x-accepts:
- application/json
- /auth/my-account/moderate-comments/logs/{commentId}:
+ /auth/my-account/moderate-comments/mod_api/logs/{commentId}:
get:
- operationId: GetLogs
+ operationId: getLogs
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: false
in: path
name: commentId
@@ -2328,10 +2538,17 @@ paths:
- Moderation
x-accepts:
- application/json
- /auth/my-account/moderate-comments/comment/{commentId}:
+ /auth/my-account/moderate-comments/mod_api/comment/{commentId}:
get:
- operationId: GetModerationComment
+ operationId: getModerationComment
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: false
in: path
name: commentId
@@ -2378,10 +2595,17 @@ paths:
- Moderation
x-accepts:
- application/json
- /auth/my-account/moderate-comments/comments-by-ids:
+ /auth/my-account/moderate-comments/mod_api/comments-by-ids:
post:
- operationId: PostCommentsByIds
+ operationId: postCommentsByIds
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: true
in: query
name: sso
@@ -2414,10 +2638,17 @@ paths:
x-content-type: application/json
x-accepts:
- application/json
- /auth/my-account/moderate-comments/comment-children/{commentId}:
+ /auth/my-account/moderate-comments/mod_api/comment-children/{commentId}:
get:
- operationId: GetCommentChildren
+ operationId: getCommentChildren
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: false
in: path
name: commentId
@@ -2450,10 +2681,17 @@ paths:
- Moderation
x-accepts:
- application/json
- /auth/my-account/moderate-comments/get-comment-text/{commentId}:
+ /auth/my-account/moderate-comments/mod_api/get-comment-text/{commentId}:
get:
- operationId: GetModerationCommentText
+ operationId: getModerationCommentText
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: false
in: path
name: commentId
@@ -2486,10 +2724,17 @@ paths:
- Moderation
x-accepts:
- application/json
- /auth/my-account/moderate-comments/set-comment-text/{commentId}:
+ /auth/my-account/moderate-comments/mod_api/set-comment-text/{commentId}:
post:
- operationId: PostSetCommentText
+ operationId: postSetCommentText
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: false
in: path
name: commentId
@@ -2497,6 +2742,13 @@ paths:
schema:
type: string
style: simple
+ - explode: true
+ in: query
+ name: broadcastId
+ required: false
+ schema:
+ type: string
+ style: form
- explode: true
in: query
name: sso
@@ -2529,10 +2781,17 @@ paths:
x-content-type: application/json
x-accepts:
- application/json
- /auth/my-account/moderate-comments/adjust-comment-votes/{commentId}:
+ /auth/my-account/moderate-comments/mod_api/adjust-comment-votes/{commentId}:
post:
- operationId: PostAdjustCommentVotes
+ operationId: postAdjustCommentVotes
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: false
in: path
name: commentId
@@ -2540,6 +2799,13 @@ paths:
schema:
type: string
style: simple
+ - explode: true
+ in: query
+ name: broadcastId
+ required: false
+ schema:
+ type: string
+ style: form
- explode: true
in: query
name: sso
@@ -2572,10 +2838,17 @@ paths:
x-content-type: application/json
x-accepts:
- application/json
- /auth/my-account/moderate-comments/vote/{commentId}:
+ /auth/my-account/moderate-comments/mod_api/vote/{commentId}:
post:
- operationId: PostVote
+ operationId: postVote
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: false
in: path
name: commentId
@@ -2590,6 +2863,13 @@ paths:
schema:
type: string
style: form
+ - explode: true
+ in: query
+ name: broadcastId
+ required: false
+ schema:
+ type: string
+ style: form
- explode: true
in: query
name: sso
@@ -2615,10 +2895,17 @@ paths:
- Moderation
x-accepts:
- application/json
- /auth/my-account/moderate-comments/vote/{commentId}/{voteId}:
+ /auth/my-account/moderate-comments/mod_api/vote/{commentId}/{voteId}:
delete:
- operationId: DeleteModerationVote
+ operationId: deleteModerationVote
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: false
in: path
name: commentId
@@ -2633,6 +2920,13 @@ paths:
schema:
type: string
style: simple
+ - explode: true
+ in: query
+ name: broadcastId
+ required: false
+ schema:
+ type: string
+ style: form
- explode: true
in: query
name: sso
@@ -2658,10 +2952,17 @@ paths:
- Moderation
x-accepts:
- application/json
- /auth/my-account/moderate-comments/get-comment-ban-status/{commentId}:
+ /auth/my-account/moderate-comments/mod_api/get-comment-ban-status/{commentId}:
get:
- operationId: GetCommentBanStatus
+ operationId: getCommentBanStatus
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: false
in: path
name: commentId
@@ -2694,10 +2995,17 @@ paths:
- Moderation
x-accepts:
- application/json
- /auth/my-account/moderate-comments/user-ban-preference:
+ /auth/my-account/moderate-comments/mod_api/user-ban-preference:
get:
- operationId: GetUserBanPreference
+ operationId: getUserBanPreference
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: true
in: query
name: sso
@@ -2723,10 +3031,17 @@ paths:
- Moderation
x-accepts:
- application/json
- /auth/my-account/moderate-comments/get-manual-badges:
+ /auth/my-account/moderate-comments/mod_api/get-manual-badges:
get:
- operationId: GetManualBadges
+ operationId: getManualBadges
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: true
in: query
name: sso
@@ -2752,10 +3067,17 @@ paths:
- Moderation
x-accepts:
- application/json
- /auth/my-account/moderate-comments/get-manual-badges-for-user:
+ /auth/my-account/moderate-comments/mod_api/get-manual-badges-for-user:
get:
- operationId: GetManualBadgesForUser
+ operationId: getManualBadgesForUser
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: true
in: query
name: badgesUserId
@@ -2795,10 +3117,17 @@ paths:
- Moderation
x-accepts:
- application/json
- /auth/my-account/moderate-comments/award-badge:
+ /auth/my-account/moderate-comments/mod_api/award-badge:
put:
- operationId: PutAwardBadge
+ operationId: putAwardBadge
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: true
in: query
name: badgeId
@@ -2852,10 +3181,17 @@ paths:
- Moderation
x-accepts:
- application/json
- /auth/my-account/moderate-comments/remove-badge:
+ /auth/my-account/moderate-comments/mod_api/remove-badge:
put:
- operationId: PutRemoveBadge
+ operationId: putRemoveBadge
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: true
in: query
name: badgeId
@@ -2909,10 +3245,17 @@ paths:
- Moderation
x-accepts:
- application/json
- /auth/my-account/moderate-comments/get-trust-factor:
+ /auth/my-account/moderate-comments/mod_api/get-trust-factor:
get:
- operationId: GetTrustFactor
+ operationId: getTrustFactor
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: true
in: query
name: userId
@@ -2945,10 +3288,17 @@ paths:
- Moderation
x-accepts:
- application/json
- /auth/my-account/moderate-comments/set-trust-factor:
+ /auth/my-account/moderate-comments/mod_api/set-trust-factor:
put:
- operationId: SetTrustFactor
+ operationId: setTrustFactor
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: true
in: query
name: userId
@@ -2988,10 +3338,17 @@ paths:
- Moderation
x-accepts:
- application/json
- /auth/my-account/moderate-comments/get-user-internal-profile:
+ /auth/my-account/moderate-comments/mod_api/get-user-internal-profile:
get:
- operationId: GetUserInternalProfile
+ operationId: getUserInternalProfile
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: true
in: query
name: commentId
@@ -3024,10 +3381,17 @@ paths:
- Moderation
x-accepts:
- application/json
- /auth/my-account/moderate-comments/reopen-thread:
+ /auth/my-account/moderate-comments/mod_api/reopen-thread:
put:
- operationId: PutReopenThread
+ operationId: putReopenThread
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: true
in: query
name: urlId
@@ -3060,10 +3424,17 @@ paths:
- Moderation
x-accepts:
- application/json
- /auth/my-account/moderate-comments/close-thread:
+ /auth/my-account/moderate-comments/mod_api/close-thread:
put:
- operationId: PutCloseThread
+ operationId: putCloseThread
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: true
in: query
name: urlId
@@ -3096,10 +3467,17 @@ paths:
- Moderation
x-accepts:
- application/json
- /auth/my-account/moderate-comments/banned-users/counts:
+ /auth/my-account/moderate-comments/banned-users/mod_api/counts:
get:
- operationId: GetCounts
+ operationId: getCounts
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: true
in: query
name: sso
@@ -8276,7 +8654,7 @@ paths:
- explode: true
in: query
name: tenantId
- required: false
+ required: true
schema:
type: string
style: form
@@ -8311,7 +8689,7 @@ paths:
- explode: true
in: query
name: tenantId
- required: false
+ required: true
schema:
type: string
style: form
@@ -8343,6 +8721,13 @@ paths:
delete:
operationId: DeleteHashTag
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: false
in: path
name: tag
@@ -8350,13 +8735,6 @@ paths:
schema:
type: string
style: simple
- - explode: true
- in: query
- name: tenantId
- required: false
- schema:
- type: string
- style: form
requestBody:
content:
application/json:
@@ -8384,6 +8762,13 @@ paths:
patch:
operationId: PatchHashTag
parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
- explode: false
in: path
name: tag
@@ -8391,13 +8776,6 @@ paths:
schema:
type: string
style: simple
- - explode: true
- in: query
- name: tenantId
- required: false
- schema:
- type: string
- style: form
requestBody:
content:
application/json:
@@ -25549,11 +25927,11 @@ components:
required:
- file
type: object
- PostRemoveCommentResponse:
+ PostRemoveCommentApiResponse:
anyOf:
- $ref: "#/components/schemas/DeleteCommentResult"
- $ref: "#/components/schemas/RemoveCommentActionResponse"
- title: PostRemoveCommentResponse
+ title: PostRemoveCommentApiResponse
GetGifsTrendingResponse:
anyOf:
- $ref: "#/components/schemas/GifSearchResponse"
diff --git a/client/docs/DefaultApi.md b/client/docs/DefaultApi.md
index 066a52fe..2c687ed4 100644
--- a/client/docs/DefaultApi.md
+++ b/client/docs/DefaultApi.md
@@ -193,7 +193,7 @@ public class Example {
# **addHashTag**
-> CreateHashTagResponse addHashTag().tenantId(tenantId).createHashTagBody(createHashTagBody).execute();
+> CreateHashTagResponse addHashTag(tenantId).createHashTagBody(createHashTagBody).execute();
@@ -222,8 +222,7 @@ public class Example {
String tenantId = "tenantId_example"; // String |
CreateHashTagBody createHashTagBody = new CreateHashTagBody(); // CreateHashTagBody |
try {
- CreateHashTagResponse result = apiInstance.addHashTag()
- .tenantId(tenantId)
+ CreateHashTagResponse result = apiInstance.addHashTag(tenantId)
.createHashTagBody(createHashTagBody)
.execute();
System.out.println(result);
@@ -242,7 +241,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
-| **tenantId** | **String**| | [optional] |
+| **tenantId** | **String**| | |
| **createHashTagBody** | [**CreateHashTagBody**](CreateHashTagBody.md)| | [optional] |
### Return type
@@ -266,7 +265,7 @@ public class Example {
# **addHashTagsBulk**
-> BulkCreateHashTagsResponse addHashTagsBulk().tenantId(tenantId).bulkCreateHashTagsBody(bulkCreateHashTagsBody).execute();
+> BulkCreateHashTagsResponse addHashTagsBulk(tenantId).bulkCreateHashTagsBody(bulkCreateHashTagsBody).execute();
@@ -295,8 +294,7 @@ public class Example {
String tenantId = "tenantId_example"; // String |
BulkCreateHashTagsBody bulkCreateHashTagsBody = new BulkCreateHashTagsBody(); // BulkCreateHashTagsBody |
try {
- BulkCreateHashTagsResponse result = apiInstance.addHashTagsBulk()
- .tenantId(tenantId)
+ BulkCreateHashTagsResponse result = apiInstance.addHashTagsBulk(tenantId)
.bulkCreateHashTagsBody(bulkCreateHashTagsBody)
.execute();
System.out.println(result);
@@ -315,7 +313,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
-| **tenantId** | **String**| | [optional] |
+| **tenantId** | **String**| | |
| **bulkCreateHashTagsBody** | [**BulkCreateHashTagsBody**](BulkCreateHashTagsBody.md)| | [optional] |
### Return type
@@ -2129,7 +2127,7 @@ public class Example {
# **deleteHashTag**
-> APIEmptyResponse deleteHashTag(tag).tenantId(tenantId).deleteHashTagRequestBody(deleteHashTagRequestBody).execute();
+> APIEmptyResponse deleteHashTag(tenantId, tag).deleteHashTagRequestBody(deleteHashTagRequestBody).execute();
@@ -2155,12 +2153,11 @@ public class Example {
//api_key.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi(defaultClient);
- String tag = "tag_example"; // String |
String tenantId = "tenantId_example"; // String |
+ String tag = "tag_example"; // String |
DeleteHashTagRequestBody deleteHashTagRequestBody = new DeleteHashTagRequestBody(); // DeleteHashTagRequestBody |
try {
- APIEmptyResponse result = apiInstance.deleteHashTag(tag)
- .tenantId(tenantId)
+ APIEmptyResponse result = apiInstance.deleteHashTag(tenantId, tag)
.deleteHashTagRequestBody(deleteHashTagRequestBody)
.execute();
System.out.println(result);
@@ -2179,8 +2176,8 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **tag** | **String**| | |
-| **tenantId** | **String**| | [optional] |
| **deleteHashTagRequestBody** | [**DeleteHashTagRequestBody**](DeleteHashTagRequestBody.md)| | [optional] |
### Return type
@@ -6693,7 +6690,7 @@ public class Example {
# **patchHashTag**
-> UpdateHashTagResponse patchHashTag(tag).tenantId(tenantId).updateHashTagBody(updateHashTagBody).execute();
+> UpdateHashTagResponse patchHashTag(tenantId, tag).updateHashTagBody(updateHashTagBody).execute();
@@ -6719,12 +6716,11 @@ public class Example {
//api_key.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi(defaultClient);
- String tag = "tag_example"; // String |
String tenantId = "tenantId_example"; // String |
+ String tag = "tag_example"; // String |
UpdateHashTagBody updateHashTagBody = new UpdateHashTagBody(); // UpdateHashTagBody |
try {
- UpdateHashTagResponse result = apiInstance.patchHashTag(tag)
- .tenantId(tenantId)
+ UpdateHashTagResponse result = apiInstance.patchHashTag(tenantId, tag)
.updateHashTagBody(updateHashTagBody)
.execute();
System.out.println(result);
@@ -6743,8 +6739,8 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **tag** | **String**| | |
-| **tenantId** | **String**| | [optional] |
| **updateHashTagBody** | [**UpdateHashTagBody**](UpdateHashTagBody.md)| | [optional] |
### Return type
diff --git a/client/docs/ModerationApi.md b/client/docs/ModerationApi.md
index 9e1561f0..321a21fd 100644
--- a/client/docs/ModerationApi.md
+++ b/client/docs/ModerationApi.md
@@ -5,54 +5,54 @@ All URIs are relative to *https://fastcomments.com*
| Method | HTTP request | Description |
|------------- | ------------- | -------------|
-| [**deleteModerationVote**](ModerationApi.md#deleteModerationVote) | **DELETE** /auth/my-account/moderate-comments/vote/{commentId}/{voteId} | |
-| [**getApiComments**](ModerationApi.md#getApiComments) | **GET** /auth/my-account/moderate-comments/api/comments | |
-| [**getApiExportStatus**](ModerationApi.md#getApiExportStatus) | **GET** /auth/my-account/moderate-comments/api/export/status | |
-| [**getApiIds**](ModerationApi.md#getApiIds) | **GET** /auth/my-account/moderate-comments/api/ids | |
-| [**getBanUsersFromComment**](ModerationApi.md#getBanUsersFromComment) | **GET** /auth/my-account/moderate-comments/ban-users/from-comment/{commentId} | |
-| [**getCommentBanStatus**](ModerationApi.md#getCommentBanStatus) | **GET** /auth/my-account/moderate-comments/get-comment-ban-status/{commentId} | |
-| [**getCommentChildren**](ModerationApi.md#getCommentChildren) | **GET** /auth/my-account/moderate-comments/comment-children/{commentId} | |
-| [**getCount**](ModerationApi.md#getCount) | **GET** /auth/my-account/moderate-comments/count | |
-| [**getCounts**](ModerationApi.md#getCounts) | **GET** /auth/my-account/moderate-comments/banned-users/counts | |
-| [**getLogs**](ModerationApi.md#getLogs) | **GET** /auth/my-account/moderate-comments/logs/{commentId} | |
-| [**getManualBadges**](ModerationApi.md#getManualBadges) | **GET** /auth/my-account/moderate-comments/get-manual-badges | |
-| [**getManualBadgesForUser**](ModerationApi.md#getManualBadgesForUser) | **GET** /auth/my-account/moderate-comments/get-manual-badges-for-user | |
-| [**getModerationComment**](ModerationApi.md#getModerationComment) | **GET** /auth/my-account/moderate-comments/comment/{commentId} | |
-| [**getModerationCommentText**](ModerationApi.md#getModerationCommentText) | **GET** /auth/my-account/moderate-comments/get-comment-text/{commentId} | |
-| [**getPreBanSummary**](ModerationApi.md#getPreBanSummary) | **GET** /auth/my-account/moderate-comments/pre-ban-summary/{commentId} | |
-| [**getSearchCommentsSummary**](ModerationApi.md#getSearchCommentsSummary) | **GET** /auth/my-account/moderate-comments/search/comments/summary | |
-| [**getSearchPages**](ModerationApi.md#getSearchPages) | **GET** /auth/my-account/moderate-comments/search/pages | |
-| [**getSearchSites**](ModerationApi.md#getSearchSites) | **GET** /auth/my-account/moderate-comments/search/sites | |
-| [**getSearchSuggest**](ModerationApi.md#getSearchSuggest) | **GET** /auth/my-account/moderate-comments/search/suggest | |
-| [**getSearchUsers**](ModerationApi.md#getSearchUsers) | **GET** /auth/my-account/moderate-comments/search/users | |
-| [**getTrustFactor**](ModerationApi.md#getTrustFactor) | **GET** /auth/my-account/moderate-comments/get-trust-factor | |
-| [**getUserBanPreference**](ModerationApi.md#getUserBanPreference) | **GET** /auth/my-account/moderate-comments/user-ban-preference | |
-| [**getUserInternalProfile**](ModerationApi.md#getUserInternalProfile) | **GET** /auth/my-account/moderate-comments/get-user-internal-profile | |
-| [**postAdjustCommentVotes**](ModerationApi.md#postAdjustCommentVotes) | **POST** /auth/my-account/moderate-comments/adjust-comment-votes/{commentId} | |
-| [**postApiExport**](ModerationApi.md#postApiExport) | **POST** /auth/my-account/moderate-comments/api/export | |
-| [**postBanUserFromComment**](ModerationApi.md#postBanUserFromComment) | **POST** /auth/my-account/moderate-comments/ban-user/from-comment/{commentId} | |
-| [**postBanUserUndo**](ModerationApi.md#postBanUserUndo) | **POST** /auth/my-account/moderate-comments/ban-user/undo | |
-| [**postBulkPreBanSummary**](ModerationApi.md#postBulkPreBanSummary) | **POST** /auth/my-account/moderate-comments/bulk-pre-ban-summary | |
-| [**postCommentsByIds**](ModerationApi.md#postCommentsByIds) | **POST** /auth/my-account/moderate-comments/comments-by-ids | |
-| [**postFlagComment**](ModerationApi.md#postFlagComment) | **POST** /auth/my-account/moderate-comments/flag-comment/{commentId} | |
-| [**postRemoveComment**](ModerationApi.md#postRemoveComment) | **POST** /auth/my-account/moderate-comments/remove-comment/{commentId} | |
-| [**postRestoreDeletedComment**](ModerationApi.md#postRestoreDeletedComment) | **POST** /auth/my-account/moderate-comments/restore-deleted-comment/{commentId} | |
-| [**postSetCommentApprovalStatus**](ModerationApi.md#postSetCommentApprovalStatus) | **POST** /auth/my-account/moderate-comments/set-comment-approval-status/{commentId} | |
-| [**postSetCommentReviewStatus**](ModerationApi.md#postSetCommentReviewStatus) | **POST** /auth/my-account/moderate-comments/set-comment-review-status/{commentId} | |
-| [**postSetCommentSpamStatus**](ModerationApi.md#postSetCommentSpamStatus) | **POST** /auth/my-account/moderate-comments/set-comment-spam-status/{commentId} | |
-| [**postSetCommentText**](ModerationApi.md#postSetCommentText) | **POST** /auth/my-account/moderate-comments/set-comment-text/{commentId} | |
-| [**postUnFlagComment**](ModerationApi.md#postUnFlagComment) | **POST** /auth/my-account/moderate-comments/un-flag-comment/{commentId} | |
-| [**postVote**](ModerationApi.md#postVote) | **POST** /auth/my-account/moderate-comments/vote/{commentId} | |
-| [**putAwardBadge**](ModerationApi.md#putAwardBadge) | **PUT** /auth/my-account/moderate-comments/award-badge | |
-| [**putCloseThread**](ModerationApi.md#putCloseThread) | **PUT** /auth/my-account/moderate-comments/close-thread | |
-| [**putRemoveBadge**](ModerationApi.md#putRemoveBadge) | **PUT** /auth/my-account/moderate-comments/remove-badge | |
-| [**putReopenThread**](ModerationApi.md#putReopenThread) | **PUT** /auth/my-account/moderate-comments/reopen-thread | |
-| [**setTrustFactor**](ModerationApi.md#setTrustFactor) | **PUT** /auth/my-account/moderate-comments/set-trust-factor | |
+| [**deleteModerationVote**](ModerationApi.md#deleteModerationVote) | **DELETE** /auth/my-account/moderate-comments/mod_api/vote/{commentId}/{voteId} | |
+| [**getApiComments**](ModerationApi.md#getApiComments) | **GET** /auth/my-account/moderate-comments/mod_api/api/comments | |
+| [**getApiExportStatus**](ModerationApi.md#getApiExportStatus) | **GET** /auth/my-account/moderate-comments/mod_api/api/export/status | |
+| [**getApiIds**](ModerationApi.md#getApiIds) | **GET** /auth/my-account/moderate-comments/mod_api/api/ids | |
+| [**getBanUsersFromComment**](ModerationApi.md#getBanUsersFromComment) | **GET** /auth/my-account/moderate-comments/mod_api/ban-users/from-comment/{commentId} | |
+| [**getCommentBanStatus**](ModerationApi.md#getCommentBanStatus) | **GET** /auth/my-account/moderate-comments/mod_api/get-comment-ban-status/{commentId} | |
+| [**getCommentChildren**](ModerationApi.md#getCommentChildren) | **GET** /auth/my-account/moderate-comments/mod_api/comment-children/{commentId} | |
+| [**getCount**](ModerationApi.md#getCount) | **GET** /auth/my-account/moderate-comments/mod_api/count | |
+| [**getCounts**](ModerationApi.md#getCounts) | **GET** /auth/my-account/moderate-comments/banned-users/mod_api/counts | |
+| [**getLogs**](ModerationApi.md#getLogs) | **GET** /auth/my-account/moderate-comments/mod_api/logs/{commentId} | |
+| [**getManualBadges**](ModerationApi.md#getManualBadges) | **GET** /auth/my-account/moderate-comments/mod_api/get-manual-badges | |
+| [**getManualBadgesForUser**](ModerationApi.md#getManualBadgesForUser) | **GET** /auth/my-account/moderate-comments/mod_api/get-manual-badges-for-user | |
+| [**getModerationComment**](ModerationApi.md#getModerationComment) | **GET** /auth/my-account/moderate-comments/mod_api/comment/{commentId} | |
+| [**getModerationCommentText**](ModerationApi.md#getModerationCommentText) | **GET** /auth/my-account/moderate-comments/mod_api/get-comment-text/{commentId} | |
+| [**getPreBanSummary**](ModerationApi.md#getPreBanSummary) | **GET** /auth/my-account/moderate-comments/mod_api/pre-ban-summary/{commentId} | |
+| [**getSearchCommentsSummary**](ModerationApi.md#getSearchCommentsSummary) | **GET** /auth/my-account/moderate-comments/mod_api/search/comments/summary | |
+| [**getSearchPages**](ModerationApi.md#getSearchPages) | **GET** /auth/my-account/moderate-comments/mod_api/search/pages | |
+| [**getSearchSites**](ModerationApi.md#getSearchSites) | **GET** /auth/my-account/moderate-comments/mod_api/search/sites | |
+| [**getSearchSuggest**](ModerationApi.md#getSearchSuggest) | **GET** /auth/my-account/moderate-comments/mod_api/search/suggest | |
+| [**getSearchUsers**](ModerationApi.md#getSearchUsers) | **GET** /auth/my-account/moderate-comments/mod_api/search/users | |
+| [**getTrustFactor**](ModerationApi.md#getTrustFactor) | **GET** /auth/my-account/moderate-comments/mod_api/get-trust-factor | |
+| [**getUserBanPreference**](ModerationApi.md#getUserBanPreference) | **GET** /auth/my-account/moderate-comments/mod_api/user-ban-preference | |
+| [**getUserInternalProfile**](ModerationApi.md#getUserInternalProfile) | **GET** /auth/my-account/moderate-comments/mod_api/get-user-internal-profile | |
+| [**postAdjustCommentVotes**](ModerationApi.md#postAdjustCommentVotes) | **POST** /auth/my-account/moderate-comments/mod_api/adjust-comment-votes/{commentId} | |
+| [**postApiExport**](ModerationApi.md#postApiExport) | **POST** /auth/my-account/moderate-comments/mod_api/api/export | |
+| [**postBanUserFromComment**](ModerationApi.md#postBanUserFromComment) | **POST** /auth/my-account/moderate-comments/mod_api/ban-user/from-comment/{commentId} | |
+| [**postBanUserUndo**](ModerationApi.md#postBanUserUndo) | **POST** /auth/my-account/moderate-comments/mod_api/ban-user/undo | |
+| [**postBulkPreBanSummary**](ModerationApi.md#postBulkPreBanSummary) | **POST** /auth/my-account/moderate-comments/mod_api/bulk-pre-ban-summary | |
+| [**postCommentsByIds**](ModerationApi.md#postCommentsByIds) | **POST** /auth/my-account/moderate-comments/mod_api/comments-by-ids | |
+| [**postFlagComment**](ModerationApi.md#postFlagComment) | **POST** /auth/my-account/moderate-comments/mod_api/flag-comment/{commentId} | |
+| [**postRemoveComment**](ModerationApi.md#postRemoveComment) | **POST** /auth/my-account/moderate-comments/mod_api/remove-comment/{commentId} | |
+| [**postRestoreDeletedComment**](ModerationApi.md#postRestoreDeletedComment) | **POST** /auth/my-account/moderate-comments/mod_api/restore-deleted-comment/{commentId} | |
+| [**postSetCommentApprovalStatus**](ModerationApi.md#postSetCommentApprovalStatus) | **POST** /auth/my-account/moderate-comments/mod_api/set-comment-approval-status/{commentId} | |
+| [**postSetCommentReviewStatus**](ModerationApi.md#postSetCommentReviewStatus) | **POST** /auth/my-account/moderate-comments/mod_api/set-comment-review-status/{commentId} | |
+| [**postSetCommentSpamStatus**](ModerationApi.md#postSetCommentSpamStatus) | **POST** /auth/my-account/moderate-comments/mod_api/set-comment-spam-status/{commentId} | |
+| [**postSetCommentText**](ModerationApi.md#postSetCommentText) | **POST** /auth/my-account/moderate-comments/mod_api/set-comment-text/{commentId} | |
+| [**postUnFlagComment**](ModerationApi.md#postUnFlagComment) | **POST** /auth/my-account/moderate-comments/mod_api/un-flag-comment/{commentId} | |
+| [**postVote**](ModerationApi.md#postVote) | **POST** /auth/my-account/moderate-comments/mod_api/vote/{commentId} | |
+| [**putAwardBadge**](ModerationApi.md#putAwardBadge) | **PUT** /auth/my-account/moderate-comments/mod_api/award-badge | |
+| [**putCloseThread**](ModerationApi.md#putCloseThread) | **PUT** /auth/my-account/moderate-comments/mod_api/close-thread | |
+| [**putRemoveBadge**](ModerationApi.md#putRemoveBadge) | **PUT** /auth/my-account/moderate-comments/mod_api/remove-badge | |
+| [**putReopenThread**](ModerationApi.md#putReopenThread) | **PUT** /auth/my-account/moderate-comments/mod_api/reopen-thread | |
+| [**setTrustFactor**](ModerationApi.md#setTrustFactor) | **PUT** /auth/my-account/moderate-comments/mod_api/set-trust-factor | |
# **deleteModerationVote**
-> VoteDeleteResponse deleteModerationVote(commentId, voteId).sso(sso).execute();
+> VoteDeleteResponse deleteModerationVote(tenantId, commentId, voteId).broadcastId(broadcastId).sso(sso).execute();
@@ -71,11 +71,14 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
String commentId = "commentId_example"; // String |
String voteId = "voteId_example"; // String |
+ String broadcastId = "broadcastId_example"; // String |
String sso = "sso_example"; // String |
try {
- VoteDeleteResponse result = apiInstance.deleteModerationVote(commentId, voteId)
+ VoteDeleteResponse result = apiInstance.deleteModerationVote(tenantId, commentId, voteId)
+ .broadcastId(broadcastId)
.sso(sso)
.execute();
System.out.println(result);
@@ -94,8 +97,10 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **commentId** | **String**| | |
| **voteId** | **String**| | |
+| **broadcastId** | **String**| | [optional] |
| **sso** | **String**| | [optional] |
### Return type
@@ -119,7 +124,7 @@ No authorization required
# **getApiComments**
-> ModerationAPIGetCommentsResponse getApiComments().page(page).count(count).textSearch(textSearch).byIPFromComment(byIPFromComment).filters(filters).searchFilters(searchFilters).sorts(sorts).demo(demo).sso(sso).execute();
+> ModerationAPIGetCommentsResponse getApiComments(tenantId).page(page).count(count).textSearch(textSearch).byIPFromComment(byIPFromComment).filters(filters).searchFilters(searchFilters).sorts(sorts).demo(demo).sso(sso).execute();
@@ -138,6 +143,7 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
Double page = 3.4D; // Double |
Double count = 3.4D; // Double |
String textSearch = "textSearch_example"; // String |
@@ -148,7 +154,7 @@ public class Example {
Boolean demo = true; // Boolean |
String sso = "sso_example"; // String |
try {
- ModerationAPIGetCommentsResponse result = apiInstance.getApiComments()
+ ModerationAPIGetCommentsResponse result = apiInstance.getApiComments(tenantId)
.page(page)
.count(count)
.textSearch(textSearch)
@@ -175,6 +181,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **page** | **Double**| | [optional] |
| **count** | **Double**| | [optional] |
| **textSearch** | **String**| | [optional] |
@@ -206,7 +213,7 @@ No authorization required
# **getApiExportStatus**
-> ModerationExportStatusResponse getApiExportStatus().batchJobId(batchJobId).sso(sso).execute();
+> ModerationExportStatusResponse getApiExportStatus(tenantId).batchJobId(batchJobId).sso(sso).execute();
@@ -225,10 +232,11 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
String batchJobId = "batchJobId_example"; // String |
String sso = "sso_example"; // String |
try {
- ModerationExportStatusResponse result = apiInstance.getApiExportStatus()
+ ModerationExportStatusResponse result = apiInstance.getApiExportStatus(tenantId)
.batchJobId(batchJobId)
.sso(sso)
.execute();
@@ -248,6 +256,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **batchJobId** | **String**| | [optional] |
| **sso** | **String**| | [optional] |
@@ -272,7 +281,7 @@ No authorization required
# **getApiIds**
-> ModerationAPIGetCommentIdsResponse getApiIds().textSearch(textSearch).byIPFromComment(byIPFromComment).filters(filters).searchFilters(searchFilters).afterId(afterId).demo(demo).sso(sso).execute();
+> ModerationAPIGetCommentIdsResponse getApiIds(tenantId).textSearch(textSearch).byIPFromComment(byIPFromComment).filters(filters).searchFilters(searchFilters).afterId(afterId).demo(demo).sso(sso).execute();
@@ -291,6 +300,7 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
String textSearch = "textSearch_example"; // String |
String byIPFromComment = "byIPFromComment_example"; // String |
String filters = "filters_example"; // String |
@@ -299,7 +309,7 @@ public class Example {
Boolean demo = true; // Boolean |
String sso = "sso_example"; // String |
try {
- ModerationAPIGetCommentIdsResponse result = apiInstance.getApiIds()
+ ModerationAPIGetCommentIdsResponse result = apiInstance.getApiIds(tenantId)
.textSearch(textSearch)
.byIPFromComment(byIPFromComment)
.filters(filters)
@@ -324,6 +334,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **textSearch** | **String**| | [optional] |
| **byIPFromComment** | **String**| | [optional] |
| **filters** | **String**| | [optional] |
@@ -353,7 +364,7 @@ No authorization required
# **getBanUsersFromComment**
-> GetBannedUsersFromCommentResponse getBanUsersFromComment(commentId).sso(sso).execute();
+> GetBannedUsersFromCommentResponse getBanUsersFromComment(tenantId, commentId).sso(sso).execute();
@@ -372,10 +383,11 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
String commentId = "commentId_example"; // String |
String sso = "sso_example"; // String |
try {
- GetBannedUsersFromCommentResponse result = apiInstance.getBanUsersFromComment(commentId)
+ GetBannedUsersFromCommentResponse result = apiInstance.getBanUsersFromComment(tenantId, commentId)
.sso(sso)
.execute();
System.out.println(result);
@@ -394,6 +406,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **commentId** | **String**| | |
| **sso** | **String**| | [optional] |
@@ -418,7 +431,7 @@ No authorization required
# **getCommentBanStatus**
-> GetCommentBanStatusResponse getCommentBanStatus(commentId).sso(sso).execute();
+> GetCommentBanStatusResponse getCommentBanStatus(tenantId, commentId).sso(sso).execute();
@@ -437,10 +450,11 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
String commentId = "commentId_example"; // String |
String sso = "sso_example"; // String |
try {
- GetCommentBanStatusResponse result = apiInstance.getCommentBanStatus(commentId)
+ GetCommentBanStatusResponse result = apiInstance.getCommentBanStatus(tenantId, commentId)
.sso(sso)
.execute();
System.out.println(result);
@@ -459,6 +473,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **commentId** | **String**| | |
| **sso** | **String**| | [optional] |
@@ -483,7 +498,7 @@ No authorization required
# **getCommentChildren**
-> ModerationAPIChildCommentsResponse getCommentChildren(commentId).sso(sso).execute();
+> ModerationAPIChildCommentsResponse getCommentChildren(tenantId, commentId).sso(sso).execute();
@@ -502,10 +517,11 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
String commentId = "commentId_example"; // String |
String sso = "sso_example"; // String |
try {
- ModerationAPIChildCommentsResponse result = apiInstance.getCommentChildren(commentId)
+ ModerationAPIChildCommentsResponse result = apiInstance.getCommentChildren(tenantId, commentId)
.sso(sso)
.execute();
System.out.println(result);
@@ -524,6 +540,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **commentId** | **String**| | |
| **sso** | **String**| | [optional] |
@@ -548,7 +565,7 @@ No authorization required
# **getCount**
-> ModerationAPICountCommentsResponse getCount().textSearch(textSearch).byIPFromComment(byIPFromComment).filter(filter).searchFilters(searchFilters).demo(demo).sso(sso).execute();
+> ModerationAPICountCommentsResponse getCount(tenantId).textSearch(textSearch).byIPFromComment(byIPFromComment).filter(filter).searchFilters(searchFilters).demo(demo).sso(sso).execute();
@@ -567,6 +584,7 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
String textSearch = "textSearch_example"; // String |
String byIPFromComment = "byIPFromComment_example"; // String |
String filter = "filter_example"; // String |
@@ -574,7 +592,7 @@ public class Example {
Boolean demo = true; // Boolean |
String sso = "sso_example"; // String |
try {
- ModerationAPICountCommentsResponse result = apiInstance.getCount()
+ ModerationAPICountCommentsResponse result = apiInstance.getCount(tenantId)
.textSearch(textSearch)
.byIPFromComment(byIPFromComment)
.filter(filter)
@@ -598,6 +616,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **textSearch** | **String**| | [optional] |
| **byIPFromComment** | **String**| | [optional] |
| **filter** | **String**| | [optional] |
@@ -626,7 +645,7 @@ No authorization required
# **getCounts**
-> GetBannedUsersCountResponse getCounts().sso(sso).execute();
+> GetBannedUsersCountResponse getCounts(tenantId).sso(sso).execute();
@@ -645,9 +664,10 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
String sso = "sso_example"; // String |
try {
- GetBannedUsersCountResponse result = apiInstance.getCounts()
+ GetBannedUsersCountResponse result = apiInstance.getCounts(tenantId)
.sso(sso)
.execute();
System.out.println(result);
@@ -666,6 +686,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **sso** | **String**| | [optional] |
### Return type
@@ -689,7 +710,7 @@ No authorization required
# **getLogs**
-> ModerationAPIGetLogsResponse getLogs(commentId).sso(sso).execute();
+> ModerationAPIGetLogsResponse getLogs(tenantId, commentId).sso(sso).execute();
@@ -708,10 +729,11 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
String commentId = "commentId_example"; // String |
String sso = "sso_example"; // String |
try {
- ModerationAPIGetLogsResponse result = apiInstance.getLogs(commentId)
+ ModerationAPIGetLogsResponse result = apiInstance.getLogs(tenantId, commentId)
.sso(sso)
.execute();
System.out.println(result);
@@ -730,6 +752,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **commentId** | **String**| | |
| **sso** | **String**| | [optional] |
@@ -754,7 +777,7 @@ No authorization required
# **getManualBadges**
-> GetTenantManualBadgesResponse getManualBadges().sso(sso).execute();
+> GetTenantManualBadgesResponse getManualBadges(tenantId).sso(sso).execute();
@@ -773,9 +796,10 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
String sso = "sso_example"; // String |
try {
- GetTenantManualBadgesResponse result = apiInstance.getManualBadges()
+ GetTenantManualBadgesResponse result = apiInstance.getManualBadges(tenantId)
.sso(sso)
.execute();
System.out.println(result);
@@ -794,6 +818,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **sso** | **String**| | [optional] |
### Return type
@@ -817,7 +842,7 @@ No authorization required
# **getManualBadgesForUser**
-> GetUserManualBadgesResponse getManualBadgesForUser().badgesUserId(badgesUserId).commentId(commentId).sso(sso).execute();
+> GetUserManualBadgesResponse getManualBadgesForUser(tenantId).badgesUserId(badgesUserId).commentId(commentId).sso(sso).execute();
@@ -836,11 +861,12 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
String badgesUserId = "badgesUserId_example"; // String |
String commentId = "commentId_example"; // String |
String sso = "sso_example"; // String |
try {
- GetUserManualBadgesResponse result = apiInstance.getManualBadgesForUser()
+ GetUserManualBadgesResponse result = apiInstance.getManualBadgesForUser(tenantId)
.badgesUserId(badgesUserId)
.commentId(commentId)
.sso(sso)
@@ -861,6 +887,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **badgesUserId** | **String**| | [optional] |
| **commentId** | **String**| | [optional] |
| **sso** | **String**| | [optional] |
@@ -886,7 +913,7 @@ No authorization required
# **getModerationComment**
-> ModerationAPICommentResponse getModerationComment(commentId).includeEmail(includeEmail).includeIP(includeIP).sso(sso).execute();
+> ModerationAPICommentResponse getModerationComment(tenantId, commentId).includeEmail(includeEmail).includeIP(includeIP).sso(sso).execute();
@@ -905,12 +932,13 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
String commentId = "commentId_example"; // String |
Boolean includeEmail = true; // Boolean |
Boolean includeIP = true; // Boolean |
String sso = "sso_example"; // String |
try {
- ModerationAPICommentResponse result = apiInstance.getModerationComment(commentId)
+ ModerationAPICommentResponse result = apiInstance.getModerationComment(tenantId, commentId)
.includeEmail(includeEmail)
.includeIP(includeIP)
.sso(sso)
@@ -931,6 +959,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **commentId** | **String**| | |
| **includeEmail** | **Boolean**| | [optional] |
| **includeIP** | **Boolean**| | [optional] |
@@ -957,7 +986,7 @@ No authorization required
# **getModerationCommentText**
-> GetCommentTextResponse getModerationCommentText(commentId).sso(sso).execute();
+> GetCommentTextResponse getModerationCommentText(tenantId, commentId).sso(sso).execute();
@@ -976,10 +1005,11 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
String commentId = "commentId_example"; // String |
String sso = "sso_example"; // String |
try {
- GetCommentTextResponse result = apiInstance.getModerationCommentText(commentId)
+ GetCommentTextResponse result = apiInstance.getModerationCommentText(tenantId, commentId)
.sso(sso)
.execute();
System.out.println(result);
@@ -998,6 +1028,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **commentId** | **String**| | |
| **sso** | **String**| | [optional] |
@@ -1022,7 +1053,7 @@ No authorization required
# **getPreBanSummary**
-> PreBanSummary getPreBanSummary(commentId).includeByUserIdAndEmail(includeByUserIdAndEmail).includeByIP(includeByIP).includeByEmailDomain(includeByEmailDomain).sso(sso).execute();
+> PreBanSummary getPreBanSummary(tenantId, commentId).includeByUserIdAndEmail(includeByUserIdAndEmail).includeByIP(includeByIP).includeByEmailDomain(includeByEmailDomain).sso(sso).execute();
@@ -1041,13 +1072,14 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
String commentId = "commentId_example"; // String |
Boolean includeByUserIdAndEmail = true; // Boolean |
Boolean includeByIP = true; // Boolean |
Boolean includeByEmailDomain = true; // Boolean |
String sso = "sso_example"; // String |
try {
- PreBanSummary result = apiInstance.getPreBanSummary(commentId)
+ PreBanSummary result = apiInstance.getPreBanSummary(tenantId, commentId)
.includeByUserIdAndEmail(includeByUserIdAndEmail)
.includeByIP(includeByIP)
.includeByEmailDomain(includeByEmailDomain)
@@ -1069,6 +1101,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **commentId** | **String**| | |
| **includeByUserIdAndEmail** | **Boolean**| | [optional] |
| **includeByIP** | **Boolean**| | [optional] |
@@ -1096,7 +1129,7 @@ No authorization required
# **getSearchCommentsSummary**
-> ModerationCommentSearchResponse getSearchCommentsSummary().value(value).filters(filters).searchFilters(searchFilters).sso(sso).execute();
+> ModerationCommentSearchResponse getSearchCommentsSummary(tenantId).value(value).filters(filters).searchFilters(searchFilters).sso(sso).execute();
@@ -1115,12 +1148,13 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
String value = "value_example"; // String |
String filters = "filters_example"; // String |
String searchFilters = "searchFilters_example"; // String |
String sso = "sso_example"; // String |
try {
- ModerationCommentSearchResponse result = apiInstance.getSearchCommentsSummary()
+ ModerationCommentSearchResponse result = apiInstance.getSearchCommentsSummary(tenantId)
.value(value)
.filters(filters)
.searchFilters(searchFilters)
@@ -1142,6 +1176,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **value** | **String**| | [optional] |
| **filters** | **String**| | [optional] |
| **searchFilters** | **String**| | [optional] |
@@ -1168,7 +1203,7 @@ No authorization required
# **getSearchPages**
-> ModerationPageSearchResponse getSearchPages().value(value).sso(sso).execute();
+> ModerationPageSearchResponse getSearchPages(tenantId).value(value).sso(sso).execute();
@@ -1187,10 +1222,11 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
String value = "value_example"; // String |
String sso = "sso_example"; // String |
try {
- ModerationPageSearchResponse result = apiInstance.getSearchPages()
+ ModerationPageSearchResponse result = apiInstance.getSearchPages(tenantId)
.value(value)
.sso(sso)
.execute();
@@ -1210,6 +1246,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **value** | **String**| | [optional] |
| **sso** | **String**| | [optional] |
@@ -1234,7 +1271,7 @@ No authorization required
# **getSearchSites**
-> ModerationSiteSearchResponse getSearchSites().value(value).sso(sso).execute();
+> ModerationSiteSearchResponse getSearchSites(tenantId).value(value).sso(sso).execute();
@@ -1253,10 +1290,11 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
String value = "value_example"; // String |
String sso = "sso_example"; // String |
try {
- ModerationSiteSearchResponse result = apiInstance.getSearchSites()
+ ModerationSiteSearchResponse result = apiInstance.getSearchSites(tenantId)
.value(value)
.sso(sso)
.execute();
@@ -1276,6 +1314,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **value** | **String**| | [optional] |
| **sso** | **String**| | [optional] |
@@ -1300,7 +1339,7 @@ No authorization required
# **getSearchSuggest**
-> ModerationSuggestResponse getSearchSuggest().textSearch(textSearch).sso(sso).execute();
+> ModerationSuggestResponse getSearchSuggest(tenantId).textSearch(textSearch).sso(sso).execute();
@@ -1319,10 +1358,11 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
String textSearch = "textSearch_example"; // String |
String sso = "sso_example"; // String |
try {
- ModerationSuggestResponse result = apiInstance.getSearchSuggest()
+ ModerationSuggestResponse result = apiInstance.getSearchSuggest(tenantId)
.textSearch(textSearch)
.sso(sso)
.execute();
@@ -1342,6 +1382,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **textSearch** | **String**| | [optional] |
| **sso** | **String**| | [optional] |
@@ -1366,7 +1407,7 @@ No authorization required
# **getSearchUsers**
-> ModerationUserSearchResponse getSearchUsers().value(value).sso(sso).execute();
+> ModerationUserSearchResponse getSearchUsers(tenantId).value(value).sso(sso).execute();
@@ -1385,10 +1426,11 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
String value = "value_example"; // String |
String sso = "sso_example"; // String |
try {
- ModerationUserSearchResponse result = apiInstance.getSearchUsers()
+ ModerationUserSearchResponse result = apiInstance.getSearchUsers(tenantId)
.value(value)
.sso(sso)
.execute();
@@ -1408,6 +1450,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **value** | **String**| | [optional] |
| **sso** | **String**| | [optional] |
@@ -1432,7 +1475,7 @@ No authorization required
# **getTrustFactor**
-> GetUserTrustFactorResponse getTrustFactor().userId(userId).sso(sso).execute();
+> GetUserTrustFactorResponse getTrustFactor(tenantId).userId(userId).sso(sso).execute();
@@ -1451,10 +1494,11 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
String userId = "userId_example"; // String |
String sso = "sso_example"; // String |
try {
- GetUserTrustFactorResponse result = apiInstance.getTrustFactor()
+ GetUserTrustFactorResponse result = apiInstance.getTrustFactor(tenantId)
.userId(userId)
.sso(sso)
.execute();
@@ -1474,6 +1518,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **userId** | **String**| | [optional] |
| **sso** | **String**| | [optional] |
@@ -1498,7 +1543,7 @@ No authorization required
# **getUserBanPreference**
-> APIModerateGetUserBanPreferencesResponse getUserBanPreference().sso(sso).execute();
+> APIModerateGetUserBanPreferencesResponse getUserBanPreference(tenantId).sso(sso).execute();
@@ -1517,9 +1562,10 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
String sso = "sso_example"; // String |
try {
- APIModerateGetUserBanPreferencesResponse result = apiInstance.getUserBanPreference()
+ APIModerateGetUserBanPreferencesResponse result = apiInstance.getUserBanPreference(tenantId)
.sso(sso)
.execute();
System.out.println(result);
@@ -1538,6 +1584,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **sso** | **String**| | [optional] |
### Return type
@@ -1561,7 +1608,7 @@ No authorization required
# **getUserInternalProfile**
-> GetUserInternalProfileResponse getUserInternalProfile().commentId(commentId).sso(sso).execute();
+> GetUserInternalProfileResponse getUserInternalProfile(tenantId).commentId(commentId).sso(sso).execute();
@@ -1580,10 +1627,11 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
String commentId = "commentId_example"; // String |
String sso = "sso_example"; // String |
try {
- GetUserInternalProfileResponse result = apiInstance.getUserInternalProfile()
+ GetUserInternalProfileResponse result = apiInstance.getUserInternalProfile(tenantId)
.commentId(commentId)
.sso(sso)
.execute();
@@ -1603,6 +1651,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **commentId** | **String**| | [optional] |
| **sso** | **String**| | [optional] |
@@ -1627,7 +1676,7 @@ No authorization required
# **postAdjustCommentVotes**
-> AdjustVotesResponse postAdjustCommentVotes(commentId, adjustCommentVotesParams).sso(sso).execute();
+> AdjustVotesResponse postAdjustCommentVotes(tenantId, commentId, adjustCommentVotesParams).broadcastId(broadcastId).sso(sso).execute();
@@ -1646,11 +1695,14 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
String commentId = "commentId_example"; // String |
AdjustCommentVotesParams adjustCommentVotesParams = new AdjustCommentVotesParams(); // AdjustCommentVotesParams |
+ String broadcastId = "broadcastId_example"; // String |
String sso = "sso_example"; // String |
try {
- AdjustVotesResponse result = apiInstance.postAdjustCommentVotes(commentId, adjustCommentVotesParams)
+ AdjustVotesResponse result = apiInstance.postAdjustCommentVotes(tenantId, commentId, adjustCommentVotesParams)
+ .broadcastId(broadcastId)
.sso(sso)
.execute();
System.out.println(result);
@@ -1669,8 +1721,10 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **commentId** | **String**| | |
| **adjustCommentVotesParams** | [**AdjustCommentVotesParams**](AdjustCommentVotesParams.md)| | |
+| **broadcastId** | **String**| | [optional] |
| **sso** | **String**| | [optional] |
### Return type
@@ -1694,7 +1748,7 @@ No authorization required
# **postApiExport**
-> ModerationExportResponse postApiExport().textSearch(textSearch).byIPFromComment(byIPFromComment).filters(filters).searchFilters(searchFilters).sorts(sorts).sso(sso).execute();
+> ModerationExportResponse postApiExport(tenantId).textSearch(textSearch).byIPFromComment(byIPFromComment).filters(filters).searchFilters(searchFilters).sorts(sorts).sso(sso).execute();
@@ -1713,6 +1767,7 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
String textSearch = "textSearch_example"; // String |
String byIPFromComment = "byIPFromComment_example"; // String |
String filters = "filters_example"; // String |
@@ -1720,7 +1775,7 @@ public class Example {
String sorts = "sorts_example"; // String |
String sso = "sso_example"; // String |
try {
- ModerationExportResponse result = apiInstance.postApiExport()
+ ModerationExportResponse result = apiInstance.postApiExport(tenantId)
.textSearch(textSearch)
.byIPFromComment(byIPFromComment)
.filters(filters)
@@ -1744,6 +1799,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **textSearch** | **String**| | [optional] |
| **byIPFromComment** | **String**| | [optional] |
| **filters** | **String**| | [optional] |
@@ -1772,7 +1828,7 @@ No authorization required
# **postBanUserFromComment**
-> BanUserFromCommentResult postBanUserFromComment(commentId).banEmail(banEmail).banEmailDomain(banEmailDomain).banIP(banIP).deleteAllUsersComments(deleteAllUsersComments).bannedUntil(bannedUntil).isShadowBan(isShadowBan).updateId(updateId).banReason(banReason).sso(sso).execute();
+> BanUserFromCommentResult postBanUserFromComment(tenantId, commentId).banEmail(banEmail).banEmailDomain(banEmailDomain).banIP(banIP).deleteAllUsersComments(deleteAllUsersComments).bannedUntil(bannedUntil).isShadowBan(isShadowBan).updateId(updateId).banReason(banReason).sso(sso).execute();
@@ -1791,6 +1847,7 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
String commentId = "commentId_example"; // String |
Boolean banEmail = true; // Boolean |
Boolean banEmailDomain = true; // Boolean |
@@ -1802,7 +1859,7 @@ public class Example {
String banReason = "banReason_example"; // String |
String sso = "sso_example"; // String |
try {
- BanUserFromCommentResult result = apiInstance.postBanUserFromComment(commentId)
+ BanUserFromCommentResult result = apiInstance.postBanUserFromComment(tenantId, commentId)
.banEmail(banEmail)
.banEmailDomain(banEmailDomain)
.banIP(banIP)
@@ -1829,6 +1886,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **commentId** | **String**| | |
| **banEmail** | **Boolean**| | [optional] |
| **banEmailDomain** | **Boolean**| | [optional] |
@@ -1861,7 +1919,7 @@ No authorization required
# **postBanUserUndo**
-> APIEmptyResponse postBanUserUndo(banUserUndoParams).sso(sso).execute();
+> APIEmptyResponse postBanUserUndo(tenantId, banUserUndoParams).sso(sso).execute();
@@ -1880,10 +1938,11 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
BanUserUndoParams banUserUndoParams = new BanUserUndoParams(); // BanUserUndoParams |
String sso = "sso_example"; // String |
try {
- APIEmptyResponse result = apiInstance.postBanUserUndo(banUserUndoParams)
+ APIEmptyResponse result = apiInstance.postBanUserUndo(tenantId, banUserUndoParams)
.sso(sso)
.execute();
System.out.println(result);
@@ -1902,6 +1961,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **banUserUndoParams** | [**BanUserUndoParams**](BanUserUndoParams.md)| | |
| **sso** | **String**| | [optional] |
@@ -1926,7 +1986,7 @@ No authorization required
# **postBulkPreBanSummary**
-> BulkPreBanSummary postBulkPreBanSummary(bulkPreBanParams).includeByUserIdAndEmail(includeByUserIdAndEmail).includeByIP(includeByIP).includeByEmailDomain(includeByEmailDomain).sso(sso).execute();
+> BulkPreBanSummary postBulkPreBanSummary(tenantId, bulkPreBanParams).includeByUserIdAndEmail(includeByUserIdAndEmail).includeByIP(includeByIP).includeByEmailDomain(includeByEmailDomain).sso(sso).execute();
@@ -1945,13 +2005,14 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
BulkPreBanParams bulkPreBanParams = new BulkPreBanParams(); // BulkPreBanParams |
Boolean includeByUserIdAndEmail = true; // Boolean |
Boolean includeByIP = true; // Boolean |
Boolean includeByEmailDomain = true; // Boolean |
String sso = "sso_example"; // String |
try {
- BulkPreBanSummary result = apiInstance.postBulkPreBanSummary(bulkPreBanParams)
+ BulkPreBanSummary result = apiInstance.postBulkPreBanSummary(tenantId, bulkPreBanParams)
.includeByUserIdAndEmail(includeByUserIdAndEmail)
.includeByIP(includeByIP)
.includeByEmailDomain(includeByEmailDomain)
@@ -1973,6 +2034,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **bulkPreBanParams** | [**BulkPreBanParams**](BulkPreBanParams.md)| | |
| **includeByUserIdAndEmail** | **Boolean**| | [optional] |
| **includeByIP** | **Boolean**| | [optional] |
@@ -2000,7 +2062,7 @@ No authorization required
# **postCommentsByIds**
-> ModerationAPIChildCommentsResponse postCommentsByIds(commentsByIdsParams).sso(sso).execute();
+> ModerationAPIChildCommentsResponse postCommentsByIds(tenantId, commentsByIdsParams).sso(sso).execute();
@@ -2019,10 +2081,11 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
CommentsByIdsParams commentsByIdsParams = new CommentsByIdsParams(); // CommentsByIdsParams |
String sso = "sso_example"; // String |
try {
- ModerationAPIChildCommentsResponse result = apiInstance.postCommentsByIds(commentsByIdsParams)
+ ModerationAPIChildCommentsResponse result = apiInstance.postCommentsByIds(tenantId, commentsByIdsParams)
.sso(sso)
.execute();
System.out.println(result);
@@ -2041,6 +2104,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **commentsByIdsParams** | [**CommentsByIdsParams**](CommentsByIdsParams.md)| | |
| **sso** | **String**| | [optional] |
@@ -2065,7 +2129,7 @@ No authorization required
# **postFlagComment**
-> APIEmptyResponse postFlagComment(commentId).sso(sso).execute();
+> APIEmptyResponse postFlagComment(tenantId, commentId).broadcastId(broadcastId).sso(sso).execute();
@@ -2084,10 +2148,13 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
String commentId = "commentId_example"; // String |
+ String broadcastId = "broadcastId_example"; // String |
String sso = "sso_example"; // String |
try {
- APIEmptyResponse result = apiInstance.postFlagComment(commentId)
+ APIEmptyResponse result = apiInstance.postFlagComment(tenantId, commentId)
+ .broadcastId(broadcastId)
.sso(sso)
.execute();
System.out.println(result);
@@ -2106,7 +2173,9 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **commentId** | **String**| | |
+| **broadcastId** | **String**| | [optional] |
| **sso** | **String**| | [optional] |
### Return type
@@ -2130,7 +2199,7 @@ No authorization required
# **postRemoveComment**
-> PostRemoveCommentResponse postRemoveComment(commentId).sso(sso).execute();
+> PostRemoveCommentApiResponse postRemoveComment(tenantId, commentId).broadcastId(broadcastId).sso(sso).execute();
@@ -2149,10 +2218,13 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
String commentId = "commentId_example"; // String |
+ String broadcastId = "broadcastId_example"; // String |
String sso = "sso_example"; // String |
try {
- PostRemoveCommentResponse result = apiInstance.postRemoveComment(commentId)
+ PostRemoveCommentApiResponse result = apiInstance.postRemoveComment(tenantId, commentId)
+ .broadcastId(broadcastId)
.sso(sso)
.execute();
System.out.println(result);
@@ -2171,12 +2243,14 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **commentId** | **String**| | |
+| **broadcastId** | **String**| | [optional] |
| **sso** | **String**| | [optional] |
### Return type
-[**PostRemoveCommentResponse**](PostRemoveCommentResponse.md)
+[**PostRemoveCommentApiResponse**](PostRemoveCommentApiResponse.md)
### Authorization
@@ -2195,7 +2269,7 @@ No authorization required
# **postRestoreDeletedComment**
-> APIEmptyResponse postRestoreDeletedComment(commentId).sso(sso).execute();
+> APIEmptyResponse postRestoreDeletedComment(tenantId, commentId).broadcastId(broadcastId).sso(sso).execute();
@@ -2214,10 +2288,13 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
String commentId = "commentId_example"; // String |
+ String broadcastId = "broadcastId_example"; // String |
String sso = "sso_example"; // String |
try {
- APIEmptyResponse result = apiInstance.postRestoreDeletedComment(commentId)
+ APIEmptyResponse result = apiInstance.postRestoreDeletedComment(tenantId, commentId)
+ .broadcastId(broadcastId)
.sso(sso)
.execute();
System.out.println(result);
@@ -2236,7 +2313,9 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **commentId** | **String**| | |
+| **broadcastId** | **String**| | [optional] |
| **sso** | **String**| | [optional] |
### Return type
@@ -2260,7 +2339,7 @@ No authorization required
# **postSetCommentApprovalStatus**
-> SetCommentApprovedResponse postSetCommentApprovalStatus(commentId).approved(approved).sso(sso).execute();
+> SetCommentApprovedResponse postSetCommentApprovalStatus(tenantId, commentId).approved(approved).broadcastId(broadcastId).sso(sso).execute();
@@ -2279,12 +2358,15 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
String commentId = "commentId_example"; // String |
Boolean approved = true; // Boolean |
+ String broadcastId = "broadcastId_example"; // String |
String sso = "sso_example"; // String |
try {
- SetCommentApprovedResponse result = apiInstance.postSetCommentApprovalStatus(commentId)
+ SetCommentApprovedResponse result = apiInstance.postSetCommentApprovalStatus(tenantId, commentId)
.approved(approved)
+ .broadcastId(broadcastId)
.sso(sso)
.execute();
System.out.println(result);
@@ -2303,8 +2385,10 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **commentId** | **String**| | |
| **approved** | **Boolean**| | [optional] |
+| **broadcastId** | **String**| | [optional] |
| **sso** | **String**| | [optional] |
### Return type
@@ -2328,7 +2412,7 @@ No authorization required
# **postSetCommentReviewStatus**
-> APIEmptyResponse postSetCommentReviewStatus(commentId).reviewed(reviewed).sso(sso).execute();
+> APIEmptyResponse postSetCommentReviewStatus(tenantId, commentId).reviewed(reviewed).broadcastId(broadcastId).sso(sso).execute();
@@ -2347,12 +2431,15 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
String commentId = "commentId_example"; // String |
Boolean reviewed = true; // Boolean |
+ String broadcastId = "broadcastId_example"; // String |
String sso = "sso_example"; // String |
try {
- APIEmptyResponse result = apiInstance.postSetCommentReviewStatus(commentId)
+ APIEmptyResponse result = apiInstance.postSetCommentReviewStatus(tenantId, commentId)
.reviewed(reviewed)
+ .broadcastId(broadcastId)
.sso(sso)
.execute();
System.out.println(result);
@@ -2371,8 +2458,10 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **commentId** | **String**| | |
| **reviewed** | **Boolean**| | [optional] |
+| **broadcastId** | **String**| | [optional] |
| **sso** | **String**| | [optional] |
### Return type
@@ -2396,7 +2485,7 @@ No authorization required
# **postSetCommentSpamStatus**
-> APIEmptyResponse postSetCommentSpamStatus(commentId).spam(spam).permNotSpam(permNotSpam).sso(sso).execute();
+> APIEmptyResponse postSetCommentSpamStatus(tenantId, commentId).spam(spam).permNotSpam(permNotSpam).broadcastId(broadcastId).sso(sso).execute();
@@ -2415,14 +2504,17 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
String commentId = "commentId_example"; // String |
Boolean spam = true; // Boolean |
Boolean permNotSpam = true; // Boolean |
+ String broadcastId = "broadcastId_example"; // String |
String sso = "sso_example"; // String |
try {
- APIEmptyResponse result = apiInstance.postSetCommentSpamStatus(commentId)
+ APIEmptyResponse result = apiInstance.postSetCommentSpamStatus(tenantId, commentId)
.spam(spam)
.permNotSpam(permNotSpam)
+ .broadcastId(broadcastId)
.sso(sso)
.execute();
System.out.println(result);
@@ -2441,9 +2533,11 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **commentId** | **String**| | |
| **spam** | **Boolean**| | [optional] |
| **permNotSpam** | **Boolean**| | [optional] |
+| **broadcastId** | **String**| | [optional] |
| **sso** | **String**| | [optional] |
### Return type
@@ -2467,7 +2561,7 @@ No authorization required
# **postSetCommentText**
-> SetCommentTextResponse postSetCommentText(commentId, setCommentTextParams).sso(sso).execute();
+> SetCommentTextResponse postSetCommentText(tenantId, commentId, setCommentTextParams).broadcastId(broadcastId).sso(sso).execute();
@@ -2486,11 +2580,14 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
String commentId = "commentId_example"; // String |
SetCommentTextParams setCommentTextParams = new SetCommentTextParams(); // SetCommentTextParams |
+ String broadcastId = "broadcastId_example"; // String |
String sso = "sso_example"; // String |
try {
- SetCommentTextResponse result = apiInstance.postSetCommentText(commentId, setCommentTextParams)
+ SetCommentTextResponse result = apiInstance.postSetCommentText(tenantId, commentId, setCommentTextParams)
+ .broadcastId(broadcastId)
.sso(sso)
.execute();
System.out.println(result);
@@ -2509,8 +2606,10 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **commentId** | **String**| | |
| **setCommentTextParams** | [**SetCommentTextParams**](SetCommentTextParams.md)| | |
+| **broadcastId** | **String**| | [optional] |
| **sso** | **String**| | [optional] |
### Return type
@@ -2534,7 +2633,7 @@ No authorization required
# **postUnFlagComment**
-> APIEmptyResponse postUnFlagComment(commentId).sso(sso).execute();
+> APIEmptyResponse postUnFlagComment(tenantId, commentId).broadcastId(broadcastId).sso(sso).execute();
@@ -2553,10 +2652,13 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
String commentId = "commentId_example"; // String |
+ String broadcastId = "broadcastId_example"; // String |
String sso = "sso_example"; // String |
try {
- APIEmptyResponse result = apiInstance.postUnFlagComment(commentId)
+ APIEmptyResponse result = apiInstance.postUnFlagComment(tenantId, commentId)
+ .broadcastId(broadcastId)
.sso(sso)
.execute();
System.out.println(result);
@@ -2575,7 +2677,9 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **commentId** | **String**| | |
+| **broadcastId** | **String**| | [optional] |
| **sso** | **String**| | [optional] |
### Return type
@@ -2599,7 +2703,7 @@ No authorization required
# **postVote**
-> VoteResponse postVote(commentId).direction(direction).sso(sso).execute();
+> VoteResponse postVote(tenantId, commentId).direction(direction).broadcastId(broadcastId).sso(sso).execute();
@@ -2618,12 +2722,15 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
String commentId = "commentId_example"; // String |
String direction = "direction_example"; // String |
+ String broadcastId = "broadcastId_example"; // String |
String sso = "sso_example"; // String |
try {
- VoteResponse result = apiInstance.postVote(commentId)
+ VoteResponse result = apiInstance.postVote(tenantId, commentId)
.direction(direction)
+ .broadcastId(broadcastId)
.sso(sso)
.execute();
System.out.println(result);
@@ -2642,8 +2749,10 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **commentId** | **String**| | |
| **direction** | **String**| | [optional] |
+| **broadcastId** | **String**| | [optional] |
| **sso** | **String**| | [optional] |
### Return type
@@ -2667,7 +2776,7 @@ No authorization required
# **putAwardBadge**
-> AwardUserBadgeResponse putAwardBadge(badgeId).userId(userId).commentId(commentId).broadcastId(broadcastId).sso(sso).execute();
+> AwardUserBadgeResponse putAwardBadge(tenantId, badgeId).userId(userId).commentId(commentId).broadcastId(broadcastId).sso(sso).execute();
@@ -2686,13 +2795,14 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
String badgeId = "badgeId_example"; // String |
String userId = "userId_example"; // String |
String commentId = "commentId_example"; // String |
String broadcastId = "broadcastId_example"; // String |
String sso = "sso_example"; // String |
try {
- AwardUserBadgeResponse result = apiInstance.putAwardBadge(badgeId)
+ AwardUserBadgeResponse result = apiInstance.putAwardBadge(tenantId, badgeId)
.userId(userId)
.commentId(commentId)
.broadcastId(broadcastId)
@@ -2714,6 +2824,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **badgeId** | **String**| | |
| **userId** | **String**| | [optional] |
| **commentId** | **String**| | [optional] |
@@ -2741,7 +2852,7 @@ No authorization required
# **putCloseThread**
-> APIEmptyResponse putCloseThread(urlId).sso(sso).execute();
+> APIEmptyResponse putCloseThread(tenantId, urlId).sso(sso).execute();
@@ -2760,10 +2871,11 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
String urlId = "urlId_example"; // String |
String sso = "sso_example"; // String |
try {
- APIEmptyResponse result = apiInstance.putCloseThread(urlId)
+ APIEmptyResponse result = apiInstance.putCloseThread(tenantId, urlId)
.sso(sso)
.execute();
System.out.println(result);
@@ -2782,6 +2894,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **urlId** | **String**| | |
| **sso** | **String**| | [optional] |
@@ -2806,7 +2919,7 @@ No authorization required
# **putRemoveBadge**
-> RemoveUserBadgeResponse putRemoveBadge(badgeId).userId(userId).commentId(commentId).broadcastId(broadcastId).sso(sso).execute();
+> RemoveUserBadgeResponse putRemoveBadge(tenantId, badgeId).userId(userId).commentId(commentId).broadcastId(broadcastId).sso(sso).execute();
@@ -2825,13 +2938,14 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
String badgeId = "badgeId_example"; // String |
String userId = "userId_example"; // String |
String commentId = "commentId_example"; // String |
String broadcastId = "broadcastId_example"; // String |
String sso = "sso_example"; // String |
try {
- RemoveUserBadgeResponse result = apiInstance.putRemoveBadge(badgeId)
+ RemoveUserBadgeResponse result = apiInstance.putRemoveBadge(tenantId, badgeId)
.userId(userId)
.commentId(commentId)
.broadcastId(broadcastId)
@@ -2853,6 +2967,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **badgeId** | **String**| | |
| **userId** | **String**| | [optional] |
| **commentId** | **String**| | [optional] |
@@ -2880,7 +2995,7 @@ No authorization required
# **putReopenThread**
-> APIEmptyResponse putReopenThread(urlId).sso(sso).execute();
+> APIEmptyResponse putReopenThread(tenantId, urlId).sso(sso).execute();
@@ -2899,10 +3014,11 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
String urlId = "urlId_example"; // String |
String sso = "sso_example"; // String |
try {
- APIEmptyResponse result = apiInstance.putReopenThread(urlId)
+ APIEmptyResponse result = apiInstance.putReopenThread(tenantId, urlId)
.sso(sso)
.execute();
System.out.println(result);
@@ -2921,6 +3037,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **urlId** | **String**| | |
| **sso** | **String**| | [optional] |
@@ -2945,7 +3062,7 @@ No authorization required
# **setTrustFactor**
-> SetUserTrustFactorResponse setTrustFactor().userId(userId).trustFactor(trustFactor).sso(sso).execute();
+> SetUserTrustFactorResponse setTrustFactor(tenantId).userId(userId).trustFactor(trustFactor).sso(sso).execute();
@@ -2964,11 +3081,12 @@ public class Example {
defaultClient.setBasePath("https://fastcomments.com");
ModerationApi apiInstance = new ModerationApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
String userId = "userId_example"; // String |
String trustFactor = "trustFactor_example"; // String |
String sso = "sso_example"; // String |
try {
- SetUserTrustFactorResponse result = apiInstance.setTrustFactor()
+ SetUserTrustFactorResponse result = apiInstance.setTrustFactor(tenantId)
.userId(userId)
.trustFactor(trustFactor)
.sso(sso)
@@ -2989,6 +3107,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
| **userId** | **String**| | [optional] |
| **trustFactor** | **String**| | [optional] |
| **sso** | **String**| | [optional] |
diff --git a/client/docs/PostRemoveCommentResponse.md b/client/docs/PostRemoveCommentApiResponse.md
similarity index 85%
rename from client/docs/PostRemoveCommentResponse.md
rename to client/docs/PostRemoveCommentApiResponse.md
index ad9d1d96..82d83cc4 100644
--- a/client/docs/PostRemoveCommentResponse.md
+++ b/client/docs/PostRemoveCommentApiResponse.md
@@ -1,6 +1,6 @@
-# PostRemoveCommentResponse
+# PostRemoveCommentApiResponse
## Properties
diff --git a/client/src/main/java/com/fastcomments/api/DefaultApi.java b/client/src/main/java/com/fastcomments/api/DefaultApi.java
index 677aced1..84df6073 100644
--- a/client/src/main/java/com/fastcomments/api/DefaultApi.java
+++ b/client/src/main/java/com/fastcomments/api/DefaultApi.java
@@ -377,7 +377,7 @@ public okhttp3.Call executeAsync(final ApiCallback _cal
public APIaddDomainConfigRequest addDomainConfig(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull AddDomainConfigParams addDomainConfigParams) {
return new APIaddDomainConfigRequest(tenantId, addDomainConfigParams);
}
- private okhttp3.Call addHashTagCall(@javax.annotation.Nullable String tenantId, @javax.annotation.Nullable CreateHashTagBody createHashTagBody, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call addHashTagCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nullable CreateHashTagBody createHashTagBody, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { };
@@ -427,19 +427,24 @@ private okhttp3.Call addHashTagCall(@javax.annotation.Nullable String tenantId,
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call addHashTagValidateBeforeCall(@javax.annotation.Nullable String tenantId, @javax.annotation.Nullable CreateHashTagBody createHashTagBody, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call addHashTagValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nullable CreateHashTagBody createHashTagBody, final ApiCallback _callback) throws ApiException {
+ // verify the required parameter 'tenantId' is set
+ if (tenantId == null) {
+ throw new ApiException("Missing the required parameter 'tenantId' when calling addHashTag(Async)");
+ }
+
return addHashTagCall(tenantId, createHashTagBody, _callback);
}
- private ApiResponse addHashTagWithHttpInfo(@javax.annotation.Nullable String tenantId, @javax.annotation.Nullable CreateHashTagBody createHashTagBody) throws ApiException {
+ private ApiResponse addHashTagWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nullable CreateHashTagBody createHashTagBody) throws ApiException {
okhttp3.Call localVarCall = addHashTagValidateBeforeCall(tenantId, createHashTagBody, null);
Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
- private okhttp3.Call addHashTagAsync(@javax.annotation.Nullable String tenantId, @javax.annotation.Nullable CreateHashTagBody createHashTagBody, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call addHashTagAsync(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nullable CreateHashTagBody createHashTagBody, final ApiCallback _callback) throws ApiException {
okhttp3.Call localVarCall = addHashTagValidateBeforeCall(tenantId, createHashTagBody, _callback);
Type localVarReturnType = new TypeToken(){}.getType();
@@ -448,22 +453,13 @@ private okhttp3.Call addHashTagAsync(@javax.annotation.Nullable String tenantId,
}
public class APIaddHashTagRequest {
- @javax.annotation.Nullable
- private String tenantId;
+ @javax.annotation.Nonnull
+ private final String tenantId;
@javax.annotation.Nullable
private CreateHashTagBody createHashTagBody;
- private APIaddHashTagRequest() {
- }
-
- /**
- * Set tenantId
- * @param tenantId (optional)
- * @return APIaddHashTagRequest
- */
- public APIaddHashTagRequest tenantId(@javax.annotation.Nullable String tenantId) {
+ private APIaddHashTagRequest(@javax.annotation.Nonnull String tenantId) {
this.tenantId = tenantId;
- return this;
}
/**
@@ -547,6 +543,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callb
/**
*
*
+ * @param tenantId (required)
* @return APIaddHashTagRequest
* @http.response.details
@@ -556,10 +553,10 @@ public okhttp3.Call executeAsync(final ApiCallback _callb
| 0 | Error | - |
*/
- public APIaddHashTagRequest addHashTag() {
- return new APIaddHashTagRequest();
+ public APIaddHashTagRequest addHashTag(@javax.annotation.Nonnull String tenantId) {
+ return new APIaddHashTagRequest(tenantId);
}
- private okhttp3.Call addHashTagsBulkCall(@javax.annotation.Nullable String tenantId, @javax.annotation.Nullable BulkCreateHashTagsBody bulkCreateHashTagsBody, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call addHashTagsBulkCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nullable BulkCreateHashTagsBody bulkCreateHashTagsBody, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { };
@@ -609,19 +606,24 @@ private okhttp3.Call addHashTagsBulkCall(@javax.annotation.Nullable String tenan
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call addHashTagsBulkValidateBeforeCall(@javax.annotation.Nullable String tenantId, @javax.annotation.Nullable BulkCreateHashTagsBody bulkCreateHashTagsBody, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call addHashTagsBulkValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nullable BulkCreateHashTagsBody bulkCreateHashTagsBody, final ApiCallback _callback) throws ApiException {
+ // verify the required parameter 'tenantId' is set
+ if (tenantId == null) {
+ throw new ApiException("Missing the required parameter 'tenantId' when calling addHashTagsBulk(Async)");
+ }
+
return addHashTagsBulkCall(tenantId, bulkCreateHashTagsBody, _callback);
}
- private ApiResponse addHashTagsBulkWithHttpInfo(@javax.annotation.Nullable String tenantId, @javax.annotation.Nullable BulkCreateHashTagsBody bulkCreateHashTagsBody) throws ApiException {
+ private ApiResponse addHashTagsBulkWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nullable BulkCreateHashTagsBody bulkCreateHashTagsBody) throws ApiException {
okhttp3.Call localVarCall = addHashTagsBulkValidateBeforeCall(tenantId, bulkCreateHashTagsBody, null);
Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
- private okhttp3.Call addHashTagsBulkAsync(@javax.annotation.Nullable String tenantId, @javax.annotation.Nullable BulkCreateHashTagsBody bulkCreateHashTagsBody, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call addHashTagsBulkAsync(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nullable BulkCreateHashTagsBody bulkCreateHashTagsBody, final ApiCallback _callback) throws ApiException {
okhttp3.Call localVarCall = addHashTagsBulkValidateBeforeCall(tenantId, bulkCreateHashTagsBody, _callback);
Type localVarReturnType = new TypeToken(){}.getType();
@@ -630,22 +632,13 @@ private okhttp3.Call addHashTagsBulkAsync(@javax.annotation.Nullable String tena
}
public class APIaddHashTagsBulkRequest {
- @javax.annotation.Nullable
- private String tenantId;
+ @javax.annotation.Nonnull
+ private final String tenantId;
@javax.annotation.Nullable
private BulkCreateHashTagsBody bulkCreateHashTagsBody;
- private APIaddHashTagsBulkRequest() {
- }
-
- /**
- * Set tenantId
- * @param tenantId (optional)
- * @return APIaddHashTagsBulkRequest
- */
- public APIaddHashTagsBulkRequest tenantId(@javax.annotation.Nullable String tenantId) {
+ private APIaddHashTagsBulkRequest(@javax.annotation.Nonnull String tenantId) {
this.tenantId = tenantId;
- return this;
}
/**
@@ -729,6 +722,7 @@ public okhttp3.Call executeAsync(final ApiCallback _
/**
*
*
+ * @param tenantId (required)
* @return APIaddHashTagsBulkRequest
* @http.response.details
@@ -738,8 +732,8 @@ public okhttp3.Call executeAsync(final ApiCallback _
| 0 | Error | - |
*/
- public APIaddHashTagsBulkRequest addHashTagsBulk() {
- return new APIaddHashTagsBulkRequest();
+ public APIaddHashTagsBulkRequest addHashTagsBulk(@javax.annotation.Nonnull String tenantId) {
+ return new APIaddHashTagsBulkRequest(tenantId);
}
private okhttp3.Call addPageCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreateAPIPageData createAPIPageData, final ApiCallback _callback) throws ApiException {
String basePath = null;
@@ -5424,7 +5418,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback)
public APIdeleteEmailTemplateRenderErrorRequest deleteEmailTemplateRenderError(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, @javax.annotation.Nonnull String errorId) {
return new APIdeleteEmailTemplateRenderErrorRequest(tenantId, id, errorId);
}
- private okhttp3.Call deleteHashTagCall(@javax.annotation.Nonnull String tag, @javax.annotation.Nullable String tenantId, @javax.annotation.Nullable DeleteHashTagRequestBody deleteHashTagRequestBody, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call deleteHashTagCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String tag, @javax.annotation.Nullable DeleteHashTagRequestBody deleteHashTagRequestBody, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { };
@@ -5475,51 +5469,47 @@ private okhttp3.Call deleteHashTagCall(@javax.annotation.Nonnull String tag, @ja
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call deleteHashTagValidateBeforeCall(@javax.annotation.Nonnull String tag, @javax.annotation.Nullable String tenantId, @javax.annotation.Nullable DeleteHashTagRequestBody deleteHashTagRequestBody, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call deleteHashTagValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String tag, @javax.annotation.Nullable DeleteHashTagRequestBody deleteHashTagRequestBody, final ApiCallback _callback) throws ApiException {
+ // verify the required parameter 'tenantId' is set
+ if (tenantId == null) {
+ throw new ApiException("Missing the required parameter 'tenantId' when calling deleteHashTag(Async)");
+ }
+
// verify the required parameter 'tag' is set
if (tag == null) {
throw new ApiException("Missing the required parameter 'tag' when calling deleteHashTag(Async)");
}
- return deleteHashTagCall(tag, tenantId, deleteHashTagRequestBody, _callback);
+ return deleteHashTagCall(tenantId, tag, deleteHashTagRequestBody, _callback);
}
- private ApiResponse deleteHashTagWithHttpInfo(@javax.annotation.Nonnull String tag, @javax.annotation.Nullable String tenantId, @javax.annotation.Nullable DeleteHashTagRequestBody deleteHashTagRequestBody) throws ApiException {
- okhttp3.Call localVarCall = deleteHashTagValidateBeforeCall(tag, tenantId, deleteHashTagRequestBody, null);
+ private ApiResponse deleteHashTagWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String tag, @javax.annotation.Nullable DeleteHashTagRequestBody deleteHashTagRequestBody) throws ApiException {
+ okhttp3.Call localVarCall = deleteHashTagValidateBeforeCall(tenantId, tag, deleteHashTagRequestBody, null);
Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
- private okhttp3.Call deleteHashTagAsync(@javax.annotation.Nonnull String tag, @javax.annotation.Nullable String tenantId, @javax.annotation.Nullable DeleteHashTagRequestBody deleteHashTagRequestBody, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call deleteHashTagAsync(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String tag, @javax.annotation.Nullable DeleteHashTagRequestBody deleteHashTagRequestBody, final ApiCallback _callback) throws ApiException {
- okhttp3.Call localVarCall = deleteHashTagValidateBeforeCall(tag, tenantId, deleteHashTagRequestBody, _callback);
+ okhttp3.Call localVarCall = deleteHashTagValidateBeforeCall(tenantId, tag, deleteHashTagRequestBody, _callback);
Type localVarReturnType = new TypeToken(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
}
public class APIdeleteHashTagRequest {
+ @javax.annotation.Nonnull
+ private final String tenantId;
@javax.annotation.Nonnull
private final String tag;
@javax.annotation.Nullable
- private String tenantId;
- @javax.annotation.Nullable
private DeleteHashTagRequestBody deleteHashTagRequestBody;
- private APIdeleteHashTagRequest(@javax.annotation.Nonnull String tag) {
- this.tag = tag;
- }
-
- /**
- * Set tenantId
- * @param tenantId (optional)
- * @return APIdeleteHashTagRequest
- */
- public APIdeleteHashTagRequest tenantId(@javax.annotation.Nullable String tenantId) {
+ private APIdeleteHashTagRequest(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String tag) {
this.tenantId = tenantId;
- return this;
+ this.tag = tag;
}
/**
@@ -5546,7 +5536,7 @@ public APIdeleteHashTagRequest deleteHashTagRequestBody(@javax.annotation.Nullab
*/
public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
- return deleteHashTagCall(tag, tenantId, deleteHashTagRequestBody, _callback);
+ return deleteHashTagCall(tenantId, tag, deleteHashTagRequestBody, _callback);
}
/**
@@ -5562,7 +5552,7 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
*/
public APIEmptyResponse execute() throws ApiException {
- ApiResponse localVarResp = deleteHashTagWithHttpInfo(tag, tenantId, deleteHashTagRequestBody);
+ ApiResponse localVarResp = deleteHashTagWithHttpInfo(tenantId, tag, deleteHashTagRequestBody);
return localVarResp.getData();
}
@@ -5579,7 +5569,7 @@ public APIEmptyResponse execute() throws ApiException {
*/
public ApiResponse executeWithHttpInfo() throws ApiException {
- return deleteHashTagWithHttpInfo(tag, tenantId, deleteHashTagRequestBody);
+ return deleteHashTagWithHttpInfo(tenantId, tag, deleteHashTagRequestBody);
}
/**
@@ -5596,13 +5586,14 @@ public ApiResponse executeWithHttpInfo() throws ApiException {
*/
public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException {
- return deleteHashTagAsync(tag, tenantId, deleteHashTagRequestBody, _callback);
+ return deleteHashTagAsync(tenantId, tag, deleteHashTagRequestBody, _callback);
}
}
/**
*
*
+ * @param tenantId (required)
* @param tag (required)
* @return APIdeleteHashTagRequest
* @http.response.details
@@ -5613,8 +5604,8 @@ public okhttp3.Call executeAsync(final ApiCallback _callback)
| 0 | Error | - |
*/
- public APIdeleteHashTagRequest deleteHashTag(@javax.annotation.Nonnull String tag) {
- return new APIdeleteHashTagRequest(tag);
+ public APIdeleteHashTagRequest deleteHashTag(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String tag) {
+ return new APIdeleteHashTagRequest(tenantId, tag);
}
private okhttp3.Call deleteModeratorCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, @javax.annotation.Nullable String sendEmail, final ApiCallback _callback) throws ApiException {
String basePath = null;
@@ -17415,7 +17406,7 @@ public okhttp3.Call executeAsync(final ApiCallback _c
public APIpatchDomainConfigRequest patchDomainConfig(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String domainToUpdate, @javax.annotation.Nonnull PatchDomainConfigParams patchDomainConfigParams) {
return new APIpatchDomainConfigRequest(tenantId, domainToUpdate, patchDomainConfigParams);
}
- private okhttp3.Call patchHashTagCall(@javax.annotation.Nonnull String tag, @javax.annotation.Nullable String tenantId, @javax.annotation.Nullable UpdateHashTagBody updateHashTagBody, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call patchHashTagCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String tag, @javax.annotation.Nullable UpdateHashTagBody updateHashTagBody, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { };
@@ -17466,51 +17457,47 @@ private okhttp3.Call patchHashTagCall(@javax.annotation.Nonnull String tag, @jav
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call patchHashTagValidateBeforeCall(@javax.annotation.Nonnull String tag, @javax.annotation.Nullable String tenantId, @javax.annotation.Nullable UpdateHashTagBody updateHashTagBody, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call patchHashTagValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String tag, @javax.annotation.Nullable UpdateHashTagBody updateHashTagBody, final ApiCallback _callback) throws ApiException {
+ // verify the required parameter 'tenantId' is set
+ if (tenantId == null) {
+ throw new ApiException("Missing the required parameter 'tenantId' when calling patchHashTag(Async)");
+ }
+
// verify the required parameter 'tag' is set
if (tag == null) {
throw new ApiException("Missing the required parameter 'tag' when calling patchHashTag(Async)");
}
- return patchHashTagCall(tag, tenantId, updateHashTagBody, _callback);
+ return patchHashTagCall(tenantId, tag, updateHashTagBody, _callback);
}
- private ApiResponse patchHashTagWithHttpInfo(@javax.annotation.Nonnull String tag, @javax.annotation.Nullable String tenantId, @javax.annotation.Nullable UpdateHashTagBody updateHashTagBody) throws ApiException {
- okhttp3.Call localVarCall = patchHashTagValidateBeforeCall(tag, tenantId, updateHashTagBody, null);
+ private ApiResponse patchHashTagWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String tag, @javax.annotation.Nullable UpdateHashTagBody updateHashTagBody) throws ApiException {
+ okhttp3.Call localVarCall = patchHashTagValidateBeforeCall(tenantId, tag, updateHashTagBody, null);
Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
- private okhttp3.Call patchHashTagAsync(@javax.annotation.Nonnull String tag, @javax.annotation.Nullable String tenantId, @javax.annotation.Nullable UpdateHashTagBody updateHashTagBody, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call patchHashTagAsync(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String tag, @javax.annotation.Nullable UpdateHashTagBody updateHashTagBody, final ApiCallback _callback) throws ApiException {
- okhttp3.Call localVarCall = patchHashTagValidateBeforeCall(tag, tenantId, updateHashTagBody, _callback);
+ okhttp3.Call localVarCall = patchHashTagValidateBeforeCall(tenantId, tag, updateHashTagBody, _callback);
Type localVarReturnType = new TypeToken(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
}
public class APIpatchHashTagRequest {
+ @javax.annotation.Nonnull
+ private final String tenantId;
@javax.annotation.Nonnull
private final String tag;
@javax.annotation.Nullable
- private String tenantId;
- @javax.annotation.Nullable
private UpdateHashTagBody updateHashTagBody;
- private APIpatchHashTagRequest(@javax.annotation.Nonnull String tag) {
- this.tag = tag;
- }
-
- /**
- * Set tenantId
- * @param tenantId (optional)
- * @return APIpatchHashTagRequest
- */
- public APIpatchHashTagRequest tenantId(@javax.annotation.Nullable String tenantId) {
+ private APIpatchHashTagRequest(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String tag) {
this.tenantId = tenantId;
- return this;
+ this.tag = tag;
}
/**
@@ -17537,7 +17524,7 @@ public APIpatchHashTagRequest updateHashTagBody(@javax.annotation.Nullable Updat
*/
public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
- return patchHashTagCall(tag, tenantId, updateHashTagBody, _callback);
+ return patchHashTagCall(tenantId, tag, updateHashTagBody, _callback);
}
/**
@@ -17553,7 +17540,7 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
*/
public UpdateHashTagResponse execute() throws ApiException {
- ApiResponse localVarResp = patchHashTagWithHttpInfo(tag, tenantId, updateHashTagBody);
+ ApiResponse localVarResp = patchHashTagWithHttpInfo(tenantId, tag, updateHashTagBody);
return localVarResp.getData();
}
@@ -17570,7 +17557,7 @@ public UpdateHashTagResponse execute() throws ApiException {
*/
public ApiResponse executeWithHttpInfo() throws ApiException {
- return patchHashTagWithHttpInfo(tag, tenantId, updateHashTagBody);
+ return patchHashTagWithHttpInfo(tenantId, tag, updateHashTagBody);
}
/**
@@ -17587,13 +17574,14 @@ public ApiResponse executeWithHttpInfo() throws ApiExcept
*/
public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException {
- return patchHashTagAsync(tag, tenantId, updateHashTagBody, _callback);
+ return patchHashTagAsync(tenantId, tag, updateHashTagBody, _callback);
}
}
/**
*
*
+ * @param tenantId (required)
* @param tag (required)
* @return APIpatchHashTagRequest
* @http.response.details
@@ -17604,8 +17592,8 @@ public okhttp3.Call executeAsync(final ApiCallback _callb
| 0 | Error | - |
*/
- public APIpatchHashTagRequest patchHashTag(@javax.annotation.Nonnull String tag) {
- return new APIpatchHashTagRequest(tag);
+ public APIpatchHashTagRequest patchHashTag(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String tag) {
+ return new APIpatchHashTagRequest(tenantId, tag);
}
private okhttp3.Call patchPageCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, @javax.annotation.Nonnull UpdateAPIPageData updateAPIPageData, final ApiCallback _callback) throws ApiException {
String basePath = null;
diff --git a/client/src/main/java/com/fastcomments/api/ModerationApi.java b/client/src/main/java/com/fastcomments/api/ModerationApi.java
index c6475fb1..915f327f 100644
--- a/client/src/main/java/com/fastcomments/api/ModerationApi.java
+++ b/client/src/main/java/com/fastcomments/api/ModerationApi.java
@@ -59,7 +59,7 @@
import com.fastcomments.model.ModerationSiteSearchResponse;
import com.fastcomments.model.ModerationSuggestResponse;
import com.fastcomments.model.ModerationUserSearchResponse;
-import com.fastcomments.model.PostRemoveCommentResponse;
+import com.fastcomments.model.PostRemoveCommentApiResponse;
import com.fastcomments.model.PreBanSummary;
import com.fastcomments.model.RemoveUserBadgeResponse;
import com.fastcomments.model.SetCommentApprovedResponse;
@@ -112,7 +112,7 @@ public void setCustomBaseUrl(String customBaseUrl) {
this.localCustomBaseUrl = customBaseUrl;
}
- private okhttp3.Call deleteModerationVoteCall(@javax.annotation.Nonnull String commentId, @javax.annotation.Nonnull String voteId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call deleteModerationVoteCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String commentId, @javax.annotation.Nonnull String voteId, @javax.annotation.Nullable String broadcastId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { };
@@ -129,7 +129,7 @@ private okhttp3.Call deleteModerationVoteCall(@javax.annotation.Nonnull String c
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/auth/my-account/moderate-comments/vote/{commentId}/{voteId}"
+ String localVarPath = "/auth/my-account/moderate-comments/mod_api/vote/{commentId}/{voteId}"
.replace("{" + "commentId" + "}", localVarApiClient.escapeString(commentId.toString()))
.replace("{" + "voteId" + "}", localVarApiClient.escapeString(voteId.toString()));
@@ -139,6 +139,14 @@ private okhttp3.Call deleteModerationVoteCall(@javax.annotation.Nonnull String c
Map localVarCookieParams = new HashMap();
Map localVarFormParams = new HashMap();
+ if (tenantId != null) {
+ localVarQueryParams.addAll(localVarApiClient.parameterToPair("tenantId", tenantId));
+ }
+
+ if (broadcastId != null) {
+ localVarQueryParams.addAll(localVarApiClient.parameterToPair("broadcastId", broadcastId));
+ }
+
if (sso != null) {
localVarQueryParams.addAll(localVarApiClient.parameterToPair("sso", sso));
}
@@ -163,7 +171,12 @@ private okhttp3.Call deleteModerationVoteCall(@javax.annotation.Nonnull String c
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call deleteModerationVoteValidateBeforeCall(@javax.annotation.Nonnull String commentId, @javax.annotation.Nonnull String voteId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call deleteModerationVoteValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String commentId, @javax.annotation.Nonnull String voteId, @javax.annotation.Nullable String broadcastId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
+ // verify the required parameter 'tenantId' is set
+ if (tenantId == null) {
+ throw new ApiException("Missing the required parameter 'tenantId' when calling deleteModerationVote(Async)");
+ }
+
// verify the required parameter 'commentId' is set
if (commentId == null) {
throw new ApiException("Missing the required parameter 'commentId' when calling deleteModerationVote(Async)");
@@ -174,38 +187,53 @@ private okhttp3.Call deleteModerationVoteValidateBeforeCall(@javax.annotation.No
throw new ApiException("Missing the required parameter 'voteId' when calling deleteModerationVote(Async)");
}
- return deleteModerationVoteCall(commentId, voteId, sso, _callback);
+ return deleteModerationVoteCall(tenantId, commentId, voteId, broadcastId, sso, _callback);
}
- private ApiResponse deleteModerationVoteWithHttpInfo(@javax.annotation.Nonnull String commentId, @javax.annotation.Nonnull String voteId, @javax.annotation.Nullable String sso) throws ApiException {
- okhttp3.Call localVarCall = deleteModerationVoteValidateBeforeCall(commentId, voteId, sso, null);
+ private ApiResponse deleteModerationVoteWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String commentId, @javax.annotation.Nonnull String voteId, @javax.annotation.Nullable String broadcastId, @javax.annotation.Nullable String sso) throws ApiException {
+ okhttp3.Call localVarCall = deleteModerationVoteValidateBeforeCall(tenantId, commentId, voteId, broadcastId, sso, null);
Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
- private okhttp3.Call deleteModerationVoteAsync(@javax.annotation.Nonnull String commentId, @javax.annotation.Nonnull String voteId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call deleteModerationVoteAsync(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String commentId, @javax.annotation.Nonnull String voteId, @javax.annotation.Nullable String broadcastId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
- okhttp3.Call localVarCall = deleteModerationVoteValidateBeforeCall(commentId, voteId, sso, _callback);
+ okhttp3.Call localVarCall = deleteModerationVoteValidateBeforeCall(tenantId, commentId, voteId, broadcastId, sso, _callback);
Type localVarReturnType = new TypeToken(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
}
public class APIdeleteModerationVoteRequest {
+ @javax.annotation.Nonnull
+ private final String tenantId;
@javax.annotation.Nonnull
private final String commentId;
@javax.annotation.Nonnull
private final String voteId;
@javax.annotation.Nullable
+ private String broadcastId;
+ @javax.annotation.Nullable
private String sso;
- private APIdeleteModerationVoteRequest(@javax.annotation.Nonnull String commentId, @javax.annotation.Nonnull String voteId) {
+ private APIdeleteModerationVoteRequest(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String commentId, @javax.annotation.Nonnull String voteId) {
+ this.tenantId = tenantId;
this.commentId = commentId;
this.voteId = voteId;
}
+ /**
+ * Set broadcastId
+ * @param broadcastId (optional)
+ * @return APIdeleteModerationVoteRequest
+ */
+ public APIdeleteModerationVoteRequest broadcastId(@javax.annotation.Nullable String broadcastId) {
+ this.broadcastId = broadcastId;
+ return this;
+ }
+
/**
* Set sso
* @param sso (optional)
@@ -230,7 +258,7 @@ public APIdeleteModerationVoteRequest sso(@javax.annotation.Nullable String sso)
*/
public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
- return deleteModerationVoteCall(commentId, voteId, sso, _callback);
+ return deleteModerationVoteCall(tenantId, commentId, voteId, broadcastId, sso, _callback);
}
/**
@@ -246,7 +274,7 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
*/
public VoteDeleteResponse execute() throws ApiException {
- ApiResponse localVarResp = deleteModerationVoteWithHttpInfo(commentId, voteId, sso);
+ ApiResponse localVarResp = deleteModerationVoteWithHttpInfo(tenantId, commentId, voteId, broadcastId, sso);
return localVarResp.getData();
}
@@ -263,7 +291,7 @@ public VoteDeleteResponse execute() throws ApiException {
*/
public ApiResponse executeWithHttpInfo() throws ApiException {
- return deleteModerationVoteWithHttpInfo(commentId, voteId, sso);
+ return deleteModerationVoteWithHttpInfo(tenantId, commentId, voteId, broadcastId, sso);
}
/**
@@ -280,13 +308,14 @@ public ApiResponse executeWithHttpInfo() throws ApiException
*/
public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException {
- return deleteModerationVoteAsync(commentId, voteId, sso, _callback);
+ return deleteModerationVoteAsync(tenantId, commentId, voteId, broadcastId, sso, _callback);
}
}
/**
*
*
+ * @param tenantId (required)
* @param commentId (required)
* @param voteId (required)
* @return APIdeleteModerationVoteRequest
@@ -298,10 +327,10 @@ public okhttp3.Call executeAsync(final ApiCallback _callback
| 0 | Error | - |
*/
- public APIdeleteModerationVoteRequest deleteModerationVote(@javax.annotation.Nonnull String commentId, @javax.annotation.Nonnull String voteId) {
- return new APIdeleteModerationVoteRequest(commentId, voteId);
+ public APIdeleteModerationVoteRequest deleteModerationVote(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String commentId, @javax.annotation.Nonnull String voteId) {
+ return new APIdeleteModerationVoteRequest(tenantId, commentId, voteId);
}
- private okhttp3.Call getApiCommentsCall(@javax.annotation.Nullable Double page, @javax.annotation.Nullable Double count, @javax.annotation.Nullable String textSearch, @javax.annotation.Nullable String byIPFromComment, @javax.annotation.Nullable String filters, @javax.annotation.Nullable String searchFilters, @javax.annotation.Nullable String sorts, @javax.annotation.Nullable Boolean demo, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call getApiCommentsCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nullable Double page, @javax.annotation.Nullable Double count, @javax.annotation.Nullable String textSearch, @javax.annotation.Nullable String byIPFromComment, @javax.annotation.Nullable String filters, @javax.annotation.Nullable String searchFilters, @javax.annotation.Nullable String sorts, @javax.annotation.Nullable Boolean demo, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { };
@@ -318,7 +347,7 @@ private okhttp3.Call getApiCommentsCall(@javax.annotation.Nullable Double page,
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/auth/my-account/moderate-comments/api/comments";
+ String localVarPath = "/auth/my-account/moderate-comments/mod_api/api/comments";
List localVarQueryParams = new ArrayList();
List localVarCollectionQueryParams = new ArrayList();
@@ -326,6 +355,10 @@ private okhttp3.Call getApiCommentsCall(@javax.annotation.Nullable Double page,
Map localVarCookieParams = new HashMap();
Map localVarFormParams = new HashMap();
+ if (tenantId != null) {
+ localVarQueryParams.addAll(localVarApiClient.parameterToPair("tenantId", tenantId));
+ }
+
if (page != null) {
localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page));
}
@@ -382,27 +415,34 @@ private okhttp3.Call getApiCommentsCall(@javax.annotation.Nullable Double page,
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call getApiCommentsValidateBeforeCall(@javax.annotation.Nullable Double page, @javax.annotation.Nullable Double count, @javax.annotation.Nullable String textSearch, @javax.annotation.Nullable String byIPFromComment, @javax.annotation.Nullable String filters, @javax.annotation.Nullable String searchFilters, @javax.annotation.Nullable String sorts, @javax.annotation.Nullable Boolean demo, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
- return getApiCommentsCall(page, count, textSearch, byIPFromComment, filters, searchFilters, sorts, demo, sso, _callback);
+ private okhttp3.Call getApiCommentsValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nullable Double page, @javax.annotation.Nullable Double count, @javax.annotation.Nullable String textSearch, @javax.annotation.Nullable String byIPFromComment, @javax.annotation.Nullable String filters, @javax.annotation.Nullable String searchFilters, @javax.annotation.Nullable String sorts, @javax.annotation.Nullable Boolean demo, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
+ // verify the required parameter 'tenantId' is set
+ if (tenantId == null) {
+ throw new ApiException("Missing the required parameter 'tenantId' when calling getApiComments(Async)");
+ }
+
+ return getApiCommentsCall(tenantId, page, count, textSearch, byIPFromComment, filters, searchFilters, sorts, demo, sso, _callback);
}
- private ApiResponse getApiCommentsWithHttpInfo(@javax.annotation.Nullable Double page, @javax.annotation.Nullable Double count, @javax.annotation.Nullable String textSearch, @javax.annotation.Nullable String byIPFromComment, @javax.annotation.Nullable String filters, @javax.annotation.Nullable String searchFilters, @javax.annotation.Nullable String sorts, @javax.annotation.Nullable Boolean demo, @javax.annotation.Nullable String sso) throws ApiException {
- okhttp3.Call localVarCall = getApiCommentsValidateBeforeCall(page, count, textSearch, byIPFromComment, filters, searchFilters, sorts, demo, sso, null);
+ private ApiResponse getApiCommentsWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nullable Double page, @javax.annotation.Nullable Double count, @javax.annotation.Nullable String textSearch, @javax.annotation.Nullable String byIPFromComment, @javax.annotation.Nullable String filters, @javax.annotation.Nullable String searchFilters, @javax.annotation.Nullable String sorts, @javax.annotation.Nullable Boolean demo, @javax.annotation.Nullable String sso) throws ApiException {
+ okhttp3.Call localVarCall = getApiCommentsValidateBeforeCall(tenantId, page, count, textSearch, byIPFromComment, filters, searchFilters, sorts, demo, sso, null);
Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
- private okhttp3.Call getApiCommentsAsync(@javax.annotation.Nullable Double page, @javax.annotation.Nullable Double count, @javax.annotation.Nullable String textSearch, @javax.annotation.Nullable String byIPFromComment, @javax.annotation.Nullable String filters, @javax.annotation.Nullable String searchFilters, @javax.annotation.Nullable String sorts, @javax.annotation.Nullable Boolean demo, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call getApiCommentsAsync(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nullable Double page, @javax.annotation.Nullable Double count, @javax.annotation.Nullable String textSearch, @javax.annotation.Nullable String byIPFromComment, @javax.annotation.Nullable String filters, @javax.annotation.Nullable String searchFilters, @javax.annotation.Nullable String sorts, @javax.annotation.Nullable Boolean demo, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
- okhttp3.Call localVarCall = getApiCommentsValidateBeforeCall(page, count, textSearch, byIPFromComment, filters, searchFilters, sorts, demo, sso, _callback);
+ okhttp3.Call localVarCall = getApiCommentsValidateBeforeCall(tenantId, page, count, textSearch, byIPFromComment, filters, searchFilters, sorts, demo, sso, _callback);
Type localVarReturnType = new TypeToken(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
}
public class APIgetApiCommentsRequest {
+ @javax.annotation.Nonnull
+ private final String tenantId;
@javax.annotation.Nullable
private Double page;
@javax.annotation.Nullable
@@ -422,7 +462,8 @@ public class APIgetApiCommentsRequest {
@javax.annotation.Nullable
private String sso;
- private APIgetApiCommentsRequest() {
+ private APIgetApiCommentsRequest(@javax.annotation.Nonnull String tenantId) {
+ this.tenantId = tenantId;
}
/**
@@ -529,7 +570,7 @@ public APIgetApiCommentsRequest sso(@javax.annotation.Nullable String sso) {
*/
public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
- return getApiCommentsCall(page, count, textSearch, byIPFromComment, filters, searchFilters, sorts, demo, sso, _callback);
+ return getApiCommentsCall(tenantId, page, count, textSearch, byIPFromComment, filters, searchFilters, sorts, demo, sso, _callback);
}
/**
@@ -545,7 +586,7 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
*/
public ModerationAPIGetCommentsResponse execute() throws ApiException {
- ApiResponse localVarResp = getApiCommentsWithHttpInfo(page, count, textSearch, byIPFromComment, filters, searchFilters, sorts, demo, sso);
+ ApiResponse localVarResp = getApiCommentsWithHttpInfo(tenantId, page, count, textSearch, byIPFromComment, filters, searchFilters, sorts, demo, sso);
return localVarResp.getData();
}
@@ -562,7 +603,7 @@ public ModerationAPIGetCommentsResponse execute() throws ApiException {
*/
public ApiResponse executeWithHttpInfo() throws ApiException {
- return getApiCommentsWithHttpInfo(page, count, textSearch, byIPFromComment, filters, searchFilters, sorts, demo, sso);
+ return getApiCommentsWithHttpInfo(tenantId, page, count, textSearch, byIPFromComment, filters, searchFilters, sorts, demo, sso);
}
/**
@@ -579,13 +620,14 @@ public ApiResponse executeWithHttpInfo() throw
*/
public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException {
- return getApiCommentsAsync(page, count, textSearch, byIPFromComment, filters, searchFilters, sorts, demo, sso, _callback);
+ return getApiCommentsAsync(tenantId, page, count, textSearch, byIPFromComment, filters, searchFilters, sorts, demo, sso, _callback);
}
}
/**
*
*
+ * @param tenantId (required)
* @return APIgetApiCommentsRequest
* @http.response.details
@@ -595,10 +637,10 @@ public okhttp3.Call executeAsync(final ApiCallback| 0 | Error | - |
*/
- public APIgetApiCommentsRequest getApiComments() {
- return new APIgetApiCommentsRequest();
+ public APIgetApiCommentsRequest getApiComments(@javax.annotation.Nonnull String tenantId) {
+ return new APIgetApiCommentsRequest(tenantId);
}
- private okhttp3.Call getApiExportStatusCall(@javax.annotation.Nullable String batchJobId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call getApiExportStatusCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nullable String batchJobId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { };
@@ -615,7 +657,7 @@ private okhttp3.Call getApiExportStatusCall(@javax.annotation.Nullable String ba
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/auth/my-account/moderate-comments/api/export/status";
+ String localVarPath = "/auth/my-account/moderate-comments/mod_api/api/export/status";
List localVarQueryParams = new ArrayList();
List localVarCollectionQueryParams = new ArrayList();
@@ -623,6 +665,10 @@ private okhttp3.Call getApiExportStatusCall(@javax.annotation.Nullable String ba
Map localVarCookieParams = new HashMap();
Map localVarFormParams = new HashMap();
+ if (tenantId != null) {
+ localVarQueryParams.addAll(localVarApiClient.parameterToPair("tenantId", tenantId));
+ }
+
if (batchJobId != null) {
localVarQueryParams.addAll(localVarApiClient.parameterToPair("batchJobId", batchJobId));
}
@@ -651,33 +697,41 @@ private okhttp3.Call getApiExportStatusCall(@javax.annotation.Nullable String ba
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call getApiExportStatusValidateBeforeCall(@javax.annotation.Nullable String batchJobId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
- return getApiExportStatusCall(batchJobId, sso, _callback);
+ private okhttp3.Call getApiExportStatusValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nullable String batchJobId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
+ // verify the required parameter 'tenantId' is set
+ if (tenantId == null) {
+ throw new ApiException("Missing the required parameter 'tenantId' when calling getApiExportStatus(Async)");
+ }
+
+ return getApiExportStatusCall(tenantId, batchJobId, sso, _callback);
}
- private ApiResponse getApiExportStatusWithHttpInfo(@javax.annotation.Nullable String batchJobId, @javax.annotation.Nullable String sso) throws ApiException {
- okhttp3.Call localVarCall = getApiExportStatusValidateBeforeCall(batchJobId, sso, null);
+ private ApiResponse getApiExportStatusWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nullable String batchJobId, @javax.annotation.Nullable String sso) throws ApiException {
+ okhttp3.Call localVarCall = getApiExportStatusValidateBeforeCall(tenantId, batchJobId, sso, null);
Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
- private okhttp3.Call getApiExportStatusAsync(@javax.annotation.Nullable String batchJobId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call getApiExportStatusAsync(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nullable String batchJobId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
- okhttp3.Call localVarCall = getApiExportStatusValidateBeforeCall(batchJobId, sso, _callback);
+ okhttp3.Call localVarCall = getApiExportStatusValidateBeforeCall(tenantId, batchJobId, sso, _callback);
Type localVarReturnType = new TypeToken(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
}
public class APIgetApiExportStatusRequest {
+ @javax.annotation.Nonnull
+ private final String tenantId;
@javax.annotation.Nullable
private String batchJobId;
@javax.annotation.Nullable
private String sso;
- private APIgetApiExportStatusRequest() {
+ private APIgetApiExportStatusRequest(@javax.annotation.Nonnull String tenantId) {
+ this.tenantId = tenantId;
}
/**
@@ -714,7 +768,7 @@ public APIgetApiExportStatusRequest sso(@javax.annotation.Nullable String sso) {
*/
public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
- return getApiExportStatusCall(batchJobId, sso, _callback);
+ return getApiExportStatusCall(tenantId, batchJobId, sso, _callback);
}
/**
@@ -730,7 +784,7 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
*/
public ModerationExportStatusResponse execute() throws ApiException {
- ApiResponse localVarResp = getApiExportStatusWithHttpInfo(batchJobId, sso);
+ ApiResponse localVarResp = getApiExportStatusWithHttpInfo(tenantId, batchJobId, sso);
return localVarResp.getData();
}
@@ -747,7 +801,7 @@ public ModerationExportStatusResponse execute() throws ApiException {
*/
public ApiResponse executeWithHttpInfo() throws ApiException {
- return getApiExportStatusWithHttpInfo(batchJobId, sso);
+ return getApiExportStatusWithHttpInfo(tenantId, batchJobId, sso);
}
/**
@@ -764,13 +818,14 @@ public ApiResponse executeWithHttpInfo() throws
*/
public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException {
- return getApiExportStatusAsync(batchJobId, sso, _callback);
+ return getApiExportStatusAsync(tenantId, batchJobId, sso, _callback);
}
}
/**
*
*
+ * @param tenantId (required)
* @return APIgetApiExportStatusRequest
* @http.response.details
@@ -780,10 +835,10 @@ public okhttp3.Call executeAsync(final ApiCallback| 0 | Error | - |
*/
- public APIgetApiExportStatusRequest getApiExportStatus() {
- return new APIgetApiExportStatusRequest();
+ public APIgetApiExportStatusRequest getApiExportStatus(@javax.annotation.Nonnull String tenantId) {
+ return new APIgetApiExportStatusRequest(tenantId);
}
- private okhttp3.Call getApiIdsCall(@javax.annotation.Nullable String textSearch, @javax.annotation.Nullable String byIPFromComment, @javax.annotation.Nullable String filters, @javax.annotation.Nullable String searchFilters, @javax.annotation.Nullable String afterId, @javax.annotation.Nullable Boolean demo, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call getApiIdsCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nullable String textSearch, @javax.annotation.Nullable String byIPFromComment, @javax.annotation.Nullable String filters, @javax.annotation.Nullable String searchFilters, @javax.annotation.Nullable String afterId, @javax.annotation.Nullable Boolean demo, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { };
@@ -800,7 +855,7 @@ private okhttp3.Call getApiIdsCall(@javax.annotation.Nullable String textSearch,
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/auth/my-account/moderate-comments/api/ids";
+ String localVarPath = "/auth/my-account/moderate-comments/mod_api/api/ids";
List localVarQueryParams = new ArrayList();
List localVarCollectionQueryParams = new ArrayList();
@@ -808,6 +863,10 @@ private okhttp3.Call getApiIdsCall(@javax.annotation.Nullable String textSearch,
Map localVarCookieParams = new HashMap();
Map localVarFormParams = new HashMap();
+ if (tenantId != null) {
+ localVarQueryParams.addAll(localVarApiClient.parameterToPair("tenantId", tenantId));
+ }
+
if (textSearch != null) {
localVarQueryParams.addAll(localVarApiClient.parameterToPair("text-search", textSearch));
}
@@ -856,27 +915,34 @@ private okhttp3.Call getApiIdsCall(@javax.annotation.Nullable String textSearch,
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call getApiIdsValidateBeforeCall(@javax.annotation.Nullable String textSearch, @javax.annotation.Nullable String byIPFromComment, @javax.annotation.Nullable String filters, @javax.annotation.Nullable String searchFilters, @javax.annotation.Nullable String afterId, @javax.annotation.Nullable Boolean demo, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
- return getApiIdsCall(textSearch, byIPFromComment, filters, searchFilters, afterId, demo, sso, _callback);
+ private okhttp3.Call getApiIdsValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nullable String textSearch, @javax.annotation.Nullable String byIPFromComment, @javax.annotation.Nullable String filters, @javax.annotation.Nullable String searchFilters, @javax.annotation.Nullable String afterId, @javax.annotation.Nullable Boolean demo, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
+ // verify the required parameter 'tenantId' is set
+ if (tenantId == null) {
+ throw new ApiException("Missing the required parameter 'tenantId' when calling getApiIds(Async)");
+ }
+
+ return getApiIdsCall(tenantId, textSearch, byIPFromComment, filters, searchFilters, afterId, demo, sso, _callback);
}
- private ApiResponse getApiIdsWithHttpInfo(@javax.annotation.Nullable String textSearch, @javax.annotation.Nullable String byIPFromComment, @javax.annotation.Nullable String filters, @javax.annotation.Nullable String searchFilters, @javax.annotation.Nullable String afterId, @javax.annotation.Nullable Boolean demo, @javax.annotation.Nullable String sso) throws ApiException {
- okhttp3.Call localVarCall = getApiIdsValidateBeforeCall(textSearch, byIPFromComment, filters, searchFilters, afterId, demo, sso, null);
+ private ApiResponse getApiIdsWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nullable String textSearch, @javax.annotation.Nullable String byIPFromComment, @javax.annotation.Nullable String filters, @javax.annotation.Nullable String searchFilters, @javax.annotation.Nullable String afterId, @javax.annotation.Nullable Boolean demo, @javax.annotation.Nullable String sso) throws ApiException {
+ okhttp3.Call localVarCall = getApiIdsValidateBeforeCall(tenantId, textSearch, byIPFromComment, filters, searchFilters, afterId, demo, sso, null);
Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
- private okhttp3.Call getApiIdsAsync(@javax.annotation.Nullable String textSearch, @javax.annotation.Nullable String byIPFromComment, @javax.annotation.Nullable String filters, @javax.annotation.Nullable String searchFilters, @javax.annotation.Nullable String afterId, @javax.annotation.Nullable Boolean demo, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call getApiIdsAsync(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nullable String textSearch, @javax.annotation.Nullable String byIPFromComment, @javax.annotation.Nullable String filters, @javax.annotation.Nullable String searchFilters, @javax.annotation.Nullable String afterId, @javax.annotation.Nullable Boolean demo, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
- okhttp3.Call localVarCall = getApiIdsValidateBeforeCall(textSearch, byIPFromComment, filters, searchFilters, afterId, demo, sso, _callback);
+ okhttp3.Call localVarCall = getApiIdsValidateBeforeCall(tenantId, textSearch, byIPFromComment, filters, searchFilters, afterId, demo, sso, _callback);
Type localVarReturnType = new TypeToken(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
}
public class APIgetApiIdsRequest {
+ @javax.annotation.Nonnull
+ private final String tenantId;
@javax.annotation.Nullable
private String textSearch;
@javax.annotation.Nullable
@@ -892,7 +958,8 @@ public class APIgetApiIdsRequest {
@javax.annotation.Nullable
private String sso;
- private APIgetApiIdsRequest() {
+ private APIgetApiIdsRequest(@javax.annotation.Nonnull String tenantId) {
+ this.tenantId = tenantId;
}
/**
@@ -979,7 +1046,7 @@ public APIgetApiIdsRequest sso(@javax.annotation.Nullable String sso) {
*/
public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
- return getApiIdsCall(textSearch, byIPFromComment, filters, searchFilters, afterId, demo, sso, _callback);
+ return getApiIdsCall(tenantId, textSearch, byIPFromComment, filters, searchFilters, afterId, demo, sso, _callback);
}
/**
@@ -995,7 +1062,7 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
*/
public ModerationAPIGetCommentIdsResponse execute() throws ApiException {
- ApiResponse localVarResp = getApiIdsWithHttpInfo(textSearch, byIPFromComment, filters, searchFilters, afterId, demo, sso);
+ ApiResponse localVarResp = getApiIdsWithHttpInfo(tenantId, textSearch, byIPFromComment, filters, searchFilters, afterId, demo, sso);
return localVarResp.getData();
}
@@ -1012,7 +1079,7 @@ public ModerationAPIGetCommentIdsResponse execute() throws ApiException {
*/
public ApiResponse executeWithHttpInfo() throws ApiException {
- return getApiIdsWithHttpInfo(textSearch, byIPFromComment, filters, searchFilters, afterId, demo, sso);
+ return getApiIdsWithHttpInfo(tenantId, textSearch, byIPFromComment, filters, searchFilters, afterId, demo, sso);
}
/**
@@ -1029,13 +1096,14 @@ public ApiResponse executeWithHttpInfo() thr
*/
public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException {
- return getApiIdsAsync(textSearch, byIPFromComment, filters, searchFilters, afterId, demo, sso, _callback);
+ return getApiIdsAsync(tenantId, textSearch, byIPFromComment, filters, searchFilters, afterId, demo, sso, _callback);
}
}
/**
*
*
+ * @param tenantId (required)
* @return APIgetApiIdsRequest
* @http.response.details
@@ -1045,10 +1113,10 @@ public okhttp3.Call executeAsync(final ApiCallback| 0 | Error | - |
*/
- public APIgetApiIdsRequest getApiIds() {
- return new APIgetApiIdsRequest();
+ public APIgetApiIdsRequest getApiIds(@javax.annotation.Nonnull String tenantId) {
+ return new APIgetApiIdsRequest(tenantId);
}
- private okhttp3.Call getBanUsersFromCommentCall(@javax.annotation.Nonnull String commentId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call getBanUsersFromCommentCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String commentId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { };
@@ -1065,7 +1133,7 @@ private okhttp3.Call getBanUsersFromCommentCall(@javax.annotation.Nonnull String
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/auth/my-account/moderate-comments/ban-users/from-comment/{commentId}"
+ String localVarPath = "/auth/my-account/moderate-comments/mod_api/ban-users/from-comment/{commentId}"
.replace("{" + "commentId" + "}", localVarApiClient.escapeString(commentId.toString()));
List localVarQueryParams = new ArrayList();
@@ -1074,6 +1142,10 @@ private okhttp3.Call getBanUsersFromCommentCall(@javax.annotation.Nonnull String
Map localVarCookieParams = new HashMap();
Map localVarFormParams = new HashMap();
+ if (tenantId != null) {
+ localVarQueryParams.addAll(localVarApiClient.parameterToPair("tenantId", tenantId));
+ }
+
if (sso != null) {
localVarQueryParams.addAll(localVarApiClient.parameterToPair("sso", sso));
}
@@ -1098,38 +1170,46 @@ private okhttp3.Call getBanUsersFromCommentCall(@javax.annotation.Nonnull String
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call getBanUsersFromCommentValidateBeforeCall(@javax.annotation.Nonnull String commentId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call getBanUsersFromCommentValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String commentId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
+ // verify the required parameter 'tenantId' is set
+ if (tenantId == null) {
+ throw new ApiException("Missing the required parameter 'tenantId' when calling getBanUsersFromComment(Async)");
+ }
+
// verify the required parameter 'commentId' is set
if (commentId == null) {
throw new ApiException("Missing the required parameter 'commentId' when calling getBanUsersFromComment(Async)");
}
- return getBanUsersFromCommentCall(commentId, sso, _callback);
+ return getBanUsersFromCommentCall(tenantId, commentId, sso, _callback);
}
- private ApiResponse getBanUsersFromCommentWithHttpInfo(@javax.annotation.Nonnull String commentId, @javax.annotation.Nullable String sso) throws ApiException {
- okhttp3.Call localVarCall = getBanUsersFromCommentValidateBeforeCall(commentId, sso, null);
+ private ApiResponse getBanUsersFromCommentWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String commentId, @javax.annotation.Nullable String sso) throws ApiException {
+ okhttp3.Call localVarCall = getBanUsersFromCommentValidateBeforeCall(tenantId, commentId, sso, null);
Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
- private okhttp3.Call getBanUsersFromCommentAsync(@javax.annotation.Nonnull String commentId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call getBanUsersFromCommentAsync(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String commentId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
- okhttp3.Call localVarCall = getBanUsersFromCommentValidateBeforeCall(commentId, sso, _callback);
+ okhttp3.Call localVarCall = getBanUsersFromCommentValidateBeforeCall(tenantId, commentId, sso, _callback);
Type localVarReturnType = new TypeToken(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
}
public class APIgetBanUsersFromCommentRequest {
+ @javax.annotation.Nonnull
+ private final String tenantId;
@javax.annotation.Nonnull
private final String commentId;
@javax.annotation.Nullable
private String sso;
- private APIgetBanUsersFromCommentRequest(@javax.annotation.Nonnull String commentId) {
+ private APIgetBanUsersFromCommentRequest(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String commentId) {
+ this.tenantId = tenantId;
this.commentId = commentId;
}
@@ -1157,7 +1237,7 @@ public APIgetBanUsersFromCommentRequest sso(@javax.annotation.Nullable String ss
*/
public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
- return getBanUsersFromCommentCall(commentId, sso, _callback);
+ return getBanUsersFromCommentCall(tenantId, commentId, sso, _callback);
}
/**
@@ -1173,7 +1253,7 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
*/
public GetBannedUsersFromCommentResponse execute() throws ApiException {
- ApiResponse localVarResp = getBanUsersFromCommentWithHttpInfo(commentId, sso);
+ ApiResponse localVarResp = getBanUsersFromCommentWithHttpInfo(tenantId, commentId, sso);
return localVarResp.getData();
}
@@ -1190,7 +1270,7 @@ public GetBannedUsersFromCommentResponse execute() throws ApiException {
*/
public ApiResponse executeWithHttpInfo() throws ApiException {
- return getBanUsersFromCommentWithHttpInfo(commentId, sso);
+ return getBanUsersFromCommentWithHttpInfo(tenantId, commentId, sso);
}
/**
@@ -1207,13 +1287,14 @@ public ApiResponse executeWithHttpInfo() thro
*/
public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException {
- return getBanUsersFromCommentAsync(commentId, sso, _callback);
+ return getBanUsersFromCommentAsync(tenantId, commentId, sso, _callback);
}
}
/**
*
*
+ * @param tenantId (required)
* @param commentId (required)
* @return APIgetBanUsersFromCommentRequest
* @http.response.details
@@ -1224,10 +1305,10 @@ public okhttp3.Call executeAsync(final ApiCallback 0 | Error | - |
*/
- public APIgetBanUsersFromCommentRequest getBanUsersFromComment(@javax.annotation.Nonnull String commentId) {
- return new APIgetBanUsersFromCommentRequest(commentId);
+ public APIgetBanUsersFromCommentRequest getBanUsersFromComment(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String commentId) {
+ return new APIgetBanUsersFromCommentRequest(tenantId, commentId);
}
- private okhttp3.Call getCommentBanStatusCall(@javax.annotation.Nonnull String commentId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call getCommentBanStatusCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String commentId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { };
@@ -1244,7 +1325,7 @@ private okhttp3.Call getCommentBanStatusCall(@javax.annotation.Nonnull String co
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/auth/my-account/moderate-comments/get-comment-ban-status/{commentId}"
+ String localVarPath = "/auth/my-account/moderate-comments/mod_api/get-comment-ban-status/{commentId}"
.replace("{" + "commentId" + "}", localVarApiClient.escapeString(commentId.toString()));
List localVarQueryParams = new ArrayList();
@@ -1253,6 +1334,10 @@ private okhttp3.Call getCommentBanStatusCall(@javax.annotation.Nonnull String co
Map localVarCookieParams = new HashMap();
Map localVarFormParams = new HashMap();
+ if (tenantId != null) {
+ localVarQueryParams.addAll(localVarApiClient.parameterToPair("tenantId", tenantId));
+ }
+
if (sso != null) {
localVarQueryParams.addAll(localVarApiClient.parameterToPair("sso", sso));
}
@@ -1277,38 +1362,46 @@ private okhttp3.Call getCommentBanStatusCall(@javax.annotation.Nonnull String co
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call getCommentBanStatusValidateBeforeCall(@javax.annotation.Nonnull String commentId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call getCommentBanStatusValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String commentId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
+ // verify the required parameter 'tenantId' is set
+ if (tenantId == null) {
+ throw new ApiException("Missing the required parameter 'tenantId' when calling getCommentBanStatus(Async)");
+ }
+
// verify the required parameter 'commentId' is set
if (commentId == null) {
throw new ApiException("Missing the required parameter 'commentId' when calling getCommentBanStatus(Async)");
}
- return getCommentBanStatusCall(commentId, sso, _callback);
+ return getCommentBanStatusCall(tenantId, commentId, sso, _callback);
}
- private ApiResponse getCommentBanStatusWithHttpInfo(@javax.annotation.Nonnull String commentId, @javax.annotation.Nullable String sso) throws ApiException {
- okhttp3.Call localVarCall = getCommentBanStatusValidateBeforeCall(commentId, sso, null);
+ private ApiResponse getCommentBanStatusWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String commentId, @javax.annotation.Nullable String sso) throws ApiException {
+ okhttp3.Call localVarCall = getCommentBanStatusValidateBeforeCall(tenantId, commentId, sso, null);
Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
- private okhttp3.Call getCommentBanStatusAsync(@javax.annotation.Nonnull String commentId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call getCommentBanStatusAsync(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String commentId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
- okhttp3.Call localVarCall = getCommentBanStatusValidateBeforeCall(commentId, sso, _callback);
+ okhttp3.Call localVarCall = getCommentBanStatusValidateBeforeCall(tenantId, commentId, sso, _callback);
Type localVarReturnType = new TypeToken(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
}
public class APIgetCommentBanStatusRequest {
+ @javax.annotation.Nonnull
+ private final String tenantId;
@javax.annotation.Nonnull
private final String commentId;
@javax.annotation.Nullable
private String sso;
- private APIgetCommentBanStatusRequest(@javax.annotation.Nonnull String commentId) {
+ private APIgetCommentBanStatusRequest(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String commentId) {
+ this.tenantId = tenantId;
this.commentId = commentId;
}
@@ -1336,7 +1429,7 @@ public APIgetCommentBanStatusRequest sso(@javax.annotation.Nullable String sso)
*/
public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
- return getCommentBanStatusCall(commentId, sso, _callback);
+ return getCommentBanStatusCall(tenantId, commentId, sso, _callback);
}
/**
@@ -1352,7 +1445,7 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
*/
public GetCommentBanStatusResponse execute() throws ApiException {
- ApiResponse localVarResp = getCommentBanStatusWithHttpInfo(commentId, sso);
+ ApiResponse localVarResp = getCommentBanStatusWithHttpInfo(tenantId, commentId, sso);
return localVarResp.getData();
}
@@ -1369,7 +1462,7 @@ public GetCommentBanStatusResponse execute() throws ApiException {
*/
public ApiResponse executeWithHttpInfo() throws ApiException {
- return getCommentBanStatusWithHttpInfo(commentId, sso);
+ return getCommentBanStatusWithHttpInfo(tenantId, commentId, sso);
}
/**
@@ -1386,13 +1479,14 @@ public ApiResponse executeWithHttpInfo() throws Api
*/
public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException {
- return getCommentBanStatusAsync(commentId, sso, _callback);
+ return getCommentBanStatusAsync(tenantId, commentId, sso, _callback);
}
}
/**
*
*
+ * @param tenantId (required)
* @param commentId (required)
* @return APIgetCommentBanStatusRequest
* @http.response.details
@@ -1403,10 +1497,10 @@ public okhttp3.Call executeAsync(final ApiCallback
| 0 | Error | - |
*/
- public APIgetCommentBanStatusRequest getCommentBanStatus(@javax.annotation.Nonnull String commentId) {
- return new APIgetCommentBanStatusRequest(commentId);
+ public APIgetCommentBanStatusRequest getCommentBanStatus(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String commentId) {
+ return new APIgetCommentBanStatusRequest(tenantId, commentId);
}
- private okhttp3.Call getCommentChildrenCall(@javax.annotation.Nonnull String commentId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call getCommentChildrenCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String commentId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { };
@@ -1423,7 +1517,7 @@ private okhttp3.Call getCommentChildrenCall(@javax.annotation.Nonnull String com
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/auth/my-account/moderate-comments/comment-children/{commentId}"
+ String localVarPath = "/auth/my-account/moderate-comments/mod_api/comment-children/{commentId}"
.replace("{" + "commentId" + "}", localVarApiClient.escapeString(commentId.toString()));
List localVarQueryParams = new ArrayList();
@@ -1432,6 +1526,10 @@ private okhttp3.Call getCommentChildrenCall(@javax.annotation.Nonnull String com
Map localVarCookieParams = new HashMap();
Map localVarFormParams = new HashMap();
+ if (tenantId != null) {
+ localVarQueryParams.addAll(localVarApiClient.parameterToPair("tenantId", tenantId));
+ }
+
if (sso != null) {
localVarQueryParams.addAll(localVarApiClient.parameterToPair("sso", sso));
}
@@ -1456,38 +1554,46 @@ private okhttp3.Call getCommentChildrenCall(@javax.annotation.Nonnull String com
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call getCommentChildrenValidateBeforeCall(@javax.annotation.Nonnull String commentId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call getCommentChildrenValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String commentId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
+ // verify the required parameter 'tenantId' is set
+ if (tenantId == null) {
+ throw new ApiException("Missing the required parameter 'tenantId' when calling getCommentChildren(Async)");
+ }
+
// verify the required parameter 'commentId' is set
if (commentId == null) {
throw new ApiException("Missing the required parameter 'commentId' when calling getCommentChildren(Async)");
}
- return getCommentChildrenCall(commentId, sso, _callback);
+ return getCommentChildrenCall(tenantId, commentId, sso, _callback);
}
- private ApiResponse getCommentChildrenWithHttpInfo(@javax.annotation.Nonnull String commentId, @javax.annotation.Nullable String sso) throws ApiException {
- okhttp3.Call localVarCall = getCommentChildrenValidateBeforeCall(commentId, sso, null);
+ private ApiResponse getCommentChildrenWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String commentId, @javax.annotation.Nullable String sso) throws ApiException {
+ okhttp3.Call localVarCall = getCommentChildrenValidateBeforeCall(tenantId, commentId, sso, null);
Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
- private okhttp3.Call getCommentChildrenAsync(@javax.annotation.Nonnull String commentId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call getCommentChildrenAsync(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String commentId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
- okhttp3.Call localVarCall = getCommentChildrenValidateBeforeCall(commentId, sso, _callback);
+ okhttp3.Call localVarCall = getCommentChildrenValidateBeforeCall(tenantId, commentId, sso, _callback);
Type localVarReturnType = new TypeToken(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
}
public class APIgetCommentChildrenRequest {
+ @javax.annotation.Nonnull
+ private final String tenantId;
@javax.annotation.Nonnull
private final String commentId;
@javax.annotation.Nullable
private String sso;
- private APIgetCommentChildrenRequest(@javax.annotation.Nonnull String commentId) {
+ private APIgetCommentChildrenRequest(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String commentId) {
+ this.tenantId = tenantId;
this.commentId = commentId;
}
@@ -1515,7 +1621,7 @@ public APIgetCommentChildrenRequest sso(@javax.annotation.Nullable String sso) {
*/
public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
- return getCommentChildrenCall(commentId, sso, _callback);
+ return getCommentChildrenCall(tenantId, commentId, sso, _callback);
}
/**
@@ -1531,7 +1637,7 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
*/
public ModerationAPIChildCommentsResponse execute() throws ApiException {
- ApiResponse localVarResp = getCommentChildrenWithHttpInfo(commentId, sso);
+ ApiResponse localVarResp = getCommentChildrenWithHttpInfo(tenantId, commentId, sso);
return localVarResp.getData();
}
@@ -1548,7 +1654,7 @@ public ModerationAPIChildCommentsResponse execute() throws ApiException {
*/
public ApiResponse executeWithHttpInfo() throws ApiException {
- return getCommentChildrenWithHttpInfo(commentId, sso);
+ return getCommentChildrenWithHttpInfo(tenantId, commentId, sso);
}
/**
@@ -1565,13 +1671,14 @@ public ApiResponse executeWithHttpInfo() thr
*/
public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException {
- return getCommentChildrenAsync(commentId, sso, _callback);
+ return getCommentChildrenAsync(tenantId, commentId, sso, _callback);
}
}
/**
*
*
+ * @param tenantId (required)
* @param commentId (required)
* @return APIgetCommentChildrenRequest
* @http.response.details
@@ -1582,10 +1689,10 @@ public okhttp3.Call executeAsync(final ApiCallback 0 | Error | - |
*/
- public APIgetCommentChildrenRequest getCommentChildren(@javax.annotation.Nonnull String commentId) {
- return new APIgetCommentChildrenRequest(commentId);
+ public APIgetCommentChildrenRequest getCommentChildren(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String commentId) {
+ return new APIgetCommentChildrenRequest(tenantId, commentId);
}
- private okhttp3.Call getCountCall(@javax.annotation.Nullable String textSearch, @javax.annotation.Nullable String byIPFromComment, @javax.annotation.Nullable String filter, @javax.annotation.Nullable String searchFilters, @javax.annotation.Nullable Boolean demo, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call getCountCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nullable String textSearch, @javax.annotation.Nullable String byIPFromComment, @javax.annotation.Nullable String filter, @javax.annotation.Nullable String searchFilters, @javax.annotation.Nullable Boolean demo, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { };
@@ -1602,7 +1709,7 @@ private okhttp3.Call getCountCall(@javax.annotation.Nullable String textSearch,
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/auth/my-account/moderate-comments/count";
+ String localVarPath = "/auth/my-account/moderate-comments/mod_api/count";
List localVarQueryParams = new ArrayList();
List localVarCollectionQueryParams = new ArrayList();
@@ -1610,6 +1717,10 @@ private okhttp3.Call getCountCall(@javax.annotation.Nullable String textSearch,
Map localVarCookieParams = new HashMap();
Map localVarFormParams = new HashMap();
+ if (tenantId != null) {
+ localVarQueryParams.addAll(localVarApiClient.parameterToPair("tenantId", tenantId));
+ }
+
if (textSearch != null) {
localVarQueryParams.addAll(localVarApiClient.parameterToPair("text-search", textSearch));
}
@@ -1654,27 +1765,34 @@ private okhttp3.Call getCountCall(@javax.annotation.Nullable String textSearch,
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call getCountValidateBeforeCall(@javax.annotation.Nullable String textSearch, @javax.annotation.Nullable String byIPFromComment, @javax.annotation.Nullable String filter, @javax.annotation.Nullable String searchFilters, @javax.annotation.Nullable Boolean demo, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
- return getCountCall(textSearch, byIPFromComment, filter, searchFilters, demo, sso, _callback);
+ private okhttp3.Call getCountValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nullable String textSearch, @javax.annotation.Nullable String byIPFromComment, @javax.annotation.Nullable String filter, @javax.annotation.Nullable String searchFilters, @javax.annotation.Nullable Boolean demo, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
+ // verify the required parameter 'tenantId' is set
+ if (tenantId == null) {
+ throw new ApiException("Missing the required parameter 'tenantId' when calling getCount(Async)");
+ }
+
+ return getCountCall(tenantId, textSearch, byIPFromComment, filter, searchFilters, demo, sso, _callback);
}
- private ApiResponse getCountWithHttpInfo(@javax.annotation.Nullable String textSearch, @javax.annotation.Nullable String byIPFromComment, @javax.annotation.Nullable String filter, @javax.annotation.Nullable String searchFilters, @javax.annotation.Nullable Boolean demo, @javax.annotation.Nullable String sso) throws ApiException {
- okhttp3.Call localVarCall = getCountValidateBeforeCall(textSearch, byIPFromComment, filter, searchFilters, demo, sso, null);
+ private ApiResponse getCountWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nullable String textSearch, @javax.annotation.Nullable String byIPFromComment, @javax.annotation.Nullable String filter, @javax.annotation.Nullable String searchFilters, @javax.annotation.Nullable Boolean demo, @javax.annotation.Nullable String sso) throws ApiException {
+ okhttp3.Call localVarCall = getCountValidateBeforeCall(tenantId, textSearch, byIPFromComment, filter, searchFilters, demo, sso, null);
Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
- private okhttp3.Call getCountAsync(@javax.annotation.Nullable String textSearch, @javax.annotation.Nullable String byIPFromComment, @javax.annotation.Nullable String filter, @javax.annotation.Nullable String searchFilters, @javax.annotation.Nullable Boolean demo, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call getCountAsync(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nullable String textSearch, @javax.annotation.Nullable String byIPFromComment, @javax.annotation.Nullable String filter, @javax.annotation.Nullable String searchFilters, @javax.annotation.Nullable Boolean demo, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
- okhttp3.Call localVarCall = getCountValidateBeforeCall(textSearch, byIPFromComment, filter, searchFilters, demo, sso, _callback);
+ okhttp3.Call localVarCall = getCountValidateBeforeCall(tenantId, textSearch, byIPFromComment, filter, searchFilters, demo, sso, _callback);
Type localVarReturnType = new TypeToken(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
}
public class APIgetCountRequest {
+ @javax.annotation.Nonnull
+ private final String tenantId;
@javax.annotation.Nullable
private String textSearch;
@javax.annotation.Nullable
@@ -1688,7 +1806,8 @@ public class APIgetCountRequest {
@javax.annotation.Nullable
private String sso;
- private APIgetCountRequest() {
+ private APIgetCountRequest(@javax.annotation.Nonnull String tenantId) {
+ this.tenantId = tenantId;
}
/**
@@ -1765,7 +1884,7 @@ public APIgetCountRequest sso(@javax.annotation.Nullable String sso) {
*/
public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
- return getCountCall(textSearch, byIPFromComment, filter, searchFilters, demo, sso, _callback);
+ return getCountCall(tenantId, textSearch, byIPFromComment, filter, searchFilters, demo, sso, _callback);
}
/**
@@ -1781,7 +1900,7 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
*/
public ModerationAPICountCommentsResponse execute() throws ApiException {
- ApiResponse localVarResp = getCountWithHttpInfo(textSearch, byIPFromComment, filter, searchFilters, demo, sso);
+ ApiResponse localVarResp = getCountWithHttpInfo(tenantId, textSearch, byIPFromComment, filter, searchFilters, demo, sso);
return localVarResp.getData();
}
@@ -1798,7 +1917,7 @@ public ModerationAPICountCommentsResponse execute() throws ApiException {
*/
public ApiResponse executeWithHttpInfo() throws ApiException {
- return getCountWithHttpInfo(textSearch, byIPFromComment, filter, searchFilters, demo, sso);
+ return getCountWithHttpInfo(tenantId, textSearch, byIPFromComment, filter, searchFilters, demo, sso);
}
/**
@@ -1815,13 +1934,14 @@ public ApiResponse executeWithHttpInfo() thr
*/
public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException {
- return getCountAsync(textSearch, byIPFromComment, filter, searchFilters, demo, sso, _callback);
+ return getCountAsync(tenantId, textSearch, byIPFromComment, filter, searchFilters, demo, sso, _callback);
}
}
/**
*
*
+ * @param tenantId (required)
* @return APIgetCountRequest
* @http.response.details
@@ -1831,10 +1951,10 @@ public okhttp3.Call executeAsync(final ApiCallback| 0 | Error | - |
*/
- public APIgetCountRequest getCount() {
- return new APIgetCountRequest();
+ public APIgetCountRequest getCount(@javax.annotation.Nonnull String tenantId) {
+ return new APIgetCountRequest(tenantId);
}
- private okhttp3.Call getCountsCall(@javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call getCountsCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { };
@@ -1851,7 +1971,7 @@ private okhttp3.Call getCountsCall(@javax.annotation.Nullable String sso, final
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/auth/my-account/moderate-comments/banned-users/counts";
+ String localVarPath = "/auth/my-account/moderate-comments/banned-users/mod_api/counts";
List localVarQueryParams = new ArrayList();
List localVarCollectionQueryParams = new ArrayList();
@@ -1859,6 +1979,10 @@ private okhttp3.Call getCountsCall(@javax.annotation.Nullable String sso, final
Map localVarCookieParams = new HashMap();
Map localVarFormParams = new HashMap();
+ if (tenantId != null) {
+ localVarQueryParams.addAll(localVarApiClient.parameterToPair("tenantId", tenantId));
+ }
+
if (sso != null) {
localVarQueryParams.addAll(localVarApiClient.parameterToPair("sso", sso));
}
@@ -1883,31 +2007,39 @@ private okhttp3.Call getCountsCall(@javax.annotation.Nullable String sso, final
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call getCountsValidateBeforeCall(@javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
- return getCountsCall(sso, _callback);
+ private okhttp3.Call getCountsValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
+ // verify the required parameter 'tenantId' is set
+ if (tenantId == null) {
+ throw new ApiException("Missing the required parameter 'tenantId' when calling getCounts(Async)");
+ }
+
+ return getCountsCall(tenantId, sso, _callback);
}
- private ApiResponse getCountsWithHttpInfo(@javax.annotation.Nullable String sso) throws ApiException {
- okhttp3.Call localVarCall = getCountsValidateBeforeCall(sso, null);
+ private ApiResponse getCountsWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nullable String sso) throws ApiException {
+ okhttp3.Call localVarCall = getCountsValidateBeforeCall(tenantId, sso, null);
Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
- private okhttp3.Call getCountsAsync(@javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call getCountsAsync(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
- okhttp3.Call localVarCall = getCountsValidateBeforeCall(sso, _callback);
+ okhttp3.Call localVarCall = getCountsValidateBeforeCall(tenantId, sso, _callback);
Type localVarReturnType = new TypeToken(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
}
public class APIgetCountsRequest {
+ @javax.annotation.Nonnull
+ private final String tenantId;
@javax.annotation.Nullable
private String sso;
- private APIgetCountsRequest() {
+ private APIgetCountsRequest(@javax.annotation.Nonnull String tenantId) {
+ this.tenantId = tenantId;
}
/**
@@ -1934,7 +2066,7 @@ public APIgetCountsRequest sso(@javax.annotation.Nullable String sso) {
*/
public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
- return getCountsCall(sso, _callback);
+ return getCountsCall(tenantId, sso, _callback);
}
/**
@@ -1950,7 +2082,7 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
*/
public GetBannedUsersCountResponse execute() throws ApiException {
- ApiResponse localVarResp = getCountsWithHttpInfo(sso);
+ ApiResponse localVarResp = getCountsWithHttpInfo(tenantId, sso);
return localVarResp.getData();
}
@@ -1967,7 +2099,7 @@ public GetBannedUsersCountResponse execute() throws ApiException {
*/
public ApiResponse executeWithHttpInfo() throws ApiException {
- return getCountsWithHttpInfo(sso);
+ return getCountsWithHttpInfo(tenantId, sso);
}
/**
@@ -1984,13 +2116,14 @@ public ApiResponse executeWithHttpInfo() throws Api
*/
public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException {
- return getCountsAsync(sso, _callback);
+ return getCountsAsync(tenantId, sso, _callback);
}
}
/**
*
*
+ * @param tenantId (required)
* @return APIgetCountsRequest
* @http.response.details
@@ -2000,10 +2133,10 @@ public okhttp3.Call executeAsync(final ApiCallback
| 0 | Error | - |
*/
- public APIgetCountsRequest getCounts() {
- return new APIgetCountsRequest();
+ public APIgetCountsRequest getCounts(@javax.annotation.Nonnull String tenantId) {
+ return new APIgetCountsRequest(tenantId);
}
- private okhttp3.Call getLogsCall(@javax.annotation.Nonnull String commentId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call getLogsCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String commentId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { };
@@ -2020,7 +2153,7 @@ private okhttp3.Call getLogsCall(@javax.annotation.Nonnull String commentId, @ja
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/auth/my-account/moderate-comments/logs/{commentId}"
+ String localVarPath = "/auth/my-account/moderate-comments/mod_api/logs/{commentId}"
.replace("{" + "commentId" + "}", localVarApiClient.escapeString(commentId.toString()));
List localVarQueryParams = new ArrayList();
@@ -2029,6 +2162,10 @@ private okhttp3.Call getLogsCall(@javax.annotation.Nonnull String commentId, @ja
Map localVarCookieParams = new HashMap();
Map localVarFormParams = new HashMap();
+ if (tenantId != null) {
+ localVarQueryParams.addAll(localVarApiClient.parameterToPair("tenantId", tenantId));
+ }
+
if (sso != null) {
localVarQueryParams.addAll(localVarApiClient.parameterToPair("sso", sso));
}
@@ -2053,38 +2190,46 @@ private okhttp3.Call getLogsCall(@javax.annotation.Nonnull String commentId, @ja
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call getLogsValidateBeforeCall(@javax.annotation.Nonnull String commentId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call getLogsValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String commentId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
+ // verify the required parameter 'tenantId' is set
+ if (tenantId == null) {
+ throw new ApiException("Missing the required parameter 'tenantId' when calling getLogs(Async)");
+ }
+
// verify the required parameter 'commentId' is set
if (commentId == null) {
throw new ApiException("Missing the required parameter 'commentId' when calling getLogs(Async)");
}
- return getLogsCall(commentId, sso, _callback);
+ return getLogsCall(tenantId, commentId, sso, _callback);
}
- private ApiResponse getLogsWithHttpInfo(@javax.annotation.Nonnull String commentId, @javax.annotation.Nullable String sso) throws ApiException {
- okhttp3.Call localVarCall = getLogsValidateBeforeCall(commentId, sso, null);
+ private ApiResponse getLogsWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String commentId, @javax.annotation.Nullable String sso) throws ApiException {
+ okhttp3.Call localVarCall = getLogsValidateBeforeCall(tenantId, commentId, sso, null);
Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
- private okhttp3.Call getLogsAsync(@javax.annotation.Nonnull String commentId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call getLogsAsync(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String commentId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
- okhttp3.Call localVarCall = getLogsValidateBeforeCall(commentId, sso, _callback);
+ okhttp3.Call localVarCall = getLogsValidateBeforeCall(tenantId, commentId, sso, _callback);
Type localVarReturnType = new TypeToken(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
}
public class APIgetLogsRequest {
+ @javax.annotation.Nonnull
+ private final String tenantId;
@javax.annotation.Nonnull
private final String commentId;
@javax.annotation.Nullable
private String sso;
- private APIgetLogsRequest(@javax.annotation.Nonnull String commentId) {
+ private APIgetLogsRequest(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String commentId) {
+ this.tenantId = tenantId;
this.commentId = commentId;
}
@@ -2112,7 +2257,7 @@ public APIgetLogsRequest sso(@javax.annotation.Nullable String sso) {
*/
public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
- return getLogsCall(commentId, sso, _callback);
+ return getLogsCall(tenantId, commentId, sso, _callback);
}
/**
@@ -2128,7 +2273,7 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
*/
public ModerationAPIGetLogsResponse execute() throws ApiException {
- ApiResponse localVarResp = getLogsWithHttpInfo(commentId, sso);
+ ApiResponse localVarResp = getLogsWithHttpInfo(tenantId, commentId, sso);
return localVarResp.getData();
}
@@ -2145,7 +2290,7 @@ public ModerationAPIGetLogsResponse execute() throws ApiException {
*/
public ApiResponse executeWithHttpInfo() throws ApiException {
- return getLogsWithHttpInfo(commentId, sso);
+ return getLogsWithHttpInfo(tenantId, commentId, sso);
}
/**
@@ -2162,13 +2307,14 @@ public ApiResponse executeWithHttpInfo() throws Ap
*/
public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException {
- return getLogsAsync(commentId, sso, _callback);
+ return getLogsAsync(tenantId, commentId, sso, _callback);
}
}
/**
*
*
+ * @param tenantId (required)
* @param commentId (required)
* @return APIgetLogsRequest
* @http.response.details
@@ -2179,10 +2325,10 @@ public okhttp3.Call executeAsync(final ApiCallback
| 0 | Error | - |
*/
- public APIgetLogsRequest getLogs(@javax.annotation.Nonnull String commentId) {
- return new APIgetLogsRequest(commentId);
+ public APIgetLogsRequest getLogs(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String commentId) {
+ return new APIgetLogsRequest(tenantId, commentId);
}
- private okhttp3.Call getManualBadgesCall(@javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call getManualBadgesCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { };
@@ -2199,7 +2345,7 @@ private okhttp3.Call getManualBadgesCall(@javax.annotation.Nullable String sso,
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/auth/my-account/moderate-comments/get-manual-badges";
+ String localVarPath = "/auth/my-account/moderate-comments/mod_api/get-manual-badges";
List localVarQueryParams = new ArrayList();
List localVarCollectionQueryParams = new ArrayList();
@@ -2207,6 +2353,10 @@ private okhttp3.Call getManualBadgesCall(@javax.annotation.Nullable String sso,
Map localVarCookieParams = new HashMap();
Map localVarFormParams = new HashMap();
+ if (tenantId != null) {
+ localVarQueryParams.addAll(localVarApiClient.parameterToPair("tenantId", tenantId));
+ }
+
if (sso != null) {
localVarQueryParams.addAll(localVarApiClient.parameterToPair("sso", sso));
}
@@ -2231,31 +2381,39 @@ private okhttp3.Call getManualBadgesCall(@javax.annotation.Nullable String sso,
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call getManualBadgesValidateBeforeCall(@javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
- return getManualBadgesCall(sso, _callback);
+ private okhttp3.Call getManualBadgesValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
+ // verify the required parameter 'tenantId' is set
+ if (tenantId == null) {
+ throw new ApiException("Missing the required parameter 'tenantId' when calling getManualBadges(Async)");
+ }
+
+ return getManualBadgesCall(tenantId, sso, _callback);
}
- private ApiResponse getManualBadgesWithHttpInfo(@javax.annotation.Nullable String sso) throws ApiException {
- okhttp3.Call localVarCall = getManualBadgesValidateBeforeCall(sso, null);
+ private ApiResponse getManualBadgesWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nullable String sso) throws ApiException {
+ okhttp3.Call localVarCall = getManualBadgesValidateBeforeCall(tenantId, sso, null);
Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
- private okhttp3.Call getManualBadgesAsync(@javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call getManualBadgesAsync(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
- okhttp3.Call localVarCall = getManualBadgesValidateBeforeCall(sso, _callback);
+ okhttp3.Call localVarCall = getManualBadgesValidateBeforeCall(tenantId, sso, _callback);
Type localVarReturnType = new TypeToken(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
}
public class APIgetManualBadgesRequest {
+ @javax.annotation.Nonnull
+ private final String tenantId;
@javax.annotation.Nullable
private String sso;
- private APIgetManualBadgesRequest() {
+ private APIgetManualBadgesRequest(@javax.annotation.Nonnull String tenantId) {
+ this.tenantId = tenantId;
}
/**
@@ -2282,7 +2440,7 @@ public APIgetManualBadgesRequest sso(@javax.annotation.Nullable String sso) {
*/
public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
- return getManualBadgesCall(sso, _callback);
+ return getManualBadgesCall(tenantId, sso, _callback);
}
/**
@@ -2298,7 +2456,7 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
*/
public GetTenantManualBadgesResponse execute() throws ApiException {
- ApiResponse localVarResp = getManualBadgesWithHttpInfo(sso);
+ ApiResponse localVarResp = getManualBadgesWithHttpInfo(tenantId, sso);
return localVarResp.getData();
}
@@ -2315,7 +2473,7 @@ public GetTenantManualBadgesResponse execute() throws ApiException {
*/
public ApiResponse executeWithHttpInfo() throws ApiException {
- return getManualBadgesWithHttpInfo(sso);
+ return getManualBadgesWithHttpInfo(tenantId, sso);
}
/**
@@ -2332,13 +2490,14 @@ public ApiResponse executeWithHttpInfo() throws A
*/
public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException {
- return getManualBadgesAsync(sso, _callback);
+ return getManualBadgesAsync(tenantId, sso, _callback);
}
}
/**
*
*
+ * @param tenantId (required)
* @return APIgetManualBadgesRequest
* @http.response.details
@@ -2348,10 +2507,10 @@ public okhttp3.Call executeAsync(final ApiCallback| 0 | Error | - |
*/
- public APIgetManualBadgesRequest getManualBadges() {
- return new APIgetManualBadgesRequest();
+ public APIgetManualBadgesRequest getManualBadges(@javax.annotation.Nonnull String tenantId) {
+ return new APIgetManualBadgesRequest(tenantId);
}
- private okhttp3.Call getManualBadgesForUserCall(@javax.annotation.Nullable String badgesUserId, @javax.annotation.Nullable String commentId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call getManualBadgesForUserCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nullable String badgesUserId, @javax.annotation.Nullable String commentId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { };
@@ -2368,7 +2527,7 @@ private okhttp3.Call getManualBadgesForUserCall(@javax.annotation.Nullable Strin
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/auth/my-account/moderate-comments/get-manual-badges-for-user";
+ String localVarPath = "/auth/my-account/moderate-comments/mod_api/get-manual-badges-for-user";
List localVarQueryParams = new ArrayList();
List localVarCollectionQueryParams = new ArrayList();
@@ -2376,6 +2535,10 @@ private okhttp3.Call getManualBadgesForUserCall(@javax.annotation.Nullable Strin
Map localVarCookieParams = new HashMap();
Map localVarFormParams = new HashMap();
+ if (tenantId != null) {
+ localVarQueryParams.addAll(localVarApiClient.parameterToPair("tenantId", tenantId));
+ }
+
if (badgesUserId != null) {
localVarQueryParams.addAll(localVarApiClient.parameterToPair("badgesUserId", badgesUserId));
}
@@ -2408,27 +2571,34 @@ private okhttp3.Call getManualBadgesForUserCall(@javax.annotation.Nullable Strin
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call getManualBadgesForUserValidateBeforeCall(@javax.annotation.Nullable String badgesUserId, @javax.annotation.Nullable String commentId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
- return getManualBadgesForUserCall(badgesUserId, commentId, sso, _callback);
+ private okhttp3.Call getManualBadgesForUserValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nullable String badgesUserId, @javax.annotation.Nullable String commentId, @javax.annotation.Nullable String sso, final ApiCallback _callback) throws ApiException {
+ // verify the required parameter 'tenantId' is set
+ if (tenantId == null) {
+ throw new ApiException("Missing the required parameter 'tenantId' when calling getManualBadgesForUser(Async)");
+ }
+
+ return getManualBadgesForUserCall(tenantId, badgesUserId, commentId, sso, _callback);
}
- private ApiResponse getManualBadgesForUserWithHttpInfo(@javax.annotation.Nullable String badgesUserId, @javax.annotation.Nullable String commentId, @javax.annotation.Nullable String sso) throws ApiException {
- okhttp3.Call localVarCall = getManualBadgesForUserValidateBeforeCall(badgesUserId, commentId, sso, null);
+ private ApiResponse getManualBadgesForUserWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nullable String badgesUserId, @javax.annotation.Nullable String commentId, @javax.annotation.Nullable String sso) throws ApiException {
+ okhttp3.Call localVarCall = getManualBadgesForUserValidateBeforeCall(tenantId, badgesUserId, commentId, sso, null);
Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
- private okhttp3.Call getManualBadgesForUserAsync(@javax.annotation.Nullable String badgesUserId, @javax.annotation.Nullable String commentId, @javax.annotation.Nullable String sso, final ApiCallback