fastcomments 1.2.1 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1101) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +27 -3
  3. data/client/README.md +165 -102
  4. data/client/docs/APIBanUserChangeLog.md +24 -0
  5. data/client/docs/APIBanUserChangedValues.md +42 -0
  6. data/client/docs/APIBannedUser.md +42 -0
  7. data/client/docs/APIBannedUserWithMultiMatchInfo.md +34 -0
  8. data/client/docs/APIComment.md +2 -2
  9. data/client/docs/APICommentBase.md +2 -2
  10. data/client/docs/APICommentCommonBannedUser.md +32 -0
  11. data/client/docs/APIModerateGetUserBanPreferencesResponse.md +20 -0
  12. data/client/docs/APIModerateUserBanPreferences.md +24 -0
  13. data/client/docs/{SaveCommentResponse.md → APISaveCommentResponse.md} +3 -3
  14. data/client/docs/{AddDomainConfig200Response.md → AddDomainConfigResponse.md} +2 -2
  15. data/client/docs/{AddDomainConfig200ResponseAnyOf.md → AddDomainConfigResponseAnyOf.md} +2 -2
  16. data/client/docs/AdjustCommentVotesParams.md +18 -0
  17. data/client/docs/AdjustVotesResponse.md +20 -0
  18. data/client/docs/AggregateResponse.md +28 -0
  19. data/client/docs/AggregationAPIError.md +24 -0
  20. data/client/docs/AwardUserBadgeResponse.md +22 -0
  21. data/client/docs/BanUserFromCommentResult.md +24 -0
  22. data/client/docs/BanUserUndoParams.md +18 -0
  23. data/client/docs/BannedUserMatch.md +20 -0
  24. data/client/docs/{RecordStringStringOrNumberValue.md → BannedUserMatchMatchedOnValue.md} +2 -2
  25. data/client/docs/BannedUserMatchType.md +15 -0
  26. data/client/docs/BuildModerationFilterParams.md +26 -0
  27. data/client/docs/BuildModerationFilterResponse.md +20 -0
  28. data/client/docs/BulkCreateHashTagsResponse.md +1 -1
  29. data/client/docs/{PatchHashTag200Response.md → BulkCreateHashTagsResponseResultsInner.md} +2 -2
  30. data/client/docs/BulkPreBanParams.md +18 -0
  31. data/client/docs/BulkPreBanSummary.md +28 -0
  32. data/client/docs/CommentData.md +4 -2
  33. data/client/docs/CommentLogData.md +2 -0
  34. data/client/docs/CommentsByIdsParams.md +18 -0
  35. data/client/docs/CreateCommentParams.md +3 -1
  36. data/client/docs/CreateTenantPackageBody.md +4 -4
  37. data/client/docs/CreateV1PageReact.md +20 -0
  38. data/client/docs/CustomConfigParameters.md +10 -0
  39. data/client/docs/DefaultApi.md +403 -399
  40. data/client/docs/{DeleteDomainConfig200Response.md → DeleteDomainConfigResponse.md} +2 -2
  41. data/client/docs/{DeleteFeedPostPublic200ResponseAnyOf.md → DeleteFeedPostPublicResponse.md} +2 -2
  42. data/client/docs/{DeleteHashTagRequest.md → DeleteHashTagRequestBody.md} +2 -2
  43. data/client/docs/FComment.md +3 -1
  44. data/client/docs/GetBannedUsersCountResponse.md +20 -0
  45. data/client/docs/GetBannedUsersFromCommentResponse.md +22 -0
  46. data/client/docs/GetCommentBanStatusResponse.md +22 -0
  47. data/client/docs/GetCommentTextResponse.md +20 -0
  48. data/client/docs/GetCommentsForUserResponse.md +18 -0
  49. data/client/docs/{GetDomainConfig200Response.md → GetDomainConfigResponse.md} +2 -2
  50. data/client/docs/{GetDomainConfigs200Response.md → GetDomainConfigsResponse.md} +2 -2
  51. data/client/docs/{GetDomainConfigs200ResponseAnyOf.md → GetDomainConfigsResponseAnyOf.md} +2 -2
  52. data/client/docs/{GetDomainConfigs200ResponseAnyOf1.md → GetDomainConfigsResponseAnyOf1.md} +2 -2
  53. data/client/docs/GetGifsSearchResponse.md +22 -0
  54. data/client/docs/GetGifsTrendingResponse.md +22 -0
  55. data/client/docs/GetPublicPagesResponse.md +22 -0
  56. data/client/docs/{GetSSOUsers200Response.md → GetSSOUsersResponse.md} +2 -2
  57. data/client/docs/GetTenantManualBadgesResponse.md +20 -0
  58. data/client/docs/GetTranslationsResponse.md +20 -0
  59. data/client/docs/GetUserInternalProfileResponse.md +20 -0
  60. data/client/docs/GetUserInternalProfileResponseProfile.md +50 -0
  61. data/client/docs/GetUserManualBadgesResponse.md +20 -0
  62. data/client/docs/GetUserTrustFactorResponse.md +22 -0
  63. data/client/docs/GetV1PageLikes.md +26 -0
  64. data/client/docs/GetV2PageReactUsersResponse.md +20 -0
  65. data/client/docs/GetV2PageReacts.md +22 -0
  66. data/client/docs/GifGetLargeResponse.md +20 -0
  67. data/client/docs/GifSearchInternalError.md +20 -0
  68. data/client/docs/GifSearchResponse.md +20 -0
  69. data/client/docs/GifSearchResponseImagesInnerInner.md +15 -0
  70. data/client/docs/HeaderAccountNotification.md +3 -1
  71. data/client/docs/ImportedAgentApprovalNotificationFrequency.md +15 -0
  72. data/client/docs/LiveEvent.md +2 -0
  73. data/client/docs/ModerationAPIChildCommentsResponse.md +20 -0
  74. data/client/docs/ModerationAPIComment.md +100 -0
  75. data/client/docs/ModerationAPICommentLog.md +24 -0
  76. data/client/docs/ModerationAPICommentResponse.md +20 -0
  77. data/client/docs/ModerationAPICountCommentsResponse.md +20 -0
  78. data/client/docs/ModerationAPIGetCommentIdsResponse.md +22 -0
  79. data/client/docs/ModerationAPIGetCommentsResponse.md +24 -0
  80. data/client/docs/ModerationAPIGetLogsResponse.md +20 -0
  81. data/client/docs/ModerationApi.md +2990 -0
  82. data/client/docs/ModerationCommentSearchResponse.md +20 -0
  83. data/client/docs/ModerationExportResponse.md +20 -0
  84. data/client/docs/ModerationExportStatusResponse.md +24 -0
  85. data/client/docs/ModerationFilter.md +40 -0
  86. data/client/docs/ModerationPageSearchProjected.md +24 -0
  87. data/client/docs/ModerationPageSearchResponse.md +20 -0
  88. data/client/docs/ModerationSiteSearchProjected.md +20 -0
  89. data/client/docs/ModerationSiteSearchResponse.md +20 -0
  90. data/client/docs/ModerationSuggestResponse.md +24 -0
  91. data/client/docs/ModerationUserSearchProjected.md +24 -0
  92. data/client/docs/ModerationUserSearchResponse.md +20 -0
  93. data/client/docs/PageUserEntry.md +24 -0
  94. data/client/docs/PageUsersInfoResponse.md +20 -0
  95. data/client/docs/PageUsersOfflineResponse.md +24 -0
  96. data/client/docs/PageUsersOnlineResponse.md +28 -0
  97. data/client/docs/PagesSortBy.md +15 -0
  98. data/client/docs/PatchDomainConfigResponse.md +24 -0
  99. data/client/docs/PostRemoveCommentResponse.md +20 -0
  100. data/client/docs/PreBanSummary.md +22 -0
  101. data/client/docs/PublicApi.md +1569 -385
  102. data/client/docs/PublicPage.md +26 -0
  103. data/client/docs/PutDomainConfigResponse.md +24 -0
  104. data/client/docs/RemoveCommentActionResponse.md +20 -0
  105. data/client/docs/RemoveUserBadgeResponse.md +20 -0
  106. data/client/docs/{SaveComment200Response.md → SaveCommentsBulkResponse.md} +3 -3
  107. data/client/docs/SearchUsersResult.md +22 -0
  108. data/client/docs/SetCommentApprovedResponse.md +20 -0
  109. data/client/docs/SetCommentTextParams.md +18 -0
  110. data/client/docs/SetCommentTextResponse.md +20 -0
  111. data/client/docs/SetUserTrustFactorResponse.md +20 -0
  112. data/client/docs/TenantBadge.md +58 -0
  113. data/client/docs/TenantPackage.md +15 -1
  114. data/client/docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md +24 -0
  115. data/client/docs/UpdateUserNotificationPageSubscriptionStatusResponse.md +24 -0
  116. data/client/docs/UpdateUserNotificationStatusResponse.md +24 -0
  117. data/client/docs/User.md +2 -0
  118. data/client/docs/UsersListLocation.md +15 -0
  119. data/client/docs/VoteResponse.md +1 -1
  120. data/client/docs/VoteResponseStatus.md +15 -0
  121. data/client/fastcomments-client.gemspec +1 -1
  122. data/client/lib/fastcomments-client/api/default_api.rb +307 -301
  123. data/client/lib/fastcomments-client/api/moderation_api.rb +2828 -0
  124. data/client/lib/fastcomments-client/api/public_api.rb +1467 -281
  125. data/client/lib/fastcomments-client/api_client.rb +3 -7
  126. data/client/lib/fastcomments-client/api_error.rb +1 -1
  127. data/client/lib/fastcomments-client/configuration.rb +1 -1
  128. data/client/lib/fastcomments-client/models/add_domain_config_params.rb +75 -2
  129. data/client/lib/fastcomments-client/models/add_domain_config_response.rb +104 -0
  130. data/client/lib/fastcomments-client/models/{add_domain_config200_response_any_of.rb → add_domain_config_response_any_of.rb} +77 -4
  131. data/client/lib/fastcomments-client/models/add_page_api_response.rb +75 -2
  132. data/client/lib/fastcomments-client/models/add_sso_user_api_response.rb +75 -2
  133. data/client/lib/fastcomments-client/models/adjust_comment_votes_params.rb +237 -0
  134. data/client/lib/fastcomments-client/models/adjust_votes_response.rb +263 -0
  135. data/client/lib/fastcomments-client/models/aggregate_question_results_response.rb +75 -2
  136. data/client/lib/fastcomments-client/models/{add_domain_config200_response.rb → aggregate_response.rb} +6 -5
  137. data/client/lib/fastcomments-client/models/aggregate_time_bucket.rb +1 -1
  138. data/client/lib/fastcomments-client/models/aggregation_api_error.rb +322 -0
  139. data/client/lib/fastcomments-client/models/aggregation_item.rb +75 -2
  140. data/client/lib/fastcomments-client/models/aggregation_op_type.rb +1 -1
  141. data/client/lib/fastcomments-client/models/aggregation_operation.rb +75 -2
  142. data/client/lib/fastcomments-client/models/aggregation_request.rb +75 -2
  143. data/client/lib/fastcomments-client/models/aggregation_request_sort.rb +75 -2
  144. data/client/lib/fastcomments-client/models/aggregation_response.rb +75 -2
  145. data/client/lib/fastcomments-client/models/aggregation_response_stats.rb +75 -2
  146. data/client/lib/fastcomments-client/models/aggregation_value.rb +75 -2
  147. data/client/lib/fastcomments-client/models/api_audit_log.rb +75 -2
  148. data/client/lib/fastcomments-client/models/api_ban_user_change_log.rb +249 -0
  149. data/client/lib/fastcomments-client/models/api_ban_user_changed_values.rb +333 -0
  150. data/client/lib/fastcomments-client/models/api_banned_user.rb +454 -0
  151. data/client/lib/fastcomments-client/models/api_banned_user_with_multi_match_info.rb +375 -0
  152. data/client/lib/fastcomments-client/models/api_comment.rb +91 -18
  153. data/client/lib/fastcomments-client/models/api_comment_base.rb +91 -18
  154. data/client/lib/fastcomments-client/models/api_comment_base_meta.rb +75 -2
  155. data/client/lib/fastcomments-client/models/api_comment_common_banned_user.rb +340 -0
  156. data/client/lib/fastcomments-client/models/api_create_user_badge_response.rb +75 -2
  157. data/client/lib/fastcomments-client/models/api_domain_configuration.rb +75 -2
  158. data/client/lib/fastcomments-client/models/api_empty_response.rb +75 -2
  159. data/client/lib/fastcomments-client/models/api_empty_success_response.rb +75 -2
  160. data/client/lib/fastcomments-client/models/api_error.rb +75 -2
  161. data/client/lib/fastcomments-client/models/api_get_comment_response.rb +75 -2
  162. data/client/lib/fastcomments-client/models/api_get_comments_response.rb +75 -2
  163. data/client/lib/fastcomments-client/models/api_get_user_badge_progress_list_response.rb +75 -2
  164. data/client/lib/fastcomments-client/models/api_get_user_badge_progress_response.rb +75 -2
  165. data/client/lib/fastcomments-client/models/api_get_user_badge_response.rb +75 -2
  166. data/client/lib/fastcomments-client/models/api_get_user_badges_response.rb +75 -2
  167. data/client/lib/fastcomments-client/models/api_moderate_get_user_ban_preferences_response.rb +271 -0
  168. data/client/lib/fastcomments-client/models/api_moderate_user_ban_preferences.rb +315 -0
  169. data/client/lib/fastcomments-client/models/api_page.rb +75 -2
  170. data/client/lib/fastcomments-client/models/{save_comment_response.rb → api_save_comment_response.rb} +78 -5
  171. data/client/lib/fastcomments-client/models/api_status.rb +1 -1
  172. data/client/lib/fastcomments-client/models/api_tenant.rb +75 -2
  173. data/client/lib/fastcomments-client/models/api_tenant_daily_usage.rb +75 -2
  174. data/client/lib/fastcomments-client/models/api_ticket.rb +75 -2
  175. data/client/lib/fastcomments-client/models/api_ticket_detail.rb +75 -2
  176. data/client/lib/fastcomments-client/models/api_ticket_file.rb +75 -2
  177. data/client/lib/fastcomments-client/models/api_user_subscription.rb +75 -2
  178. data/client/lib/fastcomments-client/models/apisso_user.rb +75 -2
  179. data/client/lib/fastcomments-client/models/award_user_badge_response.rb +281 -0
  180. data/client/lib/fastcomments-client/models/ban_user_from_comment_result.rb +264 -0
  181. data/client/lib/fastcomments-client/models/ban_user_undo_params.rb +237 -0
  182. data/client/lib/fastcomments-client/models/banned_user_match.rb +271 -0
  183. data/client/lib/fastcomments-client/models/{record_string_string_or_number_value.rb → banned_user_match_matched_on_value.rb} +4 -3
  184. data/client/lib/fastcomments-client/models/banned_user_match_type.rb +42 -0
  185. data/client/lib/fastcomments-client/models/billing_info.rb +75 -2
  186. data/client/lib/fastcomments-client/models/block_from_comment_params.rb +75 -2
  187. data/client/lib/fastcomments-client/models/block_success.rb +75 -2
  188. data/client/lib/fastcomments-client/models/build_moderation_filter_params.rb +290 -0
  189. data/client/lib/fastcomments-client/models/build_moderation_filter_response.rb +263 -0
  190. data/client/lib/fastcomments-client/models/bulk_aggregate_question_item.rb +75 -2
  191. data/client/lib/fastcomments-client/models/bulk_aggregate_question_results_request.rb +75 -2
  192. data/client/lib/fastcomments-client/models/bulk_aggregate_question_results_response.rb +75 -2
  193. data/client/lib/fastcomments-client/models/bulk_create_hash_tags_body.rb +75 -2
  194. data/client/lib/fastcomments-client/models/bulk_create_hash_tags_body_tags_inner.rb +75 -2
  195. data/client/lib/fastcomments-client/models/bulk_create_hash_tags_response.rb +76 -3
  196. data/client/lib/fastcomments-client/models/{add_hash_tag200_response.rb → bulk_create_hash_tags_response_results_inner.rb} +4 -3
  197. data/client/lib/fastcomments-client/models/bulk_pre_ban_params.rb +239 -0
  198. data/client/lib/fastcomments-client/models/bulk_pre_ban_summary.rb +375 -0
  199. data/client/lib/fastcomments-client/models/change_comment_pin_status_response.rb +75 -2
  200. data/client/lib/fastcomments-client/models/change_ticket_state_body.rb +75 -2
  201. data/client/lib/fastcomments-client/models/change_ticket_state_response.rb +75 -2
  202. data/client/lib/fastcomments-client/models/check_blocked_comments_response.rb +75 -2
  203. data/client/lib/fastcomments-client/models/combine_question_results_with_comments_response.rb +75 -2
  204. data/client/lib/fastcomments-client/models/comment_data.rb +89 -7
  205. data/client/lib/fastcomments-client/models/comment_html_rendering_mode.rb +1 -1
  206. data/client/lib/fastcomments-client/models/comment_log_data.rb +85 -3
  207. data/client/lib/fastcomments-client/models/comment_log_entry.rb +75 -2
  208. data/client/lib/fastcomments-client/models/comment_log_type.rb +1 -1
  209. data/client/lib/fastcomments-client/models/comment_question_results_rendering_type.rb +1 -1
  210. data/client/lib/fastcomments-client/models/comment_questions_required.rb +1 -1
  211. data/client/lib/fastcomments-client/models/comment_text_update_request.rb +75 -2
  212. data/client/lib/fastcomments-client/models/comment_thread_deletion_mode.rb +1 -1
  213. data/client/lib/fastcomments-client/models/comment_user_badge_info.rb +75 -2
  214. data/client/lib/fastcomments-client/models/comment_user_hash_tag_info.rb +75 -2
  215. data/client/lib/fastcomments-client/models/comment_user_mention_info.rb +75 -2
  216. data/client/lib/fastcomments-client/models/commenter_name_formats.rb +1 -1
  217. data/client/lib/fastcomments-client/models/comments_by_ids_params.rb +239 -0
  218. data/client/lib/fastcomments-client/models/create_api_page_data.rb +75 -2
  219. data/client/lib/fastcomments-client/models/create_api_user_subscription_data.rb +75 -2
  220. data/client/lib/fastcomments-client/models/create_apisso_user_data.rb +75 -2
  221. data/client/lib/fastcomments-client/models/create_comment_params.rb +86 -4
  222. data/client/lib/fastcomments-client/models/create_email_template_body.rb +75 -2
  223. data/client/lib/fastcomments-client/models/create_email_template_response.rb +75 -2
  224. data/client/lib/fastcomments-client/models/create_feed_post_params.rb +75 -2
  225. data/client/lib/fastcomments-client/models/create_feed_post_response.rb +75 -2
  226. data/client/lib/fastcomments-client/models/create_feed_posts_response.rb +75 -2
  227. data/client/lib/fastcomments-client/models/create_hash_tag_body.rb +75 -2
  228. data/client/lib/fastcomments-client/models/create_hash_tag_response.rb +75 -2
  229. data/client/lib/fastcomments-client/models/create_moderator_body.rb +75 -2
  230. data/client/lib/fastcomments-client/models/create_moderator_response.rb +75 -2
  231. data/client/lib/fastcomments-client/models/create_question_config_body.rb +75 -2
  232. data/client/lib/fastcomments-client/models/create_question_config_response.rb +75 -2
  233. data/client/lib/fastcomments-client/models/create_question_result_body.rb +75 -2
  234. data/client/lib/fastcomments-client/models/create_question_result_response.rb +75 -2
  235. data/client/lib/fastcomments-client/models/create_subscription_api_response.rb +75 -2
  236. data/client/lib/fastcomments-client/models/create_tenant_body.rb +75 -2
  237. data/client/lib/fastcomments-client/models/create_tenant_package_body.rb +88 -15
  238. data/client/lib/fastcomments-client/models/create_tenant_package_response.rb +75 -2
  239. data/client/lib/fastcomments-client/models/create_tenant_response.rb +75 -2
  240. data/client/lib/fastcomments-client/models/create_tenant_user_body.rb +75 -2
  241. data/client/lib/fastcomments-client/models/create_tenant_user_response.rb +75 -2
  242. data/client/lib/fastcomments-client/models/create_ticket_body.rb +75 -2
  243. data/client/lib/fastcomments-client/models/create_ticket_response.rb +75 -2
  244. data/client/lib/fastcomments-client/models/create_user_badge_params.rb +75 -2
  245. data/client/lib/fastcomments-client/models/create_v1_page_react.rb +268 -0
  246. data/client/lib/fastcomments-client/models/custom_config_parameters.rb +124 -3
  247. data/client/lib/fastcomments-client/models/custom_email_template.rb +75 -2
  248. data/client/lib/fastcomments-client/models/delete_comment_action.rb +1 -1
  249. data/client/lib/fastcomments-client/models/delete_comment_result.rb +75 -2
  250. data/client/lib/fastcomments-client/models/delete_domain_config_response.rb +223 -0
  251. data/client/lib/fastcomments-client/models/{delete_feed_post_public200_response_any_of.rb → delete_feed_post_public_response.rb} +77 -4
  252. data/client/lib/fastcomments-client/models/{delete_hash_tag_request.rb → delete_hash_tag_request_body.rb} +77 -4
  253. data/client/lib/fastcomments-client/models/delete_page_api_response.rb +75 -2
  254. data/client/lib/fastcomments-client/models/delete_sso_user_api_response.rb +75 -2
  255. data/client/lib/fastcomments-client/models/delete_subscription_api_response.rb +75 -2
  256. data/client/lib/fastcomments-client/models/deleted_comment_result_comment.rb +75 -2
  257. data/client/lib/fastcomments-client/models/digest_email_frequency.rb +1 -1
  258. data/client/lib/fastcomments-client/models/email_template_definition.rb +75 -2
  259. data/client/lib/fastcomments-client/models/email_template_render_error_response.rb +75 -2
  260. data/client/lib/fastcomments-client/models/event_log_entry.rb +75 -2
  261. data/client/lib/fastcomments-client/models/f_comment.rb +88 -6
  262. data/client/lib/fastcomments-client/models/f_comment_meta.rb +75 -2
  263. data/client/lib/fastcomments-client/models/feed_post.rb +75 -2
  264. data/client/lib/fastcomments-client/models/feed_post_link.rb +75 -2
  265. data/client/lib/fastcomments-client/models/feed_post_media_item.rb +75 -2
  266. data/client/lib/fastcomments-client/models/feed_post_media_item_asset.rb +75 -2
  267. data/client/lib/fastcomments-client/models/feed_post_stats.rb +75 -2
  268. data/client/lib/fastcomments-client/models/feed_posts_stats_response.rb +75 -2
  269. data/client/lib/fastcomments-client/models/find_comments_by_range_item.rb +75 -2
  270. data/client/lib/fastcomments-client/models/find_comments_by_range_response.rb +75 -2
  271. data/client/lib/fastcomments-client/models/flag_comment_response.rb +75 -2
  272. data/client/lib/fastcomments-client/models/get_audit_logs_response.rb +75 -2
  273. data/client/lib/fastcomments-client/models/get_banned_users_count_response.rb +263 -0
  274. data/client/lib/fastcomments-client/models/get_banned_users_from_comment_response.rb +308 -0
  275. data/client/lib/fastcomments-client/models/get_cached_notification_count_response.rb +75 -2
  276. data/client/lib/fastcomments-client/models/get_comment_ban_status_response.rb +261 -0
  277. data/client/lib/fastcomments-client/models/get_comment_text_response.rb +269 -0
  278. data/client/lib/fastcomments-client/models/get_comment_vote_user_names_success_response.rb +75 -2
  279. data/client/lib/fastcomments-client/models/get_comments_for_user_response.rb +222 -0
  280. data/client/lib/fastcomments-client/models/get_comments_response_public_comment.rb +75 -2
  281. data/client/lib/fastcomments-client/models/get_comments_response_with_presence_public_comment.rb +75 -2
  282. data/client/lib/fastcomments-client/models/get_domain_config_response.rb +104 -0
  283. data/client/lib/fastcomments-client/models/get_domain_configs_response.rb +104 -0
  284. data/client/lib/fastcomments-client/models/{get_domain_configs200_response_any_of.rb → get_domain_configs_response_any_of.rb} +77 -4
  285. data/client/lib/fastcomments-client/models/{get_domain_configs200_response_any_of1.rb → get_domain_configs_response_any_of1.rb} +77 -4
  286. data/client/lib/fastcomments-client/models/get_email_template_definitions_response.rb +75 -2
  287. data/client/lib/fastcomments-client/models/get_email_template_render_errors_response.rb +75 -2
  288. data/client/lib/fastcomments-client/models/get_email_template_response.rb +75 -2
  289. data/client/lib/fastcomments-client/models/get_email_templates_response.rb +75 -2
  290. data/client/lib/fastcomments-client/models/get_event_log_response.rb +75 -2
  291. data/client/lib/fastcomments-client/models/get_feed_posts_response.rb +75 -2
  292. data/client/lib/fastcomments-client/models/{add_hash_tags_bulk200_response.rb → get_gifs_search_response.rb} +6 -5
  293. data/client/lib/fastcomments-client/models/get_gifs_trending_response.rb +104 -0
  294. data/client/lib/fastcomments-client/models/get_hash_tags_response.rb +75 -2
  295. data/client/lib/fastcomments-client/models/get_moderator_response.rb +75 -2
  296. data/client/lib/fastcomments-client/models/get_moderators_response.rb +75 -2
  297. data/client/lib/fastcomments-client/models/get_my_notifications_response.rb +75 -2
  298. data/client/lib/fastcomments-client/models/get_notification_count_response.rb +75 -2
  299. data/client/lib/fastcomments-client/models/get_notifications_response.rb +75 -2
  300. data/client/lib/fastcomments-client/models/get_page_by_urlid_api_response.rb +75 -2
  301. data/client/lib/fastcomments-client/models/get_pages_api_response.rb +75 -2
  302. data/client/lib/fastcomments-client/models/get_pending_webhook_event_count_response.rb +75 -2
  303. data/client/lib/fastcomments-client/models/get_pending_webhook_events_response.rb +75 -2
  304. data/client/lib/fastcomments-client/models/get_public_feed_posts_response.rb +75 -2
  305. data/client/lib/fastcomments-client/models/get_public_pages_response.rb +299 -0
  306. data/client/lib/fastcomments-client/models/get_question_config_response.rb +75 -2
  307. data/client/lib/fastcomments-client/models/get_question_configs_response.rb +75 -2
  308. data/client/lib/fastcomments-client/models/get_question_result_response.rb +75 -2
  309. data/client/lib/fastcomments-client/models/get_question_results_response.rb +75 -2
  310. data/client/lib/fastcomments-client/models/get_sso_user_by_email_api_response.rb +75 -2
  311. data/client/lib/fastcomments-client/models/get_sso_user_by_id_api_response.rb +75 -2
  312. data/client/lib/fastcomments-client/models/{get_sso_users200_response.rb → get_sso_users_response.rb} +77 -4
  313. data/client/lib/fastcomments-client/models/get_subscriptions_api_response.rb +75 -2
  314. data/client/lib/fastcomments-client/models/get_tenant_daily_usages_response.rb +75 -2
  315. data/client/lib/fastcomments-client/models/get_tenant_manual_badges_response.rb +287 -0
  316. data/client/lib/fastcomments-client/models/get_tenant_package_response.rb +75 -2
  317. data/client/lib/fastcomments-client/models/get_tenant_packages_response.rb +75 -2
  318. data/client/lib/fastcomments-client/models/get_tenant_response.rb +75 -2
  319. data/client/lib/fastcomments-client/models/get_tenant_user_response.rb +75 -2
  320. data/client/lib/fastcomments-client/models/get_tenant_users_response.rb +75 -2
  321. data/client/lib/fastcomments-client/models/get_tenants_response.rb +75 -2
  322. data/client/lib/fastcomments-client/models/get_ticket_response.rb +75 -2
  323. data/client/lib/fastcomments-client/models/get_tickets_response.rb +75 -2
  324. data/client/lib/fastcomments-client/models/get_translations_response.rb +288 -0
  325. data/client/lib/fastcomments-client/models/get_user_internal_profile_response.rb +285 -0
  326. data/client/lib/fastcomments-client/models/get_user_internal_profile_response_profile.rb +371 -0
  327. data/client/lib/fastcomments-client/models/get_user_manual_badges_response.rb +287 -0
  328. data/client/lib/fastcomments-client/models/get_user_notification_count_response.rb +75 -2
  329. data/client/lib/fastcomments-client/models/get_user_presence_statuses_response.rb +75 -2
  330. data/client/lib/fastcomments-client/models/get_user_response.rb +75 -2
  331. data/client/lib/fastcomments-client/models/get_user_trust_factor_response.rb +277 -0
  332. data/client/lib/fastcomments-client/models/get_v1_page_likes.rb +363 -0
  333. data/client/lib/fastcomments-client/models/get_v2_page_react_users_response.rb +287 -0
  334. data/client/lib/fastcomments-client/models/get_v2_page_reacts.rb +282 -0
  335. data/client/lib/fastcomments-client/models/get_votes_for_user_response.rb +75 -2
  336. data/client/lib/fastcomments-client/models/get_votes_response.rb +75 -2
  337. data/client/lib/fastcomments-client/models/gif_get_large_response.rb +285 -0
  338. data/client/lib/fastcomments-client/models/gif_rating.rb +1 -1
  339. data/client/lib/fastcomments-client/models/gif_search_internal_error.rb +285 -0
  340. data/client/lib/fastcomments-client/models/gif_search_response.rb +287 -0
  341. data/client/lib/fastcomments-client/models/{block_from_comment_public200_response.rb → gif_search_response_images_inner_inner.rb} +6 -5
  342. data/client/lib/fastcomments-client/models/header_account_notification.rb +90 -6
  343. data/client/lib/fastcomments-client/models/header_state.rb +75 -2
  344. data/client/lib/fastcomments-client/models/ignored_response.rb +75 -2
  345. data/client/lib/fastcomments-client/models/image_content_profanity_level.rb +1 -1
  346. data/client/lib/fastcomments-client/models/imported_agent_approval_notification_frequency.rb +42 -0
  347. data/client/lib/fastcomments-client/models/imported_site_type.rb +1 -1
  348. data/client/lib/fastcomments-client/models/live_event.rb +85 -3
  349. data/client/lib/fastcomments-client/models/live_event_extra_info.rb +75 -2
  350. data/client/lib/fastcomments-client/models/live_event_type.rb +8 -2
  351. data/client/lib/fastcomments-client/models/media_asset.rb +75 -2
  352. data/client/lib/fastcomments-client/models/mention_auto_complete_mode.rb +1 -1
  353. data/client/lib/fastcomments-client/models/meta_item.rb +75 -2
  354. data/client/lib/fastcomments-client/models/moderation_api_child_comments_response.rb +287 -0
  355. data/client/lib/fastcomments-client/models/moderation_api_comment.rb +753 -0
  356. data/client/lib/fastcomments-client/models/moderation_api_comment_log.rb +298 -0
  357. data/client/lib/fastcomments-client/models/moderation_api_comment_response.rb +285 -0
  358. data/client/lib/fastcomments-client/models/moderation_api_count_comments_response.rb +285 -0
  359. data/client/lib/fastcomments-client/models/moderation_api_get_comment_ids_response.rb +313 -0
  360. data/client/lib/fastcomments-client/models/moderation_api_get_comments_response.rb +322 -0
  361. data/client/lib/fastcomments-client/models/moderation_api_get_logs_response.rb +287 -0
  362. data/client/lib/fastcomments-client/models/moderation_comment_search_response.rb +285 -0
  363. data/client/lib/fastcomments-client/models/moderation_export_response.rb +263 -0
  364. data/client/lib/fastcomments-client/models/moderation_export_status_response.rb +298 -0
  365. data/client/lib/fastcomments-client/models/moderation_filter.rb +325 -0
  366. data/client/lib/fastcomments-client/models/moderation_page_search_projected.rb +315 -0
  367. data/client/lib/fastcomments-client/models/moderation_page_search_response.rb +287 -0
  368. data/client/lib/fastcomments-client/models/moderation_site_search_projected.rb +247 -0
  369. data/client/lib/fastcomments-client/models/moderation_site_search_response.rb +287 -0
  370. data/client/lib/fastcomments-client/models/moderation_suggest_response.rb +268 -0
  371. data/client/lib/fastcomments-client/models/moderation_user_search_projected.rb +283 -0
  372. data/client/lib/fastcomments-client/models/moderation_user_search_response.rb +287 -0
  373. data/client/lib/fastcomments-client/models/moderator.rb +75 -2
  374. data/client/lib/fastcomments-client/models/notification_and_count.rb +75 -2
  375. data/client/lib/fastcomments-client/models/notification_object_type.rb +1 -1
  376. data/client/lib/fastcomments-client/models/notification_type.rb +1 -1
  377. data/client/lib/fastcomments-client/models/page_user_entry.rb +281 -0
  378. data/client/lib/fastcomments-client/models/page_users_info_response.rb +287 -0
  379. data/client/lib/fastcomments-client/models/page_users_offline_response.rb +311 -0
  380. data/client/lib/fastcomments-client/models/page_users_online_response.rb +363 -0
  381. data/client/lib/fastcomments-client/models/pages_sort_by.rb +41 -0
  382. data/client/lib/fastcomments-client/models/patch_domain_config_params.rb +75 -2
  383. data/client/lib/fastcomments-client/models/patch_domain_config_response.rb +104 -0
  384. data/client/lib/fastcomments-client/models/patch_page_api_response.rb +75 -2
  385. data/client/lib/fastcomments-client/models/patch_sso_user_api_response.rb +75 -2
  386. data/client/lib/fastcomments-client/models/pending_comment_to_sync_outbound.rb +75 -2
  387. data/client/lib/fastcomments-client/models/post_remove_comment_response.rb +104 -0
  388. data/client/lib/fastcomments-client/models/pre_ban_summary.rb +313 -0
  389. data/client/lib/fastcomments-client/models/pub_sub_comment.rb +75 -2
  390. data/client/lib/fastcomments-client/models/pub_sub_comment_base.rb +75 -2
  391. data/client/lib/fastcomments-client/models/pub_sub_vote.rb +75 -2
  392. data/client/lib/fastcomments-client/models/public_api_delete_comment_response.rb +75 -2
  393. data/client/lib/fastcomments-client/models/public_api_get_comment_text_response.rb +75 -2
  394. data/client/lib/fastcomments-client/models/public_api_set_comment_text_response.rb +75 -2
  395. data/client/lib/fastcomments-client/models/public_block_from_comment_params.rb +75 -2
  396. data/client/lib/fastcomments-client/models/public_comment.rb +75 -2
  397. data/client/lib/fastcomments-client/models/public_comment_base.rb +75 -2
  398. data/client/lib/fastcomments-client/models/public_feed_posts_response.rb +75 -2
  399. data/client/lib/fastcomments-client/models/public_page.rb +341 -0
  400. data/client/lib/fastcomments-client/models/public_vote.rb +75 -2
  401. data/client/lib/fastcomments-client/models/put_domain_config_response.rb +104 -0
  402. data/client/lib/fastcomments-client/models/put_sso_user_api_response.rb +75 -2
  403. data/client/lib/fastcomments-client/models/query_predicate.rb +75 -2
  404. data/client/lib/fastcomments-client/models/query_predicate_value.rb +3 -2
  405. data/client/lib/fastcomments-client/models/question_config.rb +75 -2
  406. data/client/lib/fastcomments-client/models/question_config_custom_options_inner.rb +75 -2
  407. data/client/lib/fastcomments-client/models/question_datum.rb +75 -2
  408. data/client/lib/fastcomments-client/models/question_rendering_type.rb +1 -1
  409. data/client/lib/fastcomments-client/models/question_result.rb +75 -2
  410. data/client/lib/fastcomments-client/models/question_result_aggregation_overall.rb +75 -2
  411. data/client/lib/fastcomments-client/models/question_sub_question_visibility.rb +1 -1
  412. data/client/lib/fastcomments-client/models/question_when_save.rb +1 -1
  413. data/client/lib/fastcomments-client/models/react_body_params.rb +75 -2
  414. data/client/lib/fastcomments-client/models/react_feed_post_response.rb +75 -2
  415. data/client/lib/fastcomments-client/models/record_string_before_string_or_null_after_string_or_null_value.rb +77 -32
  416. data/client/lib/fastcomments-client/models/remove_comment_action_response.rb +263 -0
  417. data/client/lib/fastcomments-client/models/remove_user_badge_response.rb +270 -0
  418. data/client/lib/fastcomments-client/models/render_email_template_body.rb +75 -2
  419. data/client/lib/fastcomments-client/models/render_email_template_response.rb +75 -2
  420. data/client/lib/fastcomments-client/models/renderable_user_notification.rb +75 -2
  421. data/client/lib/fastcomments-client/models/repeat_comment_check_ignored_reason.rb +1 -1
  422. data/client/lib/fastcomments-client/models/repeat_comment_handling_action.rb +1 -1
  423. data/client/lib/fastcomments-client/models/replace_tenant_package_body.rb +75 -2
  424. data/client/lib/fastcomments-client/models/replace_tenant_user_body.rb +75 -2
  425. data/client/lib/fastcomments-client/models/reset_user_notifications_response.rb +75 -2
  426. data/client/lib/fastcomments-client/models/save_comment_response_optimized.rb +75 -2
  427. data/client/lib/fastcomments-client/models/{aggregate_question_results200_response.rb → save_comments_bulk_response.rb} +5 -4
  428. data/client/lib/fastcomments-client/models/save_comments_response_with_presence.rb +75 -2
  429. data/client/lib/fastcomments-client/models/search_users_response.rb +75 -2
  430. data/client/lib/fastcomments-client/models/{search_users200_response.rb → search_users_result.rb} +4 -4
  431. data/client/lib/fastcomments-client/models/search_users_sectioned_response.rb +75 -2
  432. data/client/lib/fastcomments-client/models/set_comment_approved_response.rb +268 -0
  433. data/client/lib/fastcomments-client/models/set_comment_text_params.rb +237 -0
  434. data/client/lib/fastcomments-client/models/set_comment_text_response.rb +285 -0
  435. data/client/lib/fastcomments-client/models/set_comment_text_result.rb +75 -2
  436. data/client/lib/fastcomments-client/models/set_user_trust_factor_response.rb +268 -0
  437. data/client/lib/fastcomments-client/models/size_preset.rb +1 -1
  438. data/client/lib/fastcomments-client/models/sort_directions.rb +1 -1
  439. data/client/lib/fastcomments-client/models/sortdir.rb +1 -1
  440. data/client/lib/fastcomments-client/models/spam_rule.rb +75 -2
  441. data/client/lib/fastcomments-client/models/sso_security_level.rb +1 -1
  442. data/client/lib/fastcomments-client/models/tenant_badge.rb +637 -0
  443. data/client/lib/fastcomments-client/models/tenant_hash_tag.rb +75 -2
  444. data/client/lib/fastcomments-client/models/tenant_package.rb +142 -6
  445. data/client/lib/fastcomments-client/models/tos_config.rb +75 -2
  446. data/client/lib/fastcomments-client/models/un_block_from_comment_params.rb +75 -2
  447. data/client/lib/fastcomments-client/models/unblock_success.rb +75 -2
  448. data/client/lib/fastcomments-client/models/updatable_comment_params.rb +75 -2
  449. data/client/lib/fastcomments-client/models/update_api_page_data.rb +75 -2
  450. data/client/lib/fastcomments-client/models/update_api_user_subscription_data.rb +75 -2
  451. data/client/lib/fastcomments-client/models/update_apisso_user_data.rb +75 -2
  452. data/client/lib/fastcomments-client/models/update_domain_config_params.rb +75 -2
  453. data/client/lib/fastcomments-client/models/update_email_template_body.rb +75 -2
  454. data/client/lib/fastcomments-client/models/update_feed_post_params.rb +75 -2
  455. data/client/lib/fastcomments-client/models/update_hash_tag_body.rb +75 -2
  456. data/client/lib/fastcomments-client/models/update_hash_tag_response.rb +75 -2
  457. data/client/lib/fastcomments-client/models/update_moderator_body.rb +75 -2
  458. data/client/lib/fastcomments-client/models/update_notification_body.rb +75 -2
  459. data/client/lib/fastcomments-client/models/update_question_config_body.rb +75 -2
  460. data/client/lib/fastcomments-client/models/update_question_result_body.rb +75 -2
  461. data/client/lib/fastcomments-client/models/update_subscription_api_response.rb +75 -2
  462. data/client/lib/fastcomments-client/models/update_tenant_body.rb +75 -2
  463. data/client/lib/fastcomments-client/models/update_tenant_package_body.rb +75 -2
  464. data/client/lib/fastcomments-client/models/update_tenant_user_body.rb +75 -2
  465. data/client/lib/fastcomments-client/models/update_user_badge_params.rb +75 -2
  466. data/client/lib/fastcomments-client/models/update_user_notification_comment_subscription_status_response.rb +104 -0
  467. data/client/lib/fastcomments-client/models/update_user_notification_page_subscription_status_response.rb +104 -0
  468. data/client/lib/fastcomments-client/models/{update_user_notification_status200_response.rb → update_user_notification_status_response.rb} +4 -4
  469. data/client/lib/fastcomments-client/models/upload_image_response.rb +75 -2
  470. data/client/lib/fastcomments-client/models/user.rb +85 -3
  471. data/client/lib/fastcomments-client/models/user_badge.rb +75 -2
  472. data/client/lib/fastcomments-client/models/user_badge_progress.rb +75 -2
  473. data/client/lib/fastcomments-client/models/user_notification.rb +75 -2
  474. data/client/lib/fastcomments-client/models/user_notification_count.rb +75 -2
  475. data/client/lib/fastcomments-client/models/user_notification_write_response.rb +75 -2
  476. data/client/lib/fastcomments-client/models/user_presence_data.rb +75 -2
  477. data/client/lib/fastcomments-client/models/user_reacts_response.rb +75 -2
  478. data/client/lib/fastcomments-client/models/user_search_result.rb +75 -2
  479. data/client/lib/fastcomments-client/models/user_search_section.rb +1 -1
  480. data/client/lib/fastcomments-client/models/user_search_section_result.rb +75 -2
  481. data/client/lib/fastcomments-client/models/user_session_info.rb +75 -2
  482. data/client/lib/fastcomments-client/models/users_list_location.rb +42 -0
  483. data/client/lib/fastcomments-client/models/vote_body_params.rb +75 -2
  484. data/client/lib/fastcomments-client/models/vote_delete_response.rb +75 -2
  485. data/client/lib/fastcomments-client/models/vote_response.rb +81 -32
  486. data/client/lib/fastcomments-client/models/{change_ticket_state200_response.rb → vote_response_status.rb} +6 -5
  487. data/client/lib/fastcomments-client/models/vote_response_user.rb +75 -2
  488. data/client/lib/fastcomments-client/models/vote_style.rb +1 -1
  489. data/client/lib/fastcomments-client/version.rb +2 -2
  490. data/client/lib/fastcomments-client.rb +102 -99
  491. data/client/spec/api/default_api_spec.rb +103 -101
  492. data/client/spec/api/moderation_api_spec.rb +559 -0
  493. data/client/spec/api/public_api_spec.rb +253 -37
  494. data/client/spec/models/add_domain_config_params_spec.rb +2 -2
  495. data/client/spec/models/{add_domain_config200_response_any_of_spec.rb → add_domain_config_response_any_of_spec.rb} +7 -7
  496. data/client/spec/models/{get_votes200_response_spec.rb → add_domain_config_response_spec.rb} +3 -3
  497. data/client/spec/models/add_page_api_response_spec.rb +2 -2
  498. data/client/spec/models/add_sso_user_api_response_spec.rb +2 -2
  499. data/client/spec/models/adjust_comment_votes_params_spec.rb +36 -0
  500. data/client/spec/models/adjust_votes_response_spec.rb +42 -0
  501. data/client/spec/models/aggregate_question_results_response_spec.rb +2 -2
  502. data/client/spec/models/{get_user200_response_spec.rb → aggregate_response_spec.rb} +3 -3
  503. data/client/spec/models/aggregate_time_bucket_spec.rb +2 -2
  504. data/client/spec/models/aggregation_api_error_spec.rb +54 -0
  505. data/client/spec/models/aggregation_item_spec.rb +2 -2
  506. data/client/spec/models/aggregation_op_type_spec.rb +2 -2
  507. data/client/spec/models/aggregation_operation_spec.rb +2 -2
  508. data/client/spec/models/aggregation_request_sort_spec.rb +2 -2
  509. data/client/spec/models/aggregation_request_spec.rb +2 -2
  510. data/client/spec/models/aggregation_response_spec.rb +2 -2
  511. data/client/spec/models/aggregation_response_stats_spec.rb +2 -2
  512. data/client/spec/models/aggregation_value_spec.rb +2 -2
  513. data/client/spec/models/api_audit_log_spec.rb +2 -2
  514. data/client/spec/models/api_ban_user_change_log_spec.rb +54 -0
  515. data/client/spec/models/api_ban_user_changed_values_spec.rb +108 -0
  516. data/client/spec/models/api_banned_user_spec.rb +108 -0
  517. data/client/spec/models/api_banned_user_with_multi_match_info_spec.rb +84 -0
  518. data/client/spec/models/api_comment_base_meta_spec.rb +2 -2
  519. data/client/spec/models/api_comment_base_spec.rb +3 -3
  520. data/client/spec/models/api_comment_common_banned_user_spec.rb +78 -0
  521. data/client/spec/models/api_comment_spec.rb +3 -3
  522. data/client/spec/models/api_create_user_badge_response_spec.rb +2 -2
  523. data/client/spec/models/api_domain_configuration_spec.rb +2 -2
  524. data/client/spec/models/api_empty_response_spec.rb +2 -2
  525. data/client/spec/models/api_empty_success_response_spec.rb +2 -2
  526. data/client/spec/models/api_error_spec.rb +2 -2
  527. data/client/spec/models/api_get_comment_response_spec.rb +2 -2
  528. data/client/spec/models/api_get_comments_response_spec.rb +2 -2
  529. data/client/spec/models/api_get_user_badge_progress_list_response_spec.rb +2 -2
  530. data/client/spec/models/api_get_user_badge_progress_response_spec.rb +2 -2
  531. data/client/spec/models/api_get_user_badge_response_spec.rb +2 -2
  532. data/client/spec/models/api_get_user_badges_response_spec.rb +2 -2
  533. data/client/spec/models/api_moderate_get_user_ban_preferences_response_spec.rb +42 -0
  534. data/client/spec/models/api_moderate_user_ban_preferences_spec.rb +54 -0
  535. data/client/spec/models/api_page_spec.rb +2 -2
  536. data/client/spec/models/{save_comment_response_spec.rb → api_save_comment_response_spec.rb} +7 -7
  537. data/client/spec/models/api_status_spec.rb +2 -2
  538. data/client/spec/models/api_tenant_daily_usage_spec.rb +2 -2
  539. data/client/spec/models/api_tenant_spec.rb +2 -2
  540. data/client/spec/models/api_ticket_detail_spec.rb +2 -2
  541. data/client/spec/models/api_ticket_file_spec.rb +2 -2
  542. data/client/spec/models/api_ticket_spec.rb +2 -2
  543. data/client/spec/models/api_user_subscription_spec.rb +2 -2
  544. data/client/spec/models/apisso_user_spec.rb +2 -2
  545. data/client/spec/models/award_user_badge_response_spec.rb +48 -0
  546. data/client/spec/models/ban_user_from_comment_result_spec.rb +54 -0
  547. data/client/spec/models/ban_user_undo_params_spec.rb +36 -0
  548. data/client/spec/models/{create_tenant200_response_spec.rb → banned_user_match_matched_on_value_spec.rb} +3 -3
  549. data/client/spec/models/banned_user_match_spec.rb +42 -0
  550. data/client/spec/models/banned_user_match_type_spec.rb +30 -0
  551. data/client/spec/models/billing_info_spec.rb +2 -2
  552. data/client/spec/models/block_from_comment_params_spec.rb +2 -2
  553. data/client/spec/models/block_success_spec.rb +2 -2
  554. data/client/spec/models/build_moderation_filter_params_spec.rb +60 -0
  555. data/client/spec/models/build_moderation_filter_response_spec.rb +42 -0
  556. data/client/spec/models/bulk_aggregate_question_item_spec.rb +2 -2
  557. data/client/spec/models/bulk_aggregate_question_results_request_spec.rb +2 -2
  558. data/client/spec/models/bulk_aggregate_question_results_response_spec.rb +2 -2
  559. data/client/spec/models/bulk_create_hash_tags_body_spec.rb +2 -2
  560. data/client/spec/models/bulk_create_hash_tags_body_tags_inner_spec.rb +2 -2
  561. data/client/spec/models/{add_hash_tag200_response_spec.rb → bulk_create_hash_tags_response_results_inner_spec.rb} +3 -3
  562. data/client/spec/models/bulk_create_hash_tags_response_spec.rb +2 -2
  563. data/client/spec/models/bulk_pre_ban_params_spec.rb +36 -0
  564. data/client/spec/models/bulk_pre_ban_summary_spec.rb +66 -0
  565. data/client/spec/models/change_comment_pin_status_response_spec.rb +2 -2
  566. data/client/spec/models/change_ticket_state_body_spec.rb +2 -2
  567. data/client/spec/models/change_ticket_state_response_spec.rb +2 -2
  568. data/client/spec/models/check_blocked_comments_response_spec.rb +2 -2
  569. data/client/spec/models/combine_question_results_with_comments_response_spec.rb +2 -2
  570. data/client/spec/models/comment_data_spec.rb +8 -2
  571. data/client/spec/models/comment_html_rendering_mode_spec.rb +2 -2
  572. data/client/spec/models/comment_log_data_spec.rb +8 -2
  573. data/client/spec/models/comment_log_entry_spec.rb +2 -2
  574. data/client/spec/models/comment_log_type_spec.rb +2 -2
  575. data/client/spec/models/comment_question_results_rendering_type_spec.rb +2 -2
  576. data/client/spec/models/comment_questions_required_spec.rb +2 -2
  577. data/client/spec/models/comment_text_update_request_spec.rb +2 -2
  578. data/client/spec/models/comment_thread_deletion_mode_spec.rb +2 -2
  579. data/client/spec/models/comment_user_badge_info_spec.rb +2 -2
  580. data/client/spec/models/comment_user_hash_tag_info_spec.rb +2 -2
  581. data/client/spec/models/comment_user_mention_info_spec.rb +2 -2
  582. data/client/spec/models/commenter_name_formats_spec.rb +2 -2
  583. data/client/spec/models/comments_by_ids_params_spec.rb +36 -0
  584. data/client/spec/models/create_api_page_data_spec.rb +2 -2
  585. data/client/spec/models/create_api_user_subscription_data_spec.rb +2 -2
  586. data/client/spec/models/create_apisso_user_data_spec.rb +2 -2
  587. data/client/spec/models/create_comment_params_spec.rb +8 -2
  588. data/client/spec/models/create_email_template_body_spec.rb +2 -2
  589. data/client/spec/models/create_email_template_response_spec.rb +2 -2
  590. data/client/spec/models/create_feed_post_params_spec.rb +2 -2
  591. data/client/spec/models/create_feed_post_response_spec.rb +2 -2
  592. data/client/spec/models/create_feed_posts_response_spec.rb +2 -2
  593. data/client/spec/models/create_hash_tag_body_spec.rb +2 -2
  594. data/client/spec/models/create_hash_tag_response_spec.rb +2 -2
  595. data/client/spec/models/create_moderator_body_spec.rb +2 -2
  596. data/client/spec/models/create_moderator_response_spec.rb +2 -2
  597. data/client/spec/models/create_question_config_body_spec.rb +2 -2
  598. data/client/spec/models/create_question_config_response_spec.rb +2 -2
  599. data/client/spec/models/create_question_result_body_spec.rb +2 -2
  600. data/client/spec/models/create_question_result_response_spec.rb +2 -2
  601. data/client/spec/models/create_subscription_api_response_spec.rb +2 -2
  602. data/client/spec/models/create_tenant_body_spec.rb +2 -2
  603. data/client/spec/models/create_tenant_package_body_spec.rb +4 -4
  604. data/client/spec/models/create_tenant_package_response_spec.rb +2 -2
  605. data/client/spec/models/create_tenant_response_spec.rb +2 -2
  606. data/client/spec/models/create_tenant_user_body_spec.rb +2 -2
  607. data/client/spec/models/create_tenant_user_response_spec.rb +2 -2
  608. data/client/spec/models/create_ticket_body_spec.rb +2 -2
  609. data/client/spec/models/create_ticket_response_spec.rb +2 -2
  610. data/client/spec/models/create_user_badge_params_spec.rb +2 -2
  611. data/client/spec/models/create_v1_page_react_spec.rb +42 -0
  612. data/client/spec/models/custom_config_parameters_spec.rb +32 -2
  613. data/client/spec/models/custom_email_template_spec.rb +2 -2
  614. data/client/spec/models/delete_comment_action_spec.rb +2 -2
  615. data/client/spec/models/delete_comment_result_spec.rb +2 -2
  616. data/client/spec/models/{delete_domain_config200_response_spec.rb → delete_domain_config_response_spec.rb} +7 -7
  617. data/client/spec/models/{delete_feed_post_public200_response_any_of_spec.rb → delete_feed_post_public_response_spec.rb} +7 -7
  618. data/client/spec/models/{delete_hash_tag_request_spec.rb → delete_hash_tag_request_body_spec.rb} +7 -7
  619. data/client/spec/models/delete_page_api_response_spec.rb +2 -2
  620. data/client/spec/models/delete_sso_user_api_response_spec.rb +2 -2
  621. data/client/spec/models/delete_subscription_api_response_spec.rb +2 -2
  622. data/client/spec/models/deleted_comment_result_comment_spec.rb +2 -2
  623. data/client/spec/models/digest_email_frequency_spec.rb +2 -2
  624. data/client/spec/models/email_template_definition_spec.rb +2 -2
  625. data/client/spec/models/email_template_render_error_response_spec.rb +2 -2
  626. data/client/spec/models/event_log_entry_spec.rb +2 -2
  627. data/client/spec/models/f_comment_meta_spec.rb +2 -2
  628. data/client/spec/models/f_comment_spec.rb +8 -2
  629. data/client/spec/models/feed_post_link_spec.rb +2 -2
  630. data/client/spec/models/feed_post_media_item_asset_spec.rb +2 -2
  631. data/client/spec/models/feed_post_media_item_spec.rb +2 -2
  632. data/client/spec/models/feed_post_spec.rb +2 -2
  633. data/client/spec/models/feed_post_stats_spec.rb +2 -2
  634. data/client/spec/models/feed_posts_stats_response_spec.rb +2 -2
  635. data/client/spec/models/find_comments_by_range_item_spec.rb +2 -2
  636. data/client/spec/models/find_comments_by_range_response_spec.rb +2 -2
  637. data/client/spec/models/flag_comment_response_spec.rb +2 -2
  638. data/client/spec/models/get_audit_logs_response_spec.rb +2 -2
  639. data/client/spec/models/get_banned_users_count_response_spec.rb +42 -0
  640. data/client/spec/models/get_banned_users_from_comment_response_spec.rb +52 -0
  641. data/client/spec/models/get_cached_notification_count_response_spec.rb +2 -2
  642. data/client/spec/models/get_comment_ban_status_response_spec.rb +48 -0
  643. data/client/spec/models/get_comment_text_response_spec.rb +42 -0
  644. data/client/spec/models/get_comment_vote_user_names_success_response_spec.rb +2 -2
  645. data/client/spec/models/get_comments_for_user_response_spec.rb +36 -0
  646. data/client/spec/models/get_comments_response_public_comment_spec.rb +2 -2
  647. data/client/spec/models/get_comments_response_with_presence_public_comment_spec.rb +2 -2
  648. data/client/spec/models/{get_ticket200_response_spec.rb → get_domain_config_response_spec.rb} +3 -3
  649. data/client/spec/models/{get_domain_configs200_response_any_of1_spec.rb → get_domain_configs_response_any_of1_spec.rb} +7 -7
  650. data/client/spec/models/{get_domain_configs200_response_any_of_spec.rb → get_domain_configs_response_any_of_spec.rb} +7 -7
  651. data/client/spec/models/{get_tenant200_response_spec.rb → get_domain_configs_response_spec.rb} +3 -3
  652. data/client/spec/models/get_email_template_definitions_response_spec.rb +2 -2
  653. data/client/spec/models/get_email_template_render_errors_response_spec.rb +2 -2
  654. data/client/spec/models/get_email_template_response_spec.rb +2 -2
  655. data/client/spec/models/get_email_templates_response_spec.rb +2 -2
  656. data/client/spec/models/get_event_log_response_spec.rb +2 -2
  657. data/client/spec/models/get_feed_posts_response_spec.rb +2 -2
  658. data/client/spec/models/get_gifs_search_response_spec.rb +21 -0
  659. data/client/spec/models/get_gifs_trending_response_spec.rb +21 -0
  660. data/client/spec/models/get_hash_tags_response_spec.rb +2 -2
  661. data/client/spec/models/get_moderator_response_spec.rb +2 -2
  662. data/client/spec/models/get_moderators_response_spec.rb +2 -2
  663. data/client/spec/models/get_my_notifications_response_spec.rb +2 -2
  664. data/client/spec/models/get_notification_count_response_spec.rb +2 -2
  665. data/client/spec/models/get_notifications_response_spec.rb +2 -2
  666. data/client/spec/models/get_page_by_urlid_api_response_spec.rb +2 -2
  667. data/client/spec/models/get_pages_api_response_spec.rb +2 -2
  668. data/client/spec/models/get_pending_webhook_event_count_response_spec.rb +2 -2
  669. data/client/spec/models/get_pending_webhook_events_response_spec.rb +2 -2
  670. data/client/spec/models/get_public_feed_posts_response_spec.rb +2 -2
  671. data/client/spec/models/get_public_pages_response_spec.rb +48 -0
  672. data/client/spec/models/get_question_config_response_spec.rb +2 -2
  673. data/client/spec/models/get_question_configs_response_spec.rb +2 -2
  674. data/client/spec/models/get_question_result_response_spec.rb +2 -2
  675. data/client/spec/models/get_question_results_response_spec.rb +2 -2
  676. data/client/spec/models/get_sso_user_by_email_api_response_spec.rb +2 -2
  677. data/client/spec/models/get_sso_user_by_id_api_response_spec.rb +2 -2
  678. data/client/spec/models/{get_sso_users200_response_spec.rb → get_sso_users_response_spec.rb} +7 -7
  679. data/client/spec/models/get_subscriptions_api_response_spec.rb +2 -2
  680. data/client/spec/models/get_tenant_daily_usages_response_spec.rb +2 -2
  681. data/client/spec/models/get_tenant_manual_badges_response_spec.rb +42 -0
  682. data/client/spec/models/get_tenant_package_response_spec.rb +2 -2
  683. data/client/spec/models/get_tenant_packages_response_spec.rb +2 -2
  684. data/client/spec/models/get_tenant_response_spec.rb +2 -2
  685. data/client/spec/models/get_tenant_user_response_spec.rb +2 -2
  686. data/client/spec/models/get_tenant_users_response_spec.rb +2 -2
  687. data/client/spec/models/get_tenants_response_spec.rb +2 -2
  688. data/client/spec/models/get_ticket_response_spec.rb +2 -2
  689. data/client/spec/models/get_tickets_response_spec.rb +2 -2
  690. data/client/spec/models/get_translations_response_spec.rb +42 -0
  691. data/client/spec/models/get_user_internal_profile_response_profile_spec.rb +132 -0
  692. data/client/spec/models/get_user_internal_profile_response_spec.rb +42 -0
  693. data/client/spec/models/get_user_manual_badges_response_spec.rb +42 -0
  694. data/client/spec/models/get_user_notification_count_response_spec.rb +2 -2
  695. data/client/spec/models/get_user_presence_statuses_response_spec.rb +2 -2
  696. data/client/spec/models/get_user_response_spec.rb +2 -2
  697. data/client/spec/models/get_user_trust_factor_response_spec.rb +48 -0
  698. data/client/spec/models/get_v1_page_likes_spec.rb +60 -0
  699. data/client/spec/models/get_v2_page_react_users_response_spec.rb +42 -0
  700. data/client/spec/models/get_v2_page_reacts_spec.rb +48 -0
  701. data/client/spec/models/get_votes_for_user_response_spec.rb +2 -2
  702. data/client/spec/models/get_votes_response_spec.rb +2 -2
  703. data/client/spec/models/gif_get_large_response_spec.rb +42 -0
  704. data/client/spec/models/gif_rating_spec.rb +2 -2
  705. data/client/spec/models/gif_search_internal_error_spec.rb +42 -0
  706. data/client/spec/models/{add_domain_config200_response_spec.rb → gif_search_response_images_inner_inner_spec.rb} +3 -3
  707. data/client/spec/models/gif_search_response_spec.rb +42 -0
  708. data/client/spec/models/header_account_notification_spec.rb +8 -2
  709. data/client/spec/models/header_state_spec.rb +2 -2
  710. data/client/spec/models/ignored_response_spec.rb +2 -2
  711. data/client/spec/models/image_content_profanity_level_spec.rb +2 -2
  712. data/client/spec/models/imported_agent_approval_notification_frequency_spec.rb +30 -0
  713. data/client/spec/models/imported_site_type_spec.rb +2 -2
  714. data/client/spec/models/live_event_extra_info_spec.rb +2 -2
  715. data/client/spec/models/live_event_spec.rb +8 -2
  716. data/client/spec/models/live_event_type_spec.rb +2 -2
  717. data/client/spec/models/media_asset_spec.rb +2 -2
  718. data/client/spec/models/mention_auto_complete_mode_spec.rb +2 -2
  719. data/client/spec/models/meta_item_spec.rb +2 -2
  720. data/client/spec/models/moderation_api_child_comments_response_spec.rb +42 -0
  721. data/client/spec/models/moderation_api_comment_log_spec.rb +54 -0
  722. data/client/spec/models/moderation_api_comment_response_spec.rb +42 -0
  723. data/client/spec/models/moderation_api_comment_spec.rb +282 -0
  724. data/client/spec/models/moderation_api_count_comments_response_spec.rb +42 -0
  725. data/client/spec/models/moderation_api_get_comment_ids_response_spec.rb +48 -0
  726. data/client/spec/models/moderation_api_get_comments_response_spec.rb +54 -0
  727. data/client/spec/models/moderation_api_get_logs_response_spec.rb +42 -0
  728. data/client/spec/models/moderation_comment_search_response_spec.rb +42 -0
  729. data/client/spec/models/moderation_export_response_spec.rb +42 -0
  730. data/client/spec/models/moderation_export_status_response_spec.rb +54 -0
  731. data/client/spec/models/moderation_filter_spec.rb +102 -0
  732. data/client/spec/models/moderation_page_search_projected_spec.rb +54 -0
  733. data/client/spec/models/moderation_page_search_response_spec.rb +42 -0
  734. data/client/spec/models/moderation_site_search_projected_spec.rb +42 -0
  735. data/client/spec/models/moderation_site_search_response_spec.rb +42 -0
  736. data/client/spec/models/moderation_suggest_response_spec.rb +54 -0
  737. data/client/spec/models/moderation_user_search_projected_spec.rb +54 -0
  738. data/client/spec/models/moderation_user_search_response_spec.rb +42 -0
  739. data/client/spec/models/moderator_spec.rb +2 -2
  740. data/client/spec/models/notification_and_count_spec.rb +2 -2
  741. data/client/spec/models/notification_object_type_spec.rb +2 -2
  742. data/client/spec/models/notification_type_spec.rb +2 -2
  743. data/client/spec/models/page_user_entry_spec.rb +54 -0
  744. data/client/spec/models/page_users_info_response_spec.rb +42 -0
  745. data/client/spec/models/page_users_offline_response_spec.rb +54 -0
  746. data/client/spec/models/page_users_online_response_spec.rb +66 -0
  747. data/client/spec/models/pages_sort_by_spec.rb +30 -0
  748. data/client/spec/models/patch_domain_config_params_spec.rb +2 -2
  749. data/client/spec/models/patch_domain_config_response_spec.rb +21 -0
  750. data/client/spec/models/patch_page_api_response_spec.rb +2 -2
  751. data/client/spec/models/patch_sso_user_api_response_spec.rb +2 -2
  752. data/client/spec/models/pending_comment_to_sync_outbound_spec.rb +2 -2
  753. data/client/spec/models/post_remove_comment_response_spec.rb +21 -0
  754. data/client/spec/models/pre_ban_summary_spec.rb +48 -0
  755. data/client/spec/models/pub_sub_comment_base_spec.rb +2 -2
  756. data/client/spec/models/pub_sub_comment_spec.rb +2 -2
  757. data/client/spec/models/pub_sub_vote_spec.rb +2 -2
  758. data/client/spec/models/public_api_delete_comment_response_spec.rb +2 -2
  759. data/client/spec/models/public_api_get_comment_text_response_spec.rb +2 -2
  760. data/client/spec/models/public_api_set_comment_text_response_spec.rb +2 -2
  761. data/client/spec/models/public_block_from_comment_params_spec.rb +2 -2
  762. data/client/spec/models/public_comment_base_spec.rb +2 -2
  763. data/client/spec/models/public_comment_spec.rb +2 -2
  764. data/client/spec/models/public_feed_posts_response_spec.rb +2 -2
  765. data/client/spec/models/public_page_spec.rb +60 -0
  766. data/client/spec/models/public_vote_spec.rb +2 -2
  767. data/client/spec/models/put_domain_config_response_spec.rb +21 -0
  768. data/client/spec/models/put_sso_user_api_response_spec.rb +2 -2
  769. data/client/spec/models/query_predicate_spec.rb +2 -2
  770. data/client/spec/models/query_predicate_value_spec.rb +1 -1
  771. data/client/spec/models/question_config_custom_options_inner_spec.rb +2 -2
  772. data/client/spec/models/question_config_spec.rb +2 -2
  773. data/client/spec/models/question_datum_spec.rb +2 -2
  774. data/client/spec/models/question_rendering_type_spec.rb +2 -2
  775. data/client/spec/models/question_result_aggregation_overall_spec.rb +2 -2
  776. data/client/spec/models/question_result_spec.rb +2 -2
  777. data/client/spec/models/question_sub_question_visibility_spec.rb +2 -2
  778. data/client/spec/models/question_when_save_spec.rb +2 -2
  779. data/client/spec/models/react_body_params_spec.rb +2 -2
  780. data/client/spec/models/react_feed_post_response_spec.rb +2 -2
  781. data/client/spec/models/record_string_before_string_or_null_after_string_or_null_value_spec.rb +2 -2
  782. data/client/spec/models/remove_comment_action_response_spec.rb +42 -0
  783. data/client/spec/models/remove_user_badge_response_spec.rb +42 -0
  784. data/client/spec/models/render_email_template_body_spec.rb +2 -2
  785. data/client/spec/models/render_email_template_response_spec.rb +2 -2
  786. data/client/spec/models/renderable_user_notification_spec.rb +2 -2
  787. data/client/spec/models/repeat_comment_check_ignored_reason_spec.rb +2 -2
  788. data/client/spec/models/repeat_comment_handling_action_spec.rb +2 -2
  789. data/client/spec/models/replace_tenant_package_body_spec.rb +2 -2
  790. data/client/spec/models/replace_tenant_user_body_spec.rb +2 -2
  791. data/client/spec/models/reset_user_notifications_response_spec.rb +2 -2
  792. data/client/spec/models/save_comment_response_optimized_spec.rb +2 -2
  793. data/client/spec/models/save_comments_bulk_response_spec.rb +21 -0
  794. data/client/spec/models/save_comments_response_with_presence_spec.rb +2 -2
  795. data/client/spec/models/search_users_response_spec.rb +2 -2
  796. data/client/spec/models/search_users_result_spec.rb +21 -0
  797. data/client/spec/models/search_users_sectioned_response_spec.rb +2 -2
  798. data/client/spec/models/set_comment_approved_response_spec.rb +42 -0
  799. data/client/spec/models/set_comment_text_params_spec.rb +36 -0
  800. data/client/spec/models/set_comment_text_response_spec.rb +42 -0
  801. data/client/spec/models/set_comment_text_result_spec.rb +2 -2
  802. data/client/spec/models/set_user_trust_factor_response_spec.rb +42 -0
  803. data/client/spec/models/size_preset_spec.rb +2 -2
  804. data/client/spec/models/sort_directions_spec.rb +2 -2
  805. data/client/spec/models/sortdir_spec.rb +2 -2
  806. data/client/spec/models/spam_rule_spec.rb +2 -2
  807. data/client/spec/models/sso_security_level_spec.rb +2 -2
  808. data/client/spec/models/tenant_badge_spec.rb +156 -0
  809. data/client/spec/models/tenant_hash_tag_spec.rb +2 -2
  810. data/client/spec/models/tenant_package_spec.rb +44 -2
  811. data/client/spec/models/tos_config_spec.rb +2 -2
  812. data/client/spec/models/un_block_from_comment_params_spec.rb +2 -2
  813. data/client/spec/models/unblock_success_spec.rb +2 -2
  814. data/client/spec/models/updatable_comment_params_spec.rb +2 -2
  815. data/client/spec/models/update_api_page_data_spec.rb +2 -2
  816. data/client/spec/models/update_api_user_subscription_data_spec.rb +2 -2
  817. data/client/spec/models/update_apisso_user_data_spec.rb +2 -2
  818. data/client/spec/models/update_domain_config_params_spec.rb +2 -2
  819. data/client/spec/models/update_email_template_body_spec.rb +2 -2
  820. data/client/spec/models/update_feed_post_params_spec.rb +2 -2
  821. data/client/spec/models/update_hash_tag_body_spec.rb +2 -2
  822. data/client/spec/models/update_hash_tag_response_spec.rb +2 -2
  823. data/client/spec/models/update_moderator_body_spec.rb +2 -2
  824. data/client/spec/models/update_notification_body_spec.rb +2 -2
  825. data/client/spec/models/update_question_config_body_spec.rb +2 -2
  826. data/client/spec/models/update_question_result_body_spec.rb +2 -2
  827. data/client/spec/models/update_subscription_api_response_spec.rb +2 -2
  828. data/client/spec/models/update_tenant_body_spec.rb +2 -2
  829. data/client/spec/models/update_tenant_package_body_spec.rb +2 -2
  830. data/client/spec/models/update_tenant_user_body_spec.rb +2 -2
  831. data/client/spec/models/update_user_badge_params_spec.rb +2 -2
  832. data/client/spec/models/{aggregate_question_results200_response_spec.rb → update_user_notification_comment_subscription_status_response_spec.rb} +3 -3
  833. data/client/spec/models/{add_hash_tags_bulk200_response_spec.rb → update_user_notification_page_subscription_status_response_spec.rb} +3 -3
  834. data/client/spec/models/{update_user_notification_status200_response_spec.rb → update_user_notification_status_response_spec.rb} +3 -3
  835. data/client/spec/models/upload_image_response_spec.rb +2 -2
  836. data/client/spec/models/user_badge_progress_spec.rb +2 -2
  837. data/client/spec/models/user_badge_spec.rb +2 -2
  838. data/client/spec/models/user_notification_count_spec.rb +2 -2
  839. data/client/spec/models/user_notification_spec.rb +2 -2
  840. data/client/spec/models/user_notification_write_response_spec.rb +2 -2
  841. data/client/spec/models/user_presence_data_spec.rb +2 -2
  842. data/client/spec/models/user_reacts_response_spec.rb +2 -2
  843. data/client/spec/models/user_search_result_spec.rb +2 -2
  844. data/client/spec/models/user_search_section_result_spec.rb +2 -2
  845. data/client/spec/models/user_search_section_spec.rb +2 -2
  846. data/client/spec/models/user_session_info_spec.rb +2 -2
  847. data/client/spec/models/user_spec.rb +8 -2
  848. data/client/spec/models/users_list_location_spec.rb +30 -0
  849. data/client/spec/models/vote_body_params_spec.rb +2 -2
  850. data/client/spec/models/vote_delete_response_spec.rb +2 -2
  851. data/client/spec/models/vote_response_spec.rb +2 -6
  852. data/client/spec/models/vote_response_status_spec.rb +21 -0
  853. data/client/spec/models/vote_response_user_spec.rb +2 -2
  854. data/client/spec/models/vote_style_spec.rb +2 -2
  855. data/client/spec/spec_helper.rb +1 -1
  856. data/lib/fastcomments.rb +1 -1
  857. metadata +305 -294
  858. data/client/docs/AddHashTag200Response.md +0 -34
  859. data/client/docs/AddHashTagsBulk200Response.md +0 -34
  860. data/client/docs/AggregateQuestionResults200Response.md +0 -34
  861. data/client/docs/BlockFromCommentPublic200Response.md +0 -34
  862. data/client/docs/BulkAggregateQuestionResults200Response.md +0 -34
  863. data/client/docs/ChangeTicketState200Response.md +0 -34
  864. data/client/docs/CheckedCommentsForBlocked200Response.md +0 -34
  865. data/client/docs/CombineCommentsWithQuestionResults200Response.md +0 -34
  866. data/client/docs/CreateCommentPublic200Response.md +0 -40
  867. data/client/docs/CreateEmailTemplate200Response.md +0 -34
  868. data/client/docs/CreateFeedPost200Response.md +0 -34
  869. data/client/docs/CreateFeedPostPublic200Response.md +0 -34
  870. data/client/docs/CreateModerator200Response.md +0 -34
  871. data/client/docs/CreateQuestionConfig200Response.md +0 -34
  872. data/client/docs/CreateQuestionResult200Response.md +0 -34
  873. data/client/docs/CreateTenant200Response.md +0 -34
  874. data/client/docs/CreateTenantPackage200Response.md +0 -34
  875. data/client/docs/CreateTenantUser200Response.md +0 -34
  876. data/client/docs/CreateTicket200Response.md +0 -34
  877. data/client/docs/CreateUserBadge200Response.md +0 -36
  878. data/client/docs/DeleteComment200Response.md +0 -34
  879. data/client/docs/DeleteCommentPublic200Response.md +0 -36
  880. data/client/docs/DeleteCommentVote200Response.md +0 -34
  881. data/client/docs/DeleteFeedPostPublic200Response.md +0 -32
  882. data/client/docs/FlagComment200Response.md +0 -36
  883. data/client/docs/FlagCommentPublic200Response.md +0 -32
  884. data/client/docs/GetAuditLogs200Response.md +0 -34
  885. data/client/docs/GetCachedNotificationCount200Response.md +0 -34
  886. data/client/docs/GetComment200Response.md +0 -34
  887. data/client/docs/GetCommentText200Response.md +0 -36
  888. data/client/docs/GetCommentVoteUserNames200Response.md +0 -36
  889. data/client/docs/GetComments200Response.md +0 -34
  890. data/client/docs/GetCommentsPublic200Response.md +0 -78
  891. data/client/docs/GetEmailTemplate200Response.md +0 -34
  892. data/client/docs/GetEmailTemplateDefinitions200Response.md +0 -34
  893. data/client/docs/GetEmailTemplateRenderErrors200Response.md +0 -34
  894. data/client/docs/GetEmailTemplates200Response.md +0 -34
  895. data/client/docs/GetEventLog200Response.md +0 -34
  896. data/client/docs/GetFeedPosts200Response.md +0 -34
  897. data/client/docs/GetFeedPostsPublic200Response.md +0 -44
  898. data/client/docs/GetFeedPostsStats200Response.md +0 -34
  899. data/client/docs/GetHashTags200Response.md +0 -34
  900. data/client/docs/GetModerator200Response.md +0 -34
  901. data/client/docs/GetModerators200Response.md +0 -34
  902. data/client/docs/GetNotificationCount200Response.md +0 -34
  903. data/client/docs/GetNotifications200Response.md +0 -34
  904. data/client/docs/GetPendingWebhookEventCount200Response.md +0 -34
  905. data/client/docs/GetPendingWebhookEvents200Response.md +0 -34
  906. data/client/docs/GetQuestionConfig200Response.md +0 -34
  907. data/client/docs/GetQuestionConfigs200Response.md +0 -34
  908. data/client/docs/GetQuestionResult200Response.md +0 -34
  909. data/client/docs/GetQuestionResults200Response.md +0 -34
  910. data/client/docs/GetTenant200Response.md +0 -34
  911. data/client/docs/GetTenantDailyUsages200Response.md +0 -34
  912. data/client/docs/GetTenantPackage200Response.md +0 -34
  913. data/client/docs/GetTenantPackages200Response.md +0 -34
  914. data/client/docs/GetTenantUser200Response.md +0 -34
  915. data/client/docs/GetTenantUsers200Response.md +0 -34
  916. data/client/docs/GetTenants200Response.md +0 -34
  917. data/client/docs/GetTicket200Response.md +0 -36
  918. data/client/docs/GetTickets200Response.md +0 -34
  919. data/client/docs/GetUser200Response.md +0 -34
  920. data/client/docs/GetUserBadge200Response.md +0 -34
  921. data/client/docs/GetUserBadgeProgressById200Response.md +0 -34
  922. data/client/docs/GetUserBadgeProgressList200Response.md +0 -34
  923. data/client/docs/GetUserBadges200Response.md +0 -34
  924. data/client/docs/GetUserNotificationCount200Response.md +0 -34
  925. data/client/docs/GetUserNotifications200Response.md +0 -40
  926. data/client/docs/GetUserPresenceStatuses200Response.md +0 -34
  927. data/client/docs/GetUserReactsPublic200Response.md +0 -34
  928. data/client/docs/GetVotes200Response.md +0 -38
  929. data/client/docs/GetVotesForUser200Response.md +0 -38
  930. data/client/docs/LockComment200Response.md +0 -32
  931. data/client/docs/PinComment200Response.md +0 -34
  932. data/client/docs/ReactFeedPostPublic200Response.md +0 -36
  933. data/client/docs/RenderEmailTemplate200Response.md +0 -34
  934. data/client/docs/ResetUserNotifications200Response.md +0 -32
  935. data/client/docs/SearchUsers200Response.md +0 -36
  936. data/client/docs/SetCommentText200Response.md +0 -34
  937. data/client/docs/UnBlockCommentPublic200Response.md +0 -34
  938. data/client/docs/UpdateUserBadge200Response.md +0 -32
  939. data/client/docs/UpdateUserNotificationStatus200Response.md +0 -38
  940. data/client/docs/VoteComment200Response.md +0 -40
  941. data/client/lib/fastcomments-client/api_model_base.rb +0 -88
  942. data/client/lib/fastcomments-client/models/bulk_aggregate_question_results200_response.rb +0 -103
  943. data/client/lib/fastcomments-client/models/checked_comments_for_blocked200_response.rb +0 -103
  944. data/client/lib/fastcomments-client/models/combine_comments_with_question_results200_response.rb +0 -103
  945. data/client/lib/fastcomments-client/models/create_comment_public200_response.rb +0 -103
  946. data/client/lib/fastcomments-client/models/create_email_template200_response.rb +0 -103
  947. data/client/lib/fastcomments-client/models/create_feed_post200_response.rb +0 -103
  948. data/client/lib/fastcomments-client/models/create_feed_post_public200_response.rb +0 -103
  949. data/client/lib/fastcomments-client/models/create_moderator200_response.rb +0 -103
  950. data/client/lib/fastcomments-client/models/create_question_config200_response.rb +0 -103
  951. data/client/lib/fastcomments-client/models/create_question_result200_response.rb +0 -103
  952. data/client/lib/fastcomments-client/models/create_tenant200_response.rb +0 -103
  953. data/client/lib/fastcomments-client/models/create_tenant_package200_response.rb +0 -103
  954. data/client/lib/fastcomments-client/models/create_tenant_user200_response.rb +0 -103
  955. data/client/lib/fastcomments-client/models/create_ticket200_response.rb +0 -103
  956. data/client/lib/fastcomments-client/models/create_user_badge200_response.rb +0 -103
  957. data/client/lib/fastcomments-client/models/delete_comment200_response.rb +0 -103
  958. data/client/lib/fastcomments-client/models/delete_comment_public200_response.rb +0 -103
  959. data/client/lib/fastcomments-client/models/delete_comment_vote200_response.rb +0 -103
  960. data/client/lib/fastcomments-client/models/delete_domain_config200_response.rb +0 -150
  961. data/client/lib/fastcomments-client/models/delete_feed_post_public200_response.rb +0 -103
  962. data/client/lib/fastcomments-client/models/flag_comment200_response.rb +0 -103
  963. data/client/lib/fastcomments-client/models/flag_comment_public200_response.rb +0 -103
  964. data/client/lib/fastcomments-client/models/get_audit_logs200_response.rb +0 -103
  965. data/client/lib/fastcomments-client/models/get_cached_notification_count200_response.rb +0 -103
  966. data/client/lib/fastcomments-client/models/get_comment200_response.rb +0 -103
  967. data/client/lib/fastcomments-client/models/get_comment_text200_response.rb +0 -103
  968. data/client/lib/fastcomments-client/models/get_comment_vote_user_names200_response.rb +0 -103
  969. data/client/lib/fastcomments-client/models/get_comments200_response.rb +0 -103
  970. data/client/lib/fastcomments-client/models/get_comments_public200_response.rb +0 -103
  971. data/client/lib/fastcomments-client/models/get_domain_config200_response.rb +0 -103
  972. data/client/lib/fastcomments-client/models/get_domain_configs200_response.rb +0 -103
  973. data/client/lib/fastcomments-client/models/get_email_template200_response.rb +0 -103
  974. data/client/lib/fastcomments-client/models/get_email_template_definitions200_response.rb +0 -103
  975. data/client/lib/fastcomments-client/models/get_email_template_render_errors200_response.rb +0 -103
  976. data/client/lib/fastcomments-client/models/get_email_templates200_response.rb +0 -103
  977. data/client/lib/fastcomments-client/models/get_event_log200_response.rb +0 -103
  978. data/client/lib/fastcomments-client/models/get_feed_posts200_response.rb +0 -103
  979. data/client/lib/fastcomments-client/models/get_feed_posts_public200_response.rb +0 -103
  980. data/client/lib/fastcomments-client/models/get_feed_posts_stats200_response.rb +0 -103
  981. data/client/lib/fastcomments-client/models/get_hash_tags200_response.rb +0 -103
  982. data/client/lib/fastcomments-client/models/get_moderator200_response.rb +0 -103
  983. data/client/lib/fastcomments-client/models/get_moderators200_response.rb +0 -103
  984. data/client/lib/fastcomments-client/models/get_notification_count200_response.rb +0 -103
  985. data/client/lib/fastcomments-client/models/get_notifications200_response.rb +0 -103
  986. data/client/lib/fastcomments-client/models/get_pending_webhook_event_count200_response.rb +0 -103
  987. data/client/lib/fastcomments-client/models/get_pending_webhook_events200_response.rb +0 -103
  988. data/client/lib/fastcomments-client/models/get_question_config200_response.rb +0 -103
  989. data/client/lib/fastcomments-client/models/get_question_configs200_response.rb +0 -103
  990. data/client/lib/fastcomments-client/models/get_question_result200_response.rb +0 -103
  991. data/client/lib/fastcomments-client/models/get_question_results200_response.rb +0 -103
  992. data/client/lib/fastcomments-client/models/get_tenant200_response.rb +0 -103
  993. data/client/lib/fastcomments-client/models/get_tenant_daily_usages200_response.rb +0 -103
  994. data/client/lib/fastcomments-client/models/get_tenant_package200_response.rb +0 -103
  995. data/client/lib/fastcomments-client/models/get_tenant_packages200_response.rb +0 -103
  996. data/client/lib/fastcomments-client/models/get_tenant_user200_response.rb +0 -103
  997. data/client/lib/fastcomments-client/models/get_tenant_users200_response.rb +0 -103
  998. data/client/lib/fastcomments-client/models/get_tenants200_response.rb +0 -103
  999. data/client/lib/fastcomments-client/models/get_ticket200_response.rb +0 -103
  1000. data/client/lib/fastcomments-client/models/get_tickets200_response.rb +0 -103
  1001. data/client/lib/fastcomments-client/models/get_user200_response.rb +0 -103
  1002. data/client/lib/fastcomments-client/models/get_user_badge200_response.rb +0 -103
  1003. data/client/lib/fastcomments-client/models/get_user_badge_progress_by_id200_response.rb +0 -103
  1004. data/client/lib/fastcomments-client/models/get_user_badge_progress_list200_response.rb +0 -103
  1005. data/client/lib/fastcomments-client/models/get_user_badges200_response.rb +0 -103
  1006. data/client/lib/fastcomments-client/models/get_user_notification_count200_response.rb +0 -103
  1007. data/client/lib/fastcomments-client/models/get_user_notifications200_response.rb +0 -103
  1008. data/client/lib/fastcomments-client/models/get_user_presence_statuses200_response.rb +0 -103
  1009. data/client/lib/fastcomments-client/models/get_user_reacts_public200_response.rb +0 -103
  1010. data/client/lib/fastcomments-client/models/get_votes200_response.rb +0 -103
  1011. data/client/lib/fastcomments-client/models/get_votes_for_user200_response.rb +0 -103
  1012. data/client/lib/fastcomments-client/models/lock_comment200_response.rb +0 -103
  1013. data/client/lib/fastcomments-client/models/patch_hash_tag200_response.rb +0 -103
  1014. data/client/lib/fastcomments-client/models/pin_comment200_response.rb +0 -103
  1015. data/client/lib/fastcomments-client/models/react_feed_post_public200_response.rb +0 -103
  1016. data/client/lib/fastcomments-client/models/render_email_template200_response.rb +0 -103
  1017. data/client/lib/fastcomments-client/models/reset_user_notifications200_response.rb +0 -103
  1018. data/client/lib/fastcomments-client/models/save_comment200_response.rb +0 -103
  1019. data/client/lib/fastcomments-client/models/set_comment_text200_response.rb +0 -103
  1020. data/client/lib/fastcomments-client/models/un_block_comment_public200_response.rb +0 -103
  1021. data/client/lib/fastcomments-client/models/update_user_badge200_response.rb +0 -103
  1022. data/client/lib/fastcomments-client/models/vote_comment200_response.rb +0 -103
  1023. data/client/spec/models/block_from_comment_public200_response_spec.rb +0 -21
  1024. data/client/spec/models/bulk_aggregate_question_results200_response_spec.rb +0 -21
  1025. data/client/spec/models/change_ticket_state200_response_spec.rb +0 -21
  1026. data/client/spec/models/checked_comments_for_blocked200_response_spec.rb +0 -21
  1027. data/client/spec/models/combine_comments_with_question_results200_response_spec.rb +0 -21
  1028. data/client/spec/models/create_comment_public200_response_spec.rb +0 -21
  1029. data/client/spec/models/create_email_template200_response_spec.rb +0 -21
  1030. data/client/spec/models/create_feed_post200_response_spec.rb +0 -21
  1031. data/client/spec/models/create_feed_post_public200_response_spec.rb +0 -21
  1032. data/client/spec/models/create_moderator200_response_spec.rb +0 -21
  1033. data/client/spec/models/create_question_config200_response_spec.rb +0 -21
  1034. data/client/spec/models/create_question_result200_response_spec.rb +0 -21
  1035. data/client/spec/models/create_tenant_package200_response_spec.rb +0 -21
  1036. data/client/spec/models/create_tenant_user200_response_spec.rb +0 -21
  1037. data/client/spec/models/create_ticket200_response_spec.rb +0 -21
  1038. data/client/spec/models/create_user_badge200_response_spec.rb +0 -21
  1039. data/client/spec/models/delete_comment200_response_spec.rb +0 -21
  1040. data/client/spec/models/delete_comment_public200_response_spec.rb +0 -21
  1041. data/client/spec/models/delete_comment_vote200_response_spec.rb +0 -21
  1042. data/client/spec/models/delete_feed_post_public200_response_spec.rb +0 -21
  1043. data/client/spec/models/flag_comment200_response_spec.rb +0 -21
  1044. data/client/spec/models/flag_comment_public200_response_spec.rb +0 -21
  1045. data/client/spec/models/get_audit_logs200_response_spec.rb +0 -21
  1046. data/client/spec/models/get_cached_notification_count200_response_spec.rb +0 -21
  1047. data/client/spec/models/get_comment200_response_spec.rb +0 -21
  1048. data/client/spec/models/get_comment_text200_response_spec.rb +0 -21
  1049. data/client/spec/models/get_comment_vote_user_names200_response_spec.rb +0 -21
  1050. data/client/spec/models/get_comments200_response_spec.rb +0 -21
  1051. data/client/spec/models/get_comments_public200_response_spec.rb +0 -21
  1052. data/client/spec/models/get_domain_config200_response_spec.rb +0 -21
  1053. data/client/spec/models/get_domain_configs200_response_spec.rb +0 -21
  1054. data/client/spec/models/get_email_template200_response_spec.rb +0 -21
  1055. data/client/spec/models/get_email_template_definitions200_response_spec.rb +0 -21
  1056. data/client/spec/models/get_email_template_render_errors200_response_spec.rb +0 -21
  1057. data/client/spec/models/get_email_templates200_response_spec.rb +0 -21
  1058. data/client/spec/models/get_event_log200_response_spec.rb +0 -21
  1059. data/client/spec/models/get_feed_posts200_response_spec.rb +0 -21
  1060. data/client/spec/models/get_feed_posts_public200_response_spec.rb +0 -21
  1061. data/client/spec/models/get_feed_posts_stats200_response_spec.rb +0 -21
  1062. data/client/spec/models/get_hash_tags200_response_spec.rb +0 -21
  1063. data/client/spec/models/get_moderator200_response_spec.rb +0 -21
  1064. data/client/spec/models/get_moderators200_response_spec.rb +0 -21
  1065. data/client/spec/models/get_notification_count200_response_spec.rb +0 -21
  1066. data/client/spec/models/get_notifications200_response_spec.rb +0 -21
  1067. data/client/spec/models/get_pending_webhook_event_count200_response_spec.rb +0 -21
  1068. data/client/spec/models/get_pending_webhook_events200_response_spec.rb +0 -21
  1069. data/client/spec/models/get_question_config200_response_spec.rb +0 -21
  1070. data/client/spec/models/get_question_configs200_response_spec.rb +0 -21
  1071. data/client/spec/models/get_question_result200_response_spec.rb +0 -21
  1072. data/client/spec/models/get_question_results200_response_spec.rb +0 -21
  1073. data/client/spec/models/get_tenant_daily_usages200_response_spec.rb +0 -21
  1074. data/client/spec/models/get_tenant_package200_response_spec.rb +0 -21
  1075. data/client/spec/models/get_tenant_packages200_response_spec.rb +0 -21
  1076. data/client/spec/models/get_tenant_user200_response_spec.rb +0 -21
  1077. data/client/spec/models/get_tenant_users200_response_spec.rb +0 -21
  1078. data/client/spec/models/get_tenants200_response_spec.rb +0 -21
  1079. data/client/spec/models/get_tickets200_response_spec.rb +0 -21
  1080. data/client/spec/models/get_user_badge200_response_spec.rb +0 -21
  1081. data/client/spec/models/get_user_badge_progress_by_id200_response_spec.rb +0 -21
  1082. data/client/spec/models/get_user_badge_progress_list200_response_spec.rb +0 -21
  1083. data/client/spec/models/get_user_badges200_response_spec.rb +0 -21
  1084. data/client/spec/models/get_user_notification_count200_response_spec.rb +0 -21
  1085. data/client/spec/models/get_user_notifications200_response_spec.rb +0 -21
  1086. data/client/spec/models/get_user_presence_statuses200_response_spec.rb +0 -21
  1087. data/client/spec/models/get_user_reacts_public200_response_spec.rb +0 -21
  1088. data/client/spec/models/get_votes_for_user200_response_spec.rb +0 -21
  1089. data/client/spec/models/lock_comment200_response_spec.rb +0 -21
  1090. data/client/spec/models/patch_hash_tag200_response_spec.rb +0 -21
  1091. data/client/spec/models/pin_comment200_response_spec.rb +0 -21
  1092. data/client/spec/models/react_feed_post_public200_response_spec.rb +0 -21
  1093. data/client/spec/models/record_string_string_or_number_value_spec.rb +0 -21
  1094. data/client/spec/models/render_email_template200_response_spec.rb +0 -21
  1095. data/client/spec/models/reset_user_notifications200_response_spec.rb +0 -21
  1096. data/client/spec/models/save_comment200_response_spec.rb +0 -21
  1097. data/client/spec/models/search_users200_response_spec.rb +0 -21
  1098. data/client/spec/models/set_comment_text200_response_spec.rb +0 -21
  1099. data/client/spec/models/un_block_comment_public200_response_spec.rb +0 -21
  1100. data/client/spec/models/update_user_badge200_response_spec.rb +0 -21
  1101. data/client/spec/models/vote_comment200_response_spec.rb +0 -21
@@ -0,0 +1,753 @@
1
+ =begin
2
+ #fastcomments
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: 0.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.14.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module FastCommentsClient
17
+ class ModerationAPIComment
18
+ attr_accessor :is_local_deleted
19
+
20
+ attr_accessor :reply_count
21
+
22
+ attr_accessor :feedback_results
23
+
24
+ attr_accessor :is_voted_up
25
+
26
+ attr_accessor :is_voted_down
27
+
28
+ attr_accessor :my_vote_id
29
+
30
+ attr_accessor :_id
31
+
32
+ attr_accessor :tenant_id
33
+
34
+ attr_accessor :url_id
35
+
36
+ attr_accessor :url
37
+
38
+ attr_accessor :page_title
39
+
40
+ attr_accessor :user_id
41
+
42
+ attr_accessor :anon_user_id
43
+
44
+ attr_accessor :commenter_name
45
+
46
+ attr_accessor :commenter_link
47
+
48
+ attr_accessor :comment_html
49
+
50
+ attr_accessor :parent_id
51
+
52
+ attr_accessor :date
53
+
54
+ attr_accessor :local_date_string
55
+
56
+ attr_accessor :votes
57
+
58
+ attr_accessor :votes_up
59
+
60
+ attr_accessor :votes_down
61
+
62
+ attr_accessor :expire_at
63
+
64
+ attr_accessor :reviewed
65
+
66
+ attr_accessor :avatar_src
67
+
68
+ attr_accessor :is_spam
69
+
70
+ attr_accessor :perm_not_spam
71
+
72
+ attr_accessor :has_links
73
+
74
+ attr_accessor :has_code
75
+
76
+ attr_accessor :approved
77
+
78
+ attr_accessor :locale
79
+
80
+ attr_accessor :is_banned_user
81
+
82
+ attr_accessor :is_by_admin
83
+
84
+ attr_accessor :is_by_moderator
85
+
86
+ attr_accessor :is_pinned
87
+
88
+ attr_accessor :is_locked
89
+
90
+ attr_accessor :flag_count
91
+
92
+ attr_accessor :display_label
93
+
94
+ attr_accessor :badges
95
+
96
+ attr_accessor :verified
97
+
98
+ attr_accessor :feedback_ids
99
+
100
+ attr_accessor :is_deleted
101
+
102
+ # Attribute mapping from ruby-style variable name to JSON key.
103
+ def self.attribute_map
104
+ {
105
+ :'is_local_deleted' => :'isLocalDeleted',
106
+ :'reply_count' => :'replyCount',
107
+ :'feedback_results' => :'feedbackResults',
108
+ :'is_voted_up' => :'isVotedUp',
109
+ :'is_voted_down' => :'isVotedDown',
110
+ :'my_vote_id' => :'myVoteId',
111
+ :'_id' => :'_id',
112
+ :'tenant_id' => :'tenantId',
113
+ :'url_id' => :'urlId',
114
+ :'url' => :'url',
115
+ :'page_title' => :'pageTitle',
116
+ :'user_id' => :'userId',
117
+ :'anon_user_id' => :'anonUserId',
118
+ :'commenter_name' => :'commenterName',
119
+ :'commenter_link' => :'commenterLink',
120
+ :'comment_html' => :'commentHTML',
121
+ :'parent_id' => :'parentId',
122
+ :'date' => :'date',
123
+ :'local_date_string' => :'localDateString',
124
+ :'votes' => :'votes',
125
+ :'votes_up' => :'votesUp',
126
+ :'votes_down' => :'votesDown',
127
+ :'expire_at' => :'expireAt',
128
+ :'reviewed' => :'reviewed',
129
+ :'avatar_src' => :'avatarSrc',
130
+ :'is_spam' => :'isSpam',
131
+ :'perm_not_spam' => :'permNotSpam',
132
+ :'has_links' => :'hasLinks',
133
+ :'has_code' => :'hasCode',
134
+ :'approved' => :'approved',
135
+ :'locale' => :'locale',
136
+ :'is_banned_user' => :'isBannedUser',
137
+ :'is_by_admin' => :'isByAdmin',
138
+ :'is_by_moderator' => :'isByModerator',
139
+ :'is_pinned' => :'isPinned',
140
+ :'is_locked' => :'isLocked',
141
+ :'flag_count' => :'flagCount',
142
+ :'display_label' => :'displayLabel',
143
+ :'badges' => :'badges',
144
+ :'verified' => :'verified',
145
+ :'feedback_ids' => :'feedbackIds',
146
+ :'is_deleted' => :'isDeleted'
147
+ }
148
+ end
149
+
150
+ # Returns attribute mapping this model knows about
151
+ def self.acceptable_attribute_map
152
+ attribute_map
153
+ end
154
+
155
+ # Returns all the JSON keys this model knows about
156
+ def self.acceptable_attributes
157
+ acceptable_attribute_map.values
158
+ end
159
+
160
+ # Attribute type mapping.
161
+ def self.openapi_types
162
+ {
163
+ :'is_local_deleted' => :'Boolean',
164
+ :'reply_count' => :'Float',
165
+ :'feedback_results' => :'Array<String>',
166
+ :'is_voted_up' => :'Boolean',
167
+ :'is_voted_down' => :'Boolean',
168
+ :'my_vote_id' => :'String',
169
+ :'_id' => :'String',
170
+ :'tenant_id' => :'String',
171
+ :'url_id' => :'String',
172
+ :'url' => :'String',
173
+ :'page_title' => :'String',
174
+ :'user_id' => :'String',
175
+ :'anon_user_id' => :'String',
176
+ :'commenter_name' => :'String',
177
+ :'commenter_link' => :'String',
178
+ :'comment_html' => :'String',
179
+ :'parent_id' => :'String',
180
+ :'date' => :'Time',
181
+ :'local_date_string' => :'String',
182
+ :'votes' => :'Float',
183
+ :'votes_up' => :'Float',
184
+ :'votes_down' => :'Float',
185
+ :'expire_at' => :'Time',
186
+ :'reviewed' => :'Boolean',
187
+ :'avatar_src' => :'String',
188
+ :'is_spam' => :'Boolean',
189
+ :'perm_not_spam' => :'Boolean',
190
+ :'has_links' => :'Boolean',
191
+ :'has_code' => :'Boolean',
192
+ :'approved' => :'Boolean',
193
+ :'locale' => :'String',
194
+ :'is_banned_user' => :'Boolean',
195
+ :'is_by_admin' => :'Boolean',
196
+ :'is_by_moderator' => :'Boolean',
197
+ :'is_pinned' => :'Boolean',
198
+ :'is_locked' => :'Boolean',
199
+ :'flag_count' => :'Float',
200
+ :'display_label' => :'String',
201
+ :'badges' => :'Array<CommentUserBadgeInfo>',
202
+ :'verified' => :'Boolean',
203
+ :'feedback_ids' => :'Array<String>',
204
+ :'is_deleted' => :'Boolean'
205
+ }
206
+ end
207
+
208
+ # List of attributes with nullable: true
209
+ def self.openapi_nullable
210
+ Set.new([
211
+ :'page_title',
212
+ :'user_id',
213
+ :'anon_user_id',
214
+ :'commenter_link',
215
+ :'parent_id',
216
+ :'date',
217
+ :'local_date_string',
218
+ :'votes',
219
+ :'votes_up',
220
+ :'votes_down',
221
+ :'expire_at',
222
+ :'avatar_src',
223
+ :'locale',
224
+ :'is_pinned',
225
+ :'is_locked',
226
+ :'flag_count',
227
+ :'display_label',
228
+ :'badges',
229
+ ])
230
+ end
231
+
232
+ # Initializes the object
233
+ # @param [Hash] attributes Model attributes in the form of hash
234
+ def initialize(attributes = {})
235
+ if (!attributes.is_a?(Hash))
236
+ fail ArgumentError, "The input argument (attributes) must be a hash in `FastCommentsClient::ModerationAPIComment` initialize method"
237
+ end
238
+
239
+ # check to see if the attribute exists and convert string to symbol for hash key
240
+ acceptable_attribute_map = self.class.acceptable_attribute_map
241
+ attributes = attributes.each_with_object({}) { |(k, v), h|
242
+ if (!acceptable_attribute_map.key?(k.to_sym))
243
+ fail ArgumentError, "`#{k}` is not a valid attribute in `FastCommentsClient::ModerationAPIComment`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
244
+ end
245
+ h[k.to_sym] = v
246
+ }
247
+
248
+ if attributes.key?(:'is_local_deleted')
249
+ self.is_local_deleted = attributes[:'is_local_deleted']
250
+ end
251
+
252
+ if attributes.key?(:'reply_count')
253
+ self.reply_count = attributes[:'reply_count']
254
+ end
255
+
256
+ if attributes.key?(:'feedback_results')
257
+ if (value = attributes[:'feedback_results']).is_a?(Array)
258
+ self.feedback_results = value
259
+ end
260
+ end
261
+
262
+ if attributes.key?(:'is_voted_up')
263
+ self.is_voted_up = attributes[:'is_voted_up']
264
+ end
265
+
266
+ if attributes.key?(:'is_voted_down')
267
+ self.is_voted_down = attributes[:'is_voted_down']
268
+ end
269
+
270
+ if attributes.key?(:'my_vote_id')
271
+ self.my_vote_id = attributes[:'my_vote_id']
272
+ end
273
+
274
+ if attributes.key?(:'_id')
275
+ self._id = attributes[:'_id']
276
+ else
277
+ self._id = nil
278
+ end
279
+
280
+ if attributes.key?(:'tenant_id')
281
+ self.tenant_id = attributes[:'tenant_id']
282
+ else
283
+ self.tenant_id = nil
284
+ end
285
+
286
+ if attributes.key?(:'url_id')
287
+ self.url_id = attributes[:'url_id']
288
+ else
289
+ self.url_id = nil
290
+ end
291
+
292
+ if attributes.key?(:'url')
293
+ self.url = attributes[:'url']
294
+ else
295
+ self.url = nil
296
+ end
297
+
298
+ if attributes.key?(:'page_title')
299
+ self.page_title = attributes[:'page_title']
300
+ end
301
+
302
+ if attributes.key?(:'user_id')
303
+ self.user_id = attributes[:'user_id']
304
+ end
305
+
306
+ if attributes.key?(:'anon_user_id')
307
+ self.anon_user_id = attributes[:'anon_user_id']
308
+ end
309
+
310
+ if attributes.key?(:'commenter_name')
311
+ self.commenter_name = attributes[:'commenter_name']
312
+ else
313
+ self.commenter_name = nil
314
+ end
315
+
316
+ if attributes.key?(:'commenter_link')
317
+ self.commenter_link = attributes[:'commenter_link']
318
+ end
319
+
320
+ if attributes.key?(:'comment_html')
321
+ self.comment_html = attributes[:'comment_html']
322
+ else
323
+ self.comment_html = nil
324
+ end
325
+
326
+ if attributes.key?(:'parent_id')
327
+ self.parent_id = attributes[:'parent_id']
328
+ end
329
+
330
+ if attributes.key?(:'date')
331
+ self.date = attributes[:'date']
332
+ else
333
+ self.date = nil
334
+ end
335
+
336
+ if attributes.key?(:'local_date_string')
337
+ self.local_date_string = attributes[:'local_date_string']
338
+ end
339
+
340
+ if attributes.key?(:'votes')
341
+ self.votes = attributes[:'votes']
342
+ end
343
+
344
+ if attributes.key?(:'votes_up')
345
+ self.votes_up = attributes[:'votes_up']
346
+ end
347
+
348
+ if attributes.key?(:'votes_down')
349
+ self.votes_down = attributes[:'votes_down']
350
+ end
351
+
352
+ if attributes.key?(:'expire_at')
353
+ self.expire_at = attributes[:'expire_at']
354
+ end
355
+
356
+ if attributes.key?(:'reviewed')
357
+ self.reviewed = attributes[:'reviewed']
358
+ end
359
+
360
+ if attributes.key?(:'avatar_src')
361
+ self.avatar_src = attributes[:'avatar_src']
362
+ end
363
+
364
+ if attributes.key?(:'is_spam')
365
+ self.is_spam = attributes[:'is_spam']
366
+ end
367
+
368
+ if attributes.key?(:'perm_not_spam')
369
+ self.perm_not_spam = attributes[:'perm_not_spam']
370
+ end
371
+
372
+ if attributes.key?(:'has_links')
373
+ self.has_links = attributes[:'has_links']
374
+ end
375
+
376
+ if attributes.key?(:'has_code')
377
+ self.has_code = attributes[:'has_code']
378
+ end
379
+
380
+ if attributes.key?(:'approved')
381
+ self.approved = attributes[:'approved']
382
+ else
383
+ self.approved = nil
384
+ end
385
+
386
+ if attributes.key?(:'locale')
387
+ self.locale = attributes[:'locale']
388
+ else
389
+ self.locale = nil
390
+ end
391
+
392
+ if attributes.key?(:'is_banned_user')
393
+ self.is_banned_user = attributes[:'is_banned_user']
394
+ end
395
+
396
+ if attributes.key?(:'is_by_admin')
397
+ self.is_by_admin = attributes[:'is_by_admin']
398
+ end
399
+
400
+ if attributes.key?(:'is_by_moderator')
401
+ self.is_by_moderator = attributes[:'is_by_moderator']
402
+ end
403
+
404
+ if attributes.key?(:'is_pinned')
405
+ self.is_pinned = attributes[:'is_pinned']
406
+ end
407
+
408
+ if attributes.key?(:'is_locked')
409
+ self.is_locked = attributes[:'is_locked']
410
+ end
411
+
412
+ if attributes.key?(:'flag_count')
413
+ self.flag_count = attributes[:'flag_count']
414
+ end
415
+
416
+ if attributes.key?(:'display_label')
417
+ self.display_label = attributes[:'display_label']
418
+ end
419
+
420
+ if attributes.key?(:'badges')
421
+ if (value = attributes[:'badges']).is_a?(Array)
422
+ self.badges = value
423
+ end
424
+ end
425
+
426
+ if attributes.key?(:'verified')
427
+ self.verified = attributes[:'verified']
428
+ else
429
+ self.verified = nil
430
+ end
431
+
432
+ if attributes.key?(:'feedback_ids')
433
+ if (value = attributes[:'feedback_ids']).is_a?(Array)
434
+ self.feedback_ids = value
435
+ end
436
+ end
437
+
438
+ if attributes.key?(:'is_deleted')
439
+ self.is_deleted = attributes[:'is_deleted']
440
+ end
441
+ end
442
+
443
+ # Show invalid properties with the reasons. Usually used together with valid?
444
+ # @return Array for valid properties with the reasons
445
+ def list_invalid_properties
446
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
447
+ invalid_properties = Array.new
448
+ if @_id.nil?
449
+ invalid_properties.push('invalid value for "_id", _id cannot be nil.')
450
+ end
451
+
452
+ if @tenant_id.nil?
453
+ invalid_properties.push('invalid value for "tenant_id", tenant_id cannot be nil.')
454
+ end
455
+
456
+ if @url_id.nil?
457
+ invalid_properties.push('invalid value for "url_id", url_id cannot be nil.')
458
+ end
459
+
460
+ if @url.nil?
461
+ invalid_properties.push('invalid value for "url", url cannot be nil.')
462
+ end
463
+
464
+ if @commenter_name.nil?
465
+ invalid_properties.push('invalid value for "commenter_name", commenter_name cannot be nil.')
466
+ end
467
+
468
+ if @comment_html.nil?
469
+ invalid_properties.push('invalid value for "comment_html", comment_html cannot be nil.')
470
+ end
471
+
472
+ if @approved.nil?
473
+ invalid_properties.push('invalid value for "approved", approved cannot be nil.')
474
+ end
475
+
476
+ if @verified.nil?
477
+ invalid_properties.push('invalid value for "verified", verified cannot be nil.')
478
+ end
479
+
480
+ invalid_properties
481
+ end
482
+
483
+ # Check to see if the all the properties in the model are valid
484
+ # @return true if the model is valid
485
+ def valid?
486
+ warn '[DEPRECATED] the `valid?` method is obsolete'
487
+ return false if @_id.nil?
488
+ return false if @tenant_id.nil?
489
+ return false if @url_id.nil?
490
+ return false if @url.nil?
491
+ return false if @commenter_name.nil?
492
+ return false if @comment_html.nil?
493
+ return false if @approved.nil?
494
+ return false if @verified.nil?
495
+ true
496
+ end
497
+
498
+ # Custom attribute writer method with validation
499
+ # @param [Object] _id Value to be assigned
500
+ def _id=(_id)
501
+ if _id.nil?
502
+ fail ArgumentError, '_id cannot be nil'
503
+ end
504
+
505
+ @_id = _id
506
+ end
507
+
508
+ # Custom attribute writer method with validation
509
+ # @param [Object] tenant_id Value to be assigned
510
+ def tenant_id=(tenant_id)
511
+ if tenant_id.nil?
512
+ fail ArgumentError, 'tenant_id cannot be nil'
513
+ end
514
+
515
+ @tenant_id = tenant_id
516
+ end
517
+
518
+ # Custom attribute writer method with validation
519
+ # @param [Object] url_id Value to be assigned
520
+ def url_id=(url_id)
521
+ if url_id.nil?
522
+ fail ArgumentError, 'url_id cannot be nil'
523
+ end
524
+
525
+ @url_id = url_id
526
+ end
527
+
528
+ # Custom attribute writer method with validation
529
+ # @param [Object] url Value to be assigned
530
+ def url=(url)
531
+ if url.nil?
532
+ fail ArgumentError, 'url cannot be nil'
533
+ end
534
+
535
+ @url = url
536
+ end
537
+
538
+ # Custom attribute writer method with validation
539
+ # @param [Object] commenter_name Value to be assigned
540
+ def commenter_name=(commenter_name)
541
+ if commenter_name.nil?
542
+ fail ArgumentError, 'commenter_name cannot be nil'
543
+ end
544
+
545
+ @commenter_name = commenter_name
546
+ end
547
+
548
+ # Custom attribute writer method with validation
549
+ # @param [Object] comment_html Value to be assigned
550
+ def comment_html=(comment_html)
551
+ if comment_html.nil?
552
+ fail ArgumentError, 'comment_html cannot be nil'
553
+ end
554
+
555
+ @comment_html = comment_html
556
+ end
557
+
558
+ # Custom attribute writer method with validation
559
+ # @param [Object] approved Value to be assigned
560
+ def approved=(approved)
561
+ if approved.nil?
562
+ fail ArgumentError, 'approved cannot be nil'
563
+ end
564
+
565
+ @approved = approved
566
+ end
567
+
568
+ # Custom attribute writer method with validation
569
+ # @param [Object] verified Value to be assigned
570
+ def verified=(verified)
571
+ if verified.nil?
572
+ fail ArgumentError, 'verified cannot be nil'
573
+ end
574
+
575
+ @verified = verified
576
+ end
577
+
578
+ # Checks equality by comparing each attribute.
579
+ # @param [Object] Object to be compared
580
+ def ==(o)
581
+ return true if self.equal?(o)
582
+ self.class == o.class &&
583
+ is_local_deleted == o.is_local_deleted &&
584
+ reply_count == o.reply_count &&
585
+ feedback_results == o.feedback_results &&
586
+ is_voted_up == o.is_voted_up &&
587
+ is_voted_down == o.is_voted_down &&
588
+ my_vote_id == o.my_vote_id &&
589
+ _id == o._id &&
590
+ tenant_id == o.tenant_id &&
591
+ url_id == o.url_id &&
592
+ url == o.url &&
593
+ page_title == o.page_title &&
594
+ user_id == o.user_id &&
595
+ anon_user_id == o.anon_user_id &&
596
+ commenter_name == o.commenter_name &&
597
+ commenter_link == o.commenter_link &&
598
+ comment_html == o.comment_html &&
599
+ parent_id == o.parent_id &&
600
+ date == o.date &&
601
+ local_date_string == o.local_date_string &&
602
+ votes == o.votes &&
603
+ votes_up == o.votes_up &&
604
+ votes_down == o.votes_down &&
605
+ expire_at == o.expire_at &&
606
+ reviewed == o.reviewed &&
607
+ avatar_src == o.avatar_src &&
608
+ is_spam == o.is_spam &&
609
+ perm_not_spam == o.perm_not_spam &&
610
+ has_links == o.has_links &&
611
+ has_code == o.has_code &&
612
+ approved == o.approved &&
613
+ locale == o.locale &&
614
+ is_banned_user == o.is_banned_user &&
615
+ is_by_admin == o.is_by_admin &&
616
+ is_by_moderator == o.is_by_moderator &&
617
+ is_pinned == o.is_pinned &&
618
+ is_locked == o.is_locked &&
619
+ flag_count == o.flag_count &&
620
+ display_label == o.display_label &&
621
+ badges == o.badges &&
622
+ verified == o.verified &&
623
+ feedback_ids == o.feedback_ids &&
624
+ is_deleted == o.is_deleted
625
+ end
626
+
627
+ # @see the `==` method
628
+ # @param [Object] Object to be compared
629
+ def eql?(o)
630
+ self == o
631
+ end
632
+
633
+ # Calculates hash code according to all attributes.
634
+ # @return [Integer] Hash code
635
+ def hash
636
+ [is_local_deleted, reply_count, feedback_results, is_voted_up, is_voted_down, my_vote_id, _id, tenant_id, url_id, url, page_title, user_id, anon_user_id, commenter_name, commenter_link, comment_html, parent_id, date, local_date_string, votes, votes_up, votes_down, expire_at, reviewed, avatar_src, is_spam, perm_not_spam, has_links, has_code, approved, locale, is_banned_user, is_by_admin, is_by_moderator, is_pinned, is_locked, flag_count, display_label, badges, verified, feedback_ids, is_deleted].hash
637
+ end
638
+
639
+ # Builds the object from hash
640
+ # @param [Hash] attributes Model attributes in the form of hash
641
+ # @return [Object] Returns the model itself
642
+ def self.build_from_hash(attributes)
643
+ return nil unless attributes.is_a?(Hash)
644
+ attributes = attributes.transform_keys(&:to_sym)
645
+ transformed_hash = {}
646
+ openapi_types.each_pair do |key, type|
647
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
648
+ transformed_hash["#{key}"] = nil
649
+ elsif type =~ /\AArray<(.*)>/i
650
+ # check to ensure the input is an array given that the attribute
651
+ # is documented as an array but the input is not
652
+ if attributes[attribute_map[key]].is_a?(Array)
653
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
654
+ end
655
+ elsif !attributes[attribute_map[key]].nil?
656
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
657
+ end
658
+ end
659
+ new(transformed_hash)
660
+ end
661
+
662
+ # Deserializes the data based on type
663
+ # @param string type Data type
664
+ # @param string value Value to be deserialized
665
+ # @return [Object] Deserialized data
666
+ def self._deserialize(type, value)
667
+ case type.to_sym
668
+ when :Time
669
+ Time.parse(value)
670
+ when :Date
671
+ Date.parse(value)
672
+ when :String
673
+ value.to_s
674
+ when :Integer
675
+ value.to_i
676
+ when :Float
677
+ value.to_f
678
+ when :Boolean
679
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
680
+ true
681
+ else
682
+ false
683
+ end
684
+ when :Object
685
+ # generic object (usually a Hash), return directly
686
+ value
687
+ when /\AArray<(?<inner_type>.+)>\z/
688
+ inner_type = Regexp.last_match[:inner_type]
689
+ value.map { |v| _deserialize(inner_type, v) }
690
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
691
+ k_type = Regexp.last_match[:k_type]
692
+ v_type = Regexp.last_match[:v_type]
693
+ {}.tap do |hash|
694
+ value.each do |k, v|
695
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
696
+ end
697
+ end
698
+ else # model
699
+ # models (e.g. Pet) or oneOf
700
+ klass = FastCommentsClient.const_get(type)
701
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
702
+ end
703
+ end
704
+
705
+ # Returns the string representation of the object
706
+ # @return [String] String presentation of the object
707
+ def to_s
708
+ to_hash.to_s
709
+ end
710
+
711
+ # to_body is an alias to to_hash (backward compatibility)
712
+ # @return [Hash] Returns the object in the form of hash
713
+ def to_body
714
+ to_hash
715
+ end
716
+
717
+ # Returns the object in the form of hash
718
+ # @return [Hash] Returns the object in the form of hash
719
+ def to_hash
720
+ hash = {}
721
+ self.class.attribute_map.each_pair do |attr, param|
722
+ value = self.send(attr)
723
+ if value.nil?
724
+ is_nullable = self.class.openapi_nullable.include?(attr)
725
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
726
+ end
727
+
728
+ hash[param] = _to_hash(value)
729
+ end
730
+ hash
731
+ end
732
+
733
+ # Outputs non-array value in the form of hash
734
+ # For object, use to_hash. Otherwise, just return the value
735
+ # @param [Object] value Any valid value
736
+ # @return [Hash] Returns the value in the form of hash
737
+ def _to_hash(value)
738
+ if value.is_a?(Array)
739
+ value.compact.map { |v| _to_hash(v) }
740
+ elsif value.is_a?(Hash)
741
+ {}.tap do |hash|
742
+ value.each { |k, v| hash[k] = _to_hash(v) }
743
+ end
744
+ elsif value.respond_to? :to_hash
745
+ value.to_hash
746
+ else
747
+ value
748
+ end
749
+ end
750
+
751
+ end
752
+
753
+ end