fastcomments 0.3.0 → 1.2.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 (807) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -4
  3. data/client/README.md +182 -5
  4. data/client/docs/APIDomainConfiguration.md +46 -0
  5. data/client/docs/APITenant.md +72 -0
  6. data/client/docs/APITenantDailyUsage.md +54 -0
  7. data/client/docs/AddHashTag200Response.md +34 -0
  8. data/client/docs/AddHashTagsBulk200Response.md +34 -0
  9. data/client/docs/BillingInfo.md +32 -0
  10. data/client/docs/BulkCreateHashTagsBody.md +20 -0
  11. data/client/docs/BulkCreateHashTagsBodyTagsInner.md +20 -0
  12. data/client/docs/BulkCreateHashTagsResponse.md +20 -0
  13. data/client/docs/CommentLogData.md +7 -1
  14. data/client/docs/CreateEmailTemplate200Response.md +34 -0
  15. data/client/docs/CreateEmailTemplateBody.md +28 -0
  16. data/client/docs/CreateEmailTemplateResponse.md +20 -0
  17. data/client/docs/CreateHashTagBody.md +22 -0
  18. data/client/docs/CreateHashTagResponse.md +20 -0
  19. data/client/docs/CreateModerator200Response.md +34 -0
  20. data/client/docs/CreateModeratorBody.md +24 -0
  21. data/client/docs/CreateModeratorResponse.md +20 -0
  22. data/client/docs/CreateQuestionConfig200Response.md +34 -0
  23. data/client/docs/CreateQuestionConfigBody.md +44 -0
  24. data/client/docs/CreateQuestionConfigResponse.md +20 -0
  25. data/client/docs/CreateQuestionResult200Response.md +34 -0
  26. data/client/docs/CreateQuestionResultBody.md +30 -0
  27. data/client/docs/CreateQuestionResultResponse.md +20 -0
  28. data/client/docs/CreateTenant200Response.md +34 -0
  29. data/client/docs/CreateTenantBody.md +62 -0
  30. data/client/docs/CreateTenantPackage200Response.md +34 -0
  31. data/client/docs/CreateTenantPackageBody.md +112 -0
  32. data/client/docs/CreateTenantPackageResponse.md +20 -0
  33. data/client/docs/CreateTenantResponse.md +20 -0
  34. data/client/docs/CreateTenantUser200Response.md +34 -0
  35. data/client/docs/CreateTenantUserBody.md +64 -0
  36. data/client/docs/CreateTenantUserResponse.md +20 -0
  37. data/client/docs/CustomEmailTemplate.md +38 -0
  38. data/client/docs/DefaultApi.md +5229 -591
  39. data/client/docs/DeleteHashTagRequest.md +18 -0
  40. data/client/docs/DigestEmailFrequency.md +15 -0
  41. data/client/docs/EmailTemplateDefinition.md +24 -0
  42. data/client/docs/EmailTemplateRenderErrorResponse.md +30 -0
  43. data/client/docs/GetCachedNotificationCount200Response.md +34 -0
  44. data/client/docs/GetCachedNotificationCountResponse.md +20 -0
  45. data/client/docs/GetEmailTemplate200Response.md +34 -0
  46. data/client/docs/GetEmailTemplateDefinitions200Response.md +34 -0
  47. data/client/docs/GetEmailTemplateDefinitionsResponse.md +20 -0
  48. data/client/docs/GetEmailTemplateRenderErrors200Response.md +34 -0
  49. data/client/docs/GetEmailTemplateRenderErrorsResponse.md +20 -0
  50. data/client/docs/GetEmailTemplateResponse.md +20 -0
  51. data/client/docs/GetEmailTemplates200Response.md +34 -0
  52. data/client/docs/GetEmailTemplatesResponse.md +20 -0
  53. data/client/docs/GetHashTags200Response.md +34 -0
  54. data/client/docs/GetHashTagsResponse.md +20 -0
  55. data/client/docs/GetModerator200Response.md +34 -0
  56. data/client/docs/GetModeratorResponse.md +20 -0
  57. data/client/docs/GetModerators200Response.md +34 -0
  58. data/client/docs/GetModeratorsResponse.md +20 -0
  59. data/client/docs/GetNotificationCount200Response.md +34 -0
  60. data/client/docs/GetNotificationCountResponse.md +20 -0
  61. data/client/docs/GetNotifications200Response.md +34 -0
  62. data/client/docs/GetNotificationsResponse.md +20 -0
  63. data/client/docs/GetPendingWebhookEventCount200Response.md +34 -0
  64. data/client/docs/GetPendingWebhookEventCountResponse.md +20 -0
  65. data/client/docs/GetPendingWebhookEvents200Response.md +34 -0
  66. data/client/docs/GetPendingWebhookEventsResponse.md +20 -0
  67. data/client/docs/GetQuestionConfig200Response.md +34 -0
  68. data/client/docs/GetQuestionConfigResponse.md +20 -0
  69. data/client/docs/GetQuestionConfigs200Response.md +34 -0
  70. data/client/docs/GetQuestionConfigsResponse.md +20 -0
  71. data/client/docs/GetQuestionResult200Response.md +34 -0
  72. data/client/docs/GetQuestionResultResponse.md +20 -0
  73. data/client/docs/GetQuestionResults200Response.md +34 -0
  74. data/client/docs/GetQuestionResultsResponse.md +20 -0
  75. data/client/docs/GetTenant200Response.md +34 -0
  76. data/client/docs/GetTenantDailyUsages200Response.md +34 -0
  77. data/client/docs/GetTenantDailyUsagesResponse.md +20 -0
  78. data/client/docs/GetTenantPackage200Response.md +34 -0
  79. data/client/docs/GetTenantPackageResponse.md +20 -0
  80. data/client/docs/GetTenantPackages200Response.md +34 -0
  81. data/client/docs/GetTenantPackagesResponse.md +20 -0
  82. data/client/docs/GetTenantResponse.md +20 -0
  83. data/client/docs/GetTenantUser200Response.md +34 -0
  84. data/client/docs/GetTenantUserResponse.md +20 -0
  85. data/client/docs/GetTenantUsers200Response.md +34 -0
  86. data/client/docs/GetTenantUsersResponse.md +20 -0
  87. data/client/docs/GetTenants200Response.md +34 -0
  88. data/client/docs/GetTenantsResponse.md +20 -0
  89. data/client/docs/GetUser200Response.md +34 -0
  90. data/client/docs/GetUserResponse.md +20 -0
  91. data/client/docs/GetVotes200Response.md +38 -0
  92. data/client/docs/GetVotesForUser200Response.md +38 -0
  93. data/client/docs/GetVotesForUserResponse.md +24 -0
  94. data/client/docs/GetVotesResponse.md +24 -0
  95. data/client/docs/ImportedSiteType.md +15 -0
  96. data/client/docs/Moderator.md +52 -0
  97. data/client/docs/PatchHashTag200Response.md +34 -0
  98. data/client/docs/PendingCommentToSyncOutbound.md +42 -0
  99. data/client/docs/PublicApi.md +6 -6
  100. data/client/docs/PublicVote.md +28 -0
  101. data/client/docs/QuestionConfig.md +58 -0
  102. data/client/docs/QuestionConfigCustomOptionsInner.md +20 -0
  103. data/client/docs/RenderEmailTemplate200Response.md +34 -0
  104. data/client/docs/RenderEmailTemplateBody.md +24 -0
  105. data/client/docs/RenderEmailTemplateResponse.md +20 -0
  106. data/client/docs/ReplaceTenantPackageBody.md +76 -0
  107. data/client/docs/ReplaceTenantUserBody.md +72 -0
  108. data/client/docs/TenantHashTag.md +26 -0
  109. data/client/docs/TenantPackage.md +120 -0
  110. data/client/docs/UpdateEmailTemplateBody.md +28 -0
  111. data/client/docs/UpdateHashTagBody.md +22 -0
  112. data/client/docs/UpdateHashTagResponse.md +20 -0
  113. data/client/docs/UpdateModeratorBody.md +24 -0
  114. data/client/docs/UpdateNotificationBody.md +20 -0
  115. data/client/docs/UpdateQuestionConfigBody.md +44 -0
  116. data/client/docs/UpdateQuestionResultBody.md +30 -0
  117. data/client/docs/UpdateTenantBody.md +64 -0
  118. data/client/docs/UpdateTenantPackageBody.md +78 -0
  119. data/client/docs/UpdateTenantUserBody.md +64 -0
  120. data/client/docs/User.md +118 -0
  121. data/client/docs/UserNotificationCount.md +24 -0
  122. data/client/fastcomments-client.gemspec +1 -1
  123. data/client/lib/fastcomments-client/api/default_api.rb +5134 -777
  124. data/client/lib/fastcomments-client/api/public_api.rb +7 -11
  125. data/client/lib/fastcomments-client/api_client.rb +1 -1
  126. data/client/lib/fastcomments-client/api_error.rb +1 -1
  127. data/client/lib/fastcomments-client/api_model_base.rb +1 -1
  128. data/client/lib/fastcomments-client/configuration.rb +1 -1
  129. data/client/lib/fastcomments-client/models/add_domain_config200_response.rb +1 -1
  130. data/client/lib/fastcomments-client/models/add_domain_config200_response_any_of.rb +1 -1
  131. data/client/lib/fastcomments-client/models/add_domain_config_params.rb +1 -1
  132. data/client/lib/fastcomments-client/models/add_hash_tag200_response.rb +103 -0
  133. data/client/lib/fastcomments-client/models/add_hash_tags_bulk200_response.rb +103 -0
  134. data/client/lib/fastcomments-client/models/add_page_api_response.rb +1 -1
  135. data/client/lib/fastcomments-client/models/add_sso_user_api_response.rb +1 -1
  136. data/client/lib/fastcomments-client/models/aggregate_question_results200_response.rb +1 -1
  137. data/client/lib/fastcomments-client/models/aggregate_question_results_response.rb +1 -1
  138. data/client/lib/fastcomments-client/models/aggregate_time_bucket.rb +1 -1
  139. data/client/lib/fastcomments-client/models/aggregation_item.rb +1 -1
  140. data/client/lib/fastcomments-client/models/aggregation_op_type.rb +1 -1
  141. data/client/lib/fastcomments-client/models/aggregation_operation.rb +1 -1
  142. data/client/lib/fastcomments-client/models/aggregation_request.rb +1 -1
  143. data/client/lib/fastcomments-client/models/aggregation_request_sort.rb +1 -1
  144. data/client/lib/fastcomments-client/models/aggregation_response.rb +1 -1
  145. data/client/lib/fastcomments-client/models/aggregation_response_stats.rb +1 -1
  146. data/client/lib/fastcomments-client/models/aggregation_value.rb +1 -1
  147. data/client/lib/fastcomments-client/models/api_audit_log.rb +1 -1
  148. data/client/lib/fastcomments-client/models/api_comment.rb +1 -1
  149. data/client/lib/fastcomments-client/models/api_comment_base.rb +1 -1
  150. data/client/lib/fastcomments-client/models/api_create_user_badge_response.rb +1 -1
  151. data/client/lib/fastcomments-client/models/api_domain_configuration.rb +355 -0
  152. data/client/lib/fastcomments-client/models/api_empty_response.rb +1 -1
  153. data/client/lib/fastcomments-client/models/api_empty_success_response.rb +1 -1
  154. data/client/lib/fastcomments-client/models/api_error.rb +1 -1
  155. data/client/lib/fastcomments-client/models/api_get_comment_response.rb +1 -1
  156. data/client/lib/fastcomments-client/models/api_get_comments_response.rb +1 -1
  157. data/client/lib/fastcomments-client/models/api_get_user_badge_progress_list_response.rb +1 -1
  158. data/client/lib/fastcomments-client/models/api_get_user_badge_progress_response.rb +1 -1
  159. data/client/lib/fastcomments-client/models/api_get_user_badge_response.rb +1 -1
  160. data/client/lib/fastcomments-client/models/api_get_user_badges_response.rb +1 -1
  161. data/client/lib/fastcomments-client/models/api_page.rb +1 -1
  162. data/client/lib/fastcomments-client/models/api_status.rb +1 -1
  163. data/client/lib/fastcomments-client/models/api_tenant.rb +583 -0
  164. data/client/lib/fastcomments-client/models/api_tenant_daily_usage.rb +632 -0
  165. data/client/lib/fastcomments-client/models/api_user_subscription.rb +1 -1
  166. data/client/lib/fastcomments-client/models/apisso_user.rb +1 -1
  167. data/client/lib/fastcomments-client/models/billing_info.rb +315 -0
  168. data/client/lib/fastcomments-client/models/block_from_comment_params.rb +1 -1
  169. data/client/lib/fastcomments-client/models/block_from_comment_public200_response.rb +1 -1
  170. data/client/lib/fastcomments-client/models/block_success.rb +1 -1
  171. data/client/lib/fastcomments-client/models/bulk_aggregate_question_item.rb +1 -1
  172. data/client/lib/fastcomments-client/models/bulk_aggregate_question_results200_response.rb +1 -1
  173. data/client/lib/fastcomments-client/models/bulk_aggregate_question_results_request.rb +1 -1
  174. data/client/lib/fastcomments-client/models/bulk_aggregate_question_results_response.rb +1 -1
  175. data/client/lib/fastcomments-client/models/bulk_create_hash_tags_body.rb +175 -0
  176. data/client/lib/fastcomments-client/models/bulk_create_hash_tags_body_tags_inner.rb +173 -0
  177. data/client/lib/fastcomments-client/models/bulk_create_hash_tags_response.rb +214 -0
  178. data/client/lib/fastcomments-client/models/change_comment_pin_status_response.rb +1 -1
  179. data/client/lib/fastcomments-client/models/check_blocked_comments_response.rb +1 -1
  180. data/client/lib/fastcomments-client/models/checked_comments_for_blocked200_response.rb +1 -1
  181. data/client/lib/fastcomments-client/models/combine_comments_with_question_results200_response.rb +1 -1
  182. data/client/lib/fastcomments-client/models/combine_question_results_with_comments_response.rb +1 -1
  183. data/client/lib/fastcomments-client/models/comment_data.rb +1 -1
  184. data/client/lib/fastcomments-client/models/comment_html_rendering_mode.rb +1 -1
  185. data/client/lib/fastcomments-client/models/comment_log_data.rb +32 -5
  186. data/client/lib/fastcomments-client/models/comment_log_entry.rb +1 -1
  187. data/client/lib/fastcomments-client/models/comment_log_type.rb +3 -2
  188. data/client/lib/fastcomments-client/models/comment_question_results_rendering_type.rb +1 -1
  189. data/client/lib/fastcomments-client/models/comment_questions_required.rb +1 -1
  190. data/client/lib/fastcomments-client/models/comment_text_update_request.rb +1 -1
  191. data/client/lib/fastcomments-client/models/comment_thread_deletion_mode.rb +1 -1
  192. data/client/lib/fastcomments-client/models/comment_user_badge_info.rb +1 -1
  193. data/client/lib/fastcomments-client/models/comment_user_hash_tag_info.rb +1 -1
  194. data/client/lib/fastcomments-client/models/comment_user_mention_info.rb +1 -1
  195. data/client/lib/fastcomments-client/models/commenter_name_formats.rb +1 -1
  196. data/client/lib/fastcomments-client/models/create_api_page_data.rb +1 -1
  197. data/client/lib/fastcomments-client/models/create_api_user_subscription_data.rb +1 -1
  198. data/client/lib/fastcomments-client/models/create_apisso_user_data.rb +1 -1
  199. data/client/lib/fastcomments-client/models/create_comment_params.rb +1 -1
  200. data/client/lib/fastcomments-client/models/create_comment_public200_response.rb +1 -1
  201. data/client/lib/fastcomments-client/models/create_email_template200_response.rb +103 -0
  202. data/client/lib/fastcomments-client/models/create_email_template_body.rb +249 -0
  203. data/client/lib/fastcomments-client/models/create_email_template_response.rb +212 -0
  204. data/client/lib/fastcomments-client/models/create_feed_post200_response.rb +1 -1
  205. data/client/lib/fastcomments-client/models/create_feed_post_params.rb +1 -1
  206. data/client/lib/fastcomments-client/models/create_feed_post_public200_response.rb +1 -1
  207. data/client/lib/fastcomments-client/models/create_feed_post_response.rb +1 -1
  208. data/client/lib/fastcomments-client/models/create_feed_posts_response.rb +1 -1
  209. data/client/lib/fastcomments-client/models/create_hash_tag_body.rb +182 -0
  210. data/client/lib/fastcomments-client/models/create_hash_tag_response.rb +212 -0
  211. data/client/lib/fastcomments-client/models/create_moderator200_response.rb +103 -0
  212. data/client/lib/fastcomments-client/models/create_moderator_body.rb +210 -0
  213. data/client/lib/fastcomments-client/models/create_moderator_response.rb +212 -0
  214. data/client/lib/fastcomments-client/models/create_question_config200_response.rb +103 -0
  215. data/client/lib/fastcomments-client/models/create_question_config_body.rb +336 -0
  216. data/client/lib/fastcomments-client/models/create_question_config_response.rb +212 -0
  217. data/client/lib/fastcomments-client/models/create_question_result200_response.rb +103 -0
  218. data/client/lib/fastcomments-client/models/create_question_result_body.rb +255 -0
  219. data/client/lib/fastcomments-client/models/create_question_result_response.rb +212 -0
  220. data/client/lib/fastcomments-client/models/create_subscription_api_response.rb +1 -1
  221. data/client/lib/fastcomments-client/models/create_tenant200_response.rb +103 -0
  222. data/client/lib/fastcomments-client/models/create_tenant_body.rb +384 -0
  223. data/client/lib/fastcomments-client/models/create_tenant_package200_response.rb +103 -0
  224. data/client/lib/fastcomments-client/models/create_tenant_package_body.rb +797 -0
  225. data/client/lib/fastcomments-client/models/create_tenant_package_response.rb +212 -0
  226. data/client/lib/fastcomments-client/models/create_tenant_response.rb +212 -0
  227. data/client/lib/fastcomments-client/models/create_tenant_user200_response.rb +103 -0
  228. data/client/lib/fastcomments-client/models/create_tenant_user_body.rb +390 -0
  229. data/client/lib/fastcomments-client/models/create_tenant_user_response.rb +212 -0
  230. data/client/lib/fastcomments-client/models/create_user_badge200_response.rb +1 -1
  231. data/client/lib/fastcomments-client/models/create_user_badge_params.rb +1 -1
  232. data/client/lib/fastcomments-client/models/custom_config_parameters.rb +1 -1
  233. data/client/lib/fastcomments-client/models/custom_email_template.rb +369 -0
  234. data/client/lib/fastcomments-client/models/delete_comment200_response.rb +1 -1
  235. data/client/lib/fastcomments-client/models/delete_comment_action.rb +1 -1
  236. data/client/lib/fastcomments-client/models/delete_comment_public200_response.rb +1 -1
  237. data/client/lib/fastcomments-client/models/delete_comment_result.rb +1 -1
  238. data/client/lib/fastcomments-client/models/delete_comment_vote200_response.rb +1 -1
  239. data/client/lib/fastcomments-client/models/delete_domain_config200_response.rb +1 -1
  240. data/client/lib/fastcomments-client/models/delete_feed_post_public200_response.rb +1 -1
  241. data/client/lib/fastcomments-client/models/delete_feed_post_public200_response_any_of.rb +1 -1
  242. data/client/lib/fastcomments-client/models/delete_hash_tag_request.rb +147 -0
  243. data/client/lib/fastcomments-client/models/delete_page_api_response.rb +1 -1
  244. data/client/lib/fastcomments-client/models/delete_sso_user_api_response.rb +1 -1
  245. data/client/lib/fastcomments-client/models/delete_subscription_api_response.rb +1 -1
  246. data/client/lib/fastcomments-client/models/deleted_comment_result_comment.rb +1 -1
  247. data/client/lib/fastcomments-client/models/digest_email_frequency.rb +42 -0
  248. data/client/lib/fastcomments-client/models/email_template_definition.rb +248 -0
  249. data/client/lib/fastcomments-client/models/email_template_render_error_response.rb +320 -0
  250. data/client/lib/fastcomments-client/models/event_log_entry.rb +1 -1
  251. data/client/lib/fastcomments-client/models/f_comment.rb +1 -1
  252. data/client/lib/fastcomments-client/models/f_comment_meta.rb +1 -1
  253. data/client/lib/fastcomments-client/models/feed_post.rb +1 -1
  254. data/client/lib/fastcomments-client/models/feed_post_link.rb +1 -1
  255. data/client/lib/fastcomments-client/models/feed_post_media_item.rb +1 -1
  256. data/client/lib/fastcomments-client/models/feed_post_media_item_asset.rb +1 -1
  257. data/client/lib/fastcomments-client/models/feed_post_stats.rb +1 -1
  258. data/client/lib/fastcomments-client/models/feed_posts_stats_response.rb +1 -1
  259. data/client/lib/fastcomments-client/models/find_comments_by_range_item.rb +1 -1
  260. data/client/lib/fastcomments-client/models/find_comments_by_range_response.rb +1 -1
  261. data/client/lib/fastcomments-client/models/flag_comment200_response.rb +1 -1
  262. data/client/lib/fastcomments-client/models/flag_comment_public200_response.rb +1 -1
  263. data/client/lib/fastcomments-client/models/flag_comment_response.rb +1 -1
  264. data/client/lib/fastcomments-client/models/get_audit_logs200_response.rb +1 -1
  265. data/client/lib/fastcomments-client/models/get_audit_logs_response.rb +1 -1
  266. data/client/lib/fastcomments-client/models/get_cached_notification_count200_response.rb +103 -0
  267. data/client/lib/fastcomments-client/models/get_cached_notification_count_response.rb +212 -0
  268. data/client/lib/fastcomments-client/models/get_comment200_response.rb +1 -1
  269. data/client/lib/fastcomments-client/models/get_comment_text200_response.rb +1 -1
  270. data/client/lib/fastcomments-client/models/get_comment_vote_user_names200_response.rb +1 -1
  271. data/client/lib/fastcomments-client/models/get_comment_vote_user_names_success_response.rb +1 -1
  272. data/client/lib/fastcomments-client/models/get_comments200_response.rb +1 -1
  273. data/client/lib/fastcomments-client/models/get_comments_public200_response.rb +1 -1
  274. data/client/lib/fastcomments-client/models/get_comments_response_public_comment.rb +1 -1
  275. data/client/lib/fastcomments-client/models/get_comments_response_with_presence_public_comment.rb +1 -1
  276. data/client/lib/fastcomments-client/models/get_domain_config200_response.rb +1 -1
  277. data/client/lib/fastcomments-client/models/get_domain_configs200_response.rb +1 -1
  278. data/client/lib/fastcomments-client/models/get_domain_configs200_response_any_of.rb +1 -1
  279. data/client/lib/fastcomments-client/models/get_domain_configs200_response_any_of1.rb +1 -1
  280. data/client/lib/fastcomments-client/models/get_email_template200_response.rb +103 -0
  281. data/client/lib/fastcomments-client/models/get_email_template_definitions200_response.rb +103 -0
  282. data/client/lib/fastcomments-client/models/get_email_template_definitions_response.rb +214 -0
  283. data/client/lib/fastcomments-client/models/get_email_template_render_errors200_response.rb +103 -0
  284. data/client/lib/fastcomments-client/models/get_email_template_render_errors_response.rb +214 -0
  285. data/client/lib/fastcomments-client/models/get_email_template_response.rb +212 -0
  286. data/client/lib/fastcomments-client/models/get_email_templates200_response.rb +103 -0
  287. data/client/lib/fastcomments-client/models/get_email_templates_response.rb +214 -0
  288. data/client/lib/fastcomments-client/models/get_event_log200_response.rb +1 -1
  289. data/client/lib/fastcomments-client/models/get_event_log_response.rb +1 -1
  290. data/client/lib/fastcomments-client/models/get_feed_posts200_response.rb +1 -1
  291. data/client/lib/fastcomments-client/models/get_feed_posts_public200_response.rb +1 -1
  292. data/client/lib/fastcomments-client/models/get_feed_posts_response.rb +1 -1
  293. data/client/lib/fastcomments-client/models/get_feed_posts_stats200_response.rb +1 -1
  294. data/client/lib/fastcomments-client/models/get_hash_tags200_response.rb +103 -0
  295. data/client/lib/fastcomments-client/models/get_hash_tags_response.rb +214 -0
  296. data/client/lib/fastcomments-client/models/get_moderator200_response.rb +103 -0
  297. data/client/lib/fastcomments-client/models/get_moderator_response.rb +212 -0
  298. data/client/lib/fastcomments-client/models/get_moderators200_response.rb +103 -0
  299. data/client/lib/fastcomments-client/models/get_moderators_response.rb +214 -0
  300. data/client/lib/fastcomments-client/models/get_my_notifications_response.rb +1 -1
  301. data/client/lib/fastcomments-client/models/get_notification_count200_response.rb +103 -0
  302. data/client/lib/fastcomments-client/models/get_notification_count_response.rb +212 -0
  303. data/client/lib/fastcomments-client/models/get_notifications200_response.rb +103 -0
  304. data/client/lib/fastcomments-client/models/get_notifications_response.rb +214 -0
  305. data/client/lib/fastcomments-client/models/get_page_by_urlid_api_response.rb +1 -1
  306. data/client/lib/fastcomments-client/models/get_pages_api_response.rb +1 -1
  307. data/client/lib/fastcomments-client/models/get_pending_webhook_event_count200_response.rb +103 -0
  308. data/client/lib/fastcomments-client/models/get_pending_webhook_event_count_response.rb +212 -0
  309. data/client/lib/fastcomments-client/models/get_pending_webhook_events200_response.rb +103 -0
  310. data/client/lib/fastcomments-client/models/get_pending_webhook_events_response.rb +214 -0
  311. data/client/lib/fastcomments-client/models/get_public_feed_posts_response.rb +1 -1
  312. data/client/lib/fastcomments-client/models/get_question_config200_response.rb +103 -0
  313. data/client/lib/fastcomments-client/models/get_question_config_response.rb +212 -0
  314. data/client/lib/fastcomments-client/models/get_question_configs200_response.rb +103 -0
  315. data/client/lib/fastcomments-client/models/get_question_configs_response.rb +214 -0
  316. data/client/lib/fastcomments-client/models/get_question_result200_response.rb +103 -0
  317. data/client/lib/fastcomments-client/models/get_question_result_response.rb +212 -0
  318. data/client/lib/fastcomments-client/models/get_question_results200_response.rb +103 -0
  319. data/client/lib/fastcomments-client/models/get_question_results_response.rb +214 -0
  320. data/client/lib/fastcomments-client/models/get_sso_user_by_email_api_response.rb +1 -1
  321. data/client/lib/fastcomments-client/models/get_sso_user_by_id_api_response.rb +1 -1
  322. data/client/lib/fastcomments-client/models/get_sso_users200_response.rb +1 -1
  323. data/client/lib/fastcomments-client/models/get_subscriptions_api_response.rb +1 -1
  324. data/client/lib/fastcomments-client/models/get_tenant200_response.rb +103 -0
  325. data/client/lib/fastcomments-client/models/get_tenant_daily_usages200_response.rb +103 -0
  326. data/client/lib/fastcomments-client/models/get_tenant_daily_usages_response.rb +214 -0
  327. data/client/lib/fastcomments-client/models/get_tenant_package200_response.rb +103 -0
  328. data/client/lib/fastcomments-client/models/get_tenant_package_response.rb +212 -0
  329. data/client/lib/fastcomments-client/models/get_tenant_packages200_response.rb +103 -0
  330. data/client/lib/fastcomments-client/models/get_tenant_packages_response.rb +214 -0
  331. data/client/lib/fastcomments-client/models/get_tenant_response.rb +212 -0
  332. data/client/lib/fastcomments-client/models/get_tenant_user200_response.rb +103 -0
  333. data/client/lib/fastcomments-client/models/get_tenant_user_response.rb +212 -0
  334. data/client/lib/fastcomments-client/models/get_tenant_users200_response.rb +103 -0
  335. data/client/lib/fastcomments-client/models/get_tenant_users_response.rb +214 -0
  336. data/client/lib/fastcomments-client/models/get_tenants200_response.rb +103 -0
  337. data/client/lib/fastcomments-client/models/get_tenants_response.rb +214 -0
  338. data/client/lib/fastcomments-client/models/get_user200_response.rb +103 -0
  339. data/client/lib/fastcomments-client/models/get_user_badge200_response.rb +1 -1
  340. data/client/lib/fastcomments-client/models/get_user_badge_progress_by_id200_response.rb +1 -1
  341. data/client/lib/fastcomments-client/models/get_user_badge_progress_list200_response.rb +1 -1
  342. data/client/lib/fastcomments-client/models/get_user_badges200_response.rb +1 -1
  343. data/client/lib/fastcomments-client/models/get_user_notification_count200_response.rb +1 -1
  344. data/client/lib/fastcomments-client/models/get_user_notification_count_response.rb +1 -1
  345. data/client/lib/fastcomments-client/models/get_user_notifications200_response.rb +1 -1
  346. data/client/lib/fastcomments-client/models/get_user_presence_statuses200_response.rb +1 -1
  347. data/client/lib/fastcomments-client/models/get_user_presence_statuses_response.rb +1 -1
  348. data/client/lib/fastcomments-client/models/get_user_reacts_public200_response.rb +1 -1
  349. data/client/lib/fastcomments-client/models/get_user_response.rb +212 -0
  350. data/client/lib/fastcomments-client/models/get_votes200_response.rb +103 -0
  351. data/client/lib/fastcomments-client/models/get_votes_for_user200_response.rb +103 -0
  352. data/client/lib/fastcomments-client/models/get_votes_for_user_response.rb +270 -0
  353. data/client/lib/fastcomments-client/models/get_votes_response.rb +270 -0
  354. data/client/lib/fastcomments-client/models/gif_rating.rb +1 -1
  355. data/client/lib/fastcomments-client/models/header_state.rb +1 -1
  356. data/client/lib/fastcomments-client/models/ignored_response.rb +1 -1
  357. data/client/lib/fastcomments-client/models/image_content_profanity_level.rb +1 -1
  358. data/client/lib/fastcomments-client/models/imported_site_type.rb +40 -0
  359. data/client/lib/fastcomments-client/models/live_event.rb +1 -1
  360. data/client/lib/fastcomments-client/models/live_event_extra_info.rb +1 -1
  361. data/client/lib/fastcomments-client/models/live_event_type.rb +1 -1
  362. data/client/lib/fastcomments-client/models/lock_comment200_response.rb +1 -1
  363. data/client/lib/fastcomments-client/models/media_asset.rb +1 -1
  364. data/client/lib/fastcomments-client/models/meta_item.rb +1 -1
  365. data/client/lib/fastcomments-client/models/moderator.rb +538 -0
  366. data/client/lib/fastcomments-client/models/notification_and_count.rb +1 -1
  367. data/client/lib/fastcomments-client/models/notification_object_type.rb +1 -1
  368. data/client/lib/fastcomments-client/models/notification_type.rb +1 -1
  369. data/client/lib/fastcomments-client/models/patch_domain_config_params.rb +1 -1
  370. data/client/lib/fastcomments-client/models/patch_hash_tag200_response.rb +103 -0
  371. data/client/lib/fastcomments-client/models/patch_page_api_response.rb +1 -1
  372. data/client/lib/fastcomments-client/models/patch_sso_user_api_response.rb +1 -1
  373. data/client/lib/fastcomments-client/models/pending_comment_to_sync_outbound.rb +428 -0
  374. data/client/lib/fastcomments-client/models/pin_comment200_response.rb +1 -1
  375. data/client/lib/fastcomments-client/models/pub_sub_comment.rb +1 -1
  376. data/client/lib/fastcomments-client/models/pub_sub_comment_base.rb +1 -1
  377. data/client/lib/fastcomments-client/models/pub_sub_vote.rb +1 -1
  378. data/client/lib/fastcomments-client/models/public_api_delete_comment_response.rb +1 -1
  379. data/client/lib/fastcomments-client/models/public_api_get_comment_text_response.rb +1 -1
  380. data/client/lib/fastcomments-client/models/public_api_set_comment_text_response.rb +1 -1
  381. data/client/lib/fastcomments-client/models/public_block_from_comment_params.rb +1 -1
  382. data/client/lib/fastcomments-client/models/public_comment.rb +1 -1
  383. data/client/lib/fastcomments-client/models/public_comment_base.rb +1 -1
  384. data/client/lib/fastcomments-client/models/public_feed_posts_response.rb +1 -1
  385. data/client/lib/fastcomments-client/models/public_vote.rb +294 -0
  386. data/client/lib/fastcomments-client/models/put_sso_user_api_response.rb +1 -1
  387. data/client/lib/fastcomments-client/models/query_predicate.rb +1 -1
  388. data/client/lib/fastcomments-client/models/query_predicate_value.rb +1 -1
  389. data/client/lib/fastcomments-client/models/question_config.rb +671 -0
  390. data/client/lib/fastcomments-client/models/question_config_custom_options_inner.rb +190 -0
  391. data/client/lib/fastcomments-client/models/question_datum.rb +1 -1
  392. data/client/lib/fastcomments-client/models/question_rendering_type.rb +1 -1
  393. data/client/lib/fastcomments-client/models/question_result.rb +1 -1
  394. data/client/lib/fastcomments-client/models/question_result_aggregation_overall.rb +1 -1
  395. data/client/lib/fastcomments-client/models/question_sub_question_visibility.rb +1 -1
  396. data/client/lib/fastcomments-client/models/question_when_save.rb +1 -1
  397. data/client/lib/fastcomments-client/models/react_body_params.rb +1 -1
  398. data/client/lib/fastcomments-client/models/react_feed_post_public200_response.rb +1 -1
  399. data/client/lib/fastcomments-client/models/react_feed_post_response.rb +1 -1
  400. data/client/lib/fastcomments-client/models/record_string_before_string_or_null_after_string_or_null_value.rb +1 -1
  401. data/client/lib/fastcomments-client/models/record_string_string_or_number_value.rb +1 -1
  402. data/client/lib/fastcomments-client/models/render_email_template200_response.rb +103 -0
  403. data/client/lib/fastcomments-client/models/render_email_template_body.rb +214 -0
  404. data/client/lib/fastcomments-client/models/render_email_template_response.rb +212 -0
  405. data/client/lib/fastcomments-client/models/renderable_user_notification.rb +1 -1
  406. data/client/lib/fastcomments-client/models/repeat_comment_check_ignored_reason.rb +1 -1
  407. data/client/lib/fastcomments-client/models/repeat_comment_handling_action.rb +1 -1
  408. data/client/lib/fastcomments-client/models/replace_tenant_package_body.rb +665 -0
  409. data/client/lib/fastcomments-client/models/replace_tenant_user_body.rb +426 -0
  410. data/client/lib/fastcomments-client/models/reset_user_notifications200_response.rb +1 -1
  411. data/client/lib/fastcomments-client/models/reset_user_notifications_response.rb +1 -1
  412. data/client/lib/fastcomments-client/models/save_comment200_response.rb +1 -1
  413. data/client/lib/fastcomments-client/models/save_comment_response.rb +1 -1
  414. data/client/lib/fastcomments-client/models/save_comment_response_optimized.rb +1 -1
  415. data/client/lib/fastcomments-client/models/save_comments_response_with_presence.rb +1 -1
  416. data/client/lib/fastcomments-client/models/search_users200_response.rb +1 -1
  417. data/client/lib/fastcomments-client/models/search_users_response.rb +1 -1
  418. data/client/lib/fastcomments-client/models/set_comment_text200_response.rb +1 -1
  419. data/client/lib/fastcomments-client/models/set_comment_text_result.rb +1 -1
  420. data/client/lib/fastcomments-client/models/size_preset.rb +1 -1
  421. data/client/lib/fastcomments-client/models/sort_directions.rb +1 -1
  422. data/client/lib/fastcomments-client/models/sortdir.rb +1 -1
  423. data/client/lib/fastcomments-client/models/spam_rule.rb +1 -1
  424. data/client/lib/fastcomments-client/models/sso_security_level.rb +1 -1
  425. data/client/lib/fastcomments-client/models/tenant_hash_tag.rb +251 -0
  426. data/client/lib/fastcomments-client/models/tenant_package.rb +994 -0
  427. data/client/lib/fastcomments-client/models/un_block_comment_public200_response.rb +1 -1
  428. data/client/lib/fastcomments-client/models/un_block_from_comment_params.rb +1 -1
  429. data/client/lib/fastcomments-client/models/unblock_success.rb +1 -1
  430. data/client/lib/fastcomments-client/models/updatable_comment_params.rb +1 -1
  431. data/client/lib/fastcomments-client/models/update_api_page_data.rb +1 -1
  432. data/client/lib/fastcomments-client/models/update_apisso_user_data.rb +1 -1
  433. data/client/lib/fastcomments-client/models/update_domain_config_params.rb +1 -1
  434. data/client/lib/fastcomments-client/models/update_email_template_body.rb +198 -0
  435. data/client/lib/fastcomments-client/models/update_feed_post_params.rb +1 -1
  436. data/client/lib/fastcomments-client/models/update_hash_tag_body.rb +165 -0
  437. data/client/lib/fastcomments-client/models/update_hash_tag_response.rb +212 -0
  438. data/client/lib/fastcomments-client/models/update_moderator_body.rb +176 -0
  439. data/client/lib/fastcomments-client/models/update_notification_body.rb +156 -0
  440. data/client/lib/fastcomments-client/models/update_question_config_body.rb +268 -0
  441. data/client/lib/fastcomments-client/models/update_question_result_body.rb +204 -0
  442. data/client/lib/fastcomments-client/models/update_tenant_body.rb +359 -0
  443. data/client/lib/fastcomments-client/models/update_tenant_package_body.rb +419 -0
  444. data/client/lib/fastcomments-client/models/update_tenant_user_body.rb +356 -0
  445. data/client/lib/fastcomments-client/models/update_user_badge200_response.rb +1 -1
  446. data/client/lib/fastcomments-client/models/update_user_badge_params.rb +1 -1
  447. data/client/lib/fastcomments-client/models/update_user_notification_status200_response.rb +1 -1
  448. data/client/lib/fastcomments-client/models/upload_image_response.rb +1 -1
  449. data/client/lib/fastcomments-client/models/user.rb +753 -0
  450. data/client/lib/fastcomments-client/models/user_badge.rb +1 -1
  451. data/client/lib/fastcomments-client/models/user_badge_progress.rb +1 -1
  452. data/client/lib/fastcomments-client/models/user_notification.rb +1 -1
  453. data/client/lib/fastcomments-client/models/user_notification_count.rb +242 -0
  454. data/client/lib/fastcomments-client/models/user_notification_write_response.rb +1 -1
  455. data/client/lib/fastcomments-client/models/user_presence_data.rb +1 -1
  456. data/client/lib/fastcomments-client/models/user_reacts_response.rb +1 -1
  457. data/client/lib/fastcomments-client/models/user_search_result.rb +1 -1
  458. data/client/lib/fastcomments-client/models/user_session_info.rb +1 -1
  459. data/client/lib/fastcomments-client/models/vote_body_params.rb +1 -1
  460. data/client/lib/fastcomments-client/models/vote_comment200_response.rb +1 -1
  461. data/client/lib/fastcomments-client/models/vote_delete_response.rb +1 -1
  462. data/client/lib/fastcomments-client/models/vote_response.rb +1 -1
  463. data/client/lib/fastcomments-client/models/vote_response_user.rb +1 -1
  464. data/client/lib/fastcomments-client/models/vote_style.rb +1 -1
  465. data/client/lib/fastcomments-client/version.rb +2 -2
  466. data/client/lib/fastcomments-client.rb +116 -1
  467. data/client/spec/api/default_api_spec.rb +741 -1
  468. data/client/spec/api/public_api_spec.rb +2 -2
  469. data/client/spec/models/add_domain_config200_response_any_of_spec.rb +1 -1
  470. data/client/spec/models/add_domain_config200_response_spec.rb +1 -1
  471. data/client/spec/models/add_domain_config_params_spec.rb +1 -1
  472. data/client/spec/models/add_hash_tag200_response_spec.rb +21 -0
  473. data/client/spec/models/add_hash_tags_bulk200_response_spec.rb +21 -0
  474. data/client/spec/models/add_page_api_response_spec.rb +1 -1
  475. data/client/spec/models/add_sso_user_api_response_spec.rb +1 -1
  476. data/client/spec/models/aggregate_question_results200_response_spec.rb +1 -1
  477. data/client/spec/models/aggregate_question_results_response_spec.rb +1 -1
  478. data/client/spec/models/aggregate_time_bucket_spec.rb +1 -1
  479. data/client/spec/models/aggregation_item_spec.rb +1 -1
  480. data/client/spec/models/aggregation_op_type_spec.rb +1 -1
  481. data/client/spec/models/aggregation_operation_spec.rb +1 -1
  482. data/client/spec/models/aggregation_request_sort_spec.rb +1 -1
  483. data/client/spec/models/aggregation_request_spec.rb +1 -1
  484. data/client/spec/models/aggregation_response_spec.rb +1 -1
  485. data/client/spec/models/aggregation_response_stats_spec.rb +1 -1
  486. data/client/spec/models/aggregation_value_spec.rb +1 -1
  487. data/client/spec/models/api_audit_log_spec.rb +1 -1
  488. data/client/spec/models/api_comment_base_spec.rb +1 -1
  489. data/client/spec/models/api_comment_spec.rb +1 -1
  490. data/client/spec/models/api_create_user_badge_response_spec.rb +1 -1
  491. data/client/spec/models/api_domain_configuration_spec.rb +120 -0
  492. data/client/spec/models/api_empty_response_spec.rb +1 -1
  493. data/client/spec/models/api_empty_success_response_spec.rb +1 -1
  494. data/client/spec/models/api_error_spec.rb +1 -1
  495. data/client/spec/models/api_get_comment_response_spec.rb +1 -1
  496. data/client/spec/models/api_get_comments_response_spec.rb +1 -1
  497. data/client/spec/models/api_get_user_badge_progress_list_response_spec.rb +1 -1
  498. data/client/spec/models/api_get_user_badge_progress_response_spec.rb +1 -1
  499. data/client/spec/models/api_get_user_badge_response_spec.rb +1 -1
  500. data/client/spec/models/api_get_user_badges_response_spec.rb +1 -1
  501. data/client/spec/models/api_page_spec.rb +1 -1
  502. data/client/spec/models/api_status_spec.rb +1 -1
  503. data/client/spec/models/api_tenant_daily_usage_spec.rb +144 -0
  504. data/client/spec/models/api_tenant_spec.rb +198 -0
  505. data/client/spec/models/api_user_subscription_spec.rb +1 -1
  506. data/client/spec/models/apisso_user_spec.rb +1 -1
  507. data/client/spec/models/billing_info_spec.rb +78 -0
  508. data/client/spec/models/block_from_comment_params_spec.rb +1 -1
  509. data/client/spec/models/block_from_comment_public200_response_spec.rb +1 -1
  510. data/client/spec/models/block_success_spec.rb +1 -1
  511. data/client/spec/models/bulk_aggregate_question_item_spec.rb +1 -1
  512. data/client/spec/models/bulk_aggregate_question_results200_response_spec.rb +1 -1
  513. data/client/spec/models/bulk_aggregate_question_results_request_spec.rb +1 -1
  514. data/client/spec/models/bulk_aggregate_question_results_response_spec.rb +1 -1
  515. data/client/spec/models/bulk_create_hash_tags_body_spec.rb +42 -0
  516. data/client/spec/models/bulk_create_hash_tags_body_tags_inner_spec.rb +42 -0
  517. data/client/spec/models/bulk_create_hash_tags_response_spec.rb +42 -0
  518. data/client/spec/models/change_comment_pin_status_response_spec.rb +1 -1
  519. data/client/spec/models/check_blocked_comments_response_spec.rb +1 -1
  520. data/client/spec/models/checked_comments_for_blocked200_response_spec.rb +1 -1
  521. data/client/spec/models/combine_comments_with_question_results200_response_spec.rb +1 -1
  522. data/client/spec/models/combine_question_results_with_comments_response_spec.rb +1 -1
  523. data/client/spec/models/comment_data_spec.rb +1 -1
  524. data/client/spec/models/comment_html_rendering_mode_spec.rb +1 -1
  525. data/client/spec/models/comment_log_data_spec.rb +19 -1
  526. data/client/spec/models/comment_log_entry_spec.rb +1 -1
  527. data/client/spec/models/comment_log_type_spec.rb +1 -1
  528. data/client/spec/models/comment_question_results_rendering_type_spec.rb +1 -1
  529. data/client/spec/models/comment_questions_required_spec.rb +1 -1
  530. data/client/spec/models/comment_text_update_request_spec.rb +1 -1
  531. data/client/spec/models/comment_thread_deletion_mode_spec.rb +1 -1
  532. data/client/spec/models/comment_user_badge_info_spec.rb +1 -1
  533. data/client/spec/models/comment_user_hash_tag_info_spec.rb +1 -1
  534. data/client/spec/models/comment_user_mention_info_spec.rb +1 -1
  535. data/client/spec/models/commenter_name_formats_spec.rb +1 -1
  536. data/client/spec/models/create_api_page_data_spec.rb +1 -1
  537. data/client/spec/models/create_api_user_subscription_data_spec.rb +1 -1
  538. data/client/spec/models/create_apisso_user_data_spec.rb +1 -1
  539. data/client/spec/models/create_comment_params_spec.rb +1 -1
  540. data/client/spec/models/create_comment_public200_response_spec.rb +1 -1
  541. data/client/spec/models/create_email_template200_response_spec.rb +21 -0
  542. data/client/spec/models/create_email_template_body_spec.rb +66 -0
  543. data/client/spec/models/create_email_template_response_spec.rb +42 -0
  544. data/client/spec/models/create_feed_post200_response_spec.rb +1 -1
  545. data/client/spec/models/create_feed_post_params_spec.rb +1 -1
  546. data/client/spec/models/create_feed_post_public200_response_spec.rb +1 -1
  547. data/client/spec/models/create_feed_post_response_spec.rb +1 -1
  548. data/client/spec/models/create_feed_posts_response_spec.rb +1 -1
  549. data/client/spec/models/create_hash_tag_body_spec.rb +48 -0
  550. data/client/spec/models/create_hash_tag_response_spec.rb +42 -0
  551. data/client/spec/models/create_moderator200_response_spec.rb +21 -0
  552. data/client/spec/models/create_moderator_body_spec.rb +54 -0
  553. data/client/spec/models/create_moderator_response_spec.rb +42 -0
  554. data/client/spec/models/create_question_config200_response_spec.rb +21 -0
  555. data/client/spec/models/create_question_config_body_spec.rb +114 -0
  556. data/client/spec/models/create_question_config_response_spec.rb +42 -0
  557. data/client/spec/models/create_question_result200_response_spec.rb +21 -0
  558. data/client/spec/models/create_question_result_body_spec.rb +72 -0
  559. data/client/spec/models/create_question_result_response_spec.rb +42 -0
  560. data/client/spec/models/create_subscription_api_response_spec.rb +1 -1
  561. data/client/spec/models/create_tenant200_response_spec.rb +21 -0
  562. data/client/spec/models/create_tenant_body_spec.rb +168 -0
  563. data/client/spec/models/create_tenant_package200_response_spec.rb +21 -0
  564. data/client/spec/models/create_tenant_package_body_spec.rb +318 -0
  565. data/client/spec/models/create_tenant_package_response_spec.rb +42 -0
  566. data/client/spec/models/create_tenant_response_spec.rb +42 -0
  567. data/client/spec/models/create_tenant_user200_response_spec.rb +21 -0
  568. data/client/spec/models/create_tenant_user_body_spec.rb +174 -0
  569. data/client/spec/models/create_tenant_user_response_spec.rb +42 -0
  570. data/client/spec/models/create_user_badge200_response_spec.rb +1 -1
  571. data/client/spec/models/create_user_badge_params_spec.rb +1 -1
  572. data/client/spec/models/custom_config_parameters_spec.rb +1 -1
  573. data/client/spec/models/custom_email_template_spec.rb +96 -0
  574. data/client/spec/models/delete_comment200_response_spec.rb +1 -1
  575. data/client/spec/models/delete_comment_action_spec.rb +1 -1
  576. data/client/spec/models/delete_comment_public200_response_spec.rb +1 -1
  577. data/client/spec/models/delete_comment_result_spec.rb +1 -1
  578. data/client/spec/models/delete_comment_vote200_response_spec.rb +1 -1
  579. data/client/spec/models/delete_domain_config200_response_spec.rb +1 -1
  580. data/client/spec/models/delete_feed_post_public200_response_any_of_spec.rb +1 -1
  581. data/client/spec/models/delete_feed_post_public200_response_spec.rb +1 -1
  582. data/client/spec/models/delete_hash_tag_request_spec.rb +36 -0
  583. data/client/spec/models/delete_page_api_response_spec.rb +1 -1
  584. data/client/spec/models/delete_sso_user_api_response_spec.rb +1 -1
  585. data/client/spec/models/delete_subscription_api_response_spec.rb +1 -1
  586. data/client/spec/models/deleted_comment_result_comment_spec.rb +1 -1
  587. data/client/spec/models/digest_email_frequency_spec.rb +30 -0
  588. data/client/spec/models/email_template_definition_spec.rb +54 -0
  589. data/client/spec/models/email_template_render_error_response_spec.rb +72 -0
  590. data/client/spec/models/event_log_entry_spec.rb +1 -1
  591. data/client/spec/models/f_comment_meta_spec.rb +1 -1
  592. data/client/spec/models/f_comment_spec.rb +1 -1
  593. data/client/spec/models/feed_post_link_spec.rb +1 -1
  594. data/client/spec/models/feed_post_media_item_asset_spec.rb +1 -1
  595. data/client/spec/models/feed_post_media_item_spec.rb +1 -1
  596. data/client/spec/models/feed_post_spec.rb +1 -1
  597. data/client/spec/models/feed_post_stats_spec.rb +1 -1
  598. data/client/spec/models/feed_posts_stats_response_spec.rb +1 -1
  599. data/client/spec/models/find_comments_by_range_item_spec.rb +1 -1
  600. data/client/spec/models/find_comments_by_range_response_spec.rb +1 -1
  601. data/client/spec/models/flag_comment200_response_spec.rb +1 -1
  602. data/client/spec/models/flag_comment_public200_response_spec.rb +1 -1
  603. data/client/spec/models/flag_comment_response_spec.rb +1 -1
  604. data/client/spec/models/get_audit_logs200_response_spec.rb +1 -1
  605. data/client/spec/models/get_audit_logs_response_spec.rb +1 -1
  606. data/client/spec/models/get_cached_notification_count200_response_spec.rb +21 -0
  607. data/client/spec/models/get_cached_notification_count_response_spec.rb +42 -0
  608. data/client/spec/models/get_comment200_response_spec.rb +1 -1
  609. data/client/spec/models/get_comment_text200_response_spec.rb +1 -1
  610. data/client/spec/models/get_comment_vote_user_names200_response_spec.rb +1 -1
  611. data/client/spec/models/get_comment_vote_user_names_success_response_spec.rb +1 -1
  612. data/client/spec/models/get_comments200_response_spec.rb +1 -1
  613. data/client/spec/models/get_comments_public200_response_spec.rb +1 -1
  614. data/client/spec/models/get_comments_response_public_comment_spec.rb +1 -1
  615. data/client/spec/models/get_comments_response_with_presence_public_comment_spec.rb +1 -1
  616. data/client/spec/models/get_domain_config200_response_spec.rb +1 -1
  617. data/client/spec/models/get_domain_configs200_response_any_of1_spec.rb +1 -1
  618. data/client/spec/models/get_domain_configs200_response_any_of_spec.rb +1 -1
  619. data/client/spec/models/get_domain_configs200_response_spec.rb +1 -1
  620. data/client/spec/models/get_email_template200_response_spec.rb +21 -0
  621. data/client/spec/models/get_email_template_definitions200_response_spec.rb +21 -0
  622. data/client/spec/models/get_email_template_definitions_response_spec.rb +42 -0
  623. data/client/spec/models/get_email_template_render_errors200_response_spec.rb +21 -0
  624. data/client/spec/models/get_email_template_render_errors_response_spec.rb +42 -0
  625. data/client/spec/models/get_email_template_response_spec.rb +42 -0
  626. data/client/spec/models/get_email_templates200_response_spec.rb +21 -0
  627. data/client/spec/models/get_email_templates_response_spec.rb +42 -0
  628. data/client/spec/models/get_event_log200_response_spec.rb +1 -1
  629. data/client/spec/models/get_event_log_response_spec.rb +1 -1
  630. data/client/spec/models/get_feed_posts200_response_spec.rb +1 -1
  631. data/client/spec/models/get_feed_posts_public200_response_spec.rb +1 -1
  632. data/client/spec/models/get_feed_posts_response_spec.rb +1 -1
  633. data/client/spec/models/get_feed_posts_stats200_response_spec.rb +1 -1
  634. data/client/spec/models/get_hash_tags200_response_spec.rb +21 -0
  635. data/client/spec/models/get_hash_tags_response_spec.rb +42 -0
  636. data/client/spec/models/get_moderator200_response_spec.rb +21 -0
  637. data/client/spec/models/get_moderator_response_spec.rb +42 -0
  638. data/client/spec/models/get_moderators200_response_spec.rb +21 -0
  639. data/client/spec/models/get_moderators_response_spec.rb +42 -0
  640. data/client/spec/models/get_my_notifications_response_spec.rb +1 -1
  641. data/client/spec/models/get_notification_count200_response_spec.rb +21 -0
  642. data/client/spec/models/get_notification_count_response_spec.rb +42 -0
  643. data/client/spec/models/get_notifications200_response_spec.rb +21 -0
  644. data/client/spec/models/get_notifications_response_spec.rb +42 -0
  645. data/client/spec/models/get_page_by_urlid_api_response_spec.rb +1 -1
  646. data/client/spec/models/get_pages_api_response_spec.rb +1 -1
  647. data/client/spec/models/get_pending_webhook_event_count200_response_spec.rb +21 -0
  648. data/client/spec/models/get_pending_webhook_event_count_response_spec.rb +42 -0
  649. data/client/spec/models/get_pending_webhook_events200_response_spec.rb +21 -0
  650. data/client/spec/models/get_pending_webhook_events_response_spec.rb +42 -0
  651. data/client/spec/models/get_public_feed_posts_response_spec.rb +1 -1
  652. data/client/spec/models/get_question_config200_response_spec.rb +21 -0
  653. data/client/spec/models/get_question_config_response_spec.rb +42 -0
  654. data/client/spec/models/get_question_configs200_response_spec.rb +21 -0
  655. data/client/spec/models/get_question_configs_response_spec.rb +42 -0
  656. data/client/spec/models/get_question_result200_response_spec.rb +21 -0
  657. data/client/spec/models/get_question_result_response_spec.rb +42 -0
  658. data/client/spec/models/get_question_results200_response_spec.rb +21 -0
  659. data/client/spec/models/get_question_results_response_spec.rb +42 -0
  660. data/client/spec/models/get_sso_user_by_email_api_response_spec.rb +1 -1
  661. data/client/spec/models/get_sso_user_by_id_api_response_spec.rb +1 -1
  662. data/client/spec/models/get_sso_users200_response_spec.rb +1 -1
  663. data/client/spec/models/get_subscriptions_api_response_spec.rb +1 -1
  664. data/client/spec/models/get_tenant200_response_spec.rb +21 -0
  665. data/client/spec/models/get_tenant_daily_usages200_response_spec.rb +21 -0
  666. data/client/spec/models/get_tenant_daily_usages_response_spec.rb +42 -0
  667. data/client/spec/models/get_tenant_package200_response_spec.rb +21 -0
  668. data/client/spec/models/get_tenant_package_response_spec.rb +42 -0
  669. data/client/spec/models/get_tenant_packages200_response_spec.rb +21 -0
  670. data/client/spec/models/get_tenant_packages_response_spec.rb +42 -0
  671. data/client/spec/models/get_tenant_response_spec.rb +42 -0
  672. data/client/spec/models/get_tenant_user200_response_spec.rb +21 -0
  673. data/client/spec/models/get_tenant_user_response_spec.rb +42 -0
  674. data/client/spec/models/get_tenant_users200_response_spec.rb +21 -0
  675. data/client/spec/models/get_tenant_users_response_spec.rb +42 -0
  676. data/client/spec/models/get_tenants200_response_spec.rb +21 -0
  677. data/client/spec/models/get_tenants_response_spec.rb +42 -0
  678. data/client/spec/models/get_user200_response_spec.rb +21 -0
  679. data/client/spec/models/get_user_badge200_response_spec.rb +1 -1
  680. data/client/spec/models/get_user_badge_progress_by_id200_response_spec.rb +1 -1
  681. data/client/spec/models/get_user_badge_progress_list200_response_spec.rb +1 -1
  682. data/client/spec/models/get_user_badges200_response_spec.rb +1 -1
  683. data/client/spec/models/get_user_notification_count200_response_spec.rb +1 -1
  684. data/client/spec/models/get_user_notification_count_response_spec.rb +1 -1
  685. data/client/spec/models/get_user_notifications200_response_spec.rb +1 -1
  686. data/client/spec/models/get_user_presence_statuses200_response_spec.rb +1 -1
  687. data/client/spec/models/get_user_presence_statuses_response_spec.rb +1 -1
  688. data/client/spec/models/get_user_reacts_public200_response_spec.rb +1 -1
  689. data/client/spec/models/get_user_response_spec.rb +42 -0
  690. data/client/spec/models/get_votes200_response_spec.rb +21 -0
  691. data/client/spec/models/get_votes_for_user200_response_spec.rb +21 -0
  692. data/client/spec/models/get_votes_for_user_response_spec.rb +54 -0
  693. data/client/spec/models/get_votes_response_spec.rb +54 -0
  694. data/client/spec/models/gif_rating_spec.rb +1 -1
  695. data/client/spec/models/header_state_spec.rb +1 -1
  696. data/client/spec/models/ignored_response_spec.rb +1 -1
  697. data/client/spec/models/image_content_profanity_level_spec.rb +1 -1
  698. data/client/spec/models/imported_site_type_spec.rb +30 -0
  699. data/client/spec/models/live_event_extra_info_spec.rb +1 -1
  700. data/client/spec/models/live_event_spec.rb +1 -1
  701. data/client/spec/models/live_event_type_spec.rb +1 -1
  702. data/client/spec/models/lock_comment200_response_spec.rb +1 -1
  703. data/client/spec/models/media_asset_spec.rb +1 -1
  704. data/client/spec/models/meta_item_spec.rb +1 -1
  705. data/client/spec/models/moderator_spec.rb +138 -0
  706. data/client/spec/models/notification_and_count_spec.rb +1 -1
  707. data/client/spec/models/notification_object_type_spec.rb +1 -1
  708. data/client/spec/models/notification_type_spec.rb +1 -1
  709. data/client/spec/models/patch_domain_config_params_spec.rb +1 -1
  710. data/client/spec/models/patch_hash_tag200_response_spec.rb +21 -0
  711. data/client/spec/models/patch_page_api_response_spec.rb +1 -1
  712. data/client/spec/models/patch_sso_user_api_response_spec.rb +1 -1
  713. data/client/spec/models/pending_comment_to_sync_outbound_spec.rb +108 -0
  714. data/client/spec/models/pin_comment200_response_spec.rb +1 -1
  715. data/client/spec/models/pub_sub_comment_base_spec.rb +1 -1
  716. data/client/spec/models/pub_sub_comment_spec.rb +1 -1
  717. data/client/spec/models/pub_sub_vote_spec.rb +1 -1
  718. data/client/spec/models/public_api_delete_comment_response_spec.rb +1 -1
  719. data/client/spec/models/public_api_get_comment_text_response_spec.rb +1 -1
  720. data/client/spec/models/public_api_set_comment_text_response_spec.rb +1 -1
  721. data/client/spec/models/public_block_from_comment_params_spec.rb +1 -1
  722. data/client/spec/models/public_comment_base_spec.rb +1 -1
  723. data/client/spec/models/public_comment_spec.rb +1 -1
  724. data/client/spec/models/public_feed_posts_response_spec.rb +1 -1
  725. data/client/spec/models/public_vote_spec.rb +66 -0
  726. data/client/spec/models/put_sso_user_api_response_spec.rb +1 -1
  727. data/client/spec/models/query_predicate_spec.rb +1 -1
  728. data/client/spec/models/query_predicate_value_spec.rb +1 -1
  729. data/client/spec/models/question_config_custom_options_inner_spec.rb +42 -0
  730. data/client/spec/models/question_config_spec.rb +156 -0
  731. data/client/spec/models/question_datum_spec.rb +1 -1
  732. data/client/spec/models/question_rendering_type_spec.rb +1 -1
  733. data/client/spec/models/question_result_aggregation_overall_spec.rb +1 -1
  734. data/client/spec/models/question_result_spec.rb +1 -1
  735. data/client/spec/models/question_sub_question_visibility_spec.rb +1 -1
  736. data/client/spec/models/question_when_save_spec.rb +1 -1
  737. data/client/spec/models/react_body_params_spec.rb +1 -1
  738. data/client/spec/models/react_feed_post_public200_response_spec.rb +1 -1
  739. data/client/spec/models/react_feed_post_response_spec.rb +1 -1
  740. data/client/spec/models/record_string_before_string_or_null_after_string_or_null_value_spec.rb +1 -1
  741. data/client/spec/models/record_string_string_or_number_value_spec.rb +1 -1
  742. data/client/spec/models/render_email_template200_response_spec.rb +21 -0
  743. data/client/spec/models/render_email_template_body_spec.rb +54 -0
  744. data/client/spec/models/render_email_template_response_spec.rb +42 -0
  745. data/client/spec/models/renderable_user_notification_spec.rb +1 -1
  746. data/client/spec/models/repeat_comment_check_ignored_reason_spec.rb +1 -1
  747. data/client/spec/models/repeat_comment_handling_action_spec.rb +1 -1
  748. data/client/spec/models/replace_tenant_package_body_spec.rb +210 -0
  749. data/client/spec/models/replace_tenant_user_body_spec.rb +198 -0
  750. data/client/spec/models/reset_user_notifications200_response_spec.rb +1 -1
  751. data/client/spec/models/reset_user_notifications_response_spec.rb +1 -1
  752. data/client/spec/models/save_comment200_response_spec.rb +1 -1
  753. data/client/spec/models/save_comment_response_optimized_spec.rb +1 -1
  754. data/client/spec/models/save_comment_response_spec.rb +1 -1
  755. data/client/spec/models/save_comments_response_with_presence_spec.rb +1 -1
  756. data/client/spec/models/search_users200_response_spec.rb +1 -1
  757. data/client/spec/models/search_users_response_spec.rb +1 -1
  758. data/client/spec/models/set_comment_text200_response_spec.rb +1 -1
  759. data/client/spec/models/set_comment_text_result_spec.rb +1 -1
  760. data/client/spec/models/size_preset_spec.rb +1 -1
  761. data/client/spec/models/sort_directions_spec.rb +1 -1
  762. data/client/spec/models/sortdir_spec.rb +1 -1
  763. data/client/spec/models/spam_rule_spec.rb +1 -1
  764. data/client/spec/models/sso_security_level_spec.rb +1 -1
  765. data/client/spec/models/tenant_hash_tag_spec.rb +60 -0
  766. data/client/spec/models/tenant_package_spec.rb +342 -0
  767. data/client/spec/models/un_block_comment_public200_response_spec.rb +1 -1
  768. data/client/spec/models/un_block_from_comment_params_spec.rb +1 -1
  769. data/client/spec/models/unblock_success_spec.rb +1 -1
  770. data/client/spec/models/updatable_comment_params_spec.rb +1 -1
  771. data/client/spec/models/update_api_page_data_spec.rb +1 -1
  772. data/client/spec/models/update_apisso_user_data_spec.rb +1 -1
  773. data/client/spec/models/update_domain_config_params_spec.rb +1 -1
  774. data/client/spec/models/update_email_template_body_spec.rb +66 -0
  775. data/client/spec/models/update_feed_post_params_spec.rb +1 -1
  776. data/client/spec/models/update_hash_tag_body_spec.rb +48 -0
  777. data/client/spec/models/update_hash_tag_response_spec.rb +42 -0
  778. data/client/spec/models/update_moderator_body_spec.rb +54 -0
  779. data/client/spec/models/update_notification_body_spec.rb +42 -0
  780. data/client/spec/models/update_question_config_body_spec.rb +114 -0
  781. data/client/spec/models/update_question_result_body_spec.rb +72 -0
  782. data/client/spec/models/update_tenant_body_spec.rb +174 -0
  783. data/client/spec/models/update_tenant_package_body_spec.rb +216 -0
  784. data/client/spec/models/update_tenant_user_body_spec.rb +174 -0
  785. data/client/spec/models/update_user_badge200_response_spec.rb +1 -1
  786. data/client/spec/models/update_user_badge_params_spec.rb +1 -1
  787. data/client/spec/models/update_user_notification_status200_response_spec.rb +1 -1
  788. data/client/spec/models/upload_image_response_spec.rb +1 -1
  789. data/client/spec/models/user_badge_progress_spec.rb +1 -1
  790. data/client/spec/models/user_badge_spec.rb +1 -1
  791. data/client/spec/models/user_notification_count_spec.rb +54 -0
  792. data/client/spec/models/user_notification_spec.rb +1 -1
  793. data/client/spec/models/user_notification_write_response_spec.rb +1 -1
  794. data/client/spec/models/user_presence_data_spec.rb +1 -1
  795. data/client/spec/models/user_reacts_response_spec.rb +1 -1
  796. data/client/spec/models/user_search_result_spec.rb +1 -1
  797. data/client/spec/models/user_session_info_spec.rb +1 -1
  798. data/client/spec/models/user_spec.rb +336 -0
  799. data/client/spec/models/vote_body_params_spec.rb +1 -1
  800. data/client/spec/models/vote_comment200_response_spec.rb +1 -1
  801. data/client/spec/models/vote_delete_response_spec.rb +1 -1
  802. data/client/spec/models/vote_response_spec.rb +1 -1
  803. data/client/spec/models/vote_response_user_spec.rb +1 -1
  804. data/client/spec/models/vote_style_spec.rb +1 -1
  805. data/client/spec/spec_helper.rb +1 -1
  806. data/lib/fastcomments.rb +2 -1
  807. metadata +347 -2
@@ -0,0 +1,176 @@
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.19.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module FastCommentsClient
17
+ class UpdateModeratorBody < ApiModelBase
18
+ attr_accessor :name
19
+
20
+ attr_accessor :email
21
+
22
+ attr_accessor :user_id
23
+
24
+ attr_accessor :moderation_group_ids
25
+
26
+ # Attribute mapping from ruby-style variable name to JSON key.
27
+ def self.attribute_map
28
+ {
29
+ :'name' => :'name',
30
+ :'email' => :'email',
31
+ :'user_id' => :'userId',
32
+ :'moderation_group_ids' => :'moderationGroupIds'
33
+ }
34
+ end
35
+
36
+ # Returns attribute mapping this model knows about
37
+ def self.acceptable_attribute_map
38
+ attribute_map
39
+ end
40
+
41
+ # Returns all the JSON keys this model knows about
42
+ def self.acceptable_attributes
43
+ acceptable_attribute_map.values
44
+ end
45
+
46
+ # Attribute type mapping.
47
+ def self.openapi_types
48
+ {
49
+ :'name' => :'String',
50
+ :'email' => :'String',
51
+ :'user_id' => :'String',
52
+ :'moderation_group_ids' => :'Array<String>'
53
+ }
54
+ end
55
+
56
+ # List of attributes with nullable: true
57
+ def self.openapi_nullable
58
+ Set.new([
59
+ ])
60
+ end
61
+
62
+ # Initializes the object
63
+ # @param [Hash] attributes Model attributes in the form of hash
64
+ def initialize(attributes = {})
65
+ if (!attributes.is_a?(Hash))
66
+ fail ArgumentError, "The input argument (attributes) must be a hash in `FastCommentsClient::UpdateModeratorBody` initialize method"
67
+ end
68
+
69
+ # check to see if the attribute exists and convert string to symbol for hash key
70
+ acceptable_attribute_map = self.class.acceptable_attribute_map
71
+ attributes = attributes.each_with_object({}) { |(k, v), h|
72
+ if (!acceptable_attribute_map.key?(k.to_sym))
73
+ fail ArgumentError, "`#{k}` is not a valid attribute in `FastCommentsClient::UpdateModeratorBody`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
74
+ end
75
+ h[k.to_sym] = v
76
+ }
77
+
78
+ if attributes.key?(:'name')
79
+ self.name = attributes[:'name']
80
+ end
81
+
82
+ if attributes.key?(:'email')
83
+ self.email = attributes[:'email']
84
+ end
85
+
86
+ if attributes.key?(:'user_id')
87
+ self.user_id = attributes[:'user_id']
88
+ end
89
+
90
+ if attributes.key?(:'moderation_group_ids')
91
+ if (value = attributes[:'moderation_group_ids']).is_a?(Array)
92
+ self.moderation_group_ids = value
93
+ end
94
+ end
95
+ end
96
+
97
+ # Show invalid properties with the reasons. Usually used together with valid?
98
+ # @return Array for valid properties with the reasons
99
+ def list_invalid_properties
100
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
101
+ invalid_properties = Array.new
102
+ invalid_properties
103
+ end
104
+
105
+ # Check to see if the all the properties in the model are valid
106
+ # @return true if the model is valid
107
+ def valid?
108
+ warn '[DEPRECATED] the `valid?` method is obsolete'
109
+ true
110
+ end
111
+
112
+ # Checks equality by comparing each attribute.
113
+ # @param [Object] Object to be compared
114
+ def ==(o)
115
+ return true if self.equal?(o)
116
+ self.class == o.class &&
117
+ name == o.name &&
118
+ email == o.email &&
119
+ user_id == o.user_id &&
120
+ moderation_group_ids == o.moderation_group_ids
121
+ end
122
+
123
+ # @see the `==` method
124
+ # @param [Object] Object to be compared
125
+ def eql?(o)
126
+ self == o
127
+ end
128
+
129
+ # Calculates hash code according to all attributes.
130
+ # @return [Integer] Hash code
131
+ def hash
132
+ [name, email, user_id, moderation_group_ids].hash
133
+ end
134
+
135
+ # Builds the object from hash
136
+ # @param [Hash] attributes Model attributes in the form of hash
137
+ # @return [Object] Returns the model itself
138
+ def self.build_from_hash(attributes)
139
+ return nil unless attributes.is_a?(Hash)
140
+ attributes = attributes.transform_keys(&:to_sym)
141
+ transformed_hash = {}
142
+ openapi_types.each_pair do |key, type|
143
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
144
+ transformed_hash["#{key}"] = nil
145
+ elsif type =~ /\AArray<(.*)>/i
146
+ # check to ensure the input is an array given that the attribute
147
+ # is documented as an array but the input is not
148
+ if attributes[attribute_map[key]].is_a?(Array)
149
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
150
+ end
151
+ elsif !attributes[attribute_map[key]].nil?
152
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
153
+ end
154
+ end
155
+ new(transformed_hash)
156
+ end
157
+
158
+ # Returns the object in the form of hash
159
+ # @return [Hash] Returns the object in the form of hash
160
+ def to_hash
161
+ hash = {}
162
+ self.class.attribute_map.each_pair do |attr, param|
163
+ value = self.send(attr)
164
+ if value.nil?
165
+ is_nullable = self.class.openapi_nullable.include?(attr)
166
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
167
+ end
168
+
169
+ hash[param] = _to_hash(value)
170
+ end
171
+ hash
172
+ end
173
+
174
+ end
175
+
176
+ end
@@ -0,0 +1,156 @@
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.19.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module FastCommentsClient
17
+ class UpdateNotificationBody < ApiModelBase
18
+ attr_accessor :viewed
19
+
20
+ attr_accessor :opted_out
21
+
22
+ # Attribute mapping from ruby-style variable name to JSON key.
23
+ def self.attribute_map
24
+ {
25
+ :'viewed' => :'viewed',
26
+ :'opted_out' => :'optedOut'
27
+ }
28
+ end
29
+
30
+ # Returns attribute mapping this model knows about
31
+ def self.acceptable_attribute_map
32
+ attribute_map
33
+ end
34
+
35
+ # Returns all the JSON keys this model knows about
36
+ def self.acceptable_attributes
37
+ acceptable_attribute_map.values
38
+ end
39
+
40
+ # Attribute type mapping.
41
+ def self.openapi_types
42
+ {
43
+ :'viewed' => :'Boolean',
44
+ :'opted_out' => :'Boolean'
45
+ }
46
+ end
47
+
48
+ # List of attributes with nullable: true
49
+ def self.openapi_nullable
50
+ Set.new([
51
+ ])
52
+ end
53
+
54
+ # Initializes the object
55
+ # @param [Hash] attributes Model attributes in the form of hash
56
+ def initialize(attributes = {})
57
+ if (!attributes.is_a?(Hash))
58
+ fail ArgumentError, "The input argument (attributes) must be a hash in `FastCommentsClient::UpdateNotificationBody` initialize method"
59
+ end
60
+
61
+ # check to see if the attribute exists and convert string to symbol for hash key
62
+ acceptable_attribute_map = self.class.acceptable_attribute_map
63
+ attributes = attributes.each_with_object({}) { |(k, v), h|
64
+ if (!acceptable_attribute_map.key?(k.to_sym))
65
+ fail ArgumentError, "`#{k}` is not a valid attribute in `FastCommentsClient::UpdateNotificationBody`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
66
+ end
67
+ h[k.to_sym] = v
68
+ }
69
+
70
+ if attributes.key?(:'viewed')
71
+ self.viewed = attributes[:'viewed']
72
+ end
73
+
74
+ if attributes.key?(:'opted_out')
75
+ self.opted_out = attributes[:'opted_out']
76
+ end
77
+ end
78
+
79
+ # Show invalid properties with the reasons. Usually used together with valid?
80
+ # @return Array for valid properties with the reasons
81
+ def list_invalid_properties
82
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
83
+ invalid_properties = Array.new
84
+ invalid_properties
85
+ end
86
+
87
+ # Check to see if the all the properties in the model are valid
88
+ # @return true if the model is valid
89
+ def valid?
90
+ warn '[DEPRECATED] the `valid?` method is obsolete'
91
+ true
92
+ end
93
+
94
+ # Checks equality by comparing each attribute.
95
+ # @param [Object] Object to be compared
96
+ def ==(o)
97
+ return true if self.equal?(o)
98
+ self.class == o.class &&
99
+ viewed == o.viewed &&
100
+ opted_out == o.opted_out
101
+ end
102
+
103
+ # @see the `==` method
104
+ # @param [Object] Object to be compared
105
+ def eql?(o)
106
+ self == o
107
+ end
108
+
109
+ # Calculates hash code according to all attributes.
110
+ # @return [Integer] Hash code
111
+ def hash
112
+ [viewed, opted_out].hash
113
+ end
114
+
115
+ # Builds the object from hash
116
+ # @param [Hash] attributes Model attributes in the form of hash
117
+ # @return [Object] Returns the model itself
118
+ def self.build_from_hash(attributes)
119
+ return nil unless attributes.is_a?(Hash)
120
+ attributes = attributes.transform_keys(&:to_sym)
121
+ transformed_hash = {}
122
+ openapi_types.each_pair do |key, type|
123
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
124
+ transformed_hash["#{key}"] = nil
125
+ elsif type =~ /\AArray<(.*)>/i
126
+ # check to ensure the input is an array given that the attribute
127
+ # is documented as an array but the input is not
128
+ if attributes[attribute_map[key]].is_a?(Array)
129
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
130
+ end
131
+ elsif !attributes[attribute_map[key]].nil?
132
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
133
+ end
134
+ end
135
+ new(transformed_hash)
136
+ end
137
+
138
+ # Returns the object in the form of hash
139
+ # @return [Hash] Returns the object in the form of hash
140
+ def to_hash
141
+ hash = {}
142
+ self.class.attribute_map.each_pair do |attr, param|
143
+ value = self.send(attr)
144
+ if value.nil?
145
+ is_nullable = self.class.openapi_nullable.include?(attr)
146
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
147
+ end
148
+
149
+ hash[param] = _to_hash(value)
150
+ end
151
+ hash
152
+ end
153
+
154
+ end
155
+
156
+ end
@@ -0,0 +1,268 @@
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.19.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module FastCommentsClient
17
+ class UpdateQuestionConfigBody < ApiModelBase
18
+ attr_accessor :name
19
+
20
+ attr_accessor :question
21
+
22
+ attr_accessor :help_text
23
+
24
+ attr_accessor :type
25
+
26
+ attr_accessor :num_stars
27
+
28
+ attr_accessor :min
29
+
30
+ attr_accessor :max
31
+
32
+ attr_accessor :default_value
33
+
34
+ attr_accessor :label_negative
35
+
36
+ attr_accessor :label_positive
37
+
38
+ attr_accessor :custom_options
39
+
40
+ attr_accessor :sub_question_ids
41
+
42
+ attr_accessor :always_show_sub_questions
43
+
44
+ attr_accessor :reporting_order
45
+
46
+ # Attribute mapping from ruby-style variable name to JSON key.
47
+ def self.attribute_map
48
+ {
49
+ :'name' => :'name',
50
+ :'question' => :'question',
51
+ :'help_text' => :'helpText',
52
+ :'type' => :'type',
53
+ :'num_stars' => :'numStars',
54
+ :'min' => :'min',
55
+ :'max' => :'max',
56
+ :'default_value' => :'defaultValue',
57
+ :'label_negative' => :'labelNegative',
58
+ :'label_positive' => :'labelPositive',
59
+ :'custom_options' => :'customOptions',
60
+ :'sub_question_ids' => :'subQuestionIds',
61
+ :'always_show_sub_questions' => :'alwaysShowSubQuestions',
62
+ :'reporting_order' => :'reportingOrder'
63
+ }
64
+ end
65
+
66
+ # Returns attribute mapping this model knows about
67
+ def self.acceptable_attribute_map
68
+ attribute_map
69
+ end
70
+
71
+ # Returns all the JSON keys this model knows about
72
+ def self.acceptable_attributes
73
+ acceptable_attribute_map.values
74
+ end
75
+
76
+ # Attribute type mapping.
77
+ def self.openapi_types
78
+ {
79
+ :'name' => :'String',
80
+ :'question' => :'String',
81
+ :'help_text' => :'String',
82
+ :'type' => :'String',
83
+ :'num_stars' => :'Float',
84
+ :'min' => :'Float',
85
+ :'max' => :'Float',
86
+ :'default_value' => :'Float',
87
+ :'label_negative' => :'String',
88
+ :'label_positive' => :'String',
89
+ :'custom_options' => :'Array<QuestionConfigCustomOptionsInner>',
90
+ :'sub_question_ids' => :'Array<String>',
91
+ :'always_show_sub_questions' => :'Boolean',
92
+ :'reporting_order' => :'Float'
93
+ }
94
+ end
95
+
96
+ # List of attributes with nullable: true
97
+ def self.openapi_nullable
98
+ Set.new([
99
+ ])
100
+ end
101
+
102
+ # Initializes the object
103
+ # @param [Hash] attributes Model attributes in the form of hash
104
+ def initialize(attributes = {})
105
+ if (!attributes.is_a?(Hash))
106
+ fail ArgumentError, "The input argument (attributes) must be a hash in `FastCommentsClient::UpdateQuestionConfigBody` initialize method"
107
+ end
108
+
109
+ # check to see if the attribute exists and convert string to symbol for hash key
110
+ acceptable_attribute_map = self.class.acceptable_attribute_map
111
+ attributes = attributes.each_with_object({}) { |(k, v), h|
112
+ if (!acceptable_attribute_map.key?(k.to_sym))
113
+ fail ArgumentError, "`#{k}` is not a valid attribute in `FastCommentsClient::UpdateQuestionConfigBody`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
114
+ end
115
+ h[k.to_sym] = v
116
+ }
117
+
118
+ if attributes.key?(:'name')
119
+ self.name = attributes[:'name']
120
+ end
121
+
122
+ if attributes.key?(:'question')
123
+ self.question = attributes[:'question']
124
+ end
125
+
126
+ if attributes.key?(:'help_text')
127
+ self.help_text = attributes[:'help_text']
128
+ end
129
+
130
+ if attributes.key?(:'type')
131
+ self.type = attributes[:'type']
132
+ end
133
+
134
+ if attributes.key?(:'num_stars')
135
+ self.num_stars = attributes[:'num_stars']
136
+ end
137
+
138
+ if attributes.key?(:'min')
139
+ self.min = attributes[:'min']
140
+ end
141
+
142
+ if attributes.key?(:'max')
143
+ self.max = attributes[:'max']
144
+ end
145
+
146
+ if attributes.key?(:'default_value')
147
+ self.default_value = attributes[:'default_value']
148
+ end
149
+
150
+ if attributes.key?(:'label_negative')
151
+ self.label_negative = attributes[:'label_negative']
152
+ end
153
+
154
+ if attributes.key?(:'label_positive')
155
+ self.label_positive = attributes[:'label_positive']
156
+ end
157
+
158
+ if attributes.key?(:'custom_options')
159
+ if (value = attributes[:'custom_options']).is_a?(Array)
160
+ self.custom_options = value
161
+ end
162
+ end
163
+
164
+ if attributes.key?(:'sub_question_ids')
165
+ if (value = attributes[:'sub_question_ids']).is_a?(Array)
166
+ self.sub_question_ids = value
167
+ end
168
+ end
169
+
170
+ if attributes.key?(:'always_show_sub_questions')
171
+ self.always_show_sub_questions = attributes[:'always_show_sub_questions']
172
+ end
173
+
174
+ if attributes.key?(:'reporting_order')
175
+ self.reporting_order = attributes[:'reporting_order']
176
+ end
177
+ end
178
+
179
+ # Show invalid properties with the reasons. Usually used together with valid?
180
+ # @return Array for valid properties with the reasons
181
+ def list_invalid_properties
182
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
183
+ invalid_properties = Array.new
184
+ invalid_properties
185
+ end
186
+
187
+ # Check to see if the all the properties in the model are valid
188
+ # @return true if the model is valid
189
+ def valid?
190
+ warn '[DEPRECATED] the `valid?` method is obsolete'
191
+ true
192
+ end
193
+
194
+ # Checks equality by comparing each attribute.
195
+ # @param [Object] Object to be compared
196
+ def ==(o)
197
+ return true if self.equal?(o)
198
+ self.class == o.class &&
199
+ name == o.name &&
200
+ question == o.question &&
201
+ help_text == o.help_text &&
202
+ type == o.type &&
203
+ num_stars == o.num_stars &&
204
+ min == o.min &&
205
+ max == o.max &&
206
+ default_value == o.default_value &&
207
+ label_negative == o.label_negative &&
208
+ label_positive == o.label_positive &&
209
+ custom_options == o.custom_options &&
210
+ sub_question_ids == o.sub_question_ids &&
211
+ always_show_sub_questions == o.always_show_sub_questions &&
212
+ reporting_order == o.reporting_order
213
+ end
214
+
215
+ # @see the `==` method
216
+ # @param [Object] Object to be compared
217
+ def eql?(o)
218
+ self == o
219
+ end
220
+
221
+ # Calculates hash code according to all attributes.
222
+ # @return [Integer] Hash code
223
+ def hash
224
+ [name, question, help_text, type, num_stars, min, max, default_value, label_negative, label_positive, custom_options, sub_question_ids, always_show_sub_questions, reporting_order].hash
225
+ end
226
+
227
+ # Builds the object from hash
228
+ # @param [Hash] attributes Model attributes in the form of hash
229
+ # @return [Object] Returns the model itself
230
+ def self.build_from_hash(attributes)
231
+ return nil unless attributes.is_a?(Hash)
232
+ attributes = attributes.transform_keys(&:to_sym)
233
+ transformed_hash = {}
234
+ openapi_types.each_pair do |key, type|
235
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
236
+ transformed_hash["#{key}"] = nil
237
+ elsif type =~ /\AArray<(.*)>/i
238
+ # check to ensure the input is an array given that the attribute
239
+ # is documented as an array but the input is not
240
+ if attributes[attribute_map[key]].is_a?(Array)
241
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
242
+ end
243
+ elsif !attributes[attribute_map[key]].nil?
244
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
245
+ end
246
+ end
247
+ new(transformed_hash)
248
+ end
249
+
250
+ # Returns the object in the form of hash
251
+ # @return [Hash] Returns the object in the form of hash
252
+ def to_hash
253
+ hash = {}
254
+ self.class.attribute_map.each_pair do |attr, param|
255
+ value = self.send(attr)
256
+ if value.nil?
257
+ is_nullable = self.class.openapi_nullable.include?(attr)
258
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
259
+ end
260
+
261
+ hash[param] = _to_hash(value)
262
+ end
263
+ hash
264
+ end
265
+
266
+ end
267
+
268
+ end