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